:root {
    --primary-teal: #025255;
    --light-teal: #214240;
    --accent-orange: #ff8c42;
    --warm-orange: #f4a261;
    --cream-bg: #f8f6f0;
    --dark-teal: #1e5450;
    --white: #ffffff;
    --gray-text: #555555;
    --light-gray: #f0f0f0;
    --dark-gray: #333333;
    --border-color: #e0e0e0;
    --navbar-bg: #f7803b;
    --beige: #F5E6D3;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-text);
    overflow-x: hidden;
}

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





/* --- 1. Main Navbar: Frosted Glass Effect --- */
.navbar {
    /* Semi-transparent background for the glass effect */
    background: rgba(249, 235, 181, 0.85);
    backdrop-filter: blur(10px);
    /* This creates the blur */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */

    position: sticky;
    top: 0;
    z-index: 1200;

    /* A more subtle border and shadow for a cleaner look */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
    /* Smooth transition on scroll */
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 76px;
    display: flex;
    justify-content: space-between;
    /* Aligns items to the edges */
    align-items: center;
}

/* --- 2. Logo Text Area (Empty but preserves space if needed) --- */
.logo-text {
    font-weight: 200;
    display: flex;
    align-items: center;
}

/* --- 3. Navigation Links: Centered with Dynamic Underline --- */
.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-teal);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 5px;
    transition: color 0.3s ease;
    position: relative;
    /* Needed for the ::after pseudo-element */
}

/* The animated underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--accent-orange);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    /* Start with no width */
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-orange);
}

/* Animate the underline on hover/focus */
.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

/* Style for the currently active link (requires JS to add the 'active' class) */
.nav-link.active {
    color: var(--accent-orange);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* --- 4. User Icon & Mobile Toggle --- */
.icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(45deg, var(--accent-orange), var(--warm-orange));
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

/* --- 5. Mobile & Responsive --- */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-right: 6px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-teal);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--primary-teal);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}


@media (max-width: 900px) {
    .nav-inner {
        justify-content: flex-end;
        /* Push icons to the right */
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        display: none;
        padding: 8px 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* ================================================================= */
/* REDESIGNED NAVIGATION BAR (NO LOGO)               */
/* ================================================================= */

/* --- 1. Main Navbar: Frosted Glass Effect --- */
.navbar {
    /* Semi-transparent background for the glass effect */
    background: rgba(255, 255, 253, 0.85);
    backdrop-filter: blur(10px);
    /* This creates the blur */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */

    position: sticky;
    top: 0;
    z-index: 1200;

    /* A more subtle border and shadow for a cleaner look */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
    /* Smooth transition on scroll */
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 76px;
    display: flex;
    justify-content: space-between;
    /* Aligns items to the edges */
    align-items: center;
}

/* --- 2. Logo Text Area (Empty but preserves space if needed) --- */
.logo-text {
    display: flex;
    align-items: center;
}

/* --- 3. Navigation Links: Centered with Dynamic Underline --- */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 5px;
    transition: color 0.3s ease;
    position: relative;
    /* Needed for the ::after pseudo-element */
}

/* The animated underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--accent-orange);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    /* Start with no width */
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-orange);
}

/* Animate the underline on hover/focus */
.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

/* Style for the currently active link (requires JS to add the 'active' class) */
.nav-link.active {
    color: var(--accent-orange);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* --- 4. User Icon & Mobile Toggle --- */
.icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(45deg, var(--accent-orange), var(--warm-orange));
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

/* --- 5. Mobile & Responsive --- */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-right: 6px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-teal);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--primary-teal);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}


@media (max-width: 900px) {
    .nav-inner {
        justify-content: flex-end;
        /* Push icons to the right */
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        display: none;
        padding: 8px 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* PROPER LOGIN/SIGNUP MODAL STYLES                                  */
/* ================================================================= */

.auth-modal-container {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.auth-modal-container.active {
    display: flex;
}

.auth-modal-container h1 {
    font-weight: 700;
    margin: 0;
    color: var(--primary-teal);
}

.auth-modal-container p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.auth-modal-container span {
    font-size: 12px;
}

.auth-modal-container a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.auth-modal-container button {
    border-radius: 20px;
    border: 1px solid var(--accent-orange);
    background-color: var(--accent-orange);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

.auth-modal-container button:active {
    transform: scale(0.95);
}

.auth-modal-container button:focus {
    outline: none;
}

.auth-modal-container button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

.auth-modal-container form {
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.auth-modal-container input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 8px;
}

.auth-panel {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 90%;
    min-height: 480px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.auth-panel.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.auth-panel.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.auth-panel.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: var(--primary-teal);
    background: linear-gradient(to right, var(--accent-orange), var(--primary-teal));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.auth-panel.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel h1 {
    color: var(--white);
}

.overlay-left {
    transform: translateX(-20%);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.auth-panel.right-panel-active .overlay-left {
    transform: translateX(0);
}

.auth-panel.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 110;
}


















































































































































































/* Main flex container for the ticker */
.important-dates-ticker {
    display: flex;
    align-items: stretch;
    /* Makes title and scroll area same height */
    background-color: rgba(239, 122, 32);
    /* border-radius: 10px; */
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto 0 auto;
    overflow: hidden;
    border: 1px solid var(--accent-orange);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* The static title on the left */
.ticker-title {
    background-color: var(--accent-orange);
    color: #090600;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 1.0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-style: bold;
}

/* The wrapper for the scrolling part */
.ticker-scroll-wrapper {
    flex-grow: 1;
    /* Takes up the remaining space */
    overflow: hidden;
    /* Hides the text as it scrolls */
    display: flex;
    align-items: center;
}

/* The paragraph holding the scrolling text */
.ticker-content {
    color: var(--white);
    font-size: 1.2rem;
    /* Increased font size */
    font-weight: 500;
    /* Slightly bolder for clarity */
    white-space: nowrap;
    padding-left: 100%;
    animation: tickerAnimation 66s linear infinite;
}

/* The keyframes that define the animation (no change needed here) */
@keyframes tickerAnimation {
    0% {
        transform: translateX(0);
    }

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





/* Add this new animation rule anywhere in your styles.css file */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 140, 66, 0.8), 0 0 10px rgba(255, 255, 255, 0.5) inset;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 140, 66, 0.4);
    }
}

/* ========================================= */
/* 1. Global Section Styling (Dark Green Area) */
/* ========================================= */

/* Note: Assuming the parent container already has the dark green background.
   If not, you can define it here, but I'll focus on the countdown specific elements. */
.countdown-section {
    /* Padding adjusted to be only around the timer/title for cleaner spacing */
    padding: 30px 0;
    text-align: center;
    /* Optional: Small box-shadow for visual separation from surrounding elements */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    /* Ensures the element takes up its own space and doesn't overlap */
    position: relative;
    width: 100%;
    margin-bottom: -50px;
    margin-top: -20px;
}

/* ========================================= */
/* 2. Title Styling */
/* ========================================= */

.countdown-title {
    color: rgba(239, 122, 32);
    ;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    /* Creates clean space above the box */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Ensures the title is centered */
    display: block;
}

/* ========================================= */
/* 3. Timer Box and Item Styling */
/* ========================================= */

/* Main wrapper to center the box */
.countdown-container {
    display: flex;
    justify-content: center;
    /* This is key for horizontal centering */
}

/* The actual white box around the numbers */
.countdown-box {
    border: 3px solid rgba(239, 122, 32);
    ;
    border-radius: 8px;
    padding: 20px 45px;
    display: flex;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtly enhances the box */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* The combination of flexbox (on container) and no conflicting positioning 
       here ensures it sits cleanly in the center of the page flow. */
}

/* Individual day/hour/minute/second unit */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(239, 122, 32);
    ;
    text-align: center;
}

/* ========================================= */
/* 4. Number and Label Styling */
/* ========================================= */

/* Large Numbers */
.countdown-item .number {
    font-family: Arial, sans-serif;
    font-size: 5.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff0af;
}

/* Labels (DAYS, HOURS, etc.) */
.countdown-item .label {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CCCCCC;
}

/* Replace the existing .hero-feature-card style with this */

.hero-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-orange);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    /* Slightly increased border-radius */
    padding: 1.2rem 1.8rem;
    /* Increased padding for a larger box */
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* Increased gap */
    transition: background 0.3s ease;
    animation: pulseGlow 2.5s infinite ease-in-out;
}



