/* =========================================================
   01. ROOT & GLOBAL
========================================================= */

:root {
  --bg: #f7f8fc;
  --white: #ffffff;
  --dark: #080b16;
  --dark-2: #101525;

  --text: #111827;
  --muted: #667085;
  --muted-light: #98a2b3;

  --line: #e5e7eb;

  --primary: #5b5cf0;
  --primary-dark: #4647d8;
  --purple: #8b5cf6;
  --cyan: #22d3ee;

  --container: 1180px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}


/* =========================================================
   02. HEADER
========================================================= */

/* Scroll progress bar — kept in sync with css/main.css */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;

  transform: scaleX(0);
  transform-origin: left center;

  background: linear-gradient(90deg, var(--primary), var(--purple));
  box-shadow: 0 0 12px rgba(91, 92, 240, 0.45);
  border-radius: 0 3px 3px 0;

  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    transition: none;
  }
}

/* Site-wide navigation bar — kept in sync with css/main.css + css/responsive.css */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #111827;
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid #d9deeb;
  border-radius: 999px;
  color: #111827;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: #111827;
}


/* =========================================================
   03. HERO
========================================================= */

.hero-section {
  overflow: hidden;
  padding: 95px 0 80px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(91, 92, 240, 0.12),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f7f8fc
    );
}

