/* ── Custom Styles ── */

/* Hero gradient */
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(13, 148, 136, 0.25) 0%, rgba(15, 30, 51, 0.95) 50%, rgba(8, 15, 28, 1) 80%);
}

/* Floating orbs */
.hero-orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -10%;
    animation: float-orb 20s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px;
    height: 400px;
    top: 30%;
    right: -5%;
    animation: float-orb 15s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 300px;
    height: 300px;
    bottom: 5%;
    left: 30%;
    animation: float-orb 18s ease-in-out infinite 3s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

/* Badge pulse */
.hero-badge {
    animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 212, 191, 0.1); }
    50% { box-shadow: 0 0 30px rgba(45, 212, 191, 0.25); }
}

/* Nav glass effect */
#site-header.scrolled {
    background: rgba(8, 15, 28, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav links underline animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2dd4bf, #14b8a6);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    width: 100%;
}

/* Scroll reveal — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .section-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .why-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* Hero scroll indicator */
.hero-scroll {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.hero-scroll:hover {
    opacity: 1;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.4);
    color: #f0fdf9;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Select dropdown */
select option {
    background: #0f1e33;
    color: #f0f4fb;
}

/* Custom scrollbar for webkit */
body {
    scrollbar-width: thin;
    scrollbar-color: #0d9488 #0f1e33;
}

/* Map dark theme */
iframe[title] {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Service card subtle shine on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card {
    position: relative;
    overflow: hidden;
}

/* Why card shine */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.why-card:hover::before {
    opacity: 1;
}
.why-card {
    position: relative;
    overflow: hidden;
}
