/* ==========================================================================
   Kohinoor Hook Step Challenge Landing Page — Styles
   Figma: Kohinoor Hook step Challenge LP (1440px frame, 82px side margins)
   ========================================================================== */

:root {
  --maroon: #641712;        /* hero */
  --maroon-2: #5f1828;      /* learn section */
  --maroon-dark: #4d0510;   /* main headings */
  --plum: #6b1c33;          /* eyebrow / subtitles */
  --cream: #ffeebc;         /* page background */
  --prize-dark: #240107;    /* prizes section */
  --rules-bg: #601422;      /* rules section */
  --gold-border: #facc43;   /* video frame border */
  --red-text: #8e0d12;      /* terms heading */
  --red-value: #961400;     /* rules table values */
  --brown: #472607;         /* rules table borders */
  --note-brown: #4c1f0d;    /* steps note pill */
  --footer-dark: #3c0f14;   /* footer */
  --text-dark: #000000;

  --font-base: "Poppins", sans-serif;
  --font-heading: "Crimson Text", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Design content width = 1276px (1440 − 2×82) */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
}

/* ---------- Hero ---------- */

/* Banner: 1440×782 PNG with the Figma cream wave baked in (lifted 3% so the curve never touches the frame edge) */
.hero-section {
  position: relative;
  background-color: var(--cream);
  line-height: 0;
}

.hero-kv {
  display: block;
  width: 100%;
  height: auto;
}

.hero-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-logo-link {
  pointer-events: auto;
}

.hero-wave-mobile {
  display: none;
}

/* Logo: 175×55 at (82, 30) on the 1440×782 frame */
.hero-logo-link {
  position: absolute;
  left: 12px;
  top: 3.8%;
  display: block;
  line-height: 0;
}

.hero-logo {
  width: 175px;
  height: auto;
}

/* ---------- About ---------- */

.about-section {
  background-color: var(--cream);
  padding: 0 0 80px;
  min-height: 545px;
}

.about-container {
  position: relative;
}

/* Person artwork: 739×518, anchored to the content column (Figma: ends 55px past
   the content edge) and starting 55px above the section, inside the hero wave */
.about-person {
  position: absolute;
  top: -3px;
  right: -116px;
  width: 700px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  /* Figma: bottom 39% fades into the cream background */
  -webkit-mask-image: linear-gradient(to bottom, #000 61%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 61%, transparent 100%);
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 756px;
  margin-top: -36px;
}

.about-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
  color: var(--maroon-dark);
  margin-bottom: 4px;
}

.about-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  color: var(--maroon-dark);
  max-width: 500px;
  margin-bottom: 30px;
}

.about-text {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text-bold {
  font-weight: 600;
  line-height: 32px;
  margin-top: 56px;
}

/* ---------- Learn the Hookstep (Figma: 2-column, reel left / copy right) ---------- */

.learn-section {
  background-color: var(--maroon-2);
  background-image: url("../images/learn-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  color: #fff;
}

.learn-grid {
  display: flex;
  align-items: flex-start;
  gap: 88px;
}

.learn-media {
  flex: 0 0 534px;
  width: 534px;
  max-width: 100%;
}

.reel-link {
  display: block;
  line-height: 0;
}

.reel-img {
  display: block;
  width: 100%;
  height: auto;
}

.learn-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.learn-head {
  margin-bottom: 49px;
}

.learn-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 58px;
  color: #fff;
  margin-bottom: 10px;
}

.learn-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
  color: #fff;
  margin: 0;
}

.learn-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  margin-bottom: 40px;
}

.learn-text p {
  margin: 0 0 30px;
}

.learn-text p:last-child {
  margin-bottom: 0;
}

