/* ================================================================
   STEM DORADO — REDESIGNED STYLESHEET
   ================================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0077b6;
  --primary-dark: #005a8d;
  --primary-light: #00b4d8;
  --secondary: #023e8a;
  --accent: #f77f00;
  --accent-light: #fca311;
  --dark: #1a2332;
  --darker: #0d1520;
  --text: #2d3436;
  --text-light: #636e72;
  --text-lighter: #b2bec3;
  --light: #f8f9fa;
  --lighter: #ffffff;
  --border: #e9ecef;
  --star: #fbbf24;
  --success: #10b981;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 50px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 24px rgba(0, 119, 182, 0.3);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--lighter);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-register-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.btn-register-header:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  background: rgba(0, 119, 182, 0.08);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title.left-align {
  text-align: left;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.highlight {
  color: var(--primary);
  position: relative;
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-word-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo .logo-stem {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a2812;
}

.logo .logo-dorado {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a5c2a;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  color: #4a2812;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(0, 119, 182, 0.05);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link i {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

/* Invisible bridge between nav link and dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(0, 119, 182, 0.05);
}

.dropdown-item i {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 119, 182, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.dropdown-item:hover i {
  background: var(--primary);
  color: #fff;
}

.dropdown-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.1rem;
}

.dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== REGISTER BUTTON ===== */
.btn-register-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  border: 2px solid var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-register-header:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}


/* ================================================================
   1. HERO BANNER
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--darker) 0%, var(--dark) 40%, var(--secondary) 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.08), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.25);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  padding: 16px 32px;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.stat strong {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.stat-stars {
  display: flex;
  gap: 2px;
}

.stat-stars i {
  color: var(--star);
  font-size: 0.85rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-image-decoration {
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: 16px;
  left: 16px;
  border: 2px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-xl);
  z-index: 1;
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================================================
   2. PROGRAMS / MEMBERSHIP CARDS
   ================================================================ */
.programs {
  padding: 50px 0;
  background: var(--light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.program-card-ribbon {
  position: absolute;
  top: 30px;
  right: -34px;
  background: var(--accent);
  color: #fff;
  padding: 3px 32px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transform: rotate(45deg);
  z-index: 10;
  letter-spacing: 0.3px;
}

.program-card-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-card-header.free {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
}

.program-card-header.subscription {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.05), rgba(0, 119, 182, 0.02));
}

.program-card-header.workshop {
  background: linear-gradient(135deg, rgba(247, 127, 0, 0.05), rgba(247, 127, 0, 0.02));
}

