/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* --- Palette: Luxury Navy & Gold --- */
    --navy-deep: #021226;       /* Darkest Blue */
    --navy-medium: #0d253f;     /* Secondary Blue */
    --gold: #C6A87C;            /* Premium Gold */
    --gold-light: #E5D5BC;      /* Champagne */
    --white: #ffffff;
    --bg-light: #FDFDFD;        /* Off-white background */
    --bg-gray: #f4f6f8;         /* Light section background */
    
    /* --- Text Colors --- */
    --text-main: #2C3E50;
    --text-light: #64748b;
    --text-white: #e2e8f0;

    /* --- Fonts --- */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;

    /* --- Effects --- */
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 30px 60px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* We use a custom JS cursor */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================
   2. CUSTOM CURSOR
   ========================================= */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--navy-deep);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid rgba(2, 18, 38, 0.3);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    transform: translate(-50%, -50%);
}

body:hover .cursor-outline.hovered {
    width: 60px; height: 60px;
    background: rgba(198, 168, 124, 0.1);
    border-color: var(--gold);
}

/* =========================================
   3. UTILITIES & TYPOGRAPHY
   ========================================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

.center { text-align: center; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy-deep);
    font-weight: 500;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
}

.center .section-desc { margin: 0 auto 50px; }

/* =========================================
   4. BUTTONS
   ========================================= */
.btn-gold {
    padding: 14px 35px;
    background: var(--navy-deep);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-block;
    font-weight: 600;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-3px);
}

.btn-link {
    color: var(--navy-deep);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-link:hover {
    gap: 15px;
    color: var(--gold);
}

/* =========================================
   5. PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2.5rem;
}
.preloader-text span {
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

/* =========================================
   6. NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO IMAGE STYLING --- */
.logo {
    display: flex; /* Centers the image vertically */
    align-items: center;
    z-index: 1002;
    text-decoration: none;
}

.logo img {
    height: 100px; /* Adjust this value (50px - 80px) to fit your logo size */
    width: auto;  /* Maintains aspect ratio so it doesn't squish */
    object-fit: contain;
    display: block; /* Removes bottom spacing inherent to images */
}

/* Optional: Make it slightly smaller on mobile to prevent overflow */
@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    margin-right: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-deep);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background: var(--navy-deep);
}

/* =========================================
   7. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-parallax {
    position: absolute;
    inset: -50px;
    background: url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    z-index: -2;
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(253,253,253,0.95) 0%, rgba(253,253,253,0.8) 50%, rgba(253,253,253,0) 100%);
    z-index: -1;
}

.hero-text {
    max-width: 650px;
    padding-top: 60px;
}

.badge-pill {
    display: inline-block;
    background: var(--gold-light);
    color: var(--navy-deep);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Animations Helpers */
.line-mask { overflow: hidden; }
.line-mask span { display: block; transform: translateY(100%); }
.reveal-text { opacity: 0; transform: translateY(20px); }

/* Floating Cards */
.hero-cards {
    position: absolute;
    right: 8%;
    bottom: 15%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    min-width: 280px;
    border-radius: 0 10px 10px 0;
}

.icon-box {
    font-size: 1.8rem;
    color: var(--navy-deep);
}

.glass-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.glass-card p { font-size: 0.8rem; color: var(--text-light); }

