/* Base Styles */
:root {
    /* METANOIA core palette */
    --teal: #2A8CA3;              /* Teal Blue */
    --indigo: #432C73;            /* Deep Indigo */
    --wine: #8C1244;              /* Wine Plum */
    --red: #D73A2F;               /* Electric Red */
    --orange: #F77524;            /* Vibrant Orange */

    /* Derived tokens */
    --primary-bg: #0B0B0F;        /* almost-black */
    --surface-bg: #151324;
    --primary-color: var(--teal);
    --secondary-color: var(--indigo);
    --accent-color: var(--orange);
    --accent-strong: var(--red);
    --border-soft: rgba(255, 255, 255, 0.12);
    --card-glass: rgba(21, 19, 36, 0.82);

    --text-color: #f5f5ff;
    --muted-text: #a4a5c5;
    --light-text: #ffffff;

    --transition: all 0.3s ease;
}

.events-featured {
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px) saturate(140%);
}

.events-featured-media {
    flex: 0 0 260px;
}

.events-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-featured-label {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-text);
}

.events-featured-title {
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(120deg, #fef5ff, #ffb5ff, #63e0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.events-featured-text {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 991.98px) {
    .hero-theme-title {
        font-size: 2.4rem;
        letter-spacing: 0.18em;
    }

    .hero-theme-subtitle {
        font-size: 1.5rem;
    }

    .events-featured-media {
        flex: 0 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero-theme-title {
        font-size: 2rem;
    }

    .hero .hero-theme-subtitle {
        font-size: 1.8rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(42, 140, 163, 0.22), transparent 60%),
        radial-gradient(circle at bottom right, rgba(247, 117, 36, 0.2), transparent 60%),
        radial-gradient(circle at center, rgba(67, 44, 115, 0.35), transparent 65%),
        var(--primary-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-primary {
    background: linear-gradient(120deg, var(--teal), var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-fore-logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
}

.engineered-by {
    font-size: 0.85rem;
    color: var(--muted-text);
}

.engineered-by .engineered-logo-link img {
    height: 50px;
    width: auto;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    box-shadow: 0 0 0 1px rgba(42, 140, 163, 0.7), 0 18px 35px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(42, 140, 163, 0.85), 0 20px 40px rgba(0, 0, 0, 0.8);
    color: var(--light-text);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transform: translateY(-3px);
}

.btn-metanoia-cta {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Navbar */
.navbar {
    padding: 0.4rem 0;
    transition: var(--transition);
    background: radial-gradient(circle at top left, rgba(42, 140, 163, 0.4), transparent 55%),
                radial-gradient(circle at bottom right, rgba(140, 18, 68, 0.45), transparent 55%),
                rgba(11, 11, 15, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(11, 11, 15, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    background: linear-gradient(120deg, var(--teal), var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    text-align: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 20%, rgba(42, 140, 163, 0.35), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(247, 117, 36, 0.28), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(140, 18, 68, 0.33), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(5, 3, 8, 0.8), rgba(139, 18, 69, 0.45));*/
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 18px rgba(42, 140, 163, 0.9);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-theme-title {
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    font-size: 3rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #fef5ff, #ffb5ff, #63e0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 22px rgba(255, 153, 255, 0.65);
}

.hero-theme-subtitle {
    margin-bottom: 2.5rem;
    font-family: 'Playfair Display', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: #ffe9ff;
    text-shadow: 0 0 18px rgba(137, 41, 210, 0.85);
/* 🔒 LOCK POSITION – PREVENT MOVEMENT */
    position: relative;
    z-index: 5;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    pointer-events: none;

    /* 🧱 PREVENT LINE RE-FLOW */
    white-space: nowrap;
}

/* Nexus logo in hero – offset from top so it isn't covered by navbar */
.hero-nexus-logo {
    margin-top: 12rem; /* Nexus 2rem down from content start */
}

/* PRESENTS line between Nexus and Genesis logos */
.hero-presents {
    margin-top: 2rem;  /* distance below Nexus */
    margin-bottom: 1rem;
}

/* Genesis logo spacing below PRESENTS */
.hero-genesis-logo {
    margin-top: 1rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: white;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Glassmorphic helpers */
.glass-card {
    background: var(--card-glass);
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

/* About Section */
#about {
    background:
        linear-gradient(135deg, rgba(5, 3, 10, 0.80), rgba(12, 5, 22, 0.85)),
        radial-gradient(circle at top left, rgba(42, 140, 163, 0.22), transparent 60%),
        radial-gradient(circle at bottom right, rgba(140, 18, 68, 0.20), transparent 60%),
        url('/assets/img/about-bg.jpeg') center center / cover no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

#about h3 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--primary-color);
}
#about .row {
    justify-content: center;
}
#about .col-lg-6 {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
#about p {
    text-align: center;
    text-justify: inter-word;
    line-height: 1.8;
}
/* Reduce gap between About Genesis title and Welcome heading */
#about .section-header {
    margin-bottom: 1.2rem; /* reduce overall spacing */
}

#about h3 {
    margin-bottom: 0.6rem; /* tighter gap below "About Genesis" */
}
.about-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);

    /* CENTER CONTENT */
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
}

.about-image img {
transition: var(--transition);
}

.about-image:hover img {
transform: scale(1.03);
}
.about-image {
    display: none;
}
.counter-container {
display: flex;
align-items: center;
margin-top: 2rem;
}

.counter {
font-size: 3rem;
font-weight: 700;
color: var(--primary-color);
margin-right: 1rem;
line-height: 1;
}

/* Schedule Section */
#schedule {
    background:
        linear-gradient(135deg, rgba(6, 4, 14, 0.88), rgba(9, 6, 18, 0.92)),
        radial-gradient(circle at top, rgba(31, 155, 182, 0.20), transparent 55%),
        radial-gradient(circle at bottom, rgba(247, 117, 36, 0.18), transparent 55%),
        url('/assets/img/schedule-bg.JPG') center center / cover no-repeat;
    background-attachment: fixed;
}

#schedule,
#schedule * {
    color: var(--light-text);
}


#schedule .schedule-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-tabs .nav-pills {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
    justify-content: center;
}

.schedule-tabs .nav-link {
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    position: relative;
    margin: 0 0.35rem;
    transition: var(--transition);
}

.schedule-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 999px;
}


