:root {
    --primary-color: #f44ba6;
    --secondary-color: #e51fff;
    --accent-color: #ff6b6b;
    --background-color: #f8f9fa;
    --text-color: #333333;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --gradient-primary: linear-gradient(135deg, #f44ba6 0%, #e51fff 100%);
    --gradient-secondary: linear-gradient(45deg, #e51fff 0%, #f44ba6 100%);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --base-font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.container {
    padding: 0 30px;
}

/* Header and navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 20px 0px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.auth-buttons .button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-buttons .button.primary {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--white);
}

.auth-buttons .button:not(.primary) {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.auth-buttons .button.primary:hover {
    background-color: darken(var(--primary-color), 10%);
}

.auth-buttons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero section */
#hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 2rem;
    background-color: var(--white);
    margin-top: 60px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--light-gray);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Feature cards */
#features {
    display: flex;
    justify-content: space-between;
    margin: 6rem 0;
}

.feature-card {
    flex: 1;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
}

.feature-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.feature-card li {
    margin-bottom: 0.5rem;
}

.learn-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--light-gray);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Impact section */
#impact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 6rem 2rem;
    text-align: center;
}

#impact h2 {
    font-size: 2.5rem;
}

.impact-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat .label {
    font-size: 1.25rem;
}

/* Featured projects */
#featured-projects {
    padding: 0.5rem 2rem 4rem 2rem;
    background-color: var(--white);
}

#featured-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.view-all-button {
    width: max-content;
    margin: 2rem auto 0;
}

.view-all-button:hover {
    background-color: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    margin: 0;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
}

.project-card .nonprofit {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-card .button {
    display: inline-block;
    width: calc(100% - 3rem);
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    padding: 1rem 0;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.project-card .button:hover {
    color: var(--text-color);
}

.project-card .skills {
    margin-bottom: 1rem;
}

.project-card .skills p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status.open {
    background: #e3f2fd;
    color: var(--text-color);
}

.status.in_progress {
    background: #fff3e0;
    color: var(--accent-color);
}

.apply-btn,
.login-to-apply {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    background: #2196f3;
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.apply-btn:hover,
.login-to-apply:hover {
    background: var(--gradient-secondary);
}

.apply-btn:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input,
.filter-select {
    padding: 0.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
}

.search-input {
    flex: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.page-link.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Testimonials */
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 2rem;
    overflow: hidden;
}

#testimonials {
    background-color: var(--light-gray);
    padding: 3rem 2rem;
    text-align: center;
}

#testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial-card {
    flex: 0 0 300px;
    width: 100%;
    margin-bottom: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.8;
}

.testimonial-card cite {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

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

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section.about .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 10px;
}

.footer-section.links ul {
    list-style-type: none;
    padding-left: 0;
}

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

.footer-section.links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section.social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-section.social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section.social .social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-section.newsletter .newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.footer-section.newsletter .newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
}

.footer-section.newsletter .newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-secondary);
    color: var(--text-color);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    width: 100%;
}

.footer-section.newsletter .newsletter-form button:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    margin-top: 3rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 25px 0 0 25px;
    width: 100%;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--white);
}

/* Button styles */
.button,
.cta-button,
.learn-more,
.view-all-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before,
.cta-button::before,
.learn-more::before,
.view-all-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.button:hover::before,
.cta-button:hover::before,
.learn-more:hover::before,
.view-all-button:hover::before {
    width: 100%;
}

.button:hover,
.cta-button:hover,
.learn-more:hover,
.view-all-button:hover {
    color: var(--primary-color);
}

/* Specific button styles */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-button:hover {
    color: var(--secondary-color);
}

