/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 63, 123, 0.08);
    box-shadow: 0 1px 20px rgba(123, 63, 123, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7B3F7B, #e8a020);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

/* ===== MOBILE MENU ===== */
.mobile-menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    animation: menuSlideIn 0.3s ease forwards;
}

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

.mobile-link {
    font-size: 1.1rem;
}

/* ===== HERO ===== */
#hero {
    background: linear-gradient(
        135deg,
        #7B3F7B 0%,
        #9b5fa0 25%,
        #c4903a 55%,
        #e8a020 80%,
        #f0b840 100%
    );
    background-size: 300% 300%;
    animation: heroGradient 14s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-orb-1, .hero-orb-2, .hero-orb-3 {
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    animation-delay: -3s;
    animation-duration: 10s;
}

.hero-orb-3 {
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-badge {
    animation: badgeIn 0.8s ease 0.2s both;
}

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

#hero h1 {
    animation: heroTitleIn 0.9s ease 0.35s both;
}

@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

#hero p {
    animation: heroSubIn 0.9s ease 0.5s both;
}

@keyframes heroSubIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#hero > div > div:last-child > div {
    animation: heroBtnsIn 0.9s ease 0.65s both;
}

#hero > div > div:last-child > div > div:last-child {
    animation: heroTrustIn 0.9s ease 0.8s both;
}

@keyframes heroBtnsIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTrustIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ===== HERO BUTTONS ===== */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8a020;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(232, 160, 32, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #d4880a;
    box-shadow: 0 8px 30px rgba(232, 160, 32, 0.5);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ===== SECTION LABEL ===== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e8a020;
    background: linear-gradient(90deg, #e8a020, #f0b840);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
}

/* ===== CTA SECTION ===== */
.cta-gradient {
    background: linear-gradient(
        135deg,
        #5a2c5a 0%,
        #7B3F7B 40%,
        #a56aaa 70%,
        #d4880a 100%
    );
}

.cta-orb-1, .cta-orb-2 {
    animation: orbFloat 10s ease-in-out infinite;
}

.cta-orb-2 {
    animation-delay: -4s;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8a020;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(232, 160, 32, 0.35);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: #d4880a;
    box-shadow: 0 8px 32px rgba(232, 160, 32, 0.5);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== GALLERY ===== */
.gallery-item {
    cursor: pointer;
}

/* ===== FORM INPUTS ===== */
.input-field {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #361c36;
    border: 1.5px solid #d4b5d8;
    border-radius: 0.75rem;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #f5eef6;
    width: 100%;
}

.input-field:focus {
    border-color: #7B3F7B;
    box-shadow: 0 0 0 3px rgba(123, 63, 123, 0.12);
    background: #fff;
}

.input-field::placeholder {
    color: #d4b5d8;
}

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B3F7B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #7B3F7B 0%, #9b5fa0 100%);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(123, 63, 123, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    box-shadow: 0 8px 30px rgba(123, 63, 123, 0.45);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Reduced motion: disable transitions entirely */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .font-heading.text-4xl {
        font-size: 2rem;
    }

    .font-heading.text-5xl {
        font-size: 2.25rem;
    }
}
