/* =========================================================
   BWS EDTECH WEBSITE
   Main editable stylesheet
   Change colors, sizes and spacing here.
========================================================= */

:root {
  --red: #ed1717;
  --red-dark: #b90000;
  --black: #090909;
  --dark: #111111;
  --text: #171717;
  --muted: #6d6d6d;
  --white: #ffffff;
  --light: #f6f6f6;
  --border: #e8e8e8;
  --shadow: 0 12px 35px rgba(0,0,0,.09);
  --radius: 18px;
  --container: 1320px;
}

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

html { scroll-behavior: smooth; }

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

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

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

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

/* HEADER */
.header {
  position: absolute;
  z-index: 20;
  width: 100%;
  top: 0;
  left: 0;
  color: white;
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.logo { display: flex; flex-direction: column; min-width: 130px; }
.logo-image { width: 74px; height: 74px; object-fit: contain; }
.logo-mark, .footer-logo {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  line-height: .8;
  font-weight: 800;
  letter-spacing: -3px;
}
.footer-logo { width: 110px; height: 110px; object-fit: contain; }
.logo-mark { color: white; text-shadow: 2px 2px 0 var(--red); }
.logo-tagline { font-size: 7px; letter-spacing: 2px; margin-top: 8px; color: #ddd; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  color: #ddd;
  position: relative;
  padding: 8px 0;
}

.nav-btn { flex-shrink: 0; }

.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a.active::after {
  content: "";
  height: 3px;
  width: 30px;
  background: var(--red);
  position: absolute;
  bottom: -5px;
  left: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 28px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); }

.btn-outline { color: white; border-color: #777; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.08); }

.btn-white { background: white; color: var(--red); }
.btn-outline-white { color: white; border-color: white; }

/* HERO */
.hero {
  min-height: 670px;
  background:
    radial-gradient(circle at 70% 50%, rgba(237,23,23,.35), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(237,23,23,.12), transparent 30%),
    #050505;
  color: white;
  position: relative;
  overflow: hidden;
  background-size: 140% 140%;
  animation: hero-atmosphere 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 850px;
  height: 850px;
  border: 1px solid rgba(255,0,0,.18);
  border-radius: 50%;
  right: -150px;
  top: -100px;
}

.hero-grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 25px;
  padding-top: 75px;
}

.hero-content { position: relative; z-index: 4; }

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-bottom: 15px;
}

.eyebrow span, .eyebrow.red, h1 span, h2 span { color: var(--red); }

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 580px;
  color: #d0d0d0;
  font-size: 16px;
  margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-row {
  display: flex;
  gap: 20px;
  margin-top: 38px;
}
.trust-row div { display: flex; gap: 8px; align-items: center; border-right: 1px solid #444; padding-right: 20px; }
.trust-row div:last-child { border: 0; }
.trust-row strong { color: var(--red); font-size: 20px; }
.trust-row span { font-size: 11px; line-height: 1.3; color: #bbb; }

/* HERO VISUAL */
.hero-visual { height: 520px; position: relative; }
.orbit {
  position: absolute;
  border: 1px solid rgba(255,30,30,.35);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  animation: orbit-pulse 6s ease-in-out infinite;
}
.orbit-1 { width: 490px; height: 490px; }
.orbit-2 { width: 360px; height: 360px; animation-delay: -2s; }

.hero-boy {
  position: absolute;
  z-index: 2;
  width: min(700px, 145%);
  max-width: none;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,.35));
  animation: hero-float 5s ease-in-out infinite;
}

