/* 
 * Education Loan Fair 2026 - Premium Design System Stylesheet
 * Brand: Kingsford Advisory
 * Colors: Deep Navy, Card Navy, Vibrant Coral-Orange, Soft Gold
 * Font: DM Sans
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    /* Main HSL Color Palette */
    --background: 212 100% 8.5%;      /* Dark Deep Navy background: #001024 */
    --foreground: 0 0% 100%;           /* Pure White */
    --card: 212 40% 13%;               /* Sleek Lighter Navy for Cards: #132439 */
    --card-hover: 212 35% 17%;         /* Lifted Card Navy: #1c324c */
    --primary: 212 100% 8.5%;
    --primary-foreground: 0 0% 100%;
    --secondary: 212 30% 18%;
    --secondary-foreground: 0 0% 90%;
    
    /* Brand Accents */
    --accent: 9 100% 64%;             /* Vivid Coral Accent: #ff5a43 */
    --accent-rgb: 255, 90, 67;
    --accent-hover: 9 100% 58%;       /* Hover Coral Accent */
    --gold: 45 98% 68%;                /* Bright Gold: #fcd861 */
    --gold-rgb: 252, 216, 97;
    
    /* Utility colors */
    --muted: 212 25% 18%;
    --muted-foreground: 212 20% 65%;
    --border: 212 35% 20%;             /* Navy Border: #203650 */
    --border-hover: 212 40% 30%;       /* Active Border: #315175 */
    --input: 212 35% 16%;              /* Input Background: #172a40 */
    --ring: 9 100% 64%;
    --radius: 1rem;
    --success: 142 72% 50%;            /* Clean Success Green */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Accents */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0) 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-bg-1 {
    top: -150px;
    right: -100px;
}

.glow-bg-2 {
    top: 45%;
    left: -200px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, rgba(var(--gold-rgb), 0) 70%);
}

.glow-bg-3 {
    bottom: -100px;
    right: -100px;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
}

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

/* Sticky Premium Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(var(--background), 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-b: 1px solid rgba(var(--border), 0.5);
    border-bottom: 1px solid rgba(var(--border), 0.5);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(var(--background), 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(var(--border), 0.9);
}

.navbar-container {
    max-w: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.brand-text {
    background: linear-gradient(135deg, #ffffff 0%, #fcd861 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    background: rgba(var(--accent-rgb), 0.15);
    color: hsl(var(--accent));
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Header Brand Logo Styles */
.brand-logo-container {
    background: #ffffff;
    padding: 5px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease;
}

.brand-logo-container:hover {
    transform: scale(1.03);
}

.brand-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Footer Powered By Branding */
.footer-powered-by {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--muted-foreground));
    font-weight: 700;
    display: block;
    margin-bottom: 0.35rem;
}

/* Custom Footer Brand Logo Styles */
.footer-brand-logo-container {
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease;
}

.footer-brand-logo-container:hover {
    transform: scale(1.08);
}

.footer-brand-logo {
    position: absolute;
    width: 175%;
    height: 175%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -42.5%);
    object-fit: contain;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    position: relative;
    padding: 0.25rem 0;
}

.mobile-only-cta {
    display: none !important;
}

.nav-link:hover {
    color: hsl(var(--foreground));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--accent));
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.35);
    border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.nav-cta:hover {
    background: hsl(var(--accent-hover));
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.5);
    transform: translateY(-1px);
}

.nav-cta:active {
    transform: translateY(0);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 1.5rem 5rem;
    z-index: 10;
    max-w: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-col: column;
    flex-direction: column;
    align-items: flex-start;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    color: hsl(var(--accent));
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: hsl(var(--accent));
    border-radius: 50%;
    display: inline-block;
    animation: pulseCircle 1.8s infinite;
}

@keyframes pulseCircle {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #ffa38f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-w: 620px;
}