.program-card-header.clubs {
  background: linear-gradient(135deg, rgba(2, 62, 138, 0.06), rgba(2, 62, 138, 0.02));
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.free .program-icon {
  background: linear-gradient(135deg, var(--success), #059669);
}

.subscription .program-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.workshop .program-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.clubs .program-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.program-badge {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.program-badge.new {
  background: rgba(247, 127, 0, 0.1);
  color: var(--accent);
}

.program-card-body {
  padding: 0 2rem;
  flex: 1;
}

.program-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.program-age {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.program-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-desc.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.program-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
}

.program-read-more:hover {
  color: var(--secondary);
}

.program-read-more i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.program-read-more[data-expanded="true"] i {
  transform: rotate(180deg);
}

.program-features {
  margin-bottom: 1rem;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
}

.program-features li i {
  color: var(--success);
  font-size: 0.75rem;
  width: 16px;
}

.program-card-footer {
  padding: 1.5rem 2rem 2rem;
}

/* ================================================================
   3. VIDEO SECTION
   ================================================================ */
.video-section {
  padding: 10px 0;
  /* background: var(--light); */
  background: var(--lighter);
}

.video-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

/* Video fills the box */
.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay — decorative only, never intercepts clicks */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 1;
  pointer-events: none;
}

/* Play/pause button — hidden by default, shows on hover */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s, background 0.25s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.video-placeholder:hover .play-btn {
  opacity: 1;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary);
  color: #fff;
}

/* Hide overlay while playing; always show cursor for click-to-pause */
.video-placeholder.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Unmute toggle button */
.unmute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.unmute-btn:hover {
  background: rgba(0, 119, 182, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.video-placeholder video {
  cursor: pointer;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.play-btn i {
  margin-left: 4px;
}

.video-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.video-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.video-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  background: rgba(0, 119, 182, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.video-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.video-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ================================================================
   4. WHY STEM DORADO
   ================================================================ */
.why-section {
  padding: 2.5rem 0;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-content .section-label {
  display: inline-block;
}

.why-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-point-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.why-point h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.why-point p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Why Images */
.why-images {
  position: relative;
}

.why-image-main img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.why-image-secondary {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 45%;
  z-index: 2;
}

.why-image-secondary img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.why-floating-card {
  position: absolute;
  top: -20px;
  right: -15px;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.why-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}

.why-floating-card strong {
  font-size: 0.85rem;
  color: var(--dark);
  display: block;
}

.why-floating-card p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

/* ================================================================
   5. PARENT REVIEWS
   ================================================================ */
.reviews-section {
  padding: 50px 0;
  background: var(--light);
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stars-large i {
  color: var(--star);
  font-size: 1.2rem;
}

.reviews-rating span {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: none;
  border-bottom: 3px solid var(--star);
}

.review:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.review-stars i {
  color: var(--star);
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
  position: relative;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  display: block;
}

.read-more-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-google-icon {
  margin-left: auto;
  font-size: 1.2rem;
  color: #4285f4;
  opacity: 0.6;
}

/* Reviews collapse/expand */
.review.review-collapsed {
  display: none;
}

.reviews-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.75rem auto 0;
  padding: 0.7rem 2rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.reviews-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
}

.toggle-count {
  background: var(--primary);
  color: #fff;
  padding: 1px 9px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.reviews-toggle-btn:hover .toggle-count {
  background: rgba(255, 255, 255, 0.25);
}

/* ================================================================
   6. REGISTER TO OUR SERVICES
   ================================================================ */
.services-section {
  padding: 100px 0;
  background: #fff;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:nth-child(even) {
  grid-template-columns: 1fr 360px;
}

.service-card:nth-child(even) .service-card-image {
  order: 2;
}

.service-card:nth-child(even) .service-card-content {
  order: 1;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.08;
  z-index: 2;
  line-height: 1;
}

.service-card:nth-child(even) .service-number {
  left: auto;
  right: 1.5rem;
}

.service-card-image {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-card-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-top: auto;
}

.service-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

.service-school-logos,
.service-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.school-badge,
.partner-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

/* ================================================================
   7. FOOTER
   ================================================================ */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo .logo-stem {
  color: var(--primary-light);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem !important;
}

.footer-contact li i {
  color: var(--primary-light);
  margin-top: 3px;
  font-size: 0.85rem;
  min-width: 16px;
}

.footer-contact li span,
.footer-contact li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact li a:hover {
  color: var(--primary-light);
}

.footer-careers {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-careers a {
  color: var(--primary-light);
  font-weight: 600;
  transition: var(--transition);
}

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

/* Footer Collaborator Logos Marquee */
.footer-logos-section {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: footer-logos-scroll 55s linear infinite;
  will-change: transform;
}

.footer-logos-track:hover {
  animation-play-state: paused;
}

.footer-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  margin: 0 14px;
  height: 56px;
  box-sizing: border-box;
}

.footer-logo-item img {
  max-height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

@keyframes footer-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll reveal animation class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-description {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

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

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

  .hero-image-wrapper {
    max-width: 400px;
  }

  .hero-image-decoration {
    display: none;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
  }

  .video-wrapper {
    grid-template-columns: 1fr;
  }

  .video-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .video-feature {
    flex: 1;
    min-width: 200px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-images {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .section-title.left-align {
    text-align: center;
  }

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

  .why-content .section-label {
    margin: 0 auto 1rem;
  }

  .why-content .btn {
    margin: 0 auto;
  }

  .why-point {
    text-align: left;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .service-card,
  .service-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) .service-card-image {
    order: 0;
  }

  .service-card:nth-child(even) .service-card-content {
    order: 0;
  }

  .service-card:nth-child(even) .service-number {
    left: 1.5rem;
    right: auto;
  }

  .service-card-image {
    min-height: 220px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .nav-links {
    display: none;
  }

  .btn-register-header {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Menu Slide-in */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    padding: 90px 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }

  /* Mobile Dropdown */
  .nav-dropdown::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-item {
    padding: 0.7rem 1rem;
  }

  /* Show Register button in mobile menu */
  .nav-menu::after {
    content: 'Register';
    display: block;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-image {
    display: none;
  }

  /* Sections mobile */
  .section-title {
    font-size: 1.8rem;
  }

  .programs,
  .video-section,
  .why-section,
  .reviews-section,
  .services-section {
    padding: 60px 0;
  }

  .video-features {
    flex-direction: column;
  }

  .why-image-secondary {
    width: 40%;
    left: -10px;
    bottom: -20px;
  }

  .why-floating-card {
    right: -5px;
    top: -10px;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-item {
    height: 46px;
    padding: 8px 16px;
    margin: 0 10px;
  }

  .footer-logo-item img {
    max-height: 26px;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .service-card-content {
    padding: 1.5rem;
  }

  .logo-tagline {
    display: none;
  }

  .logo-icon {
    height: 36px;
  }

  .nav-menu {
    width: 100%;
  }
}

/* ================================================================
   HERO SLIDESHOW
   ================================================================ */

.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide img.hero-img-left {
  object-position: left center;
}

.hero-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slide-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* ================================================================
   COLLABORATORS TICKER
   ================================================================ */

.collab-ticker-section {
  background: linear-gradient(90deg, #f0f7ff 0%, #eaf3fb 100%);
  border-top: 1px solid rgba(0, 119, 182, 0.1);
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.collab-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: linear-gradient(90deg, #f0f7ff 65%, transparent 100%);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.collab-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 36s linear infinite;
  padding-left: 160px;
  will-change: transform;
}

.collab-ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.01em;
}

.ticker-item i {
  color: var(--primary);
  font-size: 0.68rem;
}

.ticker-sep {
  color: rgba(0, 119, 182, 0.3);
  font-size: 0.72rem;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   NEWS SECTION (HOMEPAGE)
   ================================================================ */

.news-section {
  padding: 2.5rem 0;
  background: #f8fafc;
}

/* ===== FEATURED NEWS CARD (big banner style) ===== */
.news-card-featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-xl);
  padding: 3rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-card-featured-confetti {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 0.75rem;
  font-size: 2rem;
  animation: news-featured-bounce 2s ease-in-out infinite;
}

@keyframes news-featured-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.news-card-featured-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.news-card-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-card-featured-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.news-card-featured-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-card-featured-content .btn-primary {
  background: #fff;
  color: var(--accent);
  border: none;
}

.news-card-featured-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.news-card-featured-decoration {
  position: absolute;
  right: -50px;
  bottom: -50px;
}

.news-card-featured .deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.news-card-featured .deco-circle.c1 {
  width: 200px;
  height: 200px;
  right: 0;
  bottom: 0;
}

.news-card-featured .deco-circle.c2 {
  width: 140px;
  height: 140px;
  right: 30px;
  bottom: 30px;
}

@media (max-width: 640px) {
  .news-card-featured {
    padding: 2rem;
  }

  .news-card-featured-content h2 {
    font-size: 1.4rem;
  }

  .news-card-featured-confetti {
    display: none;
  }
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  width: 280px;
  min-height: 180px;
  align-self: stretch;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* No-image cards: full-width text card with a subtle accent instead of a
   placeholder block, so it reads as intentional rather than a missing image. */
.news-card.no-image {
  border-left: 4px solid var(--primary);
}

.news-card.no-image .news-card-body {
  padding: 1.5rem 1.75rem;
}

.news-card.no-image .news-card-title {
  font-size: 1.15rem;
}

.news-card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.news-category {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-category.workshop    { background: rgba(247,127,0,0.1);   color: #c96a00; }
.news-category.club        { background: rgba(0,119,182,0.1);   color: #0077b6; }
.news-category.magazine    { background: rgba(109,40,217,0.1);  color: #6d28d9; }
.news-category.event       { background: rgba(5,150,105,0.1);   color: #059669; }
.news-category.announcement { background: rgba(220,38,38,0.1);  color: #dc2626; }
.news-category.general     { background: rgba(107,114,128,0.1); color: #374151; }

.news-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
}

.news-badge.featured { background: var(--primary); }

.news-date {
  font-size: 0.77rem;
  color: var(--text-light);
  margin-left: auto;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 0.55rem;
}

.news-card-summary {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.news-card-footer {
  padding: 0.9rem 1.2rem 1.1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.news-card-link:hover { gap: 0.65rem; }

.news-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-light);
}

.news-empty i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.4;
}

.news-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .news-card {
    flex-direction: column;
  }

  .news-card-img {
    width: 100%;
    height: 160px;
    min-height: 0;
  }

  .collab-ticker-label { display: none; }
  .collab-ticker-track { padding-left: 0; }
}