/* CSR Initiative Section Styles */
.csr-section {
  position: relative;
  min-height: 600px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
  background: #1b4064 url("../images/globe-dots.webp") no-repeat center top;
}

@media screen and (max-width: 576px) {
  .csr-section {
    padding: 80px 30px;
  }
}

.csr-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50% 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.csr-container {
  position: relative;
  z-index: 2;
}

.csr-header {
  text-align: center;
  margin-bottom: 50px;
}

.csr-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #478ec0 0%, #51b36c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.csr-subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Content Card */
.csr-content-card {
  width: 100%;
  margin: 0 auto 40px auto;
  display: flex;
  align-items: center;
  gap: 40px;
  animation: fadeInUp 0.8s ease forwards;
  box-sizing: border-box;
}

.csr-card-inner {
  display: flex;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}

.csr-logo-section {
  width: 131px;
  height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.csr-logo-image {
  width: 131px;
  height: 134px;
  object-fit: contain;
}

.csr-join-text {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: #d2d5db;
  font-weight: 200;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

.csr-text-section {
  flex: 1;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
}

.csr-content-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 4px;
}

.csr-content-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #f3f4f6;
}

/* Bottom Statement */
.csr-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.csr-statement-text {
  font-size: 20px;
  line-height: 1.6;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.csr-statement-text strong {
  font-weight: 700;
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

.fade-in-section-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 2s ease-in-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .csr-title {
    font-size: 42px;
  }

  .csr-subtitle {
    font-size: 17px;
  }

  .csr-content-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .csr-section {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .csr-title {
    font-size: 36px;
  }

  .csr-subtitle {
    font-size: 16px;
  }

  .csr-content-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .csr-logo-section {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
  }

  .csr-logo-image {
    width: 70px;
    height: 70px;
  }

  .csr-join-text {
    font-size: 13px;
    text-align: left;
  }

  .csr-text-section {
    padding: 0;
  }

  .csr-content-title {
    font-size: 22px;
  }

  .csr-content-description {
    font-size: 14px;
  }

  .csr-statement-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .csr-title {
    font-size: 36px;
  }

  .csr-subtitle {
    font-size: 14px;
  }

  .csr-logo-image {
    width: 60px;
    height: 60px;
  }

  .csr-join-text {
    font-size: 12px;
  }

  .csr-content-title {
    font-size: 20px;
  }

  .csr-statement-text {
    font-size: 16px;
  }
}