/* Our Purpose Section Component Styles */

.our-purpose-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background: var(--Tertiary-100, #F6E0DF);
  overflow: hidden;
}

.our-purpose-section-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* Left Content */
.our-purpose-section-content {
  position: absolute;
  left: 378px;
  top: 290px;
  width: 384px;
  max-width: calc(100% - 2rem);
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  z-index: 2;
}

/* Section Title - "Our Purpose" */
.our-purpose-section-title {
  width: 100%;
  text-align: left;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

/* Main Heading */
.our-purpose-section-heading {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}

.our-purpose-heading-part-1 {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 67.2px */
  letter-spacing: -0.96px;
}

.our-purpose-heading-part-2 {
  color: var(--Primary-100, #680144);
  font-family: "Calluna", serif;
  font-size: 52px;
  font-style: italic;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -1.04px;
}

/* Description */
.our-purpose-section-description {
  width: 100%;
  text-align: left;
  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;
}

.our-purpose-section-description p {
  margin: 0;
  padding: 0;
}

.our-purpose-section-description br {
  display: block;
  content: "";
  margin-top: 1em;
}

/* Decorative Element */
.our-purpose-section-decorative {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 288px; /* w-72 = 18rem = 288px */
  height: 208px; /* h-52 = 13rem = 208px */
  z-index: 1;
  overflow: hidden;
}

.our-purpose-section-decorative-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Right Image - 3:4 ratio */
.our-purpose-section-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 542px;
  height: 100%;
  min-height: 100vh;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  z-index: 1;
}

.our-purpose-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Responsive Styles - Large screens (1920px+) */
@media (min-width: 1920px) {
  .our-purpose-section-container {
    max-width: 1440px;
  }

  .our-purpose-section-content {
    left: clamp(340px, 24%, 440px);
    top: clamp(280px, 24vh, 400px);
    width: min(560px, 40%);
    max-width: none;
  }

  .our-purpose-section-image {
    width: min(680px, 50%);
  }

  .our-purpose-section-decorative {
    left: 0;
    bottom: 0;
    width: clamp(288px, 22%, 380px);
    height: clamp(208px, 18vh, 280px);
  }

  .our-purpose-section-title {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .our-purpose-heading-part-1 {
    font-size: 58px;
    letter-spacing: -1.08px;
  }

  .our-purpose-heading-part-2 {
    font-size: 60px;
    letter-spacing: -1.16px;
  }

  .our-purpose-section-description {
    font-size: 25px;
    letter-spacing: -0.4px;
  }
}

/* Responsive - Laptop screens (1280px - 1919px) */
@media (min-width: 1280px) and (max-width: 1919px) {
  .our-purpose-section-content {
    left: 340px;
    top: 250px;
    width: 420px;
  }

  .our-purpose-section-image {
    right: 0;
    width: 480px;
  }

  .our-purpose-section-decorative {
    left: 0;
    bottom: 0;
  }
}

/* Responsive - Desktop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .our-purpose-section-content {
    left: 12%;
    top: 200px;
    width: 50%;
    max-width: 540px;
  }

  .our-purpose-section-image {
    right: 0;
    width: 40%;
    max-width: 500px;
  }

  .our-purpose-section-decorative {
    left: 0;
    bottom: 0;
    width: 200px;
    height: 150px;
  }

  .our-purpose-heading-part-1 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .our-purpose-heading-part-2 {
    font-size: 44px;
    letter-spacing: -0.88px;
  }
}

/* Responsive - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .our-purpose-section {
    min-height: auto;
    height: auto;
    padding: 3rem 0;
  }

  .our-purpose-section-container {
    min-height: auto;
    padding: 0 2rem;
  }

  .our-purpose-section-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0;
  }

  .our-purpose-section-image {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: auto;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
  }

  .our-purpose-section-decorative {
    display: none; /* Hide decorative element on tablet */
  }

  .our-purpose-heading-part-1 {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .our-purpose-heading-part-2 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .our-purpose-section-title,
  .our-purpose-section-description {
    font-size: 16px;
  }
}

/* Responsive - Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .our-purpose-section {
    min-height: auto;
    height: auto;
    padding: 2rem 0;
  }

  .our-purpose-section-container {
    min-height: auto;
    padding: 0 1rem;
  }

  .our-purpose-section-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0;
    gap: 1.5rem;
  }

  .our-purpose-section-image {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
  }

  .our-purpose-section-decorative {
    display: none; /* Hide decorative element on mobile */
  }

  .our-purpose-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .our-purpose-heading-part-1 {
    font-size: 32px;
    line-height: 140%;
    letter-spacing: -0.64px;
  }

  .our-purpose-heading-part-2 {
    font-size: 36px;
    line-height: 110%;
    letter-spacing: -0.72px;
    margin-top: 0.25rem;
  }

  .our-purpose-section-title {
    font-size: 16px;
    letter-spacing: 0.8px;
    text-align: left;
  }

  .our-purpose-section-description {
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.32px;
  }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .our-purpose-section {
    padding: 1.5rem 0;
  }

  .our-purpose-section-container {
    padding: 0 1rem;
  }

  .our-purpose-section-content {
    gap: 1.25rem;
  }

  .our-purpose-heading-part-1 {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  .our-purpose-heading-part-2 {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .our-purpose-section-title {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .our-purpose-section-description {
    font-size: 14px;
    letter-spacing: -0.28px;
  }
}
