* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #f4f1e9;
  color: #10231f;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

section {
  width: 100%;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1c5b48;
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.section-heading h2 span {
  color: #1c5b48;
}

/* NAVIGATION */

.navbar {
  height: 72px;
  border-bottom: 1px solid #dce2d8;
  background: #f4f1e9;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.brand img {
  width: 280px;
  height: auto;
  display: block;
  background: transparent;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #1c5b48;
}

.brand-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #66736f;
  letter-spacing: 0.02em;
  margin-top: 5px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav-links > a {
  color: #10231f;
  transition: color 0.2s ease;
}

.nav-links > a:hover {
  color: #1c5b48;
}

/* COURSES DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-btn {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10231f;
  padding: 8px 0;
}

.dropdown-btn:hover {
  color: #1c5b48;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.dropdown.open .chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.dropdown-menu {
  position: absolute;
  right: -15px;
  top: calc(100% + 10px);
  width: 230px;
  background: #f4f1e9;
  border: 1px solid #dce2d8;
  box-shadow: 0 12px 30px rgba(16, 35, 31, 0.1);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  font-size: 13px;
  color: #10231f;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #e4e9d8;
  color: #1c5b48;
}

/* MOBILE MENU */

.menu-btn {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 23px;
  height: 1.5px;
  background: #10231f;
  margin: 5px 0;
}

/* HERO */

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dce2d8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
}

.hero-content {
  padding: 55px 0;
}