.hero-grid {
  min-height: 600px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb span {
  margin: 0 7px;
  color: var(--primary);
}

.hero-eyebrow,
.section-label {
  display: inline-block;

  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.hero-content h1 {
  max-width: 700px;
  margin: 18px 0 25px;

  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -3px;
}

.hero-content h1 span {
  display: block;

  background: linear-gradient(
    90deg,
    var(--primary),
    var(--purple)
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 620px;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 50px;
  padding: 0 22px;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  transition: 0.25s;
}

.btn-primary {
  color: white;
  background: var(--primary);

  box-shadow:
    0 12px 30px rgba(91, 92, 240, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-trust {
  display: flex;
  gap: 45px;
  margin-top: 50px;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-size: 22px;
  font-family: "Space Grotesk";
}

.hero-trust span {
  color: var(--muted);
  font-size: 11px;
}


/* =========================================================
   04. HERO VISUAL
========================================================= */

.hero-visual {
  position: relative;
  min-height: 470px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.code-window {
  width: min(500px, 100%);

  overflow: hidden;

  border: 1px solid #252b3d;
  border-radius: 20px;

  background: #0d1220;

  box-shadow:
    0 35px 80px rgba(8, 11, 22, 0.25);
}

.window-bar {
  height: 48px;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 0 18px;

  background: #151a2a;
  border-bottom: 1px solid #252b3d;
}

.window-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #454c60;
}

.window-bar small {
  margin-left: 12px;

  color: #7f8aa5;
  font-size: 10px;
}

.code-content {
  min-height: 360px;
  padding: 30px;

  color: #cbd5e1;
  font-family: monospace;
  font-size: 13px;
  line-height: 2;
}

.indent {
  padding-left: 25px;
}

.indent-2 {
  padding-left: 50px;
}

.code-purple {
  color: #c084fc;
}

.code-blue {
  color: #67e8f9;
}

.code-yellow {
  color: #fde68a;
}

.floating-tech {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;

  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 14px;

  background: rgba(255,255,255,0.94);

  box-shadow: var(--shadow-md);

  font-size: 12px;
  font-weight: 700;
}

.floating-tech strong {
  font-size: 14px;
}

.floating-tech span {
  color: var(--muted);
  font-weight: 500;
}

.tech-java {
  top: 60px;
  left: -10px;
}

.tech-spring {
  right: -10px;
  top: 130px;
}

.tech-react {
  left: 20px;
  bottom: 50px;
}


/* =========================================================
   05. COURSE SNAPSHOT
========================================================= */

.snapshot-section {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: white;
  box-shadow: var(--shadow-md);
}

.snapshot-card {
  padding: 25px;

  border-right: 1px solid var(--line);
}

.snapshot-card:last-child {
  border-right: 0;
}

.snapshot-card span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.snapshot-card strong {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}

.snapshot-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}


/* =========================================================
   06. SECTION HEADINGS
========================================================= */

.stack-section,
.curriculum-section,
.projects-section,
.certificate-section,
.faq-section {
  padding: 120px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.career-content h2,
.admission-header h2,
.final-cta h2 {
  margin-top: 14px;

  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -2px;
}

.section-heading h2 span,
.career-content h2 span,
.admission-header h2 span,
.final-cta h2 span {
  color: var(--primary);
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}


/* =========================================================
   07. TECHNOLOGY STACK
========================================================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.tech-card {
  min-height: 190px;
  padding: 25px;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: white;

  transition: 0.25s;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91,92,240,0.4);
  box-shadow: var(--shadow-sm);
}

.tech-card.featured {
  background: var(--dark);
  color: white;
}

.tech-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  margin-bottom: 22px;

  border-radius: 11px;

  background: #f0f1ff;
  color: var(--primary);

  font-size: 12px;
  font-weight: 800;
}

.tech-card.featured .tech-icon {
  background: rgba(255,255,255,0.1);
}

/* real product logos, tinted to match the lettermark chips */
.tech-icon.has-logo {
  font-size: 0;
}
.tech-icon.has-logo::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
}
.tech-card.featured .tech-icon.has-logo::before {
  background-color: #ffffff;
}

.tech-card h3 {
  font-size: 18px;
}

.tech-card p {
  margin-top: 8px;

  color: var(--muted);
  font-size: 13px;
}

.tech-card.featured p {
  color: #aab2c5;
}


/* =========================================================
   08. LEARNING JOURNEY
========================================================= */

.journey-section {
  padding: 120px 0;

  background: var(--dark);
  color: white;
}

.journey-section .section-heading p {
  color: #98a2b3;
}

.journey {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.journey::before {
  content: "";

  position: absolute;

  top: 20px;
  bottom: 20px;
  left: 25px;

  width: 1px;

  background: #293146;
}

/* accent line that fills in as the section is scrolled through */
.journey::after {
  content: "";

  position: absolute;

  top: 20px;
  left: 24px;
  z-index: 1;

  width: 3px;
  height: calc(100% - 40px);
  border-radius: 3px;

  background: linear-gradient(180deg, var(--primary), var(--purple));

  transform: scaleY(var(--journey-progress, 0));
  transform-origin: top center;
  transition: transform 0.12s linear;
}

.journey-number {
  transition:
    border-color 0.35s ease,
    color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.journey-item.reached .journey-number {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  box-shadow: 0 0 0 4px rgba(91, 92, 240, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .journey::after {
    transition: none;
  }
}

.journey-item {
  position: relative;

  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 30px;

  padding-bottom: 55px;
}

.journey-number {
  position: relative;
  z-index: 2;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border: 1px solid #343c51;
  border-radius: 50%;

  background: var(--dark);

  color: #aeb6c8;

  font-family: "Space Grotesk";
  font-size: 13px;
}

.journey-content {
  padding-top: 3px;
}

.journey-content > span {
  color: #8f96ff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.journey-content h3 {
  margin-top: 9px;
  font-size: 25px;
}

.journey-content p {
  max-width: 650px;
  margin-top: 10px;

  color: #98a2b3;
  font-size: 14px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 18px;
}

.mini-tags span {
  padding: 6px 10px;

  border: 1px solid #293146;
  border-radius: 7px;

  color: #c3c9d5;

  font-size: 10px;
}


/* =========================================================
   09. CURRICULUM MODULES
========================================================= */

.curriculum-section {
  background: white;
}

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

.module-card {
  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: #fff;

  transition: 0.25s;
}

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

.module-card.highlight {
  border-color: rgba(91,92,240,0.35);

  background:
    linear-gradient(
      135deg,
      #f7f7ff,
      #ffffff
    );
}

.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-top span {
  color: var(--primary);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.module-top b {
  color: #d0d5dd;
  font-size: 28px;
}

.module-card h3 {
  margin-top: 12px;
  font-size: 23px;
}

.module-card > p {
  margin-top: 8px;

  color: var(--muted);
  font-size: 13px;
}

.module-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 9px;

  margin-top: 22px;

  list-style: none;
}

.module-card li {
  position: relative;

  padding-left: 16px;

  color: #475467;
  font-size: 12px;
}

.module-card li::before {
  content: "•";

  position: absolute;
  left: 0;

  color: var(--primary);
}


/* =========================================================
   10. PROJECTS
========================================================= */

.projects-section {
  background: #f5f6fa;
}

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

.project-card {
  min-height: 310px;
  padding: 30px;

  position: relative;
  overflow: hidden;

  border-radius: 22px;

  color: white;

  background: var(--dark);
}

.project-card::after {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  right: -100px;
  bottom: -100px;

  border-radius: 50%;

  background: rgba(91,92,240,0.22);
}

.project-large {
  grid-row: span 2;
  min-height: 638px;
}

.project-wide {
  grid-column: span 2;
  min-height: 280px;

  background:
    linear-gradient(
      135deg,
      #111629,
      #1a2040
    );
}

.project-number {
  color: #7179ff;
  font-size: 13px;
  font-weight: 800;
}

.project-content {
  position: absolute;
  z-index: 2;

  left: 30px;
  right: 30px;
  bottom: 30px;
}

.project-content > span {
  color: #a5aaff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.project-content h3 {
  margin-top: 10px;

  font-size: 28px;
}

.project-content p {
  max-width: 600px;

  margin-top: 10px;

  color: #a8b0c1;
  font-size: 13px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 18px;
}

.project-tags span {
  padding: 6px 10px;

  border: 1px solid #343c51;
  border-radius: 7px;

  color: #cbd1dc;

  font-size: 10px;
}


/* =========================================================
   11. CAREER
========================================================= */

.career-section {
  padding: 120px 0;

  background: white;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 100px;
  align-items: center;
}

.career-content > p {
  max-width: 600px;

  margin-top: 20px;

  color: var(--muted);
}

.career-list {
  display: grid;
  gap: 20px;

  margin-top: 35px;
}

.career-list > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
}

.career-list span {
  color: var(--primary);
  font-weight: 800;
}

.career-list strong {
  font-size: 14px;
}

.career-list p {
  color: var(--muted);
  font-size: 12px;
}

.career-card {
  padding: 28px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: #f8f9fc;

  box-shadow: var(--shadow-sm);
}

.career-card-top {
  display: flex;
  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.career-card-top strong {
  color: var(--primary);
}

.career-step {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 17px 0;

  border-bottom: 1px solid var(--line);

  color: #667085;
  font-size: 13px;
}

.career-step:last-child {
  border-bottom: 0;
}

.career-step b {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: white;

  color: var(--muted);

  font-size: 10px;
}

.career-step.active {
  color: var(--primary);
  font-weight: 700;
}

.career-step.active b {
  color: white;
  background: var(--primary);
}


/* =========================================================
   12. CERTIFICATE
========================================================= */

.certificate-section {
  background: #f7f8fc;
}

.certificate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.certificate-content > p {
  max-width: 580px;

  margin-top: 20px;

  color: var(--muted);
}

.certificate-points {
  display: grid;
  gap: 15px;

  margin-top: 30px;
}

.certificate-points div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.certificate-points strong {
  color: var(--primary);
  font-family: "Space Grotesk";
}

.certificate-points span {
  font-size: 13px;
  font-weight: 600;
}

.certificate-card {
  min-height: 390px;
  padding: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  border: 8px solid white;
  outline: 1px solid #dfe3ea;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f3f4ff
    );

  box-shadow: var(--shadow-md);
}

.certificate-brand {
  color: var(--primary);

  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}

.certificate-card > span {
  margin-top: 20px;

  color: #98a2b3;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.certificate-card > p {
  margin-top: 25px;

  color: var(--muted);
  font-size: 11px;
}

.certificate-card h3 {
  margin-top: 5px;

  font-size: 28px;
}

.certificate-course {
  margin-top: 10px;

  color: var(--primary);
  font-size: 18px;
}

.certificate-footer {
  width: 100%;

  display: flex;
  justify-content: space-between;

  margin-top: 35px;
  padding-top: 15px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-size: 9px;
}


/* =========================================================
   13. ADMISSION
========================================================= */

.admission-section {
  padding: 120px 0;

  color: white;

  background: var(--dark);
}

.admission-header {
  max-width: 750px;
  margin-bottom: 60px;
}

.admission-header p {
  margin-top: 20px;

  color: #98a2b3;
}

.admission-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.admission-steps {
  display: grid;
  gap: 20px;
}

.admission-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;

  padding: 20px 0;

  border-bottom: 1px solid #252c3e;
}

.admission-step > strong {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid #323a4e;
  border-radius: 12px;

  color: #8991ff;

  font-size: 12px;
}

.admission-step h3 {
  font-size: 17px;
}

.admission-step p {
  margin-top: 4px;

  color: #8e97a9;

  font-size: 12px;
}

.admission-form {
  padding: 30px;

  border-radius: 22px;

  color: var(--text);
  background: white;

  box-shadow: var(--shadow-md);
}

.admission-form h3 {
  font-size: 25px;
}

.admission-form > p {
  margin-top: 5px;

  color: var(--muted);
  font-size: 12px;
}

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

.form-group label {
  display: block;

  margin-bottom: 7px;

  color: #475467;

  font-size: 11px;
  font-weight: 700;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 46px;

  padding: 0 13px;

  border: 1px solid var(--line);
  border-radius: 9px;

  outline: none;

  background: #fafbfc;

  color: var(--text);

  font-size: 12px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #e5484d;
  background: #fef6f6;
}

.form-error {
  margin-top: 6px;
  color: #d93a3f;
  font-size: 11px;
  font-weight: 600;
}

.form-error:empty {
  display: none;
}

.form-btn {
  width: 100%;
  margin-top: 22px;

  border: 0;
  cursor: pointer;
}

.form-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: 8px;

  padding: 30px 24px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.10), rgba(34, 197, 94, 0.03));
  text-align: center;
}

.form-success strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  color: #15803d;
}

.form-success span {
  font-size: 13px;
  color: #475467;
}


/* =========================================================
   14. FAQ
========================================================= */

.faq-list {
  max-width: 850px;
  margin: auto;

  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 5px;

  cursor: pointer;

  list-style: none;

  font-size: 15px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;

  padding: 0 40px 25px 5px;

  color: var(--muted);

  font-size: 13px;
}


/* =========================================================
   15. FINAL CTA
========================================================= */

.final-cta {
  padding: 110px 0;

  text-align: center;

  color: white;

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(139, 92, 246, 0.35),
      transparent 45%
    ),
    var(--dark);
}

