/* ==========================================
   ABOUT US PAGE STYLESHEET (aboutus.css)
   ========================================== */
@import url('index.css');



.about-us-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ------------------------------------- */
/* Part 1: Yellow Section (#FFFA3B) */
/* ------------------------------------- */
.about-meaning-frame {
  width: 100%;
  background-color: #FFFA3B;
  padding: 100px 52px 100px 52px;
  position: relative;
  box-sizing: border-box;
}

.about-meaning-container {
  width: 100%;
  max-width: 1336px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  box-sizing: border-box;
}

.about-meaning-left {
  width: 432px;
  flex: 0 0 432px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.about-meaning-title {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 0.93;
  letter-spacing: 0.02em;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
}

.humnava-title,
.humnava-Title {
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  font-family: inherit;
  display: inline;
}

.about-meaning-desc {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

.about-meaning-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 360px;
  min-width: 0;
}

.calligraphy-grid-box {
  position: relative;
  width: 100%;
  height: 360px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.calligraphy-line {
  position: absolute;
  pointer-events: none;
  display: none;
}

.line-dashed-center {
  width: 100%;
  height: 0;
  border-top: 1px dashed #000000;
  top: 50%;
  left: 0;
}

.line-dashed-diag-1 {
  width: 120%;
  height: 0;
  border-top: 1px dashed #000000;
  top: 50%;
  left: -10%;
  transform: rotate(45deg);
}

.line-dashed-diag-2 {
  width: 120%;
  height: 0;
  border-top: 1px dashed #000000;
  top: 50%;
  left: -10%;
  transform: rotate(-45deg);
}

.calligraphy-text-wrapper {
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.urdu-calligraphy-img {
  height: 360px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.about-ribbon-track {
  width: 100%;
  height: 76px;
  margin-top: 60px;
  background-color: #FFFA3B;
  background-image: url('assets/ui/Squiggle-about.png');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto 76px;
}

/* ------------------------------------- */
/* Part 2: Black Section (#000000) */
/* ------------------------------------- */
.about-team-frame {
  width: 100%;
  background-color: #000000;
  padding: 100px 52px;
  box-sizing: border-box;
  position: relative;
}

.about-team-container {
  width: 100%;
  max-width: 1336px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 90px;
  align-items: center;
  position: relative;
}

.about-team-main-title {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
  max-width: 1336px;
  text-transform: uppercase;
}

.about-team-main-title .mint-accent {
  color: #86D7D7;
  font-style: italic;
  font-weight: 800;
}

.about-team-roles {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Core Team Downward Arrow Image Button */
.core-team-expand-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 28px;
  width: 100%;
}

.core-team-arrow-btn {
  width: 32px;
  height: 32px;
  object-fit: contain;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(84%) sepia(31%) saturate(735%) hue-rotate(124deg) brightness(97%) contrast(92%);
}

.core-team-arrow-btn:hover {
  transform: scale(1.25);
  filter: brightness(0) saturate(100%) invert(100%);
}

.core-team-arrow-btn.expanded {
  transform: rotate(180deg);
}

.core-team-arrow-btn.expanded:hover {
  transform: rotate(180deg) scale(1.25);
}

.roles-view-detailed.hidden,
.roles-view-summary.hidden {
  display: none !important;
}

.about-role-wrapper {
  width: 100%;
}

.role-toggle-checkbox {
  display: none !important;
}

.about-role-item {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 52px;
  padding: 12px 24px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, padding 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.roles-view-summary .about-role-wrapper:first-child .about-role-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.role-toggle-checkbox:checked + .about-role-item,
.about-role-item.active {
  padding: 20px 24px;
  background-color: rgba(134, 215, 215, 0.08);
}

.about-role-item:hover {
  background-color: rgba(134, 215, 215, 0.05);
}

.about-role-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 32px;
  width: 100%;
}

.about-role-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.about-role-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  flex: 0 0 auto;
}

.role-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(84%) sepia(31%) saturate(735%) hue-rotate(124deg) brightness(97%) contrast(92%);
}

.about-role-name-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.role-name {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.08em;
  color: #86D7D7;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.role-subtitle {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.about-role-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.member-title {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.about-role-desc-preview {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
  max-height: 24px;
  text-align: left;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), line-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease, opacity 0.4s ease;
}

.role-toggle-checkbox:checked + .about-role-item .about-role-desc-preview,
.about-role-item.active .about-role-desc-preview {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
  max-height: 500px;
  opacity: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #FFFFFF;
}

.about-role-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.role-photo-container {
  width: 145px;
  height: 175px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #86D7D7;
  opacity: 0;
  transform: scale(0.75) rotate(0deg);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), width 0.45s cubic-bezier(0.16, 1, 0.3, 1), height 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  flex-shrink: 0;
  margin: -40px 24px;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.about-role-item:hover .role-photo-container {
  opacity: 1;
  transform: scale(1) rotate(-8deg);
}

.role-toggle-checkbox:checked + .about-role-item .role-photo-container,
.about-role-item.active .role-photo-container {
  opacity: 1;
  width: 175px;
  height: 215px;
  transform: scale(1.08) rotate(-14deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.88);
}

.role-hover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-photo-container.no-photo,
.photo-wrapper.no-photo {
  background: #666;
}

.role-hover-photo.no-photo,
.photo-wrapper.no-photo img {
  display: none;
}

.role-expand-icon {
  color: #86D7D7;
  font-size: 16px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-role-item.active .role-expand-icon,
.role-toggle-checkbox:checked + .about-role-item .role-expand-icon {
  transform: rotate(180deg);
}

/* Students & Residents Section Styling */
.about-students-frame {
  background-color: #06080a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 52px;
}

.about-students-intro {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.4;
}

.about-students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.student-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.student-card:hover {
  transform: translateY(-6px);
  border-color: #86D7D7;
  box-shadow: 0 12px 30px rgba(134, 215, 215, 0.15);
}

.student-img-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #86D7D7;
  margin-bottom: 16px;
}

.student-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-name {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.student-role {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #86D7D7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.student-desc {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.about-down-arrow-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-down-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.about-down-arrow-btn:hover {
  border-color: #86D7D7;
  color: #86D7D7;
  transform: translateY(4px);
}

/* ------------------------------------- */
/* Part 3: Season Filter & Directory (#86D7D7) */
/* ------------------------------------- */
.about-seasons-frame {
  width: 100%;
  background-color: #86D7D7;
  padding: 100px 52px 80px 52px;
  box-sizing: border-box;
}

.about-seasons-container {
  width: 100%;
  max-width: 1336px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.season-tabs-bar {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  border-bottom: 1px solid #000000;
  padding-bottom: 16px;
}

.season-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  border-radius: 0px 30px 0px 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.season-tab.active {
  background: #000000;
  color: #86D7D7;
  border: 1px solid #000000;
}

.season-tab:not(.active) {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.season-tab:disabled,
.season-tab.season-tab-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}

.season-icon {
  font-size: 10px;
}

.chapter-header-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.chapter-title {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 40px;
  line-height: 0.93;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
}

.chapter-overview-box {
  border-top: 1px solid #000000;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overview-heading {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  margin: 0;
}

.overview-desc {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #000000;
  margin: 0;
  max-width: 1328px;
}

.about-seasons-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.directory-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.about-accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 20px;
}

.about-accordion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.directory-header,
.about-accordion-header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s ease;
}

.about-accordion-header:hover {
  opacity: 0.85;
}

.directory-title {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 36px;
  color: #000000;
  margin: 0;
  flex-shrink: 0;
  text-transform: uppercase;
}

.directory-star-line {
  flex: 1;
  height: 24px;
  background-image: url('assets/ui/StarAbout.png');
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 24px;
  opacity: 0.9;
}

.about-accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.about-accordion-item.active .about-accordion-content {
  max-height: 1200px;
  opacity: 1;
  margin-top: 16px;
}

.star-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.directory-card-box {
  width: 100%;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 408px 1fr 432px;
  gap: 24px;
  padding: 28px;
  box-sizing: border-box;
  color: #FFFFFF;
}

.member-list-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 12px;
}

