/* =========================================================
CANADA SKILLPATH — MAIN STYLESHEET
Clean responsive layout, typography, components and motion
Shared header and footer are managed separately.
========================================================= */

/* =========================================================
1. DESIGN TOKENS (Red & Gradient Blue Theme)
========================================================= */

:root {
  --red: #dc2626;           /* Vibrant Core Red */
  --red-hover: #b91c1c;     /* Darker Red Hover */
  --red-light: #fef2f2;     /* Soft Tint Red */
  --blue: #23558c;          /* Exact Logo Royal Blue */
  --blue-dark: #23558c;     /* Exact Logo Royal Blue */
  --blue-light: #edf4fb;    /* Soft Luminance Blue */
  --light: #f8fafc;         /* Bright Clean Background */
  --text: #1f2937;
  --muted: #667085;
  --white: #ffffff;
  --border: #dbe5f1;

  /* Gradient Tokens */
  --bg-gradient-blue: linear-gradient(135deg, #23558c 0%, #1a426e 100%);
  --bg-gradient-red-blue: linear-gradient(135deg, #dc2626 0%, #23558c 100%);

  --shadow: 0 18px 55px rgba(35, 85, 140, .08);
  --shadow-lg: 0 25px 70px rgba(35, 85, 140, .15);

  --radius: 18px;
  --radius-lg: 26px;

  --transition: all .35s cubic-bezier(.4, 0, .2, 1);

  --container-width: 1180px;
  --container-gutter: 48px;
}

/* =========================================================
2. RESET AND BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: var(--transition);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  max-width: 100%;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

p,
li,
span,
strong,
label {
  overflow-wrap: break-word;
}

input,
select,
textarea {
  min-width: 0;
}

button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(220, 38, 38, .65);
  outline-offset: 4px;
}

section,
header,
footer,
main {
  min-width: 0;
}

/* Main content container */

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

/* Prevent grid and flex children from forcing overflow */

.hero-grid > *,
.split-grid > *,
.contact-grid > *,
.final-cta-inner > *,
.footer-grid > *,
.cards-3 > *,
.cards-4 > *,
.program-grid > *,
.timeline > * {
  min-width: 0;
}

/* =========================================================
3. SHARED TYPOGRAPHY
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 3px;
  border-radius: 10px;
  background: currentColor;
}

.section {
  padding: clamp(75px, 8vw, 110px) 0;
}

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

.section-title {
  width: 100%;
  max-width: 740px;
  margin: 0 auto 55px;
  padding-inline: 8px;
  text-align: center;
}

.section-title .eyebrow {
  justify-content: center;
}

.section-title h2 {
  margin: 8px 0 15px;
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 900;
}

.section-title h2 span {
  color: var(--red);
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

/* =========================================================
4. HERO SECTION (Red & Gradient Blue Theme)
========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 9vw, 125px) 0 clamp(90px, 10vw, 130px);
  color: #fff;
  background: var(--bg-gradient-red-blue);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at 75% 25%,
    rgba(220, 38, 38, 0.4) 0%,
    rgba(35, 85, 140, 0.85) 70%
  );
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  z-index: 2;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Hero background slider */

.hero-bg,
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out, transform 6s ease-in-out;
  will-change: opacity, transform;
}

.hero-bg-slide.active {
  opacity: 1;
  animation: heroZoom 7s ease-in-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Hero content layout */

.hero .hero-grid {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero-grid > div:first-child {
  min-width: 0;
  padding-left: 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 800px;
  margin: 10px 0 22px;
  color: #fff;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 900;
}

.hero h1 span {
  color: #fca5a5;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, .95);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

.hero-note i {
  color: #93c5fd;
}

/* =========================================================
5. BUTTONS (Red & Gradient Blue Theme)
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
  min-height: 54px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: var(--transition);
}

.hero .btn-primary {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.hero .btn-primary:hover {
  color: #ffffff;
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5);
}

.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero .btn-outline:hover {
  color: var(--blue-dark);
  background: #ffffff;
  transform: translateY(-3px);
}

/* Standard Buttons for rest of site */
.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 25px rgba(220, 38, 38, .25);
}

.btn-primary:hover {
  color: #fff;
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, .35);
}

.btn-outline {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  background: transparent;
}

.btn-outline:hover {
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* =========================================================
6. HERO TRUST CARDS AND IMAGE
========================================================= */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row div {
  flex: 1 1 140px;
  min-width: 0;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.trust-row div:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-4px);
}

.trust-row strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}

.trust-row span {
  display: block;
  margin-top: 3px;
  color: #dbeafe;
  font-size: 11px;
}

.hero-card {
  position: relative;
  min-width: 0;
}

.hero-photo {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-lg);
  background: url("assets/hero-new.png") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  filter: brightness(1.05) contrast(1.03);
  transition: transform .5s ease, box-shadow .5s ease;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(35, 85, 140, .35)
  );
  pointer-events: none;
}

