/* ===== HEADER & NAVIGATION ===== */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: var(--conference-transition-smooth);
    background: var(--conference-bg);
    box-shadow: var(--conference-shadow-elegant);
}

.header-content {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--conference-border);
}

.logo-section img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    color: var(--conference-fg);
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -4px;
    height: 2px;
    background: var(--conference-gradient-gold);
    transition: right 0.3s ease;
}

.nav-links a:hover::after {
    right: 0;
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--conference-fg);
    font-size: 1.5rem;
}

.theme-toggle {
    background: transparent;
    border: 0;
    color: var(--conference-fg);
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--conference-transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--conference-muted);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--conference-bg);
    box-shadow: var(--conference-shadow-elegant);
    z-index: 40;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--conference-muted);
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    padding: 5rem 0;
}

.leadership-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    gap: 30px;
}

.leadership-top {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

.founder-patron-card {
    background: var(--conference-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--conference-shadow-elegant);
    flex: 1;
    text-align: center;
}

.chairperson-card {
    background: var(--conference-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--conference-shadow-elegant);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.leadership-card h3 {
    color: var(--conference-primary);
    margin: 20px 0 8px;
    font-size: 1.3rem;
}

.leadership-card h3:first-child {
    margin-top: 0;
}

.leadership-role {
    color: var(--conference-fg);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* ===== PROFILE CARD STYLES ===== */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: var(--conference-transition-smooth);
}

.profile-card:hover {
    background-color: var(--conference-muted);
}

.profile-image {
    width: 120px;
    margin: 0 auto 15px;
    background-color: var(--conference-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid var(--conference-muted);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.profile-image i {
    font-size: 40px;
    color: var(--conference-fg);
    opacity: 0.6;
}

.profile-image img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f8f9fa !important;
}

/* Leadership images */
.leadership-section .profile-image img {
    object-fit: contain !important;
    object-position: center 30% !important;
}

.profile-name {
    font-weight: bold;
    color: var(--conference-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.profile-role {
    color: var(--conference-fg);
    font-size: 0.95rem;
    opacity: 0.8;
}

.view-profile {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--conference-primary);
    color: var(--conference-secondary);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--conference-transition-smooth);
    border: 2px solid var(--conference-primary);
    margin-top: 10px;
}

.view-profile:hover {
    background-color: transparent;
    color: var(--conference-primary);
}

/* ===== HORIZONTAL LEADERSHIP LAYOUT ===== */
.horizontal-leadership {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.horizontal-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
}

.horizontal-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background-color: var(--conference-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--conference-muted);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.horizontal-profile-image i {
    font-size: 30px;
    color: var(--conference-fg);
    opacity: 0.6;
}

.horizontal-profile-name {
    font-weight: bold;
    color: var(--conference-primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.horizontal-profile-role {
    color: var(--conference-fg);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== ORGANIZERS SECTION ===== */
.organizers-section {
    padding: 5rem 0;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.organizer-card {
    background: var(--conference-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--conference-shadow-elegant);
    transition: var(--conference-transition-smooth);
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--conference-shadow-hover);
}

.organizer-card h3 {
    color: var(--conference-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--conference-border);
    padding-bottom: 10px;
}

.organizer-card h4 {
    color: var(--conference-primary);
    margin: 20px 0 15px;
    font-size: 1.2rem;
}

.organizer-card ul {
    list-style: none;
    padding-left: 0;
}

.organizer-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--conference-border);
}

.organizer-card li:last-child {
    border-bottom: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.team-grid span {
    padding: 8px 12px;
    background-color: var(--conference-muted);
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ===== TEAM MEMBERS GRID ===== */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.team-member-card {
    background: var(--conference-bg);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--conference-transition-smooth);
}

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

.team-member-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background-color: var(--conference-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--conference-muted);
}

.team-member-image i {
    font-size: 25px;
    color: var(--conference-fg);
    opacity: 0.6;
}

.team-member-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--conference-primary);
}

/* ===== ADVISORY SECTION ===== */
.advisory-section {
    padding: 5rem 0;
    background: var(--conference-muted);
}

.advisory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.advisory-card {
    background: var(--conference-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--conference-shadow-elegant);
    text-align: center;
    transition: var(--conference-transition-smooth);
    position: relative;
    overflow: hidden;
}

.advisory-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--conference-shadow-hover);
}

.advisory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--conference-primary), var(--conference-accent));
}

.advisory-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--conference-primary);
}

.advisory-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--conference-fg);
    opacity: 0.8;
}

