/* about.css: About page only (hero + layout), keeps index theme */

/* ---------------- ABOUT HERO (left aligned + hex background) ---------------- */

.about-hero {
  background:
    radial-gradient(1400px 700px at 30% 30%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #08101a 100%);
  color: #eaf0ff;

  padding-top: 30px;
  padding-bottom: 30px;

  min-height: 30vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Redesigned Premium Decoration pinned to right edge */
.about-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'%3E%3Cpath d='M150 100 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M350 180 l60 -34 l60 34 v68 l-60 34 l-60 -34z'/%3E%3Cpath d='M550 100 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M200 350 l80 -46 l80 46 v92 l-80 46 l-80 -46z'/%3E%3Cpath d='M500 380 l100 -57 l100 57 v114 l-100 57 l-100 -57z' /%3E%3Cpath d='M600 580 l60 -34 l60 34 v68 l-60 34 l-60 -34z'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(98,230,165,0.4)' stroke-width='2'%3E%3Cpath d='M480 220 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M380 420 l30 -17 l30 17 v34 l-30 17 l-30 -17z'/%3E%3Cpath d='M620 350 l30 -17 l30 17 v34 l-30 17 l-30 -17z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  33% { transform: translateY(-52%) translateX(-20px) rotate(1deg); }
  66% { transform: translateY(-48%) translateX(10px) rotate(-1deg); }
}


.about-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  margin-left: 32px !important; 
  margin-right: auto !important;
  max-width: 1400px;
}

.about-hero-left {
  max-width: 760px;
}

.about-eyebrow {
  color: #62e6a5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 630;
  font-size: 14px;
  margin-bottom: 18px;
}

.about-hero-title {
  font-size: 76px;
  line-height: 0.98;
  margin: 0 0 18px;
  font-weight: 750;
}

.about-hero-subtitle {
  font-size: 22px;
  line-height: 1.55;
  margin: 0 0 26px;
  color: rgba(234, 240, 255, 0.78);
  max-width: 820px;
}

.about-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #62e6a5;
  color: #0c0f37;
  text-decoration: none;

  padding: 10px 18px;
  /* smaller */
  border-radius: 8px;
  /* tighter corners */

  font-weight: 700;
  /* slightly lighter */
  font-size: 12px;
  /* smaller text */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.about-hero-cta:hover {
  filter: brightness(0.96);
  color: #000;
}

.about-hero-cta-caret {
  font-size: 14px;
  transform: translateY(1px);
}

.about-hero-right {
  position: relative;
  height: 520px;
  pointer-events: none;
}


/* ---------------- EXISTING ABOUT PAGE LAYOUT (keep) ---------------- */
#start .section-header {
  max-width: 100%;
  text-align: left;
}

#start .section-description {
  max-width: 100%;
  margin: 0;
  line-height: 1.8;
  color: rgba(234, 240, 255, 0.85);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.about-person h3 {
  margin: 12px 0 6px;
}

.about-role {
  margin: 0;
  opacity: 0.8;
}

.about-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-resource-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.about-date {
  font-size: 13px;
  opacity: 0.75;
  margin: 6px 0 6px;
}

.about-call {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.about-bullets {
  margin: 12px 0 14px;
  padding-left: 18px;
  line-height: 1.6;
}

.about-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.about-form input,
.about-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}

.about-form input:focus,
.about-form textarea:focus {
  border-color: rgba(10, 48, 110, 0.6);
  box-shadow: 0 0 0 3px rgba(10, 48, 110, 0.12);
}

.about-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-form-grid .full {
  grid-column: 1 / -1;
}

.small-muted {
  font-size: 12px;
  opacity: 0.7;
  margin: 10px 0 0;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .about-hero {
    padding-top: 96px;
    min-height: auto;
  }

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

  .about-hero-right {
    height: 340px;
    margin-top: -40px;
  }

  .about-hero-title {
    font-size: 54px;
  }

  .about-hero-subtitle {
    font-size: 18px;
  }

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

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

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 42px;
  }

  .about-hero-right {
    height: 260px;
    margin-top: -20px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding-top: 80px;
    padding-bottom: 10px;
  }

  .about-hero-title {
    font-size: 32px;
  }

  .about-hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .about-hero-cta {
    padding: 8px 14px;
    font-size: 11px;
  }

  .about-hero-right {
    height: 180px;
    margin-top: -30px;
  }
}

