:root {
    --primary-color: #2E1A47;
    /* Deep Purple */
    --secondary-color: #1a237e;
    /* Royal Blue */
    --accent-color: #D4AF37;
    /* Gold */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #ffffff;
    --off-white: #f9fafb;
    --bg-light: #f3f4f6;
    --max-width: 1280px;
    --header-height: 80px;

    --font-heading-main: 'Cinzel', serif;
    --font-heading-sub: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading-main);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542300058-b94b8ab7411b?q=80&w=2574&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-heading-main);
    font-size: 4rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-headline {
    font-family: var(--font-heading-sub);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Updates */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    /* Wider container */
}

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

.hero-logos-top {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
    margin-top: 4rem;
}

.collab-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: logoFadeIn 1s ease-out forwards, logoFloat 3s ease-in-out infinite;
}

.collab-logo:nth-child(1) {
    animation-delay: 0s, 0s;
}

.collab-logo:nth-child(2) {
    animation-delay: 0.2s, 0.5s;
}

.collab-logo:nth-child(3) {
    animation-delay: 0.4s, 1s;
}

.collab-logo:nth-child(4) {
    animation-delay: 0.6s, 1.5s;
}

.collab-logo:nth-child(5) {
    animation-delay: 0.8s, 2s;
}

.hero-logo-main {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    animation: periodic-spin 10s ease-in-out infinite;
}

/* Timeline moved to Hero */
.hero-timeline-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    max-width: 350px;
}

.hero-timeline-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading-main);
}

.timeline-item-hero {
    border-left: 2px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.timeline-item-hero::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-main-column {
        align-items: center;
    }

    .hero-logos-top {
        justify-content: center;
    }
}

/* Marquee Styles */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    background: var(--light-bg);
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.council-card-marquee {
    width: 300px;
    flex-shrink: 0;
    white-space: normal;
    background: var(--white);
    padding: 0;
    /* Reset padding */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure hover pauses scrolling */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes content is duplicated */
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.detail-item i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-family: var(--font-heading-main);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content .lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.quote-card {
    background-color: var(--off-white);
    padding: 3rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.quote-card blockquote {
    font-family: var(--font-heading-sub);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.leader-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(to right, #ffffff, #fdfdfd);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.leader-card.reverse {
    grid-template-columns: 1fr 200px;
}

.leader-card.reverse .leader-photo-frame {
    order: 2;
}

.leader-card.reverse .leader-content {
    text-align: right;
}

.leader-photo-frame {
    position: relative;
    padding: 10px;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
}

.photo-placeholder {
    width: 100%;
    height: 250px;
    background-color: #eee;
    background-image: linear-gradient(45deg, #eee 25%, #f5f5f5 25%, #f5f5f5 50%, #eee 50%, #eee 75%, #f5f5f5 75%, #f5f5f5 100%);
    background-size: 20px 20px;
    border-radius: 2px;
}

.leader-content h4 {
    font-family: var(--font-heading-main);
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leader-content h5 {
    font-family: var(--font-heading-sub);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-content p.role {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.leader-content p.message-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Objectives Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h4 {
    font-family: var(--font-heading-sub);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.theme-card {
    position: relative;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.theme-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.theme-card:hover::before {
    transform: scaleY(1);
}

.theme-card h4 {
    font-family: var(--font-heading-main);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sub-theme {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Presenters Section */
.search-filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-input,
.filter-select {
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.search-input {
    flex: 1;
}

.presenters-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    min-height: 600px;
    /* Prevents layout shift when filtering */
}

.presenter-card-large {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.presenter-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.presenter-photo {
    height: 200px;
    background-color: #f0f0f0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="%23cccccc" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 1px solid #eee;
}

.presenter-info {
    padding: 1.5rem;
    text-align: center;
}

.presenter-info h5 {
    font-family: var(--font-heading-sub);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.presenter-info .role {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.divider-small {
    border: none;
    border-top: 1px solid #eee;
    width: 40px;
    margin: 0.5rem auto 1rem;
}

.paper-title {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.read-more {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--primary-color);
}


/* Call For Papers */
.dark-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.dark-section h3,
.dark-section h4 {
    color: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.guidelines {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.guidelines ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.guidelines li {
    margin-bottom: 0.8rem;
}

.email-list li {
    margin-bottom: 0.5rem;
}

.email-list a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Timeline */
.timeline {
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 5px;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
}

.timeline-item .date {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-item .event {
    font-size: 1.2rem;
}

.timeline-item.highlight::before {
    background-color: var(--accent-color);
}

.timeline-item.highlight .event {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-content h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading-main);
}

.footer-content p {
    margin-bottom: 0.8rem;
}

.bottom-bar {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: var(--header-height);
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 2rem;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .burger {
        display: block;
    }

    .content-grid,
    .split-layout,
    .leader-card,
    .leader-card.reverse {
        grid-template-columns: 1fr;
    }

    .leader-card.reverse .leader-photo-frame {
        order: -1;
    }

    .leader-card.reverse .leader-content {
        text-align: left;
    }

    .quote-card {
        margin-top: 2rem;
    }
}