.learn-more {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.learn-more:hover {
    color: var(--text-color);
}

.view-all-button {
    background: var(--gradient-primary);
    color: var(--white);
}

.view-all-button:hover {
    color: var(--text-color);
}

.auth-buttons .button {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.auth-buttons .button.primary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.auth-buttons .button:hover {
    color: var(--secondary-color);
}

.auth-buttons .button.primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* Microinteractions */
.button,
.cta-button,
.learn-more,
.view-all-button {
    position: relative;
    overflow: hidden;
}

.button::after,
.cta-button::after,
.learn-more::after,
.view-all-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }

    20% {
        transform: scale(25, 25);
        opacity: 1;
    }

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

.button:focus:not(:active)::after,
.cta-button:focus:not(:active)::after,
.learn-more:focus:not(:active)::after,
.view-all-button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

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

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

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

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

.nav-content.active .nav-links li,
.nav-content.active .auth-buttons .button {
    animation: fadeInUp 0.3s ease-out forwards;
    opacity: 0;
}

.nav-content.active .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-content.active .nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-content.active .nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-content.active .nav-links li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-content.active .nav-links li:nth-child(5) {
    animation-delay: 0.5s;
}

.nav-content.active .auth-buttons .button:nth-child(1) {
    animation-delay: 0.6s;
}

.nav-content.active .auth-buttons .button:nth-child(2) {
    animation-delay: 0.7s;
}

/* Additional styles for enhanced user experience */
.button,
.cta-button,
.learn-more,
.view-all-button {
    cursor: pointer;
}

.button:active,
.cta-button:active,
.learn-more:active,
.view-all-button:active {
    transform: translateY(1px);
}

/* Accessibility improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group input {
    flex: 1;
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 0px;
    top: 33%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #333;
    background: var(--gradient-primary);
}

.password-toggle:focus {
    outline: none;
    color: #000;
}

/* Volunteers Page Main Styles */
.volunteers-main {
    padding-top: 80px;
}

#volunteers-hero {
    background: var(--gradient-primary), url('images/malee-volunteer.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    padding: 40px 20px 120px 20px;
}

#volunteers-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

#volunteers-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease-out;
}

.section {
    padding: 80px 20px;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

section#volunteer-stories {
    padding: 5px 20px;
}


#why-volunteer {
    background-color: var(--light-gray);
    padding: 10px 20px 30px 20px;
}

#why-volunteer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    list-style-type: none;
    padding: 0;
}

#why-volunteer li {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    width: calc(22% - 30px);
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why-volunteer li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

section#how-it-works {
    padding: 10px 20px 30px 20px;
}

#how-it-works ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    counter-reset: step-counter;
    list-style-type: none;
    padding: 0;
}

#how-it-works li {
    counter-increment: step-counter;
    width: 200px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

#how-it-works li::before {
    content: counter(step-counter);
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    margin: 0 auto 15px;
}

.project-card {
    background-color: var(--light-gray);
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-content {
    padding: 20px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

#volunteer-stories {
    background-color: var(--light-gray);
}

.story-carousel {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.story-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.story-card-content {
    padding: 20px;
}

.story-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.story-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

#get-started {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
}

#get-started .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#get-started .cta-button:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    color: var(--secondary-color);
}

#get-started .white-text {
    color: var(--primary-color);
}

#get-started {
    padding: 30px 30px;
}

/*End of Volunteers Page Main Styles */

/* Nonprofit Page Styles */
.nonprofits-main {
    padding-top: 80px;
}

#nonprofits-hero {
    background: var(--gradient-primary), url('images/nonprofit.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
}

#nonprofits-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

#nonprofits-hero p {
    font-size: 1.2rem;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease-out;
}

section#why-techaid {
    padding: 5px 20px 40px 20px;
}

#why-techaid {
    background-color: var(--light-gray);
    padding: 80px 20px;
}

#why-techaid h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

#how-it-works {
    padding: 80px 20px;
}

#how-it-works h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

#how-it-works ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    counter-reset: step-counter;
    list-style-type: none;
    padding: 0;
}

#how-it-works li {
    counter-increment: step-counter;
    width: 200px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

#how-it-works li::before {
    content: counter(step-counter);
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    margin: 0 auto 15px;
}

section#success-stories {
    padding: 5px 20px;
}

#success-stories {
    background-color: var(--light-gray);
    padding: 80px 20px;
}

#success-stories h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

.story-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.story-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content {
    padding: 20px;
}

.story-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.story-content .author {
    font-style: italic;
    color: var(--gray);
}

#get-started {
    text-align: center;
    background-color: var(--background-color);
    color: var(--white);
    padding: 80px 20px;
}

#get-started h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#get-started p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-color);
}

/* End of Nonprofit Page Styles */
/* Signup Page Styles */
.signup-container {
    max-width: 400px;
    margin: 150px auto 50px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.signup-container h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.form-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
}


label {
    margin-bottom: 5px;
    font-weight: 600;
}

input,
select {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 16px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.signup-container button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-container button:hover {
    background: var(--gradient-primary);
    color: var(--text-color);
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.error {
    color: var(--accent-color);
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
}

/* End of SignUp Page Styles */

/* Projects Page Styles */
#features {
    padding: 2rem 0rem 1rem 0;
    background-color: var(--light-gray);
    margin: 0rem;
}

.feature-grid {
    display: flex;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-container p {
    text-align: center;
}

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

.projects-section h2 {
    margin-bottom: -10px;
}

section#project-search {
    padding: 10px 20px;
}

#project-search {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

#project-search h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 25px 0 0 25px;
    outline: none;
}

.search-bar input[type="text"] {
    margin-bottom: 0px;
}

