/* ========== BASE STYLES ========== */
:root {
    --primary: #24028a;
    --primary-dark: #20066b;
    --primary-light: #3304c0;
    /* --secondary: #ee5a04;
    --secondary-dark: #b94400; */
    --secondary: #FFD43B;
    --secondary-dark: #FCBC16;
    --white: #ffffff;
    --black: #222222;
    --dusk: #183153;
    --sky-blue: #74C0FC;
    --sky-blue-light: #b4deff;
    --sky-blue-dark: #035d99;
    --gray: #F0F1F3;
    --dark-gray: #e0e0e0;
    --text-color: #444444;
    --light-text: #777777;
    --green: #0E8238;
    --dark-red: #680C0D;
    --purply: #460155;
    --tan: #5e4e31;

}

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

html {
    scroll-behavior: smooth;
    background-color: var(--white);
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}


.my-btn-primary {
    background-color: var(--black);
    color: var(--secondary);
}

.my-btn-primary:hover {
    background-color: var(--secondary);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.my-btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.my-btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ========== HEADER ========== */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.banner-image {
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

.banner-image.desktop-only {
    max-height: 50px;
    /* Adjust for desktop banner height */
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--black);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary);
}

.btn-volunteer {
    margin-left: 20px;
    background-color: var(--primary);
    color: var(--white);
}

.btn-volunteer:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
/* .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(255, 215, 0, 0.4);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.shape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
} */


/* ========== MARQUEE SECTION ========== */
.marquee-section {
    background-color: var(--tan);
    color: var(--white);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 60s linear infinite;
    padding-right: 100%;
    /* Ensure items don't jump when looping */
}

.marquee-item {
    display: inline-block;
    padding: 0 40px;
    position: relative;
    font-size: 1.1rem;
    font-weight: 400;
}

.marquee-item:after {
    content: "•";
    position: absolute;
    right: -5px;
    color: var(--secondary);
}

.marquee-item:last-child:after {
    display: none;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
    cursor:pointer
}

/* Marquee animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .marquee-item {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .marquee-content {
        animation-duration: 20s;
        /* Faster on mobile */
    }
}



/* ========== WELCOME SECTION ========== */
.welcome-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--purply);
    line-height: 1.2;
}

.welcome-text h2 .highlight {
    color: var(--primary);
    position: relative;
}

.welcome-text h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 212, 59, 0.4);
    z-index: -1;
}

.welcome-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.welcome-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.welcome-image {
    position: relative;
    z-index: 1;
}

.welcome-image .image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.shape-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 30px;
    z-index: -1;
    bottom: -50px;
    right: -50px;
    opacity: 0.1;
    transform: rotate(15deg);
}

/* Animated border effect */
.welcome-image::before {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    border: 2px dashed var(--primary);
    border-radius: 25px;
    z-index: -1;
    animation: rotateBorder 20s linear infinite;
}

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

/* ========== MODERN WELCOME SECTION 2========== */
/* .welcome-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(106, 13, 173, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.welcome-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--purply);
    line-height: 1.3;
}

.welcome-header .highlight {
    color: var(--primary);
    position: relative;
}

.welcome-header .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 212, 59, 0.4);
    z-index: -1;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 0 auto 40px;
    border-radius: 2px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.welcome-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: height 0.4s ease;
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.welcome-card:hover::before {
    height: 100%;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.welcome-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.welcome-cta {
    margin-top: 40px;
} */


/* ========== IMPACT STATS ========== */
.impact-stats {
    padding: 80px 0;
    background-color: var(--gray);
    color: var(--dusk);
}

.impact-stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    background-color: var(--sky-blue);
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--dusk);
}

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



/* ========== Aito-Tamar Foundation BANNER SECTION ========== */
.aito-tamar-banner {
    padding: 60px 0;
    background-color: var(--white);
}

.aito-tamar-banner .container {
    max-width: 1200px;
}

.banner-link {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.banner-wrapper {
    position: relative;
    width: 100%;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.banner-link:hover .banner-image {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 64, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-link:hover .banner-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.banner-link:hover .overlay-content {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .aito-tamar-banner {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .aito-tamar-banner {
        padding: 30px 0;
    }

    /* .banner-overlay {
        opacity: 1;
        background: rgba(0, 28, 64, 0.2);
    }
    
    .overlay-content {
        transform: translateY(0);
    } */
}



/* ========== FEATURED PROGRAMS ========== */
.featured-programs {
    padding: 100px 0;
    background-color: var(--gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--purply);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-dark) !important;
}

.section-header p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}


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

.program-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.btn-overlay {
    background-color: var(--white);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-overlay:hover {
    background-color: var(--secondary);
    color: var(--black);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.program-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* ========== VIDEO SECTION ========== */
.video-section {
    padding: 100px 0;
}

.video-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.video-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--purply);
}

.video-content p {
    margin-bottom: 30px;
    color: var(--light-text);
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-left: 5px;
}

.play-button:hover {
    background-color: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 100px 0;
    background-color: var(--gray);
    color: var(--black);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 20px;
    background-color: var(--white);
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
}


.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    color: var(--dark);
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    top: -20px;
    left: -15px;
}

.testimonial-content p::after {
    bottom: -40px;
    right: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--black);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author h4 {
    color: var(--black) !important;
    
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-prev,
.testimonial-next {
    background-color: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--primary-dark);
}

/* ========== NEWSLETTER ========== */
.newsletter {
    padding: 80px 0;
    background-color: var(--gray);
}

.newsletter .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--purply) !important;
}

