/* ---------------------------------------------------
   GLOBAL STYLES & VARIABLES
----------------------------------------------------- */
:root {
    --brand-primary: #148e9e;
    --brand-secondary: #00a896;
    --brand-light: #f1f7fe;
    --brand-dark: #2c3e50;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.1);
}
html, body {
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: #555;
    background-color: #ffffff;
    position: relative;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-dark);
    font-weight: 800;
}
#about .section-title h2{
    font-size: 1.5rem;
}
#about .section-title{
      margin-bottom: 25px;  
}
.btn-primary {
    background-color: var(--brand-primary);
    border: none;
    font-size: 16px;
    margin: 0px;
    padding: 10px;
}
.btn-outline-secondary{
    font-size: 16px;
    margin: 0px;
    padding: 10px;
}
.btn-primary:hover {
    background-color: #0c6e7a;
    }
    a.btn.btn-outline-primary.btn-sm.rounded-pill {
    border: solid 2px #148e9e;
    color: #148e9e;
    padding: 5px 15px;
}

.btn:hover {
    color: #fff !important;
    background-color: #09717e;
    border-color: #09717e;
}
.lead {
    font-weight: 400;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background: var(--brand-light);
    padding: 5px 15px;
    border-radius: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 2px;
}
.section-title.text-start h2::after {
    left: 0;
    transform: translateX(0);
}


.btn-brand {
    background-color: #148e9e;
    color: white;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 115, 255, 0.3);
}

.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 115, 255, 0.4);
    color: white;
    background-color: #0e97a9;
}

.btn-brand-outline {
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background-color: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-brand-outline:hover {
    background-color: #0e97a9;
    color: white;
}
.read-more {
    text-decoration: none;
    font-weight: 600;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}
.read-more:hover {
    color: var(--brand-dark);
}
.doctor-img img {
    width: 100%;
}
   /* ---------------------------------------------------
           1. HEADER / NAVBAR
        ----------------------------------------------------- */
        .top-bar {
            background-color: #148e9e;
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }
        .top-bar a { color: white; text-decoration: none; }
        .top-bar .icon-text i { color: #fff; }

        .navbar-brand {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--brand-primary) !important;
        }

        .navbar-nav .nav-link {
            font-weight: 600;
            color: #2c3e50;
            transition: 0.3s;
            margin: 0 5px;
        }
        .navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
            color: #148e9e;
        }

        .dropdown-menu {
            border: none;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-md);
            margin-top: 10px !important;
            opacity: 0;
            visibility: hidden;
            display: block;
            transition: all 0.3s ease-in-out;
        }
        .dropdown-menu .dropdown-item {
            font-weight: 500;
            padding: 10px 20px;
            transition: all 0.2s ease;
        }
        .dropdown-menu .dropdown-item:hover {
            background-color: var(--brand-light);
            color: var(--brand-primary);
            padding-left: 25px;
        }
        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            margin-top: 0px !important;
        }
 /* ---------------------------------------------------
           2. HERO SLIDER
        ----------------------------------------------------- */
        .hero-slider .carousel-item {
            height: 90vh;
            min-height: 600px;
            background-size: cover;
            background-position: center;
        }
        .carousel-item::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
        }
        .carousel-caption {
            bottom: 20%;
            text-align: left;
            max-width: 700px;
            left: 8%;
        }
        .carousel-caption h1 {
            font-size: 3.5rem;
            font-weight: 800;
        }

