/* ══════════════════════════════════════════════════════
   Agenda PAGE – (ag- prefix only)
   ══════════════════════════════════════════════════════ */

.ag-nav-active {
  color: #ff8f1c !important;
}

.ag-nav-active::after {
  width: 100% !important;
  background: #ff8f1c !important;
}

.ag-hero-section {
  background: url("../award-banner.png") bottom / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition:
    background-position 0.4s ease,
    background-size 0.4s ease;
}

.ag-hero-inner {
  width: 100%;
  max-width: 1440px;
  min-height: 430px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ag-hero-content {
  position: relative;
  z-index: 10;
  padding: 110px 0 110px 56px;
  max-width: 760px;
}

.ag-hero-title {
  color: #ffffff;
  font-family: "Rethink Sans", sans-serif;
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.26px;
  margin: 0 0 12px 0;
}

.ag-hero-subtitle {
  color: rgba(255, 255, 255, 1);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.ag-hero-building {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 320px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.85) 40%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.85) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.ag-intro-section {
  background: #f5f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ag-intro-wrap {
  width: 100%;
  max-width: 1440px;
  padding: 60px 56px;
  box-sizing: border-box;
}

.ag-intro-intr-wrap {
  display: flex;
  gap: 60px;
}

.ag-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.ag-breadcrumb-link {
  color: #504b4b;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.ag-breadcrumb-link:hover {
  color: #292322;
}

.ag-breadcrumb-sep {
  display: flex;
  align-items: center;
  color: #504b4b;
}

.ag-breadcrumb-current {
  color: #292322;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.ag-intro-title {
  color: #292322;
  font-family: "Rethink Sans", sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ag-intro-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.ag-intro-body p {
  color: rgba(80, 75, 75, 1);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
}

.ag-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  padding: 0 24px;
  background-color: #ff8f1c;
  border-radius: 90px;
  border: none;
  color: #231b1b;
  font-family: "Rethink Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.ag-btn-primary:hover {
  opacity: 0.88;
}
/* --- Core Filter Layout Wrapper --- */

.ag-filter-section{
    background: rgb(245, 242, 242);
    padding: 0px 0 24px;
    width: 100%;
    box-sizing: border-box;
    width: 100%;
    padding: 0px 56px;
}
.ag-filter-wrapper {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 37px 32px;
  width: 100%; /* Perfectly scales with your layout parameters */
  max-width: 1328px;
  margin: 0 auto 48px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

/* --- Header Elements Line alignment --- */
.ag-filter-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ag-filter-icon {
  width: 18px;
  height: 18px;
  color: #292322;
}

.ag-filter-heading h3 {
  font-size: 22px;
  font-weight: 600;
  color: #292322;
  margin: 0;
  letter-spacing: -0.2px;
}

/* --- Interactive Tag Matrices --- */
.ag-filter-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ag-tag {
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 18px;
  font-weight: 600;
  color: #292322;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  outline: none;
  user-select: none;
}

/* --- Hover State Effects --- */
.ag-tag:hover {
  background-color: #f5f4f2;
  border-color: #cabfbf;
}

/* --- Exact Match Active Status --- */
.ag-tag.ag-active {
  background-color: #ded6d3; /* Dark muted tag overlay shade match */
  border-color: #ded6d3;
  color: #292322;
  font-weight: 600;
}
/* --- Add this hide/show logic utility directly to your CSS stylesheet --- */

.ag-sub-session {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: scale(1);
}

/* Class added via JavaScript to cleanly wipe unmatched tags from view */
.ag-sub-session.ag-hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
}


/* --- Responsive Scaling Bounds --- */
@media (max-width: 768px) {
  .ag-filter-wrapper {
    padding: 20px;
    margin: 0 16px 20px;
  }
  .ag-filter-tags {
    gap: 8px;
  }
  .ag-tag {
    padding: 6px 14px;
    font-size: 14px;
  }
}

.ag-accordion-section {
  background-color: #f5f4f2;
  padding: 0px 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.ag-accordion-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-sizing: border-box;
}

.ag-accordion-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ag-accordion-header {
  width: 100%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(90deg, #1a0a14 0%, #3b1a2a 100%);
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  box-sizing: border-box;
}

.ag-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ag-inner-accordion-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ag-accordion-date {
  color: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.ag-accordion-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  flex-shrink: 0;
}

.ag-accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff901d 0%, #b80c22 50%, #37214e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.ag-accordion-header:hover .ag-accordion-icon {
  opacity: 0.85;
}

.ag-accordion-body {
  max-height: 0;
  overflow: hidden;
  overflow-anchor: none;
  transition: max-height 0.35s ease;
  background-color: #ffffff;
  border-radius: 0 0 16px 16px;
}

.ag-accordion-item.ag-open .ag-accordion-body {
  max-height:max-content;
}

/* --- Nested Row Spacing Adjustments --- */
.ag-nested-row-container {
  padding: 0;
  display: block;
}

.ag-inner-header {
  background: none !important;
  /* border-bottom: 1px solid #dfdfdf; */
  padding: 0px 0px !important;
  height: auto !important;
}

.ag-inner-title {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #292322;
}

.style-override-time {
  min-width: 220px !important;
  margin-right: 70px;
}

.ag-inner-icon {
  background: #b80c22 !important; /* Visual Red Icon Circle Variant */
  width: 28px !important;
  height: 28px !important;
}

/* --- Indented Sub-Content Track Matrix --- */
.ag-inner-content-block {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 40px 32px 292px; /* Aligns nested elements under text */
  box-sizing: border-box;
}

.ag-sub-session {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ag-sub-title {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #d97c31;
}

.ag-sub-desc {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #292322;
  line-height: 1.4;
}
/* --- Add this specific fix to your CSS file --- */

/* 1. Force the inner accordion body to hide when its parent doesn't have .ag-open */
.ag-nested-row-container .ag-accordion-item .ag-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* 2. Reveal the inner body cleanly when active */
.ag-nested-row-container .ag-accordion-item.ag-open > .ag-accordion-body {
  max-height:max-content; /* Safe upper limit for the sub-session content */
}


/* --- Mobile Fixes --- */
@media(max-width: 991px) {
  .ag-inner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
  }
  .style-override-time {
    margin-right: 0;
  }
  .ag-inner-content-block {
    padding-left: 40px;
  }
}

.ag-session-row {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 28px 40px;
  border-bottom: 1px solid #dfdfdf;
  box-sizing: border-box;
}

.ag-session-row:last-child {
  border-bottom: none;
}

.ag-session-time {
  flex-shrink: 0;
  min-width: 220px;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #292322;
}

.ag-session-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ag-session-title {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #d97c31;
}

.ag-session-desc {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #292322;
}

.ag-justify-section {
  background-color: #f5f4f2;
  padding: 48px 0 64px;
  width: 100%;
  box-sizing: border-box;
}

.ag-justify-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  gap: 33px;
  box-sizing: border-box;
}