.newsletter-content p {
    color: var(--light-text);
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    border: none;
}

/* ========== FOOTER ========== */
.main-footer {
    background-color: var(--black);
    color: var(--white);
    padding-top: 80px;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    margin: 20px 0;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3,
.footer-donate h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.bank-details {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.bank-details p {
    margin-bottom: 5px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary);
}


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

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)),
        url('../images/about-bg2.jpg') center/cover;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.9rem;
}

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

.breadcrumb span {
    opacity: 0.7;
}

/* About Intro Section */
.about-intro {
    padding: 80px 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--purply);
}

.about-content p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--black);
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.experience-badge span {
    font-size: 2.5rem;
    line-height: 1;
}

/* Core Values Section */
.core-values {
    padding: 80px 0;
    background: var(--gray);
}

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

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--sky-blue);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--black);
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
}

.founder-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.founder-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--purply);
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--black);
    padding: 20px 30px;
    border-left: 4px solid var(--secondary);
    margin: 30px 0;
    background: rgba(106, 13, 173, 0.05);
}

.founder-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.founder-signature img {
    height: 60px;
}

.founder-signature h4 {
    margin-bottom: 5px;
}

.founder-signature p {
    opacity: 0.8;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/*.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(106, 13, 173, 0.8);
    transition: bottom 0.3s ease;
}*/

/*.social-links*/

.team-card:hover {
    bottom: 0;
}

/*.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--black);
}*/

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info p {
    color: var(--light-text);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary) !important;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* ========== PROGRAMS PAGE SPECIFIC STYLES ========== */

/* Programs Hero */
.programs-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)),
        url('../images/programs-bg.jpg') center/cover;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.programs-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.programs-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Programs Navigation */
.programs-nav {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 900;
}

.programs-nav ul {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.programs-nav ul::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.programs-nav li {
    margin: 0 10px;
}

.programs-nav a {
    padding: 10px 20px;
    color: var(--black);
    font-weight: 500;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.programs-nav a.active,
.programs-nav a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Program Sections */
.program-section {
    padding: 80px 0;
}

.alt-bg {
    background: var(--gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-header p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}


#section-header h2 {
    color: var(--purply);
}

#section-header p {
    color: var(--dark);
}

.program-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.reverse {
    direction: rtl;
}

.reverse>* {
    direction: ltr;
}

.program-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-image img {
    width: 100%;
    /*height: auto;*/
    display: block;
}

.program-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--black);
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.program-badge span {
    font-size: 2.5rem;
    line-height: 1;
}

.program-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--black);
}

/* Skill Program Features */
.program-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature {
    padding: 20px;
    background: rgba(106, 13, 173, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature h4 {
    margin-bottom: 10px;
}

/* Medical Services Grid */
.program-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 10px;
}

.program-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
}

.stat {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.stat span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

/* Education Program List */
.program-list {
    margin: 30px 0;
}

.program-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(106, 13, 173, 0.1);
}

.program-list li:last-child {
    border-bottom: none;
}

.program-list i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.program-list h4 {
    margin-bottom: 5px;
}

/* Livelihood Features */
.livelihood-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(106, 13, 173, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.success-stories {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
}

.success-stories h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.story p {
    font-style: italic;
    margin-bottom: 5px;
}

.story span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--black);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 60px;
    font-weight: 700;
}

.event-date span:first-child {
    font-size: 0.9rem;
    display: block;
}

.event-date span:last-child {
    font-size: 1.5rem;
    line-height: 1;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: var(--primary);
}

/* Program CTA */
.program-cta {
    padding: 80px 0;
    background: var(--gray);
    color: var(--black);
    text-align: center;
}

.program-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.program-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* ========== GALLERY PAGE SPECIFIC STYLES ========== */

/* Gallery Hero */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)),
        url('../images/gallery-bg.jpg') center/cover;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Gallery Filter Navigation */
.gallery-filter {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 900;
}

.gallery-filter ul {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-filter ul::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-filter li {
    margin: 0 10px;
}

.gallery-filter a {
    padding: 10px 20px;
    color: var(--black);
    font-weight: 500;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.gallery-filter a.active,
.gallery-filter a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Main Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-card img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    padding: 20px;
    width: 100%;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.gallery-expand {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-expand:hover {
    background: var(--secondary);
    color: var(--black);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin: 60px 0;
}

/* Video Gallery */
.video-gallery {
    padding: 80px 0;
    background: var(--gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-header p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-left: 5px;
}

.play-button:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item h3 {
    padding: 20px 20px 5px;
    margin: 0;
}

.video-item p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--light-text);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: auto;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--secondary);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px;
}

#lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    margin-top: 20px;
    max-width: 800px;
}