.learn-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.learn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  background-color: #cba03a;
  background-image: linear-gradient(117deg, #cba03a 5.28%, #f9e07f 50.8%, #c99e38 95.14%);
  color: #000;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  padding: 17px 30px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.learn-btn:hover {
  color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.learn-btn-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* Garba dancers line-art under the buttons (Figma: 449×354, 21px below) */
.learn-decor {
  display: block;
  width: 449px;
  max-width: 100%;
  height: auto;
  margin-top: 21px;
  pointer-events: none;
}

/* ---------- How To Participate ---------- */

.participate-section {
  position: relative;
  background-color: var(--cream);
  padding: 80px 0;
  overflow: hidden;
}

.participate-section .container {
  position: relative;
  z-index: 1;
}

/* Hanging diya ornaments (72×549) at the top corners */
.participate-ornament {
  position: absolute;
  width: 72px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.participate-ornament-left {
  left: 46px;
  top: -145px;
}

.participate-ornament-right {
  right: 12px;
  top: -267px;
}

.participate-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 58px;
  color: var(--maroon-dark);
  text-align: center;
  margin-bottom: 30px;
}

/* Desktop (≥1200px): the whole steps block is one Figma export, 1197.65×604 */
.steps-image {
  display: block;
  width: 1197.65px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* HTML steps are used only below 1200px */
.steps-wrap {
  display: none;
  position: relative;
  width: 1197.65px;
  max-width: 100%;
  height: 604px;
  margin: 0 auto;
}

.steps-connector {
  position: absolute;
  left: 0;
  top: 64.9px;
  width: 1197.65px;
  height: 349.17px;
  display: block;
  pointer-events: none;
}

.step {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.step-label {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  text-transform: capitalize;
  margin: 0 0 12px;
}

.step-text {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
}

/* Row 1 (left → right) */
.step-1 { left: 93.08px;  top: 0; width: 240.5px; }
.step-2 { left: 487.58px; top: 0; width: 200px; }
.step-3 { left: 841.58px; top: 0; width: 263px; }
/* Row 2 (right → left) */
.step-4 { left: 963.83px; top: 325.21px; width: 185px; }
.step-5 { left: 576.83px; top: 325.21px; width: 233px; }
.step-6 { left: 192.83px; top: 325.21px; width: 230px; }

.step-1 .step-icon { width: 153.3px; height: 124.7px; margin-bottom: 38px; }
.step-2 .step-icon { width: 114.5px; height: 129.3px; margin-bottom: 35px; }
.step-3 .step-icon { width: 161.8px; height: 133.5px; margin-bottom: 21px; }
.step-4 .step-icon { width: 164.9px; height: 143.7px; margin-bottom: 18px; }
.step-5 .step-icon { width: 141.9px; height: 134.9px; margin-bottom: 18px; }
.step-6 .step-icon { width: 158.5px; height: 139.2px; margin-bottom: 18px; }

.step-1 .step-text { max-width: 236px; }
.step-2 .step-text { max-width: 201px; }
.step-3 .step-text { max-width: 262px; }
.step-4 .step-text { max-width: 153px; }
.step-5 .step-text { max-width: 234px; }
.step-6 .step-text { max-width: 260px; }

.steps-note-wrap {
  text-align: center;
  margin-top: 30px;
}

.steps-note {
  display: inline-block;
  background-color: var(--note-brown);
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 20px 40px;
  border-radius: 30px;
  margin: 0;
}

/* ---------- Exciting Prizes Await ---------- */

.prizes-section {
  position: relative;
  background-color: var(--prize-dark);
  padding: 80px 0;
  overflow: hidden;
}

.prizes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/prizes-bg.jpg") center / cover no-repeat;
  mix-blend-mode: difference;
  pointer-events: none;
}

.prizes-section .container {
  position: relative;
  z-index: 1;
}

.prizes-head {
  max-width: 746px;
  margin: 0 auto 30px;
  text-align: center;
}

.prizes-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  color: #fff;
  margin-bottom: 14px;
}

.prizes-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 48px;
  color: #fff;
  margin: 0;
}

.prizes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.prize-card {
  flex: 0 1 294px;
  max-width: 294px;
}

