/* ====================================================== */
/*                    ELLA RISES BRAND CSS                */
/* ====================================================== */

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ===== PREVENT HORIZONTAL SCROLL ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
}

main {
    overflow-x: hidden;
    flex: 1;
    padding-top: 100px; /* Space for fixed transparent navbar */
}

/* Remove padding for pages with hero (landing page) */
body.has-hero main {
    padding-top: 0;
}

/* ====================================================== */
/*                      GLOBAL TYPOGRAPHY                 */
/* ====================================================== */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F9F5EA; /* Cream */
    color: #3A3F3B;
    margin: 0;
    padding-top: 0 !important;
    line-height: 1.55;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.has-hero {
    padding-top: 0 !important; /* landing page only */
}

body.has-hero main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove container constraints for landing page */
body.has-hero main.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Headings use DM Serif Display */
h1, h2, h3, h4,
.hero-text h1 {
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
    letter-spacing: 0.3px;
}

/* Page Titles - Centered, Larger, with Top Buffer */
h1.mb-1,
h1.mb-4,
.events-header h1,
.users-page > h1,
.participants-page > h1,
.milestones-page h1:first-of-type,
.milestones-page > div > h1:first-of-type,
.dashboard-page h1:first-of-type,
.dashboard-page > div > h1:first-of-type {
    text-align: center;
    font-size: 4.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
    padding: 0 2rem;
    text-transform: uppercase;
}

/* Reduce top padding for milestones, surveys, and donations pages */
.milestones-page h1:first-of-type,
.milestones-page > div > h1:first-of-type {
    margin-top: 1.5rem;
}

/* Reduce top padding for milestones and surveys pages (they use events-header) */
.milestones-page .events-header {
    margin-top: 1.5rem;
}

/* Profile page - centered with bottom padding */
.participants-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    text-align: center;
}

.participants-page > h1 {
    margin-top: 1.5rem;
}

/* Page Subtitles - Matching About Us format */
.events-header p,
.dashboard-page > div > p.text-muted,
.dashboard-page > div.mb-4 > p.text-muted {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #4B4F4B;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* Dashboard page header container */
.dashboard-page > div.mb-4 {
    text-align: center;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

/* Exclude special titles that have their own styling */
.donate-main-title,
.hero-title,
.registration-title {
    text-align: inherit;
    font-size: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
}

/* Body text / nav text uses Montserrat */
p, li, a, .nav-link {
    font-family: 'Montserrat', sans-serif;
}

/* ====================================================== */
/*                      ANIMATIONS                        */
/* ====================================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animate on scroll - initial hidden state */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }
.animate-delay-7 { transition-delay: 0.7s; }
.animate-delay-8 { transition-delay: 0.8s; }

/* Hero text animation - animate children, not the container to preserve centering */
.hero-title {
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.7s both;
}

/* Header cards slide in */
.impact-header-card,
.sponsors-header-card,
.events-header-card,
.cta-header-card {
    animation: fadeInScale 0.8s ease both;
}

/* Impact cards staggered animation */
.impact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}

.impact-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.impact-card:nth-child(1) { transition-delay: 0.1s; }
.impact-card:nth-child(2) { transition-delay: 0.2s; }
.impact-card:nth-child(3) { transition-delay: 0.3s; }
.impact-card:nth-child(4) { transition-delay: 0.4s; }
.impact-card:nth-child(5) { transition-delay: 0.5s; }

/* Sponsor marquee animation on scroll */
.sponsors-marquee {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sponsors-marquee.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Event cards staggered */
.event-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.event-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.event-card:nth-child(1) { transition-delay: 0.15s; }
.event-card:nth-child(2) { transition-delay: 0.3s; }
.event-card:nth-child(3) { transition-delay: 0.45s; }

/* Bento items animation - handled in bento section */

/* Button hover animations */
.hero-btn-watch,
.hero-btn-secondary,
.sponsors-cta,
.events-view-all,
.cta-btn-primary,
.cta-btn-secondary,
.event-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-watch:hover,
.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Icon float animation on hover */
.impact-card:hover i,
.sponsor-card:hover i {
    animation: float 1s ease infinite;
}

/* Social icons pulse */
.footer-social a:hover {
    animation: pulse 0.5s ease;
}

/* ====================================================== */
/*                           NAVBAR                        */
/* ====================================================== */

/* ====================================================== */
/*                    FIXED CENTERED NAVBAR               */
/* ====================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: none;
    box-shadow: none;
}

/* Mobile navbar padding */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
        background-color: transparent;
    }
}

/* Navbar container: logo left, nav items right */
.navbar .container-fluid {
    display: flex !important;
    justify-content: space-between !important; /* Logo left, nav right */
    align-items: center !important;
    gap: 0; /* optional, spacing handled inside nav */
    padding: 0 2rem; /* optional horizontal padding */
}

/* Mobile navbar container adjustments */
@media (max-width: 991.98px) {
    .navbar .container-fluid {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .navbar-brand {
        flex-shrink: 0;
    }
}

/* Navbar brand stays on left */
.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Old logo styles removed - now using logo-pill */

/* Logo pill container - starts as just logo, expands on hover */
.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-brand .logo-pill {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 0.25rem !important;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #3A3F3B;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

/* Expanded state on hover */
.navbar-brand .logo-pill:hover {
    gap: 0.75rem;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Logo text link (About Us) */
.navbar-brand .logo-pill .logo-text-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    margin: 0;
    text-decoration: none;
    color: #3A3F3B;
    font-weight: 500;
    display: inline-block;
}

/* Show text on hover */
.navbar-brand .logo-pill:hover .logo-text-link {
    max-width: 200px;
    opacity: 1;
    margin-right: 0;
    color: #CE325B;
}

.navbar-brand .logo-pill:hover .logo-text-link:hover {
    color: #CE325B;
    text-decoration: underline;
}

/* Logo icon link */
.navbar-brand .logo-pill .logo-icon-link {
    display: inline-block;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;
}

.navbar-brand .logo-pill .logo-icon {
    height: 40px;
    width: 40px;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0.8;
    border-radius: 50%;
    display: block;
}

.navbar-brand .logo-pill:hover .logo-icon {
    opacity: 1;
    transform: scale(1.05);
}

.navbar-brand .logo-pill .logo-icon-link:hover .logo-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile logo sizing */
@media (max-width: 991.98px) {
    .navbar-brand .logo-pill .logo-icon {
        height: 35px;
        width: 35px;
    }
    
    .navbar-brand .logo-pill {
        padding: 0.2rem !important;
    }
    
    .navbar-brand .logo-pill:hover {
        padding: 0.4rem 0.8rem !important;
        gap: 0.6rem;
    }
    
    .navbar-brand .logo-pill span {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .logo-pill .logo-icon {
        height: 32px;
        width: 32px;
    }
    
    .navbar-brand .logo-pill {
        padding: 0.15rem !important;
    }
    
    .navbar-brand .logo-pill:hover {
        padding: 0.35rem 0.7rem !important;
        gap: 0.5rem;
    }
    
    .navbar-brand .logo-pill span {
        font-size: 0.8rem;
    }
}

/* Navbar links aligned right - Desktop */
.navbar-nav {
    flex-direction: row !important;
    display: flex !important;
    justify-content: flex-end !important; /* push links to right */
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0.25rem !important;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Hide mobile "About Us" link on desktop */
@media (min-width: 992px) {
    .nav-item.mobile-about-us {
        display: none !important;
    }
}

/* Collapse container neutral (optional) */
.navbar-collapse {
    flex-grow: 0 !important;
    justify-content: flex-end !important;
}

/* Navbar toggler button styling - pill shaped */
.navbar-toggler {
    border: 1px solid rgba(58, 63, 59, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 63, 59, 0.25);
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(58, 63, 59, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2858, 63, 59, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav link wrapper for dropdown items */
.nav-link-wrapper {
    position: relative;
    display: inline-block;
}

/* Make nav links obviously clickable */
.nav-link {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #3A3F3B;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #CE325B;
    background-color: rgba(206, 50, 91, 0.12);
    transform: translateY(-1px);
}

.nav-link:active {
    transform: translateY(0);
    background-color: rgba(206, 50, 91, 0.2);
}

/* Remove underline effect for pill design */
.nav-item:not(.dropdown) .nav-link::after {
    display: none;
}

/* Ensure nav items have relative positioning for separator */
.nav-item {
    position: relative;
    margin: 0 0.25rem;
}

/* Vertical separator between nav items - applies to all nav items including dropdowns */
.navbar-nav > .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(58, 63, 59, 0.3);
    pointer-events: none;
    z-index: 10;
    display: block !important;
}

/* Dropdown arrow icon */
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Create a hover bridge between nav item and dropdown */
.nav-item.dropdown {
    position: relative;
}

/* Extended hover bridge area - use ::before instead to avoid conflict with separator */
.nav-item.dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 0.75rem;
    background: transparent;
    z-index: 999;
}

/* Custom CSS to enable dropdown on hover - Desktop only */
.dropdown-menu {
    /* Hide the dropdown menu initially */
    display: none;
    /* Positioned directly below nav item with minimal gap */
    margin-top: 0.5rem;
    padding: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    width: auto;
    white-space: nowrap;
    position: absolute;
    top: 100%;
    z-index: 1000;
    overflow: visible;
    transition: none;
}

/* Add larger padding at top of dropdown to create hover bridge */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: -10px;
    right: -10px;
    height: 0.75rem;
    background: transparent;
    z-index: -1;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: #3A3F3B;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    margin: 0.25rem 0;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: #CE325B;
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Show the dropdown menu when the parent list item is hovered - Desktop only */
@media (min-width: 992px) {
    /* Show dropdown when hovering nav item */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInDown 0.15s ease;
    }
    
    /* Keep dropdown visible when hovering over the dropdown menu itself */
    .nav-item.dropdown .dropdown-menu:hover {
        display: block !important;
    }
    
    /* Keep dropdown visible when hovering bridge area */
    .nav-item.dropdown:hover::before {
        display: block;
    }
    
    /* Keep dropdown open when hovering the bridge */
    .nav-item.dropdown::before:hover + .dropdown-menu,
    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile: Show dropdown arrow and use Bootstrap's click functionality */
@media (max-width: 991.98px) {
    /* Mobile navbar adjustments - single pill with logo and hamburger */
    .navbar {
        padding: 0.5rem 0;
        background-color: transparent;
    }
    
    .navbar .container-fluid {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0.5rem 1rem !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important; /* Center the wrapper pill */
        flex-wrap: nowrap;
        margin: 0 auto;
        max-width: 100%;
        gap: 0;
    }
    
    /* Wrapper for logo and hamburger on mobile - this is the pill */
    .navbar-brand-hamburger-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50px;
        padding: 0.5rem 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        margin: 0 auto;
        max-width: calc(100% - 2rem);
        width: auto;
        min-width: 200px;
    }
    
    /* On desktop, hide the wrapper styling and let Bootstrap handle it */
    @media (min-width: 992px) {
        .navbar-brand-hamburger-wrapper {
            display: contents;
        }
    }
    
    /* Hide "About Us" text in logo pill on mobile - only show icon */
    .navbar-brand-hamburger-wrapper .navbar-brand .logo-pill .logo-text-link {
        display: none !important;
    }
    
    /* Remove pill styling from logo on mobile - it's inside the wrapper pill */
    .navbar-brand-hamburger-wrapper .navbar-brand .logo-pill {
        padding: 0 !important;
        gap: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        margin: 0 !important;
    }
    
    .navbar-brand-hamburger-wrapper .navbar-brand .logo-pill:hover {
        padding: 0 !important;
        gap: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .navbar-brand-hamburger-wrapper .navbar-brand .logo-pill .logo-icon-link {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    /* Ensure navbar-brand doesn't have extra spacing */
    .navbar-brand-hamburger-wrapper .navbar-brand {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0.5rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 0.75rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        width: calc(100% - 2rem);
        max-width: 400px;
        min-width: 250px;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 0.25rem !important;
        width: 100%;
        padding: 0.5rem !important;
        margin: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    /* Remove vertical separators on mobile */
    .navbar-nav > .nav-item::after {
        display: none !important;
    }
    
    .nav-item {
        width: 100%;
        margin: 0 !important;
        border-bottom: none !important;
    }
    
    .nav-item.mobile-about-us {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .nav-link-wrapper {
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 1.25rem !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-weight: 500;
        border-radius: 12px !important;
        background: transparent !important;
        transition: all 0.2s ease;
        color: #3A3F3B;
    }
    
    .nav-link:hover {
        background-color: rgba(206, 50, 91, 0.1) !important;
        color: #CE325B;
        transform: none;
    }
    
    .nav-link:active {
        background-color: rgba(206, 50, 91, 0.15) !important;
    }
    
    .dropdown-arrow {
        font-size: 0.8rem;
        transition: transform 0.2s ease;
    }
    
    /* Mobile dropdown toggle - click to expand */
    .nav-item.dropdown {
        position: relative;
    }
    
    /* Visual indicator for clickable arrow area on mobile */
    .nav-item.dropdown .nav-link {
        position: relative;
    }
    
    /* Show dropdown menu when active class is applied (via JavaScript) */
    .nav-item.dropdown.active .dropdown-menu {
        display: block !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem !important;
        background: rgba(249, 245, 234, 0.5) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }
    
    .nav-item.dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static !important;
        display: none !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem !important;
        background: rgba(249, 245, 234, 0.5) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        min-width: auto !important;
        float: none !important;
        border: none !important;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        border-bottom: none !important;
        border-radius: 12px !important;
        margin: 0.25rem 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        width: 100% !important;
        text-align: left !important;
        transition: all 0.2s ease;
        color: #3A3F3B;
    }
    
    .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    .dropdown-item:hover {
        background-color: rgba(206, 50, 91, 0.1) !important;
        color: #CE325B;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Hide hover bridge on mobile */
    .nav-item.dropdown::before {
        display: none !important;
    }
    
    /* Ensure navbar toggler is visible and styled - inside the pill */
    /* Hamburger in wrapper - must be more specific - pill shaped */
    .navbar-brand-hamburger-wrapper .navbar-toggler {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0.5rem !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: 1px solid rgba(58, 63, 59, 0.15) !important;
        border-radius: 999px !important;
        padding: 0.4rem 0.75rem !important;
        flex-shrink: 0;
        order: 2;
        transition: all 0.2s ease;
    }
    
    .navbar-brand-hamburger-wrapper .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.6) !important;
        border-color: rgba(58, 63, 59, 0.25) !important;
    }
    
    .navbar-brand-hamburger-wrapper .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(58, 63, 59, 0.15) !important;
    }
    
    
    /* Ensure hamburger icon is properly sized */
    .navbar-brand-hamburger-wrapper .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }
    
    /* Logo pill adjustments for mobile */
    .navbar-brand-hamburger-wrapper .navbar-brand {
        order: 1;
        flex-shrink: 0;
        margin: 0;
    }
    
    /* General navbar-toggler for other cases - pill shaped */
    .navbar-toggler {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: 1px solid rgba(58, 63, 59, 0.15) !important;
        border-radius: 999px !important;
        padding: 0.4rem 0.75rem !important;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    
    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.6) !important;
        border-color: rgba(58, 63, 59, 0.25) !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(58, 63, 59, 0.15) !important;
    }
    
    .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }
    
    /* Ensure collapse works properly */
    .navbar-collapse {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
    
    .navbar-collapse.collapse.show {
        display: block !important;
    }
}


/* ====================================================== */
/*                       HERO SLIDESHOW                   */
/* ====================================================== */

.hero-slideshow {
    position: relative;
    height: 65vh;
    min-height: 430px;
    width: 100%;
    margin-left: 0;
    overflow: hidden;
    margin-top: 0;
}

/* ====================================================== */
/*                       HERO VIDEO                       */
/* ====================================================== */

.hero.hero-video {
    position: relative;
    height: 70vh;
    min-height: 460px;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    overflow: hidden;
}

/* Video fills the section */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: saturate(1.05);
}

/* Reuse your overlay but make sure z-index > video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 176, 181, 0.55);
    backdrop-filter: blur(1.5px);
    z-index: 2;
}

/* Hero text stays on top */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.hero-text h1 {
    font-size: 4.7rem;
    color: #FFFFFF;
    text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.hero-text p {
    font-size: 1.6rem;
    font-weight: 500;
    color: #FFFFFF;
    max-width: 820px;
    margin: 1rem auto 2rem auto;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Buttons already defined – keep your existing .hero-btn / .hero-btn-outline */


/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 176, 181, 0.62); /* deeper rose pink */
    backdrop-filter: blur(2px);
    z-index: 5;
}

/* Hero text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.hero-text h1 {
    font-size: 5rem;
    color: white !important;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.35);
}

.hero-text p {
    font-size: 1.65rem;
    font-weight: 500;
    color: white !important;
    max-width: 850px;
    margin: 1rem auto 2.2rem auto;
    text-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}

/* Buttons */
.hero-btn {
    background: #CE325B;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 1rem;
}

.hero-btn-outline {
    border: 2px solid #CE325B;
    padding: 0.8rem 1.7rem;
    border-radius: 30px;
    color: #CE325B;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-btn-outline:hover {
    background: #CE325B;
    color: white;
}

/* ====================================================== */
/*                      STAT SECTION                      */
/* ====================================================== */

.stats-section {
    margin: 5rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    padding: 0 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-6px);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.stat-card p {
    font-size: 1.1rem;
    color: #444;
}

/* Brand icon colors */
.stat-card:nth-child(1) i { color: #F4B092; }
.stat-card:nth-child(2) i { color: #978EC4; }
.stat-card:nth-child(3) i { color: #9AB59D; }
.stat-card:nth-child(4) i { color: #CE325B; }

/* ====================================================== */
/*                       GALLERY SECTION                  */
/* ====================================================== */

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

.gallery-section h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.7rem;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.table thead th {
    border-radius: 0 !important;
    vertical-align: middle !important;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

/* ====================================================== */
/*                      CLEAN MINIMAL FOOTER              */
/* ====================================================== */

/* Removed conflicting footer rules - using .site-footer instead */

/* Removed conflicting footer rules */

/* ====================================================== */
/*               MINIMAL FLOATING CENTER FOOTER           */
/* ====================================================== */

/* Removed conflicting footer rules */



/* ====================================================== */
/*                ULTRA-MINIMAL FLOATING FOOTER           */
/* ====================================================== */

/* Removed conflicting footer rules */

/* ====================================================== */
/*    FORCE FOOTER TO BE MINIMAL + REMOVE OUTER BARS     */
/* ====================================================== */

/* Removed conflicting footer rules */

/* Default padding so navbar doesn't overlap content */
/* Note: Spacing is now handled by main element padding-top above */
body {
    padding-top: 0 !important;
}

/* If page has a hero, remove padding */
body.has-hero {
    padding-top: 0 !important;
}

/* Remove top margin for pages with hero */
body.has-hero main.container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Add spacing back for normal pages */
body:not(.has-hero) main.container {
    margin-top: 0 !important;
}

body:not(.has-hero) {
   padding-top: 0 !important;
}

/* ====================================================== */
/*                    ABOUT ELLA RISES                    */
/*   (simple band between hero and stats on landing)      */
/* ====================================================== */

/* ====================================================== */
/*                  ABOUT SECTION - CENTERED              */
/* ====================================================== */

.about-centered {
    padding: 4rem 2rem 5rem 2rem;
    background-color: #F9F5EA;
    text-align: center;
}

.about-centered-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-centered h2 {
    font-size: 2.7rem;
    margin: 0.7rem 0 1.2rem 0;
}

.about-centered-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4B4F4B;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
}

.about-centered-image img {
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    object-fit: cover;
}

/* Gradient behind hero text */
.hero-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 160%;
    transform: translate(-50%, -50%);
    
    background: radial-gradient(
        ellipse,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.15) 75%,
        rgba(0,0,0,0) 100%
    );

    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}


/* Base hero buttons container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.8rem;
}

/* WATCH FILM (white button like Apple) */
.hero-btn-watch {
    background: white;
    color: #3A3F3B;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.hero-btn-watch:hover {
    background: #CE325B;
    color: white;
}

/* SECONDARY OUTLINED BUTTON (thin outline like Apple) */
.hero-btn-secondary {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.65);
    padding: 0.75rem 1.8rem;
    color: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    backdrop-filter: blur(4px);
}

.hero-btn-secondary:hover {
    background: #CE325B;
    border-color: #CE325B;
    color: white;
}

.hero-title {
    font-size: 4rem;
    color: white;
    font-family: 'DM Serif Display', serif;
    text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.hero-subtitle {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.hero.hero-video {
    position: relative;
    height: 88vh;
    min-height: 520px;
    width: 100vw;
    margin-left: 0;
    margin-top: 0;
    overflow: hidden;
}

/* Pause/Play Button */
.hero-video-toggle {
    position: absolute;
    bottom: 25px;
    right: 30px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-video-toggle:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.9);
}

/* BIG full-width wrapper */
.impact-container {
    width: 100%;
    background: #FFD8D1; /* Light Pink from palette */
    padding: 100px 0 120px;
    margin: 0; /* makes sure it touches edges */
}

/* Centers content but full-width background stays */
.impact-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.impact-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 50px 40px 40px;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.08);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.impact-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #F9AFB1;
    margin-bottom: 1rem;
}

.impact-inner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #3A3F3B;
}

