:root {
  --primary-color: #27548a;
  --secondary-color: #ffffff;
}

/* Animation Classes */
.fade-in-left,
.fade-in-right,
.fade-in-up {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/* Page Content Animation */
.page-content {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

/* About Section Styles */
.about {
  margin-top: 10vh;
  background-color: var(--secondary-color);
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

/* .about.fade-in-left {
  transition-delay: 0.4s;
} */

.about-banner {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.4s;
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.6));
}

.about-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
  z-index: 1;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.6s;
}

.about-text {
  text-align: center;
}

.about-title h1 {
  /* font-size: 48px; */
  color: var(--secondary-color);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-detail p {
  /* font-size: 20px; */
  line-height: 1.8;
  color: var(--secondary-color);
  /* margin-bottom: 30px; */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  width: 100%;
  text-align: center;
}

/* Section Vision */
.vision {
  padding: 80px 0;
  background-color: var(--secondary-color);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.8s;
}

.vision-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.vision-img {
  flex: 1;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1s;
}

.vision-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

.vision-title {
  font-size: 60px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 30px;
}

.vision-content {
  font-size: 24px;
  line-height: 1.8;
  color: var(--primary-color);
}

/* .vision-content li {
  text-decoration: none;
  marker: none;
} */

/* .vision-content li::before {
  content: "✓";
} */

/* More Info Section */
.more-info {
  padding: 80px 0;
  background-color: #f8f9fa;
  /* Example background if image doesn't cover */
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.4s;
}

.img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.6s;
}

.img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  /* Use height: auto for responsiveness */
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.793);
  /* Dark overlay */
}

.info-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  /* Default width, adjusted in responsive CSS */
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.8s;
}

.info-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
}

.info-detail {
  font-size: 18px;
  line-height: 1.6;
}

.more-info-hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-hero {
  background-color: var(--primary-color);
  padding: 4rem 0;
}

.sub-hero h2 {
  color: var(--third-color);
  font-weight: bold;
  font-size: 3rem;
  padding: 0 20px;
}

.sub-hero h3 {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.partnership-grid {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1s;
}

.partnership-card {
  height: 250px;
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
}

.partnership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partnership-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.partnership-card h2 {
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* Process Section Styles */
.process {
  padding: 4rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.process h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 auto 3rem;
  text-align: center;
  width: 75%;
}

.partnership-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 20px;
  display: flex;
  justify-content: space-between;
}

.partnership-card {
  height: 250px;
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.partnership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.partnership-card .icon {
  font-size: 3rem;
  margin: 2rem 0;
  color: var(--secondary-color) !important;
}

.partnership-card h2 {
  font-size: 1.2rem;
  margin: 0;
  padding: 0 1rem;
  line-height: 1.4;
  text-align: center;
  width: 100%;
  color: var(--secondary-color) !important;
}

.free-offer {
  background-color: var(--third-color);
  padding: 4rem 0;
}

.free-offer h2 {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 3rem;
  padding: 0 20px;
}

/* Responsive styles for process section */
@media (max-width: 992px) {
  .process h2 {
    font-size: 2rem;
  }

  .partnership-card {
    height: 200px;
  }

  .partnership-card .icon {
    font-size: 2.5rem;
    margin: 1.5rem 0;
  }

  .partnership-card h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .process h2 {
    font-size: 1.5rem;
  }

  .partnership-card {
    height: 180px;
  }

  .partnership-card .icon {
    font-size: 5rem;
    margin: 1rem 0;
  }

  .partnership-card h2 {
    font-size: 0.9rem;
  }
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}