.hero-card:hover .hero-photo {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(35, 85, 140, .35);
}

.floating-box {
  position: absolute;
  bottom: 30px;
  left: -15px;
  z-index: 5;
  width: min(360px, calc(100% - 20px));
  padding: 23px 24px;
  border-left: 5px solid var(--red);
  border-radius: 17px;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.floating-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--blue-dark);
}

.floating-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
7. QUICK SERVICES AND GENERAL CARDS
========================================================= */

.quick-services {
  position: relative;
  z-index: 10;
  margin-top: -48px;
}

.cards-3,
.cards-4,
.program-grid {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

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

.info-card > span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 17px;
  color: #fff;
  background: var(--bg-gradient-blue);
  font-size: 21px;
  box-shadow: 0 10px 25px rgba(35, 85, 140, .25);
}

.info-card h3 {
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-size: 20px;
}

.info-card p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 850;
}

.card-link:hover {
  color: var(--red);
  transform: translateX(4px);
}

/* =========================================================
8. ABOUT / SPLIT CONTENT
========================================================= */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(35px, 5vw, 70px);
  align-items: center;
}

.split-content {
  min-width: 0;
}

.split-content .eyebrow {
  color: var(--red);
}

.split-content h2 {
  margin: 8px 0 20px;
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.split-content h2 span {
  color: var(--red);
}

.split-content p {
  margin-bottom: 17px;
  color: var(--muted);
  line-height: 1.8;
}

.styled-list {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.styled-list li {
  position: relative;
  padding-left: 31px;
  color: var(--text);
  font-weight: 650;
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

/* Feature panel */

.feature-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--bg-gradient-blue);
  box-shadow: var(--shadow-lg);
}

.feature-panel::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, .03),
    0 0 0 70px rgba(255, 255, 255, .02);
  pointer-events: none;
}

.feature-panel h3,
.feature-panel p,
.feature-panel ul {
  position: relative;
  z-index: 2;
}

.feature-panel h3 {
  margin-bottom: 17px;
  color: #fff;
  font-size: 27px;
}

.feature-panel p {
  color: #eff6ff;
}

.feature-panel ul {
  margin-top: 22px;
}

.feature-panel li {
  position: relative;
  margin: 15px 0;
  padding-left: 25px;
  color: #ffffff;
}

.feature-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fca5a5;
  font-weight: 900;
}

/* =========================================================
9. PROGRAM CARDS
========================================================= */

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

.program {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.program:hover {
  transform: translateY(-7px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-lg);
}

.program:hover::before {
  transform: scaleX(1);
}

.program-tag {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-light);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 17px 0 13px;
  border-radius: 16px;
  color: var(--blue-dark);
  background: var(--blue-light);
  font-size: 27px;
}

.program h3 {
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.4;
}

.program p {
  color: var(--muted);
}

.section-action {
  margin-top: 38px;
  text-align: center;
}