.impact-subtitle {
    font-size: 1.1rem;
    color: #5A5E5A;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}


/* BIGGER small cards */
.impact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 15px;
    width: 100%;
    min-height: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* small hover effect */
.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.impact-card i {
    font-size: 3.5rem; /* big icons */
    margin-bottom: 15px;
}

.impact-number {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3A3F3B;
}

.impact-card p {
    font-size: 1.15rem;
    color: #3A3F3B;
    opacity: 0.85;
}

/* Full-width section styling */
.impact-container {
    width: 100%;
    padding: 80px 0 100px;
    background: #FFD8D1; /* brand pink */
    box-sizing: border-box;
}

.impact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 15px;
    width: 100%;
    min-height: 200px;  
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-card i {
    font-size: 3rem;
    margin-bottom: 12px;
}

.impact-number {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #3A3F3B;
}

.impact-card p {
    font-size: 1rem;
    opacity: 0.85;
    color: #3A3F3B;
}

.impact-container {
    width: 100%;
    margin-left: 0;
    margin-top: 10px; /* Space from hero */
    background: #FFD8D1;
    padding: 80px 0 100px;
    box-sizing: border-box;
}

/* ====================================================== */
/*                 SECTION HEADER CARDS                   */
/* ====================================================== */

.section-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 50px 40px 40px;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.08);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-card--sage {
    background: linear-gradient(135deg, #9AB59D 0%, #b5ccb7 100%);
}

.section-header-card--sage .section-label,
.section-header-card--sage h2,
.section-header-card--sage .section-subtitle {
    color: #FFFFFF;
}

.section-header-card--lavender {
    background: linear-gradient(135deg, #978EC4 0%, #b5afd6 100%);
}

.section-header-card--lavender .section-label,
.section-header-card--lavender h2,
.section-header-card--lavender .section-subtitle {
    color: #FFFFFF;
}

.section-header-card--blue {
    background: linear-gradient(135deg, #99B7C6 0%, #b8ced9 100%);
}

.section-header-card--blue .section-label,
.section-header-card--blue h2,
.section-header-card--blue .section-subtitle {
    color: #FFFFFF;
}

.section-header-card--pink {
    background: linear-gradient(135deg, #F9AFB1 0%, #FFD8D1 100%);
}

.section-header-card--pink h2 {
    color: #3A3F3B;
}

.section-header-card--peach {
    background: linear-gradient(135deg, #F4B092 0%, #ffd4bc 100%);
}
/* ====================================================== */
/*                      EVENTS PAGE                       */
/* ====================================================== */

/* Events Header - Modern Redesign */
.events-header {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.events-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.events-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #4B4F4B;
    line-height: 1.7;
}

/* Events Filters - Compact Redesign */
.events-filters {
    background: transparent;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 1400px;
    border-radius: 16px;
    box-shadow: none;
    border: none;
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3A3F3B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-label i {
    color: #CE325B;
    font-size: 0.85rem;
}

.event-filter {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: white;
    color: #3A3F3B;
    transition: border-color 0.2s;
}

.event-filter:focus {
    outline: none;
    border-color: #CE325B;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: #CE325B;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background-color: #B02A4D;
}

/* Events Container - Modern Redesign */
.events-container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Events Grid - EVENTS PAGE ONLY */
.events-container .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Event Card Wrapper - EVENTS PAGE */
.events-container .event-card-wrapper {
    position: relative;
    display: block;
    height: 100%;
}

/* Event Card - EVENTS PAGE - Modern Redesign */
.events-container .event-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F5EA 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(58, 63, 59, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    opacity: 1;
    transform: none;
    border: 1px solid rgba(206, 50, 91, 0.08);
    position: relative;
}

.events-container .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CE325B 0%, #FFB0B5 50%, #CE325B 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.events-container .event-card:hover::before {
    transform: scaleX(1);
}

.events-container .event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(206, 50, 91, 0.25);
    text-decoration: none;
    color: inherit;
    border-color: rgba(206, 50, 91, 0.2);
}

/* Event Image - EVENTS PAGE */
.events-container .event-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFB0B5 0%, #CE325B 100%);
    position: relative;
}

.events-container .event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(206, 50, 91, 0) 0%, rgba(206, 50, 91, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.events-container .event-card:hover .event-image::after {
    opacity: 1;
}

.events-container .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-container .event-card:hover .event-image img {
    transform: scale(1.1);
}

/* Event Content - EVENTS PAGE */
.events-container .event-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.events-container .event-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #3A3F3B;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.events-container .event-card:hover .event-name {
    color: #CE325B;
}

.events-container .event-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4B4F4B;
    line-height: 1.7;
    flex: 1;
}

.events-container .event-description-text {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================================================== */
/*              SHARED STATUS BADGE (ALL PAGES)           */
/* ====================================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;    
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.1;
}

.status-badge i {
    font-size: 0.9rem;
}

.status-available {
    background-color: #9AB59D; /* sage green */
    color: white;
}

.status-full {
    background-color: #6B6F6B; /* grey */
    color: white;
}

.status-closed {
    background-color: #CE325B; /* red/pink */
    color: white;
}

.status-past {
    background-color: #D0D0D0;
    color: #4B4F4B;
}

/* ====================================================== */
/*                  UPCOMING EVENTS CAROUSEL              */
/*            (Events page horizontal scroller)           */
/* ====================================================== */

.upcoming-events-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    position: relative;
}

.upcoming-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #CE325B 0%, #FFB0B5 100%);
    border-radius: 2px;
}

.upcoming-events-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #3A3F3B;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.upcoming-events-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #CE325B 0%, #FFB0B5 100%);
    border-radius: 2px;
}

.upcoming-events-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.upcoming-events-carousel {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    flex: 1;
    padding: 1.5rem 0;
}

.upcoming-events-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.upcoming-event-card {
    flex: 0 0 380px;
    min-width: 380px;
}

.upcoming-event-link {
    display: block;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F5EA 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(58, 63, 59, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    border: 1px solid rgba(206, 50, 91, 0.08);
    position: relative;
}

.upcoming-event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CE325B 0%, #FFB0B5 50%, #CE325B 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.upcoming-event-link:hover::before {
    transform: scaleX(1);
}

.upcoming-event-link:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(206, 50, 91, 0.25);
    text-decoration: none;
    color: inherit;
    border-color: rgba(206, 50, 91, 0.2);
}

.upcoming-event-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFB0B5 0%, #CE325B 100%);
    position: relative;
}

