.single-slider.cust .service3-box {
    padding: 20px 20px 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 25px 10px;
}

.service3-box .heading3 .learn {
    height: 48px;
    width: 48px;
    display: inline-block;
    line-height: 48px;
    text-align: center;
    background-color: #2c5067;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transform: rotate(-45deg);
    margin-left: -24px;
    position: absolute;
    left: 50%;
    bottom: 0px;
    transition: all 0.4s;
}

.case1 .case1-slider .single-slider.cust .image {
    display: flex;
    justify-content: center;
}

.case1 .case1-slider .single-slider.cust .image img {
    width: 100%;
    transition: all 0.4s;
}

.details-list li {
    display: flex;
    align-items: center;
    color: var(--SEO-Marketing-Text-Color, #0B0314);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    padding-top: 16px;
}

.details-list li span.check {
    display: inline-block;
    height: 20px;
    width: 20px;
    background: var(--SEO-Marketing-Gradient-Color, linear-gradient(90deg, #FB3F52 0%, #FA7D3C 100%));
    font-size: 12px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    margin-right: 5px;
}

.icon_cust img {
    width: 58%;
    border-radius: 50%;
    padding: 10px;
    background-color: #fff;
    border: 3px solid #acc0cd;
    
}

.icon_cust {
    display: flex;
    justify-content: center;
}

.heading1 h4 a {
    color: #fff !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    display: inline-block;
    transition: all 0.4s;
    margin: 10px 0;
    background-color: #2c5067;
    padding: 8px 15px;
    border-radius: 100px;
}

.main-footer__contact__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  background-color: #2c5067;
  transition: all 500ms ease;
}
.main-footer__contact__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.main-footer__contact__icon::after {
  content: "";
  width: calc(100% + 19px);
  height: calc(100% + 19px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  transition: all 500ms ease;
}
.main-footer__contact:hover .main-footer__contact__icon {
  color: var(--mediox-white, #FFFFFF);
}
.main-footer__contact:hover .main-footer__contact__icon::after {
  border-color: #fff;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-footer__contact__content {
    text-align: center;
  }
}
.main-footer__contact__title {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
  line-height: 1.357;
}
.main-footer__contact__text {
  margin: 0;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
}

.main-footer__contact__content {
    margin-bottom: 20px;
}
/* .main-footer__contact__text:hover {
  color: var(--mediox-black, #0A2241);
} */
@media (max-width: 1199px) {
  .main-footer__contact__text {
    font-size: 18px;
  }
}
.main-footer__contact__text a {
  color: inherit;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1px no-repeat;
  transition: all 500ms ease;
  font-weight: 450;
  font-size: 16px;
}
.main-footer__contact__text a:hover {
  background-size: 100% 1px;
}
.main-footer__copyright {
  margin: 0;
  text-align: center;
  color: #000;
  font-weight: 450;
}

.footer-widget--links {
  margin-top: 11px;
}
@media (max-width: 991px) {
  .footer-widget--links {
    margin-top: 0;
  }
}
.footer-widget--blog {
  margin-top: 11px;
}
@media (max-width: 1199px) {
  .footer-widget--blog {
    margin-top: 0;
  }
}
.footer-widget--blog .footer-widget__title {
  margin-bottom: 42px;
}
.footer-widget__title {
  margin-bottom: 34px;
  position: relative;
  font-size: 20px;
  color: #2c3192;
  font-weight: 500;
  line-height: 1.35;
  text-transform: capitalize;
}
.footer-widget__title span {
  color: #2c3192;
}
.footer-widget__title::before {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--mediox-white, #FFFFFF);
  position: absolute;
  left: 0;
  bottom: -12px;
}
.footer-widget__title::after {
  content: "";
  width: 66px;
  height: 2px;
  background-color: var(--mediox-base, #33C1ED);
  position: absolute;
  left: 26px;
  bottom: -12px;
}
.footer-widget__logo {
  margin-bottom: 21px;
  padding: 10px 0px;
  border-radius: 15px;
  background-color: #fff;
  width: max-content;
}

.footer-widget__about-text {
  margin-bottom: 21px;
  color: var(--mediox-text-dark, #456EA1);
  text-transform: capitalize;
}
.footer-widget__btn {
  margin-bottom: 33px;
  padding: 6px 20.5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: transparent;
  font-size: 15px;
  color: #16b4f0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.75;
  border-radius: 100px;
  border: 1px solid #16b4f0;
  overflow: hidden;
  z-index: 1;
  transition: 500ms;
}
.footer-widget__btn::before, .footer-widget__btn::after {
  content: "";
  background-color: var(--mediox-base, #33C1ED);
  height: calc(100% + 6px);
  width: 0%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  transition: all 500ms ease;
}
.footer-widget__btn::before {
  left: -5px;
  border-radius: 100px 0 0 100px;
}
.footer-widget__btn::after {
  right: -5px;
  border-radius: 0 100px 100px 0;
}
.footer-widget__btn:hover {
  color: var(--mediox-white, #FFFFFF);
  border-color: var(--mediox-base, #33C1ED);
}
.footer-widget__btn:hover::before, .footer-widget__btn:hover::after {
  width: calc(50% + 6px);
}
.footer-widget__btn__icon {
  display: inline-flex;
  font-size: 11px;
  color: var(--mediox-base, #33C1ED);
  transition: all 500ms ease;
}
.footer-widget__btn__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.footer-widget__btn:hover .footer-widget__btn__icon {
  color: var(--mediox-white, #FFFFFF);
  transform: rotate(45deg);
}
.footer-widget__links {
  margin: 0;
}
.footer-widget__links li + li {
  margin-top: 10px;
}
.footer-widget__links li {
  font-size: 16px;
  color: var(--mediox-text-dark, #456EA1);
  font-weight: 450;
  line-height: 1.75;
  text-transform: capitalize;
}
.footer-widget__links li a {
  color: inherit;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1px no-repeat;
  transition: all 500ms ease;
  color: #000;
}
.footer-widget__links li a:hover {
  background-size: 100% 1px;
}
.footer-widget__links li a:hover {
  color: #2c3192;
  text-shadow: 0 0 0.5px currentColor;
}
.footer-widget__posts {
  margin-bottom: 0;
}
.footer-widget__posts__item {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 360px) {
  .footer-widget__posts__item {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer-widget__posts__item:not(:last-of-type) {
  margin-bottom: 30px;
}
.footer-widget__posts__image {
  width: 100px;
  flex-shrink: 0;
}
.footer-widget__posts__image img {
  width: 100%;
  display: block;
  border-radius: 10px;
}
.footer-widget__posts__content {
  width: calc(100% - 100px);
}
@media (max-width: 360px) {
  .footer-widget__posts__content {
    width: 100%;
  }
}
.footer-widget__posts__meta {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 23px;
}
@media (max-width: 375px) {
  .footer-widget__posts__meta {
    gap: 20px;
  }
}
@media (max-width: 360px) {
  .footer-widget__posts__meta {
    gap: 23px;
  }
}
.footer-widget__posts__meta a {
  display: inline-flex;
  align-items: center;
  color: var(--mediox-text-dark, #456EA1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.333;
}
.footer-widget__posts__meta a:hover {
  color: var(--mediox-base, #33C1ED);
}
.footer-widget__posts__meta__icon {
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 10px;
  font-size: 12px;
  color: var(--mediox-base, #33C1ED);
}
.footer-widget__posts__meta__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
@media (max-width: 375px) {
  .footer-widget__posts__meta__icon {
    margin-right: 8px;
  }
}
.footer-widget__posts__title {
  margin: 0;
  font-size: 16px;
  color: var(--mediox-white, #FFFFFF);
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.75;
}
.footer-widget__posts__title:hover {
  color: var(--mediox-base, #33C1ED);
}
.footer-widget__posts__title a {
  color: inherit;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1px no-repeat;
  transition: all 500ms ease;
}
.footer-widget__posts__title a:hover {
  background-size: 100% 1px;
}

.main-footer__info {
    position: relative;
    margin-bottom: 32px;
    padding: 19px 20px 0px;
    background-color: #fff;
    border-radius: var(--mediox-radius, 20px);
    width: 90%;
    justify-content: center;
    align-items: center;
    display: flex;
}

@media (min-width: 768px) and (max-width: 991px) {
  .main-footer__info {
    padding: 48px 30px 32px;
  }
}
@media (max-width: 390px) {
  .main-footer__info {
    padding-top: 57px;
  }
}
@media (max-width: 360px) {
  .main-footer__info {
    padding-left: 40px;
    padding-right: 30px;
  }
}
.main-footer__info__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  mix-blend-mode: multiply;
  border-radius: inherit;
}
.main-footer__info__row {
  position: relative;
  z-index: 1;
  align-items: center;
  --bs-gutter-x: 97px;
}
@media (max-width: 1199px) {
  .main-footer__info__row {
    --bs-gutter-x: 40px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-footer__info__row {
    align-items: flex-start;
  }
}
.main-footer__info__col-1 {
  flex: 0 0 auto;
  width: 44.895%;
}
@media (max-width: 1199px) {
  .main-footer__info__col-1 {
    width: 33.333%;
  }
}
@media (max-width: 767px) {
  .main-footer__info__col-1 {
    width: 100%;
  }
}
.main-footer__info__col-2 {
  flex: 0 0 auto;
  width: 28.3%;
}
@media (max-width: 1199px) {
  .main-footer__info__col-2 {
    width: 33.333%;
  }
}
@media (max-width: 767px) {
  .main-footer__info__col-2 {
    width: 100%;
  }
}
.main-footer__info__col-3 {
  flex: 0 0 auto;
  width: 26.805%;
}
@media (max-width: 1199px) {
  .main-footer__info__col-3 {
    width: 33.333%;
  }
}
@media (max-width: 767px) {
  .main-footer__info__col-3 {
    width: 100%;
  }
}
.main-footer__contact {
  display: flex;
  align-items: center;
  gap: 27px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .main-footer__contact {
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 390px) {
  .main-footer__contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

.custom_box {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 25px 30px;
    border-radius: 20px;
}


/* ===== DESKTOP HEADER: pill style like 2nd image ===== */
/* .header-area1{
  position: absolute;         
  left: 0;
  right: 0;
  z-index: 9999;
} */

/* .header-area1 .header-elements{
  background: #fff;
  border-radius: 22px;           
  padding: 14px 22px;            
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
} */

/* logo size */
/* Increase logo size */
.header-area1 .site-logo img{
 margin-top: 25px;
    padding: 2px;
    background: #fff;
    border-radius: 50%;
    height: 145px;
}


/* menu spacing */
.header-area1 .main-menu-ex ul{
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* reduce menu link height */
.header-area1 .main-menu-ex ul li a{
  padding: 10px 0;
  font-weight: 600;
}

/* button to match pill style */
/* .header-area1 .header1-buttons .theme-btn2{
  border-radius: 14px;
  padding: 10px 18px;
} */

/* responsive */
@media (max-width: 1199px){
  .header-area1 .header-elements{
    padding: 12px 16px;
    border-radius: 18px;
  }
  .header-area1 .site-logo img{
    height: 40px;
  }
}


.header-area1 .container{
  max-width: 1320px; /* or 1400px if you want more wide */
}



/* Desktop Header */
@media (min-width: 992px) {
  .header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 9999;

    /* increased height */
    padding: 14px 0;

    /* flat professional look */
    border-radius: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }

  .header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  body {
    padding-top: 120px; 
    /* 42px topbar + ~78px header */
  }
}


/* Logo circle desktop */
.site-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}



.main-menu-ex ul {
  display: flex;
  align-items: center;
}

.main-menu-ex ul li a {
  padding: 14px 16px;
}

.header1-buttons a {
  padding: 12px 22px;
  border-radius: 30px;
}


/* Mobile header */
.mobile-header {
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* .mobile-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
} */


/* ===== Topbar ===== */
/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  z-index: 10000;
  background: #0f2f44;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}

/* Left contact */
.topbar-left a {
  color: #ffffff;
  margin-right: 10px;
  text-decoration: none;
  font-weight: 500;
}

.topbar-left i {
  margin-right: 6px;
  font-size: 13px;
}

.topbar-left span {
  margin: 0 8px;
  opacity: 0.5;
  color: #fff;
}

/* Right social icons */
.topbar-right a {
  color: #ffffff;
  margin-left: 14px;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* .topbar-right a:hover {
  color: #4da3ff;
} */




@media (min-width: 992px) {
  .header-area {
    position: fixed;
    top: 42px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    transition: all 0.3s ease;
  }

  /* 🔥 IMPORTANT: when theme adds sticky / active classes */
  .header-area.sticky,
  .header-area.active,
  .header-area.header-fixed {
    top: 42px !important;
  }
}


@media (min-width: 992px) {
  body {
    padding-top: 120px; 
    /* 42px topbar + ~78px header */
  }
}


/* logo */


/* 1) Fix header height (constant) */
.header-area1 .header-elements{
  position: relative;
  min-height: 80px;         /* your fixed header height */
  display: flex;
  align-items: center;
}

/* 2) Remove logo from layout flow */
.header-area1 .site-logo{
  position: absolute;
  left: 0;                  /* keep left side */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.header-area1 .main-menu-ex{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Optional: if CTA overlaps, push it too */
.header-area1 .header1-buttons{
  margin-left: auto;
}



/* topbar and header responsive */



/* ===============================
   GLOBAL CIRCULAR LOGO STYLE
================================ */

.logo-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #1f4d6b; /* logo blue */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-circle img {
  width: 68%;
  height: auto;
  filter: brightness(0) invert(1); /* logo turns white */
}

/* Premium touch */
.logo-circle {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}



/* Hide topbar on mobile */
@media (max-width: 767px) {
  .topbar {
    display: none;
  }
}

@media (min-width: 1920px) {
  .logo-circle {
    width: 95px;
    height: 95px;
  }
}

@media (min-width: 1600px) {
  .logo-circle {
    width: 90px;
    height: 90px;
  }
}

@media (min-width: 1400px) {
  .logo-circle {
    width: 88px;
    height: 88px;
  }
}

@media (min-width: 1200px) {
  .logo-circle {
    width: 85px;
    height: 85px;
  }
}



/* Mobile logo */
.logo-circle--mobile {
  width: 60px;
  height: 60px;
}

/* Sidebar logo */
.logo-circle--sidebar {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
}

/* Mobile header layout fix */
.mobile-header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
}




@media only screen and (max-width: 767px) {
    .mobile-logo img {
       margin-top: 25px;
    padding: 2px;
    background: #fff;
    border-radius: 50%;
    height: 145px;
    }
}

@media only screen and (max-width: 767px) {
.header-area {
        position: fixed;
        top: 42px;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #ffffff;
        transition: all 0.3s ease;
    }
  }

  /* =========================
   MOBILE HEADER FIX (logo should NOT increase header height)
========================= */
@media (max-width: 767px){

  /* mobile header area fixed height */
  .mobile-header,
  .mobile-header-main{
    position: relative;
    background:#fff;
  }

  .mobile-header-elements{
    position: relative;
    height: 70px;          /* ✅ fixed header height */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
    overflow: visible;     /* allow logo overlap */
  }

  /* ✅ REMOVE logo from normal flow */
  .mobile-logo{
    position: absolute;
    left: 12px;
    top: 100%;
    transform: translateY(-50%); /* half header + half banner */
    z-index: 9999;
  }

  /* ✅ KEEP your same logo CSS (as you want) */
  .mobile-logo img{
    margin-bottom: 56px;
    padding: 2px;
    background: #fff;
    border-radius: 50%;
    height: 145px;
  }

  /* hamburger button proper */
  .mobile-nav-icon{
    z-index: 10000;
  }

  .hamburger{
    width: 44px;
    height: 40px;
    border: 1px solid #20425a;
    background: #20425a;
    border-radius: 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
  }
  .hamburger span{
    width: 18px;
    height: 2px;
    background:#fff;
    display:block;
  }

}

@media (max-width: 767px){
  .hero, .banner, .slider, .hero-area, .banner-area, .slider-area{
    padding-top: 70px;  /* ✅ space for overlap logo */
  }
}



@media only screen and (max-width: 767px) {
  .mobile-logo img { height: 145px; }
}



/* =========================
   MOBILE HEADER FIX (logo should NOT increase header height)
========================= */
@media (max-width: 767px){

  /* mobile header area fixed height */
  .mobile-header,
  .mobile-header-main{
    position: relative;
    background:#fff;
  }

  .mobile-header-elements{
    position: relative;
    height: 70px;          /* ✅ fixed header height */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
    overflow: visible;     /* allow logo overlap */
  }

  /* ✅ REMOVE logo from normal flow */
  .mobile-logo{
    position: absolute;
    left: 12px;
    top: 100%;
    transform: translateY(-50%); /* half header + half banner */
    z-index: 9999;
  }

  /* ✅ KEEP your same logo CSS (as you want) */
  .mobile-logo img{
    margin-top: 25px;
    padding: 2px;
    background: #fff;
    border-radius: 50%;
    height: 145px;
  }

  /* hamburger button proper */
  .mobile-nav-icon{
    z-index: 10000;
  }

  .hamburger{
    width: 44px;
    height: 40px;
    border: 1px solid #20425a;
    background: #20425a;
    border-radius: 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
  }
  .hamburger span{
    width: 18px;
    height: 2px;
    background:#fff;
    display:block;
  }

}




/* =========================
   FOOTER RESPONSIVE (Idea Consultant)
   Works with your current HTML
========================= */




/* =========================
   MOBILE (<=767px)
========================= */
@media (max-width: 767px){

  .footer1{
    padding: 48px 0 18px;
    text-align:left;
  }

  /* make bootstrap col-2 / col-5 behave properly on mobile */
  .footer1 .col-2,
  .footer1 .col-5{
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .footer1 .heading1 p{
    max-width: 100%;
    font-size: 17px;
  }

  .footer1 .menu-list{
    margin-top: 26px;
  }

  .footer1 .custom_box{
    margin-top: 26px;
  }

  /* bottom row stacked */
  .footer1 .footer-social{
    justify-content:flex-start;
    margin-top: 14px;
  }
}

/* =========================
   TABLET (>=768px)
========================= */
@media (min-width: 768px){
  .footer1{ padding: 60px 0 20px; }

  .footer1 .heading1 p{ font-size: 17px; }

  /* keep good spacing */
  .footer1 .custom_box{ gap: 18px; }
}

/* =========================
   LARGE DESKTOP (>=1200px)
========================= */
@media (min-width: 1200px){
  .footer1{ padding: 70px 0 22px; }
  .footer1 .heading1 .logo img{ max-width: 180px; }
}

/* >=1400 */
@media (min-width: 1400px){
  .footer1{ padding: 78px 0 24px; }
  .footer1 h3{ font-size: 19px; }
}

/* >=1600 */
@media (min-width: 1600px){
  .footer1{ padding: 86px 0 26px; }
  .footer1 .heading1 p{ font-size: 17px; }
}

/* >=1920 */
@media (min-width: 1920px){
  .footer1{ padding: 92px 0 28px; }
  .footer1 .heading1 .logo img{ max-width: 190px; }
}

.footer1 .heading1 p {
  font-size: 17px;
  color: #fff;
}

/* =========================
   PREMIUM MOBILE SIDEBAR UI
   (works with your existing HTML)
========================= */

/* =========================
   MODERN LIGHT (WHITE) MOBILE SIDEBAR
   (ONLY COLOR CHANGES)
========================= */

.mobile-sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);
  background: #ffffff;                 /* ✅ white */
  color: #1f2937;                      /* ✅ dark grey */
  z-index: 99999;

  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .25s ease;
  overflow: hidden;
  border-left: 1px solid rgba(0,0,0,.08);
  box-shadow: -18px 0 60px rgba(0,0,0,.18);

  display: flex;
  flex-direction: column;
}

/* Open */
.mobile-sidebar.is-open{
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Overlay */
.mobile-sidebar-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-sidebar-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* Close */
.mobile-sidebar .menu-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0,0,0,.06);          /* ✅ light */
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  z-index: 2;
}
.mobile-sidebar .menu-close:hover{
  transform: scale(1.05);
  background: rgba(0,0,0,.10);
}
.mobile-sidebar .menu-close i{
  font-size: 18px;
  color: #111827;                      /* ✅ dark */
}

/* Menu */
.mobile-sidebar .mobile-nav{
  padding: 68px 14px 14px;
  overflow-y: auto;
  flex: 1;
}

/* list */
.mobile-sidebar .mobile-nav ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-sidebar .mobile-nav > ul > li{
  margin: 8px 0;
}

/* main link row */
.mobile-sidebar .mobile-nav > ul > li > a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 12px 12px;
  text-decoration: none;
  color: #111827;                      /* ✅ dark */
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.mobile-sidebar .mobile-nav > ul > li > a:hover{
  background: #f9fafb;
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
  transform: translateY(-1px);
}

.m-item{
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-sidebar .mobile-nav i{
  width: 22px;
  text-align: center;
  font-size: 16px;
  color: #374151;                      /* ✅ dark grey */
}

/* Dropdown plus icon */
.mobile-sidebar .mobile-nav li.has-dropdown > a{
  position: relative;
  padding-right: 48px;
}
.mobile-sidebar .mobile-nav li.has-dropdown > a::after{
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #111827;
  transition: transform .22s ease, background .22s ease;
}
.mobile-sidebar .mobile-nav li.has-dropdown.is-open > a::after{
  transform: translateY(-50%) rotate(45deg);
  background: rgba(0,0,0,.12);
}

/* Submenu */
.mobile-sidebar .mobile-nav .sub-menu{
  margin: 8px 0 10px 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(0,0,0,.15);

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}
.mobile-sidebar .mobile-nav li.has-dropdown.is-open > .sub-menu{
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

/* submenu links */
.mobile-sidebar .mobile-nav .sub-menu a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid rgba(0,0,0,.08);
}
.mobile-sidebar .mobile-nav .sub-menu a i{
  font-size: 13px;
  opacity: .85;
}

/* bottom "topbar info" */
.mobile-sidebar-bottom{
  padding: 14px;
  border-top: 1px solid rgba(0,0,0,.1);
  background: #ffffff;
}
.sb-contact{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  color: #111827;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  margin-bottom: 10px;
}
.sb-contact i{
  color: #374151;
}
.sb-contact span{
  font-size: 13px;
  line-height: 1.2;
}

.sb-social{
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-top: 6px;
}
.sb-social a{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  color: #374151;
  transition: transform .18s ease, background .18s ease;
}
.sb-social a:hover{
  transform: translateY(-2px);
  background: #f3f4f6;
}

/* desktop hide */
@media (min-width: 992px){
  .mobile-sidebar,
  .mobile-sidebar-overlay{ display:none !important; }
}


/* =========================================
   FIX: Remove duplicate black "+" icon
   Keep only our custom ::after "+" pill
========================================= */

/* Keep our pill "+" */
.mobile-sidebar .mobile-nav li.has-dropdown > a::after{
  content: "+";
}

/* Remove theme/template extra icon (usually ::before) */
.mobile-sidebar .mobile-nav li.has-dropdown > a::before{
  content: none !important;
  display: none !important;
}

/* Some templates add icon on spans inside <a> */
.mobile-sidebar .mobile-nav li.has-dropdown > a span::before,
.mobile-sidebar .mobile-nav li.has-dropdown > a span::after{
  content: none !important;
  display: none !important;
}

/* If any template adds a real element toggle like .dropdown-btn/.mean-expand etc */
.mobile-sidebar .mobile-nav .dropdown-btn,
.mobile-sidebar .mobile-nav .mean-expand,
.mobile-sidebar .mobile-nav .submenu-button,
.mobile-sidebar .mobile-nav .dropdown-toggle{
  display: none !important;
}


/* =========================
   RESPONSIVE HERO VIDEO
========================= */

.video-container{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000; /* fallback */
}

/* Video always covers container */
.video-container video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* ✅ responsive crop */
  object-position: center;   /* ✅ keep center */
}

/* Default height (mobile-first) */
.video-container{
  height: 52vh;              /* ✅ good mobile hero */
  min-height: 320px;
  max-height: 560px;
}

/* Mobile special: if header is fixed and logo overlaps */
@media (max-width: 767px){
  .video-container{
    height: 56vh;
    min-height: 340px;
    padding-top: 70px; /* ✅ only if your mobile header is fixed */
  }
}

/* Tablet */
@media (min-width: 768px){
  .video-container{
    height: 62vh;
    min-height: 420px;
    max-height: 720px;
    padding-top: 0;
  }
}

/* Desktop */
@media (min-width: 1200px){
  .video-container{
    height: 78vh;
    min-height: 560px;
    max-height: 860px;
  }
}

@media (min-width: 1400px){
  .video-container{
    height: 82vh;
    min-height: 600px;
    max-height: 920px;
  }
}

@media (min-width: 1600px){
  .video-container{
    height: 86vh;
    min-height: 640px;
    max-height: 980px;
  }
}

@media (min-width: 1920px){
  .video-container{
    height: 88vh;
    min-height: 835px;
    max-height: 1050px;
  }
}




/* =========================
   MOBILE + TABLET HEADER FIX (<= 991.98px)
   Works for: 360, 768, 820, 1024 etc.
========================= */

@media (max-width: 991.98px){

  /* Mobile header container */
  .mobile-header,
  .mobile-header-main{
    position: relative;
    background:#fff;
    z-index: 9999;
  }

  /* FIXED HEIGHT (so header height badhega nahi) */
  .mobile-header-elements{
    position: relative;
    height: 74px;                 /* fixed header height */
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding: 0 14px;
    overflow: visible !important; /* allow logo overlap */
  }

  /* Logo overlap: half header + half banner */
  .mobile-logo{
    position:absolute;
    left: 12px;
    top: 100%;
    transform: translateY(-50%);
    z-index: 10000;
    line-height: 0;               /* extra height remove */
  }

  /* Force SAME logo size (tablet me small nahi hoga) */
  .mobile-logo img{
    height: 145px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;         /* avoid header height increase */
    padding: 2px;
    background:#fff;
    border-radius:50%;
    display:block;
  }

  /* Hamburger always visible + same sizing */
  .mobile-nav-icon{
    z-index: 10001;
  }

  .hamburger{
    width: 44px;
    height: 40px;
    border: 1px solid #20425a;
    background: #20425a;
    border-radius: 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
  }
  .hamburger span{
    width: 18px;
    height: 2px;
    background:#fff;
    display:block;
  }

  /* Give hero/banner top spacing so logo overlap looks perfect */
  .video-container,
  .hero, .banner, .slider, .hero-area, .banner-area, .slider-area{
    padding-top: 72px;  /* header height */
  }
}

/* =========================
   FIX: iPad/Tablet where TOPBAR is visible
   (logo + hamburger should not touch topbar)
========================= */

/* =========================================================
   TOPBAR + MOBILE HEADER FIX
   Goal: Remove topbar on mobile/tablet only
========================================================= */

:root{
  --topbar-h: 42px;        /* desktop topbar height */
  --mheader-h: 74px;       /* mobile header height */
  --sb-bg: #ffffff;
  --sb-text: #0b1b3a;
  --sb-muted: rgba(11,27,58,.65);
  --sb-border: rgba(11,27,58,.10);
}

/* =======================
   DESKTOP TOPBAR (default)
======================= */
.topbar{
  background: #2c5067;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar .topbar-inner{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.topbar-left{
  display:flex;
  align-items:center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-left a{
  font-size: 15px;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}

/* =======================
   MOBILE + TABLET (≤ 991px)
======================= */
@media (max-width: 991.98px){

  /* ❌ REMOVE TOPBAR */
  .topbar{
    display: none !important;
  }

  /* Mobile header sticks to top */
  .mobile-header,
  .mobile-header-main{
    position: sticky;
    top: 0;
    z-index: 10040;
    background:#fff;
  }

  .mobile-header-elements{
    position: relative;
    height: var(--mheader-h);
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding: 0 14px;
    overflow: visible !important;
  }

  /* Logo overlap (same effect as before) */
  .mobile-logo{
    position:absolute;
    left: 12px;
    top: 100%;
    transform: translateY(-50%);
    z-index: 10060;
    line-height: 0;
  }

  /* Keep SAME logo size */
  .mobile-logo img{
    height: 145px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 2px;
    background:#fff;
    border-radius:50%;
    display:block;
  }

  /* Banner/video spacing (NO topbar now) */
  .video-container{
    margin-top: 0 !important;
    padding-top: var(--mheader-h) !important;
  }
}

/* =======================
   DESKTOP LOGO FIX
======================= */
@media (min-width: 992px){
  .header-area1 .site-logo img{
    height: 145px !important;
  }

  .header-area1,
  .header-area1 .container,
  .header-area1 .row,
  .header-area1 .col-12{
    overflow: visible !important;
  }
}


/* ================================
   FIX: Contact hiding behind button
   Only for 992px–1199px screens
   (iPad Pro 1024, Nest Hub, etc.)
================================ */
@media (min-width: 992px) and (max-width: 1199.98px){

  /* Keep header layout tight */
  .header-area1 .header-elements{
    gap: 10px;
  }

  /* Menu takes available space and can shrink properly */
  .header-area1 .main-menu-ex{
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Reduce menu spacing a bit so Contact fits */
  .header-area1 .main-menu-ex ul{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;              /* reduce gap */
    white-space: nowrap;
  }

  /* Slightly smaller nav text + padding */
  .header-area1 .main-menu-ex ul li a{
    font-size: 15px;
    padding: 8px 8px;
  }

  /* Make button smaller so it doesn't overlap */
  .header-area1 .header1-buttons .theme-btn2{
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Optional: reduce arrow spacing if button still big */
  .header-area1 .header1-buttons .theme-btn2 span{
    margin-left: 6px;
  }
}

/* =========================
   CORE VALUES – MOBILE & TABLET ONLY
   Desktop view NOT affected
========================= */

/* ---------- Mobile (≤ 575px) ---------- */
@media (max-width: 575.98px){

  .service1 .row > [class*="col-"]{
    display: block;            /* stack cards */
    margin-bottom: 18px;
  }

  .service1 .service-box{
    padding: 22px 18px;
    border-radius: 16px;
    text-align: center;
  }

  .service1 .service-box .icon_cust{
    margin-bottom: 14px;
  }

  .service1 .service-box .icon_cust img{
    width: 78px;
    max-width: 78px;
    height: auto;
  }

  .service1 .service-box p{
    font-size: 14px;
    line-height: 1.5;
  }
}


/* ---------- Small Tablets (576px – 767px) ---------- */
@media (min-width: 576px) and (max-width: 767.98px){

  .service1 .row > [class*="col-"]{
    display: flex;
  }

  .service1 .service-box{
    width: 100%;
    padding: 24px 20px;
    text-align: center;
  }

  .service1 .service-box .icon_cust img{
    width: 84px;
    max-width: 84px;
  }
}


/* ---------- Tablets (768px – 1199px) ---------- */
@media (min-width: 768px) and (max-width: 1199.98px){

  .service1 .row{
    row-gap: 26px;
  }

  .service1 .row > [class*="col-"]{
    display: flex;             /* equal height cards */
  }

  .service1 .service-box{
    width: 100%;
    height: 100%;
    padding: 26px 22px;
    text-align: center;
  }

  .service1 .service-box .icon_cust img{
    width: 88px;
    max-width: 88px;
  }
}




.case-studies{
    background:#f6f7fb;
    padding:80px 0;
    overflow:hidden;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.case-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:40px;
}

.case-header h2{
    font-size:36px;
    margin-top:10px;
}

.badge{
    display:inline-block;
    background:#ffe8df;
    color:#ff6b35;
    padding:6px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.nav-buttons button{
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:18px;
    margin-left:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    transition:.3s;
}

.nav-buttons button:hover{
    background:#4b6cff;
    color:#fff;
}

/* SLIDER */
.slider-wrapper{
    overflow:hidden;
}

.slider{
    display:flex;
    gap:25px;
    transition:transform 0.6s ease;
}

.case-card{
    min-width:360px;
    height:380px;
    position:relative;
    border-radius:18px;
    overflow:hidden;
    background:#000;
}

.case-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* CARD INFO */
.card-info{
    position:absolute;
    bottom:18px;
    left:18px;
    right:18px;
    background:#fff;
    padding:18px;
    border-radius:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.card-info span{
    font-size:12px;
    color:#888;
}

.card-info h3{
    font-size:18px;
    margin-top:4px;
}

.card-info a{
    width:40px;
    height:40px;
    background:#ff6b35;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .case-card{
        min-width:280px;
    }
}


/* Reset submenu layout */
.dropdown-menu-parrent > ul {
    display: block !important;   /* 🔥 overrides flex */
    width: max-content;          /* 🔥 auto-fit content */
    min-width: 240px;
    background: #fff;
    padding: 8px 0;
}

/* Each item full width */
.dropdown-menu-parrent > ul > li {
    display: block;
    width: 100%;
}

.dropdown-menu-parrent > ul > li > a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;         /* 🔥 stops text breaking */
}


/* ===== Base Floating Style ===== */
.float-btn {
  position: fixed;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 39px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
  z-index: 9999;
}

/* Hover Effect */
/* .float-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
} */

/* ===== Left WhatsApp ===== */
.whatsapp-left {
  left: 25px;
  bottom: 25px;
  background: #25D366;
}

/* ===== Right Call Button ===== */
.call-right {
  right: 25px;
  bottom: 25px;
  /* background: linear-gradient(135deg, #2c5067, #49A6FF); */
  background: orange;
}

/* Pulse Animation */
.float-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  z-index: -1;
  animation: pulse 2.5s infinite;
}

/* Prevent icon color change on hover */
.float-btn,
.float-btn:hover,
.float-btn:focus,
.float-btn:active {
  color: #ffffff !important;
}

/* Also force icon inside to stay white */
.float-btn i {
  color: #ffffff !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .float-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .whatsapp-left {
    left: 15px;
    bottom: 20px;
  }

  .call-right {
    right: 15px;
    bottom: 20px;
  }
}