/* ===== SPONSORS SECTION ===== */
.sponsors-section {
    padding: 3rem 0;
    background: var(--conference-muted);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sponsor-card {
    background: var(--conference-bg);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--conference-shadow-elegant);
    transition: var(--conference-transition-smooth);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sponsor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--conference-shadow-hover);
}

.sponsor-logo {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-card h4 {
    margin-bottom: 0.4rem;
    color: var(--conference-primary);
    font-size: 1rem;
    line-height: 1.3;
}

.sponsor-card p {
    color: var(--conference-accent);
    font-weight: 600;
    margin: 0;
    font-size: 0.85rem;
}

/* ===== SPONSORSHIP SECTION ===== */
.sponsorship-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(254, 252, 232, 0.7) 0%, rgba(254, 243, 199, 0.7) 100%);
    position: relative;
}

.sponsorship-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path fill="%23d69e2e" d="M50 10L60 40L90 40L65 60L75 90L50 70L25 90L35 60L10 40L40 40Z"/></svg>');
    pointer-events: none;
}

.sponsorship-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--conference-primary);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--conference-bg);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--conference-shadow-elegant);
    border-left: 4px solid var(--conference-accent);
    transition: var(--conference-transition-smooth);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--conference-shadow-hover);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--conference-accent-strong);
    cursor: pointer;
    list-style: none;
    padding: 1.5rem 2rem 1.5rem 3rem;
    margin: 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(214, 158, 46, 0.05);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::before {
    content: '+';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--conference-accent);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::before {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-item[open] .faq-question {
    background-color: rgba(214, 158, 46, 0.08);
    border-bottom: 1px solid rgba(214, 158, 46, 0.2);
}

.faq-answer {
    padding: 0 2rem 1.5rem 3rem;
    color: var(--conference-fg);
    line-height: 1.7;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--conference-accent-strong);
}

.contact-action {
    text-align: center;
    padding-top: 1rem;
}

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

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

/* ===== CHATBOT STYLES ===== */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-button {
    background: linear-gradient(135deg, #d69e2e, #ed8936);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.chatbot-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-width: 90vw;
    height: 450px;
    max-height: 70vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #d69e2e;
    display: none;
    flex-direction: column;
}

.chat-header {
    padding: 15px;
    background: #1a365d;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    -webkit-overflow-scrolling: touch;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    background: white;
    flex-shrink: 0;
}

.quick-question {
    background: #e2e8f0;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    margin: 2px;
    transition: all 0.2s ease;
}

.quick-question:hover {
    background: #d69e2e;
    color: white;
}

.user-message {
    background: #e2e8f0;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.assistant-message {
    background: #d69e2e;
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 80%;
    margin-left: auto;
    text-align: right;
    word-wrap: break-word;
}

.chat-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    min-height: 44px;
    box-sizing: border-box;
}

.chat-send-btn {
    padding: 12px 16px;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
}

.quick-questions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f7fafc, #e2e8f0);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d69e2e, #b7791f);
    border-radius: 8px;
    border: 3px solid #f7fafc;
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b7791f, #975a16);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #975a16, #744210);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Dark Theme Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #2d3748, #4a5568);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    border: 3px solid #2d3748;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #d69e2e #f7fafc;
}

[data-theme="dark"] html {
    scrollbar-color: #d69e2e #2d3748;
}

/* ===== ULTRA-COMPACT MENU FIX ===== */

.header-content {
    padding: 0.3rem 0 !important;
}

.logo-section {
    padding: 0.3rem 0 !important;
    gap: 0.8rem !important;
}

.nav-section {
    padding: 0.3rem 0 !important;
}

.logo-section img {
    height: 45px !important;
}

.nav-links {
    gap: 0.8rem !important;
}

.nav-links a {
    font-size: 0.85rem !important;
    padding: 0.2rem 0.4rem !important;
}

/* Single line registration buttons */
.nav-buttons {
    gap: 0.3rem !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.nav-buttons .btn-primary {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    min-width: auto !important;
}

.main-website-link {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.75rem !important;
    margin-left: 0.3rem !important;
}

.theme-toggle {
    padding: 0.3rem !important;
    margin-left: 0.3rem !important;
    font-size: 0.9rem !important;
}

/* ===== NEW UI IMPROVEMENTS ===== */

/* 1. Sticky Header with Glassmorphism */
header.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 2. Horizontal Activities Carousel */
.activities-timeline {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.activities-timeline::-webkit-scrollbar {
    height: 8px;
}

.activities-timeline::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.activities-timeline::-webkit-scrollbar-thumb {
    background: var(--conference-accent);
    border-radius: 4px;
}

.activity-card {
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    margin-bottom: 0;
    /* Override existing margin */
}

/* 3. Payment Details Styles */
.payment-details {
    margin-top: 15px;
    text-align: center;
    background: var(--conference-muted);
    padding: 12px;
    border-radius: 10px;
    border: 1px dashed var(--conference-border);
}

.payment-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--conference-fg);
    opacity: 0.7;
    margin-bottom: 4px;
}