.upcoming-event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(206, 50, 91, 0) 0%, rgba(206, 50, 91, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upcoming-event-link:hover .upcoming-event-image::after {
    opacity: 1;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.upcoming-event-link:hover .upcoming-event-image img {
    transform: scale(1.1);
}

.upcoming-event-content {
    padding: 2rem;
}

.upcoming-event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.upcoming-event-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: #3A3F3B;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    transition: color 0.3s ease;
}

.upcoming-event-link:hover .upcoming-event-name {
    color: #CE325B;
}

.upcoming-event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upcoming-event-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4B4F4B;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.upcoming-event-link:hover .upcoming-event-detail {
    color: #3A3F3B;
}

.upcoming-event-detail i {
    color: #CE325B;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.upcoming-event-link:hover .upcoming-event-detail i {
    transform: scale(1.2);
    color: #CE325B;
}

/* Carousel Buttons */
.carousel-btn {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F5EA 100%);
    border: 2px solid rgba(206, 50, 91, 0.2);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #CE325B;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.15);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #CE325B 0%, #FFB0B5 100%);
    border-color: #CE325B;
    color: white;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 24px rgba(206, 50, 91, 0.35);
}

.carousel-btn:active {
    transform: scale(1.05) translateY(0);
}

.carousel-btn i {
    font-size: 1.3rem;
    font-weight: 600;
}

/* ====================================================== */
/*                   REGISTRATION PAGE                    */
/* ====================================================== */

.registration-page {
    padding: 2rem 0;
}

.registration-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    min-height: 400px;
}

.registration-header {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 400px;
}

.registration-image {
    flex: 0 0 50%;
    overflow: hidden;
    background-color: #F0F0F0;
    display: flex;
    align-items: center;
}

.registration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
}

.registration-header-content {
    flex: 0 0 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: #3A3F3B;
}

.event-details {
    border-bottom: 2px solid #F0F0F0;
    flex: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.event-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.event-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.event-label i {
    font-size: 0.85rem;
}

.filter-labels .filter-pill {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-labels .filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.filter-labels .filter-pill:hover::before {
    left: 100%;
}

.filter-labels .filter-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.filter-labels .filter-pill.filter-selected {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px) scale(1.02);
    color: white;
    font-weight: 700;
}

.filter-labels .filter-pill.filter-selected.event-label-type-stem {
    background-color: #99B7C6;
    border-color: #99B7C6;
}

.filter-labels .filter-pill.filter-selected.event-label-type-arts {
    background-color: #F4B092;
    border-color: #F4B092;
}

.filter-labels .filter-pill.filter-selected.event-label-type-leadership {
    background-color: #9AB59D;
    border-color: #9AB59D;
}

.filter-labels .filter-pill.filter-selected.event-label-type-annual-conference {
    background-color: #978EC4;
    border-color: #978EC4;
}

.filter-labels .filter-pill.filter-selected.event-label-recurrence-weekly {
    background-color: #978EC4;
    border-color: #978EC4;
}

.filter-labels .filter-pill.filter-selected.event-label-recurrence-monthly {
    background-color: #99B7C6;
    border-color: #99B7C6;
}

.filter-labels .filter-pill.filter-selected.event-label-recurrence-annual {
    background-color: #9AB59D;
    border-color: #9AB59D;
}

/* Add Event Button - styled like filter pills */
.btn-add-event {
    background-color: #978EC420;
    color: #978EC4;
    border: 2px solid #978EC4;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-add-event:hover {
    background-color: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

.btn-add-event i {
    font-size: 0.85rem;
}

/* Modal radio pills - make labels behave like pills */
.modal-radio-pill {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

/* Modal radio pills inherit filter-selected styling from .filter-pill.filter-selected */

/* Event Type Label Colors */
.event-label-type-stem {
    background-color: #99B7C620;
    color: #99B7C6;
    border-color: #99B7C6;
}

.event-label-type-arts {
    background-color: #F4B09220;
    color: #F4B092;
    border-color: #F4B092;
}

.event-label-type-leadership {
    background-color: #9AB59D20;
    color: #9AB59D;
    border-color: #9AB59D;
}

.event-label-type-annual-conference {
    background-color: #978EC420;
    color: #978EC4;
    border-color: #978EC4;
}

/* Recurrence Label Colors */
.event-label-recurrence-monthly {
    background-color: #99B7C620;
    color: #99B7C6;
    border-color: #99B7C6;
}

.event-label-recurrence-weekly {
    background-color: #978EC420;
    color: #978EC4;
    border-color: #978EC4;
}

.event-label-recurrence-annual {
    background-color: #9AB59D20;
    color: #9AB59D;
    border-color: #9AB59D;
}

.event-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #4B4F4B;
    line-height: 1.7;
}

.occurrences-section {
    margin-top: 2.5rem;
}

.occurrences-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #3A3F3B;
    margin-bottom: 1.5rem;
}

.occurrences-list-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-top: 1rem;
}

.occurrences-list-container::-webkit-scrollbar {
    width: 8px;
}

.occurrences-list-container::-webkit-scrollbar-track {
    background: #F0F0F0;
    border-radius: 4px;
}

.occurrences-list-container::-webkit-scrollbar-thumb {
    background: #978EC4;
    border-radius: 4px;
}

.occurrences-list-container::-webkit-scrollbar-thumb:hover {
    background: #7A6FA3;
}

.occurrence-toggle,
.dashboard-toggle {
    display: inline-flex;
    background: #F0F0F0;
    border-radius: 999px;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.dashboard-toggle-container {
    margin: 2rem 0;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #4B4F4B;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #3A3F3B;
}

.toggle-btn:hover {
    background: white;
}

.occurrences-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 0.5rem;
}

.occurrence-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: #F9F5EA;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.occurrence-main-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.occurrence-date-time {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 170px;
}

.occurrence-date {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #3A3F3B;
    font-weight: 600;
}

.occurrence-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4B4F4B;
}

.occurrence-details-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
}

.occurrence-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4B4F4B;
}

.occurrence-detail-item i {
    color: #978EC4;
    font-size: 0.85rem;
}

.occurrence-status {
    flex-shrink: 0;
}

.occurrence-attendance {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4B4F4B;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.occurrence-attendance i {
    color: #9AB59D;
    margin-right: 0.5rem;
}

.occurrence-card:hover {
    border-color: #978EC4;
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.2);
}

.occurrence-focused {
    border-color: #978EC4 !important;
    border-width: 3px !important;
    box-shadow: 0 6px 20px rgba(151, 142, 196, 0.3) !important;
    background: #F9F5EA !important;
    animation: focusPulse 2s ease-in-out;
}

@keyframes focusPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(151, 142, 196, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(151, 142, 196, 0.5);
    }
}

.occurrence-info {
    flex: 1;
    width: 100%;
}

.no-occurrences {
    text-align: center;
    padding: 3rem 2rem;
    color: #4B4F4B;
    font-family: 'Montserrat', sans-serif;
}

/* My Events Section - Profile and Admin Events Page */
.my-events-section,
.admin-user-events-section {
    margin-top: 3rem;
}

.my-events-section h2,
.admin-user-events-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #3A3F3B;
    margin-bottom: 1.5rem;
}

.my-events-section .occurrence-toggle,
.admin-user-events-section .occurrence-toggle {
    display: inline-flex;
    background: #F0F0F0;
    border-radius: 999px;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.my-events-section .toggle-btn,
.admin-user-events-section .toggle-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #4B4F4B;
    cursor: pointer;
    transition: all 0.2s;
}

.my-events-section .toggle-btn.active,
.admin-user-events-section .toggle-btn.active {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #3A3F3B;
}

.my-events-section .toggle-btn:hover,
.admin-user-events-section .toggle-btn:hover {
    background: white;
}

/* Event Cards - Consistent Layout with Standardized Sections */
.my-event-card {
    display: grid;
    grid-template-columns: 150px 160px 160px 140px 180px;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.2rem;
    background: #F9F5EA;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.my-event-card:hover {
    border-color: #978EC4;
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.2);
}

/* Red border/shadow for missing survey */
.my-event-card.survey-missing {
    border-color: #CE325B;
    box-shadow: 0 0 0 2px rgba(206, 50, 91, 0.15), 0 4px 12px rgba(206, 50, 91, 0.1);
}

.my-event-card.survey-missing:hover {
    border-color: #CE325B;
    box-shadow: 0 0 0 2px rgba(206, 50, 91, 0.2), 0 4px 12px rgba(206, 50, 91, 0.15);
}

/* Image Section */
.my-event-image {
    flex: 0 0 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
}

.my-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Info Section: Title, Date, Registered/Past Badge */
.my-event-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.my-event-main-info .event-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #3A3F3B;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 0.25rem;
}

.my-event-main-info .occurrence-date {
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    color: #3A3F3B;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.my-event-main-info .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: fit-content;
}

/* Details Section: Location, Time, Type */
.my-event-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.my-event-details .occurrence-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #4B4F4B;
    margin-bottom: 0.15rem;
}

.my-event-details .occurrence-detail-item i {
    color: #978EC4;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

/* Status Pill Section */
.my-event-status-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
}

/* Survey/Action Merged Section - Only for Past Events */
.my-event-survey-action {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    min-height: 36px;
    max-width: 180px;
    overflow: visible;
    padding: 0 0.25rem;
    box-sizing: border-box;
}

.my-event-survey-action .survey-badge {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.6rem 0.8rem;
}

/* Legacy classes for backwards compatibility */
.my-event-survey-pill {
    display: none;
}

.my-event-action {
    display: none;
}