/* ---------------------------------------------------
   3. ABOUT US (ATTRACTIVE & ANIMATED)
----------------------------------------------------- */
.about-img-attractive {
    position: relative;
}
.about-img-attractive .main-img {
    border: 10px solid white;
    box-shadow: var(--shadow-md);
}
.about-img-attractive::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80%;
    height: 80%;
    background-color: var(--brand-light);
    border-radius: var(--border-radius);
    z-index: -1;
}
.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid white;
    box-shadow: var(--shadow-sm);
}
.experience-badge h3 {
    font-size: 2.5rem;
    color: white;
    margin: 0;
    line-height: 1;
}
.experience-badge span {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Animated Stats */
.stat-item-attractive {
    text-align: left;
}
.stat-item-attractive .counter {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}
.stat-item-attractive p {
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

   /* ---------------------------------------------------
           4. FIND A DOCTOR
        ----------------------------------------------------- */
        .doctor-card {
            background-color: #fff;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: all 0.4s ease;
            text-align: center;
        }
        .doctor-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-md);
        }
        .doctor-img-container {
            position: relative;
            overflow: hidden;
        }
        .doctor-img-container img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .doctor-card:hover .doctor-img-container img {
            transform: scale(1.1);
        }
        .doctor-info { padding: 20px; }
        .doctor-info h5 { font-size: 1.2rem; }
        .doctor-info .specialty {
            color: var(--brand-primary);
            font-weight: 500;
        }

 /* ---------------------------------------------------
           5. DEPARTMENTS SECTION
        ----------------------------------------------------- */
        .department-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.07);
            transition: all 0.4s ease;
        }
        .department-card:hover { transform: translateY(-10px); }
        .department-card .icon-box {
            font-size: 3rem;
            color: var(--brand-primary);
            width: 80px;
            height: 80px;
            background: var(--brand-light);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-bottom: 20px;
        }
/* ---------------------------------------------------
   5. OUR FACILITIES
----------------------------------------------------- */
.facility-card {
    background: var(--brand-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}
.facility-card:hover {
    background: var(--brand-primary);
    color: white;
}
.facility-card:hover h4, 
.facility-card:hover p,
.facility-card:hover a,
.facility-card:hover .icon-box {
    color: white !important;
}
.facility-card .icon-box {
    font-size: 2.5rem;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}
#diease .detail-section h2 {
    font-size: 1.6rem;
    background: #148e9e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}
#diease .detail-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #148e9e;
    margin-top: 8px;
    border-radius: 3px;
}

        /* --- NEW: Super Attractive Hero Section --- */
        #diease .hero-section {
            background: linear-gradient(90deg, #eef5ff 0%, #ffffff 100%);
            padding: 60px 0;
            overflow: hidden;
        }
         #diease .hero-content {
            padding-top: 40px;
        }
         #diease .hero-content .badge {
            font-size: 0.9rem;
            font-weight: 500;
        }
         #diease .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
        }
         #diease .hero-image {
            position: relative;
            text-align: center;
        }
         #diease .hero-image img {
            max-width: 100%;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        }
         #diease .trust-badges {
            margin-top: 2rem;
            display: flex;
            gap: 1.5rem;
            color: var(--text-color);
        }

  

        /* --- Main Content & Sidebar --- */
         #diease .section {
            padding: 25px 0;
          
        }
        

        /* Sidebar Styling */
         #diease .sidebar {
            position: sticky;
            top: 100px;
        }
        #diease .sidebar-form-container {
            background-color: var(--light-bg);
            border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.05);
            padding: 2rem !important;
        }
