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

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

body {
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== Utility ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a6b6b;
    margin-bottom: 0.75rem;
}

.section-label--light {
    color: #8ec3be;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a6b6b;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: #145556;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 107, 107, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* ===== Inputs ===== */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

.input-field:focus {
    border-color: #1a6b6b;
    box-shadow: 0 0 0 3px rgba(26, 107, 107, 0.1);
}

/* ===== Navbar ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

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

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

.nav-fixed .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-fixed.scrolled .nav-link {
    color: #6b7280;
}

.nav-fixed.scrolled .nav-link:hover {
    color: #1a6b6b;
}

.nav-fixed .btn-primary {
    background: #1a6b6b;
}

.nav-fixed.scrolled .btn-primary {
    background: #1a6b6b;
}

/* ===== Hero ===== */
.hero-section {
    position: relative;
}

/* Floating stat cards */
.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    min-width: 200px;
    animation: float 6s ease-in-out infinite;
}

.stat-card--teal {
    background: rgba(26, 107, 107, 0.6);
    border-color: rgba(26, 107, 107, 0.4);
}

.stat-card--white {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    animation-delay: -2s;
}

.stat-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-card--white .stat-card__number {
    color: #1a6b6b;
}

.stat-card__label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-card--white .stat-card__label {
    color: #6b7280;
}

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

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #8ec3be;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ===== Service Cards ===== */
.service-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 0.875rem;
    background: #f0f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6b6b;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon-wrap {
    background: #1a6b6b;
    color: #ffffff;
}

/* ===== Gallery ===== */
.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Mobile Menu ===== */
.mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

.mobile-menu.closed {
    max-height: 0;
    opacity: 0;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    color: #4b5563;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #1a6b6b;
}

/* Hamburger animation */
.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 1.375rem;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .stat-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}
