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

body {
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
  overflow-x: hidden;
}

/* Utility Styles */
:root {
  --blue-color: #3b82f6;
  --green-color: #8dc63f;
  --white-color: #ffffff;
  --black-color: #424242;
}

.blue {
  color: #3b82f6;
}

.green {
  color: #8dc63f;
}

.small-text {
  font-size: 13px;
}

.midle-text {
  font-size: 16px;
}

.pad {
  width: 150px;
}

.hover-black:hover {
  color: #ffffff;
  background: var(--black-color);
  text-align: center;
  width: 150px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: none;
}

.black-btn {
  color: #ffffff;
  background: var(--black-color);
  text-align: center;
  width: 80px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: none;
}

.green-btn {
  color: #ffffff;
  background: var(--green-color);
  text-align: center;
  width: 100px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: 1px solid #c5c5c5;
}

.hover-green:hover {
  color: #ffffff;
  background: var(--green-color);
  text-align: center;
  width: 160px;
  padding: 20px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: 1px solid #c5c5c5;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

/* Banner Style */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eee;
  padding: 5px 0;
}

.ban-para-flag {
  display: flex;
  gap: 17px;
  padding: 12px;
  color: #1c1c1c;
  align-items: center;
  text-align: center;
}

.flag {
  width: 30px;
}

.ban-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-btn {
  color: var(--white-color);
  background: var(--blue-color);
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: 2px solid var(--green-color);
  cursor: pointer;
}

.secondary-btn {
  color: #1c1c1c;
  background: var(--white-color);
  text-align: center;
  width: 80px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.2px;
  border: 1px solid #c5c5c5;
  cursor: pointer;
}

/* Header Style */
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  background: #f7f7f7;
  position: relative;
}

.com-logo {
  width: 200px;
}

.nav-bar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style-type: none;
}

.nav-links li a {
  text-decoration: none;
  font-size: 15px;
  color: #6d6d6d;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--green-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100;
}

/* Hero Section */
.hero {
  padding: 40px 0;
  background-color: #ffffff;
  background-image: url("./assets/small\\ buble.png");
  background-repeat: no-repeat;
  background-position: right top;
}

.hero.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-content h1 {
  font-size: 38px;
  font-family: sans-serif;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-content h3 {
  margin-bottom: 15px;
  font-size: 25px;
}

.hero-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
}

.learn-more {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 14px;
  padding: 13px 30px;
  font-weight: 400;
  color: #424242;
  background-color: #ffffff;
  border: 1px solid #424242;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.learn-more:hover {
  background-color: #f5f5f5;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-circle img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}

/* Donate Section */
.donation-section {
  width: 100%;
}

.donate-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 30px 15px;
  background-color: #f0fcdb;
  flex-wrap: wrap;
  gap: 15px;
}

.search-input {
  display: flex;
  gap: 0;
  text-align: center;
  margin-right: 15px;
}
.padd{
  width: 120px;
}

.search-options {
  display: flex;
}

.min-width {
  min-width: 90px;
}

/* Big Images Section */
.big-img {
  margin: 40px 0;
  padding: 0 15px;
  display: flex;
  gap: 20px;
}

.big-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.iamge-1,
.image-2 {
  flex: 1;
}

/* Services Section */
.services {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
  color: #161616;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--green-color);
}

.services-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 15px;
}

.service-card {
  text-align: center;
  padding: 20px;
  height: auto;
  min-height: 120px;
  width: 200px;
  color: #000000;
  background-color: #f0fcdb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 16px;
  color: #1f1f1f;
}

/* Projects Section */
.projects {
  padding: 60px 0;
}

