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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ===== Navigation ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-fixed.scrolled .nav-link {
    color: #334e68 !important;
}

.nav-fixed.scrolled .font-display {
    color: #102a43 !important;
}

.nav-link {
    transition: color 0.2s ease;
}

/* Mobile menu */
.nav-toggle {
    transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.mobile-nav-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover {
    color: #102a43;
    padding-left: 0.5rem;
}

/* ===== Hero ===== */
.hero {
    background: #0a1628;
    position: relative;
}

.hero-bg {
    background-image: url('https://images.pexels.com/photos/30797205/pexels-photo-30797205.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

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

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

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

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

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

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #3aad63;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #238944;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 173, 99, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

/* ===== Accent decorations ===== */
.section-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3aad63, #a5e1b8);
    border-radius: 2px;
}

/* ===== Form ===== */
input:focus, textarea:focus {
    outline: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #bcccdc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fb3c8;
}

/* ===== Selection ===== */
::selection {
    background: #ceefd8;
    color: #102a43;
}
