/* CSS Variables & Theme Setup */
:root {
    --bg-base: #f8f9fc;
    --bg-surface: rgba(240, 245, 250, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-highlight: rgba(0, 0, 0, 0.08);

    --accent-cyan: #00a8b5;
    --accent-blue: #0066ff;
    --accent-orange: #f96502;
    --accent-pink: #ff00b3;

    --text-primary: #1a1a24;
    --text-secondary: #4a4a5e;
    --text-muted: #8a8a9e;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1280px;

    --gradient-mixed: linear-gradient(135deg, #ff7000 0%, #3f3a33 100%);
}

/* ===================== Loading Screen ===================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-screen.exit {
    opacity: 0;
    transform: scale(1.15);
    filter: brightness(3) blur(10px);
    pointer-events: none;
}

.loading-screen.hidden {
    display: none;
}

.loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* Magical particles */
.loading-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.loading-particles.active {
    opacity: 1;
}

.loading-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-fly 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes particle-fly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Light flash effect */
.loading-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.6) 0%, rgba(0, 168, 181, 0.4) 40%, transparent 70%);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.loading-screen.flash::after {
    opacity: 1;
}

/* Prevent scroll while loading */
body.loading-active {
    overflow: hidden;
}

/* ===================== End Loading Screen ================ */

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}

.z-10 {
    z-index: 10;
}

.text-center {
    text-align: center;
}

.max-w-lg {
    max-width: 800px;
}

.max-w-md {
    max-width: 500px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section {
    padding: 8rem 0;
}

.padding-y {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Ambient Glow Backgrounds */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.8;
    }
}

.glow-1 {
    top: -5%;
    left: -5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);

}

.glow-2 {
    bottom: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    /* Green */
}

.glow-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(43, 112, 255, 0.15) 0%, transparent 70%);
    /* Blue */
}

.glow-4 {
    top: 20%;
    right: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    /* Pink */
}

.glow-5 {
    bottom: 20%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    /* Teal */
}

/* Glassmorphism & Cards */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-nav.scrolled .nav-bg-video {
    opacity: 1 !important;
}

.glass-nav.scrolled .nav-link {
    color: var(--text-primary);
}

.glass-nav.scrolled .nav-link:hover {
    color: var(--accent-cyan);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-8px);
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px rgba(0, 243, 255, 0.1);
}

/* Media Placeholders Styles */
.media-placeholder {
    background: rgba(240, 240, 245, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--accent-orange);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.media-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
}



.icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 20px;
    background: rgba(245, 245, 250, 0.4);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.icon-placeholder img {
    animation: float-3d 6s ease-in-out infinite;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0px 0px 15px rgba(0, 243, 255, 0.3));
    transform-style: preserve-3d;
}

/* Add delays to child images sequentially via structural pseudo-classes if desired,
   but we can also just let them float randomly by adding random animation delays in CSS */
.delay-100 .icon-placeholder img {
    animation-delay: -1s;
}

.delay-150 .icon-placeholder img {
    animation-delay: -2s;
}

.delay-200 .icon-placeholder img {
    animation-delay: -3s;
}

.delay-250 .icon-placeholder img {
    animation-delay: -4s;
}

.delay-300 .icon-placeholder img {
    animation-delay: -5s;
}

.icon-placeholder span {
    font-size: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* Typography elements */
.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

#objectives .section-desc {
    color: #ffffff;
}

.body-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.body-text.large-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #3f3a33);
    color: var(--bg-base);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 990;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}



.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Override .media-placeholder styles for fullscreen hero */
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    will-change: transform;
    transform-origin: center;
    overflow: hidden;
}

.hero-bg-media::before {
    display: none;
}

.hero-bg-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f8f9fc24 10%, rgb(255 255 255 / 16%) 100%);
    z-index: -1;
} */

.hero-content {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    will-change: transform, opacity;
    text-align: center;
    width: 100%;
}