/* Event Metadata Badges */
.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.info-badge {
    background: rgba(var(--card), 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--border), 0.5);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-badge:hover {
    border-color: rgba(var(--border-hover), 0.8);
    background: rgba(var(--card), 0.8);
    transform: translateY(-2px);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    color: hsl(var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-badge:nth-child(2) .info-icon {
    background: rgba(var(--gold-rgb), 0.08);
    border-color: rgba(var(--gold-rgb), 0.15);
    color: hsl(var(--gold));
}

.info-texts {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-top: 0.1rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.btn-primary {
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.35);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: hsl(var(--accent-hover));
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(var(--card), 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--border), 0.8);
    color: hsl(var(--foreground));
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(var(--card-hover), 0.8);
    border-color: hsl(var(--border-hover));
    transform: translateY(-2px);
}

/* Hero Visual Badge Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    background: radial-gradient(100% 100% at 0% 0%, rgba(var(--card), 0.35) 0%, rgba(var(--card), 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(var(--border), 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

/* Floating dynamic cards in Hero Visual */
.floating-card {
    position: absolute;
    background: rgba(var(--card), 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--border), 0.6);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    width: 250px;
    animation: floatCard 6s infinite alternate ease-in-out;
}

.visual-container::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: hsl(var(--accent));
    opacity: 0.15;
    filter: blur(40px);
}

.fc-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
    width: 260px;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.fc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--success), 0.1);
    color: hsl(var(--success));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.fc-1 .fc-icon {
    background: rgba(var(--gold-rgb), 0.1);
    color: hsl(var(--gold));
}

.fc-title {
    font-size: 0.85rem;
    font-weight: 700;
}

.fc-desc {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.fc-progress {
    height: 6px;
    background: rgba(var(--border), 0.5);
    border-radius: 99px;
    overflow: hidden;
}

.fc-progress-bar {
    height: 100%;
    background: hsl(var(--success));
    border-radius: 99px;
    width: 85%;
}

.fc-1 .fc-progress-bar {
    background: hsl(var(--gold));
    width: 95%;
}

.fc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-top: 0.4rem;
}

.fc-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: hsl(var(--gold));
}

/* Sections Layout */
.section {
    padding: 5rem 1.5rem;
    max-w: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-w: 680px;
    margin: 0 auto 3.5rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: hsl(var(--accent));
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
}

/* Benefits Section Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: hsl(var(--card));
    border: 1px solid rgba(var(--border), 0.7);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: hsl(var(--card-hover));
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.benefit-card:hover::before {
    background: hsl(var(--accent));
}

.benefit-icon-container {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    color: hsl(var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-container {
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
    transform: scale(1.05);
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-desc {
    font-size: 0.92rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Lenders Section */
.lenders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.lender-card {
    background: hsl(var(--card));
    border: 1px solid rgba(var(--border), 0.7);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 140px;
    position: relative;
}

.lender-card:hover {
    background: hsl(var(--card-hover));
    border-color: rgba(var(--gold-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px -8px rgba(0, 0, 0, 0.4);
}

.lender-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(var(--gold-rgb), 0.1);
    color: hsl(var(--gold));
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.lender-logo-container {
    width: 100%;
    height: 56px;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lender-card:hover .lender-logo-container {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    border-color: rgba(var(--accent-rgb), 0.4);
}

.lender-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lender-card:hover .lender-logo {
    transform: scale(1.05);
}

.lender-name {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.lender-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

/* Timeline (Schedule) Section */
.schedule-container {
    max-w: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.schedule-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.8) 0%, rgba(var(--gold-rgb), 0.8) 100%);
}

.schedule-item {
    position: relative;
    padding-bottom: 3rem;
}

.schedule-item:last-child {
    padding-bottom: 0;
}

.schedule-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    transform: translateX(-6px);
    width: 18px;
    height: 18px;
    background: hsl(var(--background));
    border: 4px solid hsl(var(--accent));
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.schedule-item:nth-child(even) .schedule-dot {
    border-color: hsl(var(--gold));
}

.schedule-item:hover .schedule-dot {
    transform: translateX(-6px) scale(1.3);
    background: hsl(var(--foreground));
}

.schedule-card {
    background: hsl(var(--card));
    border: 1px solid rgba(var(--border), 0.6);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    transition: all 0.3s ease;
}

.schedule-item:hover .schedule-card {
    background: hsl(var(--card-hover));
    border-color: rgba(var(--border-hover), 0.8);
    transform: translateX(4px);
}

.schedule-time {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(var(--accent-rgb), 0.1);
    color: hsl(var(--accent));
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
}

.schedule-item:nth-child(even) .schedule-time {
    background: rgba(var(--gold-rgb), 0.1);
    color: hsl(var(--gold));
}

.schedule-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.schedule-desc {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

/* Interactive Registration Form Section */
.register-container {
    max-w: 820px;
    margin: 0 auto;
}

.register-card {
    background: linear-gradient(135deg, rgba(var(--card), 0.85) 0%, rgba(var(--card), 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--border), 0.8);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.register-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0) 70%);
    pointer-events: none;
}

/* Success Overlay View */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsl(var(--card));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--success), 0.1);
    color: hsl(var(--success));
    border: 3px solid hsl(var(--success));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    animation: popCheck 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    animation-delay: 0.1s;
}

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