/* =========================================================
10. ENHANCED WHY CHOOSE US CARDS
========================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 85, 140, .04);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s cubic-bezier(.4, 0, .2, 1), border-color .35s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.why-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, .08) 0%, transparent 70%);
  pointer-events: none;
  transition: transform .4s ease, opacity .4s ease;
  opacity: 0;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(36, 85, 140, .12);
  border-color: rgba(36, 85, 140, .25);
}

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

.why-card:hover .why-card-glow {
  opacity: 1;
  transform: scale(1.4);
}

.why-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #edf4fb 100%);
  color: var(--blue-dark);
  font-size: 1.45rem;
  box-shadow: inset 0 0 0 1px rgba(36, 85, 140, .1);
  transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--bg-gradient-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(36, 85, 140, .3);
}

.why-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.why-card p {
  color: var(--muted);
  font-size: .9rem;
}

/* =========================================================
11. ENHANCED APPLICATION PROCESS TIMELINE
========================================================= */

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

.step-card {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(36, 85, 140, .04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.step-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 0%;
  background: var(--red);
  border-radius: 0 4px 4px 0;
  transition: height .35s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(36, 85, 140, .1);
  border-color: rgba(36, 85, 140, .2);
}

.step-card:hover::after {
  height: 100%;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg-gradient-blue);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(36, 85, 140, .25);
  transition: transform .35s ease, background .35s ease;
}

.step-pill {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  background: var(--red);
  box-shadow: 0 6px 16px rgba(220, 38, 38, .3);
}

.step-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.15rem;
  transition: color .25s ease;
}

.step-card:hover h3 {
  color: var(--red);
}

.step-card p {
  color: var(--muted);
  font-size: .88rem;
}

/* =========================================================
12. PLANE ANIMATION
========================================================= */

.partner-left {
  position: relative;
  min-width: 0;
}

.plane-wrapper {
  position: relative;
  width: min(180px, 100%);
  height: 140px;
  margin-top: 30px;
}

.plane-img {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
  width: min(160px, 100%);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(35, 85, 140, 1));
  transform: rotate(-25deg);
  animation: planeFly 3s ease-in-out infinite;
}

.plane-glow {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 140px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(35, 85, 140, .7),
    transparent 70%
  );
  animation: planePulse 2s ease-in-out infinite;
}

@keyframes planePulse {
  0%, 100% {
    transform: scale(1);
    opacity: .6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes planeFly {
  0%, 100% {
    transform: rotate(-25deg) translateY(0);
  }
  50% {
    transform: rotate(-20deg) translateY(-10px);
  }
}

/* =========================================================
13. TRAINING SECTORS SCROLLER
========================================================= */

.sectors-scroller-section {
  padding: 85px 0;
  background: var(--light);
}

.sectors-scroller-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 20px 0;
}

.sectors-scroller-track {
  display: flex;
  gap: 24px;
  padding: 0 45px;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.sector-slide {
  position: relative;
  display: block;
  flex: 0 0 320px;
  min-width: 0;
  height: 380px;
  overflow: hidden;
  border-radius: 22px;
  color: inherit;
  background: #ddd;
  box-shadow: var(--shadow);
  cursor: grab;
  transition: var(--transition);
}

.sector-slide:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.sector-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.sector-slide:hover img {
  transform: scale(1.07);
}

.sector-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 55px 22px 22px;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(35, 85, 140, .95)
  );
}

.sector-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.sector-overlay p {
  display: inline-block;
  max-width: 100%;
  margin-top: 9px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.sector-emoji {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

/* Scroller navigation */

.scroller-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(35, 85, 140, .3);
  transform: translateY(-50%);
  transition: var(--transition);
}

.scroller-btn:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-50%) scale(1.06);
}

.scroller-btn.prev {
  left: 18px;
}

.scroller-btn.next {
  right: 18px;
}

/* =========================================================
14. CONTACT SECTION
========================================================= */

.contact-section {
  padding: clamp(70px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--light), #fff);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.contact-info {
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-info:hover {
  transform: translateY(-4px);
  border-left-color: var(--red);
  box-shadow: var(--shadow-lg);
}

.contact-info .eyebrow {
  color: var(--red);
}

.contact-info h2 {
  margin-bottom: 17px;
  color: var(--blue-dark);
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 900;
}

.contact-info p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin: 20px 0;
  color: var(--blue-dark);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--red);
}

.contact-highlights {
  display: grid;
  gap: 11px;
  margin-top: 25px;
}

