@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root {
    --primary-color: #2c3e50;  /* Dark blue-gray - for main text and accents */
    --secondary-color: #07830c;  /* Teal - for primary buttons and highlights */
    --accent-color: #3498db;  /* Blue - for secondary accents */
    --light-color: #f8f9fa;  /* Very light gray - for backgrounds */
    --dark-color: #2c3e50;  /* Same as primary - for dark sections */
    --text-color: #34495e;  /* Slightly lighter than primary - for body text */
    --text-light: #7f8c8d;  /* Gray - for secondary text */
    --white: #ffffff;  /* Pure white */
    --max-width: 1400px;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Header Styles */
header {
background: linear-gradient(135deg, #c2fcf6 0%, #38ef7d 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
        width: 80px;
        height: 80px;
    }

/* Logo with foundation name */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1opx;
    text-decoration: none;
     max-width: 100%;
}

.foundation-name {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    
    /* Responsive font sizes */
    font-size: 1.5rem; /* Default size */
   
    
   
}

@media (max-width: 768px) {
    .foundation-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 8px;
    }
    .foundation-name {
        font-size: 1.2rem;
    }
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.search-box {
    margin-left: 40px;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    min-width: 250px;
    font-family: inherit;
}

.search-box button {
    background: none;
    border: none;
    margin-left: -30px;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(#093561, #099b0f), url(../images/hero-bg.jpg) no-repeat center center / cover;
    color: var(--white);
     height: auto; 
      min-height: calc(100vh - 80px);
       padding: 40px 0;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    max-width: 800px;
}

.hero .subheadline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    font-family: var(--body-font);
    display: inline-block;
    background-color: #07510a;
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button:hover {
    background-color: #0eb939;
    transform: translateY(-3px);
}

.cta-button.secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Impact Stats */
.impact-stats {
    padding: 100px 0;
    background-color: var(--light-color);
    text-align: center;
}

.impact-stats h2 {
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    padding: 30px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #046108;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Featured Work */
.featured-work {
    padding: 100px 0;
}

.featured-work h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.work-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.work-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.work-card h3 {
    margin-bottom: 20px;
    color: #0df116;
    font-size: 1.5rem;
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Footer Styles */
footer {
    font-family: var(--body-font);
       background-color: #4caf50;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-family: var(--body-font);
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    font-family: var(--body-font);
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: var(--body-font);
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-bottom: 25px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-color);
}

.legal-links {
    margin-top: 15px;
}

.legal-links a {
    color: var(--light-color);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

/* Mission Statement Section */
.mission-statement {
  background: linear-gradient(135deg, #032344 0%, #4caf50 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/mission-bg.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.mission-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-text blockquote {
    font-family: var(--body-font);
    border-left: 4px solid var(--secondary-color);
    padding-left: 30px;
    margin: 0 auto 50px;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 800px;
    text-align: left;
}

.mission-text blockquote p {
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.mission-text blockquote p::before,
.mission-text blockquote p::after {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
}

.mission-text blockquote p::before {
    top: -15px;
    left: -15px;
}

.mission-text blockquote p::after {
    bottom: -25px;
    right: -15px;
}

.mission-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

.highlight-item i {
    font-size: 2.5rem;
   color: #1b2835;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.highlight-item:hover i {
    transform: scale(1.2);
}

.highlight-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Page Header Styles */
.page-header {
   background: linear-gradient(#07830c, #2c3e50), url(../images/page-header-bg.jpg) no-repeat center center / cover;
    color: white;
    padding: 150px 0;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Page Styles */
.about-section {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.founder-section {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 80px;
    align-items: center;
}

.founder-image {
    flex: 1;
    min-width: 100px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(93, 253, 18, 0.1);
}

.founder-bio {
    flex: 2;
    min-width: 300px;
}

.founder-bio h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.founder-bio h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.founder-bio .title {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Our Work Page Styles */
.program-card {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.program-card.reverse {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1;
    min-width: 300px;
}

.program-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-content {
    flex: 2;
    min-width: 300px;
}

.program-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.program-content h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.program-content ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.program-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.program-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 25px;
    font-style: italic;
    color: var(--text-light);
    margin: 30px 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Blog Page Styles */
.blog-posts {
    margin: 60px 0;
}

.blog-post {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.post-image {
    flex: 1;
    min-width: 300px;
}

.post-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-content {
    flex: 2;
    min-width: 300px;
}

.post-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-meta i {
    margin-right: 5px;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
   background-color: #07830c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: #7df809;
}

.featured-stories {
    margin: 80px 0;
}

.story-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.story-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-card h3 {
    padding: 20px 25px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.story-card p {
    padding: 0 25px 20px;
    color: var(--text-light);
}

/* Single Post Page Styles */
.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-share a {
    display: inline-block;
    margin-left: 20px;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.post-share a:hover {
    color: var(--secondary-color);
}

.post-navigation {
    margin: 60px 0;
    text-align: center;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.back-to-blog:hover {
    color: #e04a28;
}

/* Get Involved Page Styles */
.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.option-card {
    padding: 40px 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.option-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.option-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.option-card h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.option-card ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.option-card ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.alert {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.alert.error {
    background-color: #fdecea;
    border-left: 4px solid #f44336;
}

.alert.success {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

/* Media Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    background: #eee;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.tab-button.active {
    background: var(--secondary-color);
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 92, 53, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 92, 53, 1);
}

.video-card h3 {
    padding: 20px 25px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.video-card p {
    padding: 0 25px 20px;
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subheadline {
        font-size: 1.1rem;
         margin-bottom: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color:#ffffff;
        transition: all 0.3s ease;
        padding: 0px;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 15px 0;
    }
    
    .search-box {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .page-header {
        padding: 120px 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .mission-text h2 {
        font-size: 2rem;
    }
    
    .mission-text blockquote {
        font-size: 1.2rem;
        padding-left: 20px;
    }
    
    .founder-section,
    .program-card,
    .blog-post {
        flex-direction: column;
    }
    
    .program-card.reverse {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subheadline {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .option-cards {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Alert Styles */
.alert {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

.alert.error {
    background-color: #fdecea;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.alert.success {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.alert h3 {
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading spinner */
.fa-spinner {
    margin-right: 8px;
}

button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Impact Stories Section Styling */
.impact-stories {
    background-color: #f9f9f9;
    padding: 4rem 0;
    text-align: center;
}

.impact-stories h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.impact-stories h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #e74c3c;
    bottom: -10px;
    left: 25%;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.story-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.story-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 1.2rem 0 0.8rem;
    padding: 0 1rem;
}

.story-card p {
    color: #7f8c8d;
    line-height: 1.6;
    padding: 0 1rem 1.5rem;
    margin: 0;
}

.read-more {
    display: inline-block;
    background-color: #06631a;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #089ef5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .impact-stories {
        padding: 3rem 0;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000000;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover {
    color: #023e0a;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #155c06;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgb(255, 255, 255);
        box-shadow: 0 5px 10px rgba(228, 117, 117, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px; /* Adjust based on your content */
    }

    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 1rem;
    }

    .search-box {
        margin: 1rem auto;
        width: 90%;
    }
}

.video-card .video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card .play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Founder Image Slide-in Animation */
.founder-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    overflow: hidden; /* Ensures the sliding image doesn't cause horizontal scroll */
}

.founder-image {
    flex: 1;
    min-width: 300px;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 1s forwards 0.5s;
}

.founder-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founder-bio {
    flex: 2;
    min-width: 300px;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .founder-section {
        flex-direction: column;
    }
    
    .founder-image {
        order: 1;
        min-width: 100%;
        transform: translateX(-100%);
    }
    
    .founder-bio {
        order: 2;
        min-width: 100%;
    }
}

/* Add these styles to your existing CSS file */
.program-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.program-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* Hover effect for images */
.program-card:hover .program-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Optional: Add an overlay on hover */
.program-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-image::after {
    opacity: 1;
}

/* Optional: Add a text overlay/caption effect */
.program-image .img-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    transition: bottom 0.3s ease;
}

.program-card:hover .program-image .img-caption {
    bottom: 0;
}

/* Founder Image Styling */
.founder-image {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Cool hover effects */
.founder-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.founder-image:hover img {
    transform: scale(1.05);
}

/* Decorative elements */
.founder-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #4a90e2;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.founder-image:hover::before {
    opacity: 1;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

/* For the founder section layout */
.founder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.founder-bio {
    text-align: center;
    max-width: 600px;
}

@media (min-width: 768px) {
    .founder-section {
        flex-direction: row;
        gap: 50px;
        align-items: flex-start;
    }
    
    .founder-bio {
        text-align: left;
        flex: 1;
    }
    
    .founder-image {
        margin: 0;
    }
}

.hero-content {
     position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-video {
    flex: 1;
    min-width: 300px;
}

.hero-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text, .hero-video {
        width: 100%;
    }
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
     position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-video {
    flex: 1;
    min-width: 300px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-video {
        width: 100%;
    }
}

/* Hero Video Styles */
.hero-video {
    flex: 1;
    min-width: 300px;
    transition: all 0.3s ease;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Hover Effects */
.hero-video:hover {
    transform: translateY(-5px);
}

.video-thumbnail:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.video-thumbnail:hover video {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Optional: Add play button overlay for better UX */
.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-thumbnail:hover::after {
    opacity: 1;
    width: 70px;
    height: 70px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-video {
        width: 100%;
    }
    
    /* Reduce hover effects on mobile */
    .hero-video:hover {
        transform: none;
    }
    
    .video-thumbnail:hover video {
        transform: none;
        filter: none;
    }
}

.post-content {
    line-height: 1.6;
}
.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin: 1.5em 0 0.8em;
}
.post-content ul, 
.post-content ol {
    margin: 1em 0;
    padding-left: 2em;
}
.post-content li {
    margin-bottom: 0.5em;
}

/* Add these styles to your existing CSS file */

/* Enhanced Textarea Styles */
.form-group textarea {
    min-height: 200px;
    resize: vertical;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background-color: #f9f9f9;
    font-size: 1rem;
    line-height: 1.6;
    padding: 15px;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.form-group textarea:focus {
    border-color: #07830c;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(7, 131, 12, 0.2);
    outline: none;
}

/* Fancy placeholder style */
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
    opacity: 1; /* Firefox reduces opacity by default */
}

/* Animated label effect */
.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    transform-origin: left center;
}

/* Floating label effect when textarea is focused */
.form-group textarea:focus + label {
    color: #07830c;
    transform: translateY(-5px) scale(0.9);
}

/* Textarea character counter */
.char-counter {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Custom scrollbar for textarea */
.form-group textarea::-webkit-scrollbar {
    width: 8px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: #07830c;
    border-radius: 4px;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: #056609;
}

/* Hover effect */
.form-group textarea:hover {
    border-color: #bdbdbd;
}

/* For required fields */
.form-group.required label:after {
    content: " *";
    color: #e74c3c;
}

/* Animated border effect */
@keyframes borderPulse {
    0% { box-shadow: 0 0 0 0 rgba(7, 131, 12, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(7, 131, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(7, 131, 12, 0); }
}

.form-group textarea:focus {
    animation: borderPulse 1.5s infinite;
}

/* Gradient border on focus */
.form-group textarea:focus {
    border-image: linear-gradient(to right, #07830c, #4caf50);
    border-image-slice: 1;
}

/* For the message textarea specifically */
#message {
    background-image: linear-gradient(white, white), 
                      linear-gradient(to right, #f5f5f5, #f5f5f5);
    background-origin: padding-box, border-box;
    background-repeat: no-repeat;
    border: double 2px transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-group textarea {
        min-height: 150px;
    }
}
/* Slideshow styles */
.hero-slideshow {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Dots navigation */
.slideshow-dots {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-slideshow {
        width: 100%;
    }
    
    .slide img {
        max-height: 300px;
    }
}

/* Get Involved Page - Intro Text Styles */
.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    padding: 0 20px;
}

.intro-text p:first-child {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
}

.intro-text p:last-child {
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 500;
}

.intro-text p:first-child::before,
.intro-text p:first-child::after {
    content: '"';
    font-size: 2rem;
    color: rgba(7, 131, 12, 0.2);
    position: absolute;
}

.intro-text p:first-child::before {
    top: -15px;
    left: -5px;
}

.intro-text p:first-child::after {
    bottom: -25px;
    right: -5px;
}

/* Optional decorative elements */
.intro-text {
    position: relative;
}

.intro-text::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    margin: 40px auto;
    border-radius: 3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-text p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .intro-text p:first-child {
        font-size: 1.2rem;
    }
}

/* Blog Page - Intro Text Styles */
.blog-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 30px;
    background-color: rgba(247, 247, 247, 0.7);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.blog-intro p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.blog-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

/* Media Gallery Page - Intro Text Styles */
.gallery-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 30px;
    background-color: rgba(7, 131, 12, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.gallery-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.gallery-intro p:last-child {
    margin-bottom: 0;
}

.gallery-intro p strong {
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.gallery-intro p strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

/* Decorative elements for both */
.blog-intro, .gallery-intro {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-intro, .gallery-intro {
        padding: 20px;
    }
    
    .blog-intro p, .gallery-intro p {
        font-size: 1.1rem;
    }
}

/* Hero Buttons Styles */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.cta-button {
    font-family: var(--body-font);
    display: inline-block;
    background-color: #07510a;
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.events {
    background-color: #f39c12; /* Orange color */
    color: white;
}

.cta-button:hover {
    background-color: #0eb939;
    transform: translateY(-3px);
}

.cta-button.secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.cta-button.events:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-button, 
    .cta-button.secondary,
    .cta-button.events {
        width: 100%;
        text-align: center;
    }
}

/* Add these styles to your existing CSS file */

.cta-button.events {
    background: linear-gradient(45deg, #1221f3, #b1d60b, #35f10f);
    background-size: 300% 300%;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(242, 153, 74, 0.4);
    transition: all 0.3s ease;
    animation: gradientBG 3s ease infinite, pulse 2s infinite;
}

.cta-button.events:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(242, 153, 74, 0.6);
    animation: none; /* Stop animations on hover */
}

.cta-button.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.4s ease;
}

.cta-button.events:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.cta-button.events::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.cta-button.events:hover::after {
    transform: translateY(-50%) rotate(10deg) scale(1.2);
}

/* Keyframe animations */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 6, 6, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(242, 153, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 153, 74, 0);
    }
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .cta-button.events {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
    }
    
    .cta-button.events::after {
        right: 10px;
    }
}

/* Events Page Styles */
.events-section {
    padding: 60px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.event-image {
    height: 200px;
    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.05);
}

.event-details {
    padding: 25px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.no-events {
    text-align: center;
    padding: 50px;
    background: rgba(247, 247, 247, 0.7);
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.action-buttons {
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-donate {
    background-color: #e74c3c;
    color: white;
}

.btn-donate:hover {
    background-color: #c0392b;
}

.btn-bursary {
    background-color: #3498db;
    color: white;
}

.btn-bursary:hover {
    background-color: #2980b9;
}

/* CTA Buttons Section */
.cta-buttons {
    background: linear-gradient(135deg, #fff 0%, hwb(210 99% 0%) 100%);
    padding: 40px 0;
    margin: 30px 0;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transition: all 0.4s ease;
}

.action-btn:hover::before {
    opacity: 0;
}

.btn-icon {
    margin-right: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.action-btn:hover .btn-icon {
    transform: scale(1.2);
}

/* Donate Button */
.donate-btn {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white;
}

.donate-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.3);
}

/* Bursary Button */
.bursary-btn {
    background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    color: white;
}

.bursary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(71, 118, 230, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .action-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Donation Form Styles */
.donation-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #45a049;
}

/* Payment Methods */
.payment-methods {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-option {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.payment-option h3 {
    margin-top: 0;
    color: #333;
}

.payment-details {
    margin-top: 10px;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.paypal-btn {
    background: #003087;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Admin Dashboard Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-content {
    flex: 1;
    padding: 20px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.summary-card h3 {
    margin-top: 0;
    color: #666;
    font-size: 16px;
}

.summary-card p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
}

.donations-table {
    overflow-x: auto;
}

.donations-table table {
    width: 100%;
    border-collapse: collapse;
}

.donations-table th,
.donations-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.donations-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.donations-table tr:hover {
    background: #f9f9f9;
}

/* Main Container Styles */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
      padding-top: 80px; /* Adds space below the header */
    padding-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

h1 {
    color: #07a013;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
}

/* Application Options Layout */
.application-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.online-form, .download-option {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

label.required:after {
    content: " *";
    color: #e74c3c;
}

input[type="text"],
input[type="date"],
input[type="tel"],
input[type="number"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
}

/* Button Styles */
.submit-button, .download-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-button:hover, .download-button:hover {
    background-color: #2980b9;
}

.download-button {
    background-color: #27ae60;
}

.download-button:hover {
    background-color: #219653;
}

.download-button-container {
    text-align: center;
    margin: 25px 0;
}

/* Section Styles */
h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

h3 {
    color: #3498db;
    margin: 20px 0 15px;
    font-size: 1.2em;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Instructions Box */
.instructions {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 4px 4px 0;
}

.instructions h3 {
    color: #2c3e50;
    margin-top: 0;
}

.instructions ol {
    padding-left: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .application-options {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .online-form, .download-option {
        min-width: 100%;
    }
}

/* Form Preview Styles (for PDF download section) */
.form-preview {
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.form-preview h2 {
    text-align: center;
    border: none;
}

.form-preview ul {
    list-style-type: none;
    padding-left: 0;
}

.form-preview li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-thumbnail img {
    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: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.play-button:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    border-width: 15px 0 15px 25px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.video-card {
    margin-bottom: 30px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Add these styles to your style.css file */

.video-section h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.video-section h2:before,
.video-section h2:after {
    content: "";
    position: absolute;
    height: 3px;
    width: 30%;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    top: 50%;
    transform: translateY(-50%);
}

.video-section h2:before {
    left: 0;
}

.video-section h2:after {
    right: 0;
}

.video-section h2 span {
    position: relative;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .video-section h2 {
        font-size: 2rem;
    }
    
    .video-section h2:before,
    .video-section h2:after {
        width: 20%;
    }
}

@media (max-width: 480px) {
    .video-section h2 {
        font-size: 1.8rem;
    }
    
    .video-section h2:before,
    .video-section h2:after {
        width: 15%;
    }
}

/* Enhanced Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    padding: 5px;
    border-radius: 8px;
}

.logo-container:hover {
    transform: translateY(-3px);
}

/* Logo Image Effects */
.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.logo-container:hover img {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

/* Foundation Name Effects */
.foundation-name {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
    padding: 5px 0;
}

.foundation-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.4s ease;
}

.logo-container:hover .foundation-name::after {
    width: 100%;
}

/* Optional: Glow Effect on Hover */
.logo-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(7, 131, 12, 0.1), 
        rgba(52, 152, 219, 0.1), 
        rgba(155, 89, 182, 0.1));
    z-index: -1;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo-container:hover::before {
    opacity: 1;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(7, 131, 12, 0.2);
    }
    to {
        box-shadow: 0 0 15px rgba(7, 131, 12, 0.4);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo img {
        width: 60px;
        height: 60px;
    }
    
    .foundation-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .foundation-name {
        font-size: 1rem;
    }
}