:root {
  --ink: #12202b;
  --muted: #5c6974;
  --line: #dbe4ea;
  --paper: #ffffff;
  --soft: #f4f8fa;
  --teal: #007f7a;
  --blue: #1c5d99;
  --amber: #f0a202;
  --green: #2e8b57;
  --shadow: 0 18px 45px rgba(18, 32, 43, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 234, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 24px rgba(0, 127, 122, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #263743;
  font-weight: 650;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/hero-technology-training.png");
  background-size: cover;
  background-position: center right;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.42) 62%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(180deg, rgba(18, 32, 43, 0.02), rgba(18, 32, 43, 0.2));
}

.hero-content {
  width: min(720px, 100%);
  padding: clamp(64px, 12vw, 140px) clamp(20px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: #30424f;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 127, 122, 0.26);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.intro-item {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.intro-item span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--amber);
  font-weight: 900;
}

.intro-item strong {
  display: block;
  font-size: 1.18rem;
}

.intro-item p,
.service-card p,
.process-grid p,
.contact p,
.split p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.split > div:first-child p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 620px;
}

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

.service-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(18, 32, 43, 0.06);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
}

.service-card:nth-child(2) .icon-box {
  background: var(--green);
}

.service-card:nth-child(3) .icon-box {
  background: var(--amber);
}

.service-card:nth-child(4) .icon-box {
  background: var(--teal);
}

.band {
  color: #fff;
  background: #12202b;
}

.band .eyebrow {
  color: #84e1dc;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.training-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.training-list li {
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.training-list li::before {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: -30px;
  margin-right: 10px;
  border-radius: 50%;
  content: "";
  vertical-align: -4px;
  background: var(--amber);
}

.process {
  background: var(--soft);
}

.internship-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  background: #edf7f5;
}

.internship-copy {
  max-width: 720px;
}

.internship-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.internship-copy .button {
  margin-top: 16px;
}

.internship-experience {
  padding-block: 8px;
}

.internship-experience h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.internship-experience ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.internship-experience li {
  padding: 16px 0 16px 34px;
  border-top: 1px solid #cbded9;
}

.internship-experience li:last-child {
  border-bottom: 1px solid #cbded9;
}

.internship-experience li::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: -28px;
  margin-right: 18px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.process > h2 {
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.process-grid article {
  min-height: 190px;
  padding: 28px;
  border-left: 5px solid var(--teal);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.process-grid span {
  display: block;
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #293a46;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #c9d5dc;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 127, 122, 0.16);
}

.page-hero {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(18, 32, 43, 0.95), rgba(0, 127, 122, 0.84)),
    url("assets/hero-technology-training.png") center right / cover;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: #edf6f8;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.page-hero .eyebrow {
  color: #84e1dc;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--soft);
}

.feature-list article,
.program-grid article,
.value-stack article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(18, 32, 43, 0.06);
}

.feature-list span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--amber);
  font-weight: 900;
}

.feature-list h2,
.program-grid h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.feature-list p,
.program-grid p,
.value-stack p,
.solution-layout p,
.portfolio-grid p,
.contact-panel p {
  color: var(--muted);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.portfolio {
  background: var(--soft);
}

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

.portfolio-grid article {
  min-height: 300px;
  padding: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(18, 32, 43, 0.06);
}

.solution-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.portfolio-grid span {
  display: inline-block;
  margin: 24px 28px 18px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-grid h3 {
  margin-inline: 28px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.portfolio-grid p,
.portfolio-grid .text-link {
  margin-left: 28px;
  margin-right: 28px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.program-grid article {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.program-label {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-details {
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.program-details:hover,
.program-details:focus-visible {
  color: #fff;
  background: var(--teal);
}

.modal-open {
  overflow: hidden;
}

.training-modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: clamp(24px, 4vw, 42px);
  overflow-y: auto;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.34);
}

.training-modal::backdrop {
  background: rgba(16, 24, 32, 0.72);
}

.training-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.training-modal-header .eyebrow {
  margin: 5px 0 0;
}

.training-modal-close {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.training-modal-close:hover,
.training-modal-close:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

.training-modal h2 {
  max-width: 620px;
  margin-top: 14px;
}

.training-modal-intro {
  max-width: 680px;
  color: var(--muted);
}

.training-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: clamp(24px, 5vw, 48px);
  margin: 30px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.training-detail-grid h3 {
  font-size: 1.05rem;
}

.training-detail-grid ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.training-detail-grid li + li {
  margin-top: 8px;
}

.training-detail-grid p {
  color: var(--muted);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.value-stack {
  display: grid;
  gap: 16px;
}

.contact-panel {
  padding-top: 8px;
}

.contact-address {
  display: grid;
  gap: 5px;
  margin-top: 26px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.55;
}

.contact-address strong {
  margin-bottom: 5px;
}

.contact-links {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-top: 10px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: #12202b;
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band .eyebrow {
  color: #84e1dc;
}

.cta-band p:not(.eyebrow) {
  max-width: 760px;
  color: #c5d1d8;
}

.internship-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 22px 40px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #dbe4ea;
  background: #101820;
}

.footer-company {
  display: grid;
  gap: 7px;
}

.footer-company address {
  max-width: 680px;
  color: #b9c7d0;
  font-style: normal;
  line-height: 1.55;
}

.footer-contact-links {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 6px;
}

.footer-legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(219, 228, 234, 0.18);
  color: #b9c7d0;
}

.site-footer a {
  color: #84e1dc;
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 58%, rgba(255, 255, 255, 0.54) 100%),
      rgba(255, 255, 255, 0.2);
  }

  .hero-content {
    padding-top: 78px;
    padding-bottom: 96px;
  }

  h1 {
    max-width: 10ch;
  }

  .intro,
  .split,
  .band-inner,
  .process-grid,
  .contact,
  .feature-list,
  .internship-section,
  .program-grid,
  .solution-layout,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 1px;
  }

  .internship-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .training-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .service-grid,
  .training-list {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }

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

  .footer-contact-links {
    justify-items: start;
  }

  .footer-legal {
    grid-column: 1;
  }
}
