: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;
}
















































































































































































/* --- OPTION 3: Modern Ticker Layout --- */

/* 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 22s 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);
    }
}

/* 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 --*/





















/* 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 --- */
.zoom-links-section {
    padding: 4rem 0;
    background-color: #fef9e5;
}

.zoom-section-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    font-weight: 400;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}
.links-notice {
    background-color: #004d4d;  /* 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) {

    /* Override the grid layout for the secretary section and use flexbox instead */
    #secretary .members-grid {
        display: flex;
        justify-content: center;
        /* Center the cards horizontally */
        flex-wrap: wrap;
        /* Allow cards to wrap to the next line */
    }

    /* To maintain the 3-column look, we give each card a basis width */
    #secretary .members-grid .member-card {
        flex-basis: calc(33.333% - 2rem);
        /* Creates a 3-column feel, accounting for the gap */
        max-width: 380px;
        /* Prevents cards from becoming too wide on large screens */
    }
}
.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 {
    /* Updated hover background to match hero buttons */
    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;
    }
}





/* 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));
    gap: 2rem;
    margin-bottom: 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);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.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;
    }

}