/* Make all action buttons boxy with larger text to match status pills */
.my-event-survey-action .btn,
.my-event-survey-action button {
    border-radius: 8px !important;
    padding: 0.6rem 1.3rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.my-event-survey-action .btn i,
.my-event-survey-action button i {
    font-size: 0.9rem;
}

.status-pill {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pill--good {
    background: #9AB59D;
    color: white;
}

.status-pill--neutral {
    background: #D8D8D8;
    color: #3A3F3B;
}

.status-pill--bad {
    background: #CE325B;
    color: white;
}

.survey-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: #978EC4;
    color: white;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.survey-badge span,
.survey-badge i {
    flex-shrink: 0;
}

.survey-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.survey-badge.missing {
    background: #9AB59D;
    color: white;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.survey-badge.missing:hover {
    background: #7A9A7D;
    transform: scale(1.05);
}

.survey-badge.missing i {
    color: white;
}

.survey-badge.placeholder {
    display: none;
}

.survey-badge.empty {
    visibility: hidden;
    min-height: 36px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.status-available {
    background-color: #9AB59D;
    color: white;
}

.status-badge.status-closed {
    background-color: #CE325B;
    color: white;
}

.status-badge.status-past {
    background-color: #D0D0D0;
    color: #4B4F4B;
}

/* Responsive styles for My Events section */
@media (max-width: 1200px) {
    .my-event-card {
        grid-template-columns: 120px 140px 140px 130px 160px;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .my-event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .my-event-image {
        width: 100%;
        height: 200px;
    }

    .my-event-main-info,
    .my-event-details,
    .my-event-status-pill,
    .my-event-survey-action {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .my-event-card {
        padding: 1rem;
    }

    .my-event-action .btn {
        width: 100%;
    }
}

.registration-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #978EC4;
    color: white;
}

.btn-primary:hover {
    background-color: #7A6FA3;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6B6F6B;
    color: white;
}

.btn-secondary:hover {
    background-color: #5A5E5A;
    color: white;
    text-decoration: none;
}

.btn-outline-secondary {
    background-color: transparent;
    color: #6B6F6B;
    border: 2px solid #6B6F6B;
}

.btn-outline-secondary:hover {
    background-color: #6B6F6B;
    color: white;
    text-decoration: none;
}

.btn-disabled,
.btn:disabled {
    background-color: #D8D8D8;
    color: #6B6F6B;
    border: 2px solid #C8C8C8;
    cursor: not-allowed;
}

.btn-disabled:hover,
.btn:disabled:hover {
    background-color: #D8D8D8;
    color: #6B6F6B;
}

.details-btn {
    border: 2px solid #6B6F6B;
    background: white;
    color: #3A3F3B;
}

.details-btn:hover {
    background: #6B6F6B;
    color: white;
}

.delete-event-template-btn {
    border: 2px solid #CE325B;
    background: white;
    color: #CE325B;
}

.delete-event-template-btn:hover {
    background: #CE325B;
    color: white;
}

/* Simple custom modal (registration view only) */
.reg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.reg-modal-backdrop.active {
    display: flex;
}

.reg-modal {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 640px;
    width: 92%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.reg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reg-modal-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #4B4F4B;
}

.reg-form-group label {
    font-weight: 600;
    color: #3A3F3B;
    margin-bottom: 0.35rem;
    display: block;
}

/* ====================================================== */
/*         GENERIC SECTION HEADER + SPONSORS SECTION      */
/*                (From main branch)                      */
/* ====================================================== */

.section-header-card--peach h2 {
    color: #3A3F3B;
}

.section-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0.9;
}

/* SPONSORS SECTION */

.sponsors-section {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    background: #9AB59D; /* Sage Green */
    padding: 100px 0 120px;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden; /* Clips horizontal scroll from marquee */
}

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

.sponsors-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 50px 40px 40px;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sponsors-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #9AB59D;
    margin-bottom: 1rem;
}

.sponsors-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #3A3F3B;
    margin-bottom: 1.2rem;
}

.sponsors-subtitle {
    font-size: 1.1rem;
    color: #5A5E5A;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== FLOATING SPONSOR MARQUEE ===== */
.sponsors-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 2rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0; /* Space for logos to scale up */
    margin: 0;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Left scrolling animation */
.marquee-left .marquee-content {
    animation: marqueeLeft 25s linear infinite;
}

/* Right scrolling animation */
.marquee-right .marquee-content {
    animation: marqueeRight 20s linear infinite;
}

@keyframes marqueeLeft {
    from { 
        transform: translate3d(0, 0, 0); 
    }
    to { 
        transform: translate3d(-33.333%, 0, 0); 
    }
}

@keyframes marqueeRight {
    from { 
        transform: translate3d(-33.333%, 0, 0); 
    }
    to { 
        transform: translate3d(0, 0, 0); 
    }
}

/* Pause animation on hover - stops the whole row */
.marquee-row:hover .marquee-content {
    animation-play-state: paused;
}

/* Logo styling - transparent, floating */
.marquee-content a {
    display: inline-flex;
}

.sponsor-logo {
    width: 80px;
    height: 80px;
    background: #F9F5EA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    padding: 10px;
}

.marquee-content a:hover {
    transform: scale(1.5);
    z-index: 100;
}

.marquee-content img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(0) invert(1); /* Makes logos white */
    transition: all 0.3s ease;
}
.sponsor-logo i {
    font-size: 2rem;
    color: #9AB59D;
}

/* Alternate sponsor logo colors */
.sponsor-card:nth-child(1) .sponsor-logo i { color: #99B7C6; }
.sponsor-card:nth-child(2) .sponsor-logo i { color: #978EC4; }
.sponsor-card:nth-child(3) .sponsor-logo i { color: #CE325B; }
.sponsor-card:nth-child(4) .sponsor-logo i { color: #F4B092; }
.sponsor-card:nth-child(5) .sponsor-logo i { color: #9AB59D; }

.marquee-content a:hover img {
    opacity: 1;
    filter: none; /* Shows original colors */
}

.sponsors-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #3A3F3B;
    background: #FFFFFF;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(58, 63, 59, 0.15);
    transition: all 0.3s ease;
}

.sponsors-cta:hover {
    background: #3A3F3B;
    color: #FFFFFF;
    border-color: #3A3F3B;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(58, 63, 59, 0.2);
}

.sponsors-cta i {
    transition: transform 0.3s ease;
}

.sponsors-cta:hover i {
    transform: translateX(4px);
}

/* ====================================================== */
/*            HOMEPAGE UPCOMING EVENTS SECTION            */
/*               (different from carousel)                */
/* ====================================================== */

.events-section {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    background: #978EC4; /* Lavender Purple */
    padding: 100px 0 120px;
    text-align: center;
    box-sizing: border-box;
}

.events-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 50px 40px 40px;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.events-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #978EC4;
    margin-bottom: 1rem;
}

.events-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #3A3F3B;
    margin-bottom: 1.2rem;
}

.events-subtitle {
    font-size: 1.1rem;
    color: #5A5E5A;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.events-section .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 3rem;
}

/* Landing page events carousel - display as grid */
.events-section .upcoming-events-section {
    margin-bottom: 3rem;
}

.events-section .upcoming-events-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.events-section .landing-events-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow: visible;
    scroll-behavior: auto;
    flex: 1;
    padding: 0;
}

.events-section .upcoming-event-card {
    flex: 0 0 auto;
    min-width: 0;
}

/* Status badge styles */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.status-available {
    background: rgba(154, 181, 157, 0.2);
    color: #5A7A5D;
}

.status-full {
    background: rgba(206, 50, 91, 0.15);
    color: #CE325B;
}

.status-badge i {
    font-size: 0.7rem;
}

/* Card layout specifically for HOMEPAGE events */
.events-section .event-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-section .event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.event-featured {
    grid-column: span 1;
    background: linear-gradient(135deg, #FFD8D1 0%, #FFF8F2 100%);
}

.event-date {
    background: #CE325B;
    color: white;
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.event-month {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.event-day {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
}

.events-section .event-content {
    padding: 1.8rem 2rem;
    flex: 1;
}

.event-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #978EC4;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.event-tag.tag-steam {
    background: #9AB59D;
}

.event-tag.tag-performance {
    background: #F4B092;
    color: #3A3F3B;
}

.events-section .event-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #3A3F3B;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.events-section .event-card p {
    font-size: 0.95rem;
    color: #5A5E5A;
    line-height: 1.5;
    margin-bottom: 1rem;
}

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

.event-meta span {
    font-size: 0.85rem;
    color: #7A7E7A;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-meta i {
    color: #CE325B;
    font-size: 0.8rem;
}

.event-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #CE325B;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border: 2px solid #CE325B;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.event-btn:hover {
    background: #CE325B;
    color: white;
}

.events-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #3A3F3B;
    background: #FFFFFF;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(58, 63, 59, 0.15);
    transition: all 0.3s ease;
}

.events-view-all:hover {
    background: #3A3F3B;
    color: #FFFFFF;
    border-color: #3A3F3B;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(58, 63, 59, 0.2);
}

.events-view-all i {
    transition: transform 0.3s ease;
}

.events-view-all:hover i {
    transform: translateX(4px);
}

/* ====================================================== */
/*           IN ACTION / BENTO GRID WITH TESTIMONIALS     */
/* ====================================================== */

.inaction-section {
    width: 100%;
    margin-top: 10px;
    background: #99B7C6;
    padding: 80px 0 0 0;
    box-sizing: border-box;
}

.inaction-header {
    text-align: center;
    padding: 0 20px 60px;
}

.inaction-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.inaction-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 1.2rem;
}

.inaction-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Bento Grid - Edge to Edge */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
    width: 100%;
    padding: 0 12px 12px 12px;
    box-sizing: border-box;
}

.bento-item {
    position: relative;
    overflow: hidden;
}

/* Photo items */
.bento-photo {
    cursor: pointer;
}

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

.bento-photo:hover img {
    transform: scale(1.08);
}

/* Grid sizing */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* Testimonial Cards */
.bento-testimonial {
    background: #F9F5EA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.testimonial-content {
    text-align: center;
    max-width: 280px;
}

.testimonial-icon {
    font-size: 2rem;
    color: #CE325B;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #3A3F3B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #3A3F3B;
}

.author-role {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    color: #7A7E7A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial color variations */
.testimonial-accent {
    background: #FFD8D1;
}

.testimonial-accent .testimonial-icon {
    color: #978EC4;
}

.testimonial-dark {
    background: #3A3F3B;
}

.testimonial-dark .testimonial-text,
.testimonial-dark .author-name {
    color: #FFFFFF;
}

.testimonial-dark .author-role {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-dark .testimonial-icon {
    color: #F4B092;
}

/* Animation for bento items */
.bento-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bento-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:nth-child(1) { transition-delay: 0.05s; }
.bento-item:nth-child(2) { transition-delay: 0.1s; }
.bento-item:nth-child(3) { transition-delay: 0.15s; }
.bento-item:nth-child(4) { transition-delay: 0.2s; }
.bento-item:nth-child(5) { transition-delay: 0.25s; }
.bento-item:nth-child(6) { transition-delay: 0.3s; }
.bento-item:nth-child(7) { transition-delay: 0.35s; }
.bento-item:nth-child(8) { transition-delay: 0.4s; }
.bento-item:nth-child(9) { transition-delay: 0.45s; }
.bento-item:nth-child(10) { transition-delay: 0.5s; }
.bento-item:nth-child(11) { transition-delay: 0.55s; }
.bento-item:nth-child(12) { transition-delay: 0.6s; }

/* ====================================================== */
/*                CALL TO ACTION SECTION                  */
/* ====================================================== */

.cta-section {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    background: #F9AFB1;
    padding: 100px 0;
    text-align: center;
    box-sizing: border-box;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 35px 40px 35px;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
}

.cta-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #3A3F3B;
    margin-bottom: 1.2rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: #5A5E5A;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: #CE325B;
    color: #FFFFFF;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(206, 50, 91, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(206, 50, 91, 0.4);
    background: #b82a50;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    color: #3A3F3B;
    padding: 1rem 2.2rem;
    border: 2px solid #3A3F3B;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: #3A3F3B;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ====================================================== */
/*                    SITE FOOTER                         */
/* ====================================================== */

.site-footer {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
    background: #3A3F3B !important;
    color: #FFFFFF;
    padding: 0;
    box-sizing: border-box;
}

.footer-main {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 25px 2rem 20px !important;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 2rem;
    align-items: center;
}

.footer-brand {
    max-width: 350px;
    text-align: left;
    padding-left: 2rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem !important;
    display: block;
    background: rgba(255,255,255,0.1);
    padding: 5px;
    box-sizing: border-box;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
}

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

.footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #CE325B;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
}

.footer-column {
    text-align: center !important;
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F4B092;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
}

.footer-column ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column li {
    margin-bottom: 0.4rem !important;
    text-align: center !important;
}

.footer-column a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ====================================================== */
/*              FLOATING DONATE CARD                      */
/* ====================================================== */

.floating-donate-card {
    position: fixed;
    bottom: 60px;
    right: 60px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(58, 63, 59, 0.2);
    padding: 0;
    max-width: 320px;
    width: 320px;
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
    transition: box-shadow 0.3s ease, left 0.3s ease, top 0.3s ease, right 0.3s ease, bottom 0.3s ease;
    cursor: move;
    overflow: hidden;
}

.floating-donate-card:hover {
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.3);
}

.floating-donate-card.dragging {
    cursor: grabbing;
    transition: none;
    user-select: none;
}

.floating-donate-card.dragging * {
    pointer-events: none;
}

.floating-donate-card:not(.dragging) {
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.floating-donate-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.floating-donate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-donate-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(58, 63, 59, 0.1);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3A3F3B;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    z-index: 10;
    pointer-events: auto;
}

.floating-donate-close:hover {
    background: #CE325B;
    color: white;
    transform: rotate(90deg);
}

.floating-donate-content {
    padding: 18px 24px 24px;
}

.floating-donate-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: #3A3F3B;
    margin: 0 0 0.5rem 0;
}

.floating-donate-content p {
    font-size: 0.95rem;
    color: #5A5E5A;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.floating-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #CE325B;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    pointer-events: auto;
}

.floating-donate-btn:hover {
    background: #B02A4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
    color: white;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================== */
/*              FLOATING DONATE BUTTON (LANDING)          */
/* ====================================================== */

.floating-donate-button {
    position: fixed;
    bottom: 60px;
    right: 60px;
    background: transparent;
    border-radius: 50px;
    padding: 0;
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
    transition: left 0.3s ease, top 0.3s ease, right 0.3s ease, bottom 0.3s ease;
    cursor: move;
    overflow: visible;
}

.floating-donate-button.dragging {
    cursor: grabbing;
    transition: none;
    user-select: none;
}

.floating-donate-button.dragging * {
    pointer-events: none;
}

.floating-donate-button:not(.dragging) {
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-donate-button-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #CE325B;
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(58, 63, 59, 0.2);
}

.floating-donate-button-link:hover {
    background: #B02A4A;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.3);
    color: white;
}

.floating-donate-close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #CE325B;
    border: 2px solid white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    pointer-events: auto;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.floating-donate-close-btn:hover {
    background: #B02A4A;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-donate-button-link:hover {
    background: #B02A4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
    color: white;
}

/* ====================================================== */
/*                    INFO PAGE SECTIONS                   */
/* ====================================================== */

/* Video Section */
.info-video-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    background: #F9F5EA;
    padding: 15px 0 60px;
    box-sizing: border-box;
    position: relative;
}

.info-video-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 63, 59, 0.2), transparent);
}

.info-video-header {
    text-align: center;
    padding: 1rem 2rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-video-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-video-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #4B4F4B;
    line-height: 1.7;
}

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

.info-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.2);
}

.info-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section */
.team-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    background: #F9F5EA;
    padding: 80px 0;
    box-sizing: border-box;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 63, 59, 0.2), transparent);
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 63, 59, 0.2), transparent);
}

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

.team-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.team-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #4B4F4B;
    line-height: 1.7;
}

.team-list {
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 0;
}

.team-member-left {
    flex-direction: row;
}

.team-member-right {
    flex-direction: row-reverse;
}

.team-member-image {
    flex: 0 0 380px;
    height: 480px;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(58, 63, 59, 0.1);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member-content {
    flex: 1;
    padding: 0;
}

.team-member-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.team-member-name {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: #3A3F3B;
    margin: 0;
    line-height: 1.2;
}

.team-linkedin {
    color: #3A3F3B;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.team-linkedin:hover {
    color: #CE325B;
    transform: scale(1.1);
}

.team-member-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #CE325B;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4B4F4B;
    line-height: 1.8;
}

.team-member-bio p {
    margin: 0 0 1.2rem 0;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

.team-divider {
    width: 100%;
    height: 1px;
    background: rgba(58, 63, 59, 0.15);
    margin: 4rem 0;
    max-width: 1100px;
}

/* Press Section */
.press-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    background: transparent;
    padding: 80px 0;
    box-sizing: border-box;
    position: relative;
}

.press-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 63, 59, 0.2), transparent);
}

.press-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 63, 59, 0.2), transparent);
}

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

.press-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.press-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.press-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #4B4F4B;
    line-height: 1.7;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.press-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(58, 63, 59, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.press-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(58, 63, 59, 0.15);
}

.press-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #F4B092 0%, #CE325B 100%);
    position: relative;
    overflow: hidden;
}

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

.press-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.press-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.press-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.press-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #CE325B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #8B8F8B;
    margin-top: -0.25rem;
}

.press-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #3A3F3B;
    margin: 0.5rem 0 0 0;
    line-height: 1.3;
}

.press-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #4B4F4B;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
    flex: 1;
}

.press-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #CE325B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: color 0.3s ease, gap 0.3s ease;
}

.press-link:hover {
    color: #B02A4A;
    gap: 0.75rem;
}

.press-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.press-link:hover i {
    transform: translateX(4px);
}

/* Programs Info Section */
.programs-info-section {
    width: 100%;
    margin-top: 10px;
    background: #FFFFFF;
    padding: 100px 0;
    box-sizing: border-box;
}

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

.programs-header-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 50px 40px 40px;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programs-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #CE325B;
    display: block;
    margin-bottom: 0.8rem;
}

.programs-header-card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: #3A3F3B;
    margin-bottom: 1.2rem;
}

.programs-subtitle {
    font-size: 1.1rem;
    color: #5A5E5A;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.program-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(58, 63, 59, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(58, 63, 59, 0.15);
}