.member-list-panel::-webkit-scrollbar {
  width: 6px;
}

.member-list-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.member-list-panel::-webkit-scrollbar-thumb {
  background: #86D7D7;
  border-radius: 4px;
}

.member-list-panel::-webkit-scrollbar-thumb:hover {
  background: #FFFA3B;
}

.member-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25 ease;
}

.member-item img,
.member-item-photo {
  display: none;
}

.member-item:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 14px;
}

.member-item.active {
  background: rgba(255, 250, 59, 0.12);
  border-left: 3px solid #FFFA3B;
  padding-left: 14px;
}

.member-item.active .member-name {
  color: #FFFA3B;
  font-weight: 700;
}

.member-item.active .member-role {
  color: #FFFA3B;
}

.member-item:not(.active) .member-name {
  color: #FFFFFF;
}

.member-item:not(.active) .member-role {
  color: rgba(255, 255, 255, 0.7);
}

.member-name {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-size: 20px;
  line-height: 1;
}

.member-role {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
}

.member-detail-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 380px;
  overflow: hidden;
}

.artist-detail-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateY(8px);
}

.artist-detail-card.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  transform: translateY(0);
}

.detail-member-name {
  font-family: 'Figtree', var(--font-heading), sans-serif;
  font-size: 32px;
  color: #FFFFFF;
  margin: 0;
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: #86D7D7;
}

.detail-text {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #FFFFFF;
  margin: 0;
}

.detail-val {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0;
}

.detail-chapter {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0;
}

.member-photo-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.artist-photo-card {
  position: absolute;
  top: 0;
  left: 20px;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(1.04);
}

.artist-photo-card.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  transform: scale(1);
}

.photo-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #111111;
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role-photo-container.no-photo,
.photo-wrapper.no-photo {
  background: #141414;
}

@media (max-width: 1100px) {
  .about-meaning-container {
    flex-direction: column;
    gap: 40px;
  }
  .about-meaning-left,
  .about-meaning-right {
    width: 100%;
  }
  .directory-card-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .member-detail-panel,
  .member-photo-panel {
    border-left: none;
    padding-left: 0;
  }
}
