/* ==========================================
   1. GLOBAL & TYPOGRAPHY
   ========================================== */
:root {
    --primary: #004b87;    /* Trust Navy */
    --accent: #4dd1ca;     /* Medical Teal */
    --accent-light: #e0f7f6;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-light);
    line-height: 1.8;
    background: #fdfdfd;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-top: 40px; border-left: 5px solid var(--accent); padding-left: 15px; }

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
.topbar {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
/* ==========================================
   UNIFIED HEADER & NAVIGATION (HOME PAGE STYLE)
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
.header {
    background-color: #def8f6;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
    font-family: 'Inter', sans-serif;
}
.header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Professional Logo Style */

.header .logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #004b87;
    margin: 0;
    text-transform: uppercase;
}

/* Refined Navigation Links */

.header nav a {
    text-decoration: none;
    color: #444;
    margin-left: 25px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    /* Professional medical look */
    letter-spacing: 1px;
    /* Better readability */
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Elegant Underline Hover Effect */

.header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #98805b;
    transition: width 0.3s ease;
}
.header nav a:hover {
    color: #98805b;
}
.header nav a:hover::after {
    width: 100%;
}
/* ==========================================
   DROPDOWN REFINEMENTS (SPACING FIX)
   ========================================== */

/* --- REFINED DROPDOWN STYLE --- */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    /* Soft shadow for a modern look */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1); 
    z-index: 1000;
    top: 100%;
    left: 0;
    /* The signature Home Page Gold Accent (#98805b) */
    border-top: 3px solid #98805b; 
    padding: 8px 0; /* Vertical spacing for the list */
}

.dropdown-content a {
    color: #333;
    /* FIX: Increased padding from 16px to 25px to move text away from left edge */
    padding: 12px 25px; 
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: none; /* Keeps sub-menu text clean and readable */
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

/* Remove the border from the very last item */
.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    /* Gold highlight on hover */
    color: #98805b; 
    /* Subtle indent to make it feel premium */
    padding-left: 30px; 
}

/* Show the menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
/* ==========================================
   3. PROFESSIONAL HERO BOX
   ========================================== */
.box-inner {
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(77, 209, 202, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    align-items: center;
    margin-top: 20px;
}

.dt-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0, 75, 135, 0.3);
    margin-top: 20px;
}

.dt-btn:hover { background: var(--text-dark); transform: translateY(-2px); }

/* Sidebar Case Study */
.box-inner-little {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ent-case-study {
    background: var(--primary) !important;
    border-radius: 15px !important;
    position: relative;
}

/* ==========================================
   4. LAYOUT & GRID
   ========================================== */
.vc_row { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }
.vc_col-sm-8 { flex: 2; }
.vc_col-sm-4 { flex: 1; min-width: 300px; }

.vc_single_image-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.surgical-list {
    list-style: none;
    padding: 0;
}

.surgical-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.surgical-list li::before {
    content: "\f058"; /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--accent);
}

/* Gallery */
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 30px; }
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

/* ==========================================
   THE "COVERT" PREMIUM DARK FOOTER
   ========================================== */
.footer {
    background: #000000; /* Pure Black */
    color: #ffffff;
    padding: 80px 0 40px; /* More vertical breathing room */
    border-top: 2px solid #1a1a1a; /* Subtle separation from body */
}

/* 1. Horizontal Columns Wrapper */
.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

/* 2. Individual Hospital Column */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* 3. The Teal Header (#4bcdc5) */
.footer-col h3 {
    color: #4bcdc5; /* Your requested Teal */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Modern accent line under each hospital name */
.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4bcdc5;
}

/* 4. Text and Links inside Footer */
.footer-col p {
    font-size: 14px;
    color: #999; /* Muted grey for addresses */
    line-height: 1.8;
}

.footer-col p br {
    margin-bottom: 5px;
}

/* 5. Bottom Copyright Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    color: #666;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #4bcdc5;
}

/* ==========================================
   MOBILE RESPONSIVENESS FOR FOOTER
   ========================================== */
@media (max-width: 991px) {
    .footer-columns {
        flex-wrap: wrap; /* Allows wrapping on tablets */
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-columns {
        flex-direction: column; /* Stacks vertically on phones */
        align-items: center;
        gap: 40px;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%); /* Centers the accent line on mobile */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* ==========================================
   MOBILE FIX FOR FOOTER
   ========================================== */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column; /* Stack vertically on phones */
        gap: 30px;
    }

    .footer-col {
        border-left: none;
        border-bottom: 1px solid #333;
        padding-left: 0;
        padding-bottom: 20px;
    }

    .footer-col:last-child {
        border-bottom: none;
    }
}

/* ==========================================
   6. RESPONSIVE FIXES
   ========================================== */
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

@media (max-width: 991px) {
    #nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column;
        padding: 20px; gap: 10px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    #nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
    .social-icons { display: none; }
}

@media (max-width: 768px) {
    .vc_row { flex-direction: column; }
    .box-inner { padding: 30px; text-align: center; }
    .gallery-row { grid-template-columns: 1fr; }
}
/* ==========================================
   SPECIFIC BUTTON STYLING
   ========================================== */
.btn-read-more {
    background-color: #ffffff !important; /* Clean white background */
    color: #45ccc3 !important;            /* Your requested Teal #45ccc3 */
    text-decoration: none !important;     /* Removes the underline */
    padding: 10px 25px;
    border-radius: 50px;                 /* Rounded "Pill" shape for a modern look */
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid #45ccc3;           /* Subtle teal border for definition */
}

.btn-read-more:hover {
    background-color: #45ccc3 !important; /* Flip colors on hover */
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);         /* Small lift effect */
    box-shadow: 0 5px 15px rgba(69, 204, 195, 0.3);
}