.hero-logo-wrapper {
    margin-bottom: 1rem;
    perspective: 1000px;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.hero-save-date {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Minimalist Curved Countdown Timer */
.countdown-curve-container {
    margin-top: 2rem;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-curve {
    display: flex;
    gap: 12px;
    align-items: center;
}

.time-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: clamp(80px, 15vh, 150px);
    height: clamp(80px, 15vh, 150px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(249, 101, 2, 0.15),
        0 0 50px rgba(0, 168, 181, 0.08),
        inset 0 -8px 15px rgba(254, 110, 6, 0.08),
        inset 0 8px 15px rgba(0, 168, 181, 0.08);
    border: none;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

/* Stagger the float animation for each circle */
.time-circle:nth-child(1) {
    animation-delay: 0s;
}

.time-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.time-circle:nth-child(3) {
    animation-delay: 1s;
}

.time-circle:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes circle-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Rotating gradient ring border */
.time-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            var(--accent-cyan),
            transparent 30%,
            var(--accent-orange),
            transparent 60%,
            var(--accent-cyan));
    z-index: -1;
    animation: spin-ring 6s linear infinite;
    opacity: 0.7;
}

/* White fill to mask the inside of the ring */
.time-circle::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.97);
    z-index: -1;
}

@keyframes spin-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pulsing outer glow */
@keyframes circle-pulse {

    0%,
    100% {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.25),
            0 0 25px rgba(249, 101, 2, 0.12),
            0 0 50px rgba(0, 168, 181, 0.06);
    }

    50% {
        box-shadow:
            0 20px 45px rgba(0, 0, 0, 0.3),
            0 0 35px rgba(249, 101, 2, 0.25),
            0 0 60px rgba(0, 168, 181, 0.15);
    }
}

.time-circle {
    animation: circle-pulse 3s ease-in-out infinite;
}

.time-circle:hover {
    transform: translateY(-10px) scale(1.08) !important;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(249, 101, 2, 0.3),
        0 0 70px rgba(0, 168, 181, 0.2);
}

.time-circle:hover::before {
    opacity: 1;
    animation-duration: 2s;
}

.time-circle.outer {
    transform: translateY(-24px);
}

.time-circle.inner {
    transform: translateY(24px);
}

.time-value {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vh, 60px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-top: 4px;
    background: linear-gradient(180deg, #1a1a24 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-label {
    font-family: var(--font-body);
    font-size: clamp(8px, 1.2vh, 12px);
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.15em;
    margin-top: 6px;
    text-transform: uppercase;
}

/* Responsive adjustments for curved timer */
@media (min-width: 640px) {
    .countdown-curve {
        gap: 24px;
    }

    .time-circle {
        width: 80px;
        height: 80px;
    }

    .time-circle.outer {
        transform: translateY(-32px) !important;
    }

    .time-circle.inner {
        transform: translateY(32px) !important;
    }

    .time-value {
        font-size: 36px;
    }

    .time-label {
        font-size: 9px;
    }
}

@media (min-width: 768px) {
    .countdown-curve {
        gap: 32px;
    }

    .time-circle {
        width: 90px;
        height: 90px;
    }

    .time-circle.outer {
        transform: translateY(-48px) !important;
    }

    .time-circle.inner {
        transform: translateY(48px) !important;
    }

    .time-value {
        font-size: 48px;
    }

    .time-label {
        font-size: 12px;
        margin-top: 8px;
    }
}

@media (min-width: 1024px) {
    .countdown-curve {
        gap: 48px;
    }

    .time-circle {
        width: 130px;
        height: 130px;
    }

    .time-circle.outer {
        transform: translateY(-64px) !important;
    }

    .time-circle.inner {
        transform: translateY(64px) !important;
    }

    .time-value {
        font-size: 54px;
        margin-top: 8px;
    }

    .time-label {
        font-size: 14px;
    }
}

/* Welcome Section */
#welcome {
    background-image: linear-gradient(180deg, #292d2e, #bb550ade);
    box-shadow: 0px 3px 32px #00a8b53b;
}

.split-layout {
    display: flex;
    gap: 5rem;
}

.align-center {
    align-items: center;
}

.split-image {
    flex: 1;
}

.split-text {
    flex: 1;
}

.welcome-placeholder {
    /* padding-bottom: 120%;  */
    border-radius: 24px;
}

.floating-badge {
    position: absolute;
    padding: 1rem 1.5rem;
    border-color: var(--glass-highlight);
    background: rgba(240, 240, 245, 0.8);
}

.decorative-badge-1 {
    bottom: -30px;
    right: -30px;
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.badge-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.decorative-badge-2 {
    top: 40px;
    left: -40px;
}

.badge-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.text-box {
    background-color: rgba(240, 240, 245, 0.8);
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 9px 20px 50px #00000059;
    border: 8px solid var(--accent-orange);
}

.quote-wrapper {
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-orange);
}

.quote-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    top: -10px;
    left: -15px;
    color: var(--glass-border);
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}