.search-bar button {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--gray);
}

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

.category-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-button:hover,
.category-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#features .container {
    margin: 0 auto;
}


/* End of Projects Page Styles */
/* Contact form styles */
/*Contact Page Styles */
.contact-form {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group textarea {
    height: 150px;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: var(--light-gray);
    color: var(--text-color);
}

/* Contact info styles */
.contact h1 {
    padding-top: 6rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-group input:focus, textarea#message:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* End of Contact Page Styles */

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 150px auto 50px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.login-container button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
}

.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

.login {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login:hover {
    background: var(--gradient-primary);
    color: var(--text-color);
}

/* End of Login Page Styles */

/* About Page Styles */
#about-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

#about-hero p {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 4rem 2rem;
}

.section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    /* margin-bottom: 2rem; */
}

section#our-mission {
    padding: 1rem 2rem;
}

section#our-story {
    padding: 1rem 2rem;
}

.non-profit {
    padding: 0 80px;
}

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

.story-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    flex-grow: 1;
}

.story-content img {
    max-width: 40%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-content img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-content div {
    flex: 1;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.text-container {
    flex: 1;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.icon-list {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    margin-top: 2rem;
}

.icon-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.icon-list li::before {
    content: '✓';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.icon-list li:hover::before {
    background-color: var(--primary-color);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.icon-list li span {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
}

.story-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Team Section */
#our-team {
    padding: 0.5rem 2rem 4rem 2rem;
    background-color: var(--light-gray);
}

#our-team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gray);
    font-style: italic;
}

/* Core Values Icons */
.core-values {
    display: flex;
    justify-content: space-around;
    margin-top: -2rem;
}

.core-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.core-value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: var(--light-gray);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.core-value-item:hover .core-value-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.core-value-text {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* End of About Page Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive design */
@media (max-width: 1024px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .auth-buttons {
        margin-left: 0;
        margin-top: 1rem;
        width: 50%;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }

    .hero-content {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    #features {
        flex-direction: column;
    }

    .feature-card {
        margin: 1rem 0;
    }

    .impact-stats {
        flex-wrap: wrap;
    }

    .stat {
        flex-basis: 50%;
        margin-bottom: 2rem;
    }

    /* Responsive navigation */
    .menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        height: 3px;
        width: 25px;
        background-color: var(--text-color);
        margin: 2px 0;
        transition: all 0.3s ease;
    }
}

/* Projects Page responsive Styles */
@media screen and (max-width: 992px) {
    .feature-grid {
        flex-direction: column;
    }

    .feature-card {
        margin: 1rem 0;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-cta-buttons {
        flex-direction: column;
    }
}

/*End of Projects Page responsive Styles */

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar .container {
        padding: 0.5rem 1rem;
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-content {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding-bottom: 2rem;
    }

    .nav-content.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 32px;
        transition: transform 0.3s ease;
    }

    .auth-buttons {
        width: 50%;
    }

    .auth-buttons.active {
        display: flex;
        align-items: center;
        margin-top: 19rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        background-color: var(--gray);
        padding: 1rem;
        padding-left: 6px;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .auth-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
        width: 100%;
    }

    .auth-buttons .button {
        width: 80%;
        text-align: center;
        padding: 0.75rem;
        border-radius: 4px;
    }

    .auth-buttons .button.primary {
        color: var(--white);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .container {
        padding: 0 15px;
    }

    .auth-buttons {
        display: none;
    }

    #impact {
        padding: 1rem 2rem 3rem 2rem;
    }

    #impact h2 {
        font-size: 2rem;
    }

    #features {
        margin: auto;
    }

    .project-card p,
    .project-card h3 {
        text-align: center;
    }

    .view-all-button {
        display: flex;
    }

    #testimonials {
        padding: 1.5rem 2rem;
    }

    #testimonials h2 {
        font-size: 1.5rem;
        margin-bottom: auto;
    }

    .testimonial-carousel {
        margin-top: auto;
    }

    footer {
        padding: 0%;
    }

    .footer-content {
        flex-direction: column;
        gap: 0;
    }

    .footer-section {
        margin-right: 0;
    }

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

    .footer-bottom-links {
        margin-top: 1rem;
    }

    .footer-bottom-links a {
        margin: 0 0.75rem;
    }

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

    .newsletter-form input {
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        width: 100%;
    }

    .impact-stats {
        flex-direction: column;
    }

    .stat {
        margin-bottom: 2rem;
    }

    #hero {
        margin-top: 0px;
    }

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

    .hero-content p {
        font-size: 1.125rem;
    }

    .feature-card h2 {
        font-size: 1.75rem;
    }

    .stat .number {
        font-size: 2.75rem;
    }

    .project-card h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-card blockquote {
        font-size: 1.125rem;
    }

    .auth-buttons {
        display: none;
    }

    /* Volunteers page responsive styles */
    #volunteers-hero h1 {
        font-size: 2.5rem;
    }

    #why-volunteer li,
    #how-it-works li {
        width: calc(10% - 15px);
    }

    .story-carousel {
        gap: 20px;
    }

    .story-card {
        flex: 0 0 280px;
        /* Slightly smaller cards on mobile */
    }

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

    #featured-projects {
        padding: 0.5rem 1rem 2rem 1rem;
    }

    #featured-projects h2 {
        font-size: 2rem;
    }

    section#volunteer-stories {
        padding: 5px 20px;
    }

    /*End of Volunteers page responsive styles */

    /* Nonprofit page responsive styles */
    #nonprofits-hero h1 {
        font-size: 2.5rem;
    }

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

    #how-it-works li {
        width: 100%;
    }

    .story-carousel {
        flex-direction: column;
        align-items: center;
    }

    .story-card {
        width: 100%;
        max-width: 500px;
        overflow: visible;
    }

    #why-techaid h2 {
        margin-bottom: 0px;
    }

    #get-started {
        padding: 10px 20px;
    }

    /* End of Nonprofit page responsive styles */

    /* SignUp Page responsive Styles */
    .signup-container {
        margin: 40px auto 50px auto;
    }

    /* End of SignUp Page responsive Styles */

    /* Projects Page responsive Styles */
    #project-search h2 {
        font-size: 2rem;
    }

    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .category-filter select,
    .search-bar input {
        width: 100%;
    }

    .search-wrapper {
        flex-direction: column;
    }

    .search-bar {
        width: 100%;
        flex-direction: column;
    }

    .search-bar input,
    .search-bar button {
        width: 100%;
        border-radius: 25px;
    }

    .search-bar input {
        margin-bottom: 1rem;
        border-right: 2px solid var(--primary-color);
    }

    .search-bar input[type="text"] {
        margin-bottom: 1rem;
        width: auto;
    }

    .category-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
    }

    .category-button {
        width: 100%;
        flex: 0 0 auto;
    }

    section#cta {
        padding: 10px 20px 30px 20px;
    }

    a.cta-button {
        text-align: center;
    }

    /* End of Projects Page responsive Styles */

    /* Contact page responsive styles */
    .contact h1 {
        padding-top: 4rem;
    }

    .contact-info {
        margin-bottom: 1rem;
    }

    /* End of Contact page responsive styles */

    /* Login Page responsive Styles */
    .login-container {
        margin: 40px auto 50px auto;
    }

    /* End of Login responsive Page Styles */

    /* About Page responsive Styles */
    #about-hero h1 {
        font-size: 3rem;
    }

    .mission-content,
    .story-content {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-content img,
    .story-content img {
        max-width: 100%;
    }

    .team-member {
        width: 100%;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .image-container,
    .text-container {
        width: 100%;
    }

    .section-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3rem 2rem 1rem 2rem;
        position: relative;
    }

    /* End of About Page responsive Styles */
}

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

    .feature-card h2 {
        font-size: 1.5rem;  
    }
    
    .cta-button {
        text-align: center;
    }

    .impact-stats {
        flex-direction: column;
    }

    .stat {
        flex-basis: 100%;
    }

    .stat .number {
        font-size: 2.5rem;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    /* Volunteers page responsive styles */
    #volunteers-hero h1 {
        font-size: 2rem;
    }

    #why-volunteer li,
    #how-it-works li {
        width: 100%;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 0px;
    }

    /*End of Volunteers page responsive styles */

    /* Nonprofit page responsive styles */
    #nonprofits-hero h1 {
        font-size: 2rem;
    }

    #nonprofits-hero p,
    #get-started p {
        font-size: 1rem;
    }

    #why-techaid h2,
    #how-it-works h2,
    #success-stories h2,
    #get-started h2 {
        font-size: 1.5rem;
    }
    
    #get-started .cta-button {
        font-size: 1rem;
    }

    /* End of Nonprofit page responsive styles */

    /* Contact page responsive styles */
    .contact h1 {
        font-size: 2rem;
    }

    /* End of Contact page responsive styles */

    /* About Page responsive Styles */
    .section-container {
        padding: 3rem 0rem 1rem 0rem;
    }

    .section-container-2 {
        padding: 0rem 0rem 1rem 0rem;
    }

    .content-wrapper {
        gap: 0rem;
    }

    #our-team h2 {
        margin-bottom: 0rem;
        font-size: 2rem;
    }

    /*End of About Page responsive Styles */
}