/* ==========================================================================
   EARLY START TRAINING ACADEMY - PUBLIC WEBSITE STYLES
   Brand Colors: Navy #0f2942 | Vibrant Orange #ff7a00 | Red #e53935 | Green #7cb342
   ========================================================================== */

:root {
  --primary-navy: #0f2942;
  --primary-dark: #081a2b;
  --accent-orange: #ff7a00;
  --accent-orange-hover: #e06900;
  --accent-red: #e53935;
  --accent-green: #7cb342;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(15, 41, 66, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 41, 66, 0.1);
  --shadow-lg: 0 15px 35px rgba(15, 41, 66, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1.5px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  transition: color 0.2s;
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-portal {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-portal:hover {
  background: #183e63;
  transform: translateY(-1px);
}

.btn-apply {
  background: var(--accent-orange);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.25);
}

.btn-apply:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #091a2b 0%, #0f2942 60%, #153c5e 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 0, 0.2);
  border: 1px solid var(--accent-orange);
  color: #ff9d42;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--accent-orange);
}

.hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero-card-logo {
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 50%;
  padding: 12px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Section Common */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Programmes Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.program-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-orange);
}

.program-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.program-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.program-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.program-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Application Form */
.application-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #ffffff;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-orange);
}

/* Footer */
.site-footer {
  background: var(--primary-navy);
  color: #cbd5e1;
  padding: 50px 0 24px;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
}