.schedule-item {
    background: var(--card-glass);
    border-radius: 18px;
    padding: 1.3rem 1.5rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    transition: var(--transition);
    max-width: 720px;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-item .time {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    margin-right: 1.5rem;
    min-width: 150px;
    text-align: center;
}

.schedule-item .event h4 {
    margin-bottom: 0.4rem;
    color: var(--light-text);
}

.schedule-item .event p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}




/* ============================= */
/* Schedule description clamp */
/* ============================= */

.schedule-item .event .event-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;              /* show only 2 lines */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Expanded state */
.schedule-item .event .event-desc.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

/* View more button */
.schedule-item .view-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0;
    margin-top: 0.4rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.schedule-item .view-more-btn:hover {
    text-decoration: underline;
}

/* Events Section */
#events {
    background:
        linear-gradient(135deg, rgba(6, 4, 14, 0.80), rgba(9, 6, 18, 0.85)),
        radial-gradient(circle at top, rgba(31, 155, 182, 0.20), transparent 55%),
        radial-gradient(circle at bottom, rgba(247, 117, 36, 0.14), transparent 55%),
        url('/assets/img/events-bg.JPEG') center center / cover no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

/* Gallery Section */
#gallery {
    background: linear-gradient(
        rgba(10, 15, 25, 0.75),
        rgba(10, 15, 25, 0.75)
    ),
    url("/assets/img/gallerybg.JPG") center / cover no-repeat;
}

#gallery,
#gallery * {
    color: var(--light-text);
}



.gallery-carousel {
    position:relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-glass);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px) saturate(140%);
}

.gallery-carousel .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

.gallery-carousel .carousel-item img {
    height: 520px;
    object-fit: cover;
}

.gallery-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
}

