/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;600;700&family=Sora:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #0d1b2a;
    /* Deep Blue/Black */
    --secondary-color: #1b263b;
    /* Dark Blue */
    --accent-color: #e0e1dd;
    /* Off White/Platinum */
    --highlight-color: #C6A87C;
    /* Gold/Bronze - Luxury Accent */
    --text-dark: #e0e1dd;
    --text-light: #ffffff;
    --dark-bg: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);

    /* Spacing */
    --section-padding: 80px 0;
}





/* Version Toggle Button */
.version-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.version-toggle:hover {
    border-color: var(--highlight-color);
    color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(198, 168, 124, 0.25);
}

.version-toggle .version-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(198, 168, 124, 0.2);
    color: var(--highlight-color);
    font-size: 0.7rem;
}



html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

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

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

.navbar.scrolled {
    background-color: rgba(8, 28, 21, 0.95);
}


.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--highlight-color);
    transition: width 0.3s;
}

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

.nav-menu a:hover {
    color: var(--highlight-color);
}

.btn-nav {
    background-color: var(--highlight-color);
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.btn-nav:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-divider {
    height: 3px;
    width: 100px;
    background-color: var(--highlight-color);
    margin: 0 auto 2rem;
}

.hero-date {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.hero-location {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Hero Logos */
.hero-logos {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

/* Enforce White Text & Shadow */
.hero-title,
.hero-subtitle,
.hero-date,
.hero-location {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}


.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--highlight-color);
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--highlight-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(198, 168, 124, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--highlight-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(198, 168, 124, 0.4);
}

.speaker-card .lattes-link-card {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--highlight-color);
    text-decoration: none;
    border: 1px solid var(--highlight-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.speaker-card .lattes-link-card:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

/* Sections Global */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--highlight-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--text-light);
    opacity: 0.5;
}

/* About Section */
.about {
    background-color: #0b1116;
    /* Slightly lighter than main bg */
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #b0c4de;
    text-align: justify;
}

.stats-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--highlight-color);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* Program Section */
.program {
    background-image: url('background.png');
    /* If subtle pattern */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Dark overlay */
    z-index: 0;
}

.program .container {
    position: relative;
    z-index: 1;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-day h3 {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
    color: var(--highlight-color);
    font-size: 1.5rem;
    border: 1px solid var(--highlight-color);
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    background-color: rgba(198, 168, 124, 0.1);
}

.timeline-day {
    text-align: center;
}

.timeline-items {
    text-align: left;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    margin-left: 50%;
    transform: translateX(-50%);
    /* Start centered-ish vertically but layout is listed */
    /* Let's simplify timeline for mobile first approach actually or just simple list styling */
    margin-left: 0;
    transform: none;
    border-left: none;
}

/* Better Timeline styling */
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--highlight-color);
    transition: all 0.3s;
}

.timeline-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

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

.timeline-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.timeline-item p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Section Divider */
.section-divider-bg {
    height: 300px;
    background-image: url('background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.section-divider-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Speakers Section */
.speakers {
    background-color: #0b1116;
}

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

.speaker-card {
    text-align: center;
}

.speaker-img-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #2a2a2a;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--highlight-color);
    /* Placeholder behavior */
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
    overflow: hidden;
}

.speaker-img-placeholder::after {
    content: '👤';
}

.speaker-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--face-x, 50%) var(--face-y, 50%);
    border-radius: 50%;
    display: block;
}

.speaker-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.speaker-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Committee Section */
.committee {
    background-color: var(--dark-bg);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.committee-member {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
}

/* Committee List Style */
.committee-list {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.committee-list ul li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Content Text Style */
.content-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.member-img-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #2a2a2a;
    margin: 0 auto 1rem;
    background-image: linear-gradient(45deg, #1e1e1e, #2a2a2a);
}

.member-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.committee-member h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.committee-member p {
    font-size: 0.85rem;
    color: var(--highlight-color);
}

/* Location Section */
.location {
    position: relative;
    padding-bottom: 0;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-details {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-details h3 {
    color: var(--highlight-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.location-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    align-self: flex-start;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--highlight-color);
    border-color: var(--highlight-color);
}

.map-container {
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    height: 100%;
    width: 100%;
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, #0d1b2a 0%, #000 100%);
    text-align: center;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1a1a1a;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.footer-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-ime img,
.footer-support img,
.footer-sponsors img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
    object-fit: contain;
}

.footer-ime img:hover,
.footer-support img:hover,
.footer-sponsors img:hover {
    filter: none;
}

.footer-links h4,
.footer-ime h4,
.footer-support h4,
.footer-sponsors h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #888;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--highlight-color);
    padding-left: 5px;
}

.footer-cta {
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* MacBook-style Dropdown Menu (Nested Style) */
.dropdown-trigger {
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active .dropdown-icon {
    transform: rotate(180deg);
}

.mac-dropdown {
    display: none;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--highlight-color);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform-origin: top;
    animation: slideDown 0.3s ease forwards;
}


.dropdown-trigger.active .mac-dropdown {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.dropdown-item {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    width: 0.5rem;
    height: 1px;
    background-color: var(--highlight-color);
    opacity: 0.5;
}


.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
}


.dropdown-item h5 {
    color: var(--highlight-color);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-family: 'Playfair Display', serif;
}


.dropdown-item p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.2rem;
}


.dropdown-item .speaker-name {
    font-weight: 600;
    color: var(--text-light);
}


.dropdown-item .lattes-link {
    font-size: 0.8rem;
    color: var(--highlight-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.3rem;
    opacity: 0.8;
}

.dropdown-item .lattes-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Adjust timeline item for dropdown */
.timeline-item.dropdown-trigger {
    padding-bottom: 1.5rem;
    /* Ensure space when closed */
}

.footer-links a {
    color: #888;
}

.footer-links a:hover {
    color: var(--highlight-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #555;
    font-size: 0.9rem;
}




/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}


@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--highlight-color);
    text-decoration: none;
    cursor: pointer;
}

.modal h3 {
    margin-top: 0;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}


.modal p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}


/* Accordion Styles */
.objectives-accordion {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}


.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}


.accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}


.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: var(--highlight-color);
}

.accordion-trigger.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideDown 0.3s ease forwards;
}


.accordion-content.active {
    display: block;
}

.accordion-content li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.5;
}



/* Responsiveness */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 4rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .version-toggle {
        padding: 0.35rem 0.7rem;
        font-size: 0.65rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        height: auto;
    }

    .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-location {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        width: auto;
        display: inline-block;
    }

    /* Logo Responsiveness */
    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    /* Images Responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }

    .section-divider-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Footer Images */
    .footer-logo img {
        height: 50px;
        max-width: 200px;
    }

    .footer-logos {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-ime img {
        max-height: 60px;
        max-width: 120px;
    }

    /* Section Adjustments */
    .section-title {
        font-size: 2rem;
    }

    .about-grid,
    .location-container {
        grid-template-columns: 1fr;
    }

    .stats-col {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .location-details {
        padding: 2rem;
    }

    .map-container {
        height: 300px;
    }

    /* Speaker and Committee Cards */
    .speakers-grid,
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .speaker-img-placeholder {
        width: 120px;
        height: 120px;
    }

    .member-img-placeholder {
        width: 80px;
        height: 80px;
    }
}

/* Base FAQ Accordion Styles (Desktop & Mobile) */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--card-bg);
    /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}


.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}


.faq-question .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: transparent;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal Text Color Fix */
.modal-content {
    color: #ffffff;
}

.modal-content p,
.modal-content li {
    color: #e0e0e0;
}