/* Target Audience Grid Colorful Accents */
.audience-grid .glass-card:nth-child(10n+1) {
    border-bottom: 3px solid var(--accent-cyan);
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+2) {
    border-bottom: 3px solid var(--accent-pink);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+3) {
    border-bottom: 3px solid var(--accent-green);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+4) {
    border-bottom: 3px solid var(--accent-orange);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+5) {
    border-bottom: 3px solid var(--accent-orange);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+6) {
    border-bottom: 3px solid var(--accent-teal);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+7) {
    border-bottom: 3px solid var(--accent-blue);
    background: linear-gradient(180deg, rgba(43, 112, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+8) {
    border-bottom: 3px solid var(--accent-pink);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+9) {
    border-bottom: 3px solid var(--accent-cyan);
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card:nth-child(10n+10) {
    border-bottom: 3px solid var(--accent-orange);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.audience-grid .glass-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%); */
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Objectives section */
/* Objectives section */
.bg-accent-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.list-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.list-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Objectives Grid Colorful Accents - Modern Top Borders */
.masonry-grid .list-card {
    border-top: 4px solid #ffffff;
}



.list-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.list-card:hover::before {
    opacity: 1;
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
    z-index: 0;
}

.inline-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    z-index: 1;
    /* Apply 3D float animation */
    animation: obj-float 5s ease-in-out infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.inline-icon img {
    /* 3D effect on the SVG icon */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.list-card:hover .inline-icon img {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    transform: scale(1.15);
}

@keyframes obj-float {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg) rotateX(0deg);
    }

    50% {
        transform: translateY(-10px) rotateY(18deg) rotateX(12deg);
    }
}

.card-content {
    z-index: 1;
}

.card-content p {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0;
    color: #ffffff;
    line-height: 1.6;
}



/* Venue */

.venue-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.venue-bg {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.venue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
}

.venue-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.7);
}

.venue-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.venue-location {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
}

/* Animations Logic */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes float-3d {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
    }

    25% {
        transform: translateY(-8px) rotateX(10deg) rotateY(-10deg) scale(1.05);
    }

    50% {
        transform: translateY(0px) rotateX(0deg) rotateY(15deg) scale(1);
    }

    75% {
        transform: translateY(8px) rotateX(-10deg) rotateY(10deg) scale(0.95);
    }

    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
    }
}

.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(50px);
}