.gallery-carousel .carousel-indicators .active {
    background: linear-gradient(120deg, var(--teal), var(--orange));
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.9));
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
    width: 8%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-carousel .carousel-indicators {
    bottom: -28px;          /* moves dots below glass */
    margin-bottom: 0;
}
/* Highlights Carousel (post-highlights section) */
.highlights-carousel-inner {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 60%),
                radial-gradient(circle at bottom right, rgba(247, 117, 36, 0.14), transparent 65%),
                rgba(5, 4, 12, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.highlights-slide {
    height: 260px;
    border-radius: 26px;
    margin: 1.75rem auto;
    max-width: 920px;
    background: radial-gradient(circle at top, rgba(31, 155, 182, 0.38), transparent 55%),
                radial-gradient(circle at bottom, rgba(247, 117, 36, 0.38), transparent 55%),
                rgba(8, 8, 18, 0.98);
}

/* Sponsors Section */
#sponsors {
	background:
		linear-gradient(135deg, rgba(6, 4, 14, 0.80), rgba(9, 6, 18, 0.88)),
		radial-gradient(circle at top, rgba(31, 155, 182, 0.20), transparent 55%),
		radial-gradient(circle at bottom, rgba(247, 117, 36, 0.14), transparent 55%),
		url('/assets/img/events-bg.jpeg') center center / cover no-repeat;
	background-attachment: fixed;
	background-position: center center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 1rem;
    transition: var(--transition);
}

.sponsor-item:hover img {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* Contact Section */
#contact {
    background:
        linear-gradient(135deg, rgba(6, 4, 14, 0.85), rgba(9, 6, 18, 0.90)),
        radial-gradient(circle at top, rgba(31, 155, 182, 0.18), transparent 55%),
        url('/assets/img/Venue-bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    height: 50px;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at top left, rgba(42, 140, 163, 0.2), transparent 60%),
                radial-gradient(circle at bottom right, rgba(140, 18, 68, 0.22), transparent 60%),
                rgba(9, 9, 15, 0.85);
    color: var(--light-text);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px) saturate(140%);
    transition: var(--transition);
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
    border-radius: 24px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(42, 140, 163, 0.9), 0 0 25px rgba(247, 117, 36, 0.65);
    background: radial-gradient(circle at top left, rgba(42, 140, 163, 0.34), transparent 60%),
                radial-gradient(circle at bottom right, rgba(247, 117, 36, 0.3), transparent 60%),
                rgba(6, 6, 12, 0.98);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-map iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

/* Footer */
.footer {
    background: radial-gradient(circle at top left, rgba(31, 155, 182, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(67, 44, 115, 0.22), transparent 55%),
                #0b1026;
    color: var(--light-text);
    padding: 2.5rem 0 0;
}

.footer h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.footer p {
    color: var(--muted-text);
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--muted-text);
    transition: var(--transition);
    display: block;
}

/* Footer quick links in two columns on larger screens */
.footer-quick-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    column-gap: 3rem;
    row-gap: 0.35rem;
}

.footer-quick-links li {
    width: auto;
    text-align: center;
}


.footer-col-links {
    text-align: center;
}

.footer-col-designed {
    text-align: center;
}

.footer-designed-by {
    text-align: center;
    padding-top: 0.75rem;
}

.footer-designed-by .designed-by-label {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.footer-designed-by .designed-by-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.9rem;
}

.footer-designed-by img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.65));
}

@media (max-width: 767.98px) {
    .footer-col-links,
    .footer-col-designed {
        text-align: center;
    }

    .footer-col-links h5 {
        text-align: left;
    }

    .footer-quick-links {
        justify-content: center;
        column-gap: 2rem;
    }

    .footer-quick-links li {
        text-align: left;
    }

    .footer-designed-by img {
        height: 56px;
    }
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
}

.newsletter-form button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    width: 45px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.copyright {
    background-color: #0a0a0a;
    padding: 1.5rem 0;
    text-align: center;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    display: none !important;
}

.back-to-top.active {
    display: none !important;
}

