/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
::selection { background: rgba(251, 191, 36, 0.3); color: #fff; }

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}
.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: -100px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}
.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    top: 40%;
    left: -50px;
    transform: rotate(45deg);
    opacity: 0.04;
    animation: float-slow 15s ease-in-out infinite reverse;
}
.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid #a855f7;
    bottom: 10%;
    right: 5%;
    opacity: 0.08;
    animation: float-slow 18s ease-in-out infinite;
}
.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f59e0b;
    top: 60%;
    right: 10%;
    opacity: 0.04;
    transform: rotate(-15deg);
    animation: float-slow 22s ease-in-out infinite;
}
.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #c084fc 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 30%;
    left: 5%;
    opacity: 0.1;
}

/* ── Animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 10px) rotate(-3deg); }
}
@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite 1s; }
.animate-scroll-line { animation: scroll-line 2s ease-in-out infinite; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(26, 2, 51, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    will-change: transform;
}

/* ── Testimonial Cards ── */
.testimonial-card {
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(251, 191, 36, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ── Custom Select ── */
select option {
    background: #1a0233;
    color: #fff;
}

/* ── Mobile Menu Transition ── */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .geo-circle-1 { width: 300px; height: 300px; }
    .geo-square-1 { width: 100px; height: 100px; }
    .geo-circle-2 { display: none; }
    .geo-triangle-1 { display: none; }
    .geo-dots { display: none; }
}