.contact-highlights div {
  min-width: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--blue-dark);
  border-radius: 11px;
  background: var(--blue-light);
  font-weight: 650;
  color: var(--blue-dark);
}

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  color: #4b5563;
  background: var(--red-light);
  font-size: 13px;
  line-height: 1.7;
}

/* Contact form */

.form-wrapper {
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--border);
  border-top: 5px solid var(--blue-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.form-wrapper:hover {
  transform: translateY(-4px);
  border-top-color: var(--red);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  gap: 17px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.form-group label,
.file-upload label {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: #f8fafc;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 85, 140, .15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.file-upload {
  margin-bottom: 3px;
}

.file-upload input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 11px;
  border: 2px dashed #cbd5e1;
  border-radius: 11px;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload input[type="file"]:hover {
  border-color: var(--blue-dark);
  background: var(--blue-light);
}

.form-submit {
  width: 100%;
  margin-top: 5px;
}

/* =========================================================
15. VIDEO SHOWCASE
========================================================= */

.video-showcase {
  padding: 85px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-hover));
}

.video-showcase .section-title h2 {
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
}

.video-showcase .section-title p {
  color: var(--red-light);
}

.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(35, 85, 140, .35);
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
16. INNER PAGE HEADER
========================================================= */

.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(75px, 10vw, 120px) 0;
  color: #fff;
  text-align: center;
  background: var(--bg-gradient-blue);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(220, 38, 38, .25),
      transparent 40%
    ),
    linear-gradient(
      90deg,
      rgba(35, 85, 140, .9),
      rgba(35, 85, 140, .85)
    );
  pointer-events: none;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.page-header-slide.active {
  opacity: 1;
  animation: pageHeaderZoom 7s ease-in-out forwards;
}

@keyframes pageHeaderZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .eyebrow {
  justify-content: center;
  color: #fca5a5;
}

.page-header h1 {
  max-width: 900px;
  margin: 0 auto 15px;
  padding-inline: 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.page-header p {
  max-width: 680px;
  margin: 0 auto;
  padding-inline: 8px;
  color: #eff6ff;
  font-size: 17px;
  line-height: 1.8;
}

/* =========================================================
17. COURSE CATALOG
========================================================= */

.catalog-section {
  padding: 85px 0;
  background: var(--light);
}

.sector-block {
  min-width: 0;
  padding: 32px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.sector-block:hover {
  transform: translateY(-4px);
  border-left-color: var(--red);
  box-shadow: var(--shadow-lg);
}

.sector-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--light);
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 850;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 15px;
  margin-top: 20px;
}

.course-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
  padding: 16px;
  border-left: 4px solid var(--blue-dark);
  border-radius: 10px;
  color: inherit;
  background: var(--blue-light);
  font-weight: 650;
  transition: var(--transition);
}

.course-item:hover {
  border-left-color: var(--red);
  background: #fff;
  transform: translateX(3px);
  box-shadow: 0 5px 15px rgba(35, 85, 140, .1);
}

.course-duration {
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 750;
}

/* =========================================================
18. PARTNERS
========================================================= */

.partners-section {
  padding: 85px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 25px;
  margin-top: 40px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 100px;
  padding: 20px;
  border-radius: 13px;
  background: var(--light);
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* =========================================================
19. ENHANCED FINAL CALL TO ACTION
========================================================= */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  color: #fff;
  background: var(--bg-gradient-blue);
}

.final-cta::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -180px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, .03),
    0 0 0 110px rgba(255, 255, 255, .02);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.final-cta h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.15;
}

.final-cta p {
  max-width: 650px;
  color: #eff6ff;
}

/* =========================================================
20. WHATSAPP AND COURSE BUTTONS
========================================================= */

.search-with-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.whatsapp-cta,
.all-courses-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 54px;
  padding: 11px 20px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 850;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: var(--transition);
}

.whatsapp-cta {
  border: 2px solid rgba(37, 211, 102, .3);
  color: #0d7a6e;
  background: rgba(37, 211, 102, .1);
}

.whatsapp-cta img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.whatsapp-cta:hover {
  border-color: #25d366;
  color: #0b5e55;
  background: rgba(37, 211, 102, .18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .25);
}