.program-icon {
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 3rem;
}

.program-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
}

.program-card p {
    font-size: 1rem;
    color: #5A5E5A;
    line-height: 1.6;
    margin: 0;
}

/* Mission Section */
.mission-info-section {
    width: 100%;
    margin-top: 10px;
    background: #978EC4;
    padding: 100px 0;
    box-sizing: border-box;
}

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

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

.mission-text {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 60px 50px;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
}

.mission-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #CE325B;
    display: block;
    margin-bottom: 0.8rem;
}

.mission-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    color: #3A3F3B;
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.1rem;
    color: #5A5E5A;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

/* ====================================================== */
/*                 RESPONSIVE BREAKPOINTS                 */
/* ====================================================== */

@media (max-width: 1200px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Bento grid responsive */
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }
    
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-member {
        gap: 3rem;
    }
    
    .team-member-image {
        flex: 0 0 320px;
        height: 400px;
    }
    
    .team-member-name {
        font-size: 2.2rem;
    }
    
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .press-image {
        height: 210px;
    }
    
    .events-section .events-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Landing page events tablet */
    .events-section .landing-events-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Bento grid tablet */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .bento-wide {
        grid-column: span 2;
    }
    
    .bento-tall {
        grid-row: span 2;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .footer-main {
        padding: 20px 1.5rem 15px !important;
        gap: 1.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.6rem 1.5rem;
    }

    .registration-card {
        min-height: auto;
    }
    
    .registration-header {
        flex-direction: column;
        min-height: auto;
    }
    
    .registration-image {
        flex: 0 0 auto;
        min-height: 250px;
        max-height: 300px;
        order: -1;
    }
    
    .registration-image img {
        min-height: 250px;
    }
    
    .registration-header-content {
        flex: 1;
        padding: 1.5rem;
    }
    
    .registration-title {
        font-size: 2rem;
    }
    
    .occurrence-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .occurrence-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .occurrence-date-time {
        width: 100%;
    }
    
    .occurrence-details-row {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    /* .occurrence-status {
        width: 100%;
    } */
    
    .occurrence-card .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-inner h2,
    .sponsors-section h2,
    .events-section h2,
    .gallery-section h2,
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .impact-header-card,
    .sponsors-header-card,
    .events-header-card,
    .cta-header-card {
        padding: 35px 25px 30px;
        margin-bottom: 2.5rem;
        border-radius: 22px;
    }
    
    /* Sponsor marquee responsive */
    .marquee-content img {
        height: 50px;
        max-width: 120px;
    }
    
    .marquee-content {
        gap: 2.5rem;
    }
    
    .events-section .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
        min-width: auto;
    }
    
    /* Bento grid mobile */
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    
    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }
    
    .bento-tall {
        grid-row: span 1;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    /* Info page mobile */
    .info-video-section {
        padding: 15px 0 50px;
    }
    
    .info-video-header {
        padding: 0.75rem 2rem 1rem;
    }
    
    .info-video-header h1 {
        font-size: 3rem;
    }
    
    .info-video-header p {
        font-size: 1rem;
    }
    
    .info-video-wrapper {
        border-radius: 12px;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-header {
        margin-bottom: 3rem;
    }
    
    .team-header h1 {
        font-size: 3rem;
    }
    
    .team-header p {
        font-size: 1rem;
    }
    
    .team-member {
        flex-direction: column !important;
        gap: 2.5rem;
    }
    
    .team-member-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
    }
    
    .team-member-content {
        text-align: center;
    }
    
    .team-member-header {
        justify-content: center;
    }
    
    .team-member-name {
        font-size: 2rem;
    }
    
    .team-member-role {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .team-member-bio {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .team-divider {
        margin: 3rem 0;
    }
    
    .press-section {
        padding: 60px 0;
    }
    
    .press-header {
        margin-bottom: 3rem;
    }
    
    .press-header h1 {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .press-header p {
        font-size: 1rem;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .press-image {
        height: 200px;
    }
    
    .press-content {
        padding: 1.5rem;
    }
    
    .press-title {
        font-size: 1.25rem;
    }
    
    .press-excerpt {
        font-size: 0.9rem;
    }
    
    .programs-info-section,
    .mission-info-section {
        padding: 60px 0 80px;
    }
    
    .programs-header-card,
    .mission-text {
        padding: 35px 25px 30px;
        border-radius: 22px;
    }
    
    .programs-header-card h2,
    .mission-text h2 {
        font-size: 2.2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-card {
        padding: 2rem;
    }
    
    .mission-text {
        padding: 40px 30px;
    }
    
    .mission-text p {
        font-size: 1rem;
    }
    
    /* Floating donate card mobile */
    .floating-donate-card {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        width: auto;
    }
    
    .floating-donate-image {
        height: 140px;
    }
    
    .floating-donate-content {
        padding: 16px 20px 20px;
    }
    
    .floating-donate-content h3 {
        font-size: 1.2rem;
    }
    
    .floating-donate-content p {
        font-size: 0.9rem;
    }
    
    .floating-donate-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .floating-donate-content h3 {
        font-size: 1.3rem;
    }
    
    .floating-donate-content p {
        font-size: 0.95rem;
    }
    
    .floating-donate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Floating donate button mobile */
    .floating-donate-button {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-donate-button-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .floating-donate-close-btn {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        margin: 5px 0 5px 6px;
    }
    
    .bento-testimonial {
        padding: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-main {
        padding: 15px 1rem 12px !important;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-brand {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-logo {
        margin: 0 auto 0.5rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .events-header {
        padding: 3rem 1.5rem 2rem;
    }
    
    .events-header h1 {
        font-size: 3rem;
    }
    
    /* Responsive styles for general page titles */
    h1.mb-1,
    h1.mb-4,
    .users-page > h1,
    .participants-page > h1,
    .milestones-page h1:first-of-type,
    .milestones-page > div > h1:first-of-type,
    .dashboard-page h1:first-of-type,
    .dashboard-page > div > h1:first-of-type {
        font-size: 3rem;
        padding: 0 1.5rem;
    }
    
    .events-header p,
    .dashboard-page > div > p.text-muted,
    .dashboard-page > div.mb-4 > p.text-muted {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }
    
    .events-container {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }
    
    .events-container .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-container .event-image {
        height: 240px;
    }
    
    .events-container .event-content {
        padding: 1.75rem;
    }
    
    .events-container .event-name {
        font-size: 1.5rem;
    }
    
    .upcoming-events-section {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }
    
    .upcoming-events-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
    
    .upcoming-events-carousel-container {
        gap: 1rem;
    }
    
    .upcoming-event-card {
        flex: 0 0 320px;
        min-width: 320px;
    }
    
    .upcoming-event-image {
        height: 220px;
    }
    
    .upcoming-event-content {
        padding: 1.75rem;
    }
    
    .upcoming-event-name {
        font-size: 1.4rem;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
    
    .carousel-btn i {
        font-size: 1.1rem;
    }
    
    .events-filters {
        padding: 1.25rem 1.5rem;
        margin: 1.5rem auto;
    }
    
    .filters-container {
        gap: 1rem;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .filter-label {
        font-size: 0.85rem;
    }
    
    /* Landing page events responsive */
    .events-section .landing-events-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero.hero-video {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .impact-container,
    .sponsors-section,
    .events-section,
    .gallery-section,
    .cta-section {
        padding: 60px 0 80px;
    }
    
    .gallery-grid-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}

/* Survey Modal Sliders */
#surveyModalBackdrop input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E0E0E0;
    outline: none;
    transition: background 0.3s;
}

#surveyModalBackdrop input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#surveyModalBackdrop input[type="range"]::-webkit-slider-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

#surveyModalBackdrop input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    border: none;
    transition: background 0.3s, transform 0.2s;
}

#surveyModalBackdrop input[type="range"]::-moz-range-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

#surveyModalBackdrop input[type="range"]:focus {
    background: #D0D0D0;
}

#surveyModalBackdrop input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.3);
}

#surveyModalBackdrop input[type="range"]:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.3);
}

/* User Profile Rows */
.users-profile-rows {
    margin-top: 1.5rem;
}

.user-profile-card {
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    transition: all 0.2s ease;
}

.user-profile-card:hover {
    border-color: #978EC4;
    box-shadow: 0 2px 8px rgba(151, 142, 196, 0.15);
    transform: translateY(-1px);
}

.user-profile-card .card-body {
    padding: 0.75rem 1rem;
}

.user-avatar {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #978EC4 0%, #CE325B 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.user-info h6 {
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.user-info .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin-top: 0.1rem;
}

.user-details {
    font-size: 0.95rem;
    line-height: 1.3;
}

.user-info-details {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6c757d;
}

/* Role pill button styling */
.role-pill-btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

/* Remove dropdown arrow */
.role-pill-btn::after {
    display: none !important;
}

.role-pill-admin {
    background-color: #CE325B;
    color: white;
}

.role-pill-volunteer {
    background-color: #F4B092;
    color: white;
}

.role-pill-donor {
    background-color: #9AB59D;
    color: white;
}

.role-pill-participant {
    background-color: #99B7C6;
    color: white;
}

.role-pill-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.role-pill-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.15);
}

/* Role pill colors for filter pills and modal pills - override event-label-type colors */
/* Admin - Red */
.add-role-pill[data-role-value="a"],
.edit-role-pill[data-role-value="a"],
.users-role-pill[data-role-value="a"] {
    background-color: #CE325B20 !important;
    border-color: #CE325B !important;
    color: #CE325B !important;
}
.add-role-pill.filter-selected[data-role-value="a"],
.edit-role-pill.filter-selected[data-role-value="a"],
.users-role-pill.filter-selected[data-role-value="a"] {
    background-color: #CE325B !important;
    border-color: #CE325B !important;
    color: white !important;
}

/* Participant - Blue */
.add-role-pill[data-role-value="p"],
.edit-role-pill[data-role-value="p"],
.users-role-pill[data-role-value="p"] {
    background-color: #99B7C620 !important;
    border-color: #99B7C6 !important;
    color: #99B7C6 !important;
}
.add-role-pill.filter-selected[data-role-value="p"],
.edit-role-pill.filter-selected[data-role-value="p"],
.users-role-pill.filter-selected[data-role-value="p"] {
    background-color: #99B7C6 !important;
    border-color: #99B7C6 !important;
    color: white !important;
}

/* Volunteer - Yellow/Orange */
.add-role-pill[data-role-value="v"],
.edit-role-pill[data-role-value="v"],
.users-role-pill[data-role-value="v"] {
    background-color: #F4B09220 !important;
    border-color: #F4B092 !important;
    color: #F4B092 !important;
}
.add-role-pill.filter-selected[data-role-value="v"],
.edit-role-pill.filter-selected[data-role-value="v"],
.users-role-pill.filter-selected[data-role-value="v"] {
    background-color: #F4B092 !important;
    border-color: #F4B092 !important;
    color: white !important;
}

/* Donor - Green */
.add-role-pill[data-role-value="d"],
.edit-role-pill[data-role-value="d"],
.users-role-pill[data-role-value="d"] {
    background-color: #9AB59D20 !important;
    border-color: #9AB59D !important;
    color: #9AB59D !important;
}
.add-role-pill.filter-selected[data-role-value="d"],
.edit-role-pill.filter-selected[data-role-value="d"],
.users-role-pill.filter-selected[data-role-value="d"] {
    background-color: #9AB59D !important;
    border-color: #9AB59D !important;
    color: white !important;
}

/* Role dropdown menu styling */
.role-dropdown {
    position: relative;
    z-index: 99999;
}

.role-dropdown-menu {
    min-width: 140px;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    z-index: 100000 !important;
    position: absolute !important;
    background: white !important;
    margin-top: 0.25rem;
    overflow: visible !important;
}

.role-dropdown-menu.dropdown-menu-top {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
    transform: translateY(0) !important;
}

/* Ensure dropdown appears above all cards */
.user-profile-card {
    overflow: visible !important;
}

.users-profile-rows {
    overflow: visible !important;
}

.role-dropdown-item {
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin: 0.25rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.role-dropdown-item i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Color-coded role pills in dropdown */
.role-item-admin {
    background-color: #CE325B !important;
}

.role-item-volunteer {
    background-color: #978EC4 !important;
}

.role-item-donor {
    background-color: #9AB59D !important;
}

.role-item-participant {
    background-color: #3A3F3B !important;
}

.role-dropdown-item:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.role-dropdown-item:active {
    transform: scale(0.98);
}

/* Ensure forms in dropdown are clickable */
.role-dropdown-menu form {
    margin: 0;
    padding: 0;
}

.role-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Icon button hover effects */
.user-profile-card .btn-link:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.user-profile-card .btn-link {
    transition: all 0.2s ease;
}

.user-details strong {
    color: #3A3F3B;
    font-weight: 600;
}

.user-details p {
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .user-profile-card .card-body {
        padding: 0.75rem;
    }
    
    .avatar-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .user-info h6 {
        font-size: 1.05rem;
    }
    
    .user-details {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .user-profile-card .card-body {
        padding: 0.6rem;
    }
    
    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .user-info h6 {
        font-size: 1rem;
    }
    
    .user-details {
        font-size: 0.85rem;
    }
}

/* ====================================================== */
/*                    DONATE PAGE STYLING                */
/*         (Extracted from views/donations.ejs)          */
/* ====================================================== */

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

/* Cover Image */
.donate-cover-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
}

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

/* Header Card Section */
.donate-header-card {
    background: linear-gradient(135deg, #9AB59D 0%, #7fa082 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(154, 181, 157, 0.25);
    margin-bottom: 1.5rem;
    overflow: hidden;
    animation: fadeInScale 0.6s ease both;
}

.donate-header-card-body {
    text-align: center;
    padding: 1.5rem 2rem;
}

.donate-main-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.donate-main-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 0.95;
}

/* Information Card */
.donate-info-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(58, 63, 59, 0.08);
    overflow: hidden;
    animation: fadeInScale 0.6s ease both;
    height: 100%;
}

.donate-info-card-body {
    padding: 1.5rem;
}

/* Form Card */
.donate-form-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(58, 63, 59, 0.08);
    overflow: hidden;
    animation: fadeInScale 0.6s ease 0.2s both;
    height: fit-content;
}

.donate-form-card-body {
    padding: 1.25rem;
}

.donate-section {
    margin-bottom: 1.5rem;
}

.donate-section:last-child {
    margin-bottom: 0;
}

.donate-section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: #3A3F3B;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.donate-section-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #5A5E5A;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.donate-programs {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
    list-style: disc;
}

.donate-programs li {
    margin-bottom: 0.65rem;
}

.donate-help-list {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #3A3F3B;
    margin-left: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    list-style: disc;
}

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

.donate-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #7A7E7A;
    font-style: italic;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E5E5E5;
    line-height: 1.6;
}

.donate-closing {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.donate-signature {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E5E5;
    line-height: 1.5;
}

.donate-alert {
    background: #FFD8D1;
    color: #9AB59D;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border-left: 4px solid #9AB59D;
}

.donate-success {
    background: #9AB59D;
    color: #FFFFFF;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.donate-form {
    background: transparent;
    border: none;
    padding: 0;
}

.donate-form-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: #3A3F3B;
    margin-bottom: 1rem;
}

.donate-amount-section {
    margin-bottom: 1.25rem;
}

.donate-quick-amounts {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.donate-quick-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 2px solid #9AB59D;
    border-radius: 12px;
    color: #9AB59D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-quick-btn:hover,
.donate-quick-btn.active {
    background: #9AB59D;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.donate-amount-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
}

.donate-amount-input-group:focus-within {
    border-color: #9AB59D;
    box-shadow: 0 0 0 3px rgba(154, 181, 157, 0.1);
}

.donate-currency {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #3A3F3B;
    margin-right: 0.5rem;
}

.donate-amount-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #3A3F3B;
    background: transparent;
}

.donate-amount-input::placeholder {
    color: #9A9A9A;
    font-weight: 400;
}

.donate-form-group {
    margin-bottom: 1rem;
}

.donate-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin-bottom: 0.5rem;
}

.donate-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.donate-input:focus {
    outline: none;
    border-color: #9AB59D;
    box-shadow: 0 0 0 3px rgba(154, 181, 157, 0.1);
}

.donate-button-group {
    margin-top: 2rem;
}

.donate-btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #9AB59D;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(154, 181, 157, 0.3);
}

.donate-btn-primary:hover {
    background: #7fa082;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(154, 181, 157, 0.4);
}

.donate-footer-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #7A7E7A;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Donate Page Responsive */
@media (max-width: 991.98px) {
    .donate-cover-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .donate-header-card-body {
        padding: 1.25rem 1.5rem;
    }

    .donate-main-title {
        font-size: 1.5rem;
    }

    .donate-main-subtitle {
        font-size: 0.9rem;
    }

    .donate-section-title {
        font-size: 1.3rem;
    }

    .donate-info-card-body,
    .donate-form-card-body {
        padding: 1.25rem;
    }

    .donate-section-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .donate-cover-image {
        height: 200px;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .donate-header-card-body {
        padding: 1rem 1.25rem;
    }

    .donate-main-title {
        font-size: 1.35rem;
    }

    .donate-main-subtitle {
        font-size: 0.85rem;
    }

    .donate-section-title {
        font-size: 1.2rem;
    }

    .donate-section-text {
        font-size: 0.95rem;
    }

    .donate-programs {
        font-size: 0.9rem;
    }

    .donate-info-card-body,
    .donate-form-card-body {
        padding: 1rem;
    }
    
    .donate-section-title {
        font-size: 1.1rem;
    }

    .donate-section-text,
    .donate-programs,
    .donate-help-list {
        font-size: 0.8rem;
    }
    
    .donate-image-side {
        min-height: 200px;
        max-height: 250px;
    }

    .donate-quick-btn {
        min-width: 100px;
    }
}

/* ====================================================== */
/*           DONATIONS PAGE STYLING (LOGGED-IN)          */
/*         (Extracted from views/donations.ejs)          */
/* ====================================================== */

/* Donations KPI Cards */
.donation-kpi-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.donation-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.donation-kpi-card .card-body {
    padding: 2rem;
}

/* Donations Top Bar */
.donations-top-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .donations-top-bar {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.donations-search-form {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.donations-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.donations-search-icon {
    position: absolute;
    left: 1rem;
    color: #5A5E5A;
    z-index: 1;
    pointer-events: none;
}

.donations-search-input {
    flex: 1;
    border-radius: 999px;
    padding: 0.6rem 1.3rem 0.6rem 2.75rem;
    height: auto;
    border: 2px solid #E0E0E0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.donations-search-input:focus {
    outline: none;
    border-color: #978EC4;
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.1);
}

.donations-clear-btn {
    white-space: nowrap;
}

.donations-search-clear-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
    text-decoration: none;
}

.donations-search-clear-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.donations-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Filter and Add Donation Buttons */
.donations-filter-btn,
.donations-add-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
}

.donations-filter-btn {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.donations-filter-btn:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.donations-add-btn {
    background: #978EC4;
    color: white;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.donations-add-btn:hover {
    background: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Donation Cards */
.donation-card {
    border-radius: 16px;
    border: none;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.donation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.donation-card .card-body {
    padding: 1.5rem;
}

.donation-amount-section {
    flex: 1;
}

.donation-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.donation-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    display: block;
    margin-top: 0.25rem;
}

.donation-actions-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.donation-edit-btn,
.donation-delete-btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid;
    min-width: 36px;
    height: 36px;
}

.donation-edit-btn {
    background: white;
    color: #978EC4;
    border-color: #978EC4;
}

.donation-edit-btn:hover {
    background: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

.donation-delete-btn {
    background: white;
    color: #CE325B;
    border-color: #CE325B;
}

.donation-delete-btn:hover {
    background: #CE325B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
}

.donation-participant-info {
    flex: 1;
}

.donation-participant-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    margin: 0;
}

.donation-participant-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.donation-id {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #7A7E7A;
    margin: 0;
}

/* Pagination Buttons */
.donations-pagination-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.donations-pagination-btn.btn-secondary {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.donations-pagination-btn.btn-secondary:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.donations-pagination-btn.btn-primary {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.donations-pagination-btn.btn-primary:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* User Donate Button - Green like status-pill--good */
.donations-user-donate-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #9AB59D;
    color: white;
    border: 2px solid #9AB59D;
    box-shadow: 0 6px 16px rgba(154, 181, 157, 0.35);
}

.donations-user-donate-btn:hover {
    background: #7fa082;
    border-color: #7fa082;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(154, 181, 157, 0.4);
}

/* Modal Buttons */
.donations-modal-cancel-btn,
.donations-modal-save-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.donations-modal-cancel-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.donations-modal-cancel-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.donations-modal-save-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.donations-modal-save-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Participant Search (same as registration.ejs) */
.reg-participant-search {
    min-width: 220px;
}

.reg-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E6E0D4;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 10;
    display: none;
    max-height: 220px;
    overflow-y: auto;
}

.reg-search-results .result-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.reg-search-results .result-item:hover {
    background: #F0F0F0;
}

/* Delete Confirmation Modal (same as registration.ejs) */
.reg-confirm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.reg-confirm-backdrop.active {
    display: flex;
}

.reg-confirm-modal {
    background: white;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    max-width: 420px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.reg-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}


/* Modern Add Donation Modal */
.add-donation-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.add-donation-backdrop.active {
    display: flex;
}

.add-donation-modal {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.add-donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F0F0F0;
}

.add-donation-header h4 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
}

.add-donation-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4B4F4B;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.add-donation-close:hover {
    background: #F0F0F0;
}

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

.add-donation-form-group label {
    display: block;
    font-weight: 600;
    color: #3A3F3B;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.add-donation-form-group input,
.add-donation-form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.add-donation-form-group input:focus,
.add-donation-form-group select:focus {
    outline: none;
    border-color: #978EC4;
}


.add-donation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #F0F0F0;
}

/* Donations Filter Section */
.donations-filter-section {
    padding: 1.5rem;
}

.donations-filter-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
    margin: 0;
}

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

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

.donations-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.donations-filter-group-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin: 0;
}

