/* ============================================================
   TCA WEBSITE — SECTIONS
   Brand: Indigo/Navy + Crimson + Gold
   ============================================================ */

/* Stats ticker removed — the hero now hands off directly to the
   About/eagle scene with no interrupting section between them. */


/* ---- ABOUT ----
   Layout, image-wrap, badge, and points card styling now live in
   about-scene.css — the section merged with the eagle parallax
   scene and is no longer a plain light-background two-column grid. */


/* ---- PROGRAMS ---- */
.programs {
  background: var(--white);
}

.programs__intro {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.programs__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
}
.programs__tabs .ptab { flex-shrink: 0; }

.ptab {
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.ptab.active,
.ptab:hover {
  color: var(--navy);
}

.ptab.active {
  border-bottom-color: var(--gold);
}

.prog-panel {
  display: none;
}

.prog-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.prog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--navy), var(--crimson));
}

.prog-card:hover {
  box-shadow: 0 8px 24px rgba(29, 24, 98, 0.12);
  transform: translateY(-3px);
}

.prog-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.prog-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.prog-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.prog-card__badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--off-white);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}


/* ---- ACHIEVEMENTS ---- */
.achievements {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.achievements::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(201, 151, 58, 0.07);
  pointer-events: none;
}

/* Red diagonal accent */
.achievements::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 300px; height: 300px;
  background: linear-gradient(135deg, transparent 50%, rgba(230, 5, 14, 0.15) 100%);
  pointer-events: none;
}

.achievements__intro {
  max-width: 600px;
  margin-bottom: 3rem;
}

.achievements__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.ach-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 151, 58, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}

.ach-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 151, 58, 0.4);
}

.ach-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ach-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 0.5rem;
}

.ach-card__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}


/* ---- CONTACT ---- */
.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border-top: 3px solid var(--navy);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.form-submit:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.contact-info {
  padding-top: 1rem;
}

.ci-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.ci-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.5;
}

.map-placeholder {
  margin-top: 2rem;
  height: 200px;
  background: #eaeaf5;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}


/* ---- FOOTER ---- */
footer {
  background: var(--navy-dark);
  padding: 60px 3rem 30px;
  border-top: 3px solid var(--gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer__brand .logo img { height: 56px; }

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col ul li { margin-bottom: 8px; }

.footer__col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__powered-by {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

.footer__logo-row img {
  height: 32px;
  opacity: 0.85;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  section { padding: 60px 1.5rem; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__badge {
    position: static;
    display: flex;
    margin: 1.5rem auto 0;
    width: 120px;
    height: 120px;
  }
  .about__badge img {
    width: 96px;
    height: 96px;
  }


  .achievements__grid { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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






/* ============================================================
   FORM ALERTS + HONEYPOT (contact form now has a real backend)
   ============================================================ */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.form-alert--success {
  background: rgba(63, 187, 70, 0.12);
  border: 1px solid rgba(63, 187, 70, 0.35);
  color: var(--tag-lime-text);
}

.form-alert--error {
  background: rgba(230, 5, 14, 0.1);
  border: 1px solid rgba(230, 5, 14, 0.35);
  color: var(--crimson);
}

/* Hidden from sighted users but present in the DOM for bots to fill */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ============================================================
   CAMPUS LIFE — photo mosaic gallery
   ============================================================ */
.campus-life {
  background: var(--off-white);
}

.campus-life__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.campus-life__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cl-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.cl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cl-item:hover img {
  transform: scale(1.08);
}

.cl-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(21, 18, 63,0.85), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .campus-life__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   ANNOUNCEMENT IMAGE (optional, admin-uploaded)
   ============================================================ */
.ann-slide__img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #efe3c8;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
