/* ── Contact Page ────────────────────────────────────── */

/* ── Hero ── */
.ct-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -2rem;
  background: #087fff;
}

.ct-hero nav,
.ct-hero .ct-breadcrumb { border-bottom: none; box-shadow: none; }

.ct-hero__bg {
  display: none;
}

.ct-hero__overlay {
  display: none;
}

.ct-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  color: #fff;
}

.ct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  margin-top: 50px;
}

.ct-breadcrumb a { color: #002743; text-decoration: none; }
.ct-breadcrumb a:hover { color: #.about-hero__breadcrumb a:hover { color: #369de7; }

.about-hero__breadcrumb span { color: #369de7; }; }
.ct-breadcrumb span { color: #369de7; font-weight: 600; }

.ct-hero__content h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.ct-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.ct-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ct-hero__pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  backdrop-filter: blur(4px);
}

.ct-hero__pills span svg { width: 14px; height: 14px; color: #E7DD36; flex-shrink: 0; }

.ct-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.3);
}

.ct-hero__wave svg { display: none; }

/* ── Info Cards ── */
.ct-cards {
  padding: 2.5rem 0 2rem;
}

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

.ct-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ct-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15,23,42,0.1);
}

.ct-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}

.ct-card__icon svg { width: 20px; height: 20px; }
.ct-card__icon--blue   { background: rgba(72,127,195,0.1);  color: #087fff; }
.ct-card__icon--green  { background: rgba(46,93,40,0.1);    color: #2E5D28; }
.ct-card__icon--yellow { background: rgba(231,221,54,0.18); color: #8a7a00; }
.ct-card__icon--wa     { background: rgba(37,211,102,0.1);  color: #25d366; }

.ct-card h3 { font-size: 0.95rem; font-weight: 700; color: #17385d; margin: 0; }
.ct-card p  { font-size: 0.875rem; color: #374151; margin: 0; }
.ct-card small { font-size: 0.78rem; color: #9CA3AF; }

.ct-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #087fff;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.ct-card__link:hover { color: #2E5D28; gap: 0.45rem; }

/* ── Body Layout ── */
.ct-body { padding: 0 0 4rem; }

.ct-body__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* ── Form Card ── */
.ct-form-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

.ct-form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #17385d;
  margin-bottom: 0.3rem;
}

.ct-form-card__sub {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #F3F4F6;
}

/* Subject pills */
.ct-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.ct-subject {
  padding: 0.35rem 0.9rem;
  border: 2px solid #E5E7EB;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  cursor: poInter;
  font-family: inherit;
  transition: all 0.18s;
}

.ct-subject:hover { border-color: #087fff; color: #087fff; }
.ct-subject--active { background: #087fff; border-color: #087fff; color: #fff; }

/* Fields */
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ct-row .ct-field { margin-bottom: 0; }

.ct-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.ct-opt { font-weight: 400; color: #9CA3AF; font-size: 0.78rem; }

.ct-field input,
.ct-field textarea,
.ct-field select {
  padding: 0.7rem 0.95rem;
  border: 2px solid #E5E7EB;
  border-radius: 0.7rem;
  font-size: 0.925rem;
  font-family: inherit;
  color: #1A1A1A;
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-color: #087fff;
  box-shadow: 0 0 0 3px rgba(72,127,195,0.1);
}

.ct-field input.is-error,
.ct-field textarea.is-error { border-color: #EF4444; }

.ct-field textarea { resize: vertical; min-height: 120px; }

.ct-charcount {
  font-size: 0.72rem;
  color: #9CA3AF;
  text-align: right;
}

.ct-err {
  font-size: 0.78rem;
  color: #EF4444;
  font-weight: 500;
}

.ct-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #374151;
  cursor: poInter;
  margin-bottom: 0.4rem;
}

.ct-check input { margin-top: 2px; accent-color: #087fff; width: 15px; height: 15px; flex-shrink: 0; }
.ct-check a { color: #087fff; font-weight: 600; text-decoration: none; }
.ct-check a:hover { text-decoration: underline; }

.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #087fff, #2f67ac);
  color: #fff;
  border: none;
  border-radius: 0.8rem;
  font-size: 0.975rem;
  font-weight: 700;
  cursor: poInter;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(72,127,195,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ct-submit svg { width: 17px; height: 17px; }
.ct-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(72,127,195,0.38); }
.ct-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success */
.ct-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 0.85rem;
}

.ct-success:not([hidden]) { display: flex; }

.ct-success__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(46,93,40,0.1);
  border: 2.5px solid #2E5D28;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E5D28;
}

.ct-success__icon svg { width: 1.8rem; height: 1.8rem; }
.ct-success h3 { font-size: 1.4rem; font-weight: 800; color: #17385d; margin: 0; }
.ct-success p  { color: #6B7280; font-size: 0.9rem; max-width: 360px; margin: 0; }

.ct-reset {
  background: none;
  border: 2px solid #E5E7EB;
  border-radius: 0.7rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6B7280;
  cursor: poInter;
  font-family: inherit;
  transition: all 0.18s;
  margin-top: 0.25rem;
}

.ct-reset:hover { border-color: #087fff; color: #087fff; }

/* ── Sidebar ── */
.ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 120px;
}

.ct-scard {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
}

.ct-scard h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #17385d;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #E7DD36;
}

/* Hours */
.ct-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #F3F4F6;
}

.ct-hours li:last-child { border-bottom: none; }
.ct-hours span { color: #6B7280; }
.ct-hours strong { color: #1A1A1A; font-weight: 600; font-size: 0.82rem; }
.ct-closed { color: #EF4444 !important; }

/* Departments */
.ct-depts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ct-depts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ct-dept-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.55rem;
  background: rgba(72,127,195,0.08);
  color: #087fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-dept-icon svg { width: 15px; height: 15px; }

.ct-depts li div { display: flex; flex-direction: column; gap: 0.05rem; }
.ct-depts strong { font-size: 0.8rem; font-weight: 700; color: #1A1A1A; }
.ct-depts a { font-size: 0.75rem; color: #087fff; text-decoration: none; }
.ct-depts a:hover { text-decoration: underline; color: #2E5D28; }

/* Dark card */
.ct-scard--dark {
  background: linear-gradient(135deg, #17385d 0%, #369de7 100%);
  border-color: transparent;
}

.ct-scard--dark h4 { color: #fff; border-color: rgba(255,255,255,0.2); }
.ct-scard--dark p  { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0.85rem; }

.ct-socials { display: flex; gap: 0.6rem; }

.ct-socials a {
  width: 36px;
  height: 36px;
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.18s, transform 0.18s;
}

.ct-socials a svg { width: 15px; height: 15px; }
.ct-socials a:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ── Map ── */
.ct-map {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-map__card {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 0.85rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 6px 20px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  white-space: nowrap;
  z-index: 10;
}

.ct-map__card strong { font-size: 0.875rem; font-weight: 700; color: #17385d; }
.ct-map__card span   { font-size: 0.78rem; color: #6B7280; }
.ct-map__card a      { font-size: 0.78rem; color: #087fff; font-weight: 600; text-decoration: none; }
.ct-map__card a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ct-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .ct-body__layout { grid-template-columns: 1fr; }
  .ct-sidebar { position: static; }
}

@media (max-width: 640px) {
  .ct-cards__grid { grid-template-columns: 1fr 1fr; }
  .ct-form-card { padding: 1.5rem; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-hero__pills span:not(:first-child) { display: none; }
  .ct-map { height: 280px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