#diease .sidebar-form-container h3 {
    font-size:20px;
    color: #148e9e;
}        /* DYNAMIC HERO SECTION STYLES */
        #department .hero-dynamic {
            position: relative; background-size: cover; background-position: center;
            color: white; padding: 80px 0; overflow: hidden;
        }
        #department .hero-dynamic::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(90deg, rgba(25, 42, 62, 0.9), rgba(0, 85, 212, 0.7)); z-index: 1;
        }
        #department .hero-dynamic .container { position: relative; z-index: 2; }
        #department .breadcrumbs { padding: 0; margin: 0 0 15px 0; list-style: none; }
        #department .breadcrumbs li { display: inline; font-size: 0.9rem; }
        #department .breadcrumbs li+li:before { padding: 0 8px; color: rgba(255,255,255,0.6); content: "/\00a0"; }
        #department .breadcrumbs li a { color: rgba(255,255,255,0.8); text-decoration: none; }
        #department .breadcrumbs li.active { color: #fff; font-weight: 500; }
        #department .hero-dynamic .subtitle { display: inline-block; font-size: 1rem; font-weight: 600; color: var(--brand-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
        #department .hero-dynamic h1 { color: white; font-size: 3.2rem; }
        #department .hero-dynamic .lead { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
        #department .hero-form-card { background: #fff; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow-md); }
       #department .hero-form-card h3 {
    color: #148e9e;
    text-align: center;
    font-size: 24px;
}
       
        #department .hero-form-card .form-control { min-height: 50px; }
        /* NEW: Hero CTAs & Badges */
        #department .hero-ctas { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
        
        #department .trusted-badges { display: flex; gap: 20px; align-items: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
        #department .trusted-badges .badge-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
       #department .trusted-badges .badge-item i { color: var(--brand-secondary); font-size: 1.2rem; }
        /* NEW: WHY CHOOSE US SECTION */
        #department #why-choose-us .why-us-list { list-style: none; padding: 0; margin-top: 20px; }
        #department #why-choose-us .why-us-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 1.05rem; }
       #department  #why-choose-us .why-us-list i { font-size: 1.5rem; color: var(--brand-secondary); margin-top: 3px; }

        /* NEW: TREATMENT CARD (for Diagnosis & Procedures) */
        #department .treatment-card {
            background-color: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow-sm);
            height: 100%; transition: all 0.3s ease; overflow: hidden;
        }
        #department .treatment-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
       #department  .treatment-card .card-img-top {
            width: 100%; height: 220px; object-fit: cover;
            transition: transform 0.4s ease;
        }
        #department .treatment-card:hover .card-img-top { transform: scale(1.05); }
       #department  .treatment-card .card-body { padding: 25px; }
        #department .treatment-card h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }

       
       
        /* Polished Card Styling */
         #diease .custom-card {
            background-color: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
         #diease .custom-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
        }
         #diease .feature-icon-box {
            width: 50px;
            height: 50px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background-color: #e0e7ff; /* Lighter blue */
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
       
/* ---------------------------------------------------
   6. EMERGENCY SECTION (ATTRACTIVE)
----------------------------------------------------- */
.emergency-section-attractive {
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.95), rgba(0, 85, 212, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=2053&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    overflow: hidden;
}

/* Adding a subtle pattern overlay */
.emergency-section-attractive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.emergency-section-attractive .subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.emergency-section-attractive .text-secondary {
    color: var(--brand-secondary) !important;
}

.emergency-phone-btn {
    background: var(--brand-secondary);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 168, 150, 0.4);
    
    /* Pulsing Animation */
    animation: pulse 2s infinite;
}

.emergency-phone-btn:hover {
    background: white;
    color: var(--brand-secondary);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    animation-play-state: paused; /* Pause animation on hover */
}

.emergency-img-container {
    text-align: center;
}

/* Keyframes for the pulsing animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 168, 150, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 35px rgba(0, 168, 150, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 168, 150, 0.4);
    }
}
/* ---------------------------------------------------
   11. NEWS, MEDIA & GALLERY SECTION
----------------------------------------------------- */

/* Tab Styles */
.nav-pills .nav-link {
    background-color: #fff;
    color: var(--brand-dark);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    margin: 0 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 85, 212, 0.2);
}

/* Featured News Card */
.featured-news-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.featured-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news-card:hover img {
    transform: scale(1.05);
}

.featured-news-card .featured-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 2;
}

.featured-news-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.featured-news-card .read-more {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.featured-news-card .read-more:hover {
    color: var(--brand-secondary);
}

/* News List */
.news-list {
    background-color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.news-list .news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--brand-light);
    color: var(--brand-primary);
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 800;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.news-date span {
    font-size: 1.5rem;
}

.news-item-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--brand-dark);
}
.news-item-content h5:hover {
    color: var(--brand-primary);
}
.news-item-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 85, 212, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ---------------------------------------------------
   8. VIDEO TESTIMONIALS
