:root {
  --header: #311448;
  --purple-dark: #4b1f6f;
  --purple-mid: #6a3a91;
  --purple-soft: #d8c8e8;
  --purple-light: #efe7f6;
  --white: #ffffff;
  --gray: #555;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

p {
  font-size: large;
}

ul {
  font-size: large;
  margin-left: 40px;
}

body {
  background: var(--white);
  color: var(--gray);
  line-height: 1.6;
}

/* =========================
   CAROUSEL
========================= */
.carousel-container {
  width: 100%;
  max-width: 600px;
  height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin: 20px auto;
  background: #f8f9fa;
}

.carousel-inner {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.caption-container {
  height: 80px;
  background: rgba(0,0,0,0.85);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.caption {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease-in-out;
}

#slide1:checked ~ .carousel-container .carousel-slide {
  transform: translateX(0%);
}

#slide1:checked ~ .carousel-container .caption-container .caption:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
}

#slide2:checked ~ .carousel-container .carousel-slide {
  transform: translateX(-100%);
}

#slide2:checked ~ .carousel-container .caption-container .caption:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
}

#slide3:checked ~ .carousel-container .carousel-slide {
  transform: translateX(-200%);
}

#slide3:checked ~ .carousel-container .caption-container .caption:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
}

#slide4:checked ~ .carousel-container .carousel-slide {
  transform: translateX(-300%);
}

#slide4:checked ~ .carousel-container .caption-container .caption:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
}

.nav-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover { background: #666; }

input[type="radio"] {
  display: none;
}

#slide1:checked ~ .nav-dots .dot:nth-child(1),
#slide2:checked ~ .nav-dots .dot:nth-child(2),
#slide3:checked ~ .nav-dots .dot:nth-child(3),
#slide4:checked ~ .nav-dots .dot:nth-child(4) {
  background: #333;
  transform: scale(1.2);
}

/* =========================
   HERO
========================= */

.hero {
  background: var(--header);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  position: sticky;
  top: 0;
  height: auto;
  z-index: 100;
  width: 100%;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

/* =========================
   SHARED FIELD BACKGROUND
========================= */

.shared-field {
  position: relative;
  padding: 3rem 1rem;
  overflow: hidden;
  background: linear-gradient(
    to right,
    var(--purple-mid),
    var(--purple-dark)
  );
}

/* SINGLE ANGLED DECORATION (NO SEAMS) */
.shared-field::before {
  content: "";
  position: absolute;
  inset: -2px; /* prevents thin gaps */
  background: linear-gradient(
    to bottom,
    var(--purple-soft),
    var(--purple-light)
  );
  clip-path: polygon(18% 0, 85% 0, 65% 100%, 0% 100%);
  z-index: 1;
}

/* CONTENT LAYER */
.content-layer {
  position: relative;
  z-index: 10;
}

/* =========================
   ABOUT BOX
========================= */

.about-box {
  max-width: 1100px;
  margin: 0 auto 6rem;
  background: var(--white);
  border-radius: 28px;
  padding: 4rem 4.5rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: stretch;
  min-height: 500px;
}

.about-image {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
  color: var(--purple-mid);
  margin-bottom: 1.5rem;
}

.about-text p {
  max-width: 520px;
  margin-bottom: 1.2rem;
}

/* =========================
   PLATFORM BOX
========================= */

.platform-box {
  max-width: 1000px;
  margin: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 3.5rem 4rem;
  border-left: 6px solid var(--purple-mid);
  border-right: 6px solid var(--purple-dark);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.platform-box h2 {
  margin-bottom: 2rem;
}

/* =========================
   ACCORDION (CSS ONLY)
========================= */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion input {
  display: none;
}

.accordion label {
  background: var(--white);
  padding: 1.2rem 1.6rem;
  border-radius: 14px;
  font-weight: bold;
  color: var(--purple-mid);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.accordion label:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.arrow {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.accordion .content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  transition: max-height 0.35s ease;
}

.accordion input:checked + label + .content {
  max-height: 1000px;
  padding: 1rem 1.6rem 1.4rem;
}

.accordion input:checked + label .arrow {
  transform: rotate(90deg);
}

/* =========================
   CTA
========================= */

.cta {
  text-align: center;
  padding: 5rem 3rem;
}

.cta h2 {
  color: var(--purple-mid);
  margin-bottom: 1.5rem;
}

.cta-button {
  background: var(--purple-mid);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 2rem;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 3rem;
}

.cta-button:hover {
  opacity: 0.9;
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--purple-dark);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  p {
    font-size: small;
  }

  ul {
    font-size: small;
    margin-left: 20px;
  }


  .about-content {
    grid-template-columns: 1fr;
  }

  .about-box,
  .platform-box {
    padding: 3rem 2rem;
  }

  /* REMOVE ANGLED DECORATION */
  .shared-field::before {
    display: none;
  }

  /* 👇 NEW: LIGHTER MOBILE BACKGROUND */
  .shared-field {
    background: linear-gradient(
      to bottom,
      var(--purple-light),
      var(--white)
    );
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  /* =========================
    HERO
  ========================= */

  .hero {
    background: var(--header);
    color: var(--white);
    padding: 3rem 2rem;
    padding-top: 4rem;
    text-align: center;
    position: sticky;
    top: 10px;
    height: auto;
    z-index: 100;
    width:auto;
  }

  .hero h1 {
    width:100%;
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  /* =========================
    SHARED FIELD BACKGROUND
  ========================= */

  /* CONTENT LAYER */
  .content-layer {
    position: relative;
    z-index: 10;
  }

  /* =========================
    ABOUT BOX
  ========================= */


  .about-image {
    border-radius: 16px;
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }

  .about-text h2 {
    color: var(--purple-mid);
    margin-bottom: 1.5rem;
  }

  .about-text p {
    max-width: 520px;
    margin-bottom: 1.2rem;
  }

  /* =========================
    PLATFORM BOX
  ========================= */

  .platform-box h2 {
    margin-bottom: 2rem;
  }

  /* =========================
    ACCORDION (CSS ONLY)
  ========================= */

  .accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .accordion input {
    display: none;
  }

  .accordion label {
    background: var(--white);
    padding: 1.2rem 1.6rem;
    border-radius: 14px;
    font-weight: bold;
    color: var(--purple-mid);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
  }

  .accordion label:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  }

  .arrow {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
  }

  .accordion .content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.6rem;
    transition: max-height 0.35s ease;
  }

  .accordion input:checked + label + .content {
    max-height: 1000px;
    padding: 1rem 1.6rem 1.4rem;
  }

  .accordion input:checked + label .arrow {
    transform: rotate(90deg);
  }

  /* =========================
    IMAGE PLACEHOLDER
  ========================= */

  .image-placeholder {
    background: #ddd;
    border-radius: 16px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
  }

  .image-placeholder.tall {
    height: 340px;
  }

  /* =========================
    CTA
  ========================= */

  .cta {
    text-align: center;
    padding: 5rem 3rem;
  }

  .cta h2 {
    color: var(--purple-mid);
    margin-bottom: 1.5rem;
  }

  .cta-button {
    background: var(--purple-mid);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 3rem;
  }

  .cta-button:hover {
    opacity: 0.9;
  }
}
