/* Global Styles */
:root {
    --primary-color: #803300;
    --secondary-color: #FFF8ED;
    --accent-color: #FF9966;
    --dark-color: #9d0101;
    --light-color: #fff;
    --gray-color: #f5f5f5;
    --text-color: #555;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

section {
    padding: 80px 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #6a2b00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles - Enhanced */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    width: 200px;
    height: auto;
    margin-right: 10px;
}

.logo img:hover {
    width: 220px;
    transition: width 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

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

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

/* Hero Section - Enhanced */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    display: flex;
    align-items: center;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: var(--light-color);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px 20px;
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* About Section - Enhanced */
.founder-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.founder-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

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

.founder-story {
    flex: 1;
    padding: 20px;
}

.founder-story h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.founder-story h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.founder-story p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.mission-vision {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.mission, .vision {
    flex: 1;
    padding: 30px;
    background-color: var(--secondary-color);
    border-color: rgba(255, 153, 102, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission h3 i, .vision h3 i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Donation Section - Enhanced */
.donation-section {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 153, 102, 0.1);
    border-radius: 50%;
}

.donation-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 153, 102, 0.1);
    border-radius: 50%;
}

.donation-section .container {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.donation-form {
    flex: 1;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donation-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 153, 102, 0.2);
}

.donation-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.donation-message h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.donation-message p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.program-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.program-card:hover h3 {
    color: var(--accent-color);
}

.program-card p {
    color: var(--text-color);
}

/* Join Us Section - Enhanced */
.join-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.join-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.join-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.join-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.join-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.join-card:hover .join-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: rotateY(180deg);
}

.join-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.join-card:hover h3 {
    color: var(--accent-color);
}

.join-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Our Partners Section */
.partners-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}
.partners-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.partner-logo {
    max-width: 100%; /* Maximum width for larger screens */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.partner-logo p {
    text-align: normal;
    margin-top: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 30px 10px 10px 20px;

}
.partner-logo:hover {
    transform: translateY(-5px);
}
.partner-logo img {
    width: 25%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    float: left;
    margin: 20px 20px 20px 20px;
}
.partner-logo:hover img {
    transform: scale(1.05);
}


/* Success Stories Section Styles */
.stories-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Adjust as needed */
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333; /* Adjust color as needed */
  }
  
  .stories-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .story {
    flex: 1 1 300px; /* Flexible basis with minimum width of 300px */
    max-width: 400px; /* Maximum width for larger screens */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .story:hover {
    transform: translateY(-5px);
  }
  
  .story-content {
    padding: 25px;
  }
  
  .story-author h4 {
    margin: 0 0 15px 0;
    color: #2c3e50; /* Adjust color as needed */
    font-size: 1.2rem;
  }
  
  .story-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .read-more {
    display: inline-block;
    color: #e74c3c; /* Adjust color as needed */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .read-more:hover {
    color: #c0392b; /* Darker shade for hover */
  }

/* Team Section - Enhanced */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    
}

/* Team Member Styles */
.team-member {
    text-align: center;
    background-color: var(--light-color);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--secondary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

/* Gallery Section */
.gallery-section {
    background-color: var(--secondary-color);
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.slide-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    padding: 0 60px;
}

.gallery-slide {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    transition: all 0.5s ease;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.gallery-slide.active {
    transform: scale(1.1);
    z-index: 2;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
}

.slider-controls button {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* Blog Section */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

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

.post-content {
    padding: 20px;
}

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

.post-meta {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.post-content p {
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.view-all {
    text-align: center;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
}

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

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}

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

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

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

.contact-form {
    flex: 1;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-about h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-about p {
    opacity: 0.8;
}

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

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

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

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

.footer-links a {
    color: var(--light-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-newsletter {
    flex: 2;
    min-width: 300px;
}

.footer-newsletter h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .founder-section {
        flex-direction: column;
    }
    
    .donation-section .container,
    .contact-container {
        flex-direction: column;
    }
    
    .donation-message {
        margin-top: 40px;
    }
    
    .gallery-slide {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .gallery-slide {
        min-width: calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

}

/*Story responsiveness*/

@media (max-width: 1024px) {
    .stories-slider {
      gap: 20px;
    }
    
    .story {
      flex: 1 1 45%; /* Two columns on tablets */
    }
  }
  
  @media (max-width: 768px) {
    .stories-section {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }
    
    .story {
      flex: 1 1 100%; /* Single column on smaller tablets */
      max-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .stories-section {
      padding: 30px 15px;
    }
    
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 25px;
    }
    
    .story-content {
      padding: 20px;
    }
    
    .story-author h4 {
      font-size: 1.1rem;
    }
  }