/* ========================================
   Lee Mental Health Center — Custom Styles
   ======================================== */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e3a5f;
    font-size: 1rem;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo-text {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e3a5f;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(30, 58, 95, 0.06);
}

.nav-cta {
    background: #1e3a5f !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #162b48 !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1e3a5f;
}

.hamburger-line {
    width: 24px;
    height: 20px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0e1d30;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 29, 48, 0.92) 0%, rgba(30, 58, 95, 0.85) 50%, rgba(20, 184, 136, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 24px;
    margin-left: 8%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 212, 160, 0.15);
    border: 1px solid rgba(45, 212, 160, 0.3);
    color: #5fe8be;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 20px;
}

.hero-title-accent {
    color: #2dd4a0;
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: #2dd4a0;
    flex-shrink: 0;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 24px 0 0 24px;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(45, 212, 160, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: #14b888;
    color: #ffffff;
    border-color: #14b888;
}

.btn-primary:hover {
    background: #0d946c;
    border-color: #0d946c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1e3a5f;
    border-color: #1e3a5f;
}

.btn-secondary:hover {
    background: #1e3a5f;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    width: 18px;
    height: 18px;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #14b888;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.2;
    margin: 0 0 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a6278;
    margin: 0;
}

/* ========================================
   Services
   ======================================== */
.services {
    background: #f8fbfd;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: var(--shadow-soft, 0 4px 20px -2px rgba(30, 58, 95, 0.06));
    border: 1px solid rgba(30, 58, 95, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -4px rgba(30, 58, 95, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 10px;
}

.service-description {
    font-size: 0.925rem;
    line-height: 1.7;
    color: #4a6278;
    margin: 0;
}

/* ========================================
   About
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px -8px rgba(30, 58, 95, 0.15);
}

.about-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px -4px rgba(30, 58, 95, 0.18);
    border: 4px solid #ffffff;
}

.about-img-secondary img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #1e3a5f;
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}

.experience-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2dd4a0;
    line-height: 1;
    margin-bottom: 4px;
}

.experience-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a6278;
    margin: 0 0 16px;
}

.about-values {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e3a5f;
}

.value-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   Approach
   ======================================== */
.approach {
    background: #0e1d30;
    color: #ffffff;
}

.approach .section-label {
    color: #5fe8be;
}

.approach .section-title {
    color: #ffffff;
}

.approach .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.approach-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.approach-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 0;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(45, 212, 160, 0.3);
    line-height: 1;
    padding-top: 4px;
}

.step-content {
    padding-bottom: 40px;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.step-connector {
    position: absolute;
    left: 35px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(45, 212, 160, 0.3), rgba(45, 212, 160, 0.05));
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf9 0%, #e8f4f0 100%);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: #ffffff;
    border-radius: 28px;
    padding: 64px;
    box-shadow: 0 16px 48px -8px rgba(30, 58, 95, 0.10);
}

.cta-content .section-label {
    text-align: left;
}

.cta-title {
    text-align: left;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a6278;
    margin: 16px 0 0;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================
   Contact
   ======================================== */
.contact {
    background: #f8fbfd;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a6278;
    margin: 0 0 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #f0fdf9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #14b888;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: #1e3a5f;
    line-height: 1.5;
}

.contact-detail-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a5f;
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: #14b888;
}

.contact-map iframe {
    border-radius: 16px;
}

/* Form */
.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px -4px rgba(30, 58, 95, 0.10);
    border: 1px solid rgba(30, 58, 95, 0.04);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: #4a6278;
    margin: 0 0 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(30, 58, 95, 0.12);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    color: #1e3a5f;
    background: #f8fbfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9bb5d6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #14b888;
    box-shadow: 0 0 0 3px rgba(20, 184, 136, 0.1);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf9;
    border: 1px solid rgba(20, 184, 136, 0.2);
    border-radius: 12px;
    color: #0d7a5c;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #0e1d30;
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0 0 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2dd4a0;
}

.footer-contact p {
    font-size: 0.9rem;
    margin: 0 0 4px;
    line-height: 1.6;
}

.footer-phone {
    color: #2dd4a0 !important;
    font-weight: 600;
}

.footer-phone:hover {
    color: #5fe8be !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 600px;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin-left: 5%;
    }

    .hero-image {
        width: 38%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(30, 58, 95, 0.08);
        box-shadow: 0 12px 32px rgba(30, 58, 95, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        margin-left: 0;
        padding: 0 24px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img-secondary {
        right: -16px;
        bottom: -24px;
    }

    .about-experience-badge {
        left: -16px;
        top: -16px;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .approach-step {
        grid-template-columns: 60px 1fr;
        gap: 16px;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .cta-content .section-label,
    .cta-title {
        text-align: center;
    }

    .cta-text {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-label,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-text {
        text-align: center;
    }

    .contact-form-wrap {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 56px 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .cta-card {
        padding: 32px 20px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
