body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
}

.site-header {
  width: 100%;
}
/* Header ko banner se upar rakhne ke liye positioning context fix */
.site-header {
  position: relative;
  z-index: 1000;
}

.header-diagonal-wrap {
  overflow: visible !important;
}

.header-right,
.navbar-custom,
.navbar-collapse {
  position: static;
}

/* Banner ka stacking context header ke neeche rehna chahiye */
.banner-slider-section {
  position: relative;
  z-index: 1;
}

/* Dropdown ko sabse upar guarantee karne ke liye */
.custom-dropdown {
  z-index: 99999 !important;
}
.header-diagonal-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  overflow: hidden;
}

/* Logo left side */
.logo-box {
  display: flex;
  align-items: center;
  padding: 15px 40px;
  background: #fff;
  z-index: 3;
  position: relative;
}

.logo-text h4 {
  color: #195ba5;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 1.3;
}

.logo-text p {
  color: #e55f75;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin: 1px 0 5px 0;
  text-transform: none;
  font-weight: 700;
  line-height: 1.2;
}

/* Diagonal red cut shape */
.diagonal-cut {
  width: 60px;
  background: #e55f75;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* Right side wrapper (top bar + nav) */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #7a1f3d, #195ba5);
  color: #fff;
  font-size: 14px;
  padding: 8px 30px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
}

.top-bar i {
  margin-right: 6px;
}

/* Navbar */
.navbar-custom {
  padding: 15px 30px;
}

.navbar-custom .nav-link {
  color: #333 !important;
  font-weight: 600;
  margin-right: 25px;
  font-size: 15px;
}

.navbar-custom .nav-link:hover {
  color: #e55f75 !important;
}

.small-plus {
  font-size: 10px;
  color: #e55f75;
  margin-left: 3px;
}

.book-btn {
  background: #e55f75;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 5px;
  margin-right: 0 !important;
}

.book-btn:hover {
  background: #a93226;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
  .header-diagonal-wrap {
    flex-direction: column;
  }
  .diagonal-cut {
    display: none;
  }
  .logo-box {
    justify-content: center;
    padding: 15px 20px;
  }
  .top-bar {
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center;
  }
  .top-bar a {
    margin: 3px 10px;
  }
}
 

/* menus section */
/* ================= DROPDOWN MENU CORE STYLING ================= */

/* Parent positioning jisse dropdown sahi jagah khule */
.dropdown-menu-wrapper {
    position: relative !important;
}

/* Default state: Dropdown hidden rahega */
.custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f9fa; /* Light whiteish background tone as per image */
    min-width: 260px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 2px solid #ce2d2d; /* Red/maroon outline frame jo image me hai */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    z-index: 999999 !important; /* Slider ya hero image ke upar laane ke liye high z-index */
    display: block !important;
}

/* Hover karne par menu smooth niche slide hokar display hoga */
.dropdown-menu-wrapper:hover .custom-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Individual list item layout inside dropdown */
.custom-dropdown li {
    border-bottom: 1px solid #eaeaea; /* Light separator lines */
    text-align: left; /* Text alignment left side maintain karne ke liye */
}

.custom-dropdown li:last-child {
    border-bottom: none;
}

/* Dropdown link styling */
.custom-dropdown li a {
    display: block;
    padding: 14px 20px;
    color: #212529; /* Dark shade text */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.2s ease;
}

/* Hover links color accent change */
.custom-dropdown li a:hover {
    background-color: #f1f3f5;
    color: #be2528; /* Primary red shift */
    padding-left: 25px; /* Subtle sliding shift */
}

/* Font Awesome plus icon adjust styling */
.small-plus {
    font-size: 0.75rem;
    margin-left: 5px;
    color: #ce2d2d;
    vertical-align: middle;
}


/* ================= BOOTSTRAP OVERFLOW FIXES ================= */

/* Bootstrap collapse aur navbar classes ke structural overflow hidden ko force-kill karne ke liye */
header, 
.header, 
nav, 
.navbar, 
.nav-container,
.collapse.navbar-collapse,
.navbar-collapse,
.navbar-nav,
.nav-item {
    overflow: visible !important;
}



/* banner section */
.banner-slider-section {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-inner img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Arrow buttons */
.custom-arrow-icon {
  width: 45px;
  height: 45px;
  background: rgba(43, 37, 96, 0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s;
}

.custom-arrow-icon:hover {
  background: #e55f75;
}

.carousel-control-prev,
.carousel-control-next {
  width: 6%;
  opacity: 1;
}

/* Dots */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  border: none;
}

.carousel-indicators .active {
  background-color: #e55f75;
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .carousel-inner img {
    height: 380px;
  }
}

@media (max-width: 767px) {
  .carousel-inner img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .carousel-inner img {
    height: 220px;
  }
}


/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative;
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.about-alt {
  background: #f9f7fb;
}

/* Corner diagonal triangle shapes */
.about-section::before {
  display: none !important;
}

/* Keep content above the corner shapes */
.about-section .container {
  position: relative;
  z-index: 1;
}

/* Text column padding */
.about-section .col-lg-7 {
  padding: 0 20px 0 50px;
}

/* ===== Layered image card wrapper ===== */
.about-img-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 10px 10px 20px 0;
}

/* Back gray shadow layer */
.shadow-layer {
  position: absolute;
  top: 0;
  left: 20px;
  width: 90%;
  height: 94%;
  background: #f0f4f8;
  border-radius: 14px;
  z-index: 1;
}

/* White frame */
.white-frame {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 10px;
  margin-left: 0;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(25, 91, 165, 0.12);
  border: 1px solid #e2eaf2;
}