/* Thin gradient divider between prize cards (Figma: 1.5×192) */
.prize-divider {
  flex: 0 0 auto;
  width: 2px;
  height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prize-divider img {
  display: block;
  width: 2px;
  height: 192px;
}

.prize-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- How Will the Winners Be Selected? ---------- */

.winners-section {
  position: relative;
  background-color: var(--cream);
  padding: 80px 0;
  overflow: hidden;
}

.winners-section .container {
  position: relative;
  z-index: 1;
}

/* Garba line-art peeking in from both bottom corners (319×251) */
.winners-decor {
  position: absolute;
  width: 336px;
  height: auto;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.winners-decor-left {
  left: -181px;
}

.winners-decor-right {
  right: -200px;
}

.winners-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
  color: var(--maroon-dark);
}

.winners-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  color: var(--maroon-dark);
  margin: 0;
}

.winners-points {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 30px;
  line-height: 26px;
  margin: 0;
  max-width: 1140px;
}

.winners-points p {
  margin: 0;
}

.winners-points p + p {
  margin-top: 12px;
}

.criteria-table-wrap {
  border: 1px solid #000;
  border-radius: 30px;
  overflow: hidden;
}

.criteria-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 38px;
  color: var(--maroon-dark);
}

.criteria-table th,
.criteria-table td {
  padding: 10px 24px 10px 75px;
  vertical-align: middle;
  border-bottom: 1px solid #000;
  font-weight: 400;
}

.criteria-table th {
  font-weight: 700;
  height: 66px;
}

.criteria-table td {
  height: 58px;
}

.criteria-table th:first-child,
.criteria-table td:first-child {
  width: 822px;
  border-right: 1px solid #000;
}

.criteria-table th:last-child,
.criteria-table td:last-child {
  padding-left: 160px;
}

.criteria-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Before You Hit Post ---------- */

.rules-section {
  background-color: var(--rules-bg);
  padding: 80px 0;
}

.rules-inner {
  max-width: 1288px;
  margin: 0 auto;
}

.rules-heading {
  font-family: var(--font-heading);
  font-size: 50px;
  line-height: 60px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
}

.rules-accordion {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.rules-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rules-item {
  background-color: rgba(238, 215, 147, 0.85);
  border-radius: 46px;
  overflow: hidden;
  transition: border-radius 0.3s ease;
}

/* Open item uses the softer 30px radius from Figma */
.rules-item:has(.collapse.show),
.rules-item:has(.collapsing) {
  border-radius: 30px;
}

.rules-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  padding: 30px 78px;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 32px;
  font-weight: 400;
  text-transform: capitalize;
  color: #000;
  text-align: left;
  cursor: pointer;
}

.rules-toggle:focus-visible {
  outline: 2px solid var(--red-text);
  outline-offset: -4px;
}

.rules-chevron {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: block;
  transition: transform 0.3s ease;
}

.rules-toggle[aria-expanded="true"] .rules-chevron {
  transform: rotate(180deg);
}

.rules-body {
  padding: 0 78px 30px;
}

/* Figma: 13px between the title row and the table */
.rules-item-first .rules-body {
  margin-top: -17px;
}

.rules-text {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 28px;
  color: #000;
  margin: 0 0 12px;
}

.rules-text:last-child {
  margin-bottom: 0;
}

.rules-list {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 28px;
  color: #000;
  margin: 0 0 12px;
  padding-left: 28px;
}

.rules-list:last-child {
  margin-bottom: 0;
}

.rules-list li + li {
  margin-top: 6px;
}

.rules-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--brown);
  border-radius: 36px;
}

.rules-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-family: var(--font-heading);
}

.rules-table th,
.rules-table td {
  height: 60px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--brown);
  vertical-align: middle;
  white-space: nowrap;
}

.rules-table tr:last-child th,
.rules-table tr:last-child td {
  border-bottom: 0;
}

