/* ============================================
   MAIN STYLES - 15th African Small Mammal Symposium
   Core layout, typography, and site-wide branding.
   ============================================ */

/* Widescreen & 4K Container Scaling */
@media (min-width: 1400px) {
    .container {
        max-width: 1380px !important;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1720px !important;
    }
}

/* ===== GLOBAL MESSAGE OVERLAY ===== */
.message-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1060;
    max-width: 400px;
    pointer-events: none;
}

/* GLASSY THEME CARDS - Professional mostly-solid glass-morphism */
.glass-card {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.admin-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    color: #333 !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-5px);
}

.glass-card-dark {
    background: rgba(10, 61, 98, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* PAGE LOADER - Full-screen animated gradient background during initial asset load. */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0a3d62, #154360, #1e8449, #e67e22, #154360, #0a3d62);
    background-size: 400% 400%;
    animation: theme-gradient-animation 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 300px;
    height: 300px;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem; /* Slightly smaller to be safe */
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    animation: textPulse 2s ease-in-out infinite;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

#loader-status {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    z-index: 2;
}

#loader-animal-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    animation: rotateAntiClockwise 10s linear infinite;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.loader-animal-item {
    position: absolute;
    font-size: 1.95rem; /* Increased by 50% from 1.3rem */
    width: 45px; /* Increased by 50% from 30px */
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: 50%;
    margin: 0;
    padding: 0;
}

