/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-start;
}

.uni-logo {
    position: static;
    margin-left: 0;
    display: block;
    height: 40px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex: 2;
    justify-content: center;
}

.uni-logo {
    height: 40px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

.uni-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    /* Base gradient fallback while image loads */
    background: linear-gradient(135deg, #0f2e58 0%, #2f4774 45%, #38bdf8 100%);
    display: flex;
    align-items: center;
    padding-top: 20px;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 0;
        /* Beautiful simple mobile background - override desktop */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        position: relative;
    }
    
    /* Add subtle pattern overlay for mobile */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobilePattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23mobilePattern)"/></svg>');
        opacity: 0.3;
        z-index: 1;
    }
    
    /* Disable animated background on mobile for better performance */
    .hero::after {
        display: none !important;
    }
    
    .hero-globe {
        display: none !important;
    }
}

/* White top layer bar similar to screenshot */
.hero-whitebar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: #ffffff;
    z-index: 2;
    box-shadow: 0 2px 0 rgba(128, 90, 213, 0.6) inset; /* thin purple divider */
    opacity: 0.98;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile white bar adjustments */
@media (max-width: 768px) {
    .hero-whitebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide navigation logo on mobile */
    .uni-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide all hero logos on mobile */
    .hero-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide ALL possible logo elements on mobile */
    img[alt*="Bakı Ali Neft Məktəbi"],
    img[alt*="BANM"],
    img[src*="logo2.svg"],
    .nav-logo,
    .hero-logos,
    .brandbar-logo,
    .partner-logo,
    .organizer-logos,
    .footer-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-whitebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide navigation logo on small mobile */
    .uni-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide all hero logos on small mobile */
    .hero-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Hide ALL possible logo elements on small mobile */
    img[alt*="Bakı Ali Neft Məktəbi"],
    img[alt*="BANM"],
    img[src*="logo2.svg"],
    .nav-logo,
    .hero-logos,
    .brandbar-logo,
    .partner-logo,
    .organizer-logos,
    .footer-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.whitebar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top brand bar to match screenshot */
/* removed hero brandbar per latest request */

.brandbar-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.brandbar-logo {
    height: 170px;
    width: auto;
    object-fit: contain;
}

/* partner logo next to BHOS */
.partner-logo {
    height: 170px;
    width: auto;
    object-fit: contain;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Animated hero image layer (replace arxaplan.jpg with your new image when ready) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/arxaplan.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: saturate(1.05) contrast(1.02) brightness(0.9);
    animation: kenburnsPan 14s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

/* Wireframe globe overlay on right side */
.hero-globe {
    position: absolute;
    right: -10vw;
    top: 2vh;
    width: min(50vw, 820px);
    height: min(50vw, 820px);
    z-index: 1; /* above bg, below content */
    pointer-events: none;
    opacity: 0.9;
    background:
      radial-gradient(60% 60% at 70% 50%, rgba(56,189,248,0.25), rgba(56,189,248,0) 60%),
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" fill="none" stroke="%2348b5ff" stroke-width="1"><g opacity="0.95"><circle cx="250" cy="250" r="240"/><circle cx="250" cy="250" r="220"/><circle cx="250" cy="250" r="200"/><circle cx="250" cy="250" r="180"/><circle cx="250" cy="250" r="160"/><circle cx="250" cy="250" r="140"/><path d="M0,250 C110,210 390,290 500,250"/><path d="M0,230 C120,190 380,310 500,270"/><path d="M0,210 C140,170 360,330 500,290"/><path d="M0,270 C120,310 380,190 500,230"/><path d="M0,290 C140,330 360,170 500,210"/><path d="M250,0 C210,120 290,380 250,500"/><path d="M230,0 C170,140 330,360 270,500"/><path d="M270,0 C330,140 170,360 230,500"/><path d="M200,0 C140,160 360,340 300,500"/><path d="M300,0 C360,160 140,340 200,500"/></g></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    /* drop-shadow is expensive in Chrome; keep subtle or remove for perf */
    filter: none;
    transform: translateZ(0) rotate(-2deg);
    animation: globeSpin 40s linear infinite;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.85) 18%, black 60%);
    will-change: transform;
}

