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

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

body {
    overflow-x: hidden;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #0d1f3c 0%, #1e3a5f 40%, #2a4f7f 70%, #1e3a5f 100%);
}

/* ── Decorative Blobs ── */
.hero-blob {
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d4a017 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #e6b422 0%, transparent 70%);
    bottom: 5%;
    left: -5%;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #f0c94d 0%, transparent 70%);
    top: 40%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Hero Badge ── */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

/* ── Hero Heading ── */
h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ── Hero Paragraph ── */
#hero > .relative > p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ── Hero Buttons ── */
#hero > .relative > div:last-child > div {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ── Hero Stats ── */
#hero > .relative > div:last-child > div:last-child {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ── Gold Button ── */
.btn-gold {
    background: linear-gradient(135deg, #d4a017 0%, #e6b422 100%);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.45);
}

/* ── Outline Light Button ── */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

/* ── Service Cards ── */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ── Navbar ── */
.nav-fixed {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(13, 31, 60, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}

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

/* ── CTA Blobs ── */
.cta-blob {
    animation: blobFloat 10s ease-in-out infinite;
}

/* ── Form Select ── */
select option {
    background: #1e3a5f;
    color: white;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-blob-1 {
        width: 300px;
        height: 300px;
    }
    .hero-blob-2 {
        width: 250px;
        height: 250px;
    }
    .hero-blob-3 {
        width: 150px;
        height: 150px;
    }
}
