/* =========================================================
   RUDRA FIREWORKS - ANIMATIONS & TRANSITIONS (animations.css)
   ========================================================= */

/* Reveal Animations on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Golden Sparkles & Floating Lights */
.floating-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    filter: drop-shadow(0 0 8px var(--accent-gold));
    animation: floatSparkle 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes floatSparkle {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-25px) scale(1.3);
        opacity: 1;
    }
}

/* Hero Ken Burns Background Effect */
.ken-burns {
    animation: kenBurnsZoom 20s infinite alternate linear;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Ripple Click Animation */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Card Hover Lift & Glow */
.premium-card {
    background: #FFFFFF;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 213, 74, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 20px 30px;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), 0 0 20px rgba(255, 213, 74, 0.3);
    border-color: var(--accent-gold);
}

/* Glassmorphism Effect */
.glassmorphism {
    background: rgb(14 72 77 / 85%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(8, 20, 46, 0.1);
}

.glassmorphism-dark {
    background: rgba(8, 20, 46, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 213, 74, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Icon Bounce */
.premium-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent-orange);
}

.card-icon {
    transition: var(--transition);
}

/* Glow Borders */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-orange), var(--primary-blue));
    border-radius: calc(var(--radius-card) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

/* Shimmer Loading / Shine Effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 70%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.shine-effect:hover::after {
    transform: rotate(30deg) translateX(100%);
}

/* Modal Fade Animation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 20, 46, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-gold);
    transform: scale(0.85);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Success Checkmark Anim */
.success-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
    animation: popCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popCheck {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}


--------------------------------------------------------------------
.inquiry-form-card.glassmorphism {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 38px;

    /* TRUE GLASS */
    background: rgba(255, 255, 255, 0.08) !important;

    /* Blur behind the glass */
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);

    /* Glass border */
    border: 1px solid rgba(255, 255, 255, 0.30);

    border-radius: 28px;

    /* Glass shadow */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -1px 1px rgba(0, 0, 0, 0.08);

    overflow: hidden;
}


/* Glass shine */
.inquiry-form-card.glassmorphism::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: rgba(255, 255, 255, 0.55);

    pointer-events: none;
}


/* =========================
   INPUTS
   ========================= */

.inquiry-form-card .form-control {
    width: 100%;
    box-sizing: border-box;

    min-height: 54px;
    padding: 14px 17px;

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.08) !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;

    border-radius: 14px;

    outline: none;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.08);

    transition: all 0.3s ease;
}


/* Placeholder */
.inquiry-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.60) !important;
}


/* Input hover */
.inquiry-form-card .form-control:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}


/* Input focus */
.inquiry-form-card .form-control:focus {
    background: rgba(255, 255, 255, 0.14) !important;

    border-color: rgba(255, 190, 60, 0.75) !important;

    box-shadow:
        0 0 0 3px rgba(255, 190, 60, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);

    transform: translateY(-1px);
}


/* =========================
   LABELS
   ========================= */

.inquiry-form-card .form-label {
    color: #ffffff !important;
    font-weight: 600;
}


/* =========================
   SELECT
   ========================= */

.inquiry-form-card select.form-control {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.inquiry-form-card select.form-control option {
    background: #174f52;
    color: #ffffff;
}


/* =========================
   BUTTON
   ========================= */

.inquiry-form-card .btn-primary {
    min-width: 200px;
    padding: 15px 32px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.12) !important;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 14px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);

    transition: all 0.3s ease;
}

.inquiry-form-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.20) !important;

    border-color: rgba(255, 255, 255, 0.55);

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(255, 190, 60, 0.12);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .inquiry-form-card.glassmorphism {
        padding: 25px 20px;
        border-radius: 22px;
    }

    .inquiry-form-card .form-row-2col {
        grid-template-columns: 1fr;
    }
}
