/* ============================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ============================================================ */
body {
    background-color: white;
}

p {
    font-family: 'Comic Neue', cursive;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Boldonse', sans-serif;
}

/* Neubrutalism Global Utilities */
.dashed-border {
    border: 2px dashed #00000033;
}

.bg-brand-purple {
    background-color: #85aaf38c;
}

.bg-btn-purple {
    background-color: #6332fa;
}

/* ============================================================
   2. NAVIGATION & HEADER SECTION
   ============================================================ */
#main-header {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    margin: 0 auto;
}

/* Desktop Glass Effect (Permanently Floating Pill) */
.nav-glass {
    top: 15px !important;
    width: 95% !important;
    max-width: 1200px;
    border-radius: 999px;
    background: #ffffffbd !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header UI Tweaks */
.no-border {
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Dropdown Menu Animation */
.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown-group:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================================
   3. MOBILE MEGA MENU SECTION
   ============================================================ */
#mega-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

#mega-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#menu-panel {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-120%);
}

#mega-menu.active #menu-panel {
    transform: translateY(0);
}

/* Hide Scrollbar for Mobile Menu */
.lg\:hidden::-webkit-scrollbar {
    display: none;
}

/* Burger Menu Icon (Wave Bars) */
.wave-bar {
    width: 26px;
    height: 3px;
    background-color: #4C1D95;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Burger Animation to X */
.active-burger .wave-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.active-burger .wave-bar:nth-child(2) {
    opacity: 0;
}

.active-burger .wave-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   4. HERO & DECORATIVE ANIMATIONS
   ============================================================ */
.hero-bg-purple {
    background-color: #7B2CBF;
}

/* Floating Elements (Sun, Plane, Clouds) */
@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: subtleFloat 4s ease-in-out infinite;
}

/* Spinning slow icons */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-spin-custom {
    animation: spin-slow 12s linear infinite;
}

/* Hero Image Entry Animation */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-hero-img {
    animation: fadeInScale 1s ease-out forwards;
}

/* ============================================================
   5. BUTTONS & CTA SECTION
   ============================================================ */
/* Button Hover Text Slide Effect */
.cta-btn-inner span {
    transition: 0.4s transform;
}

.cta-btn:hover .cta-btn-inner span {
    transform: translateY(-100%);
}

.btn-text-slide {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.primary-button:hover .btn-text-slide {
    transform: translateY(-100%);
}

/* Neubrutalism Premium Button */
.btn-premium {
    background-color: #6c38ff;
    box-shadow: 0 8px 0 0 #000;
    transition: all 0.1s;
}

.btn-premium:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 0 #000;
}

/* ============================================================
   6. CARDS, STACKING & GRID SECTION
   ============================================================ */

/* Custom Dotted Line Styles to match your image */
.ticket-dashed-h {
    border-top: 2px dashed rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: 1.5rem 0;
}

.ticket-dashed-v {
    border-left: 2px dashed rgba(0, 0, 0, 0.2);
    height: 100%;
}

.check-circle {
    background: #000;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Generic Grid Cards */
.grid-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 160px;
    cursor: pointer;
}

.grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s transform;
}

.grid-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* GSAP/Scroll Stacking Cards */
.card-stack-item {
    position: absolute;
    will-change: transform, opacity;
    transform-origin: center center;
    transition: none !important;
}

/* Smooth transition for straightening effect only */
.card-inner {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    /* Opacity transition hata di gayi hai */
}

/* Sticky activation class */
.is-stuck .card-inner {
    transform: rotate(0deg) translateY(0px) !important;
    /* Opacity control yahan se hata diya hai taaki HTML wali opacity hi chale */
}

/* Desktop Stacking Logic */
@media (min-width: 1024px) {
    .desktop-card {
        position: sticky;
        width: 100%;
        top: 80px;
        margin-bottom: 150px;
        transition: transform 0.4s ease;
    }

    .card-1 {
        z-index: 1;
        top: 140px;
    }

    .card-2 {
        z-index: 2;
        top: 180px;
    }

    .card-3 {
        z-index: 3;
        top: 220px;
    }

    .card-4 {
        z-index: 4;
        top: 260px;
    }

    .card-5 {
        z-index: 5;
        top: 300px;
    }
}

/* ============================================================
    ABOUT US SECTION
   ============================================================ */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hyperlink-style {
    color: #2f80ed;
    background: #e6f2ff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all 0.2s ease;
}

.hyperlink-style:hover {
    background: #cfe7ff;
    color: #1c5dc9;
    text-decoration-color: #1c5dc9;
    text-decoration: underline !important;
    text-decoration-color: #2f80ed;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}


.animate-ticker {
    display: flex;
    width: 200%;
    animation: ticker 30s linear infinite;
}

/* This creates that soft purple shadow/glow from your image */
.section-glow-overlay {
    background: linear-gradient(to bottom, transparent, rgba(47, 46, 46, 0.4) 50%, #ffffff 100%);
}

/* ============================================================
   7. TICKERS & MARQUEE SECTION
   ============================================================ */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-ticker,
.animate-scroll,
.animate-marquee-infinite {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* Pink Slanted Ribbon Ticker */
.ribbon-slant {
    transform: translateY(50%) rotate(-2.5deg) scale(1.1);
    background-color: #FF00CC;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.animate-ribbon-text {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* ============================================================
   8. MISC UI COMPONENTS (FAQs, GALLERY, MASKING)
   ============================================================ */
/* Swiper Customization */
.swiper {
    width: 100%;
    padding: 20px 0 50px 0;
}

/* Flower/Star Shape Mask */
.member-mask {
    clip-path: polygon(50% 0%, 63% 5%, 72% 15%, 83% 13%, 89% 23%, 100% 30%, 97% 43%, 100% 56%, 93% 68%, 91% 81%, 79% 84%, 68% 94%, 53% 91%, 40% 98%, 26% 92%, 14% 92%, 8% 80%, 0% 70%, 5% 57%, 2% 43%, 6% 31%, 14% 19%, 24% 16%, 35% 6%);
}

/* Instagram Hover Pulse */
.insta-pulse {
    position: relative;
    width: 48px;
    height: 48px;
    background-color: #ff00ba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0);
}

.group:hover .insta-pulse {
    transform: scale(1);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.insta-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #ff00ba;
    border-radius: 50%;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    opacity: 0;
}

.group:hover .insta-pulse::after {
    opacity: 1;
}

/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.consultNowBtnContainer_uniqueXy {
    position: absolute !important;
    bottom: 3% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 999 !important;
}

/* Alpine.js Cloak */
[x-cloak] {
    display: none !important;
}