/* ==========================================================================
   VIMARSH 5.0 - MASTER STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://fonts.cdnfonts.com/css/digital-7-mono');

/* --- 1. GLOBAL VARIABLES & COLOR PALETTE --- */
:root {
    --bg-dark-primary: #050c16;
    --bg-dark-secondary: #08101d;
    --bg-dark-tertiary: #0e192b;
    --bg-light-page: #f4f7fa;
    --bg-light-middle: #dce4ed;
    --bg-about-section: #eef3f7;
    --bg-nav: rgba(5, 12, 22, 0.95);
    
    --accent-orange: #ff7200;
    --accent-orange-bright: #ff7200;
    --accent-orange-hover: #e06400;
    --accent-gold: #b8860b;
    
    --text-white: #ffffff;
    --text-muted: #90a4ae;
    --text-dark: #1a2533;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-brand: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-digital: 'Digital-7 Mono', 'Courier New', monospace;

    --img-hero-background: url('Main_BG.jpg');
    --img-past-editions-bg: url('IMI_Past_Editions_BG.jpg');
    --img-card-talent: url('TA.JPG');
    --img-card-learning: url('L&D.jpg');
    --bg-hero-overlay: linear-gradient(180deg, rgba(7, 14, 27, 0.85) 0%, rgba(6, 12, 23, 0.65) 50%, rgba(7, 14, 27, 0.95) 100%);
}

/* --- 2. BASE RESETS & UTILITIES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark-primary);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 3. NAVIGATION BAR --- */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 105px;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: height 0.3s ease;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-imi {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-divider {
    height: 38px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.25);
}

.logo-vimarsh {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.45rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin-top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    padding: 8px 0;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-orange);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- 4. BUTTONS --- */
.btn-orange {
    background: var(--accent-orange);
    color: var(--text-white);
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid var(--accent-orange);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 114, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-orange:hover {
    background: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-white);
}

/* --- 5. HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 60px;
    background-image: var(--bg-hero-overlay), var(--img-hero-background);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    width: 100%;
    align-items: center;
}

.hero-title-v4 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-title-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-venue-date {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.venue-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-bar {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.v5-tag {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--text-white);
}

/* --- 6. 7-SEGMENT TIMER --- */
.timer-wrapper {
    text-align: center;
    background: rgba(5, 12, 22, 0.6);
    padding: 35px 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timer-header-v5 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 25px;
}

.seven-segment-clock {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.led-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.led-digits-container {
    display: flex;
    gap: 3px;
    background: #4a1c00;
    padding: 4px;
    border-radius: 6px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.6);
}