.robot-placeholder {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%,-50%);
  width: 270px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  filter: drop-shadow(0 25px 30px rgba(0,0,0,.5));
}
.robot-head {
  width: 155px; height: 105px;
  border-radius: 30px 30px 18px 18px;
  background: linear-gradient(145deg,#eee,#777);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  border: 6px solid #222;
}
.robot-body {
  width: 190px; height: 130px;
  margin-top: -2px;
  background: linear-gradient(145deg,#ddd,#666);
  border: 7px solid #222;
  border-radius: 20px;
}
.robot-wheel {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: #111;
  border: 8px solid #777;
  position: absolute;
  bottom: 25px;
}
.robot-wheel.left { left: 10px; }
.robot-wheel.right { right: 10px; }

.floating-card {
  position: absolute;
  background: linear-gradient(145deg, rgba(28,28,28,.92), rgba(5,5,5,.86));
  border: 1px solid rgba(255,30,30,.55);
  padding: 10px;
  border-radius: 15px;
  text-align: center;
  font-weight: 800;
  color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,.38), inset 0 0 18px rgba(237,23,23,.06);
  backdrop-filter: blur(5px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.floating-card:hover { transform: translateY(-4px) scale(1.03); border-color: var(--red); box-shadow: 0 16px 34px rgba(0,0,0,.48), 0 0 18px rgba(237,23,23,.16); }
.floating-card small { color: white; font-size: 9px; letter-spacing: 1px; }
.hero-topic-image { width: 104px; height: 76px; object-fit: contain; display: block; margin: 0 auto; border-radius: 8px; }
.card-code { top: 100px; left: 25px; animation: card-float 4.5s ease-in-out infinite; }
.card-drone { top: 165px; right: 0; animation: card-float 5.5s ease-in-out -1.5s infinite; }
.card-print { bottom: 75px; left: 25px; animation: card-float 5s ease-in-out -3s infinite; }
.hero-badge {
  position: absolute;
  right: 15px;
  bottom: 100px;
  background: #050505;
  border: 1px solid var(--red);
  border-radius: 15px;
  padding: 17px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  transform: rotate(-4deg);
}
.hero-badge span { color: var(--red); }

/* SERVICES */
.service-strip {
  position: relative;
  z-index: 10;
  margin-top: -48px;
}
.service-grid {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(6,1fr);
}
.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 13px;
  border-right: 1px solid #ddd;
}
.service-item:last-child { border: 0; }
.service-icon { font-size: 29px; }
.service-photo { width: 44px; height: 44px; flex: 0 0 44px; overflow: hidden; border-radius: 8px; background: #171717; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-icon svg { width: 36px; height: 36px; display: block; fill: none; stroke: #ed1717; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .icon-red { fill: #ed1717; stroke: #ed1717; }
.service-icon .icon-white { fill: #fff; stroke: #fff; }
.service-icon .icon-dark { fill: #171717; stroke: #171717; }
.service-icon .icon-blue { fill: #1685c7; stroke: #1685c7; }
.service-icon .icon-orange { fill: #f08a00; stroke: #f08a00; }
.service-icon .icon-purple { fill: #7a5ca8; stroke: #60438f; }
.service-icon .icon-cyan { fill: #58c8e8; stroke: #1685c7; }
.service-icon .icon-green { fill: #36a65a; stroke: #247b40; }
.service-item b { display: block; font-size: 13px; }
.service-item small { color: #777; font-size: 9px; }

/* SECTIONS */
.section { padding: 90px 0; }
.section.light { background: #f7f7f7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px,4vw,48px);
  line-height: 1.1;
  letter-spacing: -1.8px;
}
.view-link { font-weight: 700; font-size: 14px; }

/* COURSES */
.course-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.course-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--card-accent, var(--red));
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0,0,0,.05);
  transition: .25s;
  animation: card-enter .65s ease both;
}
.course-card:nth-child(2) { animation-delay: .08s; }
.course-card:nth-child(3) { animation-delay: .16s; }
.course-card:nth-child(4) { animation-delay: .24s; }
.course-card:nth-child(5) { animation-delay: .32s; }
.course-card:nth-child(6) { animation-delay: .4s; }
.service-item { transition: transform .25s ease; }
.service-item:hover { transform: translateY(-3px); }
.service-photo img, .course-image img { transition: transform .35s ease, filter .35s ease; }
.service-photo:hover img, .course-card:hover .course-image img { transform: scale(1.08); filter: saturate(1.2); }

@keyframes orbit-pulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

@keyframes card-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.course-card:hover { transform: translateY(-7px); border-color: var(--card-accent, var(--red)); box-shadow: 0 16px 30px color-mix(in srgb, var(--card-accent, var(--red)) 18%, transparent); }
.course-image {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 62px;
  font-weight: 800;
  position: relative;
}
.course-image img { width: 100%; height: 100%; object-fit: cover; }
.course-card:nth-child(1) { --card-accent: #ed1717; }
.course-card:nth-child(2) { --card-accent: #2a9d55; }
.course-card:nth-child(3) { --card-accent: #ef8b16; }
.course-card:nth-child(4) { --card-accent: #7952b3; }
.course-card:nth-child(5) { --card-accent: #e64b5d; }
.course-card:nth-child(6) { --card-accent: #1685c7; }
.course-image.robotics { background: radial-gradient(circle at 78% 20%, #fff 0 8%, transparent 28%), linear-gradient(135deg, #dcecff, #efd6ff); }
.course-image.coding { background: radial-gradient(circle at 20% 15%, #fff 0 7%, transparent 25%), linear-gradient(135deg, #ddf5cf, #c5e9ff); color: #222; }
.course-image.drone { background: radial-gradient(circle at 80% 18%, #fff 0 7%, transparent 24%), linear-gradient(135deg, #ffe1bb, #ffd0dd); }
.course-image.print { background: radial-gradient(circle at 22% 18%, #fff 0 7%, transparent 24%), linear-gradient(135deg, #e7d8ff, #c4f1ef); }
.course-image.stem { background: radial-gradient(circle at 80% 20%, #fff 0 7%, transparent 24%), linear-gradient(135deg, #ffd4da, #ffedbf); }
.course-image.iot { background: radial-gradient(circle at 20% 18%, #fff 0 7%, transparent 24%), linear-gradient(135deg, #cae7ff, #d5dcff); color: #123b72; }
.level { position: absolute; margin: -15px 0 0 10px; padding: 4px 9px; border-radius: 7px; color: white; font-size: 9px; font-weight: 800; }
.red-bg { background: var(--red); }
.green-bg { background: #26923c; }
.orange-bg { background: #e68a00; }
.purple-bg { background: #7740b5; }
.blue-bg { background: #1265bb; }
.course-card h3 { font-size: 16px; margin: 20px 12px 6px; }
.course-card p { font-size: 11px; color: #666; padding: 0 12px; min-height: 54px; }
.course-bottom { display: flex; justify-content: space-between; padding: 15px 12px; color: #1560a9; font-size: 10px; }
.course-bottom span, .course-bottom a { font-size: 18px; }

/* STATS */
.stats { background: #0a0a0a; color: white; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5,1fr); text-align: center; }
.stats-grid div { border-right: 1px solid #444; }
.stats-grid div:last-child { border: 0; }
.stats strong { display: block; color: var(--red); font-size: 30px; font-weight: 800; }
.stats span { color: #ccc; font-size: 12px; }

/* CENTER HEADINGS */
.center-heading { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.center-heading > p:last-child { color: var(--muted); margin-top: 14px; }

/* PROGRAMS */
.program-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
#programs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(237,23,23,.1), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(22,133,199,.1), transparent 26%),
    #f7f7f7;
}
#programs::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image: linear-gradient(rgba(18,18,18,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}
#programs .container { position: relative; z-index: 1; }
#programs .center-heading { animation: program-heading-in .9s ease both; }
.program-box {
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.program-box:hover { border-color: var(--red); transform: translateY(-8px); box-shadow: 0 18px 30px rgba(237,23,23,.12); }
.program-box span { color: var(--red); font-weight: 800; }
.program-box h3 { margin: 20px 0 10px; font-size: 19px; }
.program-box p { color: #666; font-size: 13px; }
.program-box-image { padding: 0 0 30px; overflow: hidden; }
.program-box-image img { width: 100%; height: 155px; object-fit: cover; display: block; margin-bottom: 24px; }
.program-box-image:hover img { transform: scale(1.06); filter: saturate(1.12); }
.program-box-image > span, .program-box-image > h3, .program-box-image > p { margin-left: 30px; margin-right: 30px; }

@keyframes program-heading-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LAB */
.lab-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 0, 0, 0.25), transparent 18%),
    linear-gradient(90deg, #070707 0%, #06070a 26%, #07090d 62%, #04070a 100%);
  color: white;
  padding: 55px 0 75px;
  overflow: hidden;
  position: relative;
}
.lab-section::before {
  content: "";
  position: absolute;
  width: 1040px;
  height: 1040px;
  left: -220px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0,0,0,.98) 0 54%, rgba(0,0,0,.78) 62%, rgba(0,0,0,0) 72%);
  border: 1px solid rgba(237,23,23,.22);
}
.lab-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(237,23,23,.05), transparent 40%);
  pointer-events: none;
}
.lab-section .container { position: relative; z-index: 1; }
.lab-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: center;
  min-height: 630px;
}
.lab-visual {
  position: relative;
  width: min(760px, 100%);
  height: 560px;
  margin: 0 auto;
}
.lab-badge-wrap {
  position: absolute;
  left: 42%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 630px;
  height: 630px;
  border-radius: 50%;
  background: rgba(0,0,0,.93);
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 8px rgba(0,0,0,.65), inset 0 0 0 22px rgba(0,0,0,.32);
  animation: badge-float 5s ease-in-out infinite;
}
.lab-badge {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #050505 url("images/BWSlogo.png") center/58% no-repeat;
  overflow: hidden;
}
.lab-badge::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  left: 6%;
  top: 6%;
  border-radius: 50%;
  border: 25px solid #ed1717;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-24deg);
}
.lab-badge::after {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  left: 11%;
  top: 11%;
  border-radius: 50%;
  border: 20px solid rgba(255,255,255,.92);
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(18deg);
}
.lab-device {
  position: absolute;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(15,15,15,.92), rgba(8,8,8,.9));
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 28px rgba(0,0,0,.26), inset 0 0 20px rgba(255,255,255,.02);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.lab-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.25));
}
.lab-device:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(0,0,0,.32), 0 0 20px rgba(237,23,23,.12);
}
.d1 { left: 28px; bottom: 60px; animation: device-float 4s ease-in-out infinite; }
.d2 { right: 42px; top: 34px; animation: device-float 4.8s ease-in-out -1.5s infinite; }
.d3 { right: 22px; bottom: 22px; animation: device-float 4.4s ease-in-out -2.5s infinite; }
.lab-content {
  max-width: 630px;
  justify-self: end;
  padding-right: 6px;
}
.lab-content .eyebrow {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 18px;
}
.lab-content h2 {
  font-size: clamp(48px, 4vw, 92px);
  line-height: 0.9;
  letter-spacing: -2.8px;
  margin-bottom: 18px;
}
.lab-content h2 span {
  display: inline-block;
  color: var(--red);
}
.lab-content p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-bottom: 30px;
}
.check-list div {
  color: rgba(255,255,255,.92);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.check-list div::before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
  font-size: 16px;
}
.check-list div { transition: color .25s ease, transform .25s ease; }
.check-list div:hover { color: white; transform: translateX(5px); }

.lab-content .btn {
  display: inline-flex;
  min-width: 240px;
  padding: 18px 22px;
  font-size: 18px;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(237,23,23,.26);
}

@keyframes screen-glow {
  from { box-shadow: 0 0 55px rgba(237,23,23,.12); }
  to { box-shadow: 0 0 95px rgba(237,23,23,.27); }
}

@keyframes device-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes badge-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 rgba(237,23,23,0); }
  50% { box-shadow: 0 0 18px rgba(237,23,23,.14); }
}

@keyframes title-glow {
  from { text-shadow: 0 0 0 rgba(255,255,255,0); }
  to { text-shadow: 0 0 16px rgba(255,255,255,.18); }
}

@keyframes lab-ring {
  from { transform: translateY(-50%) scale(1); opacity: .55; }
  to { transform: translateY(-50%) scale(1.08); opacity: 1; }
}

/* FEATURES */
#workshops {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(237,23,23,0.07), transparent 32%),
    radial-gradient(circle at bottom right, rgba(12,90,255,0.06), transparent 28%),
    #f3f3f3;
  padding: 72px 0 98px;
}
#workshops::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18,18,18,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.018) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
#workshops .container { position: relative; z-index: 1; }
#workshops .center-heading {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}
#workshops .center-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
#workshops .center-heading h2 {
  font-size: clamp(38px, 3vw, 68px);
  line-height: 0.9;
  letter-spacing: -2.1px;
  margin: 0;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpSection .9s cubic-bezier(.2,.8,.2,1) forwards;
  text-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#workshops .center-heading h2 span {
  color: var(--red);
  font-weight: 800;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 30px;
}
.feature {
  position: relative;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  padding: 0 0 24px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(17,17,17,0.04);
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUpCard .9s cubic-bezier(.2,.8,.2,1) forwards;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature:nth-child(2) { animation-delay: .08s; }
.feature:nth-child(3) { animation-delay: .16s; }
.feature:nth-child(4) { animation-delay: .24s; }
.feature:nth-child(5) { animation-delay: .32s; }
.feature:nth-child(6) { animation-delay: .4s; }
.feature:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(237,23,23,.28);
  box-shadow: 0 22px 36px rgba(17,17,17,0.08);
}
.feature:hover::before { opacity: 1; }
.feature:hover .feature-image {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}
.feature-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
  border-bottom: 1px solid #efefef;
  filter: saturate(1.04) contrast(1.02);
  transition: transform .45s ease, filter .45s ease;
}
.feature span {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 15px;
  margin: 20px 0 10px;
  padding-left: 20px;
}
.feature h3 {
  margin: 0;
  padding: 0 20px 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}
.feature p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px;
  font-weight: 500;
}

.scroll-reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.scroll-reveal.show { opacity: 1; transform: translateY(0); }
.program-box:nth-child(2), .feature:nth-child(2) { transition-delay: .08s; }
.program-box:nth-child(3), .feature:nth-child(3) { transition-delay: .16s; }
.program-box:nth-child(4), .feature:nth-child(4) { transition-delay: .24s; }
.program-box:nth-child(5), .feature:nth-child(5) { transition-delay: .32s; }
.program-box:nth-child(6), .feature:nth-child(6) { transition-delay: .4s; }

@keyframes hero-atmosphere {
  from { background-position: 45% 50%; }
  to { background-position: 58% 45%; }
}

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

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

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.about-grid > div:first-child p:not(.eyebrow) { color: #666; margin-top: 18px; max-width: 650px; }
.about-card {
  background: #090909;
  color: white;
  border-radius: 22px;
  padding: 45px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  background: var(--red);
  border-radius: 50%;
  right: -70px; top: -70px;
  opacity: .8;
}
.about-icon { font-size: 60px; font-weight: 800; color: var(--red); }
.about-card h3 { font-size: 26px; margin: 20px 0 10px; }
.about-card p { color: #bbb; margin-bottom: 20px; }
.about-card a { color: var(--red); font-weight: 700; }

/* CTA */
.cta { background: var(--red); color: white; padding: 70px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { margin-bottom: 10px; }
.cta h2 span { color: #111; }
.cta p { color: #ffe2e2; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* FOOTER */
.footer { background: #080808; color: white; padding-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.4fr; gap: 45px; padding-bottom: 50px; }
.footer-logo { color: white; }
.footer-brand p { color: var(--red); font-size: 11px; letter-spacing: 2px; margin: 10px 0; }
.footer-brand small, .footer p { color: #aaa; font-size: 12px; }
.footer h4 { margin-bottom: 18px; }
.footer-grid > div:not(:first-child) a { display: block; color: #aaa; font-size: 12px; margin: 8px 0; }
.footer-grid > div:not(:first-child) a:hover { color: white; }
.subscribe-form { display: flex; margin-top: 15px; }
.subscribe-form input { min-width: 0; flex: 1; padding: 13px; border: 0; border-radius: 7px 0 0 7px; outline: 0; }
.subscribe-form button { border: 0; background: var(--red); color: white; padding: 0 16px; font-weight: 700; border-radius: 0 7px 7px 0; }
.copyright { border-top: 1px solid #292929; padding: 16px 0; font-size: 11px; color: #aaa; }
.copyright .container { display: flex; justify-content: space-between; }

/* WHATSAPP */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #20bd5a;
  color: white;
  display: grid;
  place-items: center;
  font-size: 28px;
  z-index: 50;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ANIMATION */
.reveal { opacity: 1; transform: translateY(0); transition: .8s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .course-grid { grid-template-columns: repeat(3,1fr); }
  .service-grid { grid-template-columns: repeat(3,1fr); }
  .service-item:nth-child(3) { border: 0; }
  .hero-grid { gap: 0; }
  .hero-boy { width: 100%; }
  .hero h1 { font-size: clamp(44px, 6vw, 64px); }
  .hero-text { font-size: 15px; }
}

@media (max-width: 800px) {
  .container { width: min(var(--container), calc(100% - 30px)); }
  .nav { min-height: 75px; }
  .nav-btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    left: 15px; right: 15px; top: 70px;
    background: #111;
    padding: 20px;
    flex-direction: column;
    border-radius: 12px;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .lab-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-grid { padding-top: 120px; }
  .hero-content { max-width: 680px; }
  .hero-visual { height: 430px; max-width: 600px; width: 100%; margin: 0 auto; }
  .hero-boy { width: min(680px, 140%); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-item:nth-child(even) { border: 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .stats-grid div:nth-child(2), .stats-grid div:nth-child(4) { border: 0; }
  .program-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .lab-grid { gap: 35px; }
  .about-grid { gap: 35px; }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .logo-image { width: 62px; height: 62px; }
  .logo-tagline { font-size: 6px; }
  .hero-grid { padding-top: 105px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); letter-spacing: -2px; }
  .hero-text { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .hero-visual { height: 350px; transform: none; margin: 10px 0 -20px; }
  .hero-boy { width: 155%; top: 50%; }
  .orbit-1 { width: min(390px, 92vw); height: min(390px, 92vw); }
  .orbit-2 { width: min(290px, 70vw); height: min(290px, 70vw); }
  .robot-placeholder { transform: translate(-50%, -50%) scale(.78); }
  .floating-card { transform: scale(.78); }
  .card-code { top: 66px; left: -4px; }
  .card-drone { top: 110px; right: -8px; }
  .card-print { bottom: 42px; left: -4px; }
  .hero-badge { right: -5px; bottom: 58px; transform: rotate(-4deg) scale(.78); }
  .trust-row { flex-direction: column; gap: 10px; }
  .trust-row div { border: 0; }
  .section { padding: 65px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .course-grid, .program-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { border: 0; justify-content: flex-start; }
  .lab-visual { height: 330px; }
  .lab-badge-wrap { width: 290px; height: 290px; top: 40%; }
  .lab-badge { box-shadow: inset 0 0 0 12px #ed1717; }
  .lab-badge::before, .lab-badge::after { inset: 10px; border-width: 10px; }
  .lab-title { font-size: 18px; letter-spacing: 2px; bottom: 12px; }
  .lab-device { width: 100px; height: 100px; padding: 12px; }
  .d1 { left: 0; bottom: 16px; }
  .d2 { right: 10%; top: 12%; }
  .d3 { right: 0; bottom: 18px; }
  .check-list { grid-template-columns: 1fr; }
  .copyright .container { flex-direction: column; gap: 8px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .whatsapp { right: 14px; bottom: 14px; width: 48px; height: 48px; font-size: 24px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 36px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-visual { height: 310px; }
  .service-grid { padding: 14px; }
  .course-image { height: 130px; }
  .about-card { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