.hero h1 {
  font-size: clamp(58px, 6vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 750;
  max-width: 650px;
  color: #10231f;
}

.hero h1 span {
  color: #1c5b48;
}

.hero-text {
  font-size: 17px;
  max-width: 570px;
  color: #66736f;
  margin: 28px 0;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: #1c5b48;
  color: #f4f1e9;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.primary-btn:hover {
  background: #10231f;
  transform: translateY(-2px);
}

.hero-image {
  width: 100%;
  max-width: 620px;
  height: 420px;
  justify-self: end;
  overflow: hidden;
  border-radius: 16px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   WHY LEARN — ENGINEERING ROADMAP
   ========================================================= */

section.why {
  background: #10231f;
  color: #f4f1e9;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
}

section.why .container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   INTRO
   ========================================================= */

.why-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.why-title .eyebrow {
  color: #c7df70;
  margin-bottom: 20px;
}

.why-title h2 {
  margin: 0;
  color: #f4f1e9;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.why-title h2 span {
  color: #c7df70;
}

.why-summary {
  max-width: 430px;
  margin: 0 0 5px auto;
  color: rgba(244, 241, 233, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

/* =========================================================
   ROADMAP
   ========================================================= */

.why-roadmap {
  position: relative;
  margin-top: 75px;
  border-top: 1px solid rgba(244, 241, 233, 0.18);
}

/* vertical timeline */

.why-roadmap::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(199, 223, 112, 0.28);
}

/* =========================================================
   STEP
   ========================================================= */

.why-step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 130px;
  align-items: center;
  gap: 45px;
  min-height: 150px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(244, 241, 233, 0.15);

  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.why-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger */

.why-step:nth-child(1) {
  transition-delay: 0s;
}

.why-step:nth-child(2) {
  transition-delay: 0.08s;
}

.why-step:nth-child(3) {
  transition-delay: 0.16s;
}

.why-step:nth-child(4) {
  transition-delay: 0.24s;
}

.why-step:nth-child(5) {
  transition-delay: 0.32s;
}

/* =========================================================
   NUMBER
   ========================================================= */

.why-step-number {
  position: relative;
  z-index: 2;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #10231f;
  border: 1px solid rgba(199, 223, 112, 0.55);
  border-radius: 50%;

  color: #c7df70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* =========================================================
   CONTENT
   ========================================================= */

.why-step-content {
  min-width: 0;
}

.why-step-content h3 {
  margin: 0 0 9px;

  color: #f4f1e9;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.why-step-content p {
  margin: 0;
  max-width: 700px;

  color: rgba(244, 241, 233, 0.6);
  font-size: 13.5px;
  line-height: 1.65;
}

/* =========================================================
   TAG
   ========================================================= */

.why-step-tag {
  justify-self: end;

  color: #c7df70;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;

  border: 1px solid rgba(199, 223, 112, 0.3);
  padding: 7px 10px;
}

/* =========================================================
   HOVER
   ========================================================= */

.why-step:hover .why-step-number {
  background: #c7df70;
  color: #10231f;
  border-color: #c7df70;
}

.why-step:hover .why-step-content h3 {
  color: #c7df70;
}

.why-step:hover .why-step-tag {
  background: #1c5b48;
  border-color: #1c5b48;
  color: #f4f1e9;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .why-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-summary {
    margin: 0;
    max-width: 600px;
  }

  .why-roadmap {
    margin-top: 55px;
  }

  .why-roadmap::before {
    left: 35px;
  }

  .why-step {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 25px;
    min-height: 145px;
  }

  .why-step-tag {
    display: none;
  }

  .why-step-number {
    width: 52px;
    height: 52px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .why-title h2 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .why-summary {
    font-size: 14px;
  }

  .why-roadmap {
    margin-top: 40px;
  }

  .why-roadmap::before {
    left: 25px;
  }

  .why-step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 30px 0;
  }

  .why-step-number {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }

  .why-step-content h3 {
    font-size: 19px;
  }

  .why-step-content p {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .why-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* COURSES */

.courses {
  border-bottom: 1px solid #dce2d8;
}

.course-list {
  margin-top: 50px;
  border-top: 1px solid #dce2d8;
}

.course {
  padding: 34px 0;
  border-bottom: 1px solid #dce2d8;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
}

.course-number {
  font-size: 10px;
  color: #1c5b48;
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.course-status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #66736f;
  border: 1px solid #c9d2c8;
  padding: 5px 8px;
}

.course-status.active {
  background: #1c5b48;
  color: #f4f1e9;
  border-color: #1c5b48;
}

.course-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 40px;
  margin: 22px 0 20px;
  max-width: 760px;
}

.course-points li {
  font-size: 15px;
  color: #66736f;
}

.course-points li:before {
  content: "•";
  margin-right: 8px;
  color: #1c5b48;
}

.embedded-roadmap {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-top: 1px solid #c9d2c8;
}

.roadmap-module {
  display: grid;
  grid-template-columns: 55px minmax(220px, 1fr) minmax(280px, 1.5fr) 30px;
  align-items: center;
  gap: 25px;
  min-height: 105px;
  padding: 22px 0;
  border-bottom: 1px solid #dce2d8;
}

.roadmap-module:nth-child(odd),
.roadmap-module:nth-child(even) {
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.roadmap-module span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1c5b48;
}

.roadmap-module h4 {
  font-size: 19px;
  transition: color 0.3s ease;
  margin: 0;
  letter-spacing: -0.025em;
}

.roadmap-module p {
  font-size: 13px;
  line-height: 1.5;
  color: #66736f;
  margin: 0;
}

.roadmap-module {
  position: relative;
}

.roadmap-module:hover {
  padding-left: 0;
}

.roadmap-module:hover h4 {
  color: #1c5b48;
}

.course-capstone {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
  padding: 28px 0;
  border-top: 1px solid #c9d2c8;
  border-bottom: 1px solid #c9d2c8;
}

.capstone-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1c5b48;
}

.capstone-content h4 {
  font-size: 21px;
  margin: 0 0 7px;
  letter-spacing: -0.025em;
}

.capstone-content p {
  margin: 0;
  max-width: 650px;
  font-size: 13px;
  line-height: 1.5;
  color: #66736f;
}

.capstone-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #b9c8ba;
  border-radius: 50%;
  font-size: 17px;
  color: #1c5b48;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  color: #1c5b48;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #10231f;
}

.course-system .text-link {
  display: block;
  width: auto;
  margin: 0 30px 18px;
  padding: 0;
}

/*Embedded course styles*/

.course-system {
  background: #e3ebdd;
  padding: 0;
  margin: 0 0 20px;

  border: 1px solid #cbd5cb;
  box-shadow: 0 14px 35px rgba(16, 35, 31, 0.06);
}

.course-system-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  padding: 32px 30px;

  background: #1c5b48;
  color: #f7f5ee;

  border-bottom: 1px solid #397564;

    cursor:pointer;
    transition:background .2s ease;
}

.course-system-header:hover {
    background:#226A57;
}

.course-system-number {
  display: block;
  margin-bottom: 8px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #e8f3ee;
}

.course-system-header h3 {
  margin: 0 0 7px;

  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.course-system-header p {
  margin: 0;

  font-size: 13px;
  line-height: 1.5;
  color: #e8f3ee;
}

.course-system-status {
  flex-shrink: 0;

  padding: 7px 12px;

  border: 1px solid #52786d;
  border-radius: 20px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #c6ded4;
}

.course-system .course-system-roadmap {
  background: #e3ebdd;
  padding: 10px 10px 0;
}

/* =========================================
   COURSE MODULE EXPANSION
   EMBEDDED + IOT
   ========================================= */

.course-system .roadmap-module,
.iot-roadmap .roadmap-module {
  display: block;
  padding: 0;
  background: #edf5f1;
  color: #0b3038;
  border: 1px solid #a9d8c8;
  border-radius: 12px;
  margin-bottom: 14px;
}

.course-system .roadmap-trigger,
.iot-roadmap .roadmap-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 42px;
  align-items: start;
  gap: 20px;

  padding: 16px 18px;

  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  box-sizing: border-box;
}

.course-system .module-number,
.iot-roadmap .module-number {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  background: #075b4c;
  color: #f4f1e9;

  border-radius: 9px;

  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.iot-roadmap .roadmap-trigger {
  grid-template-columns: 90px minmax(0, 1fr) 42px;
}

.iot-roadmap .module-number {
  width: 88px;
  height: 58px;
  font-size: 18px;
  white-space: nowrap;
}

.course-system .module-main,
.iot-roadmap .module-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.course-system .module-main strong,
.iot-roadmap .module-main strong {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #075b4c;
  transition: color 0.25s ease;
}

.course-system .module-main small,
.iot-roadmap .module-main small {
  font-size: 13px;
  line-height: 1.5;
  color: #45655e;
}

.course-system .module-arrow,
.iot-roadmap .module-arrow {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid #afc1b3;
  border-radius: 50%;

  font-size: 22px;
  font-weight: 400;
  line-height: 1;

  color: #1c5b48;
  background: transparent;

  transition: transform 0.25s ease;
}

.course-system .roadmap-module:hover .module-main strong,
.iot-roadmap .roadmap-module:hover .module-main strong {
  color: #1c5b48;
}

/* =========================================================
   EXPANDED MODULE CONTENT
   EMBEDDED + IOT
   ========================================================= */

.course-system .module-details,
.iot-roadmap .module-details {
  display: grid;

  grid-template-columns: 1.05fr 1fr 0.95fr;

  grid-template-areas:
    "topics practical image"
    "topics project image"
    "topics outcome image";

  column-gap: 42px;
  row-gap: 26px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  padding: 0 30px 24px 88px;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    padding 0.45s ease;
}

.course-system .roadmap-module.is-open .module-details,
.iot-roadmap .roadmap-module.is-open .module-details {
  max-height: 900px;
  opacity: 1;
  padding: 10px 30px 32px 88px;
}

/* ---------------------------------------------------------
   CONTENT POSITIONS
   --------------------------------------------------------- */

.course-system .module-detail-group:nth-child(1),
.iot-roadmap .module-detail-group:nth-child(1) {
  grid-area: topics;
}

.course-system .module-detail-group:nth-child(2),
.iot-roadmap .module-detail-group:nth-child(2) {
  grid-area: practical;
}

.course-system .module-detail-group:nth-child(3),
.iot-roadmap .module-detail-group:nth-child(3) {
  grid-area: project;
}

.course-system .module-detail-group:nth-child(4),
.iot-roadmap .module-detail-group:nth-child(4) {
  grid-area: outcome;
}

/* ---------------------------------------------------------
   SECTION LABELS
   --------------------------------------------------------- */

.course-system .module-detail-group > span,
.iot-roadmap .module-detail-group > span {
  display: block;

  margin-bottom: 14px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #087a68;
}

.detail-heading {
  display: flex !important;
  align-items: center;
  gap: 10px;

  margin-bottom: 14px !important;

  font-size: 18px !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
  color: #075b4c !important;
}

.detail-heading svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #087a68;
}

/* ---------------------------------------------------------
   LISTS
   --------------------------------------------------------- */

.course-system .module-detail-group ul,
.iot-roadmap .module-detail-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-system .module-detail-group li,
.iot-roadmap .module-detail-group li {
  position: relative;

  margin: 0 0 10px;
  padding-left: 24px;

  font-size: 14px;
  line-height: 1.5;

  color: #355f57;
}

/* checklist */

.course-system .module-detail-group li::before,
.iot-roadmap .module-detail-group li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 1px;

  width: 16px;
  height: 16px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #087a68;
  color: #f4f1e9;

  font-size: 10px;
  font-weight: 700;
}

/* ---------------------------------------------------------
   PROJECT + OUTCOME
   --------------------------------------------------------- */

.course-system .module-detail-group p,
.iot-roadmap .module-detail-group p {
  margin: 0;

  font-size: 14px;
  line-height: 1.6;

  color: #355f57;
}

.course-system .module-detail-group p strong,
.iot-roadmap .module-detail-group p strong {
  display: block;

  margin-bottom: 6px;

  font-size: 16px;
  font-weight: 700;

  color: #075b4c;
}

/* ---------------------------------------------------------
   PROJECT IMAGE
   --------------------------------------------------------- */

.iot-project-image {
  grid-area: image;

  width: 100%;
  height: 100%;

  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border-radius: 12px;
}

.iot-project-image img {
  width: 100%;
  height: 100%;

  min-height: 0;

  display: block;

  object-fit: contain;
  object-position: center;

  border-radius: 12px;
}

/* ---------------------------------------------------------
   EXPANDED ARROW
   --------------------------------------------------------- */

.course-system .roadmap-module.is-open .module-arrow,
.iot-roadmap .roadmap-module.is-open .module-arrow {
  transform: rotate(45deg);
}

.course-system .course-capstone {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 30px;

  margin: 0;
  padding: 20px 30px;

  background: #e3ebdd !important;

  border-top: 1px solid #c9d2c8;
  border-bottom: 1px solid #c9d2c8;
}

