/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7fa99b;
    --secondary-color: #9bbfb1;
    --accent-color: #b8d4ca;
    --green-accent: #7fa99b;
    --dark-bg: #8ba89f;
    --text-dark: #1a1f1e;
    --text-light: #5a6c68;
    --text-white: #ffffff;
    --background-light: #f8fbfa;
    --background-teal: #e8f4f0;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.12);
    --border-color: #e5ebe9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 2px 8px var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo .subtitle {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: -2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.925rem;
    letter-spacing: 0.2px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9db8ad 0%, #a8c5ba 100%);
    color: var(--text-white);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(184, 212, 202, 0.1), transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: 600px;
}

.hero-image {
    flex: 0 0 45%;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    flex: 1;
    padding: 60px 60px 60px 80px;
    text-align: left;
}

.hero-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.hero-content h3 {
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-locations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.location-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.location-info h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.location-info p {
    color: var(--text-white);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.availability {
    color: var(--text-white);
    font-weight: 600;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 0;
    background-color: var(--background-light);
}

.about-container {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.about-text-side {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image-side {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1.2px;
    text-align: left;
    line-height: 1.2;
}

.tagline {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.about-section h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 0;
    letter-spacing: -0.3px;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1.05rem;
    text-align: left;
    font-weight: 400;
    margin-bottom: 1rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--white);
}

.services h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.services-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-light) 100%);
    padding: 2.75rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(127, 169, 155, 0.15);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 0.8rem;
    font-size: 1.025rem;
}

/* Consulting Rooms */
.consulting-rooms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.consulting-room-img {
    border-radius: 16px;
    overflow: hidden;
}

.consulting-room-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Referrers Section */
.referrers {
    padding: 80px 20px;
    background-color: var(--background-light);
}

.referrers .container {
    max-width: 1000px;
}

.referrers h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.referrer-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.referrer-item:hover {
    box-shadow: 0 4px 20px rgba(136, 181, 168, 0.2);
}

.referrer-question {
    color: var(--dark-bg);
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.referrer-question:hover {
    background-color: var(--background-light);
}

.referrer-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background-light);
}

.referrer-item.active .referrer-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--white);
}

.referrer-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.referrer-item.active .referrer-answer {
    max-height: 800px;
    padding: 0 2rem 2rem 2rem;
}

.referrer-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.referrer-answer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.referrer-answer ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.referrer-answer ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Fees Section */
.fees {
    padding: 100px 20px;
    background-color: var(--white);
}

.fees h2 {
    font-size: 2.8rem;
    color: var(--dark-bg);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.fees p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.fees-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.fees-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.documents {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: var(--background-light);
    border-radius: 12px;
}

.documents h3 {
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.document-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.document-links li {
    margin-bottom: 0;
}

.document-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.document-links a::before {
    content: "📄";
    margin-right: 0.5rem;
}

.document-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background-color: var(--background-light);
}

.faq h2 {
    font-size: 2.8rem;
    color: var(--dark-bg);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(136, 181, 168, 0.2);
}

.faq-question {
    color: var(--dark-bg);
    font-size: 1.2rem;
    padding: 1.8rem 2rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background-light);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(160, 196, 184, 0.15), transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-location {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(184, 212, 202, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-location:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 212, 202, 0.6);
}

.contact-location h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-location p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.7rem;
    line-height: 1.8;
}

.emergency-note {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(8, 145, 178, 0.15));
    border: 2px solid var(--green-accent);
    padding: 2rem;
    border-radius: 12px;
    color: var(--text-white);
    line-height: 1.9;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 20px;
    text-align: center;
    border-top: 1px solid rgba(184, 212, 202, 0.3);
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-container {
        flex-direction: column;
        min-height: auto;
    }

    .hero-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-image img {
        min-height: 400px;
        object-position: center;
    }

    .hero-content {
        padding: 40px 30px;
        text-align: center;
    }

    .hero-locations {
        flex-direction: column;
        gap: 1.5rem;
    }

    .location-info {
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        min-height: auto;
    }

    .about-text-side {
        padding: 60px 30px;
    }

    .about-image-side {
        width: 100%;
        min-height: 400px;
    }

    .about-image-side img {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-image img {
        min-height: 350px;
        object-position: center;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content h3 {
        font-size: 1.2rem;
    }

    .about h2,
    .services h2,
    .referrers h2,
    .fees h2,
    .faq h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .about-text-side {
        padding: 50px 20px;
    }

    .about-image-side {
        min-height: 350px;
    }

    .about-image-side img {
        min-height: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .consulting-rooms {
        grid-template-columns: 1fr;
    }

    .consulting-room-img img {
        height: 220px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about,
    .services,
    .referrers,
    .fees,
    .faq,
    .contact {
        padding: 70px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px 50px 20px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .about h2,
    .services h2,
    .referrers h2,
    .fees h2,
    .faq h2,
    .contact h2 {
        font-size: 1.9rem;
    }

    .nav-links {
        font-size: 0.9rem;
    }

    .location-info {
        padding: 1.5rem;
    }
}
