/* SDA Funding Section Component Styles */

.sda-funding-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--Tertiary-40, #FBF3F2);
}

.sda-funding-section-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sda-funding-section-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

/* Left side: Content with Primary-100 background */
.sda-funding-section-left {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  background: var(--Primary-100, #680144);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.sda-funding-section-left-inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Title */
.sda-funding-section-title {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  /* align-items: center; */
}

.sda-funding-section-title-part-1 {
  color: var(--Tertiary-100, #F6E0DF);
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 67.2px */
  letter-spacing: -0.96px;
}

.sda-funding-section-title-part-2 {
  color: var(--Tertiary-100, #F6E0DF);
  font-family: Calluna, serif;
  font-size: 52px;
  font-style: italic;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -1.04px;
}

/* Card */
.sda-funding-section-card {
  width: 80%;
  max-width: 480px;
  background: var(--Secondary-40, #F9C5C3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.sda-funding-section-card-title {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  margin: 0;
  padding: 0;
}

/* List */
.sda-funding-section-list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sda-funding-section-list-item {
  position: relative;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  padding-left: 2.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: transform 0.3s ease, padding-left 0.3s ease;
}

.sda-funding-section-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 24px;
  height: 24px;
  background: var(--Primary-100, #680144);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), background 0.3s ease;
  animation: checkmarkReveal 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.sda-funding-section-list-item:nth-child(1)::before {
  animation-delay: 0.1s;
}

.sda-funding-section-list-item:nth-child(2)::before {
  animation-delay: 0.2s;
}

.sda-funding-section-list-item:nth-child(3)::before {
  animation-delay: 0.3s;
}

.sda-funding-section-list-item:nth-child(4)::before {
  animation-delay: 0.4s;
}

.sda-funding-section-list-item:nth-child(5)::before {
  animation-delay: 0.5s;
}

.sda-funding-section-list-item::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%) translateX(-2px) rotate(45deg) scale(0);
  width: 6px;
  height: 12px;
  border-right: 3px solid var(--Secondary-40, #F9C5C3);
  border-bottom: 3px solid var(--Secondary-40, #F9C5C3);
  border-radius: 0 0 2px 0;
  animation: checkmarkDraw 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.3s;
}

.sda-funding-section-list-item:nth-child(1)::after {
  animation-delay: 0.4s;
}

.sda-funding-section-list-item:nth-child(2)::after {
  animation-delay: 0.5s;
}

.sda-funding-section-list-item:nth-child(3)::after {
  animation-delay: 0.6s;
}

.sda-funding-section-list-item:nth-child(4)::after {
  animation-delay: 0.7s;
}

.sda-funding-section-list-item:nth-child(5)::after {
  animation-delay: 0.8s;
}

.sda-funding-section-list-item:hover {
  transform: translateX(4px);
  padding-left: 2.75rem;
}

.sda-funding-section-list-item:hover::before {
  background: var(--Primary-80, #8B1A5F);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(104, 1, 68, 0.3);
}

@keyframes checkmarkReveal {
  0% {
    transform: translateY(-50%) scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-50%) scale(1.2) rotate(10deg);
  }
  100% {
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes checkmarkDraw {
  0% {
    transform: translateY(-50%) translateX(-2px) rotate(45deg) scale(0);
    opacity: 0;
  }
  50% {
    transform: translateY(-50%) translateX(-2px) rotate(45deg) scale(1.2);
  }
  100% {
    transform: translateY(-50%) translateX(-2px) rotate(45deg) scale(1);
    opacity: 1;
  }
}

/* Contact Link */
.sda-funding-section-contact {
  width: 100%;
  margin-top: 0.5rem;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
}

.sda-funding-section-contact-link {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.sda-funding-section-contact-link:hover {
  opacity: 0.8;
}

/* Right side: Image */
.sda-funding-section-right {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f0f0f0;
}

.sda-funding-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sda-funding-section-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--Primary-100, #680144);
  opacity: 0.1;
}

/* Responsive Styles - Large screens (no max-width) */
@media (min-width: 1440px) {
  .sda-funding-section-container {
    max-width: none;
  }
}

/* Responsive Styles - Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .sda-funding-section-left {
    padding: 2rem 1.5rem;
  }

  .sda-funding-section-left-inner {
    max-width: 500px;
  }

  .sda-funding-section-card {
    max-width: 400px;
  }

  .sda-funding-section-title-part-1 {
    font-size: 42px;
    letter-spacing: -0.84px;
  }

  .sda-funding-section-title-part-2 {
    font-size: 46px;
    letter-spacing: -0.92px;
  }
}

/* Responsive Styles - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .sda-funding-section {
    min-height: auto;
    height: auto;
  }

  .sda-funding-section-content {
    flex-direction: column;
  }

  .sda-funding-section-left {
    width: 100%;
    flex: none;
    min-height: 60vh;
    padding: 2rem 1.5rem;
  }

  .sda-funding-section-left-inner {
    max-width: 600px;
    gap: 1.5rem;
  }

  .sda-funding-section-right {
    width: 100%;
    flex: none;
    height: 50vh;
    min-height: 400px;
  }

  .sda-funding-section-title-part-1 {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .sda-funding-section-title-part-2 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .sda-funding-section-card {
    padding: 20px;
    max-width: 100%;
  }

  .sda-funding-section-card-title,
  .sda-funding-section-list-item {
    font-size: 16px;
    letter-spacing: -0.32px;
  }

  .sda-funding-section-contact,
  .sda-funding-section-contact-link {
    font-size: 16px;
    letter-spacing: -0.32px;
  }
}

/* Responsive Styles - Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .sda-funding-section {
    min-height: auto;
    height: auto;
  }

  .sda-funding-section-content {
    flex-direction: column;
  }

  .sda-funding-section-left {
    width: 100%;
    flex: none;
    min-height: auto;
    padding: 2rem 1rem;
  }

  .sda-funding-section-left-inner {
    max-width: 100%;
    gap: 1.5rem;
  }

  .sda-funding-section-right {
    width: 100%;
    flex: none;
    height: 50vh;
    min-height: 300px;
  }

  .sda-funding-section-title-part-1 {
    font-size: 28px;
    letter-spacing: -0.56px;
    line-height: 130%;
  }

  .sda-funding-section-title-part-2 {
    font-size: 32px;
    letter-spacing: -0.64px;
    line-height: 110%;
  }

  .sda-funding-section-card {
    padding: 20px;
    gap: 0.875rem;
    max-width: 100%;
  }

  .sda-funding-section-card-title,
  .sda-funding-section-list-item {
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 140%;
  }

  .sda-funding-section-contact,
  .sda-funding-section-contact-link {
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 140%;
  }

  .sda-funding-section-list {
    gap: 0.625rem;
  }
}
