*, *::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;
    --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-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.18);
}

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

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

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

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

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

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

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

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal-600);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    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 24px rgba(13, 148, 136, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

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

.btn-white {
    background: #fff;
    color: var(--teal-700);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 14px 24px;
}

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--teal-900) 100%);
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/34006937/pexels-photo-34006937.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=900') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: var(--teal-200);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    color: #fff;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--slate-300);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

/* ─── HERO VISUAL + STAT CARDS ─── */
.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-card.main-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card.main-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal-600);
}

.stat-card .stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--slate-500);
    line-height: 1.4;
}

.stat-card-1 {
    top: -20px;
    left: -30px;
    animation: float 4s ease-in-out infinite;
}

.stat-card-2 {
    bottom: 60px;
    right: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

.stat-card-3 {
    bottom: -20px;
    left: 40px;
    animation: float 4s ease-in-out infinite 2s;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--slate-50);
    line-height: 0;
}

/* ─── SECTION COMMON ─── */
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}

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

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

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

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

.service-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
}

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

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

/* ─── ABOUT ─── */
.about {
    padding: 96px 0;
    background: #fff;
}

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

.about-image {
    position: relative;
}

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

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

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

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

.feature-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ─── GALLERY ─── */
.gallery {
    padding: 96px 0;
    background: var(--slate-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--teal-200);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact {
    padding: 96px 0;
    background: #fff;
}

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

.contact-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

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

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

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

.contact-item p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-item a {
    color: var(--teal-600);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--teal-700);
}

/* ─── FORM ─── */
.contact-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--teal-700);
}

.form-success svg {
    color: var(--teal-500);
}

.form-success p {
    font-size: 1rem;
    color: var(--slate-600);
}

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

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

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

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

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

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--teal-400);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--teal-200);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--slate-500);
    text-align: center;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

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

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
        min-height: 300px;
    }

    .hero-card.main-card img {
        height: 300px;
    }

    .stat-card-1 { left: 10px; top: -10px; }
    .stat-card-2 { right: 10px; }
    .stat-card-3 { left: 20px; bottom: -10px; }

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

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

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

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .stat-card {
        padding: 14px 16px;
    }

    .stat-card .stat-number {
        font-size: 1.2rem;
    }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .stat-card { animation-duration: 4s; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