/* You can leave the :hover rule as is, or modify it like this to pause the animation */
.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
    /* Pauses the glow on hover */
}

/* Replace the existing .hero-feature-icon style with this */
.hero-feature-icon {
    flex-shrink: 0;
    width: 50px;
    /* Increased size */
    height: 50px;
    /* Increased size */
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    /* Increased icon size */
}













/* Replace the existing .hero-feature-title style with this */
.hero-feature-title {
    font-size: 1.2rem;
    /* Increased font size */
    font-weight: 700;
    color: var(--white);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}







































































/* -- Professional Redesign for Abstract Form -- */

/* Form Header Styling */

#abstractStep .form-header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cream-bg);
}

#abstractStep .form-header .fas {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

#abstractStep .form-header .form-title {
    color: var(--white);
    /* White title for better contrast */
    margin-bottom: 0.5rem;
}

#abstractStep .form-header .form-subtitle {
    font-size: 1rem;
    color: #f0f0f0;
    max-width: 400px;
    margin: 0 auto;
}

/* Enhanced Form Group and Label Styling */
#abstractStep .form-group {
    margin-bottom: 1.5rem;
}

#abstractStep label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--cream-bg);
    font-size: 0.95rem;
}

/* Modern Input Field Styling */
#abstractStep input,
#abstractStep select,
#abstractStep textarea {
    background-color: rgba(248, 246, 240, 0.95);
    /* Slightly transparent cream */
    border: 2px solid transparent;
    /* Transparent border */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    /* Ensure all fields take full width */
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--primary-teal);
}

#abstractStep input:focus,
#abstractStep select:focus,
#abstractStep textarea:focus {
    border-color: var(--accent-orange);
    /* Highlight with accent color on focus */
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.3);
    outline: none;
}

/* Style for the disabled sub-theme dropdown */
#subTheme:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Helper Text for Instructions */
.form-helper-text {
    font-size: 0.85rem;
    color: #cccccc;
    display: block;
    margin-top: 0.5rem;
}

/* Custom File Upload Buttons */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-button {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed var(--accent-orange);
    border-radius: 8px;
    color: var(--cream-bg);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.file-upload-button:hover {
    background-color: var(--accent-orange);
    color: var(--primary-teal);
}

.file-upload-button .fas {
    margin-right: 0.5rem;
}

/* Enhanced Submit Button */
#abstractStep .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1rem;
}

#abstractStep .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

/* --- Styling for Download Box inside the Modal --- */
.modal-download-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2rem 0;
    /* Add some vertical spacing */
}

.modal-download-box .btn-download {
    /* Use the same eye-catching animation as other CTA buttons */
    animation: eyeCatcherAnimation 1.5s infinite ease-in-out;
}

.modal-download-box .btn-download:hover {
    animation-play-state: paused;
}











/* Hero Section */

.hero-title {
    /* font-family: 'League Spartan', 'Oswald', 'Abril Fatface', 'Sacramento', 'Raleway', sans-serif; */
    font-size: 3.7rem;
    font-weight: 700;
    /* letter-spacing: 1px; */
    color: #fff;
    text-transform: uppercase;

}

.hero-title sup {
    font-size: 1.2rem;
    vertical-align: super;
    font-weight: 700;
    text-transform: lowercase;
    margin-left: 2px;

}

.hero-subtitle,
.hero-details {
    font-family: 'Libre Baskerville', 'Montserrat', 'Lato', 'Poppins', 'Source Sans Pro', serif;
    font-size: 1.9rem;
    color: #f9f9f9;
    margin-bottom: 28px;
}









.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-left {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(44, 120, 115, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
}

.hero-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.hero-right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    margin-left: 60px;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    margin-top: -30px;
    margin-left: 60px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
    /* Add this line for the glow effect */
    animation: subtitleGlow 2.5s infinite ease-in-out;

}

/* Animation for the glowing subtitle */
@keyframes subtitleGlow {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(255, 140, 66, 0.7),
            0 0 16px rgba(255, 140, 66, 0.5);
    }

    50% {
        text-shadow: 0 0 16px rgba(255, 140, 66, 1),
            0 0 32px rgba(255, 140, 66, 0.8);
    }
}


.hero-description {
    margin-left: 60px;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-date {
    margin-left: 60px;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--warm-orange);
}

.cta-buttons {
    margin-left: 60px;
    display: flex;
    gap: 2.2rem;
    margin-bottom: -70px;
    /* margin-bottom: 1.1rem; */
}

.btn {
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    display: inline-block;
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--accent-orange);
}

.btn:hover,
.btn-primary:hover {
    background: var(--warm-orange);
    color: var(--white);
    transform: translateY(-2px) scale(1.04);
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
}

.hero-logos {
    margin-left: 60px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

/* Default partner logo style */
/* Container for all the partner logos */
.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Base style for all partner logos */
.partner-logo {
    margin-top: 40px;
    padding: 5px;
    width: 110px;
    height: 110px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the new IUGS logo to sit in a white circle */
.partner-logo.iugs-new {
    background: none;

    box-shadow: none;
    object-fit: contain;
    width: 150px;
    height: 130px;


    margin-left: -20px;

}

/* Styles for the other round logos */
.partner-logo.imga,
.partner-logo.rtmnu,
.partner-logo.segh {
    background: var(--white);

    /* padding:0px; */

    width: 110px;
    height: 110px;
    border-radius: 60%;
    display: block;
    align-items: center;
    object-fit: cover;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-right: 00px;
    position: relative;




}

/* Style for the rectangular IUGS Commission logo */
.partner-logo.iugs {
    background: none;
    /* This logo looks better without a background */
    box-shadow: none;
    object-fit: contain;
    width: 150px;
    height: 130px;


}

/* --- EYE-CATCHING CTA BUTTONS --- */

/* The keyframes that define the pulse and glow animation */
@keyframes eyeCatcherAnimation {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(255, 140, 66, 0.3);
    }

    70% {
        transform: scale(1.1);
        /* Makes the button noticeably larger */
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 140, 66, 1);
        /* Creates a bright, wide glow */
    }

    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(255, 140, 66, 0.3);
    }
}