.success-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-message {
    color: hsl(var(--muted-foreground));
    font-size: 1.05rem;
    max-w: 480px;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.required-star {
    color: hsl(var(--accent));
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.25s ease;
}

.form-control {
    width: 100%;
    background-color: hsl(var(--input));
    border: 1px solid rgba(var(--border), 0.8);
    color: hsl(var(--foreground));
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.9rem 1.25rem 0.9rem 2.85rem;
    border-radius: 12px;
    outline: none;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: hsl(var(--accent));
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
    background-color: rgba(var(--input), 0.8);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom Select styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238e9dae' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

select.form-control option {
    background-color: hsl(var(--card));
    color: hsl(var(--foreground));
}

/* Interactive Option Chips */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.chip-option {
    background: hsl(var(--input));
    border: 1px solid rgba(var(--border), 0.8);
    color: hsl(var(--muted-foreground));
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-align: center;
}

.chip-option:hover {
    border-color: rgba(var(--border-hover), 0.8);
    color: hsl(var(--foreground));
    transform: translateY(-1px);
}

.chip-option.selected {
    background: hsl(var(--accent));
    border-color: hsl(var(--accent));
    color: hsl(var(--foreground));
    box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.3);
    transform: translateY(-1px) scale(1.02);
}

/* Currency input prefix */
.currency-prefix {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--gold));
    font-weight: 700;
    font-size: 1.05rem;
    pointer-events: none;
}

.form-control.currency-input {
    padding-left: 2rem;
}

