/* ==========================================================================
   GATA GLOBAL — Global Association for Theological Accreditation
   Design system & shared styles
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Bai+Jamjuree:wght@400;500;600;700&family=Barlow:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.accent {
  color: #E21DB5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover { background: #E21DB5; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 50px;
  height: auto;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  transition: color 0.25s;
}
.header-contact:hover { color: #E21DB5; }

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
.main-nav {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scrolled .main-nav {
  background: transparent;
  border-top: none;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 0;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.submenu-toggle {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  transition: color 0.25s;
}

.nav-item > a:hover,
.submenu-toggle:hover,
.nav-item.active > a,
.nav-item.active .submenu-toggle {
  color: #DE6262;
}

.has-submenu { position: relative; }

.submenu-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.submenu-toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
  margin-bottom: -3px;
}
.submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: 3px; }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: rgba(0, 0, 0, 0.77);
  backdrop-filter: blur(8px);
  padding: 8px 0;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.submenu-right .submenu {
  left: auto;
  right: 0;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.submenu a:hover { color: #DE6262; background: rgba(255,255,255,0.05); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero / Slideshow
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 573px;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.slide-content {
  max-width: 1000px;
  padding: 0 24px;
}

.slide-title {
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.slide-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.hero-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  transition: background 0.25s, opacity 0.25s;
  z-index: 10;
}
.hero-arrows button:hover { background: rgba(0,0,0,0.7); }
.hero-arrows .prev { left: 18px; }
.hero-arrows .next { right: 18px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.25s, transform 0.25s;
}
.hero-dots button.active { background: #fff; transform: scale(1.25); }

/* ==========================================================================
   Quick action boxes
   ========================================================================== */
