/* Reset and Base Styles */
/* ==========================================================================
   GLOBAL STYLES & RESET
   ========================================================================== */

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

/* Body & Background Setup */
body {
    font-family: 'Futura', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: url('assets/ancient_city.jpg') center/110% no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}


/* Page-specific backgrounds */
body.page-goals {
   background: url('assets/goals_bg.jpg') center/110% no-repeat fixed;
  
}

body.page-volunteer {
    background: url('assets/volunteer_bg.jpg') center/110% no-repeat fixed;
   
}

body.page-student {
    background: url('assets/student_bg.jpg') center/110% no-repeat fixed;

}

body.page-about {
    background: url('assets/ancient_city.jpg') center/110% no-repeat fixed;
}

/* Desktop: disable list item animations on volunteer/student pages */
@media (min-width: 769px) {
    /* Prevent entire benefits list container from animating */
    body.page-volunteer main .benefits-list,
    body.page-student main .benefits-list,
    body.page-volunteer main .benefits-list *,
    body.page-student main .benefits-list * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    body.page-volunteer main li,
    body.page-student main li,
    body.page-volunteer main li *,
    body.page-student main li * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Background Haze Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

.intro-animate {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.intro-animate.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Container for consistent layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo and Brand */
.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
    border: 1px solid #000000;
}

.nav-logo span {
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.nav-link.active::after {
    display: none;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    padding: 8px;
    border: 1px solid #ffffff;
    border-radius: 0;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 0;
}

/* Hamburger Active State (X animation) */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.7), transparent);
    transition: left 0.6s ease;
    z-index: -1;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.hero-buttons .btn:hover::before {
    left: 0;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
    border: 1px solid #000000;
    font-style: italic;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    font-size: 15rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 600px;
    max-height: 600px;
}

.desktop-spacer {
    height: 200px;
    background-image: transparent;
}

/* Desktop Only - Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Desktop Only - Mission Image Animation */
.mission-image i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 4s ease-in-out infinite;
}

/* Desktop Only - Intro Image Animation */
.intro-image i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 4s ease-in-out infinite;
}

/* Mobile - Remove Animations */
@media (max-width: 768px) {
    .hero-graphic {
        display: none;
    }

    .desktop-spacer {
        display: none;
    }
    
    .mission-image {
        display: none;
    }
    
    .intro-image {
        display: none;
    }
    
    .hero-graphic {
        animation: none;
    }
    
    .mission-image i {
        animation: none;
    }
    
    .intro-image i {
        animation: none;
    }
   html, body {
  /* This stops the "pull-to-refresh" and the "rubber-band" bounce */
  overscroll-behavior-y: none;
  
  /* Ensures the body takes up the full screen height */
  height: 100%;
  overflow-x: hidden;
}
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
}

/* Modern browsers with backdrop-filter support */
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
    .btn {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .btn-primary {
        background: rgba(74, 144, 226, 0.2) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .btn-outline {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .signup-form .btn-primary {
        background: rgba(74, 144, 226, 0.2) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(74, 144, 226, 0.15));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.7), transparent);
    transition: left 0.6s ease;
    z-index: -1;
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #ffffff;
    border: 1px solid #000000;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border: 1px solid #000000;
    transform: translateY(-3px);
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

/* Signup Button Sections */
.signup-button-container {
    text-align: center;
    margin: 2rem 0;
}

.signup-button-section {
    padding: 3rem 0;
    text-align: center;
}

/* Signup Page Backgrounds */
.page-student {
    background-image: url('assets/student_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-volunteer {
    background-image: url('assets/volunteer_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Transparent Submit Buttons */
.signup-form .btn-primary {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(74, 144, 226, 0.15));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.signup-form .btn-primary:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border: 1px solid #000000;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

.btn-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.7), transparent);
    transition: left 0.6s ease;
    z-index: -1;
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border: 1px solid #000000;
    transform: translateY(-3px);
    text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-icon img,
.hero-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: white;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    position: relative;
}


.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

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

.hero-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 600px;
    max-height: 600px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    color: white;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
    border: 1px solid #000000;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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


/* Page Header */
.page-header {
    padding: 120px 0 60px;
    color: white;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Mission Section */
.mission {
    padding: 80px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text {
    padding: 20px;
    border: 1px solid black;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    max-width: 800px;
}

.mission-text h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.3);
}

.mission-text p {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.04em;
    font-weight: 300;
}

.mission-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Goals Section */
.goals {
    padding: 80px 0;
}

.goals-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.goals-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

.goal-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.goal-item:nth-child(odd) {
    flex-direction: row;
}

.goal-item:nth-child(even) {
    flex-direction: row-reverse;
}

.goal-marker {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.goal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: calc(50% - 40px);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.goal-item:nth-child(odd) .goal-content {
    margin-right: auto;
    margin-left: 0;
}

.goal-item:nth-child(even) .goal-content {
    margin-left: auto;
    margin-right: 0;
}

.goal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.goal-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.goal-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 80px;
}

/* Values Section */
.values {
    padding: 80px 0;
}

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

.value-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.value-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Impact Section */
.impact {
    padding: 80px 0;
    color: white;
}

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

.impact-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
}

