/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* --- Root Variables (From Design Image) --- */
:root {
    --primary-color: #724cb1;
    --primary-dark: #3e2e5e;
    --primary-light-bg: #f6f5f8;
    --text-dark: #2c2c2c;
    --text-light: #6a6a6a;
    --bg-light: #ffffff;
    --border-color: #eae6f0;
    --shadow: 0 8px 30px rgba(93, 58, 155, 0.08);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- General & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-size:18px;}
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
ul { list-style: none; }
a { text-decoration: none; color: var(--primary-color); }
a:hover { color: var(--primary-dark); }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}
h1 { font-size: 3.8rem; letter-spacing: -1px; }
h2 { font-size: 3.2rem; }
h3 { font-size: 1.8rem; }
p { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* --- Layout & Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-title { text-align: center; max-width: 750px; margin: 0 auto 4rem auto; }
.section-title h2 { margin-bottom: 1rem; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.btn:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); color: var(--bg-light)}
.btn-small { padding: 12px 28px; font-size: 0.8rem; }
.btn-secondary { background-color: transparent; color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--bg-light); }


/* --- Header & Navigation --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent; transition: background-color 0.4s ease, transform 0.4s ease; }
.header.scrolled {
    background-color: rgba(62, 46, 94, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-51px); /* Hides top-bar on scroll */
}
.header.scrolled.top-visible {
    transform: translateY(0);
}