.course-system .capstone-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #12352f;
}

.course-system .capstone-content h4 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #10231f;
}

.course-system .capstone-content p {
  margin: 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.6;
  color: #3f514b;
}

/* =========================================
   EMBEDDED COURSE — FINAL OUTCOME
   ========================================= */

.course-system .course-final-outcome {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;

  margin: 0;
  padding: 20px 30px 24px;

  background: #e3ebdd !important;

  border-bottom: 1px solid #c9d2c8;
}

.course-system .course-final-outcome p {
  margin: 0;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.6;
  color: #3f514b;
}

/* COURSE — CERTIFICATION */

.course-system .course-certification {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;

  padding: 24px 30px;

  background: #e3ebdd;
  border-top: 1px solid #c9d2c8;
}

.course-system .course-certification > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #12352f;
}

.course-system .course-certification strong {
  display: block;
  margin-bottom: 5px;

  font-size: 17px;
  font-weight: 700;
  color: #10231f;
}

.course-system .course-certification p {
  margin: 0;
  max-width: 700px;

  font-size: 13px;
  line-height: 1.6;
  color: #66736f;
}

.course-system .course-final-outcome > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #12352f;
}

.course-system .course-final-outcome p {
  margin: 0;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.6;
  color: #3f514b;
}

/* FOUNDER */

.founder {
  background: #10231f;
  color: #f4f1e9;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.75fr;
  gap: 55px;
  align-items: center;
}

.founder .eyebrow {
  color: #c7df70;
}

.founder h2 {
  font-size: clamp(50px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.founder h2 span {
  color: #c7df70;
}

.founder-content {
  padding-top: 5px;
}

.founder-content h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #f4f1e9;
}

.founder-content p {
  color: rgba(244, 241, 233, 0.68);
  font-size: 16px;
  margin-bottom: 14px;
  max-width: 500px;
}

.founder-image {
  width: 100%;
  max-width: 300px;
  height: 380px;
  justify-self: end;
  overflow: hidden;
  border-radius: 14px;
}

.founder-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* FAQ */

.faq {
  border-bottom: 1px solid #dce2d8;
}

.faq-list {
  margin-top: 50px;
  border-top: 1px solid #dce2d8;
}

.faq-item {
  border-bottom: 1px solid #dce2d8;
}

.faq-question {
  width: 100%;
  border: 0;
  background: none;
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #10231f;
}

.faq-question:focus-visible {
  outline: 2px solid #1c5b48;
  outline-offset: 4px;
}

.faq-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #66736f;
  border-bottom: 1.5px solid #66736f;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(225deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    visibility 0s linear 0.3s;
}

.faq-answer p {
  max-width: 750px;
  color: #66736f;
  font-size: 15px;
  padding: 0 50px 20px 0;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* CONTACT */

.contact {
  text-align: center;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.contact h2 span {
  color: #1c5b48;
}

.contact-box > p:not(.eyebrow) {
  color: #66736f;
  margin: 22px 0;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-item span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #66736f;
}

.contact-item strong {
  font-size: 14px;
  font-weight: 600;
  color: #10231f;
}

/* FOOTER */

footer {
  border-top: 1px solid #dce2d8;
  padding: 25px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-content strong {
  font-size: 13px;
}

.footer-content p {
  font-size: 10px;
  color: #66736f;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.footer-socials a:hover {
    opacity: 0.75;
}
/* TABLET */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .technology-around-inner {
  width: calc(100% - 40px);
}

  .brand {
    margin-left: 0px;
  }

  .brand img {
    width: 240px;
  }

  .section {
    padding: 58px 0;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-content {
    padding: 55px 0 10px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 82px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-image {
    width: 100%;
    max-width: none;
    height: 360px;
    justify-self: stretch;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card:nth-child(odd),
  .why-card:nth-child(even) {
    padding: 25px 0;
    border-right: 0;
  }

  .why-card:nth-child(5) {
    max-width: none;
  }

  .course-header {
    flex-direction: column;
  }

  .course-points {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .embedded-roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-module:nth-child(3n) {
    border-right: 1px solid #dce2d8;
  }

  .roadmap-module:nth-child(2n) {
    border-right: 0;
  }

  .roadmap-module:nth-child(n + 4) {
    border-bottom: 1px solid #dce2d8;
  }

  .roadmap-module:nth-child(n + 5) {
    border-bottom: 0;
  }

  /* Default tablet layout */
  .founder-image {
    max-width: 420px;
    height: 420px;
    justify-self: start;
  }

  .footer-content {
    flex-direction: column;
  }

  .contact-details {
    gap: 30px;
  }
}

/* IPAD / TABLET
   Keep IoT levels side-by-side */

@media (min-width: 768px) and (max-width: 1024px) {
  .level h4 {
    font-size: 17px;
  }

  .level .course-points {
    display: block;
  }

  .level .course-points li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .course-meta p {
    font-size: 11px;
  }
}

/* MOBILE */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-image {
    height: 280px;
    border-radius: 12px;
  }

  .course h3 {
    font-size: 26px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer p {
    font-size: 13px;
    padding-right: 15px;
  }

  .primary-btn {
    padding: 13px 18px;
  }

  .founder-image {
    height: 340px;
  }

  .contact-details {
    flex-direction: column;
    gap: 18px;
  }

  .contact-item {
    align-items: center;
  }

  .embedded-roadmap {
    grid-template-columns: 1fr;
  }

  .roadmap-module {
    border-right: 0;
    border-bottom: 1px solid #dce2d8;
  }

  .roadmap-module:last-child {
    border-bottom: 0;
  }

  .course-system .module-details,
  .iot-roadmap .module-details {
    grid-template-columns: 1fr;
    grid-template-areas:
      "topics"
      "practical"
      "project"
      "outcome";

    column-gap: 0;
    row-gap: 24px;

    padding: 0 18px 20px !important;
  }

  .course-system .roadmap-module.is-open .module-details,
  .iot-roadmap .roadmap-module.is-open .module-details {
    padding: 10px 18px 24px !important;
  }

  .course-system .roadmap-trigger,
  .iot-roadmap .roadmap-trigger {
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 14px;
  }

  .course-system .module-number,
  .iot-roadmap .module-number {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .course-system .module-main strong,
  .iot-roadmap .module-main strong {
    font-size: 16px;
  }

  .course-system .module-main small,
  .iot-roadmap .module-main small {
    font-size: 12px;
  }

  .course-system-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

  .brand {
    margin-left: 0;
  }

  .brand img {
    width: 200px;
  }

  .course-system-header > div {
    flex: 1;
    min-width: 0;
}
}

/* =========================================================
   CORENCODE — PREMIUM IoT & ROBOTICS COURSE
   ========================================================= */

/* =========================================================
   CORENCODE — FIXED COURSE COLORS
   No color changes on scroll
   ========================================================= */

.course-system {
  background: #f4f1e9 !important;
  color: #10231f !important;
}

.course-system .course-system-roadmap {
  background: #e3ebdd !important;
}

.course-system .roadmap-module {
  background: transparent !important;
  color: #10231f !important;
}

.course-system .course-capstone {
  background: #eef2ea !important;
  color: #10231f !important;
}

.course-system .course-final-outcome {
  background: #f4f1e9 !important;
  color: #10231f !important;
}

/* =========================================================
   COURSE 01 — FINAL UNIFIED DESIGN
   ========================================================= */

.course-system {
  background: #e3ebdd !important;
  border: 1px solid #cbd5cb;
  box-shadow: 0 14px 35px rgba(16, 35, 31, 0.06);
}

.course-system .course-system-roadmap,
.course-system .course-capstone,
.course-system .course-final-outcome {
  background: #e3ebdd !important;
}

/* =========================================================
   TECHNOLOGY AROUND YOU — NEW DESIGN
   ========================================================= */

.technology-around {
  width: 100%;
  background: #f4f1e9;
  color: #102d2a;
  padding: 90px 0 100px;
  box-sizing: border-box;
}

.technology-around-inner {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin: 0 auto;
}

/* INTRO */

.technology-around-eyebrow {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1c5b48;
}

.technology-around-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: -3px;
  font-weight: 750;
}

.technology-around-heading h2 span {
  color: #1c5b48;
}

.technology-around-heading p {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #536b68;
}

.technology-around-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.technology-around-side {
  max-width: 430px;
  margin-left: auto;
  padding-left: 35px;
  border-left: 1px solid #c9d2c8;
}

.technology-around-side > span {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #1c5b48;
}

.technology-around-side p {
  margin: 0;
  color: #536b68;
  font-size: 16px;
  line-height: 1.65;
}

/* CATEGORY NAVIGATION */

.technology-around-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.technology-around-category {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: #eae8e1;
  color: #102d2a;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.technology-around-category:hover {
  background: #1c5b48;
  color: #fff;
  transform: none;
}

.technology-around-category.is-active {
  background: #1c5b48;
  color: #fff;
}

.technology-around-category.is-active .category-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.category-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f4f1e9;
  font-size: 18px;
}

.technology-around-category:hover .category-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* MAIN SHOWCASE */

.technology-around-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.85fr);
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}

.technology-around-image {
    position: relative;
    height: auto;
    aspect-ratio: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #dceddf;
}

.technology-around-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.15s ease;
}

.technology-category-arrow {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 42px;
    height: 64px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.technology-category-arrow:active {
    transform: translateY(-50%) scale(0.9);
}

.technology-category-prev {
    left: 8px;
}

.technology-category-next {
    right: 8px;
}

/* IMAGE */

.technology-around-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4e0d9, #eef0e9);
}

.technology-around-image-placeholder span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #1c5b48;
}

/* INFORMATION CARD */

.technology-around-info {
  height: auto;
  padding: 32px 36px;
  border-radius: 24px;
  background: #fffdfa;
  box-sizing: border-box;
  overflow: hidden;
}

.technology-around-number {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #8b9b96;
}

.technology-around-info h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -1.2px;
}