.donations-range-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donations-range-with-inputs {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.75rem;
    align-items: center;
}

.donations-range-input-group-min,
.donations-range-input-group-max {
    min-width: 60px;
    max-width: 70px;
}

.donations-range-input-group-min .donations-range-input,
.donations-range-input-group-max .donations-range-input {
    padding-inline: 0.4rem;
    padding-block: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
}

.donations-range-input-group-min .donations-range-label,
.donations-range-input-group-max .donations-range-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.donations-range-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.donations-range-slider-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donations-range-slider-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Dual-handle range slider */
.donations-dual-range-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donations-dual-range {
    position: absolute;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    pointer-events: none;
}

.donations-dual-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.donations-dual-range::-webkit-slider-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

.donations-dual-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.donations-dual-range::-moz-range-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

.donations-dual-range-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    z-index: 0;
}

.donations-dual-range-min {
    z-index: 1;
}

.donations-dual-range-max {
    z-index: 1;
}

/* Active track between handles */
.donations-dual-range-wrapper::after {
    content: '';
    position: absolute;
    height: 8px;
    background: #978EC4;
    border-radius: 4px;
    z-index: 1;
    left: var(--track-left, 0%);
    right: var(--track-right, 0%);
    pointer-events: none;
}

.donations-range-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.donations-range-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B4F4B;
}

.donations-range-input {
    padding: 0.5rem 0.75rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.donations-range-input:focus {
    outline: none;
    border-color: #978EC4;
}

.donations-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E0E0E0;
}

.donations-filter-reset-btn,
.donations-filter-apply-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.donations-filter-reset-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.donations-filter-reset-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.donations-filter-apply-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.donations-filter-apply-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

@media (max-width: 767px) {
    .donations-filter-section {
        padding: 1rem;
    }

    .donations-filter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ====================================================== */
/*                  SURVEYS PAGE STYLING                  */
/*          (Extracted from views/surveys.ejs)            */
/* ====================================================== */

/* Surveys KPI Cards */
.survey-kpi-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.survey-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.survey-kpi-card .card-body {
    padding: 2rem;
}

/* Surveys Top Bar */
.surveys-top-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .surveys-top-bar {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.surveys-search-form {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.surveys-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.surveys-search-icon {
    position: absolute;
    left: 1rem;
    color: #5A5E5A;
    z-index: 1;
    pointer-events: none;
}

.surveys-search-input {
    flex: 1;
    border-radius: 999px;
    padding: 0.6rem 1.3rem 0.6rem 2.75rem;
    height: auto;
    border: 2px solid #E0E0E0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.surveys-search-input:focus {
    outline: none;
    border-color: #978EC4;
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.1);
}

.surveys-clear-btn {
    white-space: nowrap;
}

.surveys-search-clear-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
    text-decoration: none;
}

.surveys-search-clear-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.surveys-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Filter and Add Survey Buttons */
.surveys-filter-btn,
.surveys-add-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
}

.surveys-filter-btn {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.surveys-filter-btn:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.surveys-add-btn {
    background: #978EC4;
    color: white;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.surveys-add-btn:hover {
    background: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Survey Cards */
.survey-card {
    border-radius: 16px;
    border: none;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.survey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.survey-card .card-body {
    padding: 1.5rem;
}

.survey-title-section {
    flex: 1;
}

.survey-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.survey-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    display: block;
    margin-top: 0.25rem;
}

.survey-actions-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.survey-edit-btn,
.survey-delete-btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid;
    min-width: 36px;
    height: 36px;
}

.survey-edit-btn {
    background: white;
    color: #978EC4;
    border-color: #978EC4;
}

.survey-edit-btn:hover {
    background: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

.survey-delete-btn {
    background: white;
    color: #CE325B;
    border-color: #CE325B;
}

.survey-delete-btn:hover {
    background: #CE325B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
}

.survey-score-section {
    margin-bottom: 0.5rem;
}

.survey-score-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    margin: 0;
}

.survey-score-value {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.survey-participant-info {
    flex: 1;
}

.survey-participant-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    margin: 0;
}

.survey-participant-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.survey-event-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4B4F4B;
    margin: 0;
}

.survey-comments {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #5A5E5A;
    font-style: italic;
    margin: 0;
}

.survey-id {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #7A7E7A;
    margin: 0;
}

/* Surveys Filter Section */
.surveys-filter-section {
    padding: 1.5rem;
}

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

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

.surveys-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.surveys-filter-group-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin: 0;
}

.surveys-range-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.surveys-range-slider-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.surveys-range-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.surveys-range-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B4F4B;
}

.surveys-range-input {
    padding: 0.5rem 0.75rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.surveys-range-input:focus {
    outline: none;
    border-color: #978EC4;
}

.surveys-range-with-inputs {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.75rem;
    align-items: center;
}

.surveys-range-input-group-min,
.surveys-range-input-group-max {
    min-width: 60px;
    max-width: 70px;
}

.surveys-range-input-group-min .surveys-range-input,
.surveys-range-input-group-max .surveys-range-input {
    padding-inline: 0.4rem;
    padding-block: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
}

.surveys-dual-range-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.surveys-dual-range {
    position: absolute;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    pointer-events: none;
}

.surveys-dual-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.surveys-dual-range::-webkit-slider-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

.surveys-dual-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.surveys-dual-range-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    z-index: 0;
}

.surveys-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E0E0E0;
}