.top-bar { background-color: var(--primary-dark); color: #e3ddee; padding: 0.6rem 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-contact { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.top-bar-contact a, .top-bar-social a { color: #e3ddee; transition: color 0.3s ease; }
.top-bar-contact a:hover, .top-bar-social a:hover { color: var(--bg-light); }
.top-bar-social { display: flex; gap: 1.25rem; font-size: 1rem; }
.top-bar i { margin-right: 0.5rem; }

.main-nav-wrapper { transition: background-color 0.4s; background-color: var(--bg-light); padding: 0 2%}
.main-nav { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; }
.logo { max-width: 180px; z-index: 2002; }
.logo img { width: 250px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-dark); font-weight: 500; position: relative; padding-bottom: 8px; transition: color 0.4s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease, background-color 0.4s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-header-controls { display: none; align-items: center; gap: 1rem; }
.hamburger { display: none; cursor: pointer; z-index: 2002; height: 24px; width: 28px; position: relative; }
.hamburger div { width: 28px; height: 3px; background-color: var(--text-dark); position: absolute; left: 0; transition: all 0.3s ease-in-out; }
.hamburger .line1 { top: 0;background:#fff; }
.hamburger .line2 { top: 10px; background:#fff;}
.hamburger .line3 { top: 20px; background:#fff;}
.hamburger.nav-toggle .line1 { transform: rotate(45deg); top: 10px; background-color: var(--primary-dark); }
.hamburger.nav-toggle .line2 { opacity: 0; }
.hamburger.nav-toggle .line3 { transform: rotate(-45deg); top: 10px; background-color: var(--primary-dark); }

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: var(--primary-dark);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
.mobile-nav.nav-active { transform: translateY(0); }
.mobile-nav .nav-links { flex-direction: column; text-align: center; gap: 2.5rem; }
.mobile-nav .nav-links a { color: var(--bg-light); font-size: 1rem; }

/* Hero Section */
.hero { display: flex; align-items: center; position: relative; color: var(--bg-light); text-align: center; padding: 0 2rem; background-size: cover; background-position: center; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.1), rgba(62,46,94,0.7)); }
.hero-content { position: relative; z-index: 2; max-width: 800px;margin-top:0px;text-align: left;margin-left: 0px;}
.hero-content h1 { color: var(--bg-light); font-weight: 700; }
.hero-content p { color: var(--bg-light); font-size: 1.25rem; opacity: 0.95; margin-bottom: 2.5rem; }

/* General Content Sections */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.content-grid img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.info-item { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1rem; border-radius: 8px; border: 1px solid transparent; transition: var(--transition-smooth); }
.info-item:hover {  transform: scale(1.02);  }
.info-item i { font-size: 1.8rem; color: var(--primary-color); margin-top: 5px; width: 30px; text-align: center; }
.info-item h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.modality-card { background: var(--primary-light-bg); border-radius: 10px; padding: 0; text-align: center; transition: var(--transition-smooth); margin: 25px auto;}
.modality-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.modality-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.modality-card h3 { margin-bottom: 1rem; }
.founder-profile { text-align: center; }
.founder-profile img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.founder-profile h4 { font-size: 1.5rem; }

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header { 
    width: 100%;
    background: var(--border-color);
    border: none;
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 10px;
}

.accordion-header i { transition: transform 0.3s ease; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content div { padding: 0 0 1.5rem 0; }

/* CTA Section */
.cta-section { background-color: var(--primary-light-bg); text-align: center; padding: 5rem 2rem; }
.cta-section .btn:hover { background-color: var(--primary-dark); }

/* Footer */
.footer { background-color: var(--primary-dark); color: var(--bg-light); padding: 6rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 4rem; }
.footer-col .logo { filter: brightness(0) invert(1); margin-bottom: 1rem; width: 180px; }
.footer-col h4 { color: var(--bg-light); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-col p, .footer-col a { color: #ccc; font-size: 0.95rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--bg-light); }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a { font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255); text-align: center; padding-top: 2rem; }
.footer-bottom p { color: var(--bg-light); opacity: 0.7; margin: 0; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: flex-start; }
.contact-info-block { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-info-item i { font-size: 1.5rem; color: var(--primary-color); margin-top: 5px; }
.contact-info-item h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0; color: var(--text-light); }
.contact-info-item p { font-size: 1.1rem; color: var(--text-dark); margin: 0; }
.form-group { position: relative; margin-bottom: 2.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-body);
    background-color: transparent;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}
.contact-form .btn {
    justify-content: center;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.styled-list i {
    margin-right: 10px;
    color: var(--primary-color)
}
.contact-card-container { display: grid; gap: 2rem; }
.contact-card {
    background-color: var(--primary-light-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}
.contact-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.contact-card h4 { margin-bottom: 0.5rem; }
/* Responsive Design */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }
    .desktop-nav { display: none; }
    .nav-controls { display: flex; justify-content: center; gap: 20px; align-items: center; }
    .content-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
    .content-grid img { margin-bottom: 2rem; }
    .content-grid.reverse img { order: -1; }
    .footer-grid { text-align: left; }
    .footer-col, .footer-socials { justify-content: center; }
}
@media (max-width: 768px) {
    html { font-size: 15px; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.5rem; }
    .section { padding: 4rem 0; }
    .info-grid { grid-template-columns: 1fr; }

   
}

@media (max-width: 500px) {
    .hero {
        margin-top: 150px;
    }
    .top-bar-contact {
        gap: 4px;
    }
    .top-bar .container {
        padding: 0 1rem;
    }
    .hero {
        padding-top: 50px;
    }
     .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 455px) {
    .logo {
        max-width: 150px;
    }
    .nav-controls .btn {
        padding: 14px 20px;
        font-size: 0.8rem;
    }
}
@media (max-width: 372px) {
    .logo {
        max-width: 120px;
    }
    .nav-controls .btn {
        padding: 14px 16px;
        font-size: 10px;
    }
}


/* --- Booking Popup Modal Styles --- */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(62, 46, 94, 0.8);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .popup-container {
            background-color: var(--bg-light);
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            max-width: 600px;
            width: 100%;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.4s ease;
            max-height: 90vh;
            overflow-y: auto;
        }
        .popup-overlay.active .popup-container {
            transform: scale(1);
        }
        .popup-close-btn {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .popup-close-btn:hover {
            color: var(--primary-color);
            transform: rotate(90deg);
        }
        .popup-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        .popup-header h2 {
             font-size: 2.5rem;
             margin-bottom: 0.5rem;
        }
        .popup-header p {
            font-size: 1rem;
            color: var(--text-light);
        }
        .popup-form .form-group {
            margin-bottom: 1.5rem;
        }
        .popup-form .form-group label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }
        .popup-form .form-group input,
        .popup-form .form-group select,
        .popup-form .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-family: var(--font-body);
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        .popup-form .form-group input:focus,
        .popup-form .form-group select:focus,
        .popup-form .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(114, 76, 177, 0.2);
        }
        .popup-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        .popup-form textarea {
            resize: vertical;
            min-height: 100px;
        }
        .popup-form .btn {
            width: 100%;
            justify-content: center;
            padding: 16px;
            font-size: 1rem;
        }
        @media (max-width: 600px) {
            .popup-form .form-row {
                grid-template-columns: 1fr;
            }
             .popup-container {
                padding: 2rem 1.5rem;
             }
        }