body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.partners-wrapper {
  background-color: #f4f4f4;
  color: #2d3a47;
}

.partners-hero {
  background: url('../images/img8.png') center 90% / cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

.partners-hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.partners-hero p {
  font-size: 1.2rem;
  margin-top: 15px;
}

.partners-sec {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.partners-image-text {
  flex: 1 1 50%;
  background: url('../images/img7.png') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  min-height: 400px;
}

.text-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  color: white;
  max-width: 600px;
  text-align: left;
}

.text-overlay h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.text-overlay p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.partners-logos {
  flex: 1 1 50%;
  background-color: #f8f9fa;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 40px;
  align-items: center;
  justify-items: center;
}

.logo-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(0%);
}

.logo-item img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.impact-partnership {
  padding: 60px 20px;
  background-color: #2d3a47;
  text-align: center;
  color: white; 
}

.impact-partnership h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.impact-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  color: #2d3a47;
}

.impact-card:hover {
  transform: translateY(-6px);
}

.impact-card i {
  font-size: 2.5rem;
  color: #006C93;
  margin-bottom: 10px;
}

.impact-card h3 {
  font-size: 2rem;
  margin: 10px 0 5px;
  color: #2d3a47; 
}

.impact-card p {
  font-size: 1rem;
  color: #555;
}

.call-to-action {
  background-color: #FF8200;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.call-to-action h2 {
  font-size: 2rem;
}

.call-to-action p {
  margin: 15px 0;
}

.btn-partners {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: #FF8200;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-partners:hover {
  background: #f2f2f2;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-sec {
    flex-direction: column;
  }

  .partners-image-text,
  .partners-logos {
    flex: 1 1 100%;
  }

  .text-overlay {
    padding: 30px 20px;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .partners-logos {
    grid-template-columns: 1fr;
  }
}