.float-anim-1 { animation: float 5s ease-in-out infinite; }
.float-anim-2 { animation: float 6s ease-in-out infinite 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   8. SCROLLING TICKER
   ========================================= */
.scrolling-ticker {
    background: var(--navy-deep);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 4px solid var(--gold);
}

.ticker-track {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    animation: scroll 30s linear infinite;
}

.divider {
    color: var(--gold);
    margin: 0 30px;
    font-size: 0.8rem;
    vertical-align: middle;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   9. ABOUT SECTION
   ========================================= */
.about-section { padding: 120px 0; }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-group {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 0 100px 0 0;
}

.parallax-img { width: 100%; height: 120%; object-fit: cover; }

.exp-badge {
    position: absolute;
    bottom: 0; left: 0;
    background: var(--navy-deep);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.exp-badge .num {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1;
}

.exp-badge .txt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.value-item i { color: var(--gold); font-size: 1.8rem; margin-bottom: 15px; }
.value-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

.gold-list { list-style: none; margin-top: 30px; }
.gold-list li {
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 500;
    display: flex;
    align-items: center;
}
.gold-list i { color: var(--gold); margin-right: 15px; font-size: 1.1rem; }

/* =========================================
   10. SERVICES SECTION (Grid & Styling)
   ========================================= */
.services-section {
    padding: 120px 0;
    background-color: var(--bg-gray);
    position: relative;
}

/* =========================================
   10. SERVICES SECTION (Smart Alignment Fix)
   ========================================= */
.services-section {
    padding: 120px 0;
    background-color: var(--bg-gray);
    position: relative;
    z-index: 1;
}

.services-grid {
    display: flex;             /* Switch from Grid to Flexbox */
    flex-wrap: wrap;           /* Allow cards to wrap to next line */
    justify-content: center;   /* CRITICAL: Centers the orphan card on the last line */
    gap: 30px;
}

.luxury-card {
    background: var(--white);
    padding: 50px 35px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    height: auto;             /* Allow height to fit content naturally */
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    
    /* Smart Sizing Logic */
    flex-basis: 320px;        /* Ideal base width for cards */
    flex-grow: 1;             /* Allow cards to grow slightly to fill gaps */
    max-width: 380px;         /* Prevent the single last card from stretching too wide */
    
    /* Force visibility */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Maintain Icon & Text Styling */
.card-icon {
    font-size: 2.2rem;
    color: var(--navy-deep);
    margin-bottom: 25px;
    transition: 0.4s;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
}

.luxury-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy-deep);
}

.card-summary {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.service-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.service-details li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    margin-right: 10px;
    margin-top: 4px; 
    flex-shrink: 0;
}

/* Hover Effects */
.luxury-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.luxury-card:hover .card-icon {
    background: var(--gold);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--gold);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    transition: 0.6s ease;
}

.luxury-card:hover .card-bg {
    transform: scale(3);
    opacity: 0.1;
}

/* Mobile Tweak: Ensure cards don't shrink too much */
@media (max-width: 480px) {
    .luxury-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.card-icon {
    font-size: 2.2rem;
    color: var(--navy-deep);
    margin-bottom: 25px;
    transition: 0.4s;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
}

.luxury-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy-deep);
}

.card-summary {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto; /* Pushes list to bottom */
}

.service-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.service-details li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    margin-right: 10px;
    margin-top: 3px; /* Align checkmark with text top */
    flex-shrink: 0;
}

/* Hover Effects */
.luxury-card:hover {
    transform: translateY(-10px) !important; /* Force hover override */
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.luxury-card:hover .card-icon {
    background: var(--gold);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--gold);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    transition: 0.6s ease;
}

.luxury-card:hover .card-bg {
    transform: scale(3);
    opacity: 0.1;
}

/* =========================================
   PACKAGES SECTION (Premium Cards Layout)
   ========================================= */
.packages-section-pro {
    padding: 100px 0;
    background-color: var(--navy-deep); /* Dark background */
    position: relative;
    overflow: hidden;
}

/* Background Pattern (Optional subtle texture) */
.packages-section-pro::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
    z-index: 0;
}

.pkg-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* Grid Layout */
.pkg-card-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Card Styling */
.pkg-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.pkg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Feature Card (Executive) Styling */
.pkg-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.05); /* Make it slightly bigger */
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.pkg-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    letter-spacing: 1px;
}

/* Card Content */
.pkg-top {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pkg-icon {
    font-size: 2rem;
    color: var(--navy-deep);
    margin-bottom: 15px;
}

.pkg-card h4 {
    font-size: 1.3rem;
    color: var(--navy-deep);
    margin-bottom: 10px;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
    font-weight: 700;
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
    margin-right: 2px;
}

/* Features List */
.pkg-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.pkg-features li {
    padding: 10px 0;
    color: var(--text-main);
    font-size: 0.95rem;
    border-bottom: 1px dashed #f0f0f0;
}

.pkg-features li:last-child { border-bottom: none; }

.pkg-features i {
    color: var(--gold);
    margin-right: 10px;
}

/* Buttons inside Cards */
.btn-pkg {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--navy-deep);
    color: var(--navy-deep);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-pkg:hover {
    background: var(--navy-deep);
    color: var(--white);
}

.btn-pkg-gold {
    background: var(--navy-deep);
    color: var(--white);
    border: none;
}

.btn-pkg-gold:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .pkg-card.featured { transform: scale(1); }
    .pkg-card.featured:hover { transform: translateY(-10px); }
    .pkg-card { max-width: 100%; }
}
/* =========================================
   12. DOCTORS & GALLERY
   ========================================= */