.all-courses-cta {
  border: 2px solid rgba(35, 85, 140, .25);
  color: var(--blue-dark);
  background: rgba(35, 85, 140, .06);
}

.all-courses-cta:hover {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
  background: rgba(35, 85, 140, .12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(35, 85, 140, .18);
}

/* =========================================================
21. LEGACY FOOTER
========================================================= */

.footer {
  padding: 70px 0 25px;
  color: #fff;
  background: #090d16;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr 1.1fr;
  gap: 35px;
}

.footer-grid > * {
  min-width: 0;
}

.footer-logo-box {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 17px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .25);
}

.footer-logo-box img {
  width: auto;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
}

.footer h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 16px;
}

.footer-description {
  max-width: 330px;
  color: #94a3b8;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 2px;
  margin: 6px 0;
  color: #94a3b8;
  overflow-wrap: anywhere;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  font-size: 17px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.copyright {
  padding-top: 24px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

/* =========================================================
22. SCROLL REVEAL ANIMATIONS
========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1);
}

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

.timeline-step.reveal:nth-child(1),
.sector-block.reveal:nth-child(1),
.value-card.reveal:nth-child(1) {
  transition-delay: .1s;
}

.timeline-step.reveal:nth-child(2),
.sector-block.reveal:nth-child(2),
.value-card.reveal:nth-child(2) {
  transition-delay: .2s;
}

.timeline-step.reveal:nth-child(3),
.sector-block.reveal:nth-child(3),
.value-card.reveal:nth-child(3) {
  transition-delay: .3s;
}

.timeline-step.reveal:nth-child(4),
.sector-block.reveal:nth-child(4) {
  transition-delay: .4s;
}

/* =========================================================
23. SEARCH BAR
========================================================= */

.course-search {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 580px;
  min-height: 66px;
  padding: 0 22px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 19px;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-search:focus-within {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(35, 85, 140, 0.15);
}

.course-search .search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 19px;
  flex-shrink: 0;
}

.course-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #1f2937;
  font-family: inherit;
  font-size: 21px;
}

.course-search input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

/* =========================================================
24. TABLET — 1100px
========================================================= */

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid {
    gap: 35px;
  }

  .program-grid,
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-photo {
    min-height: 440px;
  }

  .floating-box {
    left: -10px;
  }
}

/* =========================================================
25. TABLET AND MOBILE — 900px
========================================================= */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero {
    padding: 75px 0 95px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .hero-grid > div:first-child {
    padding-inline: 0;
  }

  .hero-photo {
    min-height: 430px;
  }

  .floating-box {
    right: 15px;
    bottom: -22px;
    left: 15px;
    width: auto;
    max-width: none;
  }

  .quick-services {
    margin-top: 40px;
  }

  .cards-3,
  .cards-4,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sector-slide {
    flex-basis: 280px;
    height: 330px;
  }

  .scroller-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .scroller-btn.prev {
    left: 8px;
  }

  .scroller-btn.next {
    right: 8px;
  }

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

  .contact-info,
  .form-wrapper {
    width: 100%;
  }
}