.rules-table th {
  width: 380px;
  padding-left: 117px;
  border-right: 1px solid #000;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  text-transform: capitalize;
  color: #000;
}

.rules-table td {
  padding-left: 113px;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--maroon-2);
}

/* ---------- Terms & Conditions ---------- */

.terms-section {
  position: relative;
  background-color: var(--cream);
  padding: 80px 0;
  overflow: hidden;
}

/* Garba line-art (239×188) in the bottom-right corner, just above the footer */
.terms-decor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 239px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.terms-inner {
  position: relative;
  z-index: 3;
  max-width: 1276px;
  margin: 0 auto;
}

.terms-heading {
  font-family: var(--font-heading);
  font-size: 50px;
  line-height: 54px;
  font-weight: 700;
  color: var(--red-text);
  margin-bottom: 20px;
}

.terms-list {
  font-family: var(--font-heading);
  margin: 0;
  padding-left: 36px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #000;
}

.terms-list li + li {
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--footer-dark);
  min-height: 96px;
  color: #fff;
  text-align: center;
  padding: 32px 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  text-transform: capitalize;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1399.98px) {
  .criteria-table th:first-child,
  .criteria-table td:first-child {
    width: 64%;
  }

  .criteria-table th:last-child,
  .criteria-table td:last-child {
    padding-left: 80px;
  }
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .participate-ornament-left {
    left: 20px;
  }

  .participate-ornament-right {
    right: 0;
  }

  /* Keep the person's outstretched arm clear of the copy */
  .about-content {
    max-width: 70%;
  }

  .about-text-bold{
    margin-top: 40px;
  }

  .about-person {
    width: 46vw;
    right: -40px;
  }

  .winners-decor {
    width: 250px;
  }

  .winners-decor-left {
    left: -140px;
  }

  .winners-decor-right {
    right: -140px;
  }
}

/* Tablets below 992px only (992–1199px, e.g. iPad Pro, keeps the desktop layout) */
@media (max-width: 991.98px) {
  .about-eyebrow {
    font-size: 32px;
    line-height: 34px;
    margin-bottom: 12px;
  }

  .about-heading {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 22px;
  }

  .about-text {
    font-size: 17px;
    line-height: 28px;
  }

  .about-content {
    max-width: 46%;
  }

  .about-person {
    top: -60px;
    right: 0;
    width: 48vw;
  }

  .winners-decor {
    display: none;
  }

  .learn-heading,
  .participate-heading,
  .prizes-heading,
  .winners-heading,
  .rules-heading,
  .terms-heading {
    font-size: 42px;
    line-height: 50px;
  }

  .learn-subtitle,
  .prizes-subtitle {
    font-size: 30px;
    line-height: 34px;
  }

  /* Steps: hide the desktop image, show the HTML grid */
  .steps-image {
    display: none;
  }

  .steps-wrap {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
  }

  .step {
    position: static;
    width: auto !important;
  }

  .step-icon {
    margin-bottom: 20px !important;
  }

  .step-text {
    max-width: none !important;
  }

  .steps-connector,
  .participate-ornament {
    display: none;
  }

  .steps-note-wrap {
    margin-top: 40px;
  }

  .prizes-section {
    padding: 60px 0;
  }

  .winners-section {
    padding: 60px 0;
  }

  .winners-points {
    font-size: 24px;
    line-height: 32px;
  }

  .about-section {
    min-height: 0;
  }

  .about-content {
    margin-top: 0;
  }

  .about-text-bold br {
    display: none;
  }

  .about-text-bold {
    margin-top: 24px;
    line-height: 28px;
  }

  .prize-divider {
    height: 120px;
  }

  .prize-divider img {
    height: 120px;
  }

  .terms-decor {
    width: 180px;
  }

  .criteria-table {
    font-size: 24px;
    line-height: 32px;
  }

  .criteria-table th,
  .criteria-table td {
    padding-left: 40px;
  }

  .criteria-table th:last-child,
  .criteria-table td:last-child {
    padding-left: 40px;
  }

  .rules-toggle {
    padding: 22px 40px;
    font-size: 20px;
    line-height: 28px;
  }

  .rules-body {
    padding: 0 40px 24px;
  }

  .rules-item-first .rules-body {
    margin-top: -8px;
  }

  .rules-table th {
    width: auto;
    padding-left: 40px;
    font-size: 18px;
  }

  .rules-table td {
    padding-left: 40px;
    padding-right: 40px;
    font-size: 20px;
  }

  .terms-list {
    font-size: 20px;
    line-height: 28px;
  }
}