/* Base style and animation for the buttons */
.hero .cta-buttons .btn.btn-primary {
    background: linear-gradient(to bottom, #ff9a5d, #ff8c42);
    color: var(--white);
    border: none;
    border-bottom: 4px solid #d97706;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-out;

    /* Apply the new, more aggressive animation */
    animation: eyeCatcherAnimation 1.5s infinite ease-in-out;
}

/* Hover state - Pauses the animation and makes the button even bigger */
.hero .cta-buttons .btn.btn-primary:hover {
    animation-play-state: paused;
    /* Pause the distracting animation on hover */
    background: linear-gradient(to bottom, #ffa16b, #ff9450);
    transform: scale(1.15);
    /* Enlarge it even more for a clear hover effect */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Active state - The "pressed in" look */
.hero .cta-buttons .btn.btn-primary:active {
    transform: translateY(1px) scale(1.1);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #d97706;
}























/* Responsive adjustments */
@media (max-width: 900px) {
    .partner-logo.imga {
        width: 80px;
        height: 80px;
    }

    .partner-logo.rtmnu {
        width: 65px;
        height: 65px;
    }

    .partner-logo.iugs {
        width: 50px;
        height: 50px;
    }

    .partner-logo.segh {
        width: 65px;
        height: 65px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .hero-left,
    .hero-right {
        flex: unset;
        width: 100%;
        justify-content: center;
    }

    .hero-logo-large {
        width: 160px;
        height: 160px;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

.hero-key-features-container {
    /* This container centers the content horizontally */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Aligns with the main container padding */
}

.hero-key-features {
    display: flex;
    justify-content: center;
    /* Center the boxes */
    gap: 1.5rem;
    /* A bit more space between boxes */
    margin-top: 2.5rem;
    /* Space below the orange ticker */
    flex-wrap: wrap;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s ease;
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.hero-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}


























































/* Modal overrides for theme */
/* ================================================================= */
/* PREMIUM & BEAUTIFUL STYLING FOR ABSTRACT MODAL                    */
/* ================================================================= */

/* --- 1. Enhanced Modal Container --- */
#abstractModal .modal-content {
    background: radial-gradient(circle at center, #2a5c5a, var(--primary-teal));
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--accent-orange), var(--primary-teal)) 1;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* --- 2. Polished Form Header --- */
.form-screen .form-header .fas {
    font-size: 2.8rem;
    color: var(--accent-orange);
    text-shadow: 0 0 15px rgba(255, 140, 66, 0.5);
    margin-bottom: 1rem;
}

.form-screen .form-header .form-title {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 2.2rem;
}

.form-screen .form-header .form-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* --- 3. Modern Form Element Styling --- */
.form-screen label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Base style for inputs and selects */
.form-screen input[type="text"],
.form-screen input[type="email"],
.form-screen select {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Glowing focus effect */
.form-screen input[type="text"]:focus,
.form-screen input[type="email"]:focus,
.form-screen select:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.4);
    outline: none;
}

/* Custom dropdown arrow */
.form-screen select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8c42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

/* --- 4. Advanced Button Styling --- */
.form-screen .submit-btn {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(180deg, #ff9a5d, #ff8c42);
    border: none;
    border-bottom: 4px solid #d97706;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.15s ease-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.form-screen .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
    background: linear-gradient(180deg, #ffa16b, #ff9450);
}

.form-screen .submit-btn:active {
    transform: translateY(1px);
    box-shadow: none;
    border-bottom-width: 2px;
}

/* Upgraded File Upload Button */
.form-screen .file-upload-button {
    background: transparent;
    border: 2px dashed rgba(255, 140, 66, 0.6);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-screen .file-upload-button:hover {
    background: rgba(255, 140, 66, 0.15);
    border-color: var(--accent-orange);
    color: #ffffff;
}

/* --- 5. Custom Checkbox --- */
.form-screen .checkbox-group label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
}

.form-screen .checkbox-group input[type="checkbox"] {
    accent-color: var(--accent-orange);
    width: 1.2em;
    height: 1.2em;
}

#abstractModal .modal-content {
    background-color: #214240;
    border-radius: 12px;
}

#abstractModal h2 {
    color: #ff8c42;
    margin-bottom: 1rem;
}

#abstractModal label {
    color: #faedc4;
}

#abstractModal input[type="text"],
#abstractModal input[type="email"],
#abstractModal input[type="password"],
#abstractModal input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-bottom: 1rem;
}







/* --- Patronage Section --- */


/* --- Patronage Section (Updated for Grid & Round Logos) --- */


.patronage-section {
    background: #fdfaf0;
    /* Light parchment color to match the image */
    padding: 4rem 1rem;
}

.patronage-section .section-header .section-title {
    color: var(--primary-color, #02382f);
    padding: 10px;
}

/* Main container updated to a grid */
.patronage-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    align-items: center;
}

/* Container for each logo and its link */
.patron-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Base style for ALL logos */
.patron-item img {
    height: 140px;
    max-width: 220px;
    object-fit: contain;
    /* Default for rectangular logos */
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

/* --- Specific styles for the ROUND logos --- */
.patron-item img.rtmnu,
.patron-item img.imga,
.patron-item img.segh {
    width: 150px;
    /* Ensure width and height are equal for a perfect circle */
    height: 150px;
    border-radius: 50%;
    /* This makes the image container round */
    object-fit: cover;
    /* Fills the circle nicely, may crop edges slightly */
    background: white;
    /* Adds a background for logos with transparency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: adds a subtle shadow */
}

.patron-item a:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Link style for the URL text */
.patron-link {
    color: var(--primary-teal, #025255);
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    font-size: 0.95rem;
}

.patron-link:hover {
    color: var(--accent-orange, #ff8c42);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .patronage-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .patronage-logos {
        grid-template-columns: 1fr;
    }
}

/*--[END] CSS for new Patronage Logos --*/




/* Sponsor Section - The overall section style */
.single-sponsor-section {
    background: #fdfaf0;
    /* Light parchment color, matching patronage section */
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    /* Subtle separation line */
}

/* Re-use the existing section-header structure for consistency */
.single-sponsor-section .section-header .section-icon i {
    color: var(--primary-teal);
    background: var(--accent-orange);
}

.single-sponsor-section .section-header .section-title {
    color: var(--primary-teal, #02382f);
}

.single-sponsor-section .section-header .section-subtitle {
    color: var(--gray-text);
}

.single-sponsor-section .section-header .section-divider {
    background: linear-gradient(45deg, var(--primary-teal), var(--accent-orange));
}

/* 1. Target the outer container to manage centering and overall width */
.sponsor-logo-container {
    max-width: 650px;
    margin: 3rem auto 0 auto;
    margin-top: -140px;
    margin-bottom: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 💥 TIGHTER VERTICAL PADDING (15px top/bottom, 30px left/right) */
    /* padding: 10px 15px; 
    border: 1px solid var(--border-color);
    border-radius: 10px;
    /* background-color: var(--white); */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
}

/* 2. Target the item container (remove all styling from the <a> tag) */
.sponsor-item {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    transition: none;
    display: block;
}

/* 3. Target the image itself (make it visible, responsive, and max size) */
.sponsor-logo-img {
    max-width: 100%;
    height: auto;
    /* 💥 REDUCED HEIGHT TO FIT THE TIGHTER BOX */
    max-height: 650px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.sponsor-item:hover .sponsor-logo-img {
    transform: scale(1.15);
    /* Subtle hover effect */
}






/* ================================================================= */
/* KEYNOTE SPEAKERS SECTION - ULTRA MODERN DESIGN                    */
/* ================================================================= */

.keynote-section {
    background: linear-gradient(135deg, #0a3d3a 0%, #134542 50%, #1a5753 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.keynote-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.15), transparent 70%);
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
}

.keynote-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.1), transparent 70%);
    border-radius: 50%;
    animation: floatShape 25s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Enhanced Section Header */
.keynote-section .section-header .section-title {
    color: #ffd89b;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.keynote-section .section-header .section-subtitle {
    display: block;
    max-width: 900px;
    /* limit the width for better readability */
    margin: 0.5rem auto 1.5rem;
    /* vertical spacing + center */
    color: #eff2b5;
    /* slightly dark muted color (tailwind slate-700) */
    font-size: 1.05rem;
    /* comfortable desktop size */
    line-height: 1.6;
    /* improves readability for multi-line text */
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.6rem 1rem;
    /* gentle padding if background is used */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
    /* set to 0 by default; change to 0.03-0.06 for subtle card feel */
    box-shadow: none;
}

.keynote-section .section-header .section-divider {
    background: linear-gradient(90deg, transparent, var(--accent-orange), var(--warm-orange), transparent);
    height: 3px;
    width: 150px;
}

.keynote-section .section-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--warm-orange));
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(255, 140, 66, 0.4), 0 0 0 8px rgba(255, 140, 66, 0.1);
    width: 100px;
    height: 100px;
}

.keynote-section .section-icon i {
    color: var(--white);
    font-size: 2.8rem;
}

/* Modern Grid Layout with Staggered Effect */
.keynote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 4rem auto 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

/* Ultra Modern Card Design with Glass Effect */
.keynote-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Animated Top Banner */
.keynote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-orange), var(--warm-orange), var(--accent-orange));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hover Transform with 3D Effect */
.keynote-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--accent-orange);
    box-shadow: 0 25px 60px rgba(255, 140, 66, 0.3), 0 0 0 1px rgba(255, 140, 66, 0.1);
}

