/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== SKIP NAVIGATION LINK ========== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text);
    color: var(--color-white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

:root {
    --color-primary: rgb(255, 216, 209);
    --color-secondary: #99b7c6;
    --color-secondary-bkgd: #d9eaf2;
    --color-tertiary: #9ab59d;
    --color-tertiary-bkgd: #cad9cc;
    --color-navbar-bkgd: rgb(154, 181, 157, 0.6); 
    --color-white: #ffffff;
    --color-soft-white: #fafafa;
    --color-text: #2d2d2d;
    --color-text-hover: #76838a;
    --color-text-light: #666666;
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'DM Serif Display', serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-tertiary-bkgd);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    background-color: var(--color-navbar-bkgd);
}

.nav-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    transition: background-color 0.2s ease;
    gap: 5px;
}

.hamburger-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-menu:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
    left: 50%;
    margin-left: -12px;
}

.hamburger-line:nth-child(1) {
    top: 12px;
}

.hamburger-line:nth-child(2) {
    top: 20.5px;
}

.hamburger-line:nth-child(3) {
    top: 29px;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 20.5px;
    transform: rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    top: 20.5px;
    transform: rotate(-45deg);
}

.hamburger-menu:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: 8px;
}

.nav-logo {
    justify-self: center;
}

.nav-logo h1 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-self: start;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Nav Right Container (auth + language switcher) */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.lang-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-toggle:active {
    transform: scale(0.95);
}

/* Responsive sizing for language toggle */
@media (min-width: 1200px) {
    .lang-toggle {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .lang-toggle {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.1rem;
    }
}

/* Floating language switcher for auth pages */
.auth-lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-right {
    justify-self: end;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.btn-signin {
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background-color: var(--color-soft-white);
}

.btn-signin:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.btn-signup {
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-secondary);
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 183, 198, 0.3);
}

.btn-signup:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ========== USER DROPDOWN ========== */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-dropdown-btn:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 183, 198, 0.3);
}

.user-dropdown-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-white);
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 0.5rem;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-content a {
    color: var(--color-text);
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown-content a:hover {
    background-color: var(--color-soft-white);
    color: var(--color-text-hover);
    padding-left: 1.8rem;
}

.user-dropdown-content a:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: -2px;
    background-color: var(--color-soft-white);
}

.dropdown-logout-form {
    margin: 0;
    border-top: 1px solid #e0e0e0;
}

.dropdown-logout-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background-color: transparent;
    color: var(--color-text);
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-logout-btn:hover {
    background-color: var(--color-soft-white);
    color: var(--color-text-hover);
    padding-left: 1.8rem;
}

.dropdown-logout-btn:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: -2px;
    background-color: var(--color-soft-white);
}

/* Show dropdown when active */
.user-dropdown.active .user-dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.user-dropdown.active .user-dropdown-btn {
    background-color: #7a9fb0;
}

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

/* ========== HERO SECTION ========== */
.hero {
    max-width: 75%;
    margin: 2rem auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    line-height: 1.2;
}

.hero-mission {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #f8c4b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 215, 209, 0.4);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.btn-secondary {
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--color-text-light);
    text-decoration: none;
    border: 2px solid var(--color-text-light);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.hero-image {
    background-color: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    transform: scale(1.2);
    transform-origin: left;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* ========== PROGRAMS SECTION ========== */
.programs {
    width: 100%;
    margin: 6rem auto;
    margin-bottom: 2rem;
    padding: 2rem;
}

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

.program-flip-card {
    background-color: transparent;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.program-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.program-flip-card.flipped .program-flip-inner {
    transform: rotateY(180deg);
}

.program-flip-front,
.program-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.program-flip-front {
    background-color: var(--color-white);
}

.program-flip-front::after {
    content: 'Click to learn more';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--color-white);
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.program-flip-card:hover .program-flip-front::after {
    opacity: 1;
}

.program-flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-flip-back {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.program-flip-back h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-display);
}

.program-flip-back p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-white);
    max-width: 80%;
}

.program-flip-card:not(.flipped):hover .program-flip-inner {
    transform: translateY(-15px);
}

