.our_brands {
  padding: 40px 0;
  float: left;
  width: 100%;
  background-color: #f5f5f5;
  margin-bottom: 60px;
}

.sub_text h2 {
  font-size: 30px;
  text-align: center;
  position: relative;
  margin: 0;
}

.our_brands_inner {
  padding-top: 40px;
  width: 73%;
  margin: 0 auto;
}
.cstm_hght_cls{
  margin-bottom: 20px;

}

.sub_text h2::before {
  content: "";
  display: block;
  width: 75px;
  height: 6px;
  background: #5cb85c;
  border-radius: 3px;
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translate(-50%);
}

.brand_logo_block {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.only_desi_pic {
  width: 63%;
  margin-top: -8px;
}

.bharat_pic {
  width: 60%;
  margin-top: -5px;
}

.onpic h1 {
  font-size: 45px;
  color: #fff;
  font-weight: bold;
  line-height: 57px;
}

.new_media_block_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.nmbg_block_text {
  margin-top: 20px;
}

.nmbg_block_text p {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 767px) {
  .new_media_block_grid {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }

  .new_new_block_padding {
    padding-top: 10px !important;
  }

  .new_media_block {
    padding: 0px 15px;
  }

  .nmbg_block_text p {
    font-size: 16px;
    margin-top: 8px;
  }

  .nmbg_block_text {
    margin-top: 0;
  }

  .wpb_column {
    height: unset;
  }

  .our_brands_inner {
    width: 100%;
  }

  .brand_logo_block1 {
    margin-bottom: 30px;
  }

  .sub_text h2 {
    font-size: 25px;
  }

  .onpic h1 {
    color: #fff;
    font-weight: bold;
    line-height: 37px;
    font-size: 32px;
  }
}

/* modal start */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent overlay */
  z-index: 9999999;
  justify-content: center;
  align-items: center;
}

.custom-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 400px;
  margin: 0 auto;
}

.customModal_inner {
  margin-top: 80px;
}

.modal_cross_button {
  display: flex;
  justify-content: flex-end;
}

#closeModalBtn {
  height: 20px;
  width: 20px;
  background-color: #000;
  border-radius: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom_modal_body {
  text-align: center;
}

.custom_modal_body h5 {
  color: #ff5c00;
  font-size: 26px;
  margin: 8px 0;
}

.custom_modal_body p {
  color: #333333;
  font-size: 18px;
}

.custom_modal_body p span {
  color: #ff6b00;
  font-size: 20px;
  font-weight: bold;
}

.code_div h4 {
  color: #000;
  font-size: 25px;
}

.code_div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.code_div img {
  margin-left: 10px;
}

.apply_the_coupon_a_holder {
  height: 43px;
  width: 220px;
  color: #fff !important;
  background-color: #18ba60;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply_the_coupon_a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.new_custom_new_home p {
  font-size: 19px;
  text-align: center;
}

.home_about .about h2 {
  font-size: 29px;
  font-weight: 600;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .custom-modal-content {
    width: 90%;
  }

  .custom_modal_body p {
    font-size: 14px;
  }

  .home_about .about h2 {
    font-size: 23px;
  }
}

/* modal end */

/* home_section_banner start */
.home_section_saurabh_shukla {
  float: left;
  width: 100%;
  background-image: url(https://www.onlinelegalindia.com/images/banner/home-banner-saurabh_shukla.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 568px;
}

.hsss_inner {
  margin-top: 50px;
}

.hsss_inner_left h1 {
  font-size: 37px;
  font-weight: bold;
  color: #fff;
  line-height: 47px;
}

.hsss_inner_left h1 span {
  color: #ff984d;
}

.span_legal_matters {
  display: block;
  color: #fff !important;
}

.hsss_inner_right {
  display: flex;
  justify-content: flex-end;
}

.index_ul_li_home {
  margin-top: 30px;
}

.index_ul_li_home ul {
  column-count: 2;
}

.index_ul_li_home ul .one,
.index_ul_li_home ul .two,
.index_ul_li_home ul .three,
.index_ul_li_home ul .four,
.index_ul_li_home ul .five,
.index_ul_li_home ul .six,
.index_ul_li_home ul .seven,
.index_ul_li_home ul .eight,
.index_ul_li_home ul .nine,
.index_ul_li_home ul .ten,
.index_ul_li_home ul .eleven {
  list-style: none;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  padding-left: 38px;
}

/* .index_ul_li_home ul .four {
        list-style: none;
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: bold;
        padding-left: 38px;
    } */

#drop1 {
  position: relative;
}