@media (max-width: 368px) {
  .about-hero-title {
    font-size: 26px;
  }

  .about-hero-subtitle {
    font-size: 14px;
  }

  .about-hero-right {
    height: 140px;
    margin-top: -40px;
  }
}

/* ===== Schedule Call Section ===== */

.schedule-section {

  background: transparent;
  /* inherit main page background */
  color: #eaf0ff;
}


.about-call {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.about-call-left {
  margin-top: 50px;
}

/* Left Content */

.schedule-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
}

.schedule-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(234, 240, 255, 0.8);
  max-width: 620px;
}

.schedule-bullets {
  margin: 24px 0;
  padding-left: 20px;
  line-height: 1.7;
  color: rgba(234, 240, 255, 0.85);
}

.schedule-footer {
  font-weight: 700;
  margin-top: 20px;
}

/* Glass Card */

.schedule-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 28px;
  margin-top: 70px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* Form */

.schedule-form label {
  font-size: 13px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-form input,
.schedule-form textarea {
  background: #bbc1cb;
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #000;
}

.schedule-form input:focus,
.schedule-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(98, 230, 165, 0.4);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.schedule-grid .full {
  grid-column: 1 / -1;
}

.schedule-btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 900px) {
  .about-call {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-call-left {
    margin-top: 20px;
  }

  .schedule-title {
    font-size: 42px;
  }

  .schedule-desc {
    font-size: 17px;
  }

  .schedule-card {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .schedule-title {
    font-size: 36px;
  }

  .schedule-desc {
    font-size: 16px;
  }

  .schedule-bullets {
    font-size: 15px;
    margin: 16px 0;
  }

  .schedule-footer {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .schedule-desc {
    font-size: 14.5px;
  }

  .schedule-bullets {
    font-size: 14px;
    margin: 12px 0;
  }

  .schedule-footer {
    font-size: 14px;
  }

  .schedule-card {
    padding: 20px;
    margin-top: 25px;
  }
}

@media (max-width: 368px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .schedule-title {
    font-size: 24px;
  }

  .schedule-desc {
    font-size: 13.5px;
  }

  .schedule-bullets {
    font-size: 13px;
  }

  .schedule-footer {
    font-size: 13px;
  }
}

/* Disable the 'Rainbow/Arc' shift for team cards only */
.about-person.card .card-shell {
  --arc-offset: 0px !important;
  transform: translateY(0) !important;
  animation-delay: 0.2s !important;
  /* Make them appear faster */
}

/* Ensure the grid has enough room for the cards */
.about-grid {
  padding-top: 20px;
}

/* Fix for the 1200px jump */
@media (min-width: 1200px) {
  .about-person.card .card-shell {
    --arc-offset: 0px !important;
  }
}

/* ---------------- PERSON BIO MODAL ---------------- */

.about-person.has-bio { cursor: pointer; transition: transform .15s ease; }
.about-person.has-bio:hover { transform: translateY(-3px); }

.person-modal { display: none; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center; }
.person-modal.active { display: flex; }
.person-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }

.person-modal-card { position: relative; background: #fff; max-width: 480px; width: 90%;
  padding: 2rem; border-radius: 12px; text-align: center; }

.person-modal-close { position: absolute; top: 12px; right: 14px; border: 0;
  background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #111; }

.person-modal-img { width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 12px; }

/* hide the broken-image icon when no photo is set yet */
.person-modal-img[src=""],
.person-modal-img:not([src]) { display: none; }

.person-modal-name { color: #111 !important; margin: 0; }
.person-modal-role { color: #555 !important; margin: 4px 0 0; }
.person-modal-bio  { color: #333 !important; margin-top: 1rem; line-height: 1.7; text-align: left; }