/* Photo Section with Gradient Overlay */
.keynote-card .member-photo {
    text-align: center;
    padding: 2.5rem 2rem 1rem 2rem;
    position: relative;
    background: linear-gradient(180deg, rgba(2, 82, 85, 0.03), transparent);
}

.keynote-card .member-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.keynote-card .member-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-orange);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(255, 140, 66, 0.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.keynote-card:hover .member-photo img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 50px rgba(255, 140, 66, 0.4), 0 0 0 15px rgba(255, 140, 66, 0.15);
    border-color: var(--warm-orange);
}

/* Content Section */
.keynote-card .member-info {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
}

.keynote-card .keynote-label {
    color: var(--accent-orange);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    text-align: center;
}

/* Speaker Name with Gradient */
.keynote-card .member-name {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.keynote-card:hover .member-name {
    background: linear-gradient(135deg, var(--accent-orange), var(--warm-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

/* Modern Badge Design */
.keynote-card .member-position {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.9), rgba(244, 162, 97, 0.9));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
    transition: all 0.3s ease;
}

.keynote-card:hover .member-position {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
}

/* Institution with Icon */
.keynote-card .member-institution {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.keynote-card .member-institution::before {
    content: '🏛️';
    font-size: 1.2rem;
}

/* Modern Specialization Card */
.keynote-card .member-specialization-container {
    background: linear-gradient(135deg, rgba(2, 82, 85, 0.05), rgba(2, 82, 85, 0.08));
    border-left: 4px solid var(--accent-orange);
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
}

.keynote-card .member-specialization-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.05));
}

.keynote-card .member-specialization {
    color: rgba(0, 0, 0, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
}

/* Modern Contact Buttons */
.keynote-card .member-contact {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.keynote-card .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.keynote-card .contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keynote-card .contact-btn:hover::before {
    opacity: 1;
}

.keynote-card .contact-btn:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.keynote-card .contact-btn.email {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    box-shadow: 0 6px 20px rgba(2, 82, 85, 0.3);
}

.keynote-card .contact-btn.email:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--warm-orange));
    box-shadow: 0 12px 30px rgba(255, 140, 66, 0.5);
}

.keynote-card .contact-btn.orcid {
    background: linear-gradient(135deg, var(--accent-orange), var(--warm-orange));
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.keynote-card .contact-btn.orcid:hover {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    box-shadow: 0 12px 30px rgba(2, 82, 85, 0.5);
}

/* Icon Spin Animation */
.keynote-card .contact-btn:hover i {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.3);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Staggered Animation on Load */
.keynote-card {
    animation: cardFadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.keynote-card:nth-child(1) {
    animation-delay: 0.1s;
}

.keynote-card:nth-child(2) {
    animation-delay: 0.2s;
}

.keynote-card:nth-child(3) {
    animation-delay: 0.3s;
}

.keynote-card:nth-child(4) {
    animation-delay: 0.4s;
}

.keynote-card:nth-child(5) {
    animation-delay: 0.5s;
}

.keynote-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .keynote-section {
        padding: 4rem 0;
    }

    .keynote-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .keynote-card .member-photo img {
        width: 150px;
        height: 150px;
    }

    .keynote-section .section-header .section-title {
        font-size: 2.2rem;
    }
}

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

    .keynote-card .member-name {
        font-size: 1.2rem;
    }
}


/* ================================================================= */
/* WORKSHOP SLIDER STYLES - NEW */
/* ================================================================= */
.workshop-slider-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
}


.workshop-slider-section .section-title {
    display: block;
    color: #ffd89b;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
}

.workshop-slider-section .section-subtitle {
    display: block;
    max-width: 900px;
    /* limit the width for better readability */
    margin: 0.5rem auto 1.5rem;
    /* vertical spacing + center */
    color: #eff2b5;
    /* slightly dark muted color (tailwind slate-700) */
    font-size: 1.05rem;
    /* comfortable desktop size */
    line-height: 1.6;
    /* improves readability for multi-line text */
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.6rem 1rem;
    /* gentle padding if background is used */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
    /* set to 0 by default; change to 0.03-0.06 for subtle card feel */
    box-shadow: none;


}

.workshop-slider-section .section-divider {
    background: var(--accent-orange);
}

/* * 1. MODIFIED: Main Container: Increased height 
 * Removed aspect-ratio to allow a greater height. 
 */
.ws-container {
    position: relative;
    max-width: 950px;
    margin: 2rem auto 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--accent-orange);
    height: 600px;
    /* <--- NEW: Increased height for the container */
    /* aspect-ratio: 16 / 9; <-- OLD: Removed to allow explicit height */
}

/* Slide Track: Enables horizontal scrolling/transition */
.ws-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

/* * 2. MODIFIED: Individual Slide: Added Flexbox to center the content/image 
 */
.ws-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--dark-teal);

    /* NEW: Flexbox settings to center the image within the taller slide */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* * 3. MODIFIED: Image: Constrained its maximum height 
 * This ensures the image does not grow to fill the container's new 600px height.
 */
.ws-slide img {
    max-width: 100%;
    max-height: 400px;
    /* <--- NEW: Set a maximum height for the image */
    width: auto;
    /* Allows width to adjust based on max-height */
    height: auto;
    /* Allows height to adjust based on max-height */
    object-fit: contain;
    /* Ensures the whole image is visible within the constrained area */
    display: block;
}

/* --- Navigation Buttons (Prev/Next) --- */
.ws-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 140, 66, 0.8);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ws-btn:hover {
    background-color: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

.ws-prev {
    left: 15px;
}

.ws-next {
    right: 15px;
}

/* --- Indicators (Dots) --- */
.ws-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.ws-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.ws-dot.active {
    background-color: var(--accent-orange);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ws-container {
        max-width: 100%;
        border-radius: 0;
        height: 400px;
        /* Responsive height adjustment */
    }

    /* Responsive adjustment for image max height */
    .ws-slide img {
        max-height: 300px;
    }

    .ws-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .ws-dots {
        bottom: 10px;
    }

    .ws-dot {
        width: 10px;
        height: 10px;
    }
}

/* ================================================================= */
/* WORKSHOP BUTTONS STYLES */
/* ================================================================= */

/* Container for centering the buttons */
.workshop-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
}