.quick-boxes {
  background: #fff;
  color: #000;
  padding: 20px 0;
  margin-top: -1px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quick-box {
  padding: 40px 34px;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  min-height: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quick-box:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }

.quick-box.orange { background: #F26C00; }
.quick-box.blue   { background: #29ABE2; }
.quick-box.yellow { background: #FFCC00; }

.quick-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.quick-title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
}

.quick-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFCCC;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  transition: background 0.25s;
}
.quick-box:hover .quick-more { background: #fff; }

/* ==========================================================================
   Intro / About section
   ========================================================================== */
.intro {
  background: #fff;
  color: #000;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }

.intro-title {
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.intro-title .accent { font-size: 1.5em; }

.intro-text {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
}

/* ==========================================================================
   Mission section
   ========================================================================== */
.mission {
  position: relative;
  background: url('/assets/images/hero-woman-bible.jpg') center/cover fixed no-repeat;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.mission-inner { position: relative; }

.mission-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 8vw, 110px);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  margin-bottom: 70px;
  color: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 360px;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.mission-card:hover { transform: translateY(-8px); }

.mission-card.purple { background: #5956B0; }
.mission-card.brown  { background: #993500; }
.mission-card.green  { background: #3F7652; }
.mission-card.orange { background: #9D6200; }

.mission-card-body {
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.mission-card-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  color: #fff;
}

.mission-card-text {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

.mission-card-image {
  position: relative;
  overflow: hidden;
}
.mission-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 200px 0 90px;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.page-hero .container { position: relative; }

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-hero h1 .accent { font-size: 1.45em; }

.page-section {
  background: #000;
  color: #fff;
}

.page-section.alt { background: #0d0d0d; }

/* ---------- Content blocks ---------- */
.prose h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}
.prose h2 .accent { font-size: 1.5em; }

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.75;
  color: #e6e6e6;
  margin-bottom: 14px;
}

.prose ul, .prose ol { padding-left: 22px; margin-bottom: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.block-list li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}
.block-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 2px;
  background: #E21DB5;
}

/* ---------- Accreditation forms & details ---------- */
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}
.doc-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.doc-card:hover { border-color: #E21DB5; transform: translateY(-4px); }
.doc-card .doc-icon { font-size: 30px; margin-bottom: 10px; }
.doc-card h3 { font-size: 17px; margin-bottom: 6px; }
.doc-card p { font-size: 13px; color: #aaa; }

/* ---------- Forms ---------- */
.form-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 40px 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  color: #ccc;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  transition: border-color 0.25s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: #E21DB5; }

.form-submit {
  margin-top: 24px;
  background: #E21DB5;
  color: #fff;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 8px;
  transition: background 0.25s;
}
.form-submit:hover { background: #b9168e; }

/* ---------- Course cards (education page) ---------- */
.course-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.course-search {
  flex: 1;
  min-width: 240px;
  padding: 13px 16px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font: inherit;
}
.course-search:focus { outline: none; border-color: #E21DB5; }

.course-chip {
  padding: 10px 20px;
  background: #141414;
  border: 1px solid #333;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #ddd;
  transition: all 0.25s;
}
.course-chip:hover { border-color: #E21DB5; color: #fff; }
.course-chip.active { background: #E21DB5; border-color: #E21DB5; color: #fff; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.course-card {
  background: #111;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, border-color 0.25s;
}
.course-card:hover { transform: translateY(-4px); border-color: #E21DB5; }

.course-card h3 { font-size: 17px; font-family: 'Barlow', sans-serif; font-weight: 600; }

.course-duration {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: #E21DB5;
  background: rgba(226, 29, 181, 0.12);
  padding: 5px 12px;
  border-radius: 20px;
}

.course-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #29ABE2;
  transition: color 0.2s;
}
.course-link:hover { color: #E21DB5; }

/* ---------- Admin / leadership lists ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.leadership-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 24px 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.leadership-card:hover { border-color: #E21DB5; transform: translateY(-4px); }
.leadership-card .name { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.leadership-card .role { font-size: 14px; color: #b9b9b9; }
.leadership-card .tag { font-size: 12px; font-weight: 600; color: #E21DB5; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Two column content w/ image ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-image { border-radius: 10px; overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Apply now page ---------- */
.apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}
.apply-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 36px 30px;
  text-align: center;
}
.apply-card h3 { margin-bottom: 8px; }
.apply-card p { color: #aaa; font-size: 14px; margin-bottom: 22px; }

.btn-outline {
  border: 1px solid #000;
  background: #000;
  color: #fff;
  transition: all 0.25s;
}
.btn-outline:hover { background: #fff; color: #000; border-color: #fff; }

.coming-soon {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  border: 1px dashed #555;
  padding: 12px 30px;
  border-radius: 8px;
}

.divider {
  width: 100%;
  height: 1px;
  background: #2a2a2a;
  margin: 30px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: rgb(89, 86, 176);
  color: #fff;
  padding-top: 70px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.footer-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-line .icon { width: 20px; height: 20px; margin-top: 2px; }
.footer-line p { font-size: 14px; line-height: 1.6; color: #f2f2f2; }
.footer-line a { font-size: 14px; color: #fff; word-break: break-all; }
.footer-line a:hover { text-decoration: underline; }
.footer-line span { font-size: 14px; }

.newsletter-wrap { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 40px; }

.newsletter { max-width: 520px; margin: 0 auto; text-align: center; }
.newsletter-title { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.newsletter-row {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 16px;
  font: inherit;
}
.newsletter input::placeholder { color: #ddd; }
.newsletter input:focus { outline: none; }
.btn-join {
  background: #fff;
  color: #5956B0;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 6px;
  transition: background 0.25s;
}
.btn-join:hover { background: #E21DB5; color: #fff; }
.newsletter-msg { margin-top: 10px; font-size: 14px; min-height: 20px; }

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #eee;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .header-contacts .header-contact span { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .intro-grid, .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .mission-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .apply-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-contacts { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(0,0,0,0.95);
  }
  .main-nav.open { max-height: 90vh; overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: flex-start; padding: 16px 24px; }
  .nav-item { width: 100%; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; padding: 0 0 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .nav-item.open .submenu { max-height: 300px; }
  .page-hero { padding: 150px 0 60px; }
  .mission-card { grid-template-columns: 1fr; }
  .mission-card-image { min-height: 220px; position: relative; }
  .mission-card-image img { position: static; height: 220px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand-name { font-size: 15px; }
  .quick-box { padding: 30px 24px; }
}