.technology-around-subtitle {
  margin: 8px 0 0;
  color: #536b68;
  font-size: 14px;
  line-height: 1.4;
}

.technology-around-description {
  margin: 16px 0 14px;
  color: #536b68;
  font-size: 14px;
  line-height: 1.45;
}

/* PRINCIPLES */

.technology-around-principles {
  border-top: 1px solid #dde2de;
}

.technology-around-principle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #dde2de;
}

.technology-around-principle > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1c5b48;
  color: #fff;
  font-size: 15px;
}

.technology-around-principle strong,
.technology-around-principle small {
  display: block;
}

.technology-around-principle strong {
  font-size: 13px;
}

.technology-around-principle small {
  margin-top: 2px;
  color: #70817d;
  font-size: 11px;
}

/* TABLET */

@media (max-width: 1100px) {

  .technology-around {
    padding: 75px 0vw 80px;
  }

  .technology-around-inner {
  width: calc(100% - 64px);
}

  .technology-around-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .technology-around-showcase {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  .technology-around-image {
    width: 100%;
    min-width: 0;
  }

  .technology-around-examples {
    grid-template-columns: repeat(2, 1fr);
  }

  .technology-around-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .technology-around-side {
    margin-left: 0;
    max-width: 520px;
  }

}

/* TABLET SHOWCASE */

@media (min-width: 651px) and (max-width: 1100px) {

  .technology-around-inner {
    width: calc(100% - 64px);
  }

  .technology-around-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .technology-around-image {
    width: 100%;
    min-width: 0;
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .technology-around-info {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

}

@media (min-width: 651px) and (max-width: 900px) {
  .technology-around-inner {
    width: calc(100% - 40px);
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .technology-around {
    padding: 65px 20px 70px;
  }

  .technology-around-heading h2 {
    font-size: clamp(48px, 14vw, 68px);
    letter-spacing: -3px;
  }

  .technology-around-heading p {
    font-size: 15px;
  }

  .technology-around-categories {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 35px;
  }

  .technology-around-category {
    min-height: 58px;
  }

  .technology-around-showcase {
    margin-top: 14px;
  }

  .technology-around-image,
  .technology-around-image-placeholder {
    min-height: 380px;
  }

  .technology-around-info {
    padding: 32px 24px;
  }

  .technology-around-info h3 {
    font-size: 30px;
  }

  .technology-around-examples {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .example-image {
    height: 220px;
  }
}

/* =========================================================
   CORENCODE — ENGINEERING PIPELINE
   FINAL ALIGNED DESIGN
   ========================================================= */

.engineering-pipeline {
    width: 100%;
    box-sizing: border-box;

    background: #e8eee7;
    color: #102d27;

    padding: 90px 0 100px;

    overflow: hidden;
}

/* =========================================================
   MAIN CONTAINER
   USE THE SAME CONTAINER SYSTEM AS HERO / ABOUT / FOUNDER
   ========================================================= */

.engineering-pipeline-inner {
    margin: 0 auto;
    display: block;
}


/* =========================================================
   MAIN HEADING
   ALWAYS ALONE AT TOP
   ========================================================= */

.engineering-intro {
    width: 100%;
    max-width: 1380px;

    margin: 0 auto 55px;
    padding: 0;

    box-sizing: border-box;
}

.engineering-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: #6b7c75;

    font-size: 10px;
    font-weight: 750;

    letter-spacing: .22em;
}

.engineering-intro h2 {
    margin: 0;

    color: #071d18;

    font-size: clamp(54px, 6vw, 82px);

    line-height: .91;

    letter-spacing: -4px;

    font-weight: 750;

    max-width: 900px;
}

.engineering-intro h2 span {
    color: #1c5b48;
}

.engineering-intro > p {
    max-width: 680px;

    margin: 25px 0 0;

    color: #50645d;

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================================
   ENGINEERING FLOW
   ========================================================= */

.engineering-flow {
    width: min(1000px, 100%);
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 0;

    padding: 0;
}


/* =========================================================
   CARDS
   ========================================================= */

.engineering-card {
    position: relative;

    width: 100%;
    min-height: 165px;

    display: grid;

    grid-template-columns: 170px minmax(0, 1fr);

    align-items: center;

    box-sizing: border-box;

    padding: 20px 32px 20px 22px;

    border-radius: 24px;

    border: 1px solid rgba(28,91,72,.10);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f7f3 100%
        );

    box-shadow:
        0 15px 35px rgba(28,91,72,.08);
}


/* =========================================================
   NUMBER
   ========================================================= */

.engineering-number {
    position: absolute;

    top: -13px;
    left: -13px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #1c5b48;
    color: #ffffff;

    font-size: 12px;
    font-weight: 750;

    z-index: 5;
}


/* =========================================================
   ILLUSTRATIONS
   ========================================================= */

.engineering-illustration {
    width: 150px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.engineering-illustration svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   CONTENT
   ========================================================= */

.engineering-card-content {
    min-width: 0;
}

.engineering-card-label {
    display: block;

    margin-bottom: 6px;

    color: #71837c;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: .19em;
}

.engineering-card-content h3 {
    margin: 0;

    color: #102d27;

    font-size: 24px;

    line-height: 1.1;

    letter-spacing: -.7px;
}

.engineering-card-content > p {
    margin: 7px 0 0;

    color: #566a62;

    font-size: 11px;

    line-height: 1.45;
}


/* =========================================================
   POINTS — TWO COLUMNS EVERYWHERE
   ========================================================= */

.engineering-card-content ul {
    margin: 10px 0 0;
    padding: 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 5px 30px;

    list-style: none;
}

.engineering-card-content li {
    position: relative;

    padding-left: 13px;

    color: #53675f;

    font-size: 9px;

    line-height: 1.45;
}

.engineering-card-content li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #72b58f;
}


/* =========================================================
   EMBEDDED ENGINEERING FOCUS
   ========================================================= */

.engineering-focus {
    background:
        linear-gradient(
            145deg,
            #1d7058 0%,
            #164f3f 100%
        );

    border-color: #1c5b48;

    box-shadow:
        0 22px 42px rgba(28,91,72,.24);

    transform: scale(1.025);

    z-index: 2;
}

.engineering-focus .engineering-number {
    background: #c7df70;
    color: #173b31;
}

.engineering-focus .engineering-card-label {
    color: #c7df70;
}

.engineering-focus .engineering-card-content h3 {
    color: #ffffff;
}

.engineering-focus .engineering-card-content > p {
    color: #d5e5de;
}

.engineering-focus .engineering-card-content li {
    color: #d8e7e1;
}

.engineering-focus .engineering-card-content li::before {
    background: #c7df70;
}


/* =========================================================
   CONNECTORS
   ========================================================= */

.engineering-connector {
    position: relative;

    width: 100%;
    height: 42px;

    display: flex;

    justify-content: center;
    align-items: center;
}

.engineering-connector::before {
    content: "";

    width: 2px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            #b9d0c5,
            #1c5b48
        );
}

.engineering-connector span {
    position: absolute;

    bottom: 1px;

    width: 9px;
    height: 9px;

    border-right: 2px solid #1c5b48;
    border-bottom: 2px solid #1c5b48;

    transform: rotate(45deg);
}


/* =========================================================
   RESULT CARD
   ========================================================= */

.engineering-result {
    margin-top: 0;
}


/* =========================================================
   OUTCOME MESSAGE
   ========================================================= */

.engineering-outcome {
    width: 100%;

    margin: 30px 0 0;

    min-height: 100px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 25px;

    box-sizing: border-box;

    border-radius: 20px;

    background: rgba(255,255,255,.52);

    border: 1px solid rgba(28,91,72,.08);
}

.outcome-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e7f4dd;
}

.outcome-icon svg {
    width: 42px;
    height: 42px;
}

.outcome-copy span {
    display: block;

    width: 32px;
    height: 2px;

    margin-bottom: 8px;

    background: #1c5b48;
}

.engineering-outcome p {
    margin: 0;

    color: #12352f;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 600;
}


/* =========================================================
   TABLET
   SAME COMPOSITION AS DESKTOP
   ========================================================= */

@media (min-width: 721px) and (max-width: 1199px) {

    .engineering-pipeline {
        padding:
          70px
          0
          80px;
    }

    /* Heading remains completely above the cards */

    .engineering-intro {
        width: 100%;

        margin-bottom: 55px;
    }

    .engineering-eyebrow {
        margin-bottom: 16px;
        font-size: 9px;
    }

    .engineering-intro h2 {
        max-width: 760px;

        font-size:
            clamp(42px, 5vw, 64px);

        line-height: .92;

        letter-spacing: -3px;
    }

    .engineering-intro > p {
        max-width: 600px;

        margin-top: 22px;

        font-size: 14px;
    }

    /* Cards remain full width */

    .engineering-flow {
    width: min(1000px, 100%);
    margin: 0 auto;
}

    .engineering-card {
        min-height: 150px;

        grid-template-columns:
            145px minmax(0, 1fr);

        padding:
            18px
            28px
            18px
            18px;

        border-radius: 21px;
    }

    .engineering-number {
        top: -11px;
        left: -11px;

        width: 42px;
        height: 42px;

        font-size: 11px;
    }

    .engineering-illustration {
        width: 125px;
        height: 98px;
    }

    .engineering-card-label {
        font-size: 8px;
        margin-bottom: 5px;
    }

    .engineering-card-content h3 {
        font-size: 21px;
    }

    .engineering-card-content > p {
        font-size: 10px;
    }

    /* IMPORTANT:
       Points remain side-by-side on tablet */

    .engineering-card-content ul {
        grid-template-columns: 1fr 1fr;

        gap:
            4px
            22px;

        margin-top: 8px;
    }

    .engineering-card-content li {
        font-size: 8.5px;
    }

    .engineering-connector {
        height: 34px;
    }

    .engineering-focus {
        transform: scale(1.018);
    }

    .engineering-outcome {
        width: min(1000px, 100%);
        margin: 25px auto 0;

        min-height: 88px;

        padding: 16px 22px;
    }

    .outcome-icon {
        flex-basis: 50px;

        width: 50px;
        height: 50px;
    }

    .outcome-icon svg {
        width: 36px;
        height: 36px;
    }

    .engineering-outcome p {
        font-size: 13px;
    }
}


/* =========================================================
   NARROW TABLET
   ========================================================= */

@media (min-width: 721px) and (max-width: 900px) {

    .engineering-pipeline {
        padding:
            60px
            0
            70px;
    }

    .engineering-intro {
        margin-bottom: 48px;
    }

    .engineering-intro h2 {
        max-width: 650px;

        font-size:
            clamp(42px, 6vw, 56px);

        letter-spacing: -2.5px;
    }

    .engineering-intro > p {
        max-width: 520px;

        font-size: 12px;
    }

    .engineering-card {
        min-height: 135px;

        grid-template-columns:
            115px minmax(0, 1fr);

        padding:
            15px
            20px
            15px
            15px;

        border-radius: 19px;
    }

    .engineering-number {
        width: 38px;
        height: 38px;

        left: -9px;

        font-size: 10px;
    }

    .engineering-illustration {
        width: 100px;
        height: 82px;
    }

    .engineering-card-label {
        font-size: 7px;
    }

    .engineering-card-content h3 {
        font-size: 18px;
    }

    .engineering-card-content > p {
        font-size: 8.5px;
    }

    /* Keep points SIDE BY SIDE */

    .engineering-card-content ul {
        grid-template-columns: 1fr 1fr;

        gap: 3px 14px;

        margin-top: 7px;
    }

    .engineering-card-content li {
        font-size: 7.5px;

        padding-left: 10px;
    }

    .engineering-card-content li::before {
        width: 4px;
        height: 4px;
        top: 4px;
    }

    .engineering-connector {
        height: 28px;
    }

    .engineering-focus {
        transform: scale(1.012);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .engineering-pipeline {
        padding:
            48px
            0
            60px;
    }

    /* Heading FIRST */

    .engineering-intro {
        width: 100%;

        margin: 0 0 34px;
        padding: 0;
    }

    .engineering-eyebrow {
        margin-bottom: 13px;

        font-size: 8px;

        letter-spacing: .18em;
    }

    .engineering-intro h2 {
        max-width: none;

        font-size:
            clamp(42px, 12vw, 58px);

        line-height: .93;

        letter-spacing: -2.7px;
    }

    .engineering-intro > p {
        max-width: none;

        margin-top: 18px;

        font-size: 14px;

        line-height: 1.5;
    }

    /* Cards */

    .engineering-flow {
        width: 100%;
    }

    .engineering-card {
        min-height: 170px;

        grid-template-columns:
            105px minmax(0, 1fr);

        padding:
            18px
            18px
            18px
            12px;

        border-radius: 20px;
    }

    .engineering-number {
        top: -8px;
        left: -7px;

        width: 38px;
        height: 38px;

        font-size: 10px;
    }

    .engineering-illustration {
        width: 96px;
        height: 82px;
    }

    .engineering-card-label {
        margin-bottom: 5px;

        font-size: 7px;

        letter-spacing: .16em;
    }

    .engineering-card-content h3 {
        font-size: 18px;

        line-height: 1.08;
    }

    .engineering-card-content > p {
        margin-top: 5px;

        font-size: 9px;

        line-height: 1.4;
    }

    /* IMPORTANT:
       MOBILE POINTS STAY SIDE-BY-SIDE */

    .engineering-card-content ul {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap:
            5px
            12px;

        margin-top: 9px;
    }

    .engineering-card-content li {
        padding-left: 10px;

        font-size: 8.5px;

        line-height: 1.35;
    }

    .engineering-card-content li::before {
        width: 4px;
        height: 4px;

        top: 4px;
    }

    .engineering-focus {
        transform: none;
    }

    .engineering-connector {
        height: 25px;
    }

    .engineering-connector::before {
        width: 2px;
        height: 100%;
    }

    .engineering-connector span {
        width: 7px;
        height: 7px;
    }

    .engineering-outcome {
        width: 100%;

        margin-top: 24px;

        min-height: 82px;

        padding:
            14px
            16px;

        gap: 13px;

        border-radius: 17px;
    }

    .outcome-icon {
        flex: 0 0 48px;

        width: 48px;
        height: 48px;
    }

    .outcome-icon svg {
        width: 35px;
        height: 35px;
    }

    .engineering-outcome p {
        font-size: 12px;
    }
}

@media (min-width: 651px) and (max-width: 900px) and (orientation: portrait) {

  .founder-image {
    max-width: 280px;
    height: 350px;
  }

}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    .engineering-pipeline {
        padding-left: 0;
        padding-right: 0;
    }

    .engineering-intro h2 {
        font-size: 40px;
        letter-spacing: -2.3px;
    }

    .engineering-intro > p {
        font-size: 13px;
    }

    .engineering-card {
        grid-template-columns:
            92px minmax(0, 1fr);

        min-height: 160px;

        padding-left: 8px;
        padding-right: 14px;
    }

    .engineering-illustration {
        width: 84px;
        height: 74px;
    }

    .engineering-card-content h3 {
        font-size: 16px;
    }

    .engineering-card-content > p {
        font-size: 8px;
    }

    .engineering-card-content ul {
        gap: 4px 8px;
    }

    .engineering-card-content li {
        font-size: 7.5px;
        padding-left: 8px;
    }

    .engineering-number {
        width: 35px;
        height: 35px;

        left: -5px;
    }
}



/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .engineering-card,
    .engineering-focus {
        transform: none;
    }
}

/* =========================================================
   ABOUT CORENCODE — SIMPLE BRAND SECTION
   ========================================================= */

.about-simple {
  background: #f4f1e9;
  color: #10231f;
  border-top: 1px solid #dce2d8;
  border-bottom: 1px solid #dce2d8;
}

.about-simple-inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 105px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.about-simple-heading {
  min-width: 0;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-simple-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #1c5b48;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.about-simple-heading h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(52px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 750;
}

.about-simple-heading h2 span {
  color: #1c5b48;
}

.about-simple-content {
  min-width: 0;
  padding-left: 55px;
  border-left: 1px solid #c8d1c9;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease 0.1s,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s;
}

.about-simple-heading.is-visible,
.about-simple-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .about-simple-heading,
  .about-simple-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-simple-lead {
  margin: 0;
  max-width: 620px;
  color: #10231f;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.about-simple-text {
  margin: 22px 0 0;
  max-width: 560px;
  color: #66736f;
  font-size: 15px;
  line-height: 1.7;
}

.about-simple-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.about-simple-values span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #bfcac1;
  color: #1c5b48;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* TABLET */

@media (max-width: 900px) {
  .about-simple-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 80px 0;
  }

  .about-simple-content {
    padding-left: 0;
    padding-top: 35px;
    border-left: 0;
    border-top: 1px solid #c8d1c9;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .about-simple-inner {
    width: calc(100% - 40px);
    padding: 35px 0 45px;
    gap: 24px;
  }

  .about-simple-heading h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .about-simple-lead {
    font-size: 21px;
  }

  .about-simple-text {
    font-size: 14px;
  }

  .about-simple-values {
    gap: 7px;
  }

  .about-simple-values span {
    font-size: 8px;
    padding: 0 10px;
  }
}