.payment-id {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--conference-primary);
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
}

/* 4. Sponsorship & Contact styles */
.sponsorship-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-options {
    margin-top: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-options h4 {
    margin-bottom: 1.5rem;
    color: var(--conference-primary);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 160px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.btn-call {
    background: var(--conference-primary);
    color: white;
}

.btn-call:hover {
    background: #2d3748;
    color: white;
    transform: translateY(-2px);
}

.btn-email {
    background: #EA4335;
    color: white;
}

.btn-email:hover {
    background: #B91105;
    color: white;
    transform: translateY(-2px);
}

/* 5. Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* =========================================
   USER FEEDBACK FIXES (2025-12-18) - ROUND 2
   ========================================= */

/* =========================================
   COMPACT UPDATES GRID (MODERN REDESIGN)
   ========================================= */

.updates-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    /* Reduced gap */
}

.update-card {
    background: #ffffff;
    border-radius: 12px;
    /* Reduced radius */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

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

.update-image {
    height: 160px;
    /* Reduced from 200px */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.update-card:hover .update-image img {
    transform: scale(1.05);
}

.update-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--conference-primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-content {
    padding: 15px;
    /* Reduced from 25px */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.update-content h3 {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

.update-content p {
    font-size: 0.9rem;
    /* Reduced */
    color: #718096;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-text {
    background: linear-gradient(135deg, var(--conference-primary) 0%, var(--conference-accent) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    /* Accent color glow */
}

.btn-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    background: linear-gradient(135deg, var(--conference-accent) 0%, var(--conference-primary) 100%);
}

@media (max-width: 600px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }
}

/* 2. Keynote Modal Close Button - FORCED VISIBILITY */
.modal-close {
    position: fixed !important;
    /* Fixed relative to viewport */
    top: 25px !important;
    right: 25px !important;
    width: 48px !important;
    height: 48px !important;
    background: #000000 !important;
    /* Solid black */
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 2147483647 !important;
    /* Max Z-Index */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

.modal-close:hover {
    background: #e53e3e !important;
    /* Red on hover */
    transform: scale(1.1);
}

/* 3. Registration Fees Styles (Mobile Cards) */
.fees-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fee-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.fee-category {
    color: var(--conference-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    font-weight: 700;
}

.fee-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
}

.fee-option:last-child {
    border-bottom: none;
}

.fee-type {
    color: #64748b;
    font-weight: 500;
}

.fee-amount {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.1rem;
}

.fees-desktop-table {
    display: block !important;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.fees-desktop-table table {
    width: 100%;
    border-collapse: collapse;
}

.fees-desktop-table th,
.fees-desktop-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.fees-desktop-table th {
    background: var(--conference-primary);
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .fees-desktop-table {
        display: none !important;
    }
}

/* 4. Registration Form - Remove Background */
.registration-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.registration-card h3 {
    margin-bottom: 2rem;
    color: var(--conference-primary);
    border-left: 5px solid var(--conference-accent);
    padding-left: 15px;
}

/* 5. Payment Details - Remove Orange Background */
.payment-details {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.payment-title {
    color: var(--conference-primary);
    font-weight: 600;
}

.action-card.payment-card {
    background: #fff;
}


.action-card .image-placeholder {
    background: transparent !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 200px !important;
}

/* Fix Layout overflow */
.action-card {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-bottom: 2.5rem !important;
}

/* 6. Gallery Modal (Robust & Fixed) */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    /* Super high z-index */
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    /* Nearly opaque dark background */
    backdrop-filter: blur(5px);
}

.gallery-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind content */
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    /* Ensure clicks work */
}

.gallery-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    /* Flex to center icon */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.gallery-modal .modal-close:hover {
    background: white;
    color: black;
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    /* Above image */
}

.modal-nav:hover {
    background: white;
    color: black;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.modal-content {
    width: 100%;
    height: 100%;
    /* Fill container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-image-container {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    /* Leave room for caption */
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.modal-info {
    width: auto;
    min-width: 300px;
    max-width: 80%;
    padding: 15px 25px;
    color: white;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    /* Frosted glass caption */
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-counter {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-caption {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .modal-nav.prev {
        left: 10px;
    }

    .modal-nav.next {
        right: 10px;
    }

    .modal-image {
        max-height: 70vh;
    }
}