* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  --fa-style-family-brands: "Font Awesome 6 Brands";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  /* color: #fff; */
  overflow-x: hidden;
  /* overflow-y:hidden; */
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1)
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5016;
}

.nav-logo i {
  color: #4a7c59;
  margin-right: 10px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #007a5e;
}

.nav-link.active {
  color: #007a5e;
  font-weight: 600;
  border-bottom: 2px solid #007a5e;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    gap: 2rem;
    padding: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 998;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* Hero Section */

.stories-hero {
  background: linear-gradient(135deg, #4a7c59 0%, #2d5016 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.stories-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

/* .stories-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
} */

.hero-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stories-hero .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: block;
  /* grid-template-columns: none; */
}

.stories-hero .hero-content::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.stories-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
  line-height: 1.2;
} */

.stories-hero p {
  font-size: 1.3rem;
  margin-bottom: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .stories-hero {
    padding: 100px 0 60px;
  }

  .stories-hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .stories-hero .hero-content p {
    font-size: 1.1rem;
  }
}

/* Story Intro */

.story-intro {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4a7c59;
  margin-bottom: 2rem;
  line-height: 1.6;
  padding: 80px 0;
  background: #f8faf7;
  border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

.story-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

}

.intro-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;

}

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.intro-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  font-weight: 400;

}

@media (max-width: 768px) {
  .story-intro {
    padding: 60px 0;
  }

  .story-intro h2 {
    font-size: 2rem;
  }

  .story-intro p {
    font-size: 1.1rem;
  }
}

/* Featured Story */

#story-amira,
#story-khalil,
#story-omar {
  scroll-margin-top: 100px;
}

.fs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-image {
  display: flex;
  justify-content: center;
}

.featured-story {
  padding: 100px 0;
  background-color: white;
}

.featured-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
}


.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-text {
  padding: 2rem 0;
}

.featured-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.featured-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-impact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8faf7;
  border-radius: 10px;
  border-left: 4px solid #4a7c59;
}

.impact-item i {
  font-size: 1.5rem;
  color: #4a7c59;
  min-width: 30px;
}

.impact-item span {
  font-weight: 500;
  color: #333;
}

/* Responsive layout */
@media (max-width: 768px) {
  .featured-story {
    padding: 80px 0;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .featured-text {
    padding: 1rem 0;
  }

  .featured-text h2 {
    font-size: 2rem;
  }

  /* .story-impact {
    justify-content: center;
  } */
}


/* Stories Grid */
.stories-grid {
  padding: 100px 0;
  background: #f8faf7;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

#story-amira,
#story-khalil,
#story-omar {
  scroll-margin-top: 100px;
}

.sg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stories-grid .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1rem;
}

.stories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.story-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.story-image {
  height: 200px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

.story-content {
  padding: 2rem;
}


.story-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1rem;
}

.story-category {
  font-weight: bold;
  color: #6c757d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.story-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: #4a7c59;
  border-left: 4px solid #4a7c59;
  padding-left: 1rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.story-author {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

/* Story Grid Responsiveness */

@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .stories-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Impact Numbers */

.impact-numbers {
  padding: 100px 0;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.impact-numbers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="30" r="1" fill="rgba(255,255,255,0.08)"/></svg>');
  opacity: 0.3;
}

.in-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.impact-numbers .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
  position: relative;
  z-index: 2;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.number-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-item:hover {
  transform: translateY(-5px);
}

.number-icon {
  margin-bottom: 1rem;
}

.number-icon i {
  font-size: 3rem;
  color: #fff;
  opacity: 0.9;
}

.number-value {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.number-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Impact Numbers Responsiveness */

@media (max-width: 768px) {

  .impact-numbers,
  .share-story,
  .cta-section {
    padding: 80px 0;
  }

  .impact-numbers .section-title {
    font-size: 2rem;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* Share Story Section */
.share-story {
  padding: 100px 0;
  background: #f8faf7;
}

.ss-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.share-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.share-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
}

.share-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.share-options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.ssbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.ssbtn-primary {
  background: linear-gradient(45deg, #4a7c59, #2d5016);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.ssbtn-primary:hover {
  transform: translateY(-3px);
}

.ssbtn-secondary {
  background: white;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.ssbtn-secondary:hover {
  background-color: #4a7c59;
  color: #fff;
}

/* Share Your Story Responsiveness */
@media (max-width: 768px) {
  .share-story {
    padding: 80px 0;
  }

  .share-content h2 {
    font-size: 2rem;
  }

  .share-options {
    flex-direction: column;
    align-items: center;
  }
}



/* CTA Section */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #4a7c59 0%, #2d5016 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 Q50,30 100,0 L100,20 Q50,50 0,20 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  /* line-height: 1.8;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.95); */
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.ctabtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* .btn i {
  font-size: 1rem;
} */

/* Primary */
.ctabtn-primary {
  background: linear-gradient(45deg, #4a7c59, #2d5016);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.ctabtn-primary:hover {
  transform: translateY(-3px);
}

/* Secondary */
.ctabtn-secondary {
  background: white;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.ctabtn-secondary:hover {
  background-color: #4a7c59;
  color: white;
}

/* Large Button Modifier */
.ctabtn-large {
  padding: 18px 35px;
  font-size: 1.1rem;
}

/* CTA Mobile Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 80px 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ctabtn-large {
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
}




/* Footer */

.footer {
  background: #1a1a1a;
  color: white;
  padding: 80px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #4a7c59;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* .footer-section h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #00b894;
  margin-top: 8px;
} */

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo i {
  margin-right: 10px;
  color: #4a7c59;
}

.fa-hands-helping:before,
.fa-handshake-angle:before {
  content: "\f4c4";
}

/* .footer p {
  line-height: 1.6;
  font-size: 14px;
  color: white;
} */

.footer-section ul {
  list-style: none;
  /* padding: 0; */
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4a7c59;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  color: white;
}

/* .contact-info i {
  margin-right: 10px;
  color: #00b894;
} */

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* .footer-bottom-content p {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
} */

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  color: #4a7c59;
}

/* Footer Responsiveness */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Scroll To The Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgb(74, 124, 89);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.3s;
  pointer-events: none;
}