.led-digit {
    background: var(--accent-orange);
    color: #120400;
    font-family: var(--font-digital);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: bold;
    line-height: 1;
    width: clamp(34px, 5vw, 44px);
    height: clamp(48px, 6vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.led-colon {
    font-family: var(--font-digital);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--accent-orange);
    margin-top: 5px;
}

.led-label {
    margin-top: 10px;
    font-size: 0.68rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

/* --- 7. STATS BAR --- */
.stats-bar {
    background-color: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 15px;
}

.stat-item:last-child { 
    border-right: none; 
}

.stat-svg {
    width: 36px;
    height: 36px;
    stroke: #ffffff;
    opacity: 0.9;
    flex-shrink: 0;
}

.stat-val {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 3px;
}

/* --- 8. MIDDLE SECTION & CARDS --- */
.middle-section {
    background-color: var(--bg-light-middle);
    color: var(--text-dark);
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

.middle-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    align-items: stretch;
}

.feature-cards-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card-box {
    display: block;
    height: 330px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.card-box-1 { background-image: var(--img-card-talent); }
.card-box-2 { background-image: var(--img-card-learning); }

.card-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 16, 28, 0.9);
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-box:hover .card-badge {
    background: var(--accent-orange);
    color: var(--text-white);
}

.legacy-box {
    padding-left: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.legacy-head {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0d1520;
    margin-bottom: 20px;
}

.timeline {
    border-left: 2px solid #0d1520;
    padding-left: 20px;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.timeline-node {
    position: relative;
    margin-bottom: 15px;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 4px;
    width: 12px;
    height: 12px;
    background-color: #0d1520;
    border-radius: 50%;
}

.node-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0d1520;
    line-height: 1;
}

.node-desc {
    font-size: 0.85rem;
    color: #546e7a;
    margin-top: 3px;
}

.learn-more-btn {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0d1520;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: color 0.3s ease;
}

.learn-more-btn:hover {
    color: #ff7200; 
}

.globe-bg-svg {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 380px;
    height: 380px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

/* --- 9. CONCLAVE HIGHLIGHTS / ABOUT HOMEPAGE --- */
.about-section {
    background-color: var(--bg-about-section);
    color: var(--text-dark);
    padding: 80px 8% 90px 8%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.about-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 40px;
}

.about-body {
    font-size: 0.88rem;
    line-height: 1.75;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-body strong {
    color: #0d1520;
    font-weight: 700;
}

/* --- 10. PAGE BANNERS & HEADERS --- */
.page-banner, .page-header {
    padding-top: 155px;
    padding-bottom: 50px;
    padding-left: 5%;
    padding-right: 5%;
    background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, var(--bg-dark-primary) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 10px;
}

.page-breadcrumb, .page-subtitle {
    font-size: 0.85rem;
    color: var(--text-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- 11. ABOUT PAGE CONTENT BLOCKS & CARD HOVER EFFECT --- */
.about-page-container {
    background-color: var(--bg-light-page);
    color: var(--text-dark);
    padding: 60px 8%;
}

.content-block {
    background: #ffffff;
    padding: clamp(20px, 4vw, 40px);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.block-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.member-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-orange);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.member-name { 
    font-weight: 700; 
    font-size: 1rem; 
    color: #0d1520; 
}

.member-role { 
    font-size: 0.8rem; 
    color: #64748b; 
}

.card-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.card-hover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-block:hover > .card-hover-img,
.member-card:hover > .card-hover-img {
    opacity: 1;
    visibility: visible;
}

.content-block:hover > .card-hover-img img,
.member-card:hover > .card-hover-img img {
    transform: scale(1.05);
}

/* --- 12. THEMES PAGE & DROPDOWN PANELS --- */
.themes-page-container { 
    padding: 60px 8%; 
    background-color: var(--bg-dark-secondary); 
}

.theme-track { 
    background: var(--bg-dark-tertiary); 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.08); 
    margin-bottom: 30px; 
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-track:hover {
    border-color: rgba(255, 114, 0, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.track-num { 
    color: var(--accent-orange); 
    font-weight: 800; 
    font-size: 0.85rem; 
    letter-spacing: 2px; 
}

.track-title { 
    font-size: 1.6rem; 
    margin: 8px 0 15px 0; 
    font-family: var(--font-heading); 
}

.track-body { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    line-height: 1.7; 
}

.theme-dropdown-container {
    margin-top: 20px;
    position: relative;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 114, 0, 0.12);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 114, 0, 0.4);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-track:hover .dropdown-trigger,
.dropdown-trigger:hover {
    background: var(--accent-orange);
    color: var(--text-white);
}

.dropdown-menu {
    position: relative;
    margin-top: 15px;
    background: #050c16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, visibility 0.4s ease, padding 0.4s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.theme-track:hover .dropdown-menu,
.theme-dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 1200px;
    transform: translateY(0);
    padding: 15px;
}

.panel-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: var(--bg-dark-tertiary);
    border-radius: 6px;
    border-left: 4px solid var(--accent-orange);
    transition: background 0.2s ease, transform 0.2s ease;
}

.panel-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.panel-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-orange);
    background: rgba(255, 114, 0, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.panel-theme {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* --- 13. SPEAKERS PAGE --- */
.speakers-section {
    background-color: var(--bg-light-middle);
    color: var(--text-dark);
    padding: 60px 6%;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.speaker-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--accent-orange);
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.speaker-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #0d1520;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.05);
}

.speaker-topic-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(8, 16, 29, 0.9);
    color: var(--accent-orange);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 114, 0, 0.3);
}

.speaker-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.speaker-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d1520;
    margin-bottom: 4px;
}

.speaker-role {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 6px;
}

.speaker-company {
    font-size: 0.78rem;
    font-weight: 600;
    color: #546e7a;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.speaker-bio {
    font-size: 0.85rem;
    color: #37474f;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.speaker-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d1520;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-link:hover {
    color: var(--accent-orange);
}

/* --- 14. PAST EDITIONS - GALLERY & ALTERNATING TIMELINE --- */
.gallery-section {
    padding: 50px 5%;
    background-color: var(--bg-dark-secondary);
}

.gallery-title {
    text-align: center;
    font-family: var(--font-brand);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.slider-wrapper {
    position: relative;
    max-width: 1100px;
    height: 480px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.slide.active { 
    opacity: 1; 
}

.slide-caption {
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 22, 0.9) 100%);
    padding: 30px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { 
    background: var(--accent-orange); 
}

.editions-section {
    background: linear-gradient(180deg, rgba(220, 228, 237, 0.65) 0%, rgba(244, 247, 250, 0.75) 100%), 
                var(--img-past-editions-bg) center/cover no-repeat fixed;
    color: var(--text-dark);
    padding: 80px 5%;
    position: relative;
}

.timeline-spine-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-spine-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-orange) 0%, rgba(13, 21, 32, 0.3) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.timeline-block {
    position: relative;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.timeline-block.left {
    text-align: right;
}

.timeline-block.right {
    text-align: left;
}

.timeline-node-pin {
    position: absolute;
    top: 30px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 5px solid var(--accent-orange);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 114, 0, 0.6);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-block.left .timeline-node-pin {
    right: -12px;
}

.timeline-block.right .timeline-node-pin {
    left: -12px;
}

.timeline-block:hover .timeline-node-pin {
    background: var(--accent-orange);
    transform: scale(1.3);
}

.timeline-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent-orange);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-card.photo-card {
    padding: 16px;
}

.timeline-card-img-wrap {
    overflow: hidden;
    border-radius: 8px;
}

.timeline-card-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.timeline-card-caption {
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d1520;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-block:hover .timeline-card {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.timeline-block.left .timeline-card-header {
    justify-content: flex-end;
}

.timeline-block.right .timeline-card-header {
    justify-content: flex-start;
}

.timeline-year-badge {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    font-weight: 800;
    color: #0d1520;
    line-height: 1;
}

.timeline-edition-tag {
    font-size: 0.68rem;
    font-weight: 800;
    background: var(--bg-dark-secondary);
    color: var(--accent-orange);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d1520;
    margin-bottom: 12px;
    line-height: 1.35;
}

.timeline-card-desc {
    font-size: 0.88rem;
    color: #455a64;
    line-height: 1.65;
    margin-bottom: 20px;
}

.timeline-card-stats {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 14px;
}

.timeline-block.left .timeline-card-stats {
    justify-content: flex-end;
}

.timeline-block.right .timeline-card-stats {
    justify-content: flex-start;
}

.timeline-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #37474f;
}

.timeline-stat-pill svg {
    stroke: var(--accent-orange);
    flex-shrink: 0;
}

/* --- 15. CONTACT US PAGE --- */
.contact-container { 
    padding: 60px 8%; 
    background-color: var(--bg-dark-secondary); 
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    max-width: 800px; 
    margin: 0 auto; 
}

.info-box { 
    background: var(--bg-dark-tertiary); 
    padding: clamp(20px, 4vw, 35px); 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.08); 
}

.info-title { 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    color: var(--accent-orange); 
    font-weight: 700; 
    margin-bottom: 5px; 
}

.info-desc { 
    font-size: 1rem; 
    margin-bottom: 25px; 
}

/* Pill CTA Button */
.maps-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: #E85A1C; /* Solid orange background */
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px; /* Rounded pill shape */
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(232, 90, 28, 0.25);
}

/* Hover & Active States */
.maps-button:hover {
  background-color: #D04E15; /* Darker orange on hover */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 90, 28, 0.35);
}

.maps-button:active {
  transform: translateY(0);
}

.btn-icon {
  flex-shrink: 0;
}

/* --- 16. FOOTER --- */
footer.footer-bar {
    background-color: #040810;
    padding: 25px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon-link {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon-link:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-credit {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav-links a {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    padding: 4px 0;
}

.footer-nav-links a:hover,
.footer-nav-links a.active {
    color: var(--accent-orange);
}

/* --- 17. MOBILE RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    header.navbar {
        height: 85px;
        padding: 0 5%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        background: var(--bg-dark-primary);
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 120px;
    }

    .middle-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .slider-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero-title-v4 {
        font-size: 2.8rem;
    }

    .hero-title-sub {
        font-size: 1.6rem;
    }

    .seven-segment-clock {
        gap: 4px;
    }

    .led-digit {
        width: 28px;
        height: 42px;
        font-size: 1.8rem;
    }

    .led-colon {
        font-size: 1.5rem;
    }

    .led-label {
        font-size: 0.55rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 12px;
        padding-right: 0;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .feature-cards-wrap {
        grid-template-columns: 1fr;
    }

    .card-box {
        height: 260px;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .page-banner, .page-header {
        padding-top: 125px;
        padding-bottom: 35px;
    }

    .slider-wrapper {
        height: 280px;
    }

    .slide-caption {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    /* Single Column Mobile Timeline */
    .timeline-spine-wrapper::before {
        left: 20px;
        transform: none;
    }

    .timeline-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .timeline-block {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    /* Reorder cards on mobile: Photo first, Info second */
    .timeline-block.photo-block {
        order: 1;
    }

    .timeline-block.info-block {
        order: 2;
    }

    .timeline-block.left, .timeline-block.right {
        text-align: left;
    }

    .timeline-block.left .timeline-node-pin,
    .timeline-block.right .timeline-node-pin {
        left: 8px;
        right: auto;
        top: 24px;
    }

    .timeline-block.left .timeline-card-header,
    .timeline-block.right .timeline-card-header,
    .timeline-block.left .timeline-card-stats,
    .timeline-block.right .timeline-card-stats {
        justify-content: flex-start;
    }

    footer.footer-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-nav-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-logos {
        gap: 8px;
    }

    .logo-imi {
        height: 34px;
    }

    .logo-vimarsh {
        height: 36px;
    }

    .brand-divider {
        height: 28px;
    }

    .v5-tag {
        font-size: 1.4rem;
    }

    .led-digit {
        width: 24px;
        height: 36px;
        font-size: 1.5rem;
    }

    .theme-track {
        padding: 20px 16px;
    }

    .panel-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}