/* Prefer-reduced-motion support and runtime toggle */
@media (prefers-reduced-motion: reduce) {
    .hero::after { animation: none !important; }
    .hero-globe { animation: none !important; }
}

body.reduce-motion .hero::after { animation: none !important; }
body.reduce-motion .hero-globe { animation: none !important; }
body.reduce-motion-temporary .hero::after { animation-play-state: paused !important; }
body.reduce-motion-temporary .hero-globe { animation-play-state: paused !important; }

/* Also disable heavy background animation on small screens */
@media (max-width: 768px) {
    .hero::after { animation: none; }
}

@keyframes globeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .hero-globe {
        right: -16vw;
        top: 12vh;
        width: min(65vw, 600px);
        height: min(65vw, 600px);
        opacity: 0.85;
    }
}

@media (max-width: 600px) {
    .hero-globe {
        right: -28vw;
        top: 22vh;
        width: 88vw;
        height: 88vw;
        opacity: 0.7;
    }
}

/* Hide static image layer when using an embedded background */
.hero.has-embed-bg::after {
    display: none;
}

@keyframes kenburnsPan {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
        background-position: 48% 52%;
    }
    50% {
        transform: scale(1.12) translate3d(0, -0.8%, 0);
        background-position: 52% 48%;
    }
    100% {
        transform: scale(1.2) translate3d(0, 0.8%, 0);
        background-position: 50% 50%;
    }
}

/* Floating particles (added by JS) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: var(--size, 10px);
    height: var(--size, 10px);
    border-radius: 9999px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.05));
    filter: blur(0.2px);
    opacity: var(--opacity, 0.25);
    animation: floatDrift var(--duration, 18s) linear infinite;
    mix-blend-mode: screen;
}

@keyframes floatDrift {
    0% {
        transform: translate3d(var(--x-start, 0), var(--y-start, 0), 0) scale(1);
    }
    50% {
        transform: translate3d(var(--x-mid, 20px), var(--y-mid, -30px), 0) scale(1.05);
    }
    100% {
        transform: translate3d(var(--x-end, 0), var(--y-end, -80px), 0) scale(1);
    }
}

/* Canva embed background */
.hero-embed {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none; /* make background non-interactive */
}

