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

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

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f2faf5;
}
::-webkit-scrollbar-thumb {
    background: #8edfbd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5fcfa3;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 400;
}

/* Header */
#header {
    background: rgba(242, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(142, 223, 189, 0.2);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(10, 26, 38, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #3db888;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0a1a26;
    color: #f2faf5;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1c4159;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 26, 38, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0a1a26;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(10, 26, 38, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #3db888;
    color: #2a9d72;
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0a1a26;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-white:hover {
    background: #f2faf5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

/* Section Headers */
.section-eyebrow {
    letter-spacing: 0.2em;
}

.section-title {
    font-weight: 300;
}

.section-subtitle {
    font-weight: 300;
}

/* Hero Animations */
.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-quick-info {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px;
    transition: all 0.4s ease;
    border: 1px solid rgba(142, 223, 189, 0.15);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(10, 26, 38, 0.08);
    border-color: rgba(142, 223, 189, 0.4);
}

/* About */
.about-img-main {
    box-shadow: 0 25px 80px rgba(10, 26, 38, 0.12);
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(10, 26, 38, 0.12);
}

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

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 216, 197, 0.3);
    transform: translateY(-4px);
}

/* Contact Form */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(10, 26, 38, 0.1);
    border-radius: 12px;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #0a1a26;
    background: #f8fdf9;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #9eb7cb;
}

.input-field:focus {
    border-color: #5fcfa3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(95, 207, 163, 0.1);
}

.input-field:hover:not(:focus) {
    border-color: #8edfbd;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stats */
.stats-row div div:first-child {
    line-height: 1;
}

/* Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
