/* ── Base & Typography ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: #050E1C;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(126, 212, 193, 0.3);
    color: #ffffff;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#navbar.scrolled {
    background: rgba(5, 14, 28, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7ED4C1;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #7ED4C1 !important; }

/* ── Mobile Menu ── */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link {
    position: relative;
    padding-left: 0;
}
.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #7ED4C1;
    transition: width 0.3s ease;
}
.mobile-nav-link:hover::before { width: 12px; }
.mobile-nav-link:hover { color: #7ED4C1 !important; }

/* ── Floating Stat Cards ── */
.stat-card {
    animation: floatIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
.card-float-1 { animation-delay: 0.2s; }
.card-float-2 { animation-delay: 0.4s; }
.card-float-3 { animation-delay: 0.6s; }
.card-float-4 { animation-delay: 0.8s; }
@keyframes floatIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Continuous float animation */
.card-float-1 { animation: float1 6s ease-in-out infinite; }
.card-float-2 { animation: float2 7s ease-in-out infinite; }
.card-float-3 { animation: float3 5.5s ease-in-out infinite; }
.card-float-4 { animation: float4 6.5s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ── Service Cards ── */
.service-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── Process Steps ── */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Gallery Items ── */
.gallery-item {
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Scroll Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Divider Lines ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 212, 193, 0.2), transparent);
}

/* ── Input Focus ── */
input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050E1C; }
::-webkit-scrollbar-thumb { background: rgba(126, 212, 193, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(126, 212, 193, 0.5); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .font-serif { line-height: 1.2; }
}