.surveys-filter-reset-btn,
.surveys-filter-apply-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.surveys-filter-reset-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.surveys-filter-reset-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.surveys-filter-apply-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.surveys-filter-apply-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Pagination Buttons */
.surveys-pagination-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.surveys-pagination-btn.btn-secondary {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.surveys-pagination-btn.btn-secondary:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.surveys-pagination-btn.btn-primary {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.surveys-pagination-btn.btn-primary:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Modal Buttons */
.surveys-modal-cancel-btn,
.surveys-modal-save-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.surveys-modal-cancel-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.surveys-modal-cancel-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.surveys-modal-save-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.surveys-modal-save-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Survey Slider Styling (matching profile page) */
#addSurveyModal input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E0E0E0;
    outline: none;
    transition: background 0.2s;
}

#addSurveyModal input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

#addSurveyModal input[type="range"]::-webkit-slider-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

#addSurveyModal input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

#addSurveyModal input[type="range"]::-moz-range-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

#addSurveyModal input[type="range"]:focus {
    background: #D0D0D0;
}

@media (max-width: 767px) {
    .surveys-filter-section {
        padding: 1rem;
    }

    .surveys-filter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #addSurveyModal .modal-body > form > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* ====================================================== */
/*                   USERS PAGE STYLING                   */
/*           (Extracted from views/users.ejs)             */
/* ====================================================== */

/* Users Page Styling - Matching Donations Page */
.users-top-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .users-top-bar {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.users-search-form {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.users-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.users-search-icon {
    position: absolute;
    left: 1rem;
    color: #5A5E5A;
    z-index: 1;
    pointer-events: none;
}

.users-search-input {
    flex: 1;
    border-radius: 999px;
    padding: 0.6rem 1.3rem 0.6rem 2.75rem;
    height: auto;
    border: 2px solid #E0E0E0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.users-search-input:focus {
    outline: none;
    border-color: #978EC4;
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.1);
}

.users-clear-btn {
    white-space: nowrap;
}

.users-search-clear-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
    text-decoration: none;
}

.users-search-clear-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.users-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Add User Button */
.users-add-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    background: #978EC4;
    color: white;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.users-add-btn:hover {
    background: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Sort pills styling */
.users-sort-pill {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.users-sort-pill i.fa-arrow-up,
.users-sort-pill i.fa-arrow-down {
    margin-left: 0.3rem;
    font-size: 0.75rem;
}

/* Role Filter Pills Section */
.filter-label {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #3A3F3B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label i {
    color: #978EC4;
}

/* Pagination Buttons */
.users-pagination-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.users-pagination-btn.btn-primary {
    background: #978EC4;
    color: white;
    border: none;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.users-pagination-btn.btn-primary:hover {
    background: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Edit and Delete Icon Buttons */
.user-edit-btn,
.user-delete-btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid;
    min-width: 36px;
    height: 36px;
}

.user-edit-btn {
    background: white;
    color: #978EC4;
    border-color: #978EC4;
}

.user-edit-btn:hover {
    background: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

.user-delete-btn {
    background: white;
    color: #CE325B;
    border-color: #CE325B;
}

.user-delete-btn:hover {
    background: #CE325B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
}

/* Role pills in modal */
.add-role-pill {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Role pill label (non-clickable) */
.role-pill-label {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.role-pill-label i {
    margin-right: 0;
}

/* View Progress Button */
.user-view-progress-btn {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid #978EC4;
    background: white;
    color: #978EC4;
}

.user-view-progress-btn:hover {
    background: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

/* ====================================================== */
/*                  PROFILE PAGE STYLING                  */
/*          (Extracted from views/profile.ejs)            */
/* ====================================================== */

/* Profile page styling to match registration/landing pages */
.participants-page {
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.participants-page > * {
    text-align: left;
}

.participants-page > h1 {
    text-align: center;
}

.participants-page h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 4.5rem;
    color: #3A3F3B;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .participants-page h1 {
        font-size: 3rem;
    }
}

.participants-page .card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: none;
}

.profile-card-body {
    padding: 2rem;
}

.profile-card-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #3A3F3B;
}

.profile-card-body p {
    font-family: 'Montserrat', sans-serif;
    color: #4B4F4B;
}

.profile-edit-trigger {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: transparent;
    border: 2px solid #6B6F6B;
    color: #6B6F6B;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.profile-edit-trigger:hover {
    background: #6B6F6B;
    color: white;
    border-color: #6B6F6B;
}

/* My Events Section */
.my-events-section {
    margin-top: 3rem;
}

.my-events-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #3A3F3B;
    margin-bottom: 1.5rem;
}

.my-events-section .occurrence-toggle {
    display: inline-flex;
    background: #F0F0F0;
    border-radius: 999px;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.my-events-section .toggle-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #4B4F4B;
    cursor: pointer;
    transition: all 0.2s;
}

.my-events-section .toggle-btn.active {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #3A3F3B;
}

.my-events-section .toggle-btn:hover {
    background: white;
}

/* Event Cards - Consistent Layout with Standardized Sections */
.occurrences-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.my-event-card {
    display: grid;
    grid-template-columns: 150px 160px 160px 140px 180px;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.2rem;
    background: #F9F5EA;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.my-event-card:hover {
    border-color: #978EC4;
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.2);
}

/* Red border/shadow for missing survey */
.my-event-card.survey-missing {
    border-color: #CE325B;
    box-shadow: 0 0 0 2px rgba(206, 50, 91, 0.15), 0 4px 12px rgba(206, 50, 91, 0.1);
}

.my-event-card.survey-missing:hover {
    border-color: #CE325B;
    box-shadow: 0 0 0 2px rgba(206, 50, 91, 0.2), 0 4px 12px rgba(206, 50, 91, 0.15);
}

/* Image Section */
.my-event-image {
    flex: 0 0 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
}

.my-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Info Section: Title, Date, Registered/Past Badge */
.my-event-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.my-event-main-info .event-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #3A3F3B;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 0.25rem;
}

.my-event-main-info .occurrence-date {
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    color: #3A3F3B;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.my-event-main-info .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: fit-content;
}

/* Details Section: Location, Time, Type */
.my-event-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.my-event-details .occurrence-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #4B4F4B;
    margin-bottom: 0.15rem;
}

.my-event-details .occurrence-detail-item i {
    color: #978EC4;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

/* Status Pill Section - Bigger */
.my-event-status-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
}

/* Survey/Action Merged Section - Only for Past Events */
.my-event-survey-action {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    min-height: 36px;
    max-width: 180px;
    overflow: visible;
    padding: 0 0.25rem;
    box-sizing: border-box;
}

.my-event-survey-action .survey-badge {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0.6rem 0.8rem;
}

/* Legacy classes for backwards compatibility */
.my-event-survey-pill {
    display: none;
}

.my-event-action {
    display: none;
}

/* Make all action buttons boxy with larger text to match status pills */
.my-event-survey-action .btn,
.my-event-survey-action button {
    border-radius: 8px !important;
    padding: 0.6rem 1.3rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.my-event-survey-action .btn i,
.my-event-survey-action button i {
    font-size: 0.9rem;
}

.status-pill {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pill--good {
    background: #9AB59D;
    color: white;
}

.status-pill--neutral {
    background: #D8D8D8;
    color: #3A3F3B;
}

.status-pill--bad {
    background: #CE325B;
    color: white;
}

.survey-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: #978EC4;
    color: white;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.survey-badge span,
.survey-badge i {
    flex-shrink: 0;
}

.survey-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.survey-badge.missing {
    background: #9AB59D;
    color: white;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.survey-badge.missing:hover {
    background: #7A9A7D;
    transform: scale(1.05);
}

.survey-badge.missing i {
    color: white;
}

.survey-badge.placeholder {
    display: none;
}

.survey-badge.empty {
    visibility: hidden;
    min-height: 36px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.status-available {
    background-color: #9AB59D;
    color: white;
}

.status-badge.status-past {
    background-color: #D0D0D0;
    color: #4B4F4B;
}

.no-occurrences {
    text-align: center;
    padding: 3rem 2rem;
    color: #4B4F4B;
    font-family: 'Montserrat', sans-serif;
}

/* KPI Cards */
.participants-page .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.participants-page .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Profile Page Responsive */
@media (max-width: 1200px) {
    .my-event-card {
        grid-template-columns: 120px 140px 140px 130px 160px;
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .my-event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .my-event-image {
        width: 100%;
        height: 200px;
    }

    .my-event-main-info,
    .my-event-details,
    .my-event-status-pill,
    .my-event-survey-action {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .my-event-card {
        padding: 1rem;
    }

    .my-event-action .btn {
        width: 100%;
    }
}

/* ====================================================== */
/*          PROFILE PAGE - MOBILE RESPONSIVE              */
/* ====================================================== */

/* Profile Card - Mobile Adjustments */
@media (max-width: 768px) {
    .profile-card-body {
        padding: 1.25rem;
    }
    
    .profile-card-body h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .profile-card-body p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Fix edit button overlapping on mobile */
    .profile-edit-trigger {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Member since section on mobile */
    .profile-card-body .text-end {
        text-align: left !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #E0E0E0;
    }
    
    /* KPI cards on mobile */
    .profile-kpi-card-body {
        padding: 1.25rem;
    }
    
    .profile-kpi-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .kpi-value-display {
        font-size: 1.75rem;
    }
    
    .profile-milestone-title {
        font-size: 1rem;
    }
    
    .profile-milestone-date {
        font-size: 0.85rem;
    }
    
    /* My Events section on mobile */
    .my-events-section h2 {
        font-size: 1.5rem;
    }
    
    .my-events-section .occurrence-toggle,
    .admin-user-events-section .occurrence-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .my-events-section .toggle-btn,
    .admin-user-events-section .toggle-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .profile-card-body h2 {
        font-size: 1.35rem;
    }
    
    .profile-card-body p {
        font-size: 0.85rem;
    }
    
    .profile-kpi-card-body {
        padding: 1rem;
    }
    
    .kpi-value-display {
        font-size: 1.5rem;
    }
    
    /* Survey modal on mobile */
    .survey-modal-container {
        width: 95%;
        max-width: 100%;
    }
    
    .survey-rating-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .survey-modal-buttons {
        flex-direction: column-reverse;
    }
    
    .survey-modal-buttons button {
        width: 100%;
    }
}

/* ====================================================== */
/*                 MILESTONES PAGE STYLING                */
/*         (Extracted from views/milestones.ejs)          */
/* ====================================================== */

/* Milestones KPI Cards */
.milestone-kpi-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.milestone-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.milestone-kpi-card .card-body {
    padding: 2rem;
}

/* Milestones Top Bar */
.milestones-top-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .milestones-top-bar {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.milestones-search-form {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.milestones-search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.milestones-search-icon {
    position: absolute;
    left: 1rem;
    color: #5A5E5A;
    z-index: 1;
    pointer-events: none;
}

.milestones-search-input {
    flex: 1;
    border-radius: 999px;
    padding: 0.6rem 1.3rem 0.6rem 2.75rem;
    height: auto;
    border: 2px solid #E0E0E0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.milestones-search-input:focus {
    outline: none;
    border-color: #978EC4;
    box-shadow: 0 0 0 3px rgba(151, 142, 196, 0.1);
}

.milestones-clear-btn {
    white-space: nowrap;
}

.milestones-search-clear-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
    text-decoration: none;
}

.milestones-search-clear-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.milestones-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Filter and Add Milestone Buttons */
.milestones-filter-btn,
.milestones-add-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
}

.milestones-filter-btn {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.milestones-filter-btn:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.milestones-add-btn {
    background: #978EC4;
    color: white;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.milestones-add-btn:hover {
    background: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Milestone Cards */
.milestone-card {
    border-radius: 16px;
    border: none;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.milestone-card .card-body {
    padding: 1.5rem;
}

.milestone-title-section {
    flex: 1;
}

.milestone-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.milestone-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    display: block;
    margin-top: 0.25rem;
}

.milestone-actions-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.milestone-edit-btn,
.milestone-delete-btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 2px solid;
    min-width: 36px;
    height: 36px;
}

.milestone-edit-btn {
    background: white;
    color: #978EC4;
    border-color: #978EC4;
}

.milestone-edit-btn:hover {
    background: #978EC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 142, 196, 0.3);
}

.milestone-delete-btn {
    background: white;
    color: #CE325B;
    border-color: #CE325B;
}

.milestone-delete-btn:hover {
    background: #CE325B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 50, 91, 0.3);
}

.milestone-participant-info {
    flex: 1;
}

.milestone-participant-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #5A5E5A;
    margin: 0;
}

.milestone-participant-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    font-weight: 600;
    margin: 0;
}

.milestone-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #7A7E7A;
    margin: 0;
}

/* Milestones Filter Section */
.milestones-filter-section {
    padding: 1.5rem;
}

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

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

.milestones-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.milestones-filter-group-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin: 0;
}

.milestones-range-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.milestones-range-slider-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.milestones-range-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.milestones-range-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B4F4B;
}

.milestones-range-input {
    padding: 0.5rem 0.75rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.milestones-range-input:focus {
    outline: none;
    border-color: #978EC4;
}

.milestones-range-with-inputs {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 0.75rem;
    align-items: center;
}

.milestones-range-input-group-min,
.milestones-range-input-group-max {
    min-width: 60px;
    max-width: 70px;
}

.milestones-range-input-group-min .milestones-range-input,
.milestones-range-input-group-max .milestones-range-input {
    padding-inline: 0.4rem;
    padding-block: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
}

.milestones-dual-range-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestones-dual-range {
    position: absolute;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    pointer-events: none;
}

.milestones-dual-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.milestones-dual-range::-webkit-slider-thumb:hover {
    background: #7A6FA3;
    transform: scale(1.1);
}

.milestones-dual-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #978EC4;
    cursor: pointer;
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.milestones-dual-range-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    z-index: 0;
}

.milestones-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E0E0E0;
}

.milestones-filter-reset-btn,
.milestones-filter-apply-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.milestones-filter-reset-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.milestones-filter-reset-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.milestones-filter-apply-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.milestones-filter-apply-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Pagination Buttons */
.milestones-pagination-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.milestones-pagination-btn.btn-secondary {
    background: #F0F0F0;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.milestones-pagination-btn.btn-secondary:hover {
    background: #E0E0E0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.milestones-pagination-btn.btn-primary {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.milestones-pagination-btn.btn-primary:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

/* Modal Buttons */
.milestones-modal-cancel-btn,
.milestones-modal-save-btn {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.milestones-modal-cancel-btn {
    background: white;
    color: #3A3F3B;
    border: 2px solid #E0E0E0;
}

.milestones-modal-cancel-btn:hover {
    background: #F0F0F0;
    color: #3A3F3B;
    border-color: #D0D0D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.milestones-modal-save-btn {
    background: #978EC4;
    color: white;
    border: 2px solid #978EC4;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.milestones-modal-save-btn:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(151, 142, 196, 0.4);
}

@media (max-width: 767px) {
    .milestones-filter-section {
        padding: 1rem;
    }

    .milestones-filter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ====================================================== */
/*               REGISTRATION PAGE STYLING                */
/*        (Extracted from views/registration.ejs)         */
/* ====================================================== */

.registration-card {
}

.registration-back {
    max-width: 1400px;
    margin: 0 auto 1rem;
    padding: 0 0.5rem;
}

.registration-back .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #978EC4;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(151, 142, 196, 0.35);
}

.registration-back .btn-back:hover {
    background: #897FB8;
    color: white;
}

.reg-modal {
    max-width: 640px;
    width: 92%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reg-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.reg-modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.reg-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4B4F4B;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.reg-meta-item i {
    color: #978EC4;
}

.reg-participants-card {
    background: #F9F5EA;
    border: 1px solid #E6E0D4;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reg-participant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.reg-participants-list {
    max-height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reg-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: white;
    border: 1px solid #E6E0D4;
    border-radius: 10px;
    min-height: 86px;
}

.reg-participant-left,
.reg-participant-main,
.reg-participant-right {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.reg-participant-left {
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.reg-participant-main {
    flex: 1 1 auto;
}

.reg-participant-right {
    flex: 0 0 auto;
    align-items: flex-end;
    gap: 0.5rem;
    min-height: 70px;
    justify-content: flex-start;
}

.reg-participant-right.no-survey {
    justify-content: center;
}

.reg-participant-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reg-participant-name {
    font-weight: 700;
    color: #3A3F3B;
}

.reg-participant-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.reg-participant-email {
    font-size: 0.9rem;
    color: #5A5E5A;
    word-break: break-all;
}

.reg-participant-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    position: relative;
}

.reg-empty {
    margin: 0;
    font-style: italic;
    color: #6B6F6B;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reg-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.reg-form-group label {
    font-weight: 600;
    color: #3A3F3B;
    margin-bottom: 0.35rem;
    display: block;
}

.reg-form-group .form-control,
.reg-form-group select {
    width: 100%;
}

.reg-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.reg-edit-region .reg-editable {
    display: none;
}

.reg-edit-region.reg-editing .reg-editable {
    display: block;
}

.reg-edit-buttons,
.reg-edit-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reg-edit-buttons {
    margin-left: auto;
}

.btn-lavender {
    background: #978EC4;
    border: 1px solid #978EC4;
    color: white;
}

.btn-lavender:hover {
    background: #897FB8;
    border-color: #897FB8;
    color: white;
}

.reg-toast {
    display: none;
    align-items: center;
    gap: 0.4rem;
    background: #9AB59D;
    color: white;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 36px;
}

.reg-toast.active {
    display: inline-flex;
}

.reg-edit-region.reg-editing #regModalEditBtn {
    display: none;
}

.reg-edit-region .reg-form {
    margin-bottom: 0.75rem;
}

.reg-edit-region .reg-form-group:last-child {
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .reg-modal {
        max-height: 92vh;
    }
    .reg-modal-body {
        max-height: calc(92vh - 80px);
    }
    .reg-participant-actions {
        flex-wrap: wrap;
    }
    .reg-participant-search {
        flex: 1 1 100%;
        min-width: 0;
    }
    .reg-participant-actions .btn {
        width: 100%;
    }
    .reg-participant-email {
        display: none;
    }
}

.reg-remove-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #E6E0D4;
    background: #FDF2F2;
    color: #D14343;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.reg-remove-icon:hover {
    background: #FBE3E3;
    transform: translateY(-1px);
}

.reg-status-trigger {
    min-width: 140px;
    border-radius: 999px;
    border: 1px solid #D0D0D0;
    background: #F7F7F7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease, transform 0.15s ease;
    font-weight: 700;
}

.reg-status-trigger:hover {
    background: #EFEFEF;
    transform: translateY(-1px);
}

.reg-status-trigger.status-pill--good {
    border-color: #9AB59D;
    background: #F2F7F3;
    color: #3D6643;
}

.reg-status-trigger.status-pill--neutral {
    border-color: #D0D0D0;
    background: #F7F7F7;
    color: #4B4F4B;
}

.reg-status-trigger.status-pill--bad {
    border-color: #CE325B;
    background: #FDF2F6;
    color: #8F1D3C;
}

.reg-status-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: white;
    border: 1px solid #E6E0D4;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    z-index: 20;
    padding: 0.35rem;
}

.reg-status-menu.active {
    display: block;
}

.reg-status-option {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #3A3F3B;
}

.reg-status-option:hover {
    background: #F2F2F2;
}

.create-event-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F0F0F0;
}

.create-event-header h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
    margin-bottom: 0.75rem;
}

.create-event-header .event-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ====================================================== */
/*                    AUTH PAGE STYLING                   */
/*           (Extracted from views/login.ejs)             */
/* ====================================================== */

.auth-page {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.auth-toggle-container {
    margin-bottom: 1.5rem;
}

.auth-toggle-buttons {
    display: flex;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 0.4rem;
    box-shadow: 0 8px 25px rgba(58, 63, 59, 0.12);
    max-width: 400px;
    margin: 0 auto;
}

.auth-toggle-btn {
    flex: 1;
    padding: 0.75rem 2rem;
    border: none;
    background: transparent;
    color: #3A3F3B;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-toggle-btn.active {
    background: #9AB59D;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(154, 181, 157, 0.3);
}

.auth-toggle-btn:hover:not(.active) {
    background: #F9F5EA;
    color: #3A3F3B;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(58, 63, 59, 0.12);
    overflow: hidden;
    animation: fadeInScale 0.6s ease both;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.auth-card.hidden {
    display: none;
}

.auth-card.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.auth-card.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.auth-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.auth-card-inner {
    display: flex;
    min-height: 600px;
    align-items: stretch;
}

.auth-image-side {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #FFD8D1 0%, #F9AFB1 100%);
    position: relative;
    overflow: hidden;
    order: 2;
    min-height: 600px;
    align-self: stretch;
}

.auth-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    order: 1;
    min-height: 600px;
}

.auth-card-body {
    width: 100%;
    max-width: 500px;
    padding: 0;
}

.auth-register-body {
    max-width: 550px;
}

.auth-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: #3A3F3B;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-alert {
    background: #FFD8D1;
    color: #9AB59D;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border-left: 4px solid #9AB59D;
}

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

.auth-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3F3B;
    margin-bottom: 0.5rem;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    background: #FFFFFF;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    outline: none;
    border-color: #9AB59D;
    box-shadow: 0 0 0 3px rgba(154, 181, 157, 0.1);
}

.auth-input::placeholder {
    color: #9A9A9A;
}

.auth-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.auth-radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-radio {
    width: 20px;
    height: 20px;
    accent-color: #9AB59D;
    cursor: pointer;
}

.auth-radio-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3A3F3B;
    cursor: pointer;
    margin: 0;
}

.auth-button-group {
    margin-top: 2rem;
}

.auth-btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: #9AB59D;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(154, 181, 157, 0.3);
}