/* Individual Button Styling */
.btn-workshop {
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-workshop i {
    margin-right: 8px;
}

/* Hover Effect */
.btn-workshop:hover {
    background: var(--warm-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for stacking buttons on small screens */
@media (max-width: 600px) {
    .workshop-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-workshop {
        width: 90%;
        margin: 0 auto;
    }
}



/* ---------------- Poster Wall Styles ---------------- */

.poster-wall-section .section-icon {
    background: #007252;
    border: 4px solid rgba(0, 67, 60, 0.2);
    box-shadow: 0 10px 40px rgba(1, 172, 98, 0.4), 0 0 0 8px rgba(0, 177, 153, 0.1);
    width: 100px;
    height: 100px;

}

.poster-wall-section .section-title {
    display: block;
    color: #045e55;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
}

.poster-wall-section .section-subtitle {
    display: block;
    max-width: 900px;
    /* limit the width for better readability */
    margin: 0.5rem auto 1.5rem;
    /* vertical spacing + center */
    color: #074b44;
    /* slightly dark muted color (tailwind slate-700) */
    font-size: 1.05rem;
    /* comfortable desktop size */
    line-height: 1.6;
    /* improves readability for multi-line text */
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.6rem 1rem;
    /* gentle padding if background is used */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
    /* set to 0 by default; change to 0.03-0.06 for subtle card feel */
    box-shadow: none;


}

.poster-wall-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(239, 109, 2, 0.6), rgba(221, 152, 2, 0.6));
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
}

.poster-card {
    background: #01321e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(2, 82, 85, 0.06);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.poster-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background-color: #00433c;
}

.poster-caption {
    padding: 0.6rem 0.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--beige);
    background: linear-gradient(180deg, rgba(1, 51, 35, 0.95), rgba(1, 92, 67, 0.95));
}

.poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(2, 82, 85, 0.12);
}

/* Responsive: collapse columns on smaller screens */
@media (max-width: 1100px) {
    .poster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

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

/* ---------------- Poster Modal Overrides ---------------- */
.poster-modal .modal-content {
    width: 96%;
    max-width: 1200px;
    max-height: 95vh;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.poster-modal-body {
    position: relative;
    background: #111;
    /* dark backdrop behind the poster image */
    border-radius: 12px;
    padding: 0;
}

.poster-modal-body img#modal-poster-image {
    display: block;
    width: 100%;
    height: calc(90vh);
    object-fit: contain;
    /* scale down to fit, keep aspect */
    background: #000;
}

.poster-meta {
    padding: 0.9rem 1rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.poster-meta h3 {
    margin: 0;
    font-size: 1.15rem;
}

.poster-meta p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Make close button visually consistent */
.poster-modal .modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 60;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* Modal visible state */
.modal.is-open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Poster image improvements */
.poster-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 60vh;
    background: #000;
    padding: 0;
}

/* make the image scale to fit the modal while keeping aspect ratio */
.poster-modal-body img#modal-poster-image {
    display: block;
    max-width: 96%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #000;
    margin: 0 auto;
}

/* loading spinner */
.poster-spinner {
    position: absolute;
    z-index: 60;
    inset: 0;
    display: none;
    /* shown by JS while loading */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.poster-spinner .spinner-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.95);
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* error fallback */
.poster-error {
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    background: transparent;
    text-align: center;
    display: none;
}

/* ensure modal content sits above overlay */
.poster-modal .modal-content {
    z-index: 65;
}





/* about us section */

