*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.about-page {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: linear-gradient(265.07deg,
      rgba(153, 115, 99, 0.77) -18.25%,
      rgba(255, 218, 198, 0.77) 50.17%,
      rgba(143, 106, 90, 0.77) 118.6%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 70px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;

    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 0;
}

.hero-banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.33);
  padding: 32px 28px;
  border-radius: 20px;
  width: 100%;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
}

.hero-description {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
}

.registration-deadline {
  font-weight: 400;
  font-size: 16px;
  margin-top: 12px;
  max-width: 355px;
  text-align: center;
}

/* ── MAIN CARD WRAPPER ── */
.main-content-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 36px 40px;
}

.content-card {
  border-radius: 12px;
  padding: 32px 40px 0px;
  margin: 40px 0px;
  box-shadow: 4px 5px 24px 0px #6565653d;
  border: 1px solid #e4e3e0;
}

.small-notes {
  color: #000;
  font-weight: 400;
  font-size: 16px;
}

.rule-notes {
  margin-top: 60px;
}

/* ── CONTENT SECTIONS ── */
.content-section {
  margin-bottom: 60px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-tagline {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}

.section-body {
  font-size: 16px;
  font-weight: 400;
  margin-top: 30px;
}

.section-body:last-child {
  margin-bottom: 0;
}

.section-list {
  padding-left: 20px;
  margin: 10px 0 14px;
}

.section-list li {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 6px;
  list-style: disc;
}

/* ── FORMAT TRACKS ── */
.format-tracks {
  margin-top: 30px;
}

.track-card {
  margin-bottom: 45px;
}

.track-title {
  font-family: "Poppins", serif;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 400;
}

.track-list {
  padding-left: 16px;
  list-style: disc;
}

.track-list li {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 6px;
}

/* ── QUIZMASTERS ── */
.quizmasters-list {
  display: flex;
  gap: 36px;
  margin-top: 24px;
}

.quizmaster-card {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.quizmaster-image-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 4px;
  gap: 13px;
  width: 100%;
}

.quizmaster-avatar {
  width: 115px;
  height: 150px;
  background: #f0b9b9;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(45, 53, 97, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}

.quizmaster-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quizmaster-name {
  font-family: "Poppins", serif;
  font-size: 24px;
  font-weight: 700;
  max-width: 300px;
}

.quizmaster-role {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.achievements-label {
  font-weight: 400;
  margin: 24px 0px;
}

.key-ach-title {
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 18px;
}

/* ── LIVING LEGACY ── */
.living-legacy {
  border-bottom: none !important;
}

.story-sections {
  max-width: 100%;
}

.story-item {
  border-bottom: 1px solid #d7b8a8;
  padding: 24px 0;
}

.story-title {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: all .35s ease;
  background: linear-gradient(180deg, #8B3A11 0%, rgba(139, 58, 17, 0.8) 79.17%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.story-content p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.7;
}

.story-item.active .story-title {
  font-size: 70px;
}

.story-item.active .story-content {
  max-height: max-content;
}

/* ════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════ */

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  .hero-section {
    padding: 48px 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .main-content-wrapper {
    padding: 28px 32px;
  }

  .content-card {
    padding: 28px 32px 0px;
  }

  .section-title {
    font-size: 32px;
  }

  .quizmasters-list {
    gap: 30px;
    flex-wrap: wrap;
  }

  .quizmaster-card {
    max-width: 460px;
    flex: 1 1 280px;
    gap: 22px;
  }

  .quizmaster-image-wrap {
    gap: 14px;
    padding-top: 0;
    align-items: center;
  }

  .quizmaster-avatar {
    width: 100px;
    height: 130px;
    border-radius: 18px;
  }

  .quizmaster-name {
    font-size: 22px;
    max-width: 220px;
  }

  .quizmaster-role {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .achievements-label {
    margin: 18px 0px;
    font-size: 15px;
  }

  .key-ach-title {
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 14px;
  }
}

/* ── SMALL TABLET (max 768px) ── */
@media (max-width: 768px) {
  .hero-section {
    padding: 36px 24px;
    min-height: 100svh;
  }

  .story-title {
    font-size: 20px;
  }

  .story-item.active .story-title {
    font-size: 32px;
  }

  .left-align-70{
    object-position: 75%;
  }

  .right-align-40{
   object-position: 40%;
  }

  .hero-content {
    padding: 28px 20px;
    border-radius: 16px;
    width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .main-content-wrapper {
    padding: 20px 20px;
  }

  .content-card {
    padding: 24px 20px 0px;
    margin: 28px 0px;
    border-radius: 10px;
  }

  .content-section {
    margin-bottom: 40px;
  }

  .story-content p {
    font-size: 14px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-body {
    margin-top: 20px;
  }

  .format-tracks {
    margin-top: 20px;
  }

  .track-card {
    margin-bottom: 32px;
  }

  .quizmasters-list {
    gap: 40px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .quizmaster-card {
    max-width: 100%;
    flex: 1 1 100%;
    gap: 18px;
    align-items: flex-start;
  }

  .quizmaster-image-wrap {
    justify-content: flex-start;
    padding-top: 0;
    gap: 16px;
    align-items: center;
    flex-direction: column;
  }

  .quizmaster-avatar {
    width: 90px;
    height: 120px;
    border-radius: 16px;
    flex-shrink: 0;
  }

  .quizmaster-name {
    font-size: 20px;
    max-width: 240px;
  }

  .quizmaster-role {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .achievements-label {
    margin: 14px 0px;
    font-size: 14px;
  }

  .key-ach-title {
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 12px;
  }
}

/* ── MOBILE (max 480px) ── */
@media (max-width: 480px) {
  .hero-section {
    padding: 150px 16px;
  }

  .hero-content {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 12px;
  }

  .main-content-wrapper {
    padding: 16px 14px;
  }

  .content-card {
    padding: 20px 16px 0px;
    margin: 20px 0px;
  }

  .content-section {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-tagline {
    font-size: 14px;
  }

  .section-body {
    font-size: 14px;
    margin-top: 16px;
  }

  .section-list li {
    font-size: 14px;
  }

  .track-title {
    font-size: 14px;
  }

  .track-list li {
    font-size: 14px;
  }

  .quizmasters-list {
    gap: 40px;
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .quizmaster-card {
    max-width: 100%;
    flex: 1 1 100%;
    gap: 18px;
    align-items: flex-start;
  }

  .quizmaster-image-wrap {
    justify-content: center;
    padding-top: 0;
    gap: 16px;
    align-items: center;
  }

  .quizmaster-avatar {
    width: 100%;
    max-width: 100%;
    height: 300px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .quizmaster-name {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .quizmaster-role {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .achievements-label {
    font-size: 14px;
    margin: 12px 0px;
  }

  .key-ach-title {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 12px;
  }
}