.reveal-right {
    transform: translateX(-50px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-150 {
    transition-delay: 0.15s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-250 {
    transition-delay: 0.25s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-350 {
    transition-delay: 0.35s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-450 {
    transition-delay: 0.45s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-550 {
    transition-delay: 0.55s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-layout {
        flex-direction: column;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero .title {
        font-size: 3.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bg-media {
        background-position: center;
    }

    .masonry-grid {
        column-count: 1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile menu: switch to hamburger at 1200px */
@media (max-width: 1200px) {

    .nav-links,
    .glass-nav .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }
}

@media (max-width: 768px) {

    .hero .title {
        font-size: 2.8rem;
    }

    .hero-card {
        flex: auto;
        width: 100%;
        max-width: 400px;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-block {
        min-width: 60px;
        padding: 0.5rem;
    }

    .countdown-curve-container {
        padding: 0 8px;
    }

    .countdown-curve {
        gap: 8px;
    }

    .time-circle {
        width: 70px;
        height: 70px;
    }

    .time-circle.outer {
        transform: translateY(-16px) !important;
    }

    .time-circle.inner {
        transform: translateY(16px) !important;
    }

    .time-value {
        font-size: 22px;
    }

    .time-label {
        font-size: 7px;
    }

    .floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        top: auto;
        left: auto;
        margin-top: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .countdown-curve {
        gap: 6px;
    }

    .time-circle {
        width: 60px;
        height: 60px;
    }

    .time-circle.outer {
        transform: translateY(-12px) !important;
    }

    .time-circle.inner {
        transform: translateY(12px) !important;
    }

    .time-value {
        font-size: 18px;
    }

    .time-label {
        font-size: 6px;
        margin-top: 2px;
    }
}

/* ===================== Welcome Section Background Video ===================== */
.welcome-section {
    position: relative;
    overflow: hidden;
}

.welcome-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.welcome-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.welcome-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* background: rgba(248, 249, 252, 0.75); */
    backdrop-filter: blur(2px);
}

.welcome-section>.container {
    position: relative;
    z-index: 2;
}

/* ===================== Welcome Three-Column Layout ===================== */
.welcome-three-col {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    padding: 0 4%;
}

.welcome-col {
    position: relative;
}

.welcome-col-chair {
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-col-message .text-box {
    width: 100%;
}

/* Portrait cards - smaller for 3-col */
.welcome-chair-portrait {
    position: relative;
    border-radius: 20px;
    max-width: 320px;
    width: 100%;
}

.welcome-chair-portrait .welcome-placeholder {
    border-radius: 20px;
    overflow: hidden;
}

.welcome-chair-portrait .welcome-placeholder img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.welcome-chair-portrait:hover .welcome-placeholder img {
    transform: scale(1.03);
}

/* Floating badges - positioned on edges of the card */
.welcome-chair-portrait .decorative-badge-1 {
    bottom: -18px;
    right: -10px;
    max-width: 250px;
}

.welcome-chair-portrait .decorative-badge-2 {
    top: -115px;
    left: -10px;
    max-width: 320px;
}

/* ===================== Responsive: Welcome 3-col ===================== */
/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .welcome-three-col {
        grid-template-columns: 1fr 1.8fr 1fr;
        gap: 1.5rem;
        padding: 0 3%;
    }

    .welcome-chair-portrait {
        max-width: 260px;
    }

    .welcome-chair-portrait .decorative-badge-2 {
        max-width: 230px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .welcome-three-col {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
        padding: 0 5%;
    }

    .welcome-col-message {
        grid-column: 1 / -1;
        order: -1;
    }

    .welcome-col-chair {
        justify-content: center;
    }

    .welcome-chair-portrait {
        max-width: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .welcome-three-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5%;
    }

    .welcome-col-message {
        order: -1;
    }

    .welcome-col-chair {
        justify-content: center;
    }

    .welcome-chair-portrait {
        max-width: 280px;
    }

    .welcome-chair-portrait .decorative-badge-1 {
        right: 5px;
        bottom: -15px;

    }

    .welcome-chair-portrait .decorative-badge-2 {
        left: 5px;
        top: 15px;
        max-width: 250px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .welcome-three-col {
        padding: 0 3%;
        gap: 1.5rem;
    }

    .welcome-chair-portrait {
        max-width: 260px;
    }

    .welcome-chair-portrait .decorative-badge-1 {
        right: 0;
        bottom: -12px;
    }

    .welcome-chair-portrait .decorative-badge-2 {
        left: 0;
        top: 10px;

    }
}

/* ===================== 3D Rotating Carousel ===================== */
.carousel-wrapper {
    background-image: url(assets/audience.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 530px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
}

.carousel-inner {
    --card-w: 140px;
    --card-h: 190px;
    --translateZ: 340px;
    --rotateX: -12deg;

    position: relative;
    width: var(--card-w);
    height: var(--card-h);
    transform-style: preserve-3d;
    animation: carousel-rotate 28s linear infinite;
}

@keyframes carousel-rotate {
    from {
        transform: rotateX(var(--rotateX)) rotateY(0deg);
    }

    to {
        transform: rotateX(var(--rotateX)) rotateY(360deg);
    }
}

/* Pause ONLY when hovering a card, or when .paused class is set (click) */
.carousel-inner:has(.carousel-card:hover),
.carousel-wrapper.paused .carousel-inner {
    animation-play-state: paused;
}

.carousel-card {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 0.8rem;
    text-align: center;
    cursor: pointer;
    backface-visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s ease,
        filter 0.45s ease;

    /* Position each card in a circle */
    transform: rotateY(calc(360deg / var(--quantity) * var(--index))) translateZ(var(--translateZ));

    /* Premium glassmorphism */
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(var(--color-card), 0.15) 40%,
            rgba(var(--color-card), 0.25) 70%,
            rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow:
        0 8px 32px rgba(var(--color-card), 0.18),
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -1px 0 rgba(var(--color-card), 0.15) inset,
        inset 0 0 40px rgba(var(--color-card), 0.06);
}

/* Shimmer glass highlight */
.carousel-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 10%,
            transparent 20%,
            rgba(255, 255, 255, 0.05) 30%,
            transparent 40%);
    animation: carousel-shimmer 8s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes carousel-shimmer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Radial glow backdrop */
.carousel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(ellipse at 30% 20%,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(var(--color-card), 0.12) 40%,
            rgba(var(--color-card), 0.3) 100%);
    z-index: -2;
}

/* Hovered card scales up with premium glow */
.carousel-card:hover {
    transform: rotateY(calc(360deg / var(--quantity) * var(--index))) translateZ(calc(var(--translateZ) + 40px)) scale(1.22);
    border-color: rgba(255, 255, 255, 0.6);
    filter: brightness(1.15);
    box-shadow:
        0 12px 50px rgba(var(--color-card), 0.5),
        0 0 80px rgba(var(--color-card), 0.25),
        0 0 120px rgba(var(--color-card), 0.1),
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        inset 0 0 40px rgba(var(--color-card), 0.12);
}

.carousel-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 18px rgba(var(--color-card), 0.5)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
    animation: carousel-icon-float 5s ease-in-out infinite;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.carousel-card:hover .carousel-icon {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 25px rgba(var(--color-card), 0.7)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    transform: translateY(-4px) scale(1.1);
}

.carousel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes carousel-icon-float {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg) scale(1);
    }

    50% {
        transform: translateY(-6px) rotateY(15deg) scale(1.05);
    }
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(var(--color-card), 0.3);
    line-height: 1.3;
    letter-spacing: 0.03em;
    transition: text-shadow 0.4s ease;
}

.carousel-card:hover .carousel-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(var(--color-card), 0.5);
}

/* ---- Responsive Carousel ---- */
@media (max-width: 1024px) {
    .carousel-wrapper {
        height: 360px;
    }

    .carousel-inner {
        --card-w: 120px;
        --card-h: 165px;
        --translateZ: 280px;
    }

    .carousel-icon {
        width: 54px;
        height: 54px;
    }

    .carousel-title {
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 320px;
    }

    .carousel-inner {
        --card-w: 100px;
        --card-h: 140px;
        --translateZ: 220px;
    }

    .carousel-icon {
        width: 46px;
        height: 46px;
    }

    .carousel-title {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        height: 280px;
    }

    .carousel-inner {
        --card-w: 80px;
        --card-h: 115px;
        --translateZ: 170px;
    }

    .carousel-icon {
        width: 38px;
        height: 38px;
    }

    .carousel-title {
        font-size: 0.65rem;
    }

    .carousel-card {
        gap: 0.4rem;
        padding: 0.8rem 0.5rem;
    }
}

/* ===================== Registration Page Styling ===================== */
.RegBox {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(220, 225, 230, 0.6);
    border-top: 4px solid var(--accent-orange);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
}

.RegBox:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(243, 112, 33, 0.15) !important;
    border-color: rgba(243, 112, 33, 0.3);
}

.RegBox h2 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.RegBox p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.RegBox h3 {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: auto;
}

.btn-register-enhanced {
    background: linear-gradient(135deg, var(--accent-orange), #ff8a3d);
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-register-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.4);
    background: linear-gradient(135deg, #ff8a3d, var(--accent-orange));
}

.btn-register-enhanced:active {
    transform: translateY(1px);
}

/* ---------- Sponsors Section ---------- */
.sponsors-section {
  padding: 100px 0;
  background-color: #ffffff;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 10;
}

.sponsors-container {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  width: 90%;
}

.sponsor-tier {
  margin-bottom: 80px;
}

.sponsor-tier:last-child {
  margin-bottom: 0;
}

.tier-label {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-weight: 600;
}

.tier-label::before,
.tier-label::after {
  content: '';
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(78, 118, 138, 0.15), transparent);
  flex-grow: 1;
  max-width: 200px;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.logo-box {
  background: #ffffff;
  padding: 25px 40px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 130px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.logo-box img {
  max-width: 150px;
  max-height: 90px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border-color: rgba(237, 48, 28, 0.15);
}

.logo-box:hover img {
  transform: scale(1.08);
}

/* Organized By special styling */
.logo-container.organized-by .logo-box {
  min-width: 260px;
  height: 160px;
  background: rgba(78, 118, 138, 0.02);
}

.logo-container.organized-by .logo-box img {
  max-width: 200px;
  max-height: 110px;
  filter: none;
  opacity: 1;
}

@media (max-width: 1024px) {
  .logo-box {
    min-width: 180px;
    height: 120px;
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .sponsors-section {
    padding: 80px 0;
  }

  .logo-container {
    gap: 15px;
  }

  .logo-box {
    min-width: 150px;
    height: 110px;
    padding: 15px 20px;
  }

  .tier-label {
    font-size: 0.85rem;
    gap: 15px;
    margin-bottom: 30px;
  }

  .tier-label::before,
  .tier-label::after {
    max-width: 80px;
  }

  .logo-container.organized-by .logo-box {
    min-width: 180px;
    height: 120px;
  }
}