.lightbox-caption h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}


/* Contact Page Specific Styles */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    padding-top: 10%;
    position: relative;
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    position: relative;
    /* For animation effects */
    z-index: 2;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.contact-content {
    padding: 80px 0;
    background-color: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default to single column for mobile */
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    background: var(--sky-blue-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info .section-header {
    margin-bottom: 30px;
}

.contact-info .section-header.no-margin {
    /* Overrides default margin */
    margin-bottom: 0;
}

.contact-info address {
    font-style: normal;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 20px;
    width: 35px;
    /* Fixed width for icon alignment */
    text-align: center;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--black);
}

.info-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary);
}

.social-links-contact {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.social-links-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--black);
}

.social-links-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper .section-header.no-margin {
    margin-bottom: 0;
}

.main-form .form-group {
    margin-bottom: 20px;
    position: relative;
    /* For error messages */
}

.main-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--black);
}

.main-form input[type="text"],
.main-form input[type="email"],
.main-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    /* Ensure font consistency */
    transition: border-color 0.3s ease;
}

.main-form input[type="text"]:focus,
.main-form input[type="email"]:focus,
.main-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.main-form textarea {
    resize: vertical;
    /* Allow vertical resizing */
}

.main-form .error-message {
    color: var(--red);
    /* Assuming you have a red color variable */
    font-size: 0.85rem;
    margin-top: 5px;
    /* Styles for existing .error-message in form-validation.js */
}

/* If you need specific styles for when a form group has an error */
.main-form .form-group.has-error input,
.main-form .form-group.has-error textarea {
    border-color: var(--red);
}

.main-form .success-message {
    color: var(--green);
    /* Assuming you have a green color variable */
    font-size: 1rem;
    margin-top: 15px;
    text-align: center;
}

.main-form button.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.map-section {
    padding-bottom: 80px;
    /* Only bottom padding as top might overlap with contact-content */
}

.map-section .section-header {
    margin-bottom: 40px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    /* Ensures iframe corners are rounded */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
    /* Removes extra space below iframe */
}



/* Volunteer Page Specific Styles */

.volunteer-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 24, 63, 0.8)), url('../images/volunteer-bg.jpg') no-repeat center center/cover;
    /* Assuming a volunteer-specific banner image */
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    padding-top: 10%;
    position: relative;
}

.volunteer-hero h1 {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.volunteer-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.why-volunteer {
    background-color: var(--gray);
    padding-top: 50px;
}

.why-volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.reason-item .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--sky-blue);
    /* Lighter shade of primary for background */
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 20px;
    box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0.1);
    /* Subtle ring effect */
}

.reason-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--black);
}

.reason-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.volunteer-form-section {
    background-color: var(--gray);
    /* Match with the background for seamless transition */
    padding-top: 50px;
}

.volunteer-form-wrapper {
    max-width: 800px;
    /* Constrain form width for better readability */
    margin: 40px auto 0;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.09);
}

/* Reusing existing main-form styles for inputs, labels, error/success messages */
.volunteer-form-wrapper .main-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    /* Ensure background is white */
    appearance: none;
    /* Remove default arrow on some browsers */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.volunteer-form-wrapper .main-form select:focus {
    border-color: var(--primary);
    outline: none;
}

.volunteer-form-wrapper .main-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    /* Row and column gap */
    margin-top: 10px;
}

.volunteer-form-wrapper .main-form .checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    /* Lighter font weight for checkboxes */
    margin-bottom: 0;
    /* Override default form-group label margin */
    cursor: pointer;
}

.volunteer-form-wrapper .main-form .checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    min-width: 18px;
    /* Standardize checkbox size */
    min-height: 18px;
    cursor: pointer;
}


/* Adjustments for CTA section if needed, generally already styled */
.cta-section {
    background-color: var(--primary-dark);
    /* Darker background for contrast */
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section .lead {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-buttons .btn {
    margin: 0 10px;
    min-width: 180px;
}

@media (max-width: 576px) {
    .cta-section .cta-buttons .btn {
        margin: 10px 0;
        width: 100%;
    }
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top i {
    font-size: 1.2rem;
}



/* Add this to your main.css file */
.contact-hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    color: #FFD700;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #FFD700, #FFEC8B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    animation: textGradient 8s ease infinite;
    background-size: 200% 200%;
}

.contact-hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

/* Animation for the gradient text */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-hero h1 {
        letter-spacing: -0.3px;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .contact-hero p {
        line-height: 1.5;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }
    
    .contact-hero p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
}


.sitemap-section {
  padding: 60px 0;
  background: #f9f9f9;
}

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

.sitemap-category h2 {
  color: #6a0dad;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.sitemap-category ul {
  list-style: none;
  padding: 0;
}

.sitemap-category li {
  margin-bottom: 10px;
}

.sitemap-category a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.sitemap-category a:hover {
  color: #6a0dad;
}