.impact-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.impact-desc {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Volunteer/Student Intro Sections */
.volunteer-intro,
.student-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    padding: 20px;
    border: 1px solid black;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    max-width: 800px;
}

.intro-text h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.3);
}

.intro-text p {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.04em;
    font-weight: 300;
}

.benefits-list {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.benefit-item i {
    color: #ffffff;
    font-size: 1.3rem;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Signup Form Section */
.signup-form-section {
    padding: 80px 0;
}

.form-container h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.signup-form {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1.1rem;
}

/* Stories Sections */
.volunteer-stories,
.success-stories {
    padding: 80px 0;
}

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

.story-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.story-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.story-role {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-stats,
.story-achievement {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.story-stats i,
.story-achievement i {
    color: #ffffff;
    margin-right: 0.5rem;
}

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

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .mission-image i {
        font-size: 5rem;
    }

    .goals-timeline::before {
        left: 30px;
    }

    .goal-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .goal-marker {
        left: 30px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .goal-content {
        width: 100%;
        margin: 0 !important;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .intro-image i {
        font-size: 5rem;
    }

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

    .checkbox-group {
        grid-template-columns: 1fr;
    }

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

    .stats {
        padding-bottom: 20px;
    }

    .cta {
        padding-top: 25px;
        padding-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .intro-text h2 {
        font-size: 2rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .story-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mission-text h2 {
        font-size: 2rem;
    }

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

    .impact-number {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(8px);
    }

    /* Mobile Background Image Zoom */
    body {
        background-size: 330% auto !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Navigation Links */
    .nav-menu .nav-link {
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic {
        font-size: 8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    /* Mobile Footer - Condensed */
    .footer {
        padding: 25px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-logo img {
        width: 35px;
        height: 35px;
    }

    .footer-section h4 {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

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

    .footer-section a {
        padding: 2px 0;
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.85rem;
    }

    /* Mobile Text Boxes - Condensed for Goals/Volunteer/Student pages */
    .mission-text,
    .intro-text {
        padding: 12px;
    }

    .mission-text h2,
    .intro-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .mission-text p,
    .intro-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .goal-content {
        padding: 1.25rem;
    }

    .goal-content h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .goal-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .benefit-item {
        font-size: 1rem;
        gap: 0.75rem;
    }

    .value-card,
    .feature-card {
        padding: 1.5rem;
    }

    .value-card h3,
    .feature-card h3 {
        font-size: 1.2rem;
    }

    .value-card p,
    .feature-card p {
        font-size: 0.95rem;
    }
}

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

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

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

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

/* Form Styles (for signup pages) */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

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

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Staff Section */
.staff-section {
    padding: 140px 0;
}

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

.staff-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.staff-card.expanded {
    cursor: default;
}

.staff-toggle {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.staff-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.staff-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.staff-details.show {
    max-height: 1000px; /* Increased from 500px to accommodate longer descriptions */
    opacity: 1;
    margin-top: 1rem;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.staff-image {
    margin-bottom: 1.5rem;
}

.staff-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.staff-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.staff-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.staff-role {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 1rem;
}

.staff-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .staff-card {
        padding: 1.5rem;
    }
    
    .staff-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .staff-placeholder i {
        font-size: 2.5rem;
    }
    
    .staff-info h3 {
        font-size: 1.3rem;
    }
    
    .staff-role {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .staff-section {
        padding: 60px 0;
    }
    
    .staff-card {
        padding: 1rem;
    }
    
    .staff-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .staff-placeholder i {
        font-size: 2rem;
    }
}