.index_ul_li_home ul .one::after,
.index_ul_li_home ul .two::after,
.index_ul_li_home ul .three::after,
.index_ul_li_home ul .four::after,
.index_ul_li_home ul .five::after,
.index_ul_li_home ul .six::after,
.index_ul_li_home ul .seven::after,
.index_ul_li_home ul .eight::after,
.index_ul_li_home ul .nine::after,
.index_ul_li_home ul .ten::after,
.index_ul_li_home ul .eleven::after {
  position: absolute;
  top: 0;
  left: 0;
  overflow: auto;
}

#drop1::after {
  position: absolute;
  top: 0;
  left: -37px;
  overflow: auto;
  content: url(https://www.onlinelegalindia.com/images/banner/licenses-home-icon.webp);
}

.index_ul_li_home ul .one::after {
  content: url(https://www.onlinelegalindia.com/images/banner/consumer-complaint-home-icon.webp);
}

.index_ul_li_home ul .two::after {
  content: url(https://www.onlinelegalindia.com/images/banner/trademark-registration-home-icon.webp);
}

.index_ul_li_home ul .three::after {
  content: url(https://www.onlinelegalindia.com/images/banner/company-registration-home-icon.webp);
}

.index_ul_li_home ul .four::after {
  content: url(https://www.onlinelegalindia.com/images/banner/licenses-home-icon.webp);
}

.index_ul_li_home ul .five::after {
  content: url(https://www.onlinelegalindia.com/images/banner/tax-compliance-home-icon.webp);
}

.index_ul_li_home ul .six::after {
  content: url(https://www.onlinelegalindia.com/images/banner/legal-consultancy-home-icon.webp);
}

.index_ul_li_home ul .seven::after {
  content: url(https://www.onlinelegalindia.com/images/big-corporate-icon.webp);
}

.index_ul_li_home ul .eight::after {
  content: url(https://www.onlinelegalindia.com/images/cxo-oli-home.webp);
}

.index_ul_li_home ul .nine::after {
  content: url(https://www.onlinelegalindia.com/images/virtual-cxo-services.webp);
}

.index_ul_li_home ul .ten::after {
  content: url(https://www.onlinelegalindia.com/images/pf-esic.webp);
}

.index_ul_li_home ul .eleven::after {
  content: url(https://www.onlinelegalindia.com/images/other-legal-dispute-icon.webp);
}

.index_ul_li_home ul li a {
  color: #fff !important;
  /* text-decoration: none; */
}

.hsss_inner_google_trustpiolt {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  width: 70%;
}

.hsss_inner_google_trustpiolt .new_grid img {
  border-radius: 5px;
}

.oli_home_marquee_inner p {
  font-size: 16px;
  color: #fff;
}

.oli_home_marquee {
  background: linear-gradient(to right, #e9cf6a, #aa7918, #aa7918, #ebc15c);
  padding: 12px 0 8px 0;
}

.oli_home_marquee_text {
  font-size: 16px;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .home_section_saurabh_shukla {
    height: unset;
    background-image: url(https://www.onlinelegalindia.com/images/banner/home-banner-saurabh_shukla-mobile.webp);
  }

  .index_ul_li_home {
    margin-top: 20px;
  }

  .home_row_block {
    display: grid;
  }

  .home_row_block1 {
    order: 2;
  }

  .home_row_block2 {
    order: 1;
  }

  .index_ul_li_home ul {
    column-count: 1;
  }

  .hsss_inner_left h1 {
    font-size: 34px;
    line-height: 44px;
  }

  .span_legal_matters {
    margin-top: unset;
    margin-left: 0 !important;
    display: unset;
  }

  .hsss_inner {
    margin-top: 0;
  }

  .hsss_inner_google_trustpiolt {
    margin-top: 10px;
    width: 100%;
    margin-bottom: 16px;
  }

  .hsss_inner_left {
    margin-top: 10px;
  }

  .index_ul_li_home ul li {
    margin-bottom: 9px;
  }

  .hsss_inner_right {
    justify-content: center;
  }

  .hsss_inner_right img {
    width: 220px;
  }
}

@media screen and (max-width: 390px) {
  .hsss_inner_left h1 {
    font-size: 28px;
    line-height: 35px;
  }
}

.dropdown-menu1 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  min-width: 180px;
}

.dropdown-menu1 li {
  padding: 5px;
  display: block;
}

.dropdown-menu1 li a {
  color: white;
}

.dropdown-menu1 li a {
  font-size: 14px !important;
}

.new_custom_caret {
  border-top: 5px solid white;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  display: inline-block;
  margin-left: 5px;
  vertical-align: middle;
}

.dropdown-toggle.active .new_custom_caret {
  transform: rotate(180deg);
}

.meet_our_founder {
  float: left;
  width: 100%;
  margin-top: 40px;
}

.our_most_in_demand_services {
  float: left;
  width: 100%;
  margin-bottom: 30px;
}

.video-box2026 {
  margin-bottom: 20px;
}

.video-container2026 {
  position: relative;
  width: 100%;
  height: 290px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-thumb2026 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button2026 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 29px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 15px;
  border-radius: 10px;
}
.about_imgg{
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Show dropdown on hover for desktop */
@media (min-width: 768px) {
  .dropdown1:hover .dropdown-menu1 {
    display: block;
    width: 600px;
    top: 202px;
    z-index: 1;
    column-count: 3;
    background-color: #215585;
    border-radius: 5px;
    padding: 0 15px;
  }
  .about_imgg{
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}
}

@media (min-width: 1200px) {
  .dropdown1:hover .dropdown-menu1 {
    top: 202px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .home_about {
    margin-top: 40px;
  }
  .cstm_rowow{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* #myHeader .navbar-collapse {
    display: none !important;
  } */

  .index_ul_li_home ul {
    column-count: 2;
  }

  .flat-imagebox.services-grid .flat-imagebox-header .flat-imagebox-title {
    margin-top: 20px !important;
  }
      .home_row_block2 {
        order: 1;
    }
        .home_row_block1 {
        order: 2;
        margin-top: 20px;
    }
        .home_row_block {
        display: grid;
    }
        .hsss_inner {
        margin-top: 0;
    }
    .hsss_inner_right {
        display: flex;
        justify-content: center;
    }
    .home_section_saurabh_shukla {
          height: 100%;
          padding-bottom: 20px;
    }
    .rk_img{
          width: 100%;
    }
    .new_md_section_left_text{
          padding: 20px 0 30px 0;
    }
    .hexagon_box {
    left: 0px;
}
/* .tab_why_us{
  display: grid;
  justify-content: center;
} */
 .tab_why_uss > div {
            width: 40% !important;
        float: left;
        margin-left: 60px;
        margin-bottom: 20px;
  }

  /* Proper line break */
  .tab_why_uss > div:nth-child(2n+1) {
    clear: both;
  }
.home_about .about {
    padding: 0px 20px 20px 31px;
}
.wpb_column {
    width: 50% !important;
    float: left;
    height: 440px;
  }
.about_imgg{
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}
.new_md_section_left{
  display: flex;
  justify-content: center;
  text-align: center;
}
.new_media_block_grid{
  padding: 0 15px;

}

}

/* Mobile-specific styling */
@media (max-width: 767px) {
  .dropdown-menu1.show {
    display: block;
  }

  .meet_our_founder_block_right,
  .omds_two,
  .omds_three {
    margin-top: 30px;
  }

  .meet_our_founder {
    margin-top: 15px;
  }

  .home_about {
    margin-top: 40px;
  }
}

/* home_section_banner end */