----------------------------------------------------- */
.video-card {
    position: relative; /* This is crucial for positioning the play icon */
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.video-card img { 
    width: 100%;
    transition: transform 0.4s ease; 
}

.video-card:hover img { 
    transform: scale(1.1); /* Adds a subtle zoom to the thumbnail on hover */
}

/* THE NEW PLAY BUTTON STYLING */
.play-icon {
    /* Centering the button */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* Button appearance */
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white circle */
    backdrop-filter: blur(4px); /* Frosted glass effect for modern look */
    border-radius: 50%;
    
    /* Centering the icon inside the button */
    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s ease;
    z-index: 10;
}

.play-icon i {
    font-size: 2.5rem; /* Size of the play triangle icon */
    color: var(--brand-primary);
}

/* Hover effects for the button */
.video-card:hover .play-icon {
    background: var(--brand-primary); /* Circle becomes the primary color */
    transform: translate(-50%, -50%) scale(1.1); /* Button pops out slightly */
}

.video-card:hover .play-icon i {
    color: white; /* Icon becomes white for contrast */
}

.testimonial-video iframe {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-video iframe:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ---------------------------------------------------
   8. BLOG SECTION (CONSOLIDATED)
----------------------------------------------------- */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.blog-img-container {
    overflow: hidden;
    height: 200px;
}
.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-img {
    transform: scale(1.1);
}
.blog-content {
    padding: 25px;
}
.blog-category {
    display: inline-block;
    background: var(--brand-secondary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.blog-title {
    margin-top: 15px;
    font-size: 1.2rem;
}
.blog-title:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}
.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
}
.blog-readmore {
    color: #148e9e;
    text-decoration: none;
    font-weight: 600;
}
.blog-readmore i {
    transition: transform 0.3s;
}
.blog-readmore:hover i {
    transform: translateX(5px);
}

/* ---------------------------------------------------
   9. BOOK YOUR VISIT & MAP (ATTRACTIVE)
----------------------------------------------------- */
#appointment .appointment-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}
#appointment .form-control, #appointment .form-select {
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}
#appointment .form-control:focus, #appointment .form-select:focus {
    background-color: white;
    border-color: var(--brand-primary);
    box-shadow: none;
}
.contact-info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.contact-info-box .icon-box {
    width: 60px;
    height: 60px;
    background: var(--brand-primary);
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.contact-info-box h5 {
    margin-bottom: 5px;
}
.contact-info-box p {
    margin-bottom: 0;
    color: var(--text-muted);
}
.location-map {
    line-height: 0; /* Removes any extra space below iframe */
}

/* ---------------------------------------------------
   FAQ SECTION STYLES
----------------------------------------------------- */
#faq .accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
#faq .accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}
#faq .accordion-header .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-dark);
    background-color: #ffffff;
    padding: 20px;
    box-shadow: none;
}
#faq .accordion-header .accordion-button:not(.collapsed) {
    background-color: #eef5ff;
    color: #148e9e;
}
#faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
#faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230055d4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#faq .accordion-body {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------------------------------------------------
   10. FOOTER (ATTRACTIVE & UPDATED)
----------------------------------------------------- */
.footer-dark {
    background-color: var(--brand-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: solid 5px #148e9e;
}
.footer-dark .footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
}
.footer-dark h5 {
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
}
.footer-dark .footer-links a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-dark .footer-links a:hover {
    color: var(--brand-secondary);
    padding-left: 5px;
}
.footer-dark .footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.footer-dark .footer-contact-item i {
    font-size: 1.2rem;
    color: #148e9e;
    margin-right: 15px;
    margin-top: 5px;
}
.footer-dark .social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-dark .social-icons a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #1e2b38;
    padding: 20px 0;
    font-size: 0.9rem;
}
.footer-legal-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 10px;
}
.footer-legal-links a:hover {
    color: white;
}
.footer-legal-links span {
    color: rgba(255,255,255,0.4);
}

/* ---------------------------------------------------
   DOCTOR PROFILE PAGE SPECIFIC STYLES
----------------------------------------------------- */