/* Global Reset for underlines on all buttons */
.dt-btn {
    text-decoration: none !important;
}
/* --- Gallery Layout Fix --- */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    clear: both; /* Prevents floating elements from distorting the row */
}

.gallery-item {
    flex: 1;
    min-width: 200px; /* Ensures they don't get too tiny on small screens */
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for a uniform look */
    object-fit: cover; /* Crops images perfectly to fit the box */
    border-radius: 8px;
    border: 1px solid #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: translateY(-5px);
    border-color: #45ccc3;
}

.gallery-item p {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

/* --- Modal Overlay Fix --- */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 99999; /* Higher than everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#modalImage {
    max-width: 85%;
    max-height: 75%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#caption {
    margin-top: 15px;
    color: #45ccc3;
    font-weight: bold;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
/* ==========================================
   FIX: MOVE MOBILE MENU TO TOP RIGHT
   ========================================== */

.nav-wrapper {
    display: flex;
    justify-content: space-between; /* pushes items apart */
    align-items: center;
    position: relative;
}

/* Push toggle fully right */
.menu-toggle {
    margin-left: auto;
    font-size: 26px;
    cursor: pointer;
    display: none;
}
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
}
/* ==========================================
   PREMIUM MOBILE MENU BUTTON (HOMEPAGE STYLE)
   ========================================== */

.menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    width: 45px;
    height: 45px;

    align-items: center;
    justify-content: center;

    font-size: 18px;
    color: #444;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* Show on mobile */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
}

/* Hover effect (desktop/tablet feel) */
.menu-toggle:hover {
    background: #98805b;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

/* Click/active feel */
.menu-toggle:active {
    transform: translateY(-50%) scale(0.95);
}
/* ==========================================
   IMAGE MODAL (ZOOM EFFECT)
   ========================================== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

#caption {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
}

/* Close button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}
.medical-accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    background: #2a4745;
    color: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header:hover {
    background: #1f3634;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
    padding: 0 20px;
}

.accordion-content p {
    padding: 10px 0;
    margin: 0;
}

.accordion-item.active .accordion-content {
    padding: 15px 20px;
}

.icon {
    font-size: 20px;
    font-weight: bold;
}
.surgical-section {
    margin-top: 40px;
}

.surgical-column {
    width: 48%;
    float: left;
}

.right-column {
    float: right;
}

.surgical-list {
    list-style: none;
    padding: 0;
}

.surgical-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

/* Floating Button */
.whatsapp-btn {
    background: #25D366;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* Popup */
.whatsapp-popup {
    display: none;
    width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.popup-header {
    background: #25D366;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header span {
    cursor: pointer;
}

.popup-body {
    padding: 15px;
    text-align: center;
}

.start-chat {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.start-chat:hover {
    background: #1ebe5d;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
/* ==========================================
   7. APPOINTMENT FORM (MATCHING SITE DESIGN)
   ========================================== */

.appointment-section .appointment-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid #eee;
}

/* Labels */
.appointment-section .appointment-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

/* Inputs */
.appointment-section .appointment-form input,
.appointment-section .appointment-form select,
.appointment-section .appointment-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f9f9f9;
}

/* Focus Effect (Teal Theme) */
.appointment-section .appointment-form input:focus,
.appointment-section .appointment-form textarea:focus,
.appointment-section .appointment-form select:focus {
    border-color: var(--accent);
    background: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(77, 209, 202, 0.25);
}

/* Small text */
.appointment-section .appointment-form small {
    display: block;
    margin: 5px 0 8px;
    font-size: 0.85em;
    color: #777;
}

/* Checkbox */
.appointment-section .appointment-form input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

/* Submit Button (MATCH YOUR BUTTON STYLE) */
.appointment-section .appointment-form .submit-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 75, 135, 0.3);
}

.appointment-section .appointment-form .submit-btn:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .appointment-section .appointment-form {
        padding: 20px;
    }
}
/* ==========================================
   8. CONTACT PAGE LAYOUT FIX (CLINICS & MAPS)
   ========================================== */

/* Clinics (Addresses) */
.clinics {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.clinic {
    flex: 1;
    min-width: 250px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Maps */
.maps {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.maps iframe {
    flex: 1;
    min-width: 300px;
    height: 300px;
    border-radius: 10px;
}

/* Make last map same size */
.maps iframe:last-child {
    height: 300px;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .clinics,
    .maps {
        flex-direction: column;
    }
}
/* ==========================================
   PREMIUM SUBMIT BUTTON
   ========================================== */

.appointment-section .appointment-form .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 16px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #fff;
    background: linear-gradient(135deg, #004b87, #21cdc0);

    border: none;
    border-radius: 50px;
    cursor: pointer;

    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(0, 75, 135, 0.25);
}

/* Hover Effect */
.appointment-section .appointment-form .submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(33, 205, 192, 0.35);
    background: linear-gradient(135deg, #003366, #17b3a6);
}

/* Click Effect */
.appointment-section .appointment-form .submit-btn:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Icon animation */
.appointment-section .appointment-form .submit-btn i {
    transition: transform 0.3s ease;
}

.appointment-section .appointment-form .submit-btn:hover i {
    transform: translateX(5px);
}