.projects-flex {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.project-card-1,
.project-card-2 {
  position: relative;
  width: 30%;
  min-width: 280px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.project-card-1 {
  background-image: url("assets/asset\ 14.jpeg");
}

.project-card-2 {
  background-image: url("assets/asset\ 15.jpeg");
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  color: #ffffff;
  background-color: rgba(22, 22, 22, 0.7);
  text-align: center;
}

.project-overlay h3 {
  font-size: 18px;
  margin: 0;
}

.project-btn {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
}

.project-btn div {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 auto;
}

/* Other Projects */
.other-projects {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.other-projects-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 0 15px;
}
.other-projects-image {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
  min-height: 500px;
  background-image: url("./assets/other-project-img.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 20px 0 0 0;
  overflow: hidden;
}

/* Overlay Grid */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

/* Grid cells */
.grid-box {
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  padding: 20px;
  text-align: center;
}

/* Green background and white text on top-left */
.top-left {
  background-color: var(--green-color);
  color: var(--white-color);
  border-radius: 20px 0 0 0;
}



.other-projects-info {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.section-title-p {
  font-size: 32px;
  color: #1d1d1d;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title-p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--green-color);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.project-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.project-icon {
  flex-shrink: 0;
  width: 50px;
}

.project-details h3 {
  margin-bottom: 10px;
  color: var(--blue-color);
}

.project-details p {
  font-size: 14px;
  color: #1d1d1d;
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 60px 15px;
  color: white;
}

.stats-flex {
  display: flex;
  background-color: #0071bc;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
  padding: 20px 10px;
}

.stat-icon {
  background: var(--white-color);
  padding: 20px;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.stat-info p {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.stat-info p:last-child {
  font-size: 14px;
  font-weight: normal;
  opacity: 0.8;
  margin-top: 5px;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.testimonial-content {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  margin: 0 15px 30px;
}

.testimonial-image {
  flex: 0 0 100px;
  margin-right: 30px;
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-color);
}

.testimonial-info h3 {
  margin-bottom: 5px;
  color: #030303;
  font-size: 20px;
}

.testimonial-title {
  color: #666;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 14px;
}

.testimonial-text {
  font-style: italic;
  color: #505050;
  line-height: 1.6;
}

/* Media Updates Section */
.media-updates {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.media-flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 15px;
}

.media-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

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

.media-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-card:hover .media-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
  margin-left: 5px;
}

.media-info {
  padding: 20px;
}

.media-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #333;
}

.media-info p {
  font-size: 12px;
  color: #666;
}

/* News Section */
.news {
  padding: 60px 0;
}

.news-flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 15px;
}

.news-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.news-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img {
  transform: scale(1.05);
}

.news-info {
  padding: 20px;
}

.news-info .green-btn {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 12px;
}

.news-info h3 {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #333;
}

.icon-arrow {
  display: inline-block;
  padding: 5px;
  width: 25px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
  background-image: url('./assets/bgimage\ in\ call\ action\ section.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 15px;
  background-color: #0071bc;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

.cta-color {
  color: #ffffff;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}

.newsletter-form input {
  padding: 15px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 16px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  padding: 15px;
  font-weight: 600;
  font-size: 16px;
  color: #424242;
  background-color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #f0f0f0;
}

/* Footer */
footer {
  background-color: #424242;
  color: white;
  padding: 60px 15px 20px;
}

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

.footer-logo {
  flex: 1;
  min-width: 250px;
}

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

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

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

.social-icons a:hover {
  background-color: var(--green-color);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

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

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--green-color);
}

.footer-column ul {
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  list-style-type: none;
}

.footer-column ul li a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--green-color);
}

.footer-column p {
  color: #ccc;
  margin-bottom: 10px;
  font-size: 14px;
}

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

.copyright {
  color: #ccc;
  font-size: 14px;
}

/* RESPONSIVE STYLES */

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h3 {
    font-size: 22px;
  }

  .big-img {
    padding: 0 15px;
  }

  .service-card {
    width: 180px;
  }

  .project-card-1,
  .project-card-2 {
    width: 45%;
  }

  .other-projects-image {
    max-width: 600px;
  }

  .media-flex,
  .news-flex {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    padding: 60px 30px 20px;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .hero.container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    order: 2;
    margin-top: 30px;
  }

  .hero-image {
    order: 1;
  }

  .hero-content h1,
  .hero-content h3,
  .hero-content p {
    margin-right: 0;
  }

  .hero-content p {
    margin-left: 0;
  }

  .learn-more {
    margin: 0 auto;
  }

  .donate-box {
    flex-direction: column;
    gap: 20px;
  }

  .search-input {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .hover-black,
  .pad {
    width: 100%;
    max-width: 300px;
  }

  .services-flex {
    gap: 20px;
  }

  .service-card {
    width: calc(33.333% - 20px);
    min-width: 150px;
  }

  .project-overlay {
    padding: 15px;
    text-align: center;
  }

  .project-btn div {
    padding: 12px 20px;
  }

  .other-projects-image {
    width: 100%;
    max-width: 100%;
  }

  .boder-1,
  .boder {
    width: 50%;
    padding: 40px 20px;
    height: auto;
  }

  .media-flex,
  .news-flex {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    width: 90%;
  }
}

/* Small Devices (Mobile Landscape) */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .banner {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .ban-para-flag {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ban-btns {
    margin-top: 10px;
  }

  .head {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .com-logo {
    margin-bottom: 15px;
  }

  .nav-bar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px 10px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content h3 {
    font-size: 20px;
  }

  .big-img {
    flex-direction: column;
    gap: 20px;
  }

  .service-card {
    width: calc(50% - 20px);
  }

  .project-card-1,
  .project-card-2 {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .project-overlay {
    padding: 15px 10px;
  }

  .project-btn div {
    padding: 10px 15px;
  }

  .other-projects-image {
    height: 300px;
    border-radius: 10px 10px 0 0;
  }

  

  .stats-flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stat-card {
    width: 100%;
    max-width: 300px;
  }

  .testimonial-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .testimonial-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .media-flex,
  .news-flex {
    grid-template-columns: 1fr;
  }

  .media-card,
  .news-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .newsletter-form button {
    padding: 15px;
  }


  footer {
    padding: 40px 15px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column h3 {
    padding-left: 0;
  }
}

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .ban-para-flag {
    padding: 8px;
  }

  .flag {
    width: 20px;
  }

  .ban-btns {
    gap: 10px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 8px;
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h3 {
    font-size: 18px;
  }

  .hero-image-circle img {
    max-width: 250px;
  }

  .service-card {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .project-overlay {
    padding: 10px;
  }

  .project-btn div {
    padding: 8px 15px;
  }

  .project-item {
    flex-direction: column;
    text-align: center;
  }

  .project-icon {
    margin: 0 auto 15px;
  }

  .stat-icon {
    padding: 15px;
  }

  .testimonial-image img {
    width: 80px;
    height: 80px;
  }

  .cta-color{
    padding-top: 40px;
  }
  
  .newsletter-form{
    padding-bottom: 40px;
  }

  .newsletter-form input {
    padding: 12px;
  }

  .newsletter-form button {
    padding: 12px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }
}
