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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(50, 1, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(50, 1, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Hero ===== */
.hero {
    background: radial-gradient(ellipse at 70% 50%, rgba(157, 23, 77, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
                #1a0a10;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(251, 191, 36, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(219, 39, 119, 0.2);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.06);
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation: float-medium 10s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(219, 39, 119, 0.08);
    bottom: 20%;
    right: 15%;
    transform: rotate(30deg);
    animation: float-medium 8s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251, 191, 36, 0.05);
    top: 40%;
    right: 5%;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(rgba(251, 191, 36, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    width: 150px;
    height: 150px;
    top: 15%;
    right: 30%;
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(15px, -25px) rotate(50deg); }
}

/* Floating stat cards */
.floating-card {
    z-index: 20;
}

.card-1 {
    animation: float-card-1 6s ease-in-out infinite;
}

.card-2 {
    animation: float-card-2 7s ease-in-out infinite;
}

.card-3 {
    animation: float-card-3 8s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

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

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

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

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

/* Stagger children */
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }

/* ===== Service Cards ===== */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

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

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-square-2 {
        width: 40px;
        height: 40px;
    }
    
    .geo-triangle {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(251, 191, 36, 0.05);
    }
    
    .geo-dots {
        width: 80px;
        height: 80px;
    }
}

/* ===== Select styling ===== */
select option {
    background: #320117;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1a0a10;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}
