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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0FAF6;
}
::-webkit-scrollbar-thumb {
    background: #A8E4CE;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7CD3B6;
}

/* ─── Navigation ─── */
.nav-scrolled {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2A9477;
    border-radius: 1px;
    transition: width 0.25s ease;
}

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

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #0A2342;
    color: #F0FAF6;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #0A2342;
}

.btn-primary:hover {
    background: #091E3A;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(10, 35, 66, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #0A2342;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(10, 35, 66, 0.2);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: #0A2342;
    background: rgba(10, 35, 66, 0.04);
    transform: translateY(-1px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: #7CD3B6;
    color: #0A2342;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #7CD3B6;
}

.btn-cta:hover {
    background: #98E4CE;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 211, 182, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #F0FAF6;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(240, 250, 246, 0.3);
    transition: all 0.25s ease;
}

.btn-cta-secondary:hover {
    border-color: rgba(240, 250, 246, 0.7);
    background: rgba(240, 250, 246, 0.08);
    transform: translateY(-1px);
}

/* ─── Section Shared ─── */
.section {
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2A9477;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0A2342;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #0A2342;
    opacity: 0.55;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* ─── Hero ─── */
.hero {
    background: linear-gradient(160deg, #F0FAF6 0%, #D5F2E7 40%, #A8E4CE 100%);
    min-height: 100vh;
    position: relative;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: #7CD3B6;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #A8E4CE;
    bottom: -100px;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: #0A2342;
    opacity: 0.06;
    top: 40%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(10, 35, 66, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.02); }
    66% { transform: translate(-20px, 15px) scale(0.98); }
}

.hero-content {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.hero-badge {
    animation: fade-down 0.8s ease forwards;
}

.hero-headline {
    animation: fade-up 0.8s ease 0.15s both;
}

.hero-subtitle {
    animation: fade-up 0.8s ease 0.3s both;
}

.hero-ctas {
    animation: fade-up 0.8s ease 0.45s both;
}

.hero-stats {
    animation: fade-up 0.8s ease 0.6s both;
}

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

.hero-stat-divider {
    height: 40px;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Service Cards ─── */
.service-card {
    background: #F0FAF6;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: #FFFFFF;
    border-color: #D5F2E7;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 35, 66, 0.08);
}

.service-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A2342;
    margin-bottom: 0.5rem;
}

.service-card-desc {
    font-size: 0.9rem;
    color: #0A2342;
    opacity: 0.6;
    line-height: 1.65;
}

/* ─── About ─── */
.about-img-wrapper {
    aspect-ratio: 5/4;
    box-shadow: 0 24px 64px rgba(10, 35, 66, 0.12);
}

.about-img {
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-floating-card {
    animation: float-card 4s ease-in-out infinite;
}

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

/* ─── Why Cards ─── */
.why-card {
    background: #F0FAF6;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-card:hover {
    background: #FFFFFF;
    border-color: #D5F2E7;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 35, 66, 0.08);
}

.why-card-title {
    margin-top: 0.5rem;
}

/* ─── CTA ─── */
.cta-bg {
    background: linear-gradient(135deg, #0A2342 0%, #071830 100%);
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 211, 182, 0.12);
    top: -150px;
    left: -100px;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(42, 148, 119, 0.15);
    bottom: -100px;
    right: -50px;
}

.cta-title {
    font-family: 'Playfair Display', serif;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Mobile Menu ─── */
.mobile-menu {
    animation: slide-down 0.25s ease;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-link {
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .hero-stats {
        gap: 1rem;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-scroll-indicator {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-floating-card {
        display: none;
    }
}
