/* ------------------------------------------------
   1. VARIABLES & RESET
------------------------------------------------ */
:root {
    /* Purple Gradient Theme */
    --color-bg: #0f0c29;
    --color-bg-gradient: linear-gradient(135deg, #24243e, #302b63, #0f0c29);
    --color-bg-alt: #1a1635;
    --color-text-main: #E8E6F0;
    --color-text-muted: #B8B5C8;
    --color-heading: #FFFFFF;
    --color-accent: #9D4EDD;
    --color-accent-light: #C77DFF;
    --color-accent-bright: #E0AAFF;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Spacing */
    --header-height: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-gradient);
    background-attachment: fixed;
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
}

/* Custom Cursor Hide (Only on desktop) */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------------------------------
   2. TYPOGRAPHY & UTILITIES
------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-bright) 0%, #FFF 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------
   3. HEADER & NAVIGATION
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    height: var(--header-height);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-heading);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--color-accent-light);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent-light);
}

.nav-link.active {
    color: var(--color-accent-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent-light);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--color-heading);
    cursor: pointer;
    user-select: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(15, 12, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .nav-link.active::after {
        display: none;
    }

    .logo-img {
        height: 50px;
    }
}

/* ------------------------------------------------
   4. HERO SECTION
------------------------------------------------ */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-accent-bright) 0%, #FFF 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 500px;
    color: var(--color-text-muted);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
}

.stats-bar {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-accent-light);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
}

.hero-img-container {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent-light);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ------------------------------------------------
   6. CARDS & GRIDS
------------------------------------------------ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 40px;
    transition: transform 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-accent-light);
}

.card-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    flex-grow: 1;
}

/* Event Type Specifics */
.event-type-card {
    text-align: center;
    padding: 50px 30px;
}

/* Completed Event Card */
.event-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.event-thumb {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.event-card:hover .event-thumb {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.event-details {
    padding: 30px;
    background: var(--color-bg-alt);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.event-meta {
    font-size: 0.8rem;
    color: var(--color-accent-light);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ------------------------------------------------
   7. TIMELINE (Upcoming)
------------------------------------------------ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 80px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 80px;
    position: relative;
    width: 50%;
    padding: 0 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--color-bg);
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: var(--color-bg-alt);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-date {
    font-family: var(--font-accent);
    color: var(--color-accent-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.status-open {
    background: rgba(57, 255, 20, 0.1);
    color: #39FF14;
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.status-invite {
    background: rgba(255, 60, 172, 0.1);
    color: #FF3CAC;
    border: 1px solid rgba(255, 60, 172, 0.2);
}

.status-soon {
    background: rgba(255, 199, 0, 0.1);
    color: #FFC700;
    border: 1px solid rgba(255, 199, 0, 0.2);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }
}

/* ------------------------------------------------
   8. CONTACT FORM
------------------------------------------------ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    background: var(--color-bg-alt);
    padding: 60px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-heading);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-textarea {
    resize: vertical;
}

.contact-info-item {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.contact-info-item strong {
    color: var(--color-accent-light);
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

/* ------------------------------------------------
   9. FOOTER
------------------------------------------------ */
.footer {
    background: linear-gradient(180deg, rgba(26, 22, 53, 0.6) 0%, rgba(15, 12, 41, 0.95) 100%);
    backdrop-filter: blur(20px);
    color: white;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent-light);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-newsletter {
    max-width: 100%;
}

.newsletter-input {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-main);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-btn {
    padding: 12px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon span {
    position: relative;
    z-index: 1;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    border-top: none;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-light);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* ------------------------------------------------
   10. LIGHTBOX GALLERY
------------------------------------------------ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 2px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ------------------------------------------------
   11. CUSTOM CURSOR
------------------------------------------------ */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@media (hover: none) and (pointer: coarse) {
    #cursor-canvas {
        display: none;
    }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 80px 0 30px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-section h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-heading);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    list-style: none;
}

/* ================================================
   12. INTERACTIVE ANIMATIONS & EFFECTS
================================================ */

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.6);
}

/* Cursor Particles */
.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--color-accent-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: particle-fade 0.8s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Click Burst Particles */
.click-burst {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-accent-bright);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: burst-fade 0.6s ease-out forwards;
}

@keyframes burst-fade {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Card Glow Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    opacity: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(157, 78, 221, 0.15),
            transparent 40%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* Event Countdown Styles */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    font-family: var(--font-heading);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 70px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-bright);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
}

.countdown-finished {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    border-radius: 8px;
    border: 2px solid var(--color-accent);
}

.countdown-finished-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.countdown-finished-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-bright);
}

/* Skeleton Loading */
.skeleton-loading {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Utility Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Pulsing Glow Animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(157, 78, 221, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {

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

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .countdown-item {
        padding: 10px 15px;
        min-width: 60px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-particle,
    .click-burst {
        display: none;
    }
}

/* ================================================
   13. CAROUSEL BANNER
================================================ */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px;
    color: white;
}

.carousel-slide-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-slide-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    max-width: 600px;
}

.carousel-slide-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-slide-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-prev {
    left: 20px;
}

.carousel-arrow-next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--color-accent-bright);
    border-color: var(--color-accent-bright);
    width: 30px;
    border-radius: 6px;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .carousel-slide-title {
        font-size: 1.8rem;
    }

    .carousel-slide-description {
        font-size: 0.95rem;
    }

    .carousel-slide-content {
        padding: 20px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-arrow-prev {
        left: 10px;
    }

    .carousel-arrow-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 300px;
        border-radius: 4px;
    }

    .carousel-slide-title {
        font-size: 1.5rem;
    }

    .carousel-slide-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}