.auth-btn-primary:hover {
    background: #7fa082;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(154, 181, 157, 0.4);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

/* Register form specific styling */
.auth-register-body {
    padding: 0.5rem 0;
}

.auth-register-body .auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-register-body .auth-title {
    margin-bottom: 1.5rem;
}

/* Two column layout for register form on larger screens */
@media (min-width: 992px) {
    .auth-register-body form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1.5rem;
    }
    
    /* First Name and Last Name side by side */
    .auth-register-body .auth-form-group:nth-of-type(1),
    .auth-register-body .auth-form-group:nth-of-type(2) {
        grid-column: span 1;
    }
    
    /* Email and Password side by side */
    .auth-register-body .auth-form-group:nth-of-type(3),
    .auth-register-body .auth-form-group:nth-of-type(4) {
        grid-column: span 1;
    }
    
    /* DOB and Phone side by side */
    .auth-register-body .auth-form-group:nth-of-type(5),
    .auth-register-body .auth-form-group:nth-of-type(6) {
        grid-column: span 1;
    }
    
    /* City, State, ZIP - City and State in 2 columns, ZIP full width below */
    .auth-register-body .auth-form-group:nth-of-type(7),
    .auth-register-body .auth-form-group:nth-of-type(8) {
        grid-column: span 1;
    }
    
    .auth-register-body .auth-form-group:nth-of-type(9) {
        grid-column: span 2;
    }
    
    /* School/Employer and Field of Interest full width */
    .auth-register-body .auth-form-group:nth-of-type(10),
    .auth-register-body .auth-form-group:nth-of-type(11) {
        grid-column: span 2;
    }
    
    .auth-register-body .auth-button-group {
        grid-column: span 2;
        margin-top: 1.5rem;
    }
}

/* Auth Page Responsive */
@media (max-width: 992px) {
    .auth-card-inner {
        flex-direction: column;
        min-height: auto;
        align-items: stretch;
    }
    
    .auth-image-side {
        flex: 0 0 auto;
        min-height: 250px;
        max-height: 300px;
        order: 1;
        position: relative;
    }
    
    .auth-image {
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .auth-form-side {
        padding: 2rem 1.5rem;
        order: 2;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .auth-card-body {
        padding: 0;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-toggle-buttons {
        max-width: 100%;
    }
    
    .auth-toggle-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .auth-image-side {
        min-height: 200px;
        max-height: 250px;
    }
    
    .auth-form-side {
        padding: 1.5rem 1rem;
    }
}

/* ====================================================== */
/*             INLINE STYLE CLASSES                       */
/*   (Extracted from inline style="" attributes in EJS)   */
/* ====================================================== */

/* --- Common Utility Classes --- */

/* Search form max-width constraint */
.search-form-inline {
    max-width: 500px;
}

/* Success button styling (green) */
.btn-success-custom {
    background-color: #28a745;
    border-color: #28a745;
}

/* Clickable cursor for interactive elements */
.cursor-pointer {
    cursor: pointer;
}

/* Chart/graph container positioning */
.chart-container-relative {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container-small {
    position: relative;
    height: 180px;
    width: 100%;
}

/* --- KPI Card Typography --- */

/* KPI card label styling */
.kpi-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

/* KPI card value styling - large */
.kpi-value {
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
    font-size: 2rem;
}

/* KPI card value styling - display size */
.kpi-value-display {
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
    margin: 0;
}

/* --- Profile Card Styles --- */

.profile-kpi-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-kpi-card-body {
    padding: 2rem;
}

.profile-kpi-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.profile-milestone-title {
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
}

.profile-milestone-date {
    font-family: 'Montserrat', sans-serif;
}

/* --- Modal and Form Styles --- */

/* Confirm modal header/message with no margin */
.modal-confirm-title {
    margin: 0;
}

.modal-confirm-message {
    margin: 0;
}

/* Survey modal container */
.survey-modal-container {
    max-width: 600px;
    width: 90%;
}

/* Survey modal header layout */
.survey-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Survey modal title styling */
.survey-modal-title {
    margin: 0;
    font-family: 'DM Serif Display', serif;
}

/* Survey modal close button */
.survey-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4B4F4B;
}

/* Survey modal event info section */
.survey-modal-event-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F0F0F0;
}

/* Survey modal grid layout for rating fields */
.survey-rating-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Survey form label styling */
.survey-form-label {
    font-weight: 600;
    color: #3A3F3B;
    margin-bottom: 0.5rem;
    display: block;
}

/* Survey rating input container */
.survey-rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Survey range input */
.survey-range-input {
    flex: 1;
}

/* Survey rating value display */
.survey-rating-value {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    color: #978EC4;
}

/* Survey comments section */
.survey-comments-section {
    margin-bottom: 1.5rem;
}

/* Survey modal button container */
.survey-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Survey event card info */
.survey-event-card-title {
    margin: 0 0 0.5rem 0;
    font-family: 'DM Serif Display', serif;
    color: #3A3F3B;
}

.survey-event-card-date {
    margin: 0;
    color: #4B4F4B;
    font-family: 'Montserrat', sans-serif;
}

/* --- Registration Page Inline Styles --- */

/* Registration status wrapper */
.reg-status-wrapper-relative {
    position: relative;
}

/* Registration event title */
.reg-event-title {
    margin: 0 0 0.75rem 0;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #3A3F3B;
}

/* Registration modal participants header */
.reg-modal-participants-header {
    margin: 0;
}

/* Registration empty message */
.reg-empty-hidden {
    display: none;
}

/* Registration modal button container */
.reg-modal-button-container {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
}

/* --- Dashboard Display Toggles --- */

.dashboard-hidden {
    display: none;
}

.dashboard-tableau-spacer {
    margin-bottom: 4rem;
}

/* --- Milestones/Surveys Filter Position --- */

.filter-input-relative {
    position: relative;
}

/* --- Pagination Info --- */

.pagination-info {
    font-family: 'Montserrat', sans-serif;
}

/* --- Events Page Styles --- */

/* Event card image styling */
.event-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hidden radio input for custom pill styling */
.hidden-radio {
    display: none;
}

/* Admin section spacing */
.admin-section-spacer {
    margin-top: 4rem;
}

/* Survey badge faded state */
.survey-badge-pending {
    opacity: 0.6;
}

/* --- Landing Page Impact Icons --- */

.impact-icon-arts {
    color: #978EC4;
}

.impact-icon-users {
    color: #CE325B;
}

.impact-icon-events {
    color: #F4B092;
}

.impact-icon-stem {
    color: #9AB59D;
}

.impact-icon-education {
    color: #99B7C6;
}