/* 992–1199px (iPad Pro & small laptops): desktop layout with tighter About / Winners */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .learn-grid {
    gap: 48px;
  }

  .learn-media {
    flex-basis: 400px;
    width: 400px;
  }

  .learn-head {
    margin-bottom: 28px;
  }

  .learn-heading {
    font-size: 42px;
    line-height: 50px;
  }

  .learn-subtitle {
    font-size: 24px;
    line-height: 32px;
  }

  .learn-text {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 28px;
  }

  .learn-text p {
    margin-bottom: 18px;
  }

  .learn-btn {
    font-size: 18px;
    padding: 14px 24px;
  }

  .learn-btn-icon {
    width: 32px;
    height: 32px;
  }

  .learn-decor {
    width: 320px;
  }

  .about-section {
    min-height: 0;
    padding-bottom: 50px;
  }

  .about-content {
    max-width: 66%;
    margin-top: -20px;
  }

  .about-eyebrow {
    font-size: 26px;
    line-height: 32px;
  }

  .about-heading {
    font-size: 40px;
    line-height: 48px;
    max-width: 420px;
    margin-bottom: 20px;
  }

  .about-text {
    font-size: 16px;
    line-height: 26px;
  }

  .about-text-bold {
    margin-top: 28px;
    line-height: 26px;
  }

  .about-person {
           right: -35px;
        top: -6px;
        width: 42vw;
  }

  .participate-ornament {
    display: none;
  }

 
  .winners-decor {
    width: 200px;
  }

  .winners-decor-left {
    left: -110px;
  }

  .winners-decor-right {
    right: -110px;
  }

  .terms-section {
    padding-bottom: 110px;
  }

  .terms-decor {
    width: 180px;
  }

  .rules-toggle {
    padding: 26px 48px;
  }

  .rules-body {
    padding: 0 48px 26px;
  }

  .rules-table th {
    width: 300px;
    padding-left: 48px;
  }

  .rules-table td {
    padding-left: 60px;
  }
}

