/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #071229;
  --bg-dark: #040d1a;
  --bg-card: #0d1e3a;
  --orange: #e8641a;
  --orange-hover: #ff7520;
  --orange-light: #ff8c42;
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.15);
  --font-main: 'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 16px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-muted { color: var(--white-70); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  background: rgba(7, 18, 41, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { padding: 8px 48px; background: rgba(4, 13, 26, 0.99); }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .logo-main { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: 0.04em; color: var(--white); text-transform: uppercase; }
.nav-logo-text .logo-sub { font-size: 0.6rem; font-weight: 500; color: var(--white-50); letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.btn-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em;
  transition: var(--transition);
}
.btn-nav:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 1001; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-main); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,100,26,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--bg-primary); border-color: var(--white); }
.btn-orange-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-orange-outline:hover { background: var(--orange); color: var(--white); }

/* ===== LAYOUT ===== */
.section { padding: 96px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label { display: inline-block; color: var(--orange); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-subtitle { color: var(--white-70); font-size: 0.98rem; max-width: 600px; margin: 0 auto 48px; text-align: center; line-height: 1.7; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-primary); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; background-repeat: no-repeat; opacity: 0.45; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,18,41,0.97) 45%, rgba(7,18,41,0.35) 100%),
              linear-gradient(to top, rgba(7,18,41,0.95) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 48px 80px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.0; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.05rem; color: var(--white-70); margin-bottom: 36px; font-weight: 400; max-width: 500px; line-height: 1.65; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-primary); padding-top: 80px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.4; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,18,41,0.5) 0%, rgba(7,18,41,0.88) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 48px 48px 64px; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; text-transform: uppercase; line-height: 1.0; }
.page-hero-title .line-orange { color: var(--orange); }
.hero-line-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--orange), transparent); }

/* ===== COURSE HERO ===== */
.course-hero { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; background: var(--bg-primary); padding-top: 80px; }
.course-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.38; }
.course-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,18,41,0.97) 50%, rgba(7,18,41,0.4) 100%),
              linear-gradient(to top, rgba(7,18,41,0.9) 0%, transparent 60%);
}
.course-hero-content { position: relative; z-index: 2; padding: 80px 48px; max-width: 1200px; margin: 0 auto; width: 100%; }
.course-tag { display: inline-block; background: rgba(232,100,26,0.18); border: 1px solid rgba(232,100,26,0.4); color: var(--orange); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.course-hero-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; text-transform: uppercase; line-height: 1.0; margin-bottom: 20px; }
.course-hero-title span { color: var(--orange); }
.course-hero-desc { font-size: 0.98rem; color: var(--white-70); line-height: 1.75; max-width: 580px; margin-bottom: 32px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--bg-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 36px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(232,100,26,0.12); border: 1px solid rgba(232,100,26,0.25); display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.trust-text { font-size: 0.8rem; color: var(--white-70); line-height: 1.35; }
.trust-text strong { display: block; color: var(--white); font-size: 0.86rem; }

/* ===== COURSE CONTENT ===== */
.course-section { padding: 80px 0; }
.course-section.bg-alt { background: rgba(255,255,255,0.025); }
.course-overview-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.course-overview-text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 20px; }
.course-overview-text h2 span { color: var(--orange); }
.course-overview-text p { color: var(--white-70); font-size: 0.95rem; line-height: 1.75; margin-bottom: 16px; }
.course-highlights { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.course-highlights h3 { font-size: 1rem; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--orange); }
.highlight-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.highlight-item:last-child { margin-bottom: 0; }
.highlight-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; background: rgba(232,100,26,0.15); border: 1px solid rgba(232,100,26,0.3); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-top: 2px; }
.highlight-text { font-size: 0.88rem; color: var(--white-70); line-height: 1.6; }
.highlight-text strong { color: var(--white); display: block; margin-bottom: 2px; font-size: 0.9rem; }

/* ===== WHO IS IT FOR PILLS ===== */
.audience-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.audience-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 24px; padding: 8px 16px; font-size: 0.82rem; color: var(--white-70); }
.audience-pill svg { color: var(--orange); flex-shrink: 0; }

/* ===== ACCRED BADGE ===== */
.accred-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; font-size: 0.82rem; color: var(--white-70); }
.accred-badge svg { color: var(--orange); flex-shrink: 0; }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--white-70); font-size: 0.87rem; max-width: 280px; line-height: 1.65; }
.footer-cipc { font-size: 0.73rem; color: var(--white-50); margin-top: 10px; }
.footer-col h4 { font-family: var(--font-main); font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--white-70); font-size: 0.87rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: var(--white-70); font-size: 0.87rem; margin-bottom: 12px; }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; }
.footer-contact-item a { color: var(--white-70); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--white-50); font-size: 0.77rem; }

/* ===== MISC ===== */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(232,100,26,0.15); }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA SECTION ===== */
.cta-section { position: relative; padding: 96px 0; text-align: center; background: var(--bg-primary); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.2; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,18,41,0.75), rgba(7,18,41,0.92)); }
.cta-content { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.cta-sub { color: var(--white-70); font-size: 0.98rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar { padding: 10px 20px; }
  .navbar.scrolled { padding: 8px 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-dark); flex-direction: column; align-items: flex-start;
    padding: 80px 32px 32px; gap: 28px; transition: right 0.3s ease;
    border-left: 1px solid var(--border); z-index: 999; overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .btn-nav { width: 100%; justify-content: center; }
  .course-overview-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero-content { padding: 120px 20px 60px; }
  .page-hero-content { padding: 32px 20px 48px; }
  .course-hero-content { padding: 60px 20px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .page-hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .hero-buttons { flex-direction: column; }
  .trust-bar-inner { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-content { padding: 100px 16px 48px; }
  .page-hero-content { padding: 24px 16px 36px; }
  .container { padding: 0 16px; }
  .nav-logo-text .logo-sub { display: none; }
}
