/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(107, 63, 160, 0.08);
    color: #6B3FA0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(107, 63, 160, 0.15);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6B3FA0, #8040F0);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(107, 63, 160, 0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 63, 160, 0.4);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: #6B3FA0;
    border: 2px solid rgba(107, 63, 160, 0.2);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #fff;
    border-color: #6B3FA0;
    transform: translateY(-2px);
}

/* ── Input Fields ── */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(107, 63, 160, 0.15);
    border-radius: 12px;
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: #42265F;
    transition: all 0.2s ease;
    outline: none;
}
.input-field:focus {
    border-color: #6B3FA0;
    box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.1);
}
.input-field::placeholder { color: #B892FF; }

/* ── Navbar ── */
.nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 63, 160, 0.08);
}
.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(107, 63, 160, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6B3FA0, #F5C518);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Hero Cards ── */
.hero-card {
    animation: float 6s ease-in-out infinite;
}
.hero-card:nth-child(2) { animation-delay: -2s; }
.hero-card:nth-child(3) { animation-delay: -4s; }
.hero-card:nth-child(4) { animation-delay: -1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}
@keyframes floatDelayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.animate-float-delayed { animation: floatDelayed 5s ease-in-out infinite; }

/* ── Service Cards ── */
.service-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.service-card.visible { opacity: 1; transform: translateY(0); }

/* ── Reason Cards ── */
.reason-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reason-card.visible { opacity: 1; transform: translateY(0); }

/* ── Testimonial Cards ── */
.testimonial-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.testimonial-card.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile Menu ── */
.mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-menu-link {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.mobile-menu-link:hover { background: rgba(107, 63, 160, 0.06); }

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

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero { min-height: auto; padding: 80px 0 60px; }
    h1 { font-size: 2.75rem !important; }
    h2 { font-size: 2.25rem !important; }
}