/* ==============================================
   MOBILE RESPONSIVE FIXES - APPEND TO END
============================================== */

/* Fix hamburger alignment */
@media (max-width: 768px) {
    .hamburger {
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* Fix text wrapping and word breaks */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.text-gradient {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
}

/* Better mobile typography */
@media (max-width: 768px) {

    h1,
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {

    h1,
    .hero-title {
        font-size: 1.9rem !important;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Fix about page layout */
@media (max-width: 768px) {

    .about-content,
    .promises-grid,
    .card-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .about-text h2,
    .about-text h1 {
        margin-bottom: 1rem;
    }

    .about-text p {
        margin-bottom: 1rem;
        max-width: 100%;
    }
}

/* Ensure images don't overflow */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .about-img-container {
        max-width: 100%;
        margin: 20px auto;
    }
}

/* Fix section padding on mobile */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
}

/* ===============================================
   MOBILE LAYOUT ORDER FIX - STACK IMAGE ON TOP
=============================================== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    /* Image/carousel appears first (top) */
    .hero-visual {
        order: -1 !important;
        width: 100%;
        margin-bottom: 40px;
    }

    /* Text content appears second (below) */
    .hero-content>div:first-child {
        order: 1 !important;
    }

    /* Center text on mobile */
    .hero-content {
        text-align: center !important;
    }

    .hero-subtitle {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
    }

    .stats-bar {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Same fix for about page */
@media (max-width: 992px) {
    .about-content {
        display: flex !important;
        flex-direction: column !important;
    }

    .about-img-container {
        order: -1 !important;
        margin-bottom: 30px !important;
    }

    .about-text {
        order: 1 !important;
        text-align: center !important;
    }
}

/* Ensure carousel is visible and properly sized */
@media (max-width: 992px) {
    .hero-carousel {
        width: 100% !important;
        height: 400px !important;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 300px !important;
    }

    .hero-visual {
        margin-bottom: 30px;
    }
}

/* ===============================================
   HAMBURGER ICON - LEFT ALIGNMENT
=============================================== */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row-reverse !important;
    }

    .hamburger {
        order: -1 !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    .logo {
        order: 0 !important;
        margin-left: auto !important;
    }
}

/* ===============================================
   MOBILE HEADER - LOGO LEFT, HAMBURGER RIGHT
=============================================== */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
    }

    .logo {
        order: 0 !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    .hamburger {
        order: 1 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 8px !important;
    }

    /* Ensure consistent spacing */
    .header {
        padding: 0 !important;
    }
}

/* ===============================================
   BETTER CTA BUTTON PADDING
=============================================== */

/* Desktop buttons - more generous padding */
.btn {
    padding: 16px 40px !important;
}

/* Tablet - good touch targets */
@media (max-width: 992px) {
    .btn {
        padding: 15px 35px !important;
        font-size: 1rem !important;
    }
}

/* Mobile - larger touch targets */
@media (max-width: 768px) {
    .btn {
        padding: 16px 32px !important;
        min-height: 50px !important;
        font-size: 0.95rem !important;
    }

    .hero-buttons {
        gap: 15px !important;
        margin-bottom: 2rem !important;
    }
}

/* Small mobile - full width with good padding */
@media (max-width: 576px) {
    .btn {
        padding: 18px 24px !important;
        min-height: 54px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-buttons {
        gap: 12px !important;
    }
}

/* ===============================================
   FIX CAROUSEL IMAGE DISPLAY
=============================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3) !important;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1 !important;
    pointer-events: auto;
}

.carousel-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Ensure images load properly */
.carousel-slide img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile carousel fixes */
@media (max-width: 992px) {
    .hero-carousel {
        height: 400px !important;
        margin-bottom: 30px !important;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 300px !important;
    }
}

/* ===============================================
   ACTIVE NAV LINK AS BUTTON STYLE
=============================================== */

/* Remove underline from active nav link */
.nav-link.active::after {
    display: none !important;
}

/* Style active nav link as button */
.nav-link.active {
    background: var(--color-accent) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

/* Hover effect for active button */
.nav-link.active:hover {
    background: var(--color-accent-light) !important;
    transform: translateY(-2px) !important;
}

/* Regular nav links - ensure consistent padding */
.nav-link {
    padding: 10px 16px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    background: rgba(157, 78, 221, 0.1) !important;
}

/* Mobile nav - adjust for button style */
@media (max-width: 768px) {
    .nav-link.active {
        padding: 12px 24px !important;
    }

    .nav-link {
        padding: 12px 20px !important;
        margin: 5px 20px !important;
    }
}

/* ===============================================
   FIX TEXT OVERLAP AND WRAPPING ISSUES
=============================================== */

/* Better text wrapping for all paragraphs */
p,
.card-text,
.event-details p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    line-height: 1.7 !important;
}

/* Fix specific text sections that might overlap */
.section p,
.text-center p,
.card p {
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
}

/* Ensure proper spacing in centered text */
.text-center {
    text-align: center !important;
    padding: 0 15px !important;
}

.text-center p {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}

/* Fix any transform or animation that might cause overlap */


/* Mobile text fixes */
@media (max-width: 768px) {
    .text-center p {
        max-width: 100% !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .section {
        overflow: hidden !important;
    }
}