#doctor-profile h1{
    color:#fff;
}

    /* Hero Banner */
    .page-header {
      padding: 40px 0;
      background: #148e9e;
      color: white;
      text-align: center;
      border-radius: 0 0 40px 40px;
      box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    }
    .page-header .breadcrumb a { color: #fff; opacity: 0.9; }
    .page-header .breadcrumb .active { color: #ffeb3b; }

    /* Sidebar */
    .doctor-profile-sidebar {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.3s ease;
      position: sticky;
      top: 120px;
    }
    .doctor-profile-sidebar:hover { transform: translateY(-5px); }
    .doctor-profile-sidebar img {
      width: 180px; height: 180px;
      border-radius: 50%;
      border: 6px solid white;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transition: transform 0.4s ease;
    }
    .doctor-profile-sidebar img:hover { transform: scale(1.05); }
    .specialty {color: #148e9e;font-weight: 600;}

    .info-list { list-style: none; padding: 0; margin-top: 25px; text-align: left; }
    .info-list li { display: flex; align-items: center; margin-bottom: 15px; }
    .info-list li i {color: #148e9e;font-size: 1.3rem;margin-right: 12px;}
    #doctor-profile .detail-section h3 {
    font-size: 1.6rem;
    background: #148e9e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

 #doctor-profile .detail-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #148e9e;
    margin-top: 8px;
    border-radius: 3px;
}

    /* Section Headings */
    .detail-section h4 {
      font-size: 1.6rem;
      background: #148e9e;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
      margin-bottom: 25px;
      position: relative;
    }
    .detail-section h4::after {
      content: '';
      display: block;
      width: 60px;
      height: 3px;
      background: #148e9e;
      margin-top: 8px;
      border-radius: 3px;
    }
    .detail-section ul { list-style: none; padding-left: 0; }
    .detail-section ul li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
    }
    .detail-section ul li::before {
      content: "\F26A";
      font-family: "bootstrap-icons";
      position: absolute; left: 0; color: var(--brand-secondary);
    }
    
    /* Final CTA */
    .final-cta {
      background: url('https://img.freepik.com/free-photo/doctor-with-stethoscope-hands-hospital-background_1421-34.jpg') no-repeat center/cover;
      position: relative;
      padding: 100px 0;
      border-radius: 30px;
      text-align: center;
      color: white;
      overflow: hidden;
    }
    .final-cta::before {
      content: '';
      position: absolute; top:0; left:0; right:0; bottom:0;
      background: rgba(0,0,0,0.6);
      border-radius: 30px;
    }
    .final-cta .container { position: relative; z-index: 2; }
    .final-cta h2 { font-size: 2.2rem; font-weight: 800; }


/* Inputs */
form.appointment-form label {
    color: #424141;
}
.custom-input {
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 12px 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.custom-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* Gradient Button */
.btn-gradient {
    background: #148e9e;
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: 14px;
    transition: all 0.3s ease-in-out;
}
.btn-gradient:hover {
    background: #045d68;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transform: scale(1.02);
}
h5#appointmentBtnModalLabel, h5#autoPopupModalLabel {
    text-align: center;
    width: 100%;
}


  
.contact-box {
            text-align: center;
            /* margin-bottom: 30px; */
            /* padding-bottom: 20px; */
            border-bottom: 1px solid #eee;
        }

        .phone-link {
            display: inline-block;
            text-decoration: none;
            /* color: #ffffff; */
            background-color: var(--primary-color);
            /* padding: 12px 30px; */
            /* border-radius: 50px; */
            font-size: 1.2em;
            font-weight: 600;
            /* transition: background-color 0.3s, transform 0.2s; */
            /* box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4); */
        }

        .phone-link:hover {
            background-color: var(--gradient-end);
            transform: scale(1.03);
        }

        .phone-link i {
            margin-right: 10px;
            font-size: 1.1em;
        }

        .separator {
            font-size: 1em;
            color: #aaa;
            margin: 0;
            font-weight: 600;
        }

        .callback-text {
            /* font-size: 1.1em; */
            color: #2c3e50;
            font-weight: 600;
            line-height: 1.4;
            /* padding: 10px; */
            border: 2px solid var(--secondary-color); /* Solid border for clarity */
            border-radius: 10px;
            /* background-color: #e6f7ed; */ /* Light green background */
        }


/* ---------------------------------------------------
   MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 991.98px) {
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 767.98px) {
    .section-title h2 { font-size: 2.2rem; }
    .footer-bottom .container {
        text-align: center;
    }
    .footer-bottom p, .footer-bottom div {
        width: 100%;
    }
    .footer-bottom p {
        margin-bottom: 10px;
    }
}