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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-title--light { color: #f0fdfa; }

.section-desc, .about-text, .contact-desc, .community-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    max-width: 620px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-700);
    color: #f0fdfa;
    box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.btn-primary:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,148,136,.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #f0fdfa;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-light {
    background: #f0fdfa;
    color: var(--teal-800);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    background: #ccfbf1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0fdfa;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-logo-text { font-size: 1.1rem; }

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

.nav-link {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.nav-link:hover { color: #f0fdfa; background: rgba(255,255,255,0.08); }

.nav-cta {
    margin-left: 8px;
    background: var(--teal-600);
    color: #f0fdfa;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--teal-700); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-300);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/1249611/pexels-photo-1249611.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.92) 0%,
        rgba(19, 78, 74, 0.88) 40%,
        rgba(30, 41, 59, 0.90) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin-bottom: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--teal-200);
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #f0fdfa;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--slate-300);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cards {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
}

.stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 32px;
    min-width: 200px;
    flex: 1;
    max-width: 260px;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.stat-card-accent {
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
    border-radius: 3px 3px 0 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.15);
    border-radius: 50%;
    color: var(--teal-300);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #f0fdfa;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* ─── Services ─── */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 16px;
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-card-icon {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #f0fdfa;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--slate-900);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--teal-100);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 24px; }

.about-text {
    margin-bottom: 20px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-700);
}

.value-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    color: var(--teal-700);
    flex-shrink: 0;
}

/* ─── Community Banner ─── */
.community {
    padding: 100px 0;
    background: var(--teal-950);
    overflow: hidden;
}

.community-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--slate-900) 100%);
    padding: 72px 64px;
}

.community-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--teal-400) 1px, transparent 0);
    background-size: 32px 32px;
}

.community-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.community-content .section-tag {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--teal-300);
}

.community-content .section-title {
    color: #f0fdfa;
    margin-bottom: 20px;
}

.community-desc {
    color: var(--slate-300);
    margin-bottom: 48px;
    max-width: 560px;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.community-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 14px;
    color: var(--teal-400);
    flex-shrink: 0;
}

.community-feature h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #f0fdfa;
    margin-bottom: 4px;
}

.community-feature p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.6;
}

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 20px; }
.contact-info .contact-desc { margin-bottom: 40px; }

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

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

.contact-detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 14px;
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
}
.contact-detail a:hover { color: var(--teal-700); }

/* ─── Form ─── */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}

.form-group textarea { resize: vertical; }

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 10px;
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}
.form-success svg { color: var(--teal-600); flex-shrink: 0; }

/* ─── Footer ─── */
.footer {
    background: var(--slate-950);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0fdfa;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--teal-400); }

.footer-contact p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-phone {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--teal-400);
    transition: color 0.2s ease;
}
.footer-phone:hover { color: var(--teal-300); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-500);
}
.footer-bottom a {
    color: var(--slate-400);
    transition: color 0.2s ease;
}
.footer-bottom a:hover { color: var(--teal-400); }

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image img { height: 480px; }
    .about-image-accent { display: none; }

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

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-link { padding: 12px 16px; width: 100%; }
    .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }

    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-cards { flex-direction: column; align-items: center; }
    .stat-card { max-width: 100%; width: 100%; }

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

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

    .community-banner { padding: 48px 28px; }
    .community-feature { flex-direction: column; gap: 12px; }

    .contact-form-wrapper { padding: 28px; }

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

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