.final-cta .section-label {
  color: #a8adff;
}

.final-cta h2 {
  max-width: 850px;
  margin-inline: auto;
}

.final-cta p {
  margin-top: 20px;

  color: #9ba4b7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;

  margin-top: 32px;
}

.btn-light {
  color: white;

  border: 1px solid #333b50;
}


/* =========================================================
   16. FOOTER
========================================================= */

.site-footer {
  padding: 65px 0 0;

  background: #05070e;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;

  padding-bottom: 50px;
}

.footer-grid > div > p {
  max-width: 300px;

  margin-top: 15px;

  color: #747d90;

  font-size: 12px;
}

.footer-grid h4 {
  margin-bottom: 15px;

  font-size: 13px;
}

.footer-grid a {
  display: block;

  margin-top: 10px;

  color: #7d8699;

  font-size: 12px;
}

.footer-grid a:hover {
  color: white;
}

.footer-grid .footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
}

.footer-org-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8a93a8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.site-footer .footer-social a {
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  border: 1px solid #2b3140;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-social a:hover {
  border-color: #4a5468;
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social a span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer-social .s-ig { background-image: url("../assets/icons/instagram.svg"); }
.footer-social .s-li { background-image: url("../assets/icons/linkedin.svg"); }
.footer-social .s-fb { background-image: url("../assets/icons/facebook.svg"); }
.footer-social .s-wa { background-image: url("../assets/icons/whatsapp.svg"); }

.footer-logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.footer-bottom {
  padding: 20px;

  border-top: 1px solid #171c29;

  text-align: center;

  color: #606a7d;

  font-size: 10px;
}


/* =========================================================
   17. RESPONSIVE
========================================================= */

/* Mobile navigation — matches css/responsive.css */
@media (max-width: 700px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 4%;
    width: 92%;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: #ffffff;
    color: #111827;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  }

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

  .nav-links a {
    padding: 8px 5px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 1000px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-grid,
  .certificate-grid,
  .admission-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .career-content {
    max-width: 700px;
  }
}


@media (max-width: 750px) {

  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-section {
    padding: 65px 0;
  }

  .hero-content h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 25px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .tech-java {
    left: 0;
  }

  .tech-spring {
    right: 0;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .snapshot-card:nth-child(2) {
    border-right: 0;
  }

  .snapshot-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .tech-grid,
  .curriculum-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-large {
    grid-row: auto;
    min-height: 400px;
  }

  .project-wide {
    grid-column: auto;
  }

  .module-card ul {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .career-content h2,
  .admission-header h2,
  .final-cta h2 {
    font-size: 38px;
  }

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

}


@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-trust {
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 330px;
  }

  .code-content {
    padding: 20px;

    font-size: 10px;
  }

  .floating-tech {
    padding: 9px 11px;
  }

  .tech-spring {
    right: -5px;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .snapshot-card:last-child {
    border-bottom: 0;
  }

  .journey-item {
    gap: 18px;
  }

  .journey-number {
    width: 42px;
    height: 42px;
  }

  .journey::before {
    left: 20px;
  }

  .journey::after {
    left: 19px;
  }

  .certificate-card {
    padding: 25px;
  }

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

}