/* Bottom cover to mask any remaining black control area inside the Canva iframe */
.hero-embed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28vh;
    /* Stronger blue fill to unify bottom with template */
    background: linear-gradient(180deg, rgba(15,46,88,0) 0%, rgba(15,46,88,0.75) 45%, rgba(15,46,88,0.95) 80%, rgba(15,46,88,1) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Increase scale to fill and hide Canva black bars */
    transform: scale(var(--hero-embed-scale, 1.7)) translateY(var(--hero-embed-shift, -18%));
    transform-origin: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 190px 20px 0 20px; /* adjust for slightly smaller white bar */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Mobile hero container */
@media (max-width: 768px) {
    .hero-container {
        padding: 60px 16px 40px 16px;
        min-height: 100vh;
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 50px 12px 30px 12px;
        min-height: 100vh;
    }
}

.hero-content {
    color: white;
    text-align: center;
    margin-top: -100px;
    width: 100%;
    max-width: 800px;
}

/* Mobile hero content */
@media (max-width: 768px) {
    .hero-content {
        margin-top: -20px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: -30px;
        margin-bottom: 15px;
    }
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center; /* center logos for better mobile */
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    padding: 0 48px;
    margin: 75px auto 10px auto; /* centered group */
    animation: fadeInUp 1s ease 0.1s both;
    flex-wrap: wrap;
}

/* Mobile hero logos - move to white bar */
@media (max-width: 768px) {
    .hero-logos {
        gap: 20px;
        padding: 0 20px;
        margin: 0;
        justify-content: center;
        flex-wrap: wrap;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
        display: flex !important;
        align-items: center;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .hero-logos {
        gap: 15px;
        padding: 0 16px;
        flex-direction: row;
        align-items: center;
        height: 100px;
    }
}

.hidden { display: none; }

.hero-logo {
    width: 360px;
    height: 360px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    filter: none;
}

.hero-logo:hover {
    transform: scale(1.1);
}

/* Mobile hero logo sizing */
@media (max-width: 768px) {
    .hero-logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 70px;
        height: 70px;
    }
}

/* Specific sizing for different logos */
.hero-logos img[alt="Bakı Ali Neft Məktəbi Logo"] {
    width: 480px;
    height: 480px;
}

.hero-logos img[alt="Bank Logo"] {
    width: 260px;
    height: 260px;
}

@media (max-width: 768px) {
    .hero-logos img[alt="Bakı Ali Neft Məktəbi Logo"] {
        width: 35px;
        height: 35px;
    }
    
    .hero-logos img[alt="Bank Logo"] {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-logos img[alt="Bakı Ali Neft Məktəbi Logo"] {
        width: 30px;
        height: 30px;
    }
    
    .hero-logos img[alt="Bank Logo"] {
        width: 25px;
        height: 25px;
    }
}

/* removed hero logo card per request */

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f39c12;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.2;
}

/* Mobile hero subtitle */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 2rem;
        margin-bottom: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1.6rem;
        margin-bottom: 15px;
        margin-top: 15px;
    }
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
    line-height: 1.4;
}

/* Mobile hero description */
@media (max-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 5px;
        margin-top: 8px;
    }
}

.hero-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 45px;
    animation: fadeInUp 1s ease 0.6s both;
    justify-content: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile hero dates */
@media (max-width: 768px) {
    .hero-dates {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 35px;
        max-width: 400px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-dates {
        gap: 12px;
        margin-bottom: 30px;
        max-width: 350px;
        margin-top: 15px;
    }
}

.date-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 18px 34px;
    border-radius: 34px;
    backdrop-filter: blur(10px);
    justify-content: center;
    width: 100%;
    height: 65px;
    font-size: 1.1rem;
}

/* Mobile date item */
@media (max-width: 768px) {
    .date-item {
        padding: 12px 20px;
        height: 50px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .date-item {
        padding: 10px 16px;
        height: 45px;
        font-size: 0.9rem;
        border-radius: 22px;
    }
}

.date-item i {
    color: #f39c12;
    font-size: 1.2rem;
}

.hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    animation: fadeInUp 1s ease 0.8s both;
    justify-content: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile hero buttons */
@media (max-width: 768px) {
    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 12px;
        max-width: 350px;
        margin-top: 8px;
    }
}

.btn {
    padding: 18px 36px;
    border-radius: 34px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 14px 28px;
        height: 55px;
        font-size: 1rem;
        border-radius: 28px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        height: 50px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* Larger hero presentation on wide screens */
@media (min-width: 1024px) {
    .hero-content {
        max-width: 1000px;
        margin: 0 auto;
    }
    .hero-logos {
        gap: 70px;
    }
    .hero-logo {
        width: 360px;
        height: 360px;
    }
    .hero-subtitle {
        font-size: 3.2rem;
    }
}

/* Slightly reduce Bank Respublika logo in hero so it doesn't dominate */
.hero-logos img[alt="Bank Logo"] {
    width: 260px;
    height: 260px;
}

/* Make BHOS logo more prominent in hero */
.hero-logos img[alt="Bakı Ali Neft Məktəbi Logo"] {
    width: 480px;
    height: 480px;
}

.btn-primary {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}



/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
}

/* Section titles in dark sections (like registration) */
.register .section-title {
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fbfe 0%, #f5f8fc 60%, #ffffff 100%);
    position: relative; /* enable subtle decorative overlays */
    overflow: hidden;
}