/* Error/Help state */
.error-msg {
    font-size: 0.75rem;
    color: hsl(var(--accent));
    font-weight: 600;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error .form-control {
    border-color: hsl(var(--accent));
    background-color: rgba(var(--accent-rgb), 0.03);
}

.form-group.has-error .error-msg {
    display: block;
}

/* Submit section */
.form-submit-container {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
    border: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit:hover {
    background: hsl(var(--accent-hover));
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner indicator */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading span {
    display: none;
}

.btn-submit.loading svg {
    display: none;
}

.form-privacy-note {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-w: 480px;
    line-height: 1.5;
}

.form-privacy-note a {
    color: hsl(var(--accent));
    font-weight: 600;
}

/* FAQ Section Accordion styling */
.faq-container {
    max-w: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: hsl(var(--card));
    border: 1px solid rgba(var(--border), 0.7);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(var(--border-hover), 0.8);
}

.faq-item.active {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    outline: none;
}

.faq-icon-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
    background: hsl(var(--accent));
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.92rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Dynamic counter details */
.counter-box {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.counter-alert {
    width: 10px;
    height: 10px;
    background-color: hsl(var(--success));
    border-radius: 50%;
    display: inline-block;
    animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(163, 230, 53, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

.seats-number {
    color: hsl(var(--gold));
    font-size: 0.95rem;
}

/* Premium Footnote / Info section */
.address-anchor {
    font-weight: 600;
    color: hsl(var(--gold));
}

.address-anchor:hover {
    text-decoration: underline;
}

/* Footer styling */
.footer {
    border-top: 1px solid rgba(var(--border), 0.5);
    background: #000c19;
    position: relative;
    z-index: 10;
}

.footer-top {
    max-w: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    max-w: 360px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link-item a {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}

.footer-link-item a:hover {
    color: hsl(var(--accent));
    transform: translateX(3px);
    display: inline-block;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.footer-contact-icon {
    color: hsl(var(--accent));
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-bottom {
    max-w: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(var(--border), 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: hsl(var(--muted-foreground));
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(var(--border), 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: hsl(var(--accent));
    border-color: hsl(var(--accent));
    background: rgba(var(--accent-rgb), 0.05);
    transform: translateY(-2px);
}

/* Responsiveness overrides */
@media (max-w: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
        width: 100%;
    }
    
    .event-info-grid {
        max-w: 680px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand-wrap {
        grid-column: span 2;
    }
}

@media (max-w: 768px) {
    html {
        font-size: 15px;
    }
    
    .navbar-container {
        height: 60px;
    }
    
    .navbar-container .nav-cta {
        display: none !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(12, 23, 36, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(var(--border), 0.5);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        align-items: stretch;
        z-index: 99;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }
    
    .navbar.menu-open .nav-links {
        display: flex;
    }
    
    .nav-links .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: hsl(var(--muted-foreground));
        padding: 0.5rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(var(--border), 0.3);
    }
    
    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    .nav-links .mobile-only-cta {
        display: block !important;
        background: hsl(var(--accent));
        color: white !important;
        text-align: center;
        font-weight: 700;
        padding: 0.8rem !important;
        border-radius: 9999px;
        border-bottom: none !important;
        box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
        margin-top: 0.5rem;
        transition: transform 0.2s ease;
    }

    .nav-links .mobile-only-cta:active {
        transform: scale(0.98);
    }

    .menu-btn {
        display: block;
    }

    .navbar.menu-open .menu-btn .icon-hamburger {
        display: none !important;
    }

    .navbar.menu-open .menu-btn .icon-close {
        display: block !important;
    }
    
    .section {
        padding: 4rem 1.25rem;
    }
    
    .register-card {
        padding: 2.25rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-wrap {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-w: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .visual-container {
        max-width: 300px;
    }
    
    .floating-card {
        width: 210px;
    }
    
    .fc-2 {
        width: 220px;
    }
}

/* ==========================================================================
   6. Registration Banner Card & Modal Popup Styles
   ========================================================================== */

/* Registration Banner Section */
.register-banner-card {
    background: linear-gradient(135deg, rgba(var(--card), 0.85) 0%, rgba(var(--card), 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--border), 0.8);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.register-banner-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0) 70%);
    pointer-events: none;
}

.register-banner-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.06) 0%, rgba(var(--gold-rgb), 0) 70%);
    pointer-events: none;
}

/* Premium Registration Modal Popup Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 12, 25, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Extremely high priority, covers everything including sticky nav */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Card */
.modal-content {
    background: linear-gradient(135deg, rgba(var(--card), 0.98) 0%, #0c1724 100%);
    border: 1px solid rgba(var(--border), 0.8);
    border-radius: 24px;
    width: 100%;
    max-width: 720px;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    max-height: min(650px, 85vh); /* Cap the height on desktop/tablet to force scrolling & look premium */
    overflow: hidden; /* Prevent scrolling on outer card wrapper */
}

/* Scrollable body wrapper for the modal */
.modal-body-scrollable {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    padding-bottom: 2.5rem; /* Ensure padding at the bottom of scroll */
}

.modal-body-scrollable::-webkit-scrollbar {
    width: 8px;
}

.modal-body-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 24px 0;
}

.modal-body-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 99px;
    transition: background-color 0.2s ease;
}

.modal-body-scrollable::-webkit-scrollbar-thumb:hover {
    background-color: hsl(9, 100%, 64%); /* High-contrast Coral hover state */
}

/* Floating Scroll Indicator for Modal */
.modal-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(12, 23, 36, 0.95);
    border: 1px solid rgba(var(--border), 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(9, 100%, 64%); /* Vibrant Coral */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.modal-scroll-indicator.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.modal-scroll-indicator .scroll-arrow {
    font-size: 0.85rem;
    animation: bounceArrow 1.2s infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}


.modal-backdrop.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(var(--border), 0.7);
    color: hsl(var(--muted-foreground));
    font-size: 1.75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
    padding-bottom: 4px;
}

.modal-close:hover {
    background: hsl(var(--accent));
    color: white;
    border-color: hsl(var(--accent));
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.modal-header {
    padding: 2.5rem 2.5rem 0.5rem;
}

.modal-title {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
}

.modal-desc {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

/* Modal internal card layout style overrides */
.modal-content .register-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 1.25rem 2.5rem 2.5rem;
}

.modal-content .success-overlay {
    border-radius: 24px;
}

/* Prevent background body scroll when modal is active */
body.modal-open {
    overflow: hidden;
    height: 100vh;
}

/* Responsive Modal Adjustments */


/* ===== FINAL MOBILE FIXES ===== */

@media (max-width:500px){

html,
body{
    overflow-x:hidden;
    width:100%;
}

*{
    max-width:100%;
}

img{
    max-width:100%;
    height:auto;
}

.hero-grid,
.footer-top,
.form-grid{
    grid-template-columns:1fr !important;
}

.hero-ctas{
    flex-direction:column;
    align-items:stretch;
}

.btn-primary,
.btn-secondary{
    width:100%;
    justify-content:center;
}

}