/* =========================================================
26. MOBILE — 600px
========================================================= */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 85px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 62px 0;
  }

  .section-title {
    margin-bottom: 36px;
    padding-inline: 2px;
  }

  .section-title h2 {
    font-size: clamp(27px, 7.5vw, 36px);
    letter-spacing: -.025em;
  }

  .section-title p {
    font-size: 15px;
    line-height: 1.75;
  }

  .eyebrow {
    gap: 8px;
    font-size: 10px;
    letter-spacing: .09em;
  }

  .eyebrow::before {
    flex-basis: 23px;
    width: 23px;
  }

  .hero {
    padding: 56px 0 78px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-grid > div:first-child {
    padding: 0;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 10px;
    font-size: clamp(32px, 8.5vw, 46px);
    line-height: 1.13;
    letter-spacing: -.03em;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 26px;
  }

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

  .btn {
    min-height: 49px;
    padding: 12px 18px;
    font-size: 14px;
  }

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

  .trust-row div {
    min-width: 0;
    padding: 12px;
  }

  .trust-row strong {
    font-size: 18px;
  }

  .trust-row span {
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-photo {
    min-height: 310px;
    border-radius: 19px;
  }

  .floating-box {
    right: 10px;
    bottom: -22px;
    left: 10px;
    padding: 16px;
  }

  .floating-box strong {
    font-size: 16px;
  }

  .floating-box span {
    font-size: 12px;
  }

  .cards-3,
  .cards-4,
  .program-grid,
  .timeline,
  .footer-grid,
  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-card,
  .program,
  .timeline-step,
  .feature-panel,
  .contact-info,
  .form-wrapper {
    padding: 23px;
  }

  .info-card h3,
  .program h3 {
    font-size: 19px;
  }

  .feature-panel h3 {
    font-size: 24px;
  }

  .contact-grid {
    gap: 25px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 13px;
    font-size: 16px;
  }

  .contact-email {
    font-size: 15px;
  }

  .sectors-scroller-section {
    padding: 60px 0;
  }

  .sectors-scroller-wrapper {
    padding: 12px 0;
  }

  .sector-slide {
    flex-basis: min(260px, 80vw);
    height: 310px;
  }

  .sectors-scroller-track {
    gap: 15px;
    padding: 0 30px;
  }

  .sector-overlay {
    padding: 45px 17px 18px;
  }

  .sector-overlay h3 {
    font-size: 18px;
  }

  .scroller-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .scroller-btn.prev {
    left: 2px;
  }

  .scroller-btn.next {
    right: 2px;
  }

  .search-with-whatsapp {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .whatsapp-cta,
  .all-courses-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .page-header {
    padding: 65px 0;
  }

  .page-header h1 {
    padding-inline: 0;
    font-size: clamp(29px, 8vw, 39px);
    line-height: 1.15;
    letter-spacing: -.02em;
  }

  .page-header p {
    padding-inline: 0;
    font-size: 15px;
    line-height: 1.75;
  }

  .catalog-section,
  .partners-section {
    padding: 60px 0;
  }

  .sector-block {
    padding: 21px;
  }

  .sector-title {
    align-items: flex-start;
    gap: 9px;
    font-size: 19px;
  }

  .course-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-item {
    flex-direction: column;
    gap: 5px;
    padding: 14px;
  }

  .course-duration {
    font-size: 13px;
  }

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

  .partner-logo {
    height: 82px;
    padding: 12px;
  }

  .final-cta {
    padding: 60px 0;
  }

  .final-cta-inner {
    gap: 23px;
  }

  .final-cta h2 {
    font-size: clamp(27px, 7vw, 36px);
  }

  .footer {
    padding: 50px 0 22px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-logo-box img {
    height: 54px;
  }

  .copyright {
    margin-top: 30px;
    line-height: 1.7;
  }

  .course-search {
    min-height: 56px;
    padding: 0 16px;
    gap: 13px;
    border-radius: 15px;
  }

  .course-search input {
    font-size: 16px;
  }
}

/* =========================================================
27. EXTRA SMALL SCREENS — 380px
========================================================= */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 30px);
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-text {
    font-size: 15px;
  }

  .trust-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-photo {
    min-height: 275px;
  }

  .info-card,
  .program,
  .timeline-step,
  .feature-panel,
  .contact-info,
  .form-wrapper {
    padding: 19px;
  }

  .sector-slide {
    flex-basis: 76vw;
  }

  .whatsapp-cta,
  .all-courses-cta {
    padding-inline: 10px;
    font-size: 13px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .section-title h2 {
    font-size: 27px;
  }
}

/* =========================================================
28. ACCESSIBILITY — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* HERO ENTRANCE ANIMATION */
.js .hero-content.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1s cubic-bezier(.4, 0, .2, 1);
}

.js .hero-content.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO IMMEDIATE ENTRANCE ANIMATION */
.hero-inner-load {
  opacity: 0;
  transform: translateY(25px);
  animation: heroLoadIn 0.8s cubic-bezier(.4, 0, .2, 1) 0.15s forwards;
}

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