.doctors-section { padding: 120px 0; }

.team-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.team-card {
    text-align: center;
    max-width: 320px;
    padding: 30px;
    background: var(--white);
    border: 1px solid #eee;
    transition: 0.3s;
}

.team-card:hover { box-shadow: var(--shadow-soft); border-color: var(--gold); }

.team-img {
    width: 120px;
    height: 120px;
    background: var(--bg-gray);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--navy-medium);
    border: 3px solid var(--gold);
}

.team-card h4 { font-size: 1.2rem; margin-bottom: 5px; }
.team-card span { color: var(--gold); font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 15px; }

.gallery-strip { margin-top: 60px; }
.gallery-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.g-item {
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
    filter: grayscale(20%);
}

.g-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* =========================================
   13. CONTACT SECTION
   ========================================= */
.contact-section { padding-bottom: 120px; }

.contact-box {
    background: var(--white);
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

.contact-left { padding: 80px; background: #f8fafc; }
.contact-details { margin: 50px 0; }

.c-item { display: flex; gap: 25px; margin-bottom: 30px; }

.c-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.c-item h5 { font-size: 1rem; margin-bottom: 5px; color: var(--navy-deep); }
.c-item p { font-size: 0.95rem; color: var(--text-light); }

.map-frame iframe {
    border-radius: 8px;
    filter: grayscale(100%) invert(0%);
    transition: 0.3s;
}
.map-frame:hover iframe { filter: grayscale(0%); }

.contact-form-wrap {
    padding: 80px;
    background: var(--navy-deep);
    color: var(--white);
}

.contact-form-wrap h3 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 2rem;
}

.input-group { position: relative; margin-bottom: 40px; }

.input-group input,
.input-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 12px 0;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    border-radius: 0;
}

.input-group select option { background: var(--navy-deep); color: #fff; }

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: #888;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--gold);
}

.input-group .bar {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: 0.3s;
}

.input-group input:focus ~ .bar,
.input-group select:focus ~ .bar { width: 100%; }

.btn-submit {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    width: 100%;
    font-weight: 600;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

/* =========================================
   14. FOOTER
   ========================================= */
.footer {
    background: #010a14;
    padding: 100px 0 30px;
    color: #8892b0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.f-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
}

.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 15px; }

