/* =============================================
   ND Crime Management — Landing Page Styles
   ============================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #027FBB;
  --primary-dark: #0f2540;
  --primary-light: #2a5a8c;
  --accent: #c8960c;
  --accent-light: #0281BE;
  --accent-dark: #a07008;
  --success: #1a7a4a;
  --info: #1a6a8c;
  --danger: #8c1a1a;
  --dark: #0d1f35;
  --dark-alt: #142a45;
  --dark-card: #1c3350;
  --light: #f4f7fc;
  --light-alt: #e8edf5;
  --text: #1a2840;
  --text-muted: #5a6b80;
  --border: #d0dae8;
  --white: #ffffff;

  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 6px;
  --shadow: 0 4px 20px rgba(26, 58, 92, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 58, 92, 0.18);
  --shadow-card: 0 2px 12px rgba(26, 58, 92, 0.08);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ---- TYPOGRAPHY ---- */
.section-tag {
  display: inline-block;
  background: rgba(200, 150, 12, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(200, 150, 12, 0.3);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag-light {
  background: rgba(240, 180, 41, 0.15);
  color: var(--accent-light);
  border-color: rgba(240, 180, 41, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header.light .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-header.light .section-desc {
  color: rgba(255,255,255,0.72);
}

/* ---- SECTION BASE ---- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
}

.section-alt {
  background: var(--light);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 150, 12, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 24px rgba(200, 150, 12, 0.45);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.mt-2 { margin-top: 10px; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13, 31, 53, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--dark);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.brand-text strong {
  color: var(--white);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-nav {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
}

.btn-nav:hover {
  background: var(--accent-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(26, 106, 140, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(200, 150, 12, 0.12) 0%, transparent 60%),
    linear-gradient(145deg, #06111f 0%, #0d1f35 45%, #0f2a4a 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.02) 60px,
      rgba(255,255,255,0.02) 61px
    );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 12, 0.15);
  border: 1px solid rgba(200, 150, 12, 0.4);
  color: var(--accent-light);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 36px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.hero-scroll a:hover {
  color: rgba(255,255,255,0.8);
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================
   ANIMATIONS
   ============================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   TRUST BAR
   ============================ */
.trust-bar {
  background: var(--dark-alt);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================
   OVERVIEW SECTION
   ============================ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.ov-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.ov-blue { background: rgba(26, 58, 140, 0.12); color: var(--primary-light); }
.ov-gold { background: rgba(200, 150, 12, 0.12); color: var(--accent); }
.ov-green { background: rgba(26, 122, 74, 0.12); color: var(--success); }
.ov-red { background: rgba(140, 26, 26, 0.12); color: var(--danger); }
.ov-purple { background: rgba(90, 26, 140, 0.12); color: #6a1a8c; }
.ov-teal { background: rgba(26, 106, 140, 0.12); color: var(--info); }

.overview-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================
   COMPETENCIES
   ============================ */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.comp-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.comp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.comp-card:hover::before {
  transform: scaleX(1);
}

.comp-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.comp-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}

.comp-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 150, 12, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.comp-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.comp-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-card ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  padding-left: 12px;
  position: relative;
}

.comp-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================
   CURRICULUM
   ============================ */
.curriculum-layout {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-bottom: 60px;
}

.curr-tabs {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  min-width: 200px;
  flex-shrink: 0;
}

.curr-tab {
  padding: 18px 24px;
  text-align: left;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: var(--transition);
  line-height: 1.4;
}

.curr-tab:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
}

.curr-tab.active {
  color: var(--white);
  background: rgba(200, 150, 12, 0.1);
  border-left-color: var(--accent);
  font-weight: 600;
}

.curr-panels {
  flex: 1;
  background: var(--white);
}

.curr-panel {
  display: none;
  padding: 36px;
}

.curr-panel.active {
  display: block;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.panel-header i {
  font-size: 1.5rem;
  color: var(--primary);
}

.panel-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.credit-badge {
  display: inline-block;
  background: rgba(26, 58, 92, 0.1);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.siwes-badge { background: rgba(200, 150, 12, 0.12); color: var(--accent-dark); }

.course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--light);
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}

.course-item:hover {
  background: var(--light-alt);
}

.course-tag {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.course-tag.general { background: #e8f0fe; color: #1a56db; }
.course-tag.foundation { background: #fef3c7; color: #92400e; }
.course-tag.professional { background: #dcfce7; color: #166534; }

.project-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(26, 58, 92, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.87rem;
  color: var(--primary);
  font-style: italic;
}

/* SIWES Panel */
.siwes-content { padding: 8px 0; }

.siwes-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(200, 150, 12, 0.07);
  border: 1px solid rgba(200, 150, 12, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.siwes-highlight i {
  font-size: 1.6rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.siwes-highlight p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

.siwes-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.siwes-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.siwes-point i {
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Curriculum Balance */
.curriculum-balance {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.curriculum-balance h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 28px;
}

.balance-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.balance-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.balance-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  width: 180px;
  flex-shrink: 0;
}

.balance-bar-wrap {
  flex: 1;
  background: var(--light-alt);
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
}

.balance-bar {
  height: 100%;
  width: 0;
  background: var(--color);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 36px;
  position: relative;
}

.balance-bar.animated {
  width: var(--pct);
}

/* ============================
   TIMELINE / STRUCTURE
   ============================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item.left {
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-item.right {
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--primary-light);
  border: 3px solid var(--light);
  border-radius: 50%;
  z-index: 1;
}

.dot-gold { background: var(--accent); }
.dot-primary { background: var(--primary); }

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  max-width: 340px;
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-gold {
  background: rgba(200, 150, 12, 0.05);
  border-color: rgba(200, 150, 12, 0.25);
}

.card-primary {
  background: rgba(26, 58, 92, 0.04);
  border-color: rgba(26, 58, 92, 0.2);
}

.tl-icon {
  width: 40px;
  height: 40px;
  background: rgba(26, 58, 92, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.tl-blue { background: rgba(26, 58, 140, 0.1); color: var(--primary-light); }
.tl-gold { background: rgba(200, 150, 12, 0.1); color: var(--accent); }
.tl-primary { background: rgba(26, 58, 92, 0.1); color: var(--primary); }

.tl-period {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.tl-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.tl-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.tl-badge {
  display: inline-block;
  background: rgba(26, 58, 92, 0.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-gold { background: rgba(200, 150, 12, 0.1); color: var(--accent-dark); }

.cgpa-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.cgpa-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.cgpa-badge.distinction { background: #fef3c7; color: #92400e; }
.cgpa-badge.upper { background: #dcfce7; color: #166534; }
.cgpa-badge.lower { background: #dbeafe; color: #1e40af; }
.cgpa-badge.pass { background: #f3f4f6; color: #374151; }

/* ============================
   ADMISSION
   ============================ */
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.req-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.req-block:last-child { margin-bottom: 0; }

.req-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.req-header i {
  width: 40px;
  height: 40px;
  background: rgba(26, 58, 92, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.req-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.req-block > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exam-tag {
  background: rgba(26, 58, 92, 0.07);
  color: var(--primary);
  border: 1px solid rgba(26, 58, 92, 0.15);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.subject-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.subject-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.subject-col.compulsory h4 { color: #991b1b; }
.subject-col.elective h4 { color: #1e40af; }

.subject-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subject-col ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.subject-col.compulsory li i { color: #ef4444; }
.subject-col.elective li i { color: var(--primary-light); font-size: 0.7rem; }

.additional-reqs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.add-req {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.add-req > i {
  width: 36px;
  height: 36px;
  background: rgba(200, 150, 12, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.add-req strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.add-req p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.sidebar-card:last-child { margin-bottom: 0; }

.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.sidebar-card h3 i {
  color: var(--accent);
}

.quick-facts ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quick-facts ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.quick-facts ul li:last-child { border-bottom: none; }

.qf-label { color: var(--text-muted); }
.qf-value { font-weight: 600; color: var(--primary); }

.apply-cta {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-color: transparent;
}

.apply-cta h3 { color: var(--white); }

.apply-cta > p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ============================
   CAREERS
   ============================ */
.careers-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.sector-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.sector-card:hover {
  border-color: rgba(200, 150, 12, 0.3);
  transform: translateY(-4px);
}

.sector-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 150, 12, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.sector-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.sector-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sector-card ul li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding-left: 14px;
  position: relative;
}

.sector-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.progression-panel {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px;
}

.progression-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
}

.progression-panel h3 i { color: var(--accent); }

.prog-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.prog-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.ps-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.prog-step.current .ps-dot { background: var(--accent); }
.prog-step.next .ps-dot { background: var(--primary-light); }
.prog-step.future .ps-dot { background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.3); }

.prog-connector {
  flex: 0 0 40px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin-top: 12px;
}

.ps-content strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.ps-content span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================
   SIWES FEATURE SECTION
   ============================ */
.siwes-section {
  background: var(--light);
}

.siwes-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.siwes-text > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary-dark);
  margin: 12px 0 20px;
  line-height: 1.25;
}

.siwes-text > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}

.siwes-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.sf-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 58, 92, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sf-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.sf-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.siwes-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.siwes-badge-large {
  width: 220px;
  height: 220px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 16px 48px rgba(26, 58, 92, 0.3);
  border: 4px solid rgba(200, 150, 12, 0.3);
}

.siwes-badge-large i {
  font-size: 2rem;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.sv-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-light);
}

.sv-label {
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 120px;
  line-height: 1.3;
}

.agency-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.agency-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-card);
}

.agency-pill i { color: var(--accent); font-size: 0.75rem; }

/* ============================
   QUOTE SECTION
   ============================ */
.quote-section {
  background: var(--primary-dark);
  padding: 80px 0;
}

.programme-quote {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(200, 150, 12, 0.25);
  display: block;
  margin-bottom: 24px;
}

.programme-quote p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.programme-quote cite {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-style: normal;
  font-weight: 500;
}

/* ============================
   APPLY / CTA
   ============================ */
.apply-section {
  background: var(--white);
}

.apply-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.apply-info > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--primary-dark);
  margin: 12px 0 16px;
  line-height: 1.25;
}

.apply-info > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.apply-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}

.ac-item i { color: var(--success); font-size: 1rem; }

.apply-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.apply-form {
  padding: 40px;
}

.apply-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.req { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 90, 140, 0.1);
}

.form-group textarea { resize: vertical; }

.btn-submit {
  margin-top: 100px;
  padding: padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 200px; /* pushes it away from top */
}

.form-privacy {
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-privacy i { margin-right: 4px; }

.form-success {
  display: none;
  padding: 60px 40px;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.fb-logo i {
  color: var(--accent);
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fb-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.fb-badge i { color: var(--accent); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent-light);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact ul li i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .competency-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .admission-grid { grid-template-columns: 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .siwes-layout { grid-template-columns: 1fr; }
  .siwes-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 12px 24px;
    border-radius: 0;
  }

  .btn-nav {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    text-align: center;
    border-radius: 8px !important;
  }

  .nav-toggle { display: flex; }

  .hero-stats {
    gap: 16px;
    padding: 20px 16px;
  }

  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.8rem; }
  .stat-divider { height: 36px; }

  .trust-items { gap: 20px; }

  .overview-grid { grid-template-columns: 1fr; }
  .competency-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }

  .curriculum-layout { flex-direction: column; }
  .curr-tabs { flex-direction: row; overflow-x: auto; min-width: unset; }
  .curr-tab { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: 14px 16px; }
  .curr-tab.active { border-left: none; border-bottom-color: var(--accent); }
  .curr-panel { padding: 24px; }

  .balance-item { flex-direction: column; gap: 8px; }
  .balance-label { width: auto; }

  .timeline::before { left: 20px; }
  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }
  .timeline-dot { left: 20px; }
  .timeline-card { max-width: 100%; }

  .subject-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .prog-steps { flex-direction: column; gap: 20px; }
  .prog-connector { width: 2px; height: 24px; margin: 0 0 0 7px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 100px; height: 1px; }
}