/* Image box */
.pink-box {
  background: #f0f7ff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.pink-box img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Doctor Nameplate (replaces the pink bar design) */
.doctor-card-nameplate {
  background: linear-gradient(135deg, #195ba5 0%, #0d3c73 100%);
  color: #fff;
  padding: 14px 16px;
  border-radius: 0 0 8px 8px;
  text-align: center;
  margin-top: 4px;
}

.doctor-card-nameplate .nameplate-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.doctor-card-nameplate .nameplate-degree {
  color: #d6e8ff;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  letter-spacing: 0.3px;
}

.doctor-card-nameplate .nameplate-role {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Red accent border and notch removed */
.red-accent,
.red-notch {
  display: none !important;
}

/* Lead header styling in about section */
.about-badge-pill {
  display: inline-flex;
  align-items: center;
  background: #eef5fc;
  color: #195ba5;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid #d4e4f7;
  letter-spacing: 0.3px;
}

.about-main-title {
  color: #195ba5;
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1.3;
}

.about-title-divider {
  width: 60px;
  height: 4px;
  background: #195ba5;
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 20px;
}

/* ===== Text content ===== */
.about-title {
  color: #195ba5;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.about-qualification {
  font-weight: 700;
  color: #333;
  font-size: 15px;
  margin-bottom: 15px;
}

.about-desc {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* ===== Doctor meta info (timing + phone) ===== */
.doctor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.meta-item i {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #195ba5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.meta-item small {
  color: #e55f75;
  font-weight: 600;
}

.meta-item a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.meta-item a:hover {
  color: #e55f75;
}

/* ===== Read More button ===== */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e55f75;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-read-more:hover {
  background: #a93226;
  color: #fff;
}

/* ===== Divider between doctor sections ===== */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, #e55f75, #195ba5);
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .pink-box img {
    height: 340px;
  }
  .about-title {
    font-size: 1.8rem;
  }
  .about-section .col-lg-7 {
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  .about-section::before,
  .about-section::after {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .pink-box img {
    height: 280px;
  }
  .about-img-wrap {
    padding: 15px 20px 30px 0;
  }
  .doctor-meta {
    gap: 15px;
  }
}
@media (max-width: 767px) {
  .about-section::before {
    border-width: 0 90px 90px 0;
  }
  .about-section::after {
    border-width: 90px 90px 0 0;
  }
}


/* advance section */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.solutions-section {
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    background-color: #fcfdfe;
    overflow: hidden;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* ================= LEFT SIDE GRAPHIC & IMAGE ================= */
.solutions-left {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.graphic-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
}

/* Gradient Circular Frame */
.image-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(135deg, #a82c48 0%, #4a154b 50%, #832746 100%);
    box-sizing: border-box;
    position: relative;
    zIndex: 2;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Fluid Horizontal Shapes on Right of Circle */
.fluid-shape {
    position: absolute;
    background: #4a154b;
    border-radius: 50px;
    zIndex: 1;
}

.shape-1 { width: 140px; height: 35px; right: -80px; top: 85px; }
.shape-2 { width: 40px; height: 40px; right: -60px; top: 130px; border-radius: 50%; }
.shape-3 { width: 120px; height: 35px; right: -100px; top: 180px; }
.shape-4 { width: 35px; height: 35px; right: -40px; top: 225px; }

/* Background Glow Dots */
.glow-dot {
    position: absolute;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.5;
    zIndex: 0;
}
.pink-glow { width: 40px; height: 40px; background: #ff2a74; top: 40px; right: -10px; }
.purple-glow { width: 60px; height: 60px; background: #7857ff; bottom: 40px; right: -20px; }
.green-glow { width: 50px; height: 50px; background: #2affd0; bottom: -20px; left: 40px; }


/* ================= RIGHT SIDE CONTENT ================= */
.solutions-right {
    flex: 1.2;
}

.section-title {
    font-size: 2.3rem;
    color: #162447;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Icons styling and colored backgrounds */
.feature-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.red-bg { background-color: #d9383a; }
.blue-bg { background-color: #223a70; }
.red-dark-bg { background-color: #be2528; }

.feature-text h3 {
    font-size: 1.25rem;
    color: #111;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.feature-text p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
    .solutions-container {
        flex-direction: column;
        gap: 50px;
        text-align: left;
    }
    
    .graphic-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4 {
        display: none; /* Mobile space management ke liye side shapes hide kiye hain */
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    .graphic-wrapper {
        width: 280px;
        height: 280px;
    }
    .feature-item {
        flex-direction: column;
        gap: 12px;
    }
}


/* achievements-section */



.achievements-section {
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px;
    background-color: #f8f9fa; /* Aap yahan apna background image set kar sakte hain */
    background-image: radial-gradient(#e1e1e1 1px, transparent 1px), radial-gradient(#e1e1e1 1px, #f8f9fa 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    text-align: center;
}

.achievements-container {
    max-width: 1100px;
    margin: 0 auto;
}

.achievements-title {
    font-size: 2.5rem;
    color: #212529;
    font-weight: 700;
    margin-bottom: 40px;
}

.achievements-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.achievement-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Color Matching as per image */
.red-icon {
    color: #ce2d2d;
}

.blue-icon {
    color: #195ba5;
}

.achievement-number {
    font-size: 2.2rem;
    color: #1a365d;
    font-weight: 700;
    margin: 5px 0;
}

.achievement-label {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
}

/* Call Button Styling */
.cta-container {
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ce2d2d;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(206, 45, 45, 0.3);
    transition: all 0.3s ease;
}

.cta-button i {
    font-size: 1.2rem;
}

.cta-button:hover {
    background-color: #b12424;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 45, 45, 0.4);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .achievements-grid {
        flex-direction: column;
    }
    .achievements-title {
        font-size: 2rem;
    }
    .achievement-number {
        font-size: 1.8rem;
    }
}




/* our service  */


.services-section {
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-main-title {
    font-size: 2.5rem;
    color: #212529;
    font-weight: 700;
    margin-bottom: 50px;
}

/* 3 Column Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Default Normal Card Styling */
.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    text-align: left;
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03); /* Subtle clean default look */
}

.service-icon {
    font-size: 2.5rem;
    color: #ce2d2d; /* Primary Red Color */
    margin-bottom: 25px;
    transition: all 0.4s ease-in-out;
}

.service-title {
    font-size: 1.1rem;
    color: #1c2d42;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease-in-out;
}

.service-desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    transition: all 0.4s ease-in-out;
}

/* ================= HOVER EFFECT STATE ================= */
.service-card:hover {
    background-color: #314e7a; /* Exact Blue overlay tone */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(49, 78, 122, 0.3);
}

/* Hover par background me subtle dynamic water-mark/shape add karne ke liye */
.service-card::before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

/* Changing elements color inside card on hover */
.service-card:hover .service-icon {
    color: #ffffff;
}

.service-card:hover .service-title {
    color: #ffffff;
}

.service-card:hover .service-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet par 2 columns */
    }
}

@media (max-width: 768px) {
    .services-main-title {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Mobile par 1 single column */
        gap: 20px;
    }
    .service-card {
        padding: 30px 20px;
    }
}




/* gallery section  */



.gallery-section {
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding: 60px 20px;
    background-color: #ffffff; /* Bottom half background white rahega */
}

/* Split Background Effect (Top half maroon overlay) */
.gallery-top-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px; /* Image ke layout ke hisab se exact top half cover karega */
background: linear-gradient(rgba(168, 44, 72, 0.85), rgba(131, 39, 70, 0.9)), url('../images/4.webp');    background-size: cover;
    background-position: center;
    z-index: 1;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2; /* Content ko background ke upar laane ke liye */
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

/* 3 Column Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Exact image matching blue borders */
.gallery-item {
    background-color: #ffffff;
    border: 4px solid #195ba5; /* Solid dark blue border as per image */
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Standard medical image widescreen frame maintain karne ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image pull ya stretch nahi hogi, perfectly crop hoke fit hogi */
    display: block;
}

/* Subtle Hover zoom effect images par */
.gallery-item:hover {
    transform: scale(1.02);
}

/* Center Bottom Button */
.gallery-action {
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ce2d2d;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px; /* Capsule shape */
    box-shadow: 0 4px 10px rgba(206, 45, 45, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn i {
    font-size: 0.85rem;
}

.view-all-btn:hover {
    background-color: #b12424;
    box-shadow: 0 6px 15px rgba(206, 45, 45, 0.4);
    transform: translateY(-1px);
}

/* Responsive Rules */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablets par 2 columns */
    }
    .gallery-top-bg {
        height: 550px; /* Adjusting split for wrap layout */
    }
}

@media (max-width: 576px) {
    .gallery-title {
        font-size: 2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Mobile screens par pure single column */
        gap: 15px;
    }
    .gallery-top-bg {
        height: 750px;
    }
}



/* review section */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.reviews-section {
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    background-color: #f8fafc;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.reviews-main-title {
    font-size: 2.5rem;
    color: #195ba5;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.review-swiper {
    width: 100%;
    overflow: hidden;
    padding: 20px 10px 60px 10px !important;
}

.review-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: #b12424;
    margin-bottom: 10px;
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 25px 0;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.patient-avatar {
    width: 45px;
    height: 45px;
    background-color: #195ba5;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.swiper-slide:nth-child(even) .patient-avatar {
    background-color: #ce2d2d;
}

.patient-name {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

.patient-status {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ce2d2d !important;
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .reviews-main-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    .review-card {
        padding: 25px 20px;
    }
}


/* blog section */

.blog-section {
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding: 80px 20px;
    background-color: #f7f9fb; /* Exact light background match */
    overflow: hidden;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-main-title {
    font-size: 2.5rem;
    color: #212529;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

/* Swiper Outer Spacing */
.blog-swiper {
    padding: 10px 10px 60px 10px !important;
    overflow: hidden;
    width: 100%;
}

.blog-swiper .swiper-slide {
    height: auto;
    width: 100%;
}

.blog-card {
    width: 100%;
    box-sizing: border-box;
}

/* --- Card Structure --- */
.blog-card {
    background: #ffffff;
    border-radius: 0; /* Pure square sharp borders look as per image */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: auto;
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes image block perfectly square */
    background-color: #f0f0f0;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Absolute Date Badge Left-Bottom on Image */
.date-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #1a365d; /* Dark Blue Badge */
    color: #ffffff;
    padding: 10px 18px;
    text-align: center;
    z-index: 3;
    min-width: 65px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* --- Content Styling --- */
.blog-content {
    padding: 25px;
    text-align: left;
    background-color: #ffffff;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta i {
    color: #64748b;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.3rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.blog-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #ce2d2d; /* Primary accent color change on hover */
}

/* --- Pagination Dots Customization --- */
.blog-pagination {
    position: absolute;
    bottom: 15px !important;
    left: 0;
    width: 100%;
    text-align: center;
}

.blog-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.blog-pagination .swiper-pagination-bullet-active {
    background: #ce2d2d !important; /* Red indicator active dot */
    width: 10px;
    border-radius: 50%;
}

/* --- Corner Background Hex/DNA Decorative Graphics --- */
.blog-bg-graphic {
    position: absolute;
    width: 200px;
    height: 300px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.left-graphic {
    left: -20px;
    top: 10%;
    background: radial-gradient(circle, rgba(30,58,138,0.08) 2px, transparent 3px);
    background-size: 20px 20px;
}

.right-graphic {
    right: -20px;
    bottom: 5%;
    background: radial-gradient(circle, rgba(30,58,138,0.08) 2px, transparent 3px);
    background-size: 20px 20px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .blog-main-title {
        font-size: 2rem;
    }
    .blog-content {
        padding: 20px;
    }
}



/* contact section */


.emergency-bar-section {
    font-family: 'Poppins', sans-serif;
    background-color: #313e72; /* Exact image match deep blue color */
    padding: 25px 20px;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.emergency-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* --- Left Side Headline Layout --- */
.emergency-headline {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 280px;
}

.emergency-icon-box {
    position: relative;
    font-size: 2.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-text {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 700;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -42%);
    color: #ffffff;
}

.headline-text span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.headline-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2px 0 0 0;
    letter-spacing: 0.5px;
}

/* --- Right Side Doctors Grid Layout --- */
.doctors-schedule-grid {
    display: flex;
    gap: 25px;
    flex: 2;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.doctor-timing-card {
    background: rgba(255, 255, 255, 0.07); /* Clean semi-transparent premium look */
    border-left: 3px solid #ce2d2d; /* Red highlights */
    padding: 12px 20px;
    border-radius: 4px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Alternate border color accent */
.doctor-timing-card:nth-child(2) {
    border-left-color: #4da3ff; /* Blue accent for second doctor */
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-meta i {
    font-size: 1.2rem;
}

.text-red { color: #d1b96e; }
.text-blue { color: #4da3ff; }

.doc-meta h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.doc-specialty {
    font-size: 0.75rem;
    opacity: 0.75;
    margin: 0;
}

.doc-contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    margin-top: 2px;
}

.doc-contact-info p {
    margin: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.doc-phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
}

.doc-phone-link:hover {
    opacity: 0.8;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .emergency-bar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .doctors-schedule-grid {
        justify-content: flex-start;
        width: 100%;
    }
    .doctor-timing-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .emergency-headline h2 {
        font-size: 1.5rem;
    }
    .doctors-schedule-grid {
        flex-direction: column;
        gap: 15px;
    }
    .doc-contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}



/* footer section */

.site-footer {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f9fb; /* Image ka subtle background tint */
    padding: 60px 0 0 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding: 0 20px 40px 20px;
}

/* --- Column Configurations --- */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.brand-text {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.footer-heading {
    font-size: 1.15rem;
    color: #1a202c;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
}

/* --- Navigation Links --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #be2528;
}

/* --- Social Icons Exact Styling --- */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.fb { background-color: #3b5998; }
.social-icon.insta { background-color: #e1306c; }
.social-icon.yt { background-color: #ff0000; }
.social-icon.ln { background-color: #0077b5; }

/* --- Address & Contact Section --- */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-list li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
    align-items: flex-start;
}

.contact-info-list i {
    color: #1a202c;
    font-size: 1rem;
    margin-top: 3px;
}

.contact-info-list a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-list a:hover {
    color: #be2528;
}

/* --- Footer Bottom Gradient Bar --- */
.footer-bottom {
    background: linear-gradient(to right, #381f3d 0%, #76233d 40%, #be2528 100%);
    color: #ffffff;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
}

.developer-credit img {
    height: 40px; /* Developer logo ko clean structure me stretch-free rakhne ke liye */
    width: auto;
    display: block;
}

/* --- Responsive Rules --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}



/* tiker section */
.ticker-section {
    width: 100%;
    overflow: hidden; /* Bahar nikalne wale text ko chupane ke liye */
    background: linear-gradient(to right, #381f3d, #76233d, #be2528); /* Footer bar se match karta hua premium gradient color */
    padding: 15px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    display: flex;
    width: max-content;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* 25 seconds lagenge poori line cross hone me. Speed badhani ho toh 25s ko 20s kar dena */
    animation: marqueeTicker 45s linear infinite; 
    padding-right: 30px;
}

/* Jab text par mouse le jayein toh line wahi ruk jaye */
.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 20px;
    text-transform: uppercase;
}

.ticker-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    padding-bottom:5px;
}

/* Infinite sliding animation logic */
@keyframes marqueeTicker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* ================= SPECIALTY SERVICES SECTION (HOMEPAGE) ================= */
.specialty-services-section {
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.urology-bg {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.gynecology-bg {
    background: linear-gradient(135deg, #fff 0%, #f5f7fa 100%);
}

.section-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e55f75;
    margin-bottom: 8px;
}

.gynecology-bg .section-subtitle {
    color: #195ba5;
}

.section-title-custom {
    font-size: 2.3rem;
    color: #195ba5;
    font-weight: 800;
    margin-bottom: 15px;
}

.gynecology-bg .section-title-custom {
    color: #1a365d;
}

.header-line {
    width: 70px;
    height: 3px;
    background-color: #e55f75;
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

.header-line.blue-line {
    background-color: #195ba5;
}

/* Specialty Cards with Image Support */
.specialty-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.specialty-img-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.specialty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.specialty-card:hover .specialty-img {
    transform: scale(1.08);
}

.specialty-card-icon {
    position: absolute;
    bottom: -18px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    border: 2.5px solid #ffffff;
    z-index: 3;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.specialty-content {
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.specialty-content h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: #195ba5;
    margin-bottom: 10px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.specialty-content p {
    font-size: 0.9rem;
    color: #556270;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.specialty-card .learn-more-btn {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e55f75;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.specialty-card .learn-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Hover States */
.specialty-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(25, 91, 165, 0.14);
    border-color: rgba(25, 91, 165, 0.3);
}

.specialty-card:hover .specialty-content h3 {
    color: #e55f75;
}

.specialty-card:hover .learn-more-btn {
    color: #195ba5;
    gap: 12px;
}

.specialty-card:hover .learn-more-btn i {
    transform: translateX(5px);
}

.specialty-card:hover .card-icon-wrap {
    background: #ffffff;
    color: #e55f75;
    transform: scale(1.1);
}

.specialty-card.blue-theme:hover .card-icon-wrap {
    color: #195ba5;
}

/* ================= INNER PAGES COMMON STYLING ================= */
.inner-page-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(43, 37, 96, 0.85), rgba(122, 31, 61, 0.9)), url('../images/4.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.inner-page-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom li a:hover {
    color: #ffffff;
}

.breadcrumb-custom li::after {
    content: '/';
    color: rgba(255, 255, 255, 0.5);
    margin-left: 8px;
}

.breadcrumb-custom li:last-child::after {
    display: none;
}

.breadcrumb-custom li.active {
    color: #d1b96e;
}

/* Service Detail Content */
.service-detail-section {
    padding: 80px 0;
}

.service-main-content h2 {
    color: #195ba5;
    font-weight: 800;
    margin-bottom: 25px;
}

.service-main-content h3 {
    color: #195ba5;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 20px;
}

.service-main-content p {
    color: #555555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-main-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.service-main-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #444444;
}

.service-main-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #e55f75;
    font-size: 14px;
}

.service-main-content.gynecology-theme ul li::before {
    color: #195ba5;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #195ba5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e55f75;
}

.widget-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-services-list li {
    margin-bottom: 10px;
}

.widget-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.widget-services-list li a:hover,
.widget-services-list li.active a {
    background: #e55f75;
    color: #ffffff;
    border-color: #e55f75;
}

.widget-services-list.gynecology-theme li a:hover,
.widget-services-list.gynecology-theme li.active a {
    background: #195ba5;
    color: #ffffff;
    border-color: #195ba5;
}

.widget-services-list li a i {
    font-size: 12px;
}

.doctor-widget-card {
    text-align: center;
}

.doctor-widget-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #eaeaea;
}

.doctor-widget-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #195ba5;
    margin-bottom: 5px;
}

.doctor-widget-card p {
    font-size: 0.85rem;
    color: #e55f75;
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-widget-card .btn-book {
    display: block;
    background: #195ba5;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s;
}

.doctor-widget-card .btn-book:hover {
    background: #e55f75;
}

/* Contact page specific styling */
.contact-info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-box .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f7ff;
    color: #e55f75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 50px;
}

.contact-info-box h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #195ba5;
    margin-bottom: 5px;
}

.contact-info-box p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.contact-form-card h3 {
    color: #195ba5;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Appointment form specific styling */
.appointment-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.appointment-form-card h3 {
    color: #195ba5;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .inner-page-banner h1 {
        font-size: 2.2rem;
    }
    
    /* Mobile Dropdown Menu Adjustments */
    .custom-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid #ce2d2d !important;
        margin-left: 20px !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
        display: none !important; /* Managed by JS class toggle */
        background-color: #fdfdfd !important;
        min-width: 100% !important;
    }
    
    .dropdown-menu-wrapper.active .custom-dropdown {
        display: block !important;
    }
    
    .dropdown-menu-wrapper.active .small-plus {
        transform: rotate(45deg);
    }
    
    .small-plus {
        transition: transform 0.3s ease;
        display: inline-block;
    }
    
    /* General Navbar Mobile Optimization */
    .navbar-nav {
        padding: 10px 0;
        width: 100%;
        text-align: left;
    }
    
    .navbar-custom .nav-link {
        padding: 10px 0 !important;
        margin-right: 0 !important;
        border-bottom: 1px solid #f1f1f1;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-custom li:last-child .nav-link,
    .book-btn {
        border-bottom: none !important;
    }
    
    .book-btn {
        margin-top: 15px !important;
        text-align: center;
        display: block !important;
        padding: 12px !important;
    }
}

@media (max-width: 576px) {
    /* Optimize banners, paddings, and font sizes for smaller mobile screens */
    .inner-page-banner {
        padding: 60px 0;
    }
    .inner-page-banner h1 {
        font-size: 1.8rem;
    }
    .service-detail-section {
        padding: 40px 0;
    }
    .service-main-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .service-main-content h3 {
        font-size: 1.25rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .sidebar-widget {
        padding: 20px;
    }
    .contact-form-card, .appointment-form-card {
        padding: 25px 20px;
    }
    .contact-form-card h3, .appointment-form-card h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}
/* =========================================================
   FINAL MOBILE RESPONSIVE OPTIMIZATION - 10 JUL 2026
   ========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img,
video,
iframe {
    max-width: 100%;
}

.container,
.container-fluid {
    max-width: 100%;
}

/* Header improvements */
.site-header {
    background: #ffffff;
    box-shadow: 0 3px 18px rgba(0,0,0,0.06);
}

.navbar-toggler {
    border: 1px solid rgba(43,37,96,0.18);
    padding: 8px 10px;
    border-radius: 8px;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}

/* Banner and carousel */
.carousel-inner,
.carousel-item {
    width: 100%;
}

.carousel-item img {
    background: #f7f7f7;
}

/* Better section spacing and typography */
.section-title-custom,
.services-main-title,
.gallery-title,
.reviews-main-title,
.blog-main-title,
.achievements-title,
.about-title,
.section-title {
    word-break: normal;
    overflow-wrap: anywhere;
}

/* Forms */
input,
select,
textarea,
button {
    max-width: 100%;
}

.form-control,
.form-select {
    min-height: 46px;
}

/* Touch friendly buttons */
.btn-read-more,
.cta-button,
.view-all-btn,
.book-btn,
.learn-more-btn {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1199px) {
    .navbar-custom .nav-link {
        margin-right: 14px;
        font-size: 14px;
    }

    .logo-box {
        padding: 14px 24px;
    }

    .top-bar {
        padding: 8px 18px;
    }
}

@media (max-width: 991px) {
    .site-header {
        position: relative;
        z-index: 1050;
    }

    .header-diagonal-wrap {
        display: block !important;
        background: #ffffff;
        overflow: visible !important;
    }

    .logo-box {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px 10px;
        border-bottom: 1px solid #f0f0f0;
    }

    .logo-text h4 {
        font-size: 16px;
        line-height: 1.25;
        letter-spacing: 0.4px;
    }

    .logo-text p {
        font-size: 9px;
        letter-spacing: 0.2px;
        line-height: 1.15;
        margin: 1px 0 4px 0;
    }

    .header-right {
        width: 100%;
        display: block;
    }

    .top-bar {
        padding: 8px 12px;
        font-size: 12px;
    }

    .top-bar .container-fluid {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 12px;
        padding: 0;
    }

    .top-bar a {
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

    .navbar-custom {
        padding: 8px 12px;
        border-bottom: 1px solid #f3f3f3;
    }

    .navbar-custom .container-fluid {
        padding: 0;
    }

    .navbar-collapse {
        width: 100%;
        background: #ffffff;
        margin-top: 8px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        padding: 8px 12px 14px;
        overflow: hidden !important;
    }

    .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }

    .navbar-custom .nav-link {
        min-height: 44px;
        font-size: 14px;
        padding: 11px 2px !important;
        margin: 0 !important;
        border-bottom: 1px solid #f2f2f2;
        color: #195ba5 !important;
    }

    .dropdown-menu-wrapper {
        width: 100%;
    }

    .custom-dropdown {
        width: calc(100% - 14px) !important;
        min-width: 0 !important;
        margin-left: 14px !important;
        padding: 4px 0 !important;
        border-radius: 0 0 10px 10px;
        overflow: hidden !important;
    }

    .custom-dropdown li a {
        padding: 10px 14px !important;
        font-size: 13px;
        line-height: 1.35;
    }

    .book-btn {
        width: 100%;
        border-radius: 10px;
        margin-top: 12px !important;
        justify-content: center !important;
        background: linear-gradient(135deg, #e55f75, #7a1f3d);
        box-shadow: 0 8px 18px rgba(192,57,43,0.18);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }

    .custom-arrow-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ticker-section {
        padding: 0px 0;
    }

    .ticker-item {
        font-size: 0.92rem;
        padding: 0 12px;
    }

    .about-section,
    .specialty-services-section,
    .solutions-section,
    .services-section,
    .gallery-section,
    .reviews-section,
    .blog-section,
    .service-detail-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .section-title-custom,
    .services-main-title,
    .reviews-main-title,
    .blog-main-title,
    .achievements-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 28px;
    }

    .about-section .row {
        --bs-gutter-y: 2rem;
    }

    .about-section .col-lg-7 {
        padding: 0 12px !important;
        text-align: left;
    }

    .doctor-meta {
        gap: 14px;
    }

    .specialty-card,
    .service-card,
    .review-card,
    .sidebar-widget,
    .contact-form-card,
    .appointment-form-card {
        border-radius: 14px;
    }

    .inner-page-banner {
        padding: 70px 12px;
    }

    .inner-page-banner h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .carousel-inner img {
        height: auto !important;
        min-height: 190px;
        aspect-ratio: 3 / 1;
        object-fit: cover;
        object-position: center;
    }

    .carousel-indicators {
        margin-bottom: 8px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }

    .about-title {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .about-qualification,
    .about-desc,
    .specialty-card p,
    .service-desc,
    .review-text,
    .service-main-content p,
    .service-main-content ul li {
        font-size: 14px;
        line-height: 1.65;
    }

    .doctor-meta {
        display: grid;
        grid-template-columns: 1fr;
        padding: 14px 0;
    }

    .meta-item {
        width: 100%;
    }

    .pink-box img {
        height: 320px;
    }

    .about-img-wrap {
        max-width: 360px;
    }

    .specialty-card,
    .service-card {
        padding: 28px 22px;
    }

    .section-header {
        margin-bottom: 28px !important;
    }

    .section-title-custom {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 11px;
        letter-spacing: 1.3px;
    }

    .achievements-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .achievement-item {
        min-width: 0;
        background: #ffffff;
        border-radius: 12px;
        padding: 20px 10px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    }

    .achievement-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .achievement-number {
        font-size: 1.55rem;
    }

    .gallery-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gallery-top-bg {
        height: 430px;
    }

    .gallery-item {
        border-width: 3px;
        border-radius: 10px;
    }

    .emergency-bar-section {
        padding: 24px 14px;
    }

    .emergency-headline {
        min-width: 0;
        width: 100%;
    }

    .headline-text h2,
    .emergency-headline h2 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .doctor-timing-card {
        width: 100%;
        min-width: 0;
        border-radius: 10px;
    }

    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-heading {
        margin-bottom: 14px;
    }

    .footer-links {
        gap: 9px;
    }

    .footer-socials {
        margin-top: 8px;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 14px;
    }

    .logo-box {
        padding: 12px 14px 9px;
    }

    .logo-text h4 {
        font-size: 15px;
    }

    .logo-text p {
        font-size: 9.5px;
    }

    .top-bar {
        font-size: 11.5px;
        padding: 7px 10px;
    }

    .top-bar .container-fluid {
        gap: 5px 10px;
    }

    .navbar-custom {
        padding: 8px 10px;
    }

    .navbar-collapse {
        border-radius: 10px;
        padding: 6px 10px 12px;
    }

    .navbar-custom .nav-link {
        font-size: 13.5px;
    }

    .carousel-inner img {
        min-height: 165px;
    }

    .custom-arrow-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .about-section,
    .specialty-services-section,
    .solutions-section,
    .services-section,
    .gallery-section,
    .reviews-section,
    .blog-section,
    .service-detail-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .section-title-custom,
    .services-main-title,
    .reviews-main-title,
    .blog-main-title,
    .achievements-title,
    .section-title {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .about-title {
        font-size: 1.45rem;
    }

    .pink-box img {
        height: 270px;
    }

    .about-img-wrap {
        max-width: 300px;
        padding: 12px 14px 26px 0;
    }

    .white-frame {
        padding: 10px;
    }

    .meta-item i {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 13px;
    }

    .btn-read-more,
    .cta-button,
    .view-all-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }

    .specialty-card,
    .service-card,
    .review-card,
    .blog-content,
    .sidebar-widget,
    .contact-form-card,
    .appointment-form-card {
        padding: 22px 16px;
    }

    .card-icon-wrap,
    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
        margin-bottom: 18px;
    }

    .specialty-card h3,
    .service-title,
    .feature-text h3,
    .blog-title {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .solutions-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .solutions-container {
        gap: 28px;
    }

    .graphic-wrapper {
        width: min(260px, 82vw);
        height: min(260px, 82vw);
    }

    .feature-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .gallery-title {
        font-size: 1.55rem;
        margin-bottom: 28px;
    }

    .gallery-top-bg {
        height: 360px;
    }

    .review-swiper,
    .blog-swiper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .patient-info {
        gap: 10px;
    }

    .patient-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .emergency-icon-box {
        font-size: 2.25rem;
    }

    .headline-text span {
        font-size: 0.78rem;
    }

    .doc-meta h3 {
        font-size: 0.98rem;
    }

    .doc-contact-info {
        font-size: 0.8rem;
    }

    .footer-container {
        gap: 24px;
        padding-bottom: 30px;
    }

    .brand-text,
    .footer-links a,
    .contact-info-list li,
    .copyright-text {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 14px 12px;
    }

    .developer-credit img {
        height: 34px;
    }

    .inner-page-banner {
        padding: 55px 12px;
    }

    .inner-page-banner h1 {
        font-size: 1.65rem;
    }

    .breadcrumb-custom {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }
}

@media (max-width: 390px) {
    .logo-text h4 {
        font-size: 14px;
    }

    .top-bar a {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .carousel-inner img {
        min-height: 150px;
    }

    .section-title-custom,
    .services-main-title,
    .reviews-main-title,
    .blog-main-title,
    .achievements-title,
    .section-title {
        font-size: 1.38rem;
    }

    .specialty-card,
    .service-card,
    .review-card,
    .blog-content,
    .sidebar-widget,
    .contact-form-card,
    .appointment-form-card {
        padding: 20px 14px;
    }
}

/* ===== Final mobile header fix: clean compact logo & aligned toggler ===== */
@media (max-width: 991px) {
    .site-header {
        position: relative;
        z-index: 9999;
        background: #fff;
    }

    .header-diagonal-wrap {
        display: block !important;
        position: relative !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .diagonal-cut {
        display: none !important;
    }

    .header-right {
        width: 100% !important;
        display: block !important;
        position: relative !important;
    }

    .top-bar {
        position: relative !important;
        z-index: 35 !important;
        padding: 7px 8px !important;
        font-size: 11px !important;
    }

    .top-bar .container-fluid {
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .top-bar a {
        margin: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1.1 !important;
    }

    .top-bar i {
        margin-right: 5px !important;
    }

    .navbar-custom {
        position: relative !important;
        z-index: 20 !important;
        min-height: 60px !important;
        height: 60px !important;
        padding: 0 14px 0 0 !important;
        background: #fff !important;
        border-bottom: 1px solid #eeeeee !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }

    .navbar-custom .container-fluid {
        min-height: 60px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
    }

    .logo-box {
        position: absolute !important;
        top: 31px !important;
        left: 0 !important;
        width: calc(100% - 66px) !important;
        min-height: 60px !important;
        height: 60px !important;
        padding: 6px 14px !important;
        background: transparent !important;
        border-bottom: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        z-index: 30 !important;
    }

    .logo-box a {
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .logo-box img {
        max-height: 44px !important;
        width: auto !important;
        max-width: 240px !important;
        object-fit: contain !important;
    }

    /* Hide redundant text on mobile to avoid duplicate doctor name clutter */
    .logo-text {
        display: none !important;
    }

    .navbar-toggler {
        margin-left: auto !important;
        margin-right: 0 !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        border: 1px solid #d0d7de !important;
        background: #fff !important;
        position: relative !important;
        z-index: 45 !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .navbar-toggler-icon {
        width: 22px !important;
        height: 22px !important;
    }

    .navbar-collapse {
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        padding: 10px 16px 20px !important;
        border-top: 1px solid #eeeeee !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .navbar-nav {
        align-items: flex-start !important;
        width: 100% !important;
    }

    .navbar-custom .nav-link {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 10px 0 !important;
        font-size: 14px !important;
        border-bottom: 1px solid #f2f2f2 !important;
    }
}

@media (max-width: 575px) {
    .top-bar {
        font-size: 10px !important;
        padding: 6px 4px !important;
    }

    .top-bar .container-fluid {
        gap: 8px !important;
    }

    .logo-box {
        top: 30px !important;
        width: calc(100% - 60px) !important;
        min-height: 56px !important;
        height: 56px !important;
        padding: 5px 12px !important;
    }

    .logo-box img {
        max-height: 38px !important;
        max-width: 210px !important;
    }

    .navbar-custom,
    .navbar-custom .container-fluid {
        min-height: 56px !important;
        height: 56px !important;
    }

    .navbar-toggler {
        width: 40px !important;
        height: 40px !important;
    }

    .navbar-collapse {
        top: 56px !important;
    }
}

@media (max-width: 360px) {
    .top-bar {
        font-size: 9px !important;
    }

    .top-bar .container-fluid {
        gap: 5px !important;
    }

    .logo-box {
        top: 28px !important;
        width: calc(100% - 54px) !important;
        min-height: 52px !important;
        height: 52px !important;
        padding: 4px 8px !important;
    }

    .logo-box img {
        max-height: 34px !important;
        max-width: 190px !important;
    }

    .navbar-custom,
    .navbar-custom .container-fluid {
        min-height: 52px !important;
        height: 52px !important;
    }

    .navbar-toggler {
        width: 36px !important;
        height: 36px !important;
    }

    .navbar-collapse {
        top: 52px !important;
    }
}

/* Custom Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay variants for grid items or sequences */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Scale-in animation variant */
.scale-in-scroll {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scale-in-scroll.animated {
    opacity: 1;
    transform: scale(1);
}

/* Slide-in from left variant */
.slide-left-scroll {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-left-scroll.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from right variant */
.slide-right-scroll {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-right-scroll.animated {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================================
   REFINED ABOUT SECTION (Centered Name, Degrees, About Label)
   ======================================================== */
.about-header-centered {
    margin-bottom: 28px;
    padding-bottom: 8px;
}

.about-doctor-name {
    color: #195ba5;
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.about-doctor-degree {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.about-second-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.about-badge-text {
    background: linear-gradient(135deg, rgba(229, 95, 117, 0.12), rgba(25, 91, 165, 0.1));
    color: #e55f75;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 7px 22px;
    border-radius: 25px;
    border: 1px solid rgba(229, 95, 117, 0.3);
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(229, 95, 117, 0.08);
}

@media (max-width: 991px) {
    .about-doctor-name {
        font-size: 2.1rem;
    }
    .about-doctor-degree {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .about-doctor-name {
        font-size: 1.85rem !important;
    }
    .about-doctor-degree {
        font-size: 0.95rem !important;
    }
    .about-badge-text {
        font-size: 0.85rem !important;
        padding: 5px 16px !important;
    }
}

/* ========================================================
   HOMEPAGE APPOINTMENT SECTION (Spacious, Open & Breathable)
   ======================================================== */
.home-appointment-section {
    background: linear-gradient(180deg, #f8fbfe 0%, #edf3f9 100%);
    padding: 70px 0;
    position: relative;
}

.appointment-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(25, 91, 165, 0.09);
    overflow: hidden;
    border: 1px solid rgba(25, 91, 165, 0.12);
}

.appointment-info-col {
    background: linear-gradient(145deg, #195ba5 0%, #103c6e 65%, #7a1f3d 100%);
    color: #ffffff;
}

.appointment-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.appointment-sidebar-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1.25;
}

.appointment-sidebar-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
}

.clinic-time-box {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #e55f75;
    padding: 16px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.text-danger-light {
    color: #ffb8c3 !important;
}

.quick-call-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.quick-call-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.quick-call-link:hover {
    color: #e55f75;
}

.appointment-form-col {
    padding: 45px !important;
}

.form-main-title {
    color: #195ba5;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 8px;
}

.appointment-form-col .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 6px;
}

.appointment-form-col .form-control,
.appointment-form-col .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.appointment-form-col .form-control:focus,
.appointment-form-col .form-select:focus {
    border-color: #195ba5;
    box-shadow: 0 0 0 4px rgba(25, 91, 165, 0.12);
}

.appointment-form-col .input-group-text {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #195ba5;
}

.appointment-form-col .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.btn-book-submit {
    background: linear-gradient(135deg, #e55f75 0%, #c82333 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 34px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 8px 20px rgba(229, 95, 117, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-book-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(229, 95, 117, 0.45);
    background: linear-gradient(135deg, #c82333 0%, #a91b29 100%);
}

@media (max-width: 991px) {
    .appointment-form-col {
        padding: 30px 20px !important;
    }
    .form-main-title {
        font-size: 1.6rem;
    }
}

/* ========================================================
   REDESIGNED FOOTER (Logo on Top, Centered Doctor Name)
   ======================================================== */
.footer-col.col-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    text-align: center;
    margin-bottom: 12px;
}

.footer-brand-logo {
    max-height: 65px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.footer-doctor-title {
    text-align: center;
    margin-bottom: 12px;
}

.footer-doc-name {
    color: #195ba5;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.4px;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.footer-doc-sub {
    color: #e55f75;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-col.col-brand .brand-text {
    text-align: center;
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.65;
    margin: 0 auto 18px auto;
    max-width: 320px;
}

.footer-col.col-brand .footer-socials {
    justify-content: center;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        align-items: center;
    }
    .contact-info-list li {
        justify-content: center;
        text-align: center;
    }
}

/* ========================================================
   WHY CHOOSE US SECTION (Matching Client Screenshot Exact)
   ======================================================== */
.why-choose-us-section {
    background: #eef4f9;
    padding: 75px 0;
    position: relative;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 45px;
}

.why-choose-title {
    color: #195ba5;
    font-weight: 800;
    font-size: 2.3rem;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.why-choose-accent-line {
    width: 65px;
    height: 4px;
    background: #85223f;
    margin: 0 auto;
    border-radius: 2px;
}

.why-choose-card {
    background: #85223f;
    border-radius: 26px;
    padding: 38px 24px 34px;
    text-align: center;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 32px rgba(133, 34, 63, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(133, 34, 63, 0.32);
}

.why-choose-icon-circle {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid #195ba5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    flex-shrink: 0;
}

.why-choose-icon-circle i {
    font-size: 36px;
    color: #1a1a1a;
}

.why-choose-card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.why-choose-card-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

.why-choose-card-desc strong {
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 767px) {
    .why-choose-title {
        font-size: 1.9rem;
    }
    .why-choose-card {
        max-width: 360px;
        margin: 0 auto;
        padding: 32px 20px;
        border-radius: 22px;
    }
    .why-choose-icon-circle {
        width: 78px;
        height: 78px;
    }
    .why-choose-icon-circle i {
        font-size: 32px;
    }
}

/* ========================================================
   FLOATING WHATSAPP BUTTON (As Seen in Screenshot)
   ======================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 99999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

@media (max-width: 575px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 30px;
    }
}

/* ========================================================
   TOPIC-BASED DISTINCT SECTION STYLING & BACKGROUND COLORS
   ======================================================== */

/* Unified Section Topic Header */
.section-topic-block {
    text-align: center;
    margin-bottom: 45px;
}

.section-topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(229, 95, 117, 0.12), rgba(25, 91, 165, 0.1));
    color: #e55f75;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(229, 95, 117, 0.25);
    margin-bottom: 12px;
}

.section-topic-pill.light-pill {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.section-topic-title {
    color: #195ba5;
    font-weight: 800;
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-topic-title.text-white {
    color: #ffffff !important;
}

.section-topic-desc {
    color: #556270;
    font-size: 0.98rem;
    max-width: 680px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

.section-topic-desc.text-white-50 {
    color: rgba(255, 255, 255, 0.82) !important;
}

.section-topic-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #195ba5, #e55f75);
    margin: 0 auto;
    border-radius: 2px;
}

.section-topic-line.light-line {
    background: linear-gradient(90deg, #ffffff, #ff6b81);
}

/* --- Section Backgrounds & Visual Separation --- */

/* Section 1: About Section (Clean White) */
.about-section {
    background-color: #ffffff !important;
    padding: 85px 0;
    border-bottom: 1px solid #eef2f6;
    position: relative;
}

/* Section 2: Specialty Services (Soft Ice-Blue) */
.specialty-services-section {
    background: linear-gradient(180deg, #f0f6fc 0%, #e8f1fa 100%) !important;
    padding: 85px 0 !important;
    border-top: 1px solid #dce8f5;
    border-bottom: 1px solid #dce8f5;
    position: relative;
}

/* Section 3: Homepage Appointment Section (Clean White) */
.home-appointment-section {
    background: #ffffff !important;
    padding: 85px 0 !important;
    border-bottom: 1px solid #eef2f6;
    position: relative;
}

/* Section 4: Why Choose Us (Soft Lavender/Slate-Blue) */
.why-choose-us-section {
    background: #edf3f9 !important;
    padding: 85px 0 !important;
    border-top: 1px solid #dbe6f2;
    border-bottom: 1px solid #dbe6f2;
    position: relative;
}

/* Section 5: Solutions Section (Clean White) */
.solutions-section {
    background: #ffffff !important;
    padding: 85px 0 !important;
    border-bottom: 1px solid #eef2f6;
    position: relative;
}

/* Section 6: Philosophy Section (Soft Mint-Cyan Tint) */
.services-section {
    background: linear-gradient(180deg, #f0f7f7 0%, #e6f2f2 100%) !important;
    padding: 85px 0 !important;
    border-top: 1px solid #d7ebeb;
    border-bottom: 1px solid #d7ebeb;
    position: relative;
}

/* Section 7: Achievements Section (Deep Royal Navy Centerpiece) */
.achievements-section {
    background: linear-gradient(135deg, #0e3b6e 0%, #195ba5 50%, #0d2f58 100%) !important;
    padding: 85px 0 !important;
    color: #ffffff !important;
    position: relative;
}

.achievements-section .achievements-title {
    color: #ffffff !important;
}

.achievements-section .achievement-number {
    color: #ffffff !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.achievements-section .achievement-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
}

.achievements-section .red-icon {
    color: #ff6b81 !important;
}

.achievements-section .blue-icon {
    color: #38bdf8 !important;
}

.achievements-section .achievement-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: 18px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.achievements-section .achievement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.14);
}

/* Section 8: Gallery Section (Maroon Top Overlay with Crisp White Text) */
.gallery-section {
    position: relative;
    padding: 85px 0 !important;
}

.gallery-section .section-topic-pill {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(6px);
}

.gallery-section .section-topic-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.gallery-section .section-topic-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35) !important;
}

.gallery-section .section-topic-line {
    background: linear-gradient(90deg, #ffffff, #ff7b92) !important;
}

/* Section 9: Reviews Section (Soft Rose-Cream Tint) */
.reviews-section {
    background: linear-gradient(180deg, #fbf5f6 0%, #f7ecee 100%) !important;
    padding: 85px 0 !important;
    border-top: 1px solid #f0dfe3;
    border-bottom: 1px solid #f0dfe3;
    position: relative;
}

/* Section 10: Video Section (Soft Modern Slate) */
.video-section {
    background-color: #f1f4f8 !important;
    padding: 85px 0 !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

/* Section 11: Blog Section (Clean White) */
.blog-section {
    background-color: #ffffff !important;
    padding: 85px 0 !important;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    position: relative;
}

/* Section 12: Emergency Bar */
.emergency-bar-section {
    background: linear-gradient(135deg, #7a1f3d 0%, #a92038 50%, #5d132b 100%) !important;
    padding: 40px 0 !important;
    position: relative;
}

/* Section 13: Site Footer */
.site-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    padding-top: 60px;
}

/* Mobile Responsive Optimization for All Sections */
@media (max-width: 991px) {
    .about-section,
    .specialty-services-section,
    .home-appointment-section,
    .why-choose-us-section,
    .solutions-section,
    .services-section,
    .achievements-section,
    .gallery-section,
    .reviews-section,
    .video-section,
    .blog-section {
        padding: 55px 0 !important;
    }
    .section-topic-block {
        margin-bottom: 35px;
    }
    .achievements-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 575px) {
    .about-section,
    .specialty-services-section,
    .home-appointment-section,
    .why-choose-us-section,
    .solutions-section,
    .services-section,
    .achievements-section,
    .gallery-section,
    .reviews-section,
    .video-section,
    .blog-section {
        padding: 45px 0 !important;
    }
    .achievements-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .section-topic-title {
        font-size: 1.65rem !important;
    }
    .section-topic-pill {
        font-size: 0.75rem !important;
        padding: 5px 14px !important;
    }
    .section-topic-desc {
        font-size: 0.88rem !important;
    }
    .specialty-card {
        padding: 0 !important;
        border-radius: 16px !important;
    }
    .specialty-img-wrap {
        height: 180px !important;
    }
    .specialty-content {
        padding: 22px 18px 20px !important;
    }
}