.f-col a { color: #8892b0; text-decoration: none; transition: 0.3s; }
.f-col a:hover { color: var(--gold); padding-left: 5px; }

.socials { display: flex; gap: 20px; }
.socials a { font-size: 1.3rem; color: var(--white); }
.socials a:hover { color: var(--gold); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =========================================
   15. MODAL
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 18, 38, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.modal-box {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 50px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.3s;
}

.close-modal:hover { color: var(--navy-deep); transform: rotate(90deg); }

.modal-head { text-align: center; margin-bottom: 35px; }
.modal-head h3 { font-size: 2rem; margin-bottom: 10px; }

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    outline: none;
    color: var(--text-main);
    border-radius: 4px;
}

.modal-form input:focus,
.modal-form select:focus { border-color: var(--gold); }

.form-row { display: flex; gap: 15px; }
.full-width { width: 100%; margin-top: 10px; font-weight: 700; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   16. WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 900;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================
   17. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-cards { display: none; }
    .nav-links { display: none; } /* Hide Desktop Menu */
    .hamburger { display: flex; } /* Show Mobile Menu Icon */
    
    .split-layout,
    .contact-box,
    .values-grid { grid-template-columns: 1fr; }
    
    .about-img-group { height: 400px; margin-bottom: 40px; border-radius: 0 50px 0 0; }
    .contact-left { padding: 40px; }
    .contact-form-wrap { padding: 40px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-text { text-align: center; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    
    /* Ensure grid is responsive */
    .services-grid { grid-template-columns: 1fr; } 
    
    .pkg-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .btn-icon { align-self: flex-end; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .modal-box { padding: 30px; }
    .form-row { flex-direction: column; gap: 0; }
}

/* =========================================
   MOBILE NAVBAR FIXES (Add to bottom of style.css)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Adjust the Container Spacing */
    .navbar {
        padding: 15px 0; /* Reduce vertical padding */
    }
    
    .nav-wrapper {
        padding: 0 20px; /* Ensure content doesn't touch screen edges */
    }

    /* 2. Resize the Logo */
    .logo img {
        height: 0px; /* Smaller logo for mobile to save space */
    }

    /* 3. Fix the "Big Button" */
    .btn-gold {
        padding: 8px 16px;       /* Drastically reduce padding */
        font-size: 0.75rem;      /* Smaller text size */
        letter-spacing: 0.5px;   /* Tighter spacing */
        white-space: nowrap;     /* Prevent text from breaking lines */
        transform: none !important; /* Stop hover floating effect on mobile */
    }

    /* 4. Align Right Side Elements (Button + Hamburger) */
    .nav-right {
        gap: 15px; /* Proper space between Button and Hamburger */
    }

    /* 5. Adjust Hamburger Icon */
    .hamburger {
        margin-left: 0; /* Reset margin, rely on gap */
        transform: scale(0.85); /* Make the icon slightly smaller */
    }
    
    /* Optional: If the button is STILL too big, hide the text and show icon only? 
       Uncomment below if you prefer just a Calendar icon on mobile */
    /*
    .btn-gold span { display: none; }
    .btn-gold::after { content: '\f073'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.2rem; }
    .btn-gold { padding: 8px 12px; }
    */
}

/* =========================================
   SPACING REDUCTION (Add to bottom of style.css)
   ========================================= */

/* 1. Reduce main section padding (from ~120px to 60px) */
.about-section,
.services-section,
.doctors-section,
.packages-section-pro,
.dark-theme {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* 2. Fix Contact Section (needs specific handling) */
.contact-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* 3. Reduce gap between Headers and Content */
.section-desc {
    margin-bottom: 30px !important;
}

.center, 
.pkg-header-center {
    margin-bottom: 40px !important; /* Reduced from 60px */
}

/* 4. Tighten up the Team/Gallery area */
.team-wrapper {
    margin-bottom: 50px !important; /* Reduced from 100px */
}

.gallery-strip {
    margin-top: 40px !important;
}

.gallery-title {
    margin-bottom: 25px !important;
}

/* 5. Ticker Bar (Optional: make it slimmer) */
.scrolling-ticker {
    padding: 10px 0 !important;
}

/* =========================================
   MOBILE LOGO & NAVBAR VISIBILITY FIX
   ========================================= */
@media (max-width: 850px) {
    
    /* 1. Force the Flex Container to behave */
    .nav-wrapper {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 60px; /* Force a fixed height for the bar */
    }

    /* 2. Force Logo Visibility & Sizing */
    .logo {
        display: flex !important;
        align-items: center !important;
        z-index: 1005; /* Ensure it sits on top of everything */
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0; /* Prevent logo from being squashed */
    }

    .logo img {
        height: 45px !important; /* Fixed height for mobile */
        width: auto !important;
        display: block !important;
        max-width: 150px; /* Prevent it from overlapping the button */
        object-fit: contain;
    }

    /* 3. Adjust spacing between Logo and Right Actions */
    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
}
/* =========================================
   ABOUT SECTION SPACING FIX
   ========================================= */
.about-section .split-layout {
    gap: 30px !important; /* Reduced from 80px to 30px */
}

/* Optional: Make the image column slightly smaller so text is closer */
.about-section .about-img-group {
    width: 100%;
    max-width: 400px; /* Limits image width to bring text closer */
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .about-section .split-layout {
        gap: 20px !important;
    }
}

/* =========================================
   MOBILE ABOUT IMAGE FIX (Center Align)
   ========================================= */
@media (max-width: 768px) {
    .about-section .about-img-group {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 20px !important; /* Add space between image and text */
    }

    .about-section .about-img-group img {
        /* Override inline styles for mobile to ensure centering */
        width: 80% !important;  
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
}