.ag-justify-heading-row {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;
}

.ag-justify-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.ag-justify-heading {
  font-family: "Rethink Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #d97c31;
  line-height: 1.2;
  letter-spacing: 0.26px;
  margin: 0;
}

.ag-justify-body {
  font-family: "Rethink Sans", sans-serif;
  font-size: 23px;
  font-weight: 600;
  color: #292322;
  line-height: normal;
  letter-spacing: 0.26px;
  margin: 0;
}

.ag-justify-btn {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 2rem;
}

.saprator {
  position: relative;
}

.saprator::before {
  content: "";
  display: block;
  width: 1280px;
  max-width: 100%;
  height: 1px;
  background: #cabfbf;
  margin: 0 auto;
  top: 0px;
  position: absolute;
  left: auto;
  right: auto;
}
/* ══════════════════════════════════════════════════════
   4. THE SELECTION PROCESS SECTION
   ══════════════════════════════════════════════════════ */
.sp-process-section {
  background: url(../image212.png) center / cover no-repeat padding-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-process-wrap {
  width: 100%;
  max-width: 1440px;
  padding: 90px 56px;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .ag-hero-section {
    background-position: 80% bottom;
    background-size: cover;
    transition:
      background-position 0.4s ease,
      background-size 0.4s ease;
  }
}

@media (max-width: 768px) {
  .ag-hero-section {
    background-position: right bottom;
    background-size: cover;
  }

  .ag-hero-inner {
    min-height: auto;
    height: 380px;
    padding: 0;
  }

  .ag-hero-building {
    width: 50%;
    max-height: 220px;
    object-fit: cover;
    object-position: left bottom;
  }

  .ag-hero-content {
    padding: 72px 20px;
  }

  .ag-intro-wrap {
    padding: 40px 24px;
  }

  .ag-intro-title {
    font-size: 40px;
  }

  .ag-accordion-container {
    padding: 0 16px;
  }

  .ag-accordion-header {
    padding: 0 16px;
    height: auto;
    min-height: 66px;
  }

  .ag-accordion-date {
    font-size: 14px;
  }

  .ag-accordion-theme {
    font-size: 14px;
  }

  .ag-session-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
    min-height: unset;
  }

  .ag-session-time {
    min-width: unset;
    font-size: 13px;
  }

  .ag-session-title {
    font-size: 13px;
  }

  .ag-session-desc {
    font-size: 13px;
  }
}