.program-flip-card:hover .program-flip-front,
.program-flip-card:hover .program-flip-back {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.program-flip-card.flipped .program-flip-inner {
    transform: rotateY(180deg);
}

.program-flip-card.flipped:hover .program-flip-inner {
    transform: rotateY(180deg);
}

/* ========== IMPACT HERO SECTION ========== */
.impact-hero {
    background-image: url('/public/images/ER BYU Tour 2022-042.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    margin-top: 8rem;
    display: flex;
    align-items: center;
}

.impact-hero-content {
    width: 50%;
    max-width: 600px;
    background-color: /* rgba(255, 255, 255, 0.9) */ rgb(255, 216, 209, 0.975);
    border-radius: 20px;
    padding: 2.5rem;
    margin-left: 4rem;
}

.impact-hero-header {
    text-align: left;
    margin-bottom: 2rem;
}

.impact-hero-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.impact-hero-header p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.impact-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.impact-stat-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    color: var(--color-text);
}

.impact-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.impact-stat-label {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    width: 100%;
    margin: 5rem 0;
    padding: 0;
    overflow: hidden;
}

.gallery-scroll-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gallery-row {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.gallery-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 240s linear infinite;
}

.gallery-track-2 {
    animation: scroll-left 200s linear infinite;
    animation-direction: reverse;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-item {
    flex-shrink: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 300px;
    min-width: 200px;
    width: auto;
}

.gallery-item img {
    height: 100%;
    width: auto;
    min-width: 200px;
    object-fit: cover;
    display: block;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 2rem;
}

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

.testimonial-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
}

.author-role {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========== PRESS SECTION ========== */
.press-section {
    max-width: 85vw;
    margin: 4rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.press-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.press-item-reverse {
    flex-direction: row-reverse;
}

.press-image {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}

.press-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.press-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.press-source {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-source-logo {
    text-transform: none;
}

.press-source-logo img {
    height: 96px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.press-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.press-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-text);
    margin: 0.5rem 0;
    line-height: 1.3;
}

.press-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.press-content .btn-secondary {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ========== SPONSORS SECTION ========== */
.sponsors {
    background-color: transparent;
    padding: 4rem 2rem;
    overflow: hidden;
}

.sponsors-carousel {
    max-width: 100vw;
    margin: 0 auto;
    overflow: visible;
}

.sponsor-track {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background-color: var(--color-white);
    border-radius: 10px;
}

.sponsor-item img {
    height: 96px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sponsor-logo {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--color-tertiary);
    padding: 5rem 2rem;
    margin-top: 5rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 2rem;
}

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

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
}

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

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

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

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #444444;
    text-align: center;
    color: #cccccc;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .nav-logo {
        justify-self: center;
        order: 2;
    }

    .nav-menu {
        order: 3;
    }

    .nav-right {
        order: 1;
    }

    .hero {
        max-width: 85%;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .event-card {
        grid-template-columns: minmax(250px, 300px) 1fr;
    }

    .press-section {
        max-width: 90vw;
        padding: 1.5rem;
    }

    .press-item,
    .press-item-reverse {
        gap: 2rem;
    }

    .press-image img {
        height: 400px;
    }

    .press-source-logo img {
        height: 80px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        left: 0.75rem;
        padding: 8px 6px;
    }

    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 1rem 1rem 1rem 3.5rem;
    }

    .nav-logo {
        justify-self: center;
        order: 2;
    }

    .nav-logo h1 {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 5rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        order: 1;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Mobile Menu Overlay */
    .nav-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu > li > a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-dropdown-trigger::after {
        content: '▾';
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

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

    .nav-dropdown-content {
        position: static;
        display: none;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding-left: 1rem;
        background-color: var(--color-soft-white);
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }

    .nav-dropdown-content a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-right {
        order: 3;
    }
    
    .nav-auth {
        gap: 0.5rem;
    }

    .btn-signin,
    .btn-signup {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .user-dropdown-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-tagline {
        font-size: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .impact-hero {
        padding: 2rem 1rem;
    }

    .impact-hero-content {
        width: 90%;
        max-width: none;
        margin-left: 0;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .impact-hero-header h2 {
        font-size: 2rem;
    }

    .impact-hero-header p {
        font-size: 1rem;
    }

    .impact-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .impact-stat-number {
        font-size: 1.8rem;
    }

    .impact-stat-label {
        font-size: 0.85rem;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .program-flip-card {
        height: 350px;
    }

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

    .press-section {
        padding: 1rem;
        gap: 2rem;
    }

    .press-section {
        max-width: 95vw;
        padding: 1rem;
        gap: 2rem;
    }

    .press-item,
    .press-item-reverse {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .press-image {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: 1;
    }

    .press-content {
        order: 2;
    }

    .press-item-reverse .press-image {
        order: 1;
    }

    .press-item-reverse .press-content {
        order: 2;
    }

    .press-image img {
        height: 220px;
        width: 100%;
    }

    .press-title {
        font-size: 1.3rem;
    }

    .press-description {
        font-size: 0.9rem;
    }

    .press-source-logo img {
        height: 60px;
    }

    .press-title {
        font-size: 1.4rem;
    }

    .press-description {
        font-size: 0.95rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item {
        height: 200px;
        min-width: 150px;
    }

    .gallery-item img {
        min-width: 150px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        left: 0.5rem;
        padding: 8px 6px;
    }

    .nav-container {
        padding: 0.75rem 0.75rem 0.75rem 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-flip-card {
        height: 400px;
    }
}

/* ========== AUTHENTICATION PAGES (Login/Register) ========== */

/* Auth Header */
.auth-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
}

.auth-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.auth-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.auth-logo:hover {
    color: #7a9fb0;
}

/* Auth Container - Two Column Layout */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background-color: var(--color-soft-white);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 600px;
}

.auth-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Auth Image Section */
.auth-image-section {
    overflow: hidden;
    position: relative;
    height: 100vh;
}

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

/* Error Message */
.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
    background-color: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.form-group input:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Date input styling to match placeholder color when empty */
.form-group input[type="date"] {
    color: #aaa;
}

.form-group input[type="date"]:valid,
.form-group input[type="date"]:focus {
    color: var(--color-text);
}

/* Date input placeholder/hint styling */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.6;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-datetime-edit-text {
    color: #aaa;
}

.form-group input[type="date"]:valid::-webkit-datetime-edit-text,
.form-group input[type="date"]:focus::-webkit-datetime-edit-text {
    color: var(--color-text);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* Name Fields Container - Side by Side */
.name-fields-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Password Fields Container - Side by Side */
.password-fields-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* DOB and Phone Container - Side by Side */
.dob-phone-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Address Fields Container - Three Columns for City, State, Zip */
.address-fields-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 1rem;
}

/* Radio Group for Account Type */
.account-type-label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
}

.radio-option:hover {
    border-color: var(--color-secondary);
    background-color: rgba(153, 183, 198, 0.05);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.radio-option span {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Manager Key Group - Smooth Transition */
.manager-key-group {
    animation: fadeIn 0.3s ease-in;
}

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

/* Auth Submit Button */
.auth-submit-btn {
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-submit-btn:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 183, 198, 0.4);
}

.auth-submit-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.auth-submit-btn:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

/* Auth Footer Text */
.auth-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.auth-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #7a9fb0;
    text-decoration: underline;
}

/* Auth Pages Responsive Design */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image-section {
        display: none;
    }

    .auth-form-section {
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-title {
        font-size: 2rem;
    }

    .auth-subtitle {
        font-size: 1rem;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .name-fields-container,
    .password-fields-container,
    .dob-phone-container,
    .address-fields-container {
        grid-template-columns: 1fr;
    }
}

/* ========== ABOUT PAGE ========== */

/* About Hero Section */
.about-hero {
    background: transparent;
    padding: 8rem 2rem 5rem;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Mission & Vision Section */
.mission-vision {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-box,
.vision-box {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mission-box h2,
.vision-box h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.mission-box p,
.vision-box p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Programs Detailed Section */
.programs-detailed {
    background-color: transparent;
    padding: 5rem 2rem;
}

.programs-detailed-container {
    max-width: 1200px;
    margin: 0 auto;
}

.program-detailed-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.program-detailed-card.reverse .program-detailed-image {
    order: 2;
}

.program-detailed-card.reverse .program-detailed-content {
    order: 1;
}

.program-detailed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.program-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-detailed-content h3 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.program-detailed-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.program-benefits {
    list-style: none;
    padding: 0;
}

.program-benefits li {
    color: var(--color-text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.program-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: transparent;
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

/* Contact Info Side */
.contact-info h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.contact-detail p {
    color: var(--color-text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 183, 198, 0.4);
}

.contact-submit-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.contact-submit-btn:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

/* About Page Responsive Design */
@media (max-width: 968px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .program-detailed-card,
    .program-detailed-card.reverse {
        grid-template-columns: 1fr;
    }

    .program-detailed-card.reverse .program-detailed-image,
    .program-detailed-card.reverse .program-detailed-content {
        order: initial;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 1.5rem;
    }

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

    .about-lead {
        font-size: 1.1rem;
    }

    .mission-box,
    .vision-box {
        padding: 2rem;
    }

    .program-detailed-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-container {
        padding: 1.5rem;
    }
}

/* ========== EVENTS PAGE ========== */

/* Events Hero Section */
.events-hero {
    background: transparent;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.events-hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.events-lead {
    font-size: 1.3rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Events List Section */
.events-list {
    background-color: transparent;
    padding: 4rem 2rem;
}

.events-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Event Card */
.event-card {
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Event Image Section */
.event-image {
    position: relative;
    overflow: hidden;
}

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

.event-date-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-month {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-top: 0.25rem;
}

/* Event Content Section */
.event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.event-category {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.event-title {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Event Details */
.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-info strong {
    display: block;
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Event Footer */
.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.event-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.btn-reserve {
    padding: 0.9rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reserve:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(153, 183, 198, 0.4);
}

.btn-reserve:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-reserve:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

.btn-reserve.btn-disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-reserve.btn-disabled:hover {
    background-color: #b0b0b0;
    transform: none;
    box-shadow: none;
}

/* Events CTA Section */
.events-cta {
    background-color: transparent;
    padding: 4rem 2rem;
    text-align: center;
}

.events-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.events-cta-content h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.events-cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Events Page Responsive Design */
@media (max-width: 968px) {
    .events-hero-content h1 {
        font-size: 2.5rem;
    }

    .events-lead {
        font-size: 1.1rem;
    }

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

    .event-image {
        height: 250px;
    }

    .event-image {
        height: 250px;
    }

    .event-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .btn-reserve {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .events-hero {
        padding: 3rem 1.5rem;
    }

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

    .events-lead {
        font-size: 1rem;
    }

    .event-content {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 1.5rem;
    }

    .events-cta-content h2 {
        font-size: 2rem;
    }
}

/* ========== DONATE PAGE ========== */

/* Donate Container */
.donate-container {
    background-color: var(--color-tertiary-bkgd);
    min-height: calc(100vh - 200px);
    padding: 7rem 2rem 3rem;
}

.donate-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Donate Header */
.donate-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donate-title {
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.donate-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Donate Form Grid */
.donate-form-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
}

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

.form-section-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.form-section-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.sign-in-prompt {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.sign-in-prompt p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Card Details Container */
.card-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.billing-details-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

/* Donation Summary Section */
.donation-summary {
    background-color: var(--color-soft-white);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.donation-summary-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

/* Donation Summary Grid - Two Column Layout */
.donation-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.donation-summary-left {
    display: flex;
    flex-direction: column;
}

.donation-summary-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Donation Amount Buttons */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.donation-amount-btn {
    padding: 1rem;
    background-color: var(--color-white);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.donation-amount-btn:hover {
    border-color: var(--color-secondary);
    background-color: rgba(153, 183, 198, 0.1);
    transform: translateY(-2px);
}

.donation-amount-btn.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* Custom Amount Input */
.custom-amount-input {
    position: relative;
    margin-bottom: 1.5rem;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    pointer-events: none;
}

.custom-amount-input input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.custom-amount-input input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

.custom-amount-input input:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(153, 183, 198, 0.1);
}

/* Selected Amount Display */
.selected-amount-display {
    background: var(--color-primary);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.amount-label {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amount-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-display);
}

/* Donate Submit Button */
.donate-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.donate-submit-btn:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 183, 198, 0.4);
}

.donate-submit-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.donate-submit-btn:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

/* Security Note */
.security-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Donate Page Responsive Design */
@media (max-width: 968px) {
    .donation-summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donation-amounts {
        grid-template-columns: repeat(3, 1fr);
    }

    .billing-details-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donate-title {
        font-size: 2.5rem;
    }

    .donate-subtitle {
        font-size: 1.1rem;
    }

    .donate-form-grid {
        padding: 2rem 1.5rem;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .donation-summary-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .donate-container {
        padding: 2rem 1rem;
    }

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

    .donate-subtitle {
        font-size: 1rem;
    }

    .donate-form-grid {
        padding: 1.5rem 1rem;
    }

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

    .donation-summary {
        padding: 1.5rem;
    }

    .amount-value {
        font-size: 2rem;
    }
}

/* ========== MANAGE DONATIONS PAGE ========== */

/* Manage Donations Container */
.manage-donations-container {
    background-color: var(--color-tertiary-bkgd);
    min-height: calc(100vh - 200px);
    padding: 2rem 2rem 3rem;
}

.manage-donations-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.manage-donations-header {
    margin-bottom: 2rem;
}

.manage-donations-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.manage-donations-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Donations Table Container */
.donations-table-container {
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    overflow-x: auto;
}

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

.donations-table thead {
    background-color: var(--color-soft-white);
}

.donations-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

.donations-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.donations-table tbody tr:hover {
    background-color: var(--color-soft-white);
}

.donations-table tbody tr:last-child {
    border-bottom: none;
}

.donations-table td {
    padding: 1.2rem 1.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.donations-table td:last-child {
    font-weight: 600;
    color: var(--color-secondary);
}

/* Empty State */
.empty-state {
    background-color: var(--color-white);
    padding: 4rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.empty-state-message {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Pagination wrapper */
.manage-donations-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
}

/* Previous / Next + page numbers base style */
.pagination-btn,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 8px 14px;
    border-radius: 999px;              /* pill shape like modern buttons */
    border: 1px solid #e5e7eb;         /* light gray border */
    background-color: #ffffff;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

/* Group of numbered pages */
.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pagination-ellipsis {
    padding: 0 4px;
    font-size: 0.9rem;
    color: #6b7280;
}

.pagination-jump-form {
    margin-top: 12px;
    display: flex;
    justify-content: center; /* or flex-end if you prefer */
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
}

.pagination-jump-form input[type="number"] {
    width: 64px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.85rem;
}

/* Hover state for clickable links */
.pagination-btn:hover,
.pagination-page:hover {
    border-color: #111827;
    background-color: #f3f4f6;
}

/* Active (current) page */
.pagination-page.active {
    background-color: #111827;         /* match your dark nav/button color */
    color: #ffffff;
    border-color: #111827;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    cursor: default;
    pointer-events: none;
}

/* Disabled Previous / Next */
.pagination-btn.disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

/* Manage Donations Responsive Design */
@media (max-width: 768px) {
    .manage-donations-container {
        padding: 2rem 1rem;
    }

    .manage-donations-title {
        font-size: 2rem;
    }

    .manage-donations-subtitle {
        font-size: 1rem;
    }

    .donations-table {
        font-size: 0.9rem;
    }

    .donations-table th,
    .donations-table td {
        padding: 1rem 0.75rem;
    }

    .pagination {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pagination-pages {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .manage-donations-title {
        font-size: 1.75rem;
    }

    .donations-table {
        font-size: 0.85rem;
    }

    .donations-table th,
    .donations-table td {
        padding: 0.75rem 0.5rem;
    }

    .donations-table th {
        font-size: 0.8rem;
    }
}

/* ========== ACCOUNT INFO PAGE ========== */

/* Account Info Container */
.account-info-container {
    background-color: var(--color-tertiary-bkgd);
    min-height: calc(100vh - 200px);
    padding: 7rem 2rem 3rem;
}

.account-info-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Page Header */
.account-info-header {
    margin-bottom: 2rem;
}

.account-info-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.account-info-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Success Message */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Account Info Form */
.account-info-form {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.form-section-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* Read-only Field Styling */
.readonly-field {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: var(--color-text-light);
}

/* Account Submit Button */
.account-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.account-submit-btn:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 183, 198, 0.4);
}

.account-submit-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.account-submit-btn:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

/* Account Info Page Responsive Design */
@media (max-width: 768px) {
    .account-info-container {
        padding: 2rem 1rem;
    }

    .account-info-title {
        font-size: 2rem;
    }

    .account-info-subtitle {
        font-size: 1rem;
    }

    .account-info-form {
        padding: 2rem 1.5rem;
    }

    .form-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .account-info-container {
        padding: 1.5rem 1rem;
    }

    .account-info-title {
        font-size: 1.75rem;
    }

    .account-info-form {
        padding: 1.5rem 1rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

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

/* ========== MODAL STYLES ========== */

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

/* Modal content box */
.modal-content {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

/* Modal actions (button container) */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary,
.modal-actions .btn-delete {
    margin: 0;
}

.modal-actions .btn-delete {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-actions .btn-delete:hover {
    background-color: #c82333;
}

.modal-actions .btn-delete:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* Button styling for add instance button */
.btn-add-instance {
    padding: 0.6rem 1.2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-instance:hover {
    background-color: #7a9fb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 183, 198, 0.3);
}

.btn-add-instance:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.btn-add-instance:active {
    transform: translateY(0);
    background-color: #6a8fa0;
}

/* Modal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Modal responsive design */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.75rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn-primary,
    .modal-actions .btn-secondary,
    .modal-actions .btn-delete {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem 1rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* ========== NAVBAR HOVER DROPDOWNS ========== */

/* Static navbar (scrolls with page) */
.navbar-static {
    position: relative;
}

/* Nav dropdown container */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown-trigger::after {
    content: '▾';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

/* Dropdown content */
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 0.5rem;
    z-index: 1001;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Invisible bridge to keep dropdown open when moving cursor */
.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-content a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.nav-dropdown-content a:first-child {
    border-radius: 10px 10px 0 0;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.nav-dropdown-content a:hover {
    background-color: var(--color-soft-white);
    color: var(--color-text-hover);
    padding-left: 1.5rem;
}

/* ========== DASHBOARD LAYOUT ========== */

/* Main dashboard container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    min-height: calc(100vh - 200px);
}

/* Welcome section */
.dashboard-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-welcome h1 {
    font-size: 2rem;
    color: var(--color-text);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.dashboard-welcome p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* KPI Section */
.dashboard-kpi-section {
    margin-bottom: 3.5rem;
}

.dashboard-kpi-section h2,
.dashboard-actions-section h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-tertiary);
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kpi-card {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-tertiary-bkgd) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.kpi-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.kpi-label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Actions Section */
.dashboard-actions-section {
    margin-bottom: 2rem;
}

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--color-secondary);
    background-color: var(--color-secondary-bkgd);
}

.action-card:hover .action-arrow {
    transform: translateX(5px);
    color: var(--color-secondary);
}

.action-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-tertiary-bkgd);
    border-radius: 14px;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.action-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.action-arrow {
    font-size: 1.5rem;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

/* ========== DASHBOARD RESPONSIVE DESIGN ========== */

@media (max-width: 968px) {
    .dashboard-container {
        padding: 6rem 1.5rem 3rem;
    }

    .dashboard-welcome h1 {
        font-size: 2.2rem;
    }

    .dashboard-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .kpi-card {
        padding: 1.5rem 1rem;
    }

    .kpi-value {
        font-size: 2rem;
    }

    .kpi-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .kpi-card {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        text-align: left;
        padding: 1.5rem 2rem;
    }

    .kpi-icon {
        margin-bottom: 0;
    }

    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 1.25rem 1.5rem;
    }

    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: 5.5rem 1rem 2rem;
    }

    .dashboard-welcome h1 {
        font-size: 1.8rem;
    }

    .dashboard-welcome p {
        font-size: 1rem;
    }

    .kpi-value {
        font-size: 1.75rem;
    }

    .kpi-label {
        font-size: 0.85rem;
    }

    .action-content h3 {
        font-size: 1rem;
    }

    .action-content p {
        font-size: 0.85rem;
    }
}

/* ========================================
ANALYTICS DASHBOARD PAGE
   ======================================== */

.analytics-hero {
    background-color: var(--color-tertiary-bkgd);
    text-align: center;
    padding: 3rem 2rem 1rem 2rem;
}

.analytics-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--color-text);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.analytics-hero p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.tableau-container {
    padding: 2rem;
    background-color: var(--color-tertiary-bkgd);
}

.tableau-wrapper {
    max-width: 95vw;
    margin: 0 auto;
    background-color: var(--color-tertiary-bkgd);
    border-radius: 12px;
    padding: 1.5rem;
    overflow: hidden;
}

@media (max-width: 2000px) {
    .analytics-hero h1 {
        font-size: 2rem;
    }

    .tableau-container {
        padding: 1rem;
    }

    .tableau-wrapper {
        padding: 0.5rem;
        border-radius: 8px;
    }
}

/* Event Management Styles */
.btn-create-event {
    margin: 2rem 0;
    display: inline-block;
}

.delete-form {
    display: inline-block;
    margin-left: 10px;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete:hover {
    background-color: #c82333;
}

.btn-delete:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.event-details-container {
    padding: 20px 0;
}

.detail-row {
    margin-bottom: 15px;
}

.detail-label {
    display: inline-block;
    width: 180px;
}

.detail-label-top {
    vertical-align: top;
}

.detail-description {
    display: inline-block;
    max-width: 400px;
    word-wrap: break-word;
}

/* ========== COMPLETE SURVEY BUTTON ========== */
.btn-complete-survey {
    padding: 0.25rem 0.5rem;
    background-color: var(--color-soft-white);
    color: var(--color-text);
    border: 1px solid var(--color-text-light);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-complete-survey:hover {
    background-color: var(--color-tertiary-bkgd);
    border-color: var(--color-text);
}

.btn-complete-survey:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.btn-complete-survey:active {
    background-color: #c0cfc2;
}

/* ========== BREADCRUMB NAVIGATION ========== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-text);
}

.breadcrumb span {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