/* COURSE COLLAPSE */
.course-system-roadmap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.25s ease;
}

.course-system.is-course-open .course-system-roadmap {
  max-height: 10000px;
  opacity: 1;
}

.course-system-header {
  cursor: pointer;
}



/* =========================================================
   MOBILE — HEADER & HERO REFINEMENT
   ========================================================= */

@media (max-width: 600px) {

  /* HEADER */
  .navbar {
    height: 82px;
  }

  .nav-container {
    width: calc(100% - 32px);
  }

  .brand {
    margin-left: 0;
  }

  .brand img {
    width: 205px;
  }

  .menu-btn {
    padding: 8px 0 8px 12px;
  }

  .menu-btn span {
    width: 25px;
    height: 1.5px;
    margin: 5px 0;
  }


  /* HERO */
  .hero-content {
    padding: 48px 0 10px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 62px);
    line-height: 0.91;
    letter-spacing: -0.065em;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.55;
    margin: 24px 0;
  }

  .primary-btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .hero-image {
    height: 280px;
    border-radius: 14px;
  }
}

@media (max-width: 900px) {
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 15px 20px;
    background: #f4f1e9;
    border-bottom: 1px solid #dce2d8;
    box-shadow: 0 10px 25px rgba(16, 35, 31, 0.08);
    z-index: 99;
  }

  .nav-links.mobile-open > a,
  .nav-links.mobile-open .dropdown {
    width: 100%;
    padding: 12px 0;
  }
}