.about-section {
    padding: 60px 20px;
    background: var(--light-bg, #f9efd5);
}

.about-card {
    background: #feb765;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    animation: fadeUp 1s ease-out forwards;
    transform: translateY(40px);
    opacity: 0;
}

.about-title {
    text-align: center;
    font-size: 2.3rem;
    color: var(--primary-color, #02382f);
    margin-bottom: 10px;
    font-weight: 700;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color, #077063);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text {
    font-size: 1rem;
    color: #090600;
    line-height: 1.6;
    margin-bottom: 15px;
    /* font-weight: bold; */
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* --- Photo Slider Section --- */

.photo-slider-section {
    padding: 5rem 0;
    /* Using the dark teal gradient from your hero section */
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 100%);
}

/* Make section header text readable on the dark background */
.photo-slider-section .section-header .section-title,
.photo-slider-section .section-header .section-subtitle {
    color: var(--white);
}

.photo-slider-section .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.photo-slider-section .section-header .section-divider {
    background: var(--accent-orange);
}

.photo-slider-section .section-header .section-icon i {
    color: var(--primary-teal);
    background: var(--accent-orange);
    padding: 20px;
    border-radius: 50%;
}


/* Main slider container */
.slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 2rem auto 0 auto;
    overflow: hidden;
    /* border-radius: 15px; */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 506px;
    /* Adjusted from 500px to match 16:9 aspect ratio */
    object-fit: cover;
    display: block;
}

/* Next & previous buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background-color: var(--warm-orange);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Navigation dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-orange);
}

/* Scroll reveal trigger */
.about-section.visible .about-card {
    animation: fadeUp 1s ease-out forwards;
}






.special-section {
    background: linear-gradient(to bottom, #fefbe9, #f7f7f7);
    padding: 50px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #004d40;
    margin-bottom: 40px;
}

.special-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

/* Image styling */
.special-image {
    flex: 1;
    min-width: 300px;
}

.special-image img {
    margin-left: 120px;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Card grid adjusted for side layout */
.card-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Cards */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.special-icon {
    background: linear-gradient(135deg, #f89c1c, #d97706);
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #004d40;
}

.info-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .special-layout {
        flex-direction: column;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ...existing code... */

/* Style for info text below the photo slider section */
.photo-slider-section .video-available-info {
    color: #fff;
    font-size: 1.15rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ...existing








/* gain */
.gain-section {
    background: linear-gradient(to bottom, #0d544e, #0b4141);
    padding: 50px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.gain-heading {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #f4811b;
    margin-bottom: 40px;
}

.gain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.gain-card {
    background: rgb(253, 235, 202);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.gain-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
}

.gain-icon.green {
    background: #004d40;
}

.gain-icon.orange {
    background: #f89c1c;
}

.gain-card h3 {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #004d40;
}

.gain-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}




























/* Themes Section */


.themes-section {
    padding: 60px 20px;
    background: var(--light-bg, #fef5e8);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color, #004d40);
    font-weight: 700;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.theme-card {
    background: rgb(16, 86, 81);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.theme-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.theme-content {
    padding: 20px;
}

.theme-content h3 {
    color: var(--secondary-color, #fdfad2);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-left: 4px solid var(--primary-color, #004d40);
    padding-left: 10px;
}

.theme-details ul {
    padding-left: 20px;
    list-style: disc;
    font-size: 0.95rem;
    color: #f1ab29;
    line-height: 1.5;
}


/* END OF THEME SECTION  */

/* --- NEW Minimalist Zoom Links Section --- */

/* ... (omitted existing CSS up to the zoom-links-section) ... */

/* --- NEW Zoom Section Ticker Bar --- */
/* --- NEW Zoom Section Ticker Bar (Full Width & Animated) --- */
/* ---------- Ticker outer bar (full width breakout if inside a constrained container) ---------- */

/* Removed .zoom-links-section-subtitle — now uses standard .section-subtitle from other sections */

.zoom-ticker-bar {
    margin-top: 50px;
    ;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    /* breakout to full viewport width */
    margin-right: -50vw;
    position: relative;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 2.5rem;
    padding: 0.1rem 0;
    /* small vertical breathing room */

    background: linear-gradient(180deg, var(--primary-teal) 0%, #013f3d 100%);
    border-top: 2px solid var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
    border-radius: 0;
    overflow: hidden;

    /* 3D-ish lift + animated soft shadow */
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.06),
        0 8px 22px rgba(1, 64, 61, 0.18);

    /* entrance animation */
    opacity: 0;
    transform: translateY(20px);
    animation:
        fadeInUp 0.8s ease-out forwards,
        shadowPulse 2.5s infinite alternate 0.8s;
}

/* viewport keeps one visible horizontal band and hides overflow */
.zoom-ticker-viewport {
    width: 100%;
    max-width: 1600px;
    /* keeps text centered when huge screens; change if needed */
    box-sizing: border-box;
    padding: 0 2rem;
    /* horizontal padding inside the full-width bar */
    overflow: hidden;
}

/* The scrolling track — animate this element horizontally */
.zoom-ticker-scroll {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;

    /* animation: move left by 50% (we duplicated content) */
    animation: zoomTickerAnimation 40s linear infinite;
    /* slowed to 40s */
    will-change: transform;
}

/* individual pieces (duplicated) */
.zoom-ticker-content {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
}

/* Hovering the outermost bar pauses the animation */
.zoom-ticker-bar:hover .zoom-ticker-scroll,
.zoom-ticker-bar:focus-within .zoom-ticker-scroll {
    animation-play-state: paused;
}

/* ---------------- Keyframes & extra effects ---------------- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shadowPulse {
    from {
        box-shadow: 0 6px 14px rgba(1, 64, 61, 0.12), 0 0 0 1px rgba(245, 179, 66, 0.06);
    }

    to {
        box-shadow: 0 10px 28px rgba(1, 64, 61, 0.2), 0 0 12px rgba(245, 179, 66, 0.08);
    }
}

/* Scroll animation — move left by 50% of the full track width (since content is duplicated) */
@keyframes zoomTickerAnimation {
    0% {
        transform: translateX(0%);
    }

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

/* Responsive tweaks */
@media (max-width: 900px) {
    .zoom-ticker-viewport {
        padding: 0 1rem;
    }

    .zoom-ticker-content {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .zoom-ticker-content {
        font-size: 0.9rem;
    }
}

/* ... (omitted rest of styles.css) ... */
.zoom-links-section {
    padding: 4rem 0;
    background-color: #fef9e5;
}

.zoom-links-section .section-header .section-title {
    color: (#016e63);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
}

.zoom-links-section .section-header .section-subtitle {
    display: block;
    max-width: 900px;
    /* limit the width for better readability */
    margin: 0.5rem auto 1.5rem;
    /* vertical spacing + center */
    color: #00805e;
    /* slightly dark muted color (tailwind slate-700) */
    font-size: 1.05rem;
    /* comfortable desktop size */
    line-height: 1.6;
    /* improves readability for multi-line text */
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.6rem 1rem;
    /* gentle padding if background is used */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
    /* set to 0 by default; change to 0.03-0.06 for subtle card feel */
    box-shadow: none;
}


.links-notice {
    background-color: #f56b01;
    /* dark teal */
    color: #fff;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: bold;
    margin: 15px 0;
    font-size: 18px;
    text-align: center;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
    animation: pulseGlow 2s infinite;
}

/* Animation effect */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0px 0px 10px rgba(0, 128, 128, 0.6);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0px 0px 20px rgba(0, 200, 200, 0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0px 0px 10px rgba(0, 128, 128, 0.6);
    }
}


.zoom-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
    /* Vertical gap between rows */
}

.zoom-card {
    text-align: center;
    padding: 1rem 2rem;
}

/* Adds the vertical dividing line */
.zoom-card:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.zoom-card h3 {
    color: var(--primary-teal);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zoom-info-date,
.zoom-info-details {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-zoom-link {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 0.6rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-zoom-link:hover {
    background-color: var(--primary-teal);
    color: var(--white);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .zoom-links-grid {
        grid-template-columns: 1fr;
        gap: 3rem 0;
    }

    .zoom-card:nth-child(odd) {
        border-right: none;
    }
}


























/* Committee Section */
/* --- Centered Layout for Secretary/Chair Cards --- */
/* @media (min-width: 1024px) {

    
    #secretary .members-grid {
        display: flex;
        justify-content: center;
        
        flex-wrap: wrap;
        
    }

  
    #secretary .members-grid .member-card {
        flex-basis: calc(33.333% - 2rem);
        
        max-width: 380px;
        
    }
} */
/* ========== Layout for Secretary & Organizing Committee Sections ========== */
@media (min-width: 1024px) {

    /* Use flexbox instead of grid for both sections */
    #secretary-chair .members-grid,
    #secretary .members-grid,
    #organizing-committee .members-grid {
        display: flex;
        justify-content: center;
        /* centers the row */
        align-items: stretch;
        flex-wrap: wrap;
        /* allows wrapping if there are more than 2 cards */
        gap: 2rem;
        /* consistent spacing between cards */
    }

    /* Two cards per row, centered neatly */
    #secretary-chair .members-grid .member-card,
    #secretary .members-grid .member-card,
    #organizing-committee .members-grid .member-card {
        flex-basis: calc(50% - 2rem);
        /* two columns with space */
        max-width: 420px;
        /* keeps uniform width */
    }
}

/* ========== Responsive stacking for smaller screens ========== */
@media (max-width: 1023px) {

    #secretary-chair .members-grid,
    #secretary .members-grid,
    #organizing-committee .members-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
    }

    #secretary-chair .members-grid .member-card,
    #secretary .members-grid .member-card,
    #organizing-committee .members-grid .member-card {
        width: 90%;
        max-width: 500px;
    }
}

.committee-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5dc 0%, #deb887 100%);
    position: relative;
    overflow: hidden;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 128px;
    height: 128px;
    background-color: var(--dark-teal);
    border-radius: 50%;
    opacity: 0.05;
}

.committee-section::after {
    content: '';
    position: absolute;
    top: 160px;
    right: 80px;
    width: 96px;
    height: 96px;
    background-color: var(--orange);
    border-radius: 50%;
    opacity: 0.05;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 10;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--white);
    /* Adds a cream border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    /* Enhances the shadow */
}

.section-icon i {
    color: var(--white);
    /* This will be the cream color */
    font-size: 2.2rem;
    /* Slightly larger icon */
}























.section-title {
    margin-top: -40px;
    font-size: 3rem;
    font-weight: bold;
    color: #004d40;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #5d4037;
    max-width: 512px;
    margin: 0 auto;

}

.section-divider {
    width: 96px;
    height: 4px;
    background: linear-gradient(45deg, #004d40, #ff5722);
    margin: 24px auto 0;
}

/* Committee Buttons */
.committee-buttons {
    margin-top: -40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .committee-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .committee-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

.committee-btn {
    position: relative;
    padding: 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
    color: white;
}

.committee-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -10px rgba(0, 77, 64, 0.4);
}

.committee-btn.teal {
    background: linear-gradient(45deg, #004d40, #00695c);

}

.committee-btn.orange {
    background: linear-gradient(45deg, var(--orange), rgba(255, 107, 53, 0.8));
}

.committee-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.committee-btn-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.committee-btn:hover .committee-btn-icon {
    background-color: rgba(255, 255, 255, 0.3);
}

.committee-btn-icon i {
    font-size: 1.25rem;
    color: #f5f5dc;
}

.committee-btn-text {
    font-size: 0.875rem;
    font-weight: bold;
}

.committee-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(61, 174, 165, 0.1);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.committee-btn:hover::before {
    opacity: 1;
}

/* Committee Display */
.committee-display {
    display: none;
}

.committee-display.show {
    display: block;
}

.committee-title {
    text-align: center;
    margin-bottom: 48px;
}

.committee-title h3 {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.committee-title-divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(45deg, var(--orange), var(--dark-teal));
    margin: 0 auto;
}

/* Member Cards */
.members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.member-card {
    position: relative;
    background: #faf4d7;
    /* Dark teal gradient background */
    border: 2px solid rgba(255, 138, 66, 0.4);
    /* Subtle orange border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 22px;

    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.member-card:hover {
    transform: translateY(-8px);
    border-color: #ff8c42;
    /* Bright orange border on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);

}

.member-card::before {
    content: '';
    position: absolute;
    top: -64px;
    right: -64px;
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(44, 95, 93, 0.1));
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.member-card:hover::before {
    transform: scale(1.1);
}

.member-photo {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.member-photo-container {
    position: relative;
    display: inline-block;
}

.member-photo img {
    width: 182px;
    height: 182px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-photo-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(44, 95, 93, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-photo-overlay {
    opacity: 1;
}

.member-info {
    text-align: center;
    position: relative;
    z-index: 10;
}

.member-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #151515;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.member-card:hover .member-name {
    color: #ff8c42;
}

.member-position {
    display: inline-block;
    background: rgba(255, 140, 66, 0.15);
    /* Transparent orange background */
    color: #ff8c42;
    /* Accent orange text */
    border: 1px solid rgba(255, 140, 66, 0.5);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.member-institution {
    color: rgba(16, 16, 14, 0.8);
    font-size: 0.875rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.member-specialization-container {
    background-color: rgba(243, 162, 11, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
}

.member-specialization {
    color: rgba(16, 8, 7, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.member-contact {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-btn.email {
    background: linear-gradient(45deg, #004d40, #00695c);
}

.contact-btn.email:hover {
    background: linear-gradient(45deg, var(--orange), rgba(255, 107, 53, 0.8));
}

.contact-btn.orcid {
    background: linear-gradient(45deg, #ff5722, #ff8a50);
}

.contact-btn.orcid:hover {
    background: linear-gradient(45deg, var(--dark-teal), rgba(44, 95, 93, 0.8));
}

.contact-btn:hover i {
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* --- Member Details Modal Styles --- */
.member-modal-content {
    max-width: 600px;
    text-align: left;
    border-top: 5px solid var(--primary-teal);
}

#modal-member-name {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.member-modal-position {
    display: inline-block;
    background-color: rgba(255, 140, 66, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 140, 66, 0.5);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.member-modal-details h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.member-modal-details p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}





/* ================================================================= */
/* Previous Chapters Section (Beautiful Redesign)                  */
/* ================================================================= */

/* --- Main Section Container --- */
.previous-chapters-section {
    padding: 5rem 0;
    background-color: var(--dark-teal);
    /* Dark, rich background */
    position: relative;
    overflow: hidden;
}

/* --- Updated Section Header for Dark BG --- */
.previous-chapters-section .section-header .section-title {
    color: #eba008
        /* Uses the theme's cream color */
}

.previous-chapters-section .section-header .section-subtitle {
    color: rgba(255, 239, 146, 0.8);
    /* Lighter subtitle for readability */
}

.previous-chapters-section .section-header .section-divider {
    background: var(--accent-orange);
    /* Bright accent divider */
}

/* --- Grid for the Cards --- */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* --- New Card Styling --- */
.chapter-card {
    background: var(--beige);
    /* Warm, non-white card background */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Important for the button style */
    border-top: 4px solid var(--accent-orange);
    /* Decorative accent */
}

.chapter-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* --- Main Card Content Area --- */
.chapter-card-main {
    padding: 2.5rem;
    flex-grow: 1;
    /* Pushes the button to the bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chapter-logo {

    max-width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 2rem;
}

.chapter-title {
    margin-top: 20px;
    color: var(--dark-teal);
    /* High contrast text color */
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* --- Integrated Button Footer --- */
.chapter-btn {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background-color: var(--accent-orange);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.chapter-btn:hover {
    background-color: var(--warm-orange);
}










































/* Gallery Section */
.gallery-actions {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    /* Add this line to fix the click issue */
}

.gallery-section {
    background: linear-gradient(135deg, #f5f5dc 0%, #deb887 100%);
    padding: 80px 0;
    position: relative;
}

.gallery-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 60 60"><defs><pattern id="books" width="60" height="60" patternUnits="userSpaceOnUse"><rect width="60" height="60" fill="none"/><path d="M10 10h8v40h-8z" fill="rgba(0,77,64,0.05)"/><path d="M42 15h8v30h-8z" fill="rgba(255,87,34,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23books)"/></svg>');
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    margin-bottom: 2.5rem;
    border: 3px solid var(--white);
    /* Adds a cream border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    /* Enhances the shadow */
}

.section-icon i {
    color: var(--white);
    /* This will be the cream color */
    font-size: 2.2rem;
    /* Slightly larger icon */
}




.section-title {
    font-size: 2.5rem;
    color: #004d40;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #5d4037;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #004d40, #ff5722);
    margin: 30px auto 0;
    border-radius: 2px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.book-card {
    background: #f5f5dc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 77, 64, 0.15);
    transition: all 0.4s ease;
    position: relative;
    /* The conflicting opacity and transform lines have been removed */
    border: 2px solid #deb887;
}

.book-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.book-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 77, 64, 0.25);
    border-color: #ff5722;
}

.book-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.book-card:hover .book-image img {
    transform: scale(1.1);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 77, 64, 0.8), rgba(255, 87, 34, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.view-btn {
    background: #f5f5dc;
    color: #004d40;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-btn:hover {
    background: #004d40;
    color: #f5f5dc;
    transform: scale(1.05);
}

.book-content {
    padding: 30px;
}

.book-title {
    font-size: 1.4rem;
    color: #004d40;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.book-author {
    color: #ff5722;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-author i {
    font-size: 0.9rem;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.book-tag {
    background: linear-gradient(45deg, #004d40, #ff5722);
    color: #f5f5dc;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.book-actions {
    display: flex;
    justify-content: center;
}

.book-btn {
    background: linear-gradient(45deg, #ff5722, #ff8a50);
    color: #f5f5dc;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    background: linear-gradient(45deg, #004d40, #00695c);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 77, 64, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #f5f5dc;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    border: 2px solid #deb887;
}

.modal-title {
    font-size: 1.8rem;
    color: #004d40;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.modal-book-details {
    text-align: left;
}

.modal-book-name {
    font-size: 1.5rem;
    color: #004d40;
    margin-bottom: 10px;
}

.modal-book-author {
    color: #ff5722;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-description-label {
    font-weight: 600;
    color: #004d40;
    margin-bottom: 10px;
}

.modal-book-description {
    color: #5d4037;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-modal {
    background: linear-gradient(45deg, #004d40, #ff5722);
    color: #f5f5dc;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 64, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-content {
        padding: 20px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

/* --- Gallery Section Load More Functionality --- */

/* Hides all book cards after the 6th one, ONLY if the grid does NOT have the 'expanded' class */
.books-grid:not(.expanded) .book-card:nth-child(n+7) {
    display: none;
}

/* Container for the "View More" button */
.gallery-actions {
    text-align: center;
    margin-top: 3rem;
}


































































/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: var(--cream-bg);
}

.featured-blog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-blog-image {
    height: 300px;
    overflow: hidden;
}

.featured-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.blog-category {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-blog-content h3 {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-blog-content p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    background: var(--primary-teal);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.read-more-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

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

.blog-post {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.blog-post-content h4 {
    color: var(--primary-teal);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-post-content p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-read-more {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.pagination-btn {
    padding: 0.8rem 1.2rem;
    border: none;
    background: var(--light-gray);
    color: var(--gray-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn.active,
.pagination-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.blog-newsletter {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-content h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.newsletter-content p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-teal);
}

/* Registration Section */



/* Registration Section */
.registration-section {
    padding: 6rem 0;
    background-color: var(--primary-teal);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(2, 82, 85, 0.8), transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(244, 162, 97, 0.1), transparent 40%),
        linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.registration-section .section-title {
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

/* Decorative line below the main title */
.registration-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.04"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.8;
}

.registration-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* --- Left Side: Info & Downloads --- */
.registration-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Styling for the Download Box */
.download-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--accent-orange);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-box p {
    color: #f9ae19;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    /* Updated background to be solid orange */
    background: linear-gradient(to bottom, #ff9a5d, #ff8c42);
    /* Updated text color to white for better contrast */
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    /* Replaced border with a bottom-border for a 3D effect */
    /* border: none;
    border-bottom: 4px solid #d97706;
    transition: all 0.3s ease;
    animation: eyeCatcherAnimation 1.5s infinite ease-in-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); */

}

.btn-download:hover {
    
    background: linear-gradient(to bottom, #ffa16b, #ff9450);
    color: var(--white);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(250, 102, 11);
    animation-play-state: paused;



}

.btn-download:hover i {
    transform: scale(1.1);
}

/* Styling for the Important Dates Box */
.dates-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--accent-orange);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.dates-box .dates-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dates-box .dates-header i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.dates-box .dates-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.dates-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dates-box ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dates-box ul li:last-child {
    border-bottom: none;
}

.dates-box .date-label {
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.dates-box .date-value {
    text-align: right;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}


/* --- Right Side: Form --- */
.registration-form-container {
    background: rgba(0, 0, 0, 0.25);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--accent-orange);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(5px);
}

.registration-form h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-orange);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.25);
    outline: none;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--accent-orange);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    background: linear-gradient(45deg, var(--accent-orange), var(--warm-orange));
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--warm-orange), var(--accent-orange));
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

/* Responsive adjustments for the registration section */
@media (max-width: 1024px) {
    .registration-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .registration-form-container {
        padding: 2rem;
    }
}

/* Registration section subtitle */
.registration-section .section-subtitle {
    display: block;
    max-width: 900px;
    /* limit the width for better readability */
    margin: 0.5rem auto 1.5rem;
    /* vertical spacing + center */
    color: #fae08c;
    /* slightly dark muted color (tailwind slate-700) */
    font-size: 1.25rem;
    /* comfortable desktop size */
    line-height: 1.6;
    /* improves readability for multi-line text */
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.6rem 1rem;
    /* gentle padding if background is used */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.0);
    /* set to 0 by default; change to 0.03-0.06 for subtle card feel */
    box-shadow: none;
    animation: glowPulse 2.2s infinite ease-in-out;
}

/* remove or set a tiny shadow if you want a raised look */


/* Glow animation */
@keyframes glowPulse {
    0% {
        opacity: 0.9;
        text-shadow: 0 0 8px rgba(255, 200, 120, 0.6);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 18px rgba(255, 200, 120, 1), 0 0 40px rgba(255, 160, 60, 0.8);
    }

    100% {
        opacity: 0.9;
        text-shadow: 0 0 8px rgba(255, 200, 120, 0.6);
    }
}













/* Footer */
.footer {
    background: var(--dark-teal);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* This creates a horizontal gap between the columns */
    grid-column-gap: 2rem;
    row-gap: 2.3rem;
    /* Keep a vertical gap for smaller screens */
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

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

/* --- Targeted Gap Between Footer Sections --- */
.footer-section:nth-child(2) {
    margin-left: 2rem;
}

.footer-section h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

/* contact */
.footer-contact p {
    display: flex;
    /* Use flexbox to align icon and text */
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-contact .support-heading {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--white);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-signup {
    margin-top: 1.5rem;
}

.newsletter-signup h4 {
    margin-bottom: 0.8rem;
    color: var(--accent-orange);
}

.footer-newsletter {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    background: var(--accent-orange);
    border: none;
    color: var(--white);
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--warm-orange);
}

.footer-bottom {
    background: linear-gradient(135deg, #03443f, #0f172a);
    /* elegant gradient */
    color: #f1f5f9;
    padding: 15px 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fcee97;
    /* soft gray */
}


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

.footer-bottom-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-text);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-orange);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {

    .hero-container,
    .about-grid,
    .featured-blog,
    .registration-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .themes-grid,
    .committee-grid,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .committee-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
        text-align: center;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .themes-grid,
    .committee-grid,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters,
    .committee-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn,
    .tab-btn {
        width: 80%;
        text-align: center;
    }
}




/* ================================================================= */
/* MOBILE RESPONSIVE STYLES (Add this to the end of your CSS file)   */
/* ================================================================= */
@media (max-width: 768px) {

    /* --- General Adjustments --- */
    body {
        line-height: 1.5;
        /* Slightly tighter line height for smaller screens */
    }

    .container {
        padding: 0 1rem;
        /* Reduced horizontal padding for all sections */
    }

    /* Reduce padding on all major sections for a tighter look */
    .hero,
    .about-section,
    .photo-slider-section,
    .special-section,
    .gain-section,
    .themes-section,
    .zoom-links-section,
    .committee-section,
    .previous-chapters-section,
    .gallery-section,
    .registration-section,
    .footer {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Scale down all main section titles */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }


    /* --- Hero Section --- */
    .hero-flex {
        text-align: center;
        /* Center-align content when stacked */
    }

    .hero-right {
        gap: 1.5rem;
    }

    /* Remove the large left margin on mobile */
    .hero-content h1,
    .hero-subtitle,
    .hero-description,
    .hero-date,
    .cta-buttons,
    .hero-logos {
        margin-left: 0;
    }

    .hero-title {
        font-size: 2.2rem;
        /* Make the main title much smaller */
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-top: 0;
    }

    .cta-buttons {
        margin-bottom: -2rem;
        /* Adjust button spacing */
        align-items: center;
        /* Center buttons when stacked */
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .partner-logo.iugs,
    .partner-logo.iugs-new {
        width: 100px;
        height: 100px;
    }

    .hero-key-features {
        gap: 0.8rem;
    }


    /* --- Photo Slider Section --- */
    .slide img {
        height: auto;
        /* Allow image height to be flexible */
        aspect-ratio: 16 / 9;
        /* Maintain a widescreen aspect ratio */
    }


    /* --- Special Section Fix --- */
    .special-image img {
        margin-left: 0;
        /* Remove the large margin that pushes the image off-screen */
    }


    /* --- Committee Section --- */
    .members-grid {
        grid-template-columns: 1fr;
        /* Force a single column for member cards */
    }

    .committee-buttons {
        grid-template-columns: 1fr;
        /* Stack committee buttons */
    }


    /* --- Registration Section --- */
    .registration-form-container {
        padding: 2rem 1.5rem;
        /* Reduce form padding */
    }

    /* Reduce heading size inside the form */
    .registration-form h3 {
        font-size: 1.8rem;
    }

    .download-box,
    .dates-box {
        padding: 1rem;
    }


    /* --- Modal Adjustments --- */
    .modal-content {
        width: 95%;
        /* Allow modals to use more of the screen width */
        padding: 1.5rem;
    }

    /* Reduce title size in abstract modal */
    .form-screen .form-header .form-title {
        font-size: 1.8rem;
    }

    /* Adjust padding in the auth (login/signup) modal */
    .auth-modal-container form {
        padding: 0 30px;
    }

}




/* workshop */
/* ===================== WORKSHOP DAYS SECTION ===================== */
.workshop-days-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #faf7f0 0%, #e9f6f5 100%);
    text-align: center;
}

.workshop-days-section .section-title {
    color: #025255;
}

.workshop-days-section .section-subtitle {
    color: #037c7c;
}

.workshop-day-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.day-btn {
    background: #f5b342;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(245, 179, 66, 0.4);
    transition: all 0.3s ease;
}

.day-btn:hover {
    background: #f7c65c;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(245, 179, 66, 0.6);
}

/* ===================== MODAL POPUPS ===================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 650px;
    color: #025255;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.modal-content h3 {
    color: #f5b342;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content ul {
    text-align: left;
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.close-btn {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: #025255;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #f5b342;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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