@media (max-width: 991.98px) {
  .hero-logo {
    width: 140px;
  }

  .about-section {
    padding: 24px 0 0;
    min-height: 0;
  }

  .about-content {
    max-width: 100%;
  }

  .about-person {
    position: static;
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0;
  }

  .prizes-grid {
    flex-wrap: wrap;
    max-width: 640px;
    margin: 0 auto;
  }

  .prize-card {
    flex: 0 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .prize-divider {
    display: none;
  }

  .terms-decor {
    width: 150px;
    opacity: 0.6;
  }

  .participate-section {
    padding: 48px 0;
  }

  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .participate-mandala {
    display: none;
  }

  .winners-head {
    gap: 20px;
    margin-bottom: 28px;
  }

  .winners-heading br {
    display: none;
  }

  .winners-decor {
    display: none;
  }

  .criteria-table-wrap {
    border-radius: 20px;
  }

  .criteria-table {
    font-size: 20px;
    line-height: 28px;
  }

  .criteria-table th,
  .criteria-table td {
    padding: 10px 20px;
  }

  .criteria-table th:first-child,
  .criteria-table td:first-child {
    width: 60%;
  }

  .criteria-table th:last-child,
  .criteria-table td:last-child {
    padding-left: 20px;
  }

  .rules-section {
    padding: 48px 0;
  }

  .rules-item,
  .rules-item:has(.collapse.show),
  .rules-item:has(.collapsing) {
    border-radius: 30px;
  }

  .rules-table-wrap {
    border-radius: 20px;
  }

  .rules-table th,
  .rules-table td {
    white-space: normal;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .terms-section {
    padding: 48px 0 32px;
  }

  .site-footer {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ==========================================================================
   Mobile layout (Figma frame "Kohinoor Hook step Challenge LP - Mobile", 390px)
   Applied up to 991px so tablets such as iPad mini also get the mobile sections;
   the hero keeps the desktop banner from 768px up (see the block below).
   ========================================================================== */

@media (max-width: 991.98px) {
  /* ---- Learn the Hookstep (Figma mobile: stacked, reel 297×528) ---- */
  .learn-section {
    background-image: url("../images/learn-bg-mobile.jpg");
    padding: 44px 0 40px;
  }

  .learn-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .learn-media {
    order: 2;
    flex: 0 0 auto;
    width: 297px;
  }

  .learn-copy {
    order: 1;
    display: contents;
  }

  .learn-head {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }

  .learn-heading {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 6px;
  }

  .learn-subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .learn-text {
    order: 3;
    width: 100%;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 0;
  }

  .learn-text p {
    margin-bottom: 20px;
  }

  .learn-actions {
    order: 4;
    gap: 12px;
  }

  .learn-btn {
    height: 56px;
    gap: 11px;
    padding: 0 20px;
    font-size: 16px;
  }

  .learn-btn-icon {
    width: 28px;
    height: 28px;
  }

  .learn-decor {
    display: none;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ---- About: text first, then Aditya (328×230) centred below ---- */
  .about-section {
    padding: 0;
    min-height: 0;
  }

  .about-container {
    display: flex;
    flex-direction: column;
  }

  .about-content {
    order: 1;
    max-width: 100%;
    margin: 0;
    padding: 32px 0 20px;
  }

  .about-person {
    order: 2;
    position: static;
    display: block;
    /*width: 328px;*/
    max-width: 100%;
    /*margin: 0 auto;*/
  }

  .about-eyebrow {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 2px;
  }

  .about-heading {
    font-size: 30px;
    line-height: 37px;
    max-width: none;
    margin-bottom: 20px;
  }

  .about-text {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 8px;
  }

  .about-text-bold {
    margin-top: 0;
    line-height: 22px;
  }

  .about-text-bold br {
    display: none;
  }

  /* ---- How To Participate: white cards with a vertical dashed connector ---- */
  .participate-section {
    padding: 44px 0;
  }

  .participate-heading {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 28px;
  }

  .steps-wrap {
    position: relative;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* Dashed line behind the icon column (Figma: x=52, from 47px to 677px) */
  .steps-wrap::before {
    content: "";
    position: absolute;
    left: 52px;
    top: 47px;
    bottom: 60px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #b67823, #b67823 6px, transparent 6px, transparent 12px);
    pointer-events: none;
  }

  .step {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background-color: #fff;
    border-radius: 30px;
    padding: 10px;
    text-align: left;
  }

  /* Figma: 104px icon column, artwork ≈ 65–90px wide / 72–84px tall */
  .step-icon {
    flex: 0 0 104px;
    width: 104px;
    height: auto !important;
    margin-bottom: 0 !important;
    padding: 0;
  }

  .step-icon img {
    width: auto;
    max-width: 88px;
    max-height: 80px;
  }

  .step-body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .step-label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
  }

  .step-text {
    font-size: 17px;
    line-height: 24px;
  }

  .steps-note-wrap {
    margin-top: 28px;
  }

  .steps-note {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    padding: 14px 20px;
    border-radius: 24px;
  }

  /* ---- Exciting Prizes: 2×2 tiles of 169px ---- */
  .prizes-section {
    padding: 44px 0;
  }

  .prizes-head {
    margin-bottom: 24px;
  }

  .prizes-heading {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 8px;
  }

  .prizes-subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .prizes-grid {
    gap: 12px;
    max-width: none;
  }

  .prize-card {
    flex: 0 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }

  /* ---- How Will the Winners Be Selected ---- */
  .winners-section {
    padding: 44px 0 110px;
  }

  .winners-head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .winners-heading {
    font-size: 30px;
    line-height: 36px;
  }

  .winners-heading br {
    display: inline;
  }

  .winners-points {
    font-size: 16px;
    line-height: 22px;
  }

  .winners-points p + p {
    margin-top: 0;
  }

  .criteria-table-wrap {
    border-radius: 20px;
  }

  .criteria-table {
    font-size: 17px;
    line-height: 24px;
  }

  .criteria-table th,
  .criteria-table td {
    height: auto;
    padding: 14px 12px 14px 16px;
  }

  .criteria-table th {
    font-size: 18px;
  }

  .criteria-table th:first-child,
  .criteria-table td:first-child {
    width: auto;
  }

  .criteria-table th:last-child,
  .criteria-table td:last-child {
    width: 112px;
    padding-left: 16px;
    padding-right: 8px;
  }

  .winners-decor {
    display: block;
    width: 128px;
    bottom: 0;
  }

  .winners-decor-left {
    left: -58px;
  }

  .winners-decor-right {
    right: -65px;
  }

  /* ---- Before You Hit Post ---- */
  .rules-section {
    padding: 44px 0;
  }

  .rules-heading {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 24px;
  }

  .rules-accordion,
  .rules-group {
    gap: 12px;
  }

  .rules-item {
    border-radius: 30px;
  }

  .rules-item:has(.collapse.show),
  .rules-item:has(.collapsing) {
    border-radius: 24px;
  }

  .rules-toggle {
    min-height: 60px;
    padding: 14px 16px 14px 20px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
  }

  .rules-item-first .rules-toggle {
    padding: 18px 16px 14px;
  }

  .rules-body {
    padding: 0 16px 16px;
  }

  .rules-item-first .rules-body {
    margin-top: 0;
  }

  .rules-text,
  .rules-list {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
  }

  .rules-list {
    padding-left: 20px;
  }

  .rules-table-wrap {
    border-radius: 20px;
  }

  .rules-table th,
  .rules-table td {
    height: auto;
    padding: 12px 12px 12px 14px;
    white-space: normal;
  }

  .rules-table th {
    width: 124px;
    border-right-color: var(--brown);
    font-size: 15px;
    line-height: 20px;
  }

  .rules-table td {
    font-size: 16px;
    line-height: 22px;
  }

  /* ---- Terms & Conditions ---- */
  .terms-section {
    padding: 44px 0;
  }

  .terms-heading {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 16px;
  }

  .terms-list {
    font-size: 15px;
    line-height: 22px;
    padding-left: 22px;
  }

  .terms-list li + li {
    margin-top: 8px;
  }

  .terms-decor {
    width: 93px;
    opacity: 1;
  }

  /* ---- Footer ---- */
  .site-footer {
    min-height: 0;
    padding: 28px 20px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* 768–991px (iPad mini & co.): mobile sections, but keep some blocks from stretching too wide */
@media (min-width: 768px) and (max-width: 991.98px) {
  .learn-media {
    width: 360px;
  }

  .learn-actions,
  .prizes-grid {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-note {
    width: auto;
    display: inline-block;
  }
}

/* Phones only: mobile key visual with the cream wave */
@media (max-width: 767.98px) {
  /* ---- Hero: 390×844 key visual, logo 105×33 at (16,16), cream wave at the bottom ---- */
  .hero-section {
    background-color: var(--maroon);
  }

  .hero-wave-mobile {
    display: block;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    /* Figma: 52.7px wave on the 844px frame */
    height: 6.25%;
    pointer-events: none;
  }

  .hero-logo-link {
    left: 20px;
    top: 16px;
    display: none;
  }

  .hero-logo {
    width: 105px;
  }
}
