/* =========================================
   SocialPost Academy — Static Website CSS
   ========================================= */

:root {
  --primary:   #1d438d;
  --primary-d: #15336e;
  --dark:      #ed1c24;
  --dark2:     #c91620;
  --accent:    #1d438d;
  --light-bg:  #f2ede0;
  --text:      #1a1a2e;
  --muted:     #6c757d;
  --border:    #e0dbd0;
}

/* --- Base --- */
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; }
a { text-decoration: none; }

/* --- Navbar --- */
.spa-navbar {
  background: var(--dark) !important;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.spa-navbar .navbar-brand {
  font-size: 20px;
  font-weight: 900;
  color: #fff !important;
  letter-spacing: -.3px;
}
.spa-navbar .navbar-brand span { color: var(--primary); }
.spa-navbar .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: .2s;
}
.spa-navbar .nav-link:hover,
.spa-navbar .nav-link.active {
  color: #fff !important;
  background: #1d438d;
}
.spa-navbar .btn-portal {
  background: var(--primary);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  transition: .2s;
}
.spa-navbar .btn-portal:hover { background: var(--primary-d); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 100px 0 80px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 520px;
}
.btn-primary-spa {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: none;
  transition: .2s;
  display: inline-block;
}
.btn-primary-spa:hover { background: var(--primary-d); color: #fff; transform: translateY(-1px); }
.btn-outline-spa {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 28px;
  transition: .2s;
  display: inline-block;
}
.btn-outline-spa:hover { background: rgba(255,255,255,.1); color: #fff; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-d);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.stat-item .lbl { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* --- Section Headings --- */
.section-tag {
  display: inline-block;
  background: rgba(29,67,141,.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(24px, 4vw, 36px); font-weight: 900; color: var(--text); line-height: 1.2; }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* --- Cards --- */
.spa-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: .25s;
  height: 100%;
}
.spa-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.spa-card .icon-box {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.spa-card h5 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.spa-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* --- University Grid --- */
.uni-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: .25s;
}
.uni-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.uni-logo {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}
.uni-card h6 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.uni-card .location { font-size: 11px; color: var(--muted); }
.uni-badge {
  display: inline-block;
  background: var(--light-bg);
  color: var(--muted);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  margin-top: 10px;
}

/* --- Course Card --- */
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: .25s;
}
.course-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.course-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.course-body { padding: 18px; }
.course-body .tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--primary); margin-bottom: 6px; }
.course-body h6 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.course-body p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.course-meta span { font-size: 11px; color: var(--muted); margin-right: 12px; }

/* --- Process Steps --- */
.step-wrap { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary);
  color: #fff; font-size: 16px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h6 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--muted); margin: 0; }

/* --- Agent Benefits --- */
.benefit-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.benefit-icon { font-size: 22px; margin-top: 2px; }
.benefit-text h6 { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.benefit-text p { font-size: 13px; color: var(--muted); margin: 0; }

/* --- Testimonial --- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.testimonial-card .stars { color: #FFC107; font-size: 14px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; color: var(--muted); font-style: italic; line-height: 1.7; margin-bottom: 16px; }
.testimonial-card .author { font-size: 13px; font-weight: 800; color: var(--text); }
.testimonial-card .role { font-size: 11px; color: var(--muted); }

/* --- Contact --- */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.form-control, .form-select {
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(29,67,141,.1) !important;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 70px 0;
  color: #fff;
  text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.btn-white { background: #fff; color: var(--primary) !important; border-radius: 12px; font-weight: 800; font-size: 15px; padding: 13px 28px; transition: .2s; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }

/* --- Footer --- */
.spa-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 50px 0 24px;
  font-size: 13px;
}
.spa-footer .brand { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.spa-footer .brand span { color: var(--primary); }
.spa-footer p { color: #fff; font-size: 13px; }
.spa-footer h6 { color: #1d438d; font-weight: 800; font-size: 13px; margin-bottom: 14px; letter-spacing: .3px; }
.spa-footer ul { list-style: none; padding: 0; margin: 0; }
.spa-footer ul li { margin-bottom: 9px; }
.spa-footer ul li a { color: rgba(255,255,255,.85); font-size: 13px; transition: .2s; }
.spa-footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-top: 32px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.35); font-size: 12px; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  padding: 64px 0 52px;
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.6); margin: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding: 70px 0 50px; }
  .stats-bar .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
  .step-wrap { gap: 12px; }
}
