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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --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;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.text-teal { color: var(--teal-600); }

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1.5px solid var(--teal-200);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.75;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}
.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}
.btn-outline:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--teal-700);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--slate-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--slate-800);
}
.nav-logo:hover { color: var(--teal-600); }

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

.nav-links a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-600);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}
.nav-links a:not(.btn):hover {
    color: var(--teal-600);
    background: var(--teal-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ── */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--teal-50) 0%, #f0fdf4 50%, var(--slate-50) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--teal-700);
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero-badge svg { opacity: 0.8; }

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--slate-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-300);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    inset: -20px;
    background: var(--teal-200);
    border-radius: 36px;
    z-index: -1;
    opacity: 0.5;
}

.hero-floating-card {
    position: absolute;
    bottom: 32px;
    left: -24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate-800);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

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

/* ── Services ── */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-200);
    background: #fff;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border: 1.5px solid var(--teal-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 10px;
}

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

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

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

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.about-stat-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--teal-700);
}
.about-stat-label {
    font-size: 0.82rem;
    color: var(--slate-500);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-700);
}

.about-content .btn {
    margin-top: 8px;
}

/* ── Community ── */
.community {
    padding: 100px 0;
    background: #fff;
}

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

.community-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}
.community-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-200);
}

.community-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.community-card-content {
    padding: 24px;
}

.community-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 8px;
}

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

/* ── Testimonials ── */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
}

.testimonials .section-tag {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: var(--teal-200);
}

.testimonials .section-header h2 { color: #fff; }
.testimonials .section-header p { color: var(--teal-200); }

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

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.testimonial-location {
    display: block;
    font-size: 0.8rem;
    color: var(--teal-300);
}

/* ── CTA ── */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-800) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--teal-100);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

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

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

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.25;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-details {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.6;
}
.contact-item a:hover { color: var(--teal-600); }

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    font-size: 0.9rem;
    color: var(--slate-500);
    margin-bottom: 28px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 12px;
}
.form-success.show { display: flex; }
.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-900);
}
.form-success p {
    font-size: 0.92rem;
    color: var(--slate-600);
}

/* ── Footer ── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--slate-200);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--slate-400);
}
.footer-links a:hover { color: var(--teal-400); }

.footer-contact p {
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-contact a { color: var(--teal-400); }
.footer-contact a:hover { color: var(--teal-300); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.82rem;
    color: var(--slate-500);
}

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

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

    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a:not(.btn) {
        width: 100%;
        padding: 12px 16px;
    }
    .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }
    .nav-toggle { display: flex; }

    .hero { padding: 100px 0 60px; }
    .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-divider { display: none; }
    .hero-floating-card { left: 16px; bottom: 16px; }

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

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

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

    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrapper { padding: 24px; }
}