/* =========================================================
   CORENCODE — MOBILE FOUNDATION
   Desktop layout is NOT affected
   ========================================================= */

@media (max-width: 650px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  img {
    max-width: 100%;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    width: calc(100% - 32px);
    max-width: none;
  }

  section {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  /* Prevent grid/flex children from forcing page width */
  .container > *,
  section > *,
  .technology-around-inner,
  .hero-grid,
  .founder-grid,
  .why-grid {
    min-width: 0;
  }

  /* Better touch targets */
  button,
  a {
    touch-action: manipulation;
  }
}

/* =========================================================
   MOBILE HEADER — FINAL
   ========================================================= */

@media (max-width: 650px) {

  .navbar {
    height: 78px;
  }

  .nav-container {
    width: calc(100% - 32px);
    padding: 0;
  }

  .brand {
    margin-left: 0;
    min-width: 0;
  }

  .brand img {
    width: 205px;
    max-width: calc(100vw - 90px);
    height: auto;
  }

  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    padding: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .menu-btn span {
    display: block;
    width: 25px;
    height: 1.5px;
    margin: 4px 0;
  }

}

/* =========================================================
   MOBILE HERO — CORENCODE
   Desktop is NOT affected
   ========================================================= */

@media (max-width: 650px) {

  .hero {
    min-height: auto;
    display: block;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .hero-content {
    width: 100%;
    padding: 42px 0 24px;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 13.5vw, 62px);
    line-height: 0.93;
    letter-spacing: -0.065em;
  }

  .hero-text {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    margin: 22px 0 24px;
  }

  .hero .primary-btn {
    min-height: 48px;
    padding: 13px 19px;
    gap: 18px;
    font-size: 13px;
  }

  .hero-image {
    width: 100%;
    max-width: none;
    height: 300px;
    margin: 0;
    border-radius: 18px;
    justify-self: auto;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

}

/* =========================================================
   MOBILE HERO — EDGE & SCALE FIX
   ========================================================= */

@media (max-width: 650px) {

  .hero .container {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 26px 0 22px;
    box-sizing: border-box;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(40px, 10.5vw, 52px);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    margin: 22px 0 24px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero .primary-btn {
    min-height: 48px;
    padding: 13px 18px;
    font-size: 13px;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    height: 260px;
    margin: 0;
    border-radius: 18px;
    box-sizing: border-box;
  }

}

/* =========================================================
   MOBILE — TECHNOLOGY AROUND YOU
   Desktop completely untouched
   ========================================================= */

@media (max-width: 650px) {

  .technology-around {
  padding: 52px 0 60px;
}

  .technology-around-inner {
  width: calc(100% - 32px);
  max-width: none;
}

  /* INTRO */
  .technology-around-intro {
    display: block;
  }

  .technology-around-heading h2 {
    max-width: 100%;
    font-size: clamp(42px, 11.5vw, 56px);
    line-height: 0.96;
    letter-spacing: -2px;
  }

  .technology-around-heading p {
    max-width: 100%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  /* SIDE MESSAGE */
  .technology-around-side {
    max-width: 100%;
    margin: 32px 0 0;
    padding-left: 18px;
  }

  .technology-around-side > span {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .technology-around-side p {
    font-size: 14px;
    line-height: 1.55;
  }

  /* CATEGORY GRID */
  .technology-around-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  .technology-around-category {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 9px 10px;
    gap: 9px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .technology-around-category:last-child {
    grid-column: 1 / -1;
  }

  .category-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 15px;
  }

  /* SHOWCASE */
  .technology-around-showcase {
    display: block;
    width: 100%;
    margin-top: 12px;
  }

  /* IMAGE */
  .technology-around-image,
  .technology-around-image-placeholder {
    width: 100%;
    height: 230px;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 18px;
    overflow: hidden;
  }

  .technology-around-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* MOBILE CATEGORY ARROWS */

.technology-around-image {
    position: relative;
}

.technology-category-arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 64px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
    z-index: 5;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

    -webkit-tap-highlight-color: transparent;
}

.technology-category-arrow:active {
    transform: translateY(-50%) scale(0.9);
}

.technology-category-prev {
    left: 6px;
}

.technology-category-next {
    right: 6px;
}

  /* INFORMATION CARD */
  .technology-around-info {
    width: 100%;
    margin-top: 10px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .technology-around-number {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  .technology-around-info h3 {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.8px;
  }

  .technology-around-subtitle {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  .technology-around-description {
    margin: 16px 0 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .technology-around-principle {
    gap: 10px;
    padding: 9px 0;
  }

  .technology-around-principle > span {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .technology-around-principle strong {
    font-size: 13px;
  }

  .technology-around-principle small {
    font-size: 10px;
  }

}

@media (max-width: 650px) {

  .course-system {
    width: 100%;
    margin: 0 0 20px;
  }

  .course-system .course-system-header p {
    display: none;
  }

  .course-system-header::after {
    content: "+";
    flex-shrink: 0;

    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(247, 245, 238, 0.45);
    border-radius: 50%;

    font-size: 15px;
    line-height: 1;
    color: #f7f5ee;

    transition: transform 0.25s ease;
  }

  .course-system.is-course-open .course-system-header::after {
    transform: rotate(45deg);
  }

  .course-system {
    border-radius: 18px;
    overflow: hidden;
  }

  .course-system-header {
    padding: 20px 20px;
  }

  .course-system-header {
    border-radius: 18px 18px 0 0;
  }
  .course-system .course-certification {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }

  /* -----------------------------------------
     REMOVE INNER MODULE BOXES
     ----------------------------------------- */

  .course-system .roadmap-module,
  .iot-roadmap .roadmap-module {
    border: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
  }


  /* -----------------------------------------
     MODULE HEADER
     ----------------------------------------- */

  .course-system .roadmap-trigger,
  .iot-roadmap .roadmap-trigger {
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 16px 0;
  }

  .course-system .module-number,
  .iot-roadmap .module-number {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }

  .iot-roadmap .roadmap-trigger {
    grid-template-columns: 78px minmax(0, 1fr) 38px;
  }

  .iot-roadmap .module-number {
    width: 76px;
    height: 50px;
    font-size: 16px;
  }


  /* -----------------------------------------
     MODULE CONTENT
     
     TOPICS = LEFT
     PRACTICAL / PROJECT / OUTCOME = RIGHT
     ----------------------------------------- */

  .course-system .module-details,
  .iot-roadmap .module-details {

    display: grid;

    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);

    grid-template-areas:
      "topics practical"
      "topics project"
      "topics outcome";

    column-gap: 24px;
    row-gap: 22px;

    padding: 0 0 24px !important;

    max-height: 0;
    overflow: hidden;
  }

  .course-system .roadmap-module.is-open .module-details,
  .iot-roadmap .roadmap-module.is-open .module-details {
    padding: 8px 0 28px !important;
    max-height: 1200px;
  }


  /* -----------------------------------------
     COMPACT CONTENT
     ----------------------------------------- */

  .course-system .module-detail-group > span,
  .iot-roadmap .module-detail-group > span {
    margin-bottom: 10px;
  }

  .course-system .detail-heading,
  .iot-roadmap .detail-heading {
    font-size: 16px !important;
    gap: 8px;
  }

  .course-system .detail-heading svg,
  .iot-roadmap .detail-heading svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .course-system .module-detail-group li,
  .iot-roadmap .module-detail-group li {
    margin-bottom: 9px;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.45;
  }

  .course-system .module-detail-group p,
  .iot-roadmap .module-detail-group p {
    font-size: 13px;
    line-height: 1.5;
  }


  /* -----------------------------------------
     CAPSTONE
     ----------------------------------------- */

  .course-system .course-capstone {
    grid-template-columns: 1fr;
    gap: 10px;

    margin: 0;
    padding: 22px 0;

    border-top: 1px solid #c9d2c8;
    border-bottom: 1px solid #c9d2c8;
  }

  .course-system .capstone-content h4 {
    font-size: 22px;
    line-height: 1.15;
  }

  .course-system .capstone-content p {
    font-size: 14px;
    line-height: 1.55;
  }


  /* -----------------------------------------
     FINAL OUTCOME
     ----------------------------------------- */

  .course-system .course-final-outcome {
    grid-template-columns: 1fr;
    gap: 10px;

    padding: 22px 0 24px;

    border-bottom: 1px solid #c9d2c8;
  }

  .course-system .course-final-outcome p {
    font-size: 14px;
    line-height: 1.55;
  }


  /* -----------------------------------------
     CERTIFICATION
     ----------------------------------------- */

  .course-system .course-certification {
    grid-template-columns: 1fr;
    gap: 8px;

    padding: 20px 0 24px;
  }

}


/* =========================================================
   IoT WORKSHOPS — MOBILE FINAL FIX
   ========================================================= */

@media (max-width: 650px) {

  /* Full-width IoT module content */
  .iot-roadmap .module-details {
    width: 100% !important;
    box-sizing: border-box;

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;

    grid-template-areas:
      "topics practical"
      "topics project"
      "topics outcome" !important;

    column-gap: 28px !important;
    row-gap: 24px !important;

    padding: 8px 0 28px !important;

    max-height: 0;
  }

  .iot-roadmap .roadmap-module.is-open .module-details {
    max-height: 1400px !important;
    padding: 8px 0 28px !important;
}


  /* Keep the module itself full width */
  .iot-roadmap .roadmap-module {
    width: 100%;
    box-sizing: border-box;

    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;

    background: transparent !important;
  }


  /* Remove the large project illustration on mobile */
  .iot-roadmap .iot-project-image {
    display: none !important;
  }


  /* Explicit positions */
  .iot-roadmap .module-detail-group:nth-child(1) {
    grid-area: topics !important;
  }

  .iot-roadmap .module-detail-group:nth-child(2) {
    grid-area: practical !important;
  }

  .iot-roadmap .module-detail-group:nth-child(3) {
    grid-area: project !important;
  }

  .iot-roadmap .module-detail-group:nth-child(4) {
    grid-area: outcome !important;
  }


  /* Prevent text from becoming artificially narrow */
  .iot-roadmap .module-detail-group {
    min-width: 0 !important;
    width: auto !important;
  }


  /* Compact mobile typography */
  .iot-roadmap .module-detail-group li {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 9px;
  }

  .iot-roadmap .detail-heading {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

}

@media (max-width: 650px) {

  .course-system .roadmap-trigger,
  .iot-roadmap .roadmap-trigger {
    align-items: start;
  }

  .course-system .module-number,
  .iot-roadmap .module-number {
    margin-top: 0;
  }

  .course-system .module-main,
  .iot-roadmap .module-main {
    margin-top: 0;
  }

  .course-system .module-arrow,
  .iot-roadmap .module-arrow {
    margin-top: 0;
  }

  .courses.section {
    padding-bottom: 20px;
  }

  .founder-image {
    width: 100%;
    max-width: 80px;
    height: auto;
    justify-self: start;
    overflow: visible;
    border-radius: 18px;
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

  .footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials img,
.footer-socials svg {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.footer-content > p:last-child {
    margin-top: 4px;
}

  .about-simple {
    padding: 0 !important;
  }

  .about-simple-inner {
    width: calc(100% - 32px);
    padding: 35px 0 45px !important;
    gap: 24px !important;
  }

  .about-simple-content {
    padding-top: 24px !important;
  }

  .footer-reachout h3 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.2;
  }

  .footer-reachout .footer-socials {
    margin-top: 0;
  }

}


.gmail-icon {
  font-size: 30px;
  line-height: 1;
  color: #d44638;
}

/* CONTACT — FOUR ITEMS */

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1100px;
  gap: 30px;
  margin: 30px 0;
}

.contact-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
}

.contact-social-links a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-social-links img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

@media (max-width: 650px) {

    .founder-grid {
        position: static;
    }

    .founder-image {
        position: static;
        width: 120px;
        max-width: 120px;
        height: auto;
        justify-self: start;
        overflow: visible;
        border-radius: 14px;
        z-index: auto;
        margin-top: 0;
    }

    .founder-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        object-position: center;
    }

}

@media (max-width: 650px) {

  .contact-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-item {
    align-items: center;
  }

}

/* FOUNDER IMAGE — MOBILE LANDSCAPE ONLY */

@media (orientation: landscape) and (max-height: 500px) {

  .founder-image {
    max-width: 240px;
    height: 300px;
  }

}

/* MOBILE LANDSCAPE + TABLET PORTRAIT — MENU SPACING */

@media (max-height: 500px) and (orientation: landscape) {

  .nav-links.mobile-open > a,
  .nav-links.mobile-open .dropdown {
    padding: 6px 0;
  }

  .nav-links.mobile-open .dropdown-menu {
    left: 0;
    right: auto;
  }

}


@media (min-width: 651px) and (max-width: 900px) and (orientation: portrait) {

  .nav-links.mobile-open > a,
  .nav-links.mobile-open .dropdown {
    padding: 6px 0;
  }

  .nav-links.mobile-open .dropdown-menu {
    left: 0;
    right: auto;
  }

}

/* FOUNDER NAME — RESPONSIVE FIX */
.founder .founder-image {
    height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 300px;
    min-width: 0;
}

.founder .founder-image img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    flex-shrink: 0;
}

.founder .founder-name {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0;
    padding: 0;
    color: #c7df70;
    font-size: clamp(17px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: break-word;
    word-break: normal;
}

/* TABLET */
@media (min-width: 651px) and (max-width: 1024px) {
    .founder .founder-image {
        width: 100%;
        max-width: 280px;
    }

    .founder .founder-image img {
        height: 350px;
    }

    .founder .founder-name {
        font-size: 21px;
    }
}

/* MOBILE — INCLUDING PORTRAIT AND LANDSCAPE */
@media (max-width: 650px) {
    .founder .founder-image {
        width: 100%;
        max-width: 280px;
        min-width: 0;
        justify-self: center;
        margin: 0 auto;
    }

    .founder .founder-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .founder .founder-name {
        font-size: clamp(17px, 5vw, 22px);
        line-height: 1.35;
        margin-top: 12px;
        padding: 0 4px;
    }
}

/* Founder name — single line on laptop and tablet */
@media (min-width: 651px) {
    .founder .founder-name {
        white-space: nowrap;
        font-size: clamp(15px, 1.65vw, 23px);
        letter-spacing: -0.025em;
    }
}
