 @media (max-width: 768px) {
     

    .gi-main-title {
        font-size: 24px;
    }

    .gi-main-subtitle {
        font-size: 18px;
    }

    .gi-contact-block {
        font-size: 18px;
    }
      

}
@media (max-width: 768px) {
    .emergency-section::before {
        width: 60%;
    }
    .emergency-card {
        padding: 30px;
    }
}
    
@media (max-width: 768px) {
  .profile-card {
    padding: 25px;
  }
  .doctor-name {
    font-size: 24px;
  }
}
 /* Mobile view e nav hide */
@media (max-width: 767.98px) {
  #v-pills-tab {
    display: none;
  }

  .tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
} 

/* Mobile Responsive */
@media (max-width: 768px) {

  .slider-img {
    height: 100%;
  }

  .slider-content {
    top: 15%;
    left: 5%;
    max-width: 90%;
  }

  .slider-content h1 {
    font-size: 26px;
  }

  .slider-content p {
    font-size: 14px;
  }
}
/* Responsive */
@media (max-width: 768px) {
    .gi-card {
        padding: 30px 20px;
    }
    .gi-title {
        font-size: 24px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px){

    .top-bar{
        text-align:center;
    }

    .top-bar .container{
        flex-direction:column;
        gap:5px;
    }

.navbar-nav{
        text-align:center;
    }

}
 @media screen and (max-width: 767px) 
    {
       .shape-box {
        display: inline-block;
        position: relative;
        z-index: 1;
        max-width: 500px;
        height: 430px;
        margin: 10px 10px 10px 10px;
        box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .12);
        overflow: hidden;
        width: 95%; 
    }
        /* Navbar fix */
#mainNavbar {
  padding: 8px 0;
}

/* Logo control */
.navbar-brand img {
  height: 60px;
  width: auto;
  transition: 0.3s ease;
}

/* Mobile view */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 45px;   /* mobile e choto */
  }
}
@media screen and (max-width: 767px) 
{
    .sticky-icon{
        display: none;
    }
}
        @media (max-width:768px){

  .slider-content{
    text-align:left;
    padding:0 15px;
  }

  .slider-content h1{
    font-size:10px;
    line-height:1.3;
    margin-bottom:8px;
  }

  .slider-content h2{
    font-size:9px;
    line-height:1.4;
    margin-bottom:6px;
  }

  .slider-content p{
    font-size:9px;
    line-height:1.5;
    margin-bottom:6px;
  }

  .slider-content h3{
    font-size:9px;
    margin-top:8px;
  }


            @media screen and (max-width: 767px) {
                .top-bar {
                background: #17232e;
                color: #fff;
                font-size: 11px;
                padding: 8px 0;
}
                .icon-social a{
    display: block;
}
            }
        
    /* Mobile */
@media (max-width: 768px) {
    .d-sen h3{
        width: 100%;
        text-align: center;
    }
}        

            
    
            /* Mobile Mega Menu Scroll Fix */
@media (max-width: 991.98px) {

  .navbar .dropdown-menu {
    max-height: 65vh;   /* screen er 75% height */
    overflow-y: auto;   /* vertical scroll */
    overflow-x: hidden;
  }

  /* Optional – smooth scroll */
  .navbar .dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }

  .navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }

}


    /* Two column layout */
@media(min-width:768px){
  .two-col {
    column-count: 2;
    column-gap: 40px;
  }
     @media (max-width: 992px){
      .hero-grid,.doctor-grid,.two-col,.three-col{grid-template-columns:1fr}
      h1{font-size:34px}
      h2{font-size:28px}
    }
    @media (max-width:576px){
      .hero{padding:50px 0}
      h1{font-size:30px}
      .btn{width:100%;text-align:center}
    }
}


   /* =========================
   MOBILE (≤768px)
========================= */
@media (max-width: 768px) {

  /* Heading */
  h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 30px 0;
  }

  .hero-grid {
    display: block;
  }

  .hero-card {
    margin-top: 20px;
    padding: 20px;
  }

  /* TAG */
  .tag {
    flex-wrap: wrap;
    gap: 6px;
  }

  .highlight-badge {
    font-size: 11px;
    padding: 5px 8px;
  }

  /* SECTION */
  .section-academic {
    padding: 30px 0;
  }

  .section-title-center h2 {
    font-size: 20px;
  }

  /* GRID FIX */
  .grid-2,
  .grid-3 {
    display: block;
  }

  .card {
    margin-bottom: 15px;
    padding: 15px;
  }

  /* FAQ */
  .faq-item h3 {
    font-size: 16px;
  }

  /* CTA */
  .cta h2 {
    font-size: 20px;
  }

  .cta p {
    font-size: 14px;
  }

  /* TIMELINE */
  .timeline-item {
    margin-bottom: 15px;
  }

  /* CAROUSEL IMAGE */
 

}


/* =========================
   TABLET (769px - 992px)
========================= */
@media (max-width: 992px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }   

}


/* =========================
   SMALL LAPTOP (993px - 1200px)
========================= */
@media (max-width: 1200px) {

  .hero-grid {
    grid-template-columns: 1fr 300px;
  }

}
            
            
            /* =========================
   MOBILE (≤768px)
========================= */
@media (max-width: 768px) {

  /* TOP STRIP */
  .top-strip .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
    font-size: 13px;
  }

  /* HERO */
  .hero {
    padding: 30px 0;
  }

  .hero-grid {
    display: block;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero .lead {
    font-size: 14px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-card {
    margin-top: 20px;
    padding: 15px;
  }

  /* BADGES */
  .highlight-badge {
    font-size: 11px;
    padding: 5px 8px;
  }

  /* BUTTON */
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-group .btn {
    width: 100%;
  }

  

  .section-head {
    font-size: 20px;
    text-align: center;
  }

  .section-sub {
    font-size: 14px;
    text-align: center;
  }

  /* GRID SYSTEM */
  .three-col,
  .two-col {
    display: block;
  }

  .card {
    margin-bottom: 15px;
    padding: 15px;
  }

  /* BOX */
  .box {
    padding: 15px;
  }

  /* LIST */
  .symptom-list li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* FAQ */
  .faq-item h3 {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 14px;
  }

  /* CTA */
  .cta h2 {
    font-size: 20px;
  }

  .cta p {
    font-size: 14px;
  }

}


/* =========================
   TABLET (≤992px)
========================= */
@media (max-width: 992px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

}


/* =========================
   SMALL LAPTOP (≤1200px)
========================= */
@media (max-width: 1200px) {

  .hero-grid {
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }

}

    /* Mobile fix */
@media (max-width: 768px) {
    .gallery-content {
        transform: translateY(0);
    }
}
            /* Mobile Fix */
@media (max-width: 576px) {
  .custom-tabs .nav-link {
    padding: 8px 14px;
    font-size: 14px;
  }

  .tab-content-box {
    padding: 10px;
  }
}
            
            /* Tablet */
@media (min-width: 768px) {
  .custom-card {
    padding: 22px;
  }

  .custom-list li {
    font-size: 15px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .custom-card {
    padding: 25px;
  }

  .custom-list li {
    font-size: 16px;
  }
}