@keyframes textPulse {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes rotateAntiClockwise {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #0a3d62;
    --secondary: #1e8449;
    --accent: #e67e22;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 100px; /* Increased to accommodate taller navbar */
    background-color: #0a3d62;
    /* Lightened overlay (0.35) to let asms_hero shine through clearly */
    background-image: linear-gradient(rgba(10, 61, 98, 0.35), rgba(10, 61, 98, 0.35)), url('../images/asms_hero.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes theme-gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dynamic-theme-bg {
    background: linear-gradient(-45deg, #0a3d62, #154360, #1e8449, #e67e22, #154360, #0a3d62);
    background-size: 400% 400%;
    animation: theme-gradient-animation 15s ease infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-horizontal {
    0% { transform: translateX(0px) rotate(0deg); }
    25% { transform: translateX(10px) rotate(5deg); }
    50% { transform: translateX(0px) rotate(0deg); }
    75% { transform: translateX(-10px) rotate(-5deg); }
    100% { transform: translateX(0px) rotate(0deg); }
}

@keyframes scurry {
    0% { transform: translateX(-20px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

.animal-float {
    position: absolute;
    opacity: 0.15;
    font-size: 3rem; /* Increased by 50% from 2rem */
    z-index: 1;
    pointer-events: none;
    animation: float-horizontal 6s ease-in-out infinite;
}

.animal-scurry {
    position: absolute;
    bottom: 10px;
    left: 0;
    opacity: 0.2;
    font-size: 1.8rem; /* Increased by 50% from 1.2rem */
    z-index: 0;
    pointer-events: none;
    animation: scurry 20s linear infinite;
}

@keyframes popInOut {
    0% { opacity: 0; transform: scale(0.3) translateY(10px); }
    10% { opacity: 0.15; transform: scale(1) translateY(0); }
    90% { opacity: 0.15; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(0.5) translateY(-10px); }
}

.animal-pop {
    position: absolute;
    opacity: 0;
    font-size: 2.925rem; /* Increased by 50% from 1.95rem */
    z-index: 1;
    pointer-events: none;
    animation: popInOut 12s ease-in-out infinite;
}

@keyframes morph {
    0% { transform: scale(1) rotate(0deg); opacity: 0.15; }
    45% { transform: scale(1.2) rotate(10deg); opacity: 0.3; }
    55% { transform: scale(1.2) rotate(-10deg); opacity: 0.3; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.15; }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 0.2; transform: translateY(0); }
    90% { opacity: 0.2; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.animal-morph {
    position: absolute;
    opacity: 0.15;
    font-size: 2.5rem;
    z-index: 1;
    pointer-events: none;
    transition: all 1s ease;
}

/* ===== INGRESS SECTION ===== */
.ingress-section {
    background: linear-gradient(-45deg, #050505, #0a3d62, #154360, #050505);
    background-size: 400% 400%;
    animation: theme-gradient-animation 15s ease infinite;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.ingress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 207, 239, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ingress-border {
    border-left: 8px solid #00cfef;
    padding-left: 50px;
    margin-bottom: 60px;
}

.ingress-name {
    color: #00cfef;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.ingress-text {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
}

.ingress-text span {
    color: #00cfef;
    position: relative;
}

.ingress-text span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00cfef;
    opacity: 0.5;
}

.ingress-content {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    font-weight: 400;
}

.ingress-content p {
    margin-bottom: 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes theme-gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(10, 61, 98, 0.98) !important;
    backdrop-filter: blur(15px);
    padding: 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    /* Habitat drawing for Navbar */
    background-image: linear-gradient(rgba(10, 61, 98, 0.95), rgba(10, 61, 98, 0.95)), url('../images/site-bg.svg');
    background-size: 300px;
    background-position: center;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.2) !important;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.4);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(230, 126, 34, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.brand-text {
    max-width: 150px;
    line-height: 1.2;
    display: block;
}

@media (min-width: 1200px) {
    .nav-logo { height: 60px; }
    .brand-text { max-width: none; font-size: 1.3rem; }
}

@media (max-width: 576px) {
    .brand-text { font-size: 0.9rem; max-width: 120px; }
    .nav-logo { height: 40px; }
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    z-index: 1100 !important;
}

.dropdown-item {
    color: #333 !important;
}

.navbar .dropdown-menu {
    background-color: #ffffff !important;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px;
    min-width: 220px;
    margin-top: 15px !important;
}

.navbar .dropdown-item {
    color: #333333 !important;
    font-weight: 600;
    padding: 10px 18px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: transparent !important;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: var(--primary) !important;
    transform: translateX(8px);
}

.navbar .dropdown-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.navbar .dropdown-divider {
    margin: 10px 0;
    opacity: 0.1;
}

/* HERO SECTION - Dynamic landing area with background gradients and key symposium data. */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a3d62 0%, #1a5276 40%, #1e8449 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.svg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(230, 126, 34, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #d35400);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.5);
    animation: float 4s ease-in-out infinite;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 10px 25px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.hero h1 span {
    color: #f39c12;
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(243, 156, 18, 0.3);
    z-index: -1;
}

.hero h1 span {
    color: #f39c12;
    position: relative;
}

.hero-theme {
    color: #00cfef;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    border-left: 4px solid #f39c12;
    padding-left: 20px;
    margin-bottom: 25px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
    display: block;
}

.hero-stats .stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-container {
    animation: fadeIn 1.5s ease-out;
}

#countdown, .countdown-timer {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #f39c12;
    line-height: 1;
}

.countdown-item label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.conf-date-display {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background: rgba(243, 156, 18, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(243, 156, 18, 0.3);
    width: fit-content;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.15);
}

.conf-date-display i {
    color: #f39c12;
}

.hero-image-wrapper {
    animation: slideInRight 1.2s ease-out;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.hero-image-wrapper img:hover {
    transform: scale(1.02) rotate(-1deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator a {
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator a:hover {
    color: #fff;
    transform: translateY(5px);
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #0a3d62, #154360, #1e8449, #e67e22, #154360, #0a3d62);
    background-size: 400% 400%;
    animation: theme-gradient-animation 15s ease infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}

/* ===== SECTION TITLES ===== */
.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .subtitle {
    color: var(--secondary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title-sub {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--primary);
}

.section-title-sub::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary-custom, .btn-primary {
    background: linear-gradient(135deg, var(--accent), #d35400);
    border: none;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.btn-primary-custom:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.4);
    color: #fff !important;
    background: linear-gradient(135deg, #d35400, var(--accent));
}

.btn-outline-custom, .btn-outline-primary {
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    background: transparent !important;
}

.btn-outline-custom:hover, .btn-outline-primary:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}

/* ===== ANIMATED CTA BUTTON ===== */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

.btn-submit-abstract {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-glow 2s infinite;
    transition: all 0.3s ease;
}

.btn-submit-abstract:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, #d35400, #e67e22) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    padding: 30px 25px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
    border-left: 3px solid var(--secondary);
}

.timeline-item:last-child {
    border-left: none;
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-date {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item h5 {
    color: #fff !important; /* Lighter color */
    font-weight: 600;
    margin: 5px 0;
}

.timeline-item h5 i {
    color: var(--accent) !important; /* Accent color for icons to make them pop */
}

.timeline-item p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-accent {
    background: var(--accent) !important;
    color: #fff !important;
}

.bg-light-custom {
    background-color: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(5px);
}

/* ===== SPEAKER CARDS ===== */
.speaker-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.speaker-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0f2f5;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speaker-social a {
    color: var(--primary);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.speaker-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* ===== CREW CARDS ===== */
.crew-card {
    text-align: center;
    padding: 25px 20px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    height: 100%;
}

.crew-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.crew-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0f2f5;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
}

/* Role Tones */
.card-role-speaker { border-top: 5px solid #e67e22 !important; }
.card-role-planning { border-top: 5px solid #9b59b6 !important; }
.card-role-technical { border-top: 5px solid #34495e !important; }
.card-role-support { border-top: 5px solid #27ae60 !important; }
.card-role-crew { border-top: 5px solid #b8860b !important; }
.card-role-attendee { border-top: 5px solid #3498db !important; }

.card-role-speaker .badge.bg-primary { background-color: #e67e22 !important; }
.card-role-planning .badge.bg-primary { background-color: #9b59b6 !important; }
.card-role-technical .badge.bg-primary { background-color: #34495e !important; }
.card-role-support .badge.bg-primary { background-color: #27ae60 !important; }
.card-role-crew .badge.bg-primary { background-color: #b8860b !important; }
.card-role-attendee .badge.bg-primary { background-color: #3498db !important; }


.crew-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== THEME TAGS ===== */
.theme-tag {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 15px;
    border-radius: 50px;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-1 { background: #3498db; color: #fff; } /* Blue */
.theme-2 { background: #9b59b6; color: #fff; } /* Purple */
.theme-3 { background: #2ecc71; color: #fff; } /* Green */
.theme-4 { background: #e74c3c; color: #fff; } /* Red */
.theme-5 { background: #f1c40f; color: #333; } /* Yellow */
.theme-6 { background: #34495e; color: #fff; } /* Dark Blue */
.theme-7 { background: #d35400; color: #fff; } /* Orange */
.theme-8 { background: #1abc9c; color: #fff; } /* Teal */
.theme-9 { background: #7f8c8d; color: #fff; } /* Gray */

.highlight-theme {
    border-left: 4px solid var(--accent) !important;
    background: rgba(230, 126, 34, 0.03);
    padding-left: 25px;
}

.highlight-theme h5 i {
    color: var(--accent);
}

.schedule-day-header h3 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.8) !important;
}

#scheduleTabs .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 5px;
}

#scheduleTabs .nav-link.active {
    color: #fff !important;
    background: var(--primary) !important;
}

.schedule-day-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* ===== SUPPORT CARDS ===== */
.support-card {
    padding: 30px 25px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-size: 1.5rem;
}

.staff-list p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* ===== SPONSOR CARDS ===== */
.sponsor-card {
    padding: 30px 20px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 2px solid #e9ecef;
    height: 100%;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.sponsor-card.platinum {
    border-color: #e5b80b;
    background: linear-gradient(135deg, #fff, #fff8e1);
}

.sponsor-card.gold {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff, #fffde7);
}

.sponsor-card.silver {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, #fff, #f5f5f5);
}

.sponsor-card i {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== SPONSOR GRID ===== */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.sponsor-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
}

.sponsor-item:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sponsor-item i {
    font-size: 4rem;
    color: var(--primary);
}

/* ===== CONTACT ===== */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(10, 61, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h6 {
    margin-bottom: 2px;
    color: var(--primary);
}

.contact-item p {
    margin-bottom: 0;
    color: #6c757d;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.8), rgba(30, 132, 73, 0.8)); /* 20% transparent */
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(-45deg, #0a1a2e, #0a3d62, #154360, #0a1a2e);
    background-size: 400% 400%;
    animation: theme-gradient-animation 15s ease infinite;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: #fff;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: #fff;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1.8rem;
    }

    .sponsor-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .btn-primary-custom, .btn-outline-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ===== THEMES & QUICK FACTS ===== */
.theme-main-box {
    transition: var(--transition);
}
.theme-main-box:hover {
    transform: translateX(10px);
}
.subtheme-card {
    transition: var(--transition);
    cursor: default;
}
.subtheme-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent) !important;
}
.fact-item .fact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.fact-item:hover .fact-icon {
    background: var(--primary) !important;
    color: #fff !important;
    transform: rotate(10deg);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-switcher-footer {
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover, .lang-btn:focus {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: var(--accent);
}

.lang-dropdown-menu {
    background: #1a2a3a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lang-dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent) !important;
}

.lang-dropdown-item img {
    margin-right: 8px;
    width: 20px;
    border-radius: 2px;
}

/* ===== PROTECTED CONTENT ===== */
.no-print {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media print {
    .no-print {
        display: none !important;
    }
}
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(10, 61, 98, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    display: none;
    animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
}

#cookie-banner p {
    font-size: 0.8rem; /* Smaller font */
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* MARQUEE RIBBON - Infinite scrolling horizontal ribbon for sponsor and partner logos. */
.marquee-ribbon {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 60s linear infinite;
}

.marquee-item {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin: 0 10px !important;
    transition: transform 0.3s ease;
}

.marquee-item span {
    display: inline-block !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.marquee-item img {
    height: 28px !important;
    max-height: 28px !important;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.footer-partners {
    text-align: center;
}

.footer-partners .marquee-ribbon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.footer-partners .marquee-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-partners .marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.footer-partners .marquee-item img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.marquee-item:hover img {
    transform: scale(1.15);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HONEYCOMB FLIP ANIMATION ===== */
.animal-hexagon {
    position: relative;
    width: 150px;
    height: 170px;
    margin: 10px;
    perspective: 1000px;
    cursor: pointer;
}

.hexagon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.animal-hexagon.is-flipped .hexagon-inner {
    transform: rotateY(180deg);
}

.hexagon-front, .hexagon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.hexagon-back {
    transform: rotateY(180deg);
    background: var(--secondary);
}

.animal-hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.animal-hexagon:hover img {
    transform: scale(1.1);
}

.animal-tooltip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 61, 98, 0.8);
    color: white;
    padding: 10px 5px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.animal-hexagon:hover .animal-tooltip {
    transform: translateY(0);
}

/* ===== FONT DIVERSITY & UI IMPROVEMENTS ===== */
h1, h2, .display-3, .display-4, .hero-v2-title {
    font-family: 'Georgia', serif;
    letter-spacing: -1px;
}

.lead, .ingress-text, .hero-v2-theme, .about-content {
    font-family: 'Verdana', sans-serif;
    font-weight: 300;
}

.v2-stat-number, .countdown-item span, #hero-countdown {
    font-family: 'Impact', sans-serif;
    letter-spacing: 1px;
}

.navbar-brand, .btn, .badge, .nav-link {
    font-family: 'Tahoma', sans-serif;
}

/* Page Specific Font Overrides */
.page-hero h1 {
    font-family: 'Times New Roman', serif;
    font-weight: 800;
}

.timeline-item h5 {
    font-family: 'Verdana', sans-serif;
    letter-spacing: 0.5px;
}

.speaker-card h5, .crew-card h5 {
    font-family: 'Georgia', serif;
    font-weight: 700;
}

.form-label, .card-title {
    font-family: 'Verdana', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer h5 {
    font-family: 'Impact', sans-serif;
    letter-spacing: 1px;
}

.hero-v2-visual img.visual-main-img {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}


.cursor-pointer {
    cursor: pointer;
}
.cursor-pointer:hover {
    background-color: #f8f9fa;
}

