/* ===== Global Styles ===== */
:root {
  --primary-color: #245224;
  --secondary-color: #E0AB3D;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --black: #000;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-outline-primary {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
  padding: 120px 0 80px;
  background-color: var(--light-color);
}

.hero-content {
  padding-right: 30px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p.lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.hero-buttons .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  width: 50%;
  height: 10px;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}
.img{
width: 50%;
}
/* ===== Impact Stats ===== */
.impact-stats {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1.1rem;
  color: var(--light-color);
}

/* ===== Mission Section ===== */
.mission-section {
  padding: 80px 0;
}

.mission-video {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.mission-tabs .nav-tabs {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 20px;
}

.mission-tabs .nav-link {
  color: var(--text-light);
  font-weight: 600;
  border: none;
  padding: 12px 25px;
}

.mission-tabs .nav-link.active {
  color: var(--secondary-color);
  background-color: transparent;
  border-bottom: 3px solid var(--secondary-color);
}

.mission-tabs .tab-content {
  padding: 20px 0;
}

/* ===== Programs Section ===== */
.programs-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.program-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.program-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
}

.read-more i {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.read-more:hover i {
  margin-left: 10px;
}

/* ===== Success Story ===== */
.success-story {
  padding: 80px 0;
  background-color: var(--white);
}

.story-content {
  padding-left: 30px;
}

.story-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.story-content blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-color);
  border-left: 4px solid var(--secondary-color);
  padding-left: 20px;
  margin-bottom: 20px;
}

.story-meta {
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== Donation CTA ===== */
.donation-cta {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.donation-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.donation-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* ===== Team Section ===== */
.team-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.team-member {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 100%;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.member-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* ===== Volunteer Section ===== */
.volunteer-section {
  padding: 80px 0;
  background-color: var(--white);
}

.volunteer-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.volunteer-section p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.volunteer-benefits {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.volunteer-benefits li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.volunteer-benefits i {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.volunteer-form {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.volunteer-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.form-control {
  height: 50px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 120px;
}

/* ===== Partners Section ===== */
.partners-section {
  padding: 60px 0;
  background-color: var(--light-color);
}

.partner-item {
  text-align: center;
  padding: 20px;
}

.partner-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.newsletter-section h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.newsletter-section p {
  opacity: 0.9;
  margin-bottom: 0;
}

.newsletter-form .form-control {
  height: 50px;
  border-radius: 4px 0 0 4px;
  border: none;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-legal h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 255);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
.legal a{
    
        text-decoration: none;
        color: white;
}
.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
  margin-top: 4px;
}

.footer-bottom {
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 80px 0 40px;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .mission-section,
  .programs-section,
  .success-story,
  .team-section,
  .volunteer-section {
    padding: 60px 0;
  }
  
  .story-content {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .donation-cta .text-lg-right {
    text-align: left !important;
    margin-top: 20px;
  }
  
  .footer {
    padding: 60px 0 0;
  }
  
  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-legal {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .stat-item {
    margin-bottom: 30px;
  }
  
  .volunteer-form {
    padding: 20px;
  }
}
/* About Page Specific Styles */
.about-hero {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.about-hero h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-hero .lead {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* Crisis Statistics */
.crisis-stats {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.crisis-stats .section-header h2 {
    color: white;
}

.crisis-stats .section-header h2::after {
    background-color: var(--secondary-color);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin: 15px 0;
}

.stat-card p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stat-card small {
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Our Story Section */
.our-story {
    padding: 80px 0;
    background-color: white;
}

.our-story h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.founder-quote {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-left: 4px solid var(--secondary-color);
}

.founder-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.founder-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Approach Section */
.approach-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.approach-card {
    margin-bottom: 30px;
}

.approach-card img {
    border-radius: 8px;
    margin-bottom: 20px;
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.approach-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background-color: white;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.impact-text {
    font-size: 1.1rem;
    color: var(--text-color);
}

.impact-image {
    margin-top: 50px;
    position: relative;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.partner-logos img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* About CTA */
.about-cta {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.about-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}