/* =============================================
   ApexEd — Main Stylesheet
   ============================================= */

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

:root {
  --navy:       #0D1F3C;
  --navy2:      #1A3A6B;
  --gold:       #C9973A;
  --gold-light: #F2DEB0;
  --cream:      #F8F5EF;
  --white:      #ffffff;
  --gray:       #6B7280;
  --light-gray: #F1EFE8;
  --border:     rgba(13, 31, 60, 0.12);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.65;
}

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.nav-cta:hover { background: var(--navy2); }

/* =============================================
   HERO
   ============================================= */

.hero {
  background: var(--navy);
  padding: 80px 5% 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(201, 151, 58, 0.18);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 0.5px solid rgba(201, 151, 58, 0.35);
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline:hover { border-color: rgba(255, 255, 255, 0.7); }

/* Hero Visual Panel */
.hero-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px 20px;
}

.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.hero-quote {
  margin-top: 16px;
  background: rgba(201, 151, 58, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  line-height: 1.6;
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */

section { padding: 80px 5%; }

.section-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.75;
}

/* =============================================
   SERVICES
   ============================================= */

.services { background: var(--white); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.service-card:hover { border-color: rgba(13, 31, 60, 0.35); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.service-card.camp::before       { background: #C9973A; }
.service-card.university::before { background: #1A3A6B; }
.service-card.online::before     { background: #0F6E56; }
.service-card.corporate::before  { background: #993C1D; }

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.icon-camp   { background: #FAEEDA; }
.icon-uni    { background: #E6F1FB; }
.icon-online { background: #E1F5EE; }
.icon-corp   { background: #FAECE7; }

.service-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 31, 60, 0.2);
  padding-bottom: 1px;
}

.service-link:hover { border-color: var(--navy); }

/* =============================================
   WHY APEXED
   ============================================= */

.why { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.why-item h4 {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--navy);
}

.why-item p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* Testimonial Panel */
.why-image {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px;
  color: var(--white);
}

.testimonial-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonial-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 151, 58, 0.25);
  border: 0.5px solid rgba(201, 151, 58, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-light);
}

.author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.author-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   CTA STRIP
   ============================================= */

.cta-strip {
  background: var(--gold);
  padding: 56px 5%;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-strip p {
  font-size: 16px;
  color: rgba(13, 31, 60, 0.65);
  margin-bottom: 28px;
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  margin: 0 6px;
  font-family: 'DM Sans', sans-serif;
}

.btn-dark:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(13, 31, 60, 0.3);
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
  margin: 0 6px;
  font-family: 'DM Sans', sans-serif;
}

.btn-ghost:hover { border-color: var(--navy); }

/* =============================================
   FOOTER
   ============================================= */

footer {
  background: var(--navy);
  padding: 48px 5% 28px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  font-size: 18px;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 12px; }

/* =============================================
   UNDER CONSTRUCTION BANNER
   ============================================= */

.construction-banner {
  background: #1A3A6B;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 2px dashed rgba(201,151,58,0.45);
}

.construction-icon { font-size: 15px; }

.construction-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

/* =============================================
   UNDER CONSTRUCTION SECTION
   ============================================= */

.under-construction {
  background: #0D1F3C;
  padding: 72px 5%;
}

.uc-inner { max-width: 860px; margin: 0 auto; text-align: center; }

.uc-tape {
  display: inline-block;
  background: repeating-linear-gradient(
    -45deg,
    #C9973A,
    #C9973A 10px,
    #0D1F3C 10px,
    #0D1F3C 20px
  );
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.uc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.uc-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.uc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}

.uc-card {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 22px;
  position: relative;
}

.uc-card-icon { font-size: 24px; margin-bottom: 14px; }

.uc-card h4 {
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 8px;
}

.uc-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 16px;
}

.uc-pill {
  display: inline-block;
  background: rgba(201,151,58,0.15);
  border: 0.5px solid rgba(201,151,58,0.35);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.uc-notify p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.uc-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.uc-form input {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.uc-form input::placeholder { color: rgba(255,255,255,0.35); }
.uc-form input:focus { border-color: var(--gold); }

.uc-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.uc-form button:hover { opacity: 0.88; }

/* =============================================
   LAUNCHING PANEL (replaces fake stats)
   ============================================= */

.launching-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.launching-badge {
  display: inline-block;
  background: rgba(201, 151, 58, 0.18);
  border: 0.5px solid rgba(201, 151, 58, 0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
}

.launching-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.launching-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 0;
}

.stat-placeholders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.stat-ph {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
}

.stat-ph-bar {
  height: 18px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 60%,
    rgba(255,255,255,0.03) 60%,
    rgba(255,255,255,0.03) 100%
  );
  margin-bottom: 10px;
  width: 70%;
}

.stat-ph-bar.short { width: 50%; }

.stat-ph-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* =============================================
   TESTIMONIAL — UNDER CONSTRUCTION
   ============================================= */

.testimonial-uc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uc-quote-icon {
  font-size: 28px;
  opacity: 0.5;
}

.uc-placeholder-text {
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.uc-testimonial-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.uc-testimonial-avatars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.uc-avatar-ph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.uc-avatar-label {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-left: 4px;
}

/* Nav logo sizing fix for longer name */
.nav-logo {
  font-size: 17px !important;
  white-space: nowrap;
}

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

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 5% 48px;
  }
  .hero h1 { font-size: 34px; }
  .hero-visual { margin-top: 16px; }
  .services-header { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
  .cta-strip h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}