/* ══════════════════════════════════════════════════════
   TESTIMONIAL CAROUSEL  (ag-carousel-*)
   ══════════════════════════════════════════════════════ */

.ag-carousel-section {
  background: radial-gradient(
    ellipse at 50% 15%,
    #3b1030 0%,
    #1a0a1a 50%,
    #0d0d0d 100%
  );
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.ag-carousel-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ag-carousel-inner h2 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: normal;
  letter-spacing: 0.26px;
  color: #ffffff;
  margin: 0 0 26px;
  width: 100%;
}

.ag-carousel-track-wrapper {
  width: 100%;
  position: relative;
}

.ag-carousel-track {
  width: 100%;
  border: 1.5px solid #ff8f1c;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
  height: 273px;
}

.ag-slides-wrapper {
  display: flex;
  flex-direction: row;
  transition: transform 0.5s ease;
  will-change: transform;
  height: 100%;
}

.ag-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 48px 112px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ag-quote-open {
  position: absolute;
  top: -32px;
  left: 88px;
  font-size: 56px;
  font-family: Georgia, serif;
  font-weight: 700;
  color: #ff8f1c;
  line-height: 1;
  padding: 0 6px;
  z-index: 1;
}

.ag-quote-close {
  position: absolute;
  bottom: -32px;
  right: 88px;
  font-size: 56px;
  font-family: Georgia, serif;
  font-weight: 700;
  color: #ff8f1c;
  line-height: 1;
  padding: 0 6px;
  z-index: 1;
}

.ag-carousel-text {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

.ag-highlight {
  color: #ff8f1c;
  font-style: italic;
  font-weight: 700;
}

.ag-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ag-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555555;
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.ag-carousel-dot.ag-dot-active {
  background: #ff8f1c;
  transform: scale(1.2);
}

.ag-carousel-dot:hover {
  background: #ff8f1c;
}

@media (max-width: 991px) {
  .hero-nav {
    padding: 16px;
  }

  .ag-hero-content {
    padding: 110px 0 110px 16px;
  }

  .ag-hero-section {
    background-position: 80% bottom;
  }

  .ag-hero-title {
    font-size: clamp(28px, 7vw, 48px);
  }

  .ag-carousel-track {
    height: auto;
  }

  .ag-quote-open img,
  .ag-quote-close img {
    width: 40px;
  }

  .ag-quote-close {
    bottom: -24px;
  }
}

@media (max-width: 768px) {
  .ag-carousel-inner {
    padding: 0 20px;
  }

  .aw-hero-section {
    background-position: 80% bottom;
  }

  .hero-nav {
    padding: 16px;
  }

  .ag-carousel-slide {
    padding: 36px 28px;
  }

  .ag-carousel-text {
    font-size: 16px;
  }

  .ag-quote-open {
    left: 24px;
  }
  .ag-quote-open img,
  .ag-quote-close img {
    width: 40px;
  }

  .ag-quote-close {
    bottom: -24px;
    right: 24px;
  }
  .ag-hero-subtitle {
    max-width: 60%;
    font-size: 16px;
  }

  .ag-hero-title {
    width: 70%;
  }

  .ag-hero-content {
    padding: 72px 20px;
  }
}

@media (max-width: 580px) {
  .ag-justify-container {
    padding: 0 15px;
  }
  .ag-hero-section {
    background-position: 75% bottom;
    background-size: cover;
  }
  .ag-hero-content {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .ag-hero-title {
    font-size: 32px;
  }
}