/* Subtle right-side tech motif to avoid blank feel */
.about::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 50vw;
    max-width: 780px;
    height: 110%;
    pointer-events: none;
    opacity: 0.12;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 900" fill="none" stroke="%233498db" stroke-width="1.2"><g opacity="0.9"><circle cx="650" cy="120" r="2"/><circle cx="720" cy="180" r="2"/><circle cx="700" cy="260" r="2"/><circle cx="760" cy="320" r="2"/><circle cx="720" cy="420" r="2"/><circle cx="760" cy="500" r="2"/><circle cx="700" cy="560" r="2"/><circle cx="740" cy="640" r="2"/><circle cx="690" cy="720" r="2"/><path d="M400,60 C560,160 720,220 780,260"/><path d="M400,220 C560,320 720,380 780,420"/><path d="M400,380 C560,480 720,540 780,580"/><path d="M400,540 C560,640 720,700 780,740"/></g></svg>') no-repeat right center;
    background-size: contain;
}

/* Soft top fade to transition from white bar */
.about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-highlights {
    display: grid;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.highlight-item i {
    color: #3498db;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: #555;
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature p {
    color: #666;
}


/* Community Section */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%233498db" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.community-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.community-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

.community-stats {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.community-stats .stat-item {
    text-align: center;
    flex: 1;
}

.community-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    line-height: 1;
}

.community-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.community-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f8f9fa;
    border-radius: 15px;
}

.community-image:hover .community-img {
    transform: scale(1.05);
}

/* Responsive design for community section */
@media (max-width: 768px) {
    .community-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .community-stats {
        justify-content: center;
    }
    
    .community-img {
        height: 600px;
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
}

/* Agenda Section */
.agenda {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.agenda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.02), rgba(74, 172, 254, 0.02));
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e3c72, #4facfe);
    transform: translateX(-50%);
    animation: timelineGrow 2s ease-out;
    will-change: height;
}

@keyframes timelineGrow {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

/* Add a class to control when timeline line should animate */
.timeline.animate-line::before {
    animation: timelineGrow 2s ease-out;
}

/* Enhanced timeline animations with better performance */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 45%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.animate .timeline-date {
    transform: scale(1);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 55%;
    text-align: left;
}

/* Ensure smooth transitions for all timeline elements */
.timeline-date {
    background: linear-gradient(45deg, #1e3c72, #4facfe);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    transform: scale(0.8);
    transition: transform 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
}

/* Add smooth entrance animation for timeline content */
.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.1);
    position: relative;
    transform: translateX(0);
    transition: all 0.6s ease;
    border: 2px solid transparent;
    backface-visibility: hidden;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 25px 60px rgba(30, 60, 114, 0.15);
    border-color: rgba(30, 60, 114, 0.1);
}

.timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateX(-10px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -15px;
    border-left: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-right: 15px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Registration Section */
.register {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e2a44 0%, #2f4774 45%, #38bdf8 100%);
    color: white;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.register-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f39c12;
}

.register-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.register-benefits {
    display: grid;
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.register-benefits::-webkit-scrollbar {
    width: 6px;
}

.register-benefits::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.register-benefits::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.register-benefits::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Tracks in register section */
.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    color: #1e2a44;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.track-item:hover {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.track-item .track-title {
    flex: 1;
    font-weight: 600;
}

.track-item .track-detail {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(30,42,68,0.04);
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.track-item.active .track-detail {
    display: block;
}

.benefit i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.register-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px;
    background: linear-gradient(45deg, #3498db, #e74c3c);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(45deg, #2980b9, #c0392b);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-section h3 {
    margin: 0 0 20px 0;
    color: #f39c12;
    font-size: 1.3rem;
    padding-top: 0;
}

.organizer-logos {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-top: -50px;
}

.organizer-section {
    flex: 0 0 400px;
    margin-top: 0;
    padding-top: 0;
    margin-left: -30px;
}

.contact-section {
    flex: 0 0 440px;
    margin: 0 auto;
    margin-top: 0;
    padding-top: 0;
    text-align: left;
}
/* Left-align contact rows within the contact column */
.contact-section p {
    justify-content: flex-start;
}

.social-section {
    flex: 0 0 200px;
    margin-top: 0;
    padding-top: 0;
}

.footer-logo {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

/* Try to visually remove dark backgrounds from raster logos */
.remove-bg {
    background: transparent !important;
    mix-blend-mode: screen;
}

/* removed footer logo card per request */

.footer-logo:hover {
    transform: scale(1.1);
}

/* Responsive sizing for footer logos */
@media (max-width: 992px) {
    .footer-logo {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 600px) {
    .footer-logo {
        width: 120px;
        height: 120px;
    }
    .organizer-logos {
        margin-top: -20px; /* gentler lift on small screens */
    }
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: #f39c12;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Enhanced hover effects for professional look */
.feature:hover i {
    animation: float 2s ease-in-out infinite;
}

.btn:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced section transitions */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
    transition: left 0.8s ease;
}

.section-title:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-logo {
        flex: 1;
        justify-content: flex-start;
    }
    
    .hero-globe { 
        display: none; 
    }
    
    .about-content,
    .register-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .organizer-section,
    .contact-section,
    .social-section {
        flex: none;
        margin-left: 0;
        margin-top: 0;
    }
    
    .organizer-logos {
        justify-content: center;
        margin-top: 0;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .about-highlights {
        gap: 12px;
    }
    
    .highlight-item {
        padding: 12px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        left: 40px !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px !important;
        border-right: 15px solid white !important;
        border-left: none !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Mobile specific improvements */
    .about {
        padding: 60px 0;
    }
    
    .community {
        padding: 60px 0;
    }
    
    .agenda {
        padding: 60px 0;
    }
    
    .register {
        padding: 60px 0;
    }
    
    .faq {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .community-img {
        height: 550px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .register-benefits {
        max-height: 400px;
    }
    
    .track-item {
        padding: 12px 14px;
    }
    
    .track-item .track-title {
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .about {
        padding: 50px 0;
    }
    
    .community {
        padding: 50px 0;
    }
    
    .agenda {
        padding: 50px 0;
    }
    
    .register {
        padding: 50px 0;
    }
    
    .faq {
        padding: 50px 0;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .community-img {
        height: 500px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .timeline-content {
        padding: 16px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .register-benefits {
        max-height: 350px;
    }
    
    .track-item {
        padding: 10px 12px;
    }
    
    .track-item .track-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .track-item .track-detail {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    .faq-question {
        padding: 16px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .footer-logo {
        width: 100px;
        height: 100px;
    }
    
    .organizer-logos {
        gap: 8px;
        margin-top: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
}

/* Additional Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease;
        z-index: 999;
    }
    
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
        font-size: 1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a:hover {
        background: rgba(52, 152, 219, 0.1);
        border-radius: 8px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    .btn {
        min-height: 50px;
        touch-action: manipulation;
    }
    
    .date-item {
        touch-action: manipulation;
    }
    
    .track-item {
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .faq-question {
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .hero-logos {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-logos {
        flex-direction: column;
        align-items: center;
    }
}

/* Force mobile background override - added at end for higher specificity */
@media screen and (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .hero::after {
        display: none !important;
    }
    
    .hero-globe {
        display: none !important;
    }
}

/* iPhone specific fixes */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .hero::after {
        display: none !important;
    }
    
    .hero-globe {
        display: none !important;
    }
}

/* Final mobile override - highest specificity */
@media only screen and (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        background-image: none !important;
    }
    
    .hero::after {
        display: none !important;
        background-image: none !important;
    }
    
    .hero-globe {
        display: none !important;
    }
    
    .hero-logos {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 120px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
    }
    
    /* Hide ALL logos in main content area */
    .hero-content .hero-logos,
    .hero-container .hero-logos,
    .hero .hero-logos {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* White bar is completely hidden on mobile - no logos visible */
    
    /* Ensure buttons are visible on mobile */
    .btn-primary {
        background: linear-gradient(45deg, #e74c3c, #f39c12) !important;
        color: white !important;
        box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3) !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 18px 36px !important;
        border-radius: 34px !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        height: 65px !important;
    }
    
    .btn-secondary {
        background: rgba(0, 0, 0, 0.7) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 18px 36px !important;
        border-radius: 34px !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        height: 65px !important;
    }
    
    .date-item {
        background: rgba(0, 0, 0, 0.7) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 18px 34px !important;
        border-radius: 34px !important;
        justify-content: center !important;
        width: 100% !important;
        height: 65px !important;
        font-size: 1.1rem !important;
    }
}

@media only screen and (max-width: 480px) {
    .hero-logos {
        height: 100px !important;
        gap: 15px !important;
        padding: 0 16px !important;
    }
    
    /* Hide ALL logos in main content area */
    .hero-content .hero-logos,
    .hero-container .hero-logos,
    .hero .hero-logos {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* White bar is completely hidden on small mobile - no logos visible */
    
    /* Completely hide hero background image on small mobile */
    .hero::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        background: none !important;
        background-image: none !important;
        content: none !important;
    }
    
    /* Ensure hero section has clean background on small mobile */
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        background-image: none !important;
    }
    
    /* Specifically hide any background logos in register section on small mobile */
    .register::before,
    .register::after,
    .register *::before,
    .register *::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        background: none !important;
        background-image: none !important;
    }
    
    /* Ensure register section has clean background on small mobile - no background logos */
    .register {
        background: linear-gradient(135deg, #1e2a44 0%, #2f4774 45%, #38bdf8 100%) !important;
        background-image: none !important;
    }
    
    /* Keep footer logos visible on small mobile */
    .footer-logo,
    .footer-logo img,
    .organizer-logos,
    .organizer-logos img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure buttons are visible on small mobile */
    .btn-primary {
        background: linear-gradient(45deg, #e74c3c, #f39c12) !important;
        color: white !important;
        box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3) !important;
        border: none !important;
    }
    
    .btn-secondary {
        background: rgba(0, 0, 0, 0.7) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .date-item {
        background: rgba(0, 0, 0, 0.7) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* MOBILE BACKGROUND LOGO REMOVAL - SPECIFIC TO REGISTER SECTION */
@media only screen and (max-width: 768px) {
    /* Hide hero logos and navigation logos on mobile */
    .nav-logo,
    .nav-logo img,
    .hero-logos,
    .hero-logos img,
    .hero-logo,
    .hero-whitebar,
    .whitebar-content,
    .uni-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Completely hide hero background image on mobile */
    .hero::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        background: none !important;
        background-image: none !important;
        content: none !important;
    }
    
    /* Ensure hero section has clean background on mobile */
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        background-image: none !important;
    }
    
    /* Specifically hide any background logos in register section on mobile */
    .register::before,
    .register::after,
    .register *::before,
    .register *::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        background: none !important;
        background-image: none !important;
    }
    
    /* Ensure register section has clean background on mobile - no background logos */
    .register {
        background: linear-gradient(135deg, #1e2a44 0%, #2f4774 45%, #38bdf8 100%) !important;
        background-image: none !important;
    }
    
    /* Keep footer logos visible on mobile */
    .footer-logo,
    .footer-logo img,
    .organizer-logos,
    .organizer-logos img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* FINAL OVERRIDE - ULTIMATE MOBILE LOGO REMOVAL */
@media only screen and (max-width: 768px) {
    /* Force remove any background images that might contain logos */
    * {
        background-image: none !important;
    }
    
    /* Re-apply only the intended backgrounds */
    .hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .register {
        background: linear-gradient(135deg, #1e2a44 0%, #2f4774 45%, #38bdf8 100%) !important;
    }
    
    /* Ensure all pseudo-elements are completely hidden */
    .hero::before,
    .hero::after,
    .register::before,
    .register::after {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        content: none !important;
        background: none !important;
        background-image: none !important;
    }
}