.back-to-top:hover {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-item .time {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 90px; /* ensure content clears fixed navbar on mobile */
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .hero .hero-theme-subtitle {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2::after {
        width: 50px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    /* Mobile-specific video behavior – show full video without cropping sides */
    .video-background video {
        min-width: 0;
        min-height: 0;
        width: auto;
        height: 100%;
        object-fit: contain !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-nexus-logo {
        margin-top: 12rem;
    }

    #about h3 {
        text-align: center;
    }

    
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    
    .navbar-fore-logo {
        display: block;
        margin: 0 auto;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation Delay */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Metanoia micro-interactions */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(42, 140, 163, 0.0), 0 18px 35px rgba(0, 0, 0, 0.7);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 26px rgba(247, 117, 36, 0.7), 0 22px 45px rgba(0, 0, 0, 0.9);
        transform: translateY(-2px);
    }
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.parallax-layer {
    will-change: transform;
}
/* =====================================
   YOUTUBE VIDEO BACKGROUND (HERO)
   ===================================== */

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}



/* =========================================
   EVENT GALLERY – POSTER CAROUSEL
   ========================================= */

.event-gallery-carousel {
  background: transparent;
}

/* Add space around each slide */
.event-gallery-carousel .carousel-item {
  padding: 50px 0; /* top-bottom spacing */
}

/* Wrapper keeps poster away from controls */
.event-poster-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 60px; /* left-right gap from arrows */
}

/* Poster sizing – NO stretch */
.event-poster-img {
  max-width: 100%;
  max-height: 1350px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

/* Push arrows outward */
.event-gallery-carousel .carousel-control-prev {
  left: -60px;
}

.event-gallery-carousel .carousel-control-next {
  right: -60px;
}

/* Mobile safety */
@media (max-width: 768px) {
  .event-poster-wrapper {
    margin: 0 20px;
  }

  .event-gallery-carousel .carousel-control-prev,
  .event-gallery-carousel .carousel-control-next {
    left: 0;
    right: 0;
  }
}

/* ===== EVENT GALLERY 3D GLASS CAROUSEL ===== */

.event-carousel-wrapper {
  position: relative;
  height: 720px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-shard-bg {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-radius: 30px;
  z-index: 1;
}

.event-carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1600px;
  z-index: 2;
}

.event-slide {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 620px;              /* Adjust if needed */
  aspect-ratio: 1080 / 1350;  /*  CORRECT POSTER RATIO */

  transform-style: preserve-3d;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s ease;
}

.event-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /*  keeps full poster visible */
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* ACTIVE */
.event-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
}

/* LEFT */
.event-slide.left {
  transform: translate(-140%, -50%) rotateY(28deg) scale(0.85);
  opacity: 0.55;
  z-index: 3;
}

/* RIGHT */
.event-slide.right {
  transform: translate(40%, -50%) rotateY(-28deg) scale(0.85);
  opacity: 0.55;
  z-index: 3;
}

/* Navigation */
.event-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.event-nav.prev { left: 10px; }
.event-nav.next { right: 10px; }


/* ===============================
   EVENT GALLERY – MOBILE FIXES
   =============================== */

/* Tablets */
@media (max-width: 992px) {
  .event-slide {
    height: 520px;
  }

  .event-gallery-carousel {
    padding: 60px 0;
  }
}

/* Phones */
@media (max-width: 576px) {
  .event-slide {
    height: 420px;                /* 👈 fits mobile */
    left: 50%;
    top: 50%;
  }

  /* Reduce glass shard padding */
  .event-gallery-carousel {
    padding: 40px 0;
  }

  /* Move arrows outward */
  .carousel-control-prev {
    left: -12px;
  }

  .carousel-control-next {
    right: -12px;
  }

  /* Smaller indicators */
  .carousel-indicators button {
    width: 6px;
    height: 6px;
  }
}

/*=============================
   About Section – MOBILE FIXES
   =============================== */
   @media (max-width: 768px) {
    #about .col-lg-6 {
        padding: 0 1.2rem;
        text-align: left;
    }

    #about p {
        text-align: left;
    }
}



