/* ================================================================
   TechWorld Labs — index.css
   Homepage-specific styles only. Layout/components in global.css
   ================================================================ */

/* ── Push hero below fixed header + skillnav ── */
.hero {
  margin-top: calc(var(--header-h) + var(--nav-h));
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 32px 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,180,255,0.08) 0%, transparent 60%);
}

/* Mobile: Make hero a flex container to reorder cubes beside stats */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-glow-1 {
  width: 500px; height: 400px;
  background: rgba(0,180,255,0.12);
  top: -100px; left: 50%;
  transform: translateX(-60%);
}
.hero-glow-2 {
  width: 300px; height: 300px;
  background: rgba(0,255,178,0.08);
  top: 20px; right: 5%;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
  }
  /* Hide cubes on mobile and tablet */
  .hero-3d-container {
    display: none !important;
  }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 20px;
  background: rgba(0,255,178,0.06);
  border: 1px solid rgba(0,255,178,0.15);
  padding: 6px 14px; border-radius: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: 54px; font-weight: 800;
  color: var(--text);
  letter-spacing: -2px; line-height: 1.08;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px; color: var(--text2);
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.75;
}
/* 3D Rotating Cubes */
.hero-3d-container {
  position: absolute;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  perspective: 1200px;
  z-index: 1;
}
.hero-3d-container.left {
  left: 5%;
}
.hero-3d-container.right {
  right: 5%;
}
/* Mobile positioning - below buttons */
@media (max-width: 768px) {
  .hero-3d-container {
    position: relative;
    transform: none;
    top: auto;
    margin: 20px 8px 0;
    width: 95px;
    height: 95px;
    display: inline-block;
  }
  .hero-3d-container.left {
    left: auto;
    margin-left: 8px;
  }
  .hero-3d-container.right {
    right: auto;
    margin-right: 8px;
  }
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 12s infinite linear;
}
.hero-3d-container.left .cube {
  animation: rotateCubeReverse 12s infinite linear;
}
.cube-face {
  position: absolute;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(0,180,255,0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(0,180,255,0.15) 0%, rgba(0,255,178,0.1) 100%);
  transform-style: preserve-3d;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.cube-face.front  { background: linear-gradient(135deg, rgba(0,180,255,0.2) 0%, rgba(0,180,255,0.1) 100%); transform: translateZ(110px); }
.cube-face.back   { background: linear-gradient(135deg, rgba(69,186,75,0.2) 0%, rgba(69,186,75,0.1) 100%); transform: rotateY(180deg) translateZ(110px); }
.cube-face.right  { background: linear-gradient(135deg, rgba(255,107,53,0.2) 0%, rgba(255,107,53,0.1) 100%); transform: rotateY(90deg) translateZ(110px); }
.cube-face.left   { background: linear-gradient(135deg, rgba(255,214,0,0.2) 0%, rgba(255,214,0,0.1) 100%); transform: rotateY(-90deg) translateZ(110px); }
.cube-face.top    { background: linear-gradient(135deg, rgba(187,134,252,0.2) 0%, rgba(187,134,252,0.1) 100%); transform: rotateX(90deg) translateZ(110px); }
.cube-face.bottom { background: linear-gradient(135deg, rgba(255,108,55,0.2) 0%, rgba(255,108,55,0.1) 100%); transform: rotateX(-90deg) translateZ(110px); }

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes rotateCubeReverse {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(-360deg) rotateY(-360deg); }
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 44px;
  width: 100%;
}
@media (max-width: 768px) {
  .hero-actions {
    margin-bottom: 20px;
    width: auto;
  }
}
/* Container for cubes on mobile */
@media (max-width: 768px) {
  .hero-3d-container {
    margin-top: 16px;
  }
}
.btn-primary {
  background: var(--accent);
  color: #000; font-weight: 700; font-size: 14px;
  padding: 13px 28px; border-radius: 10px;
  font-family: var(--font-display);
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(0,180,255,0.3);
}
.btn-primary:hover {
  background: #1ac4ff;
  box-shadow: 0 0 32px rgba(0,180,255,0.5);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg3); color: var(--text);
  border: 1px solid var(--border2);
  font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: 10px;
  font-family: var(--font-display);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--bg4);
  border-color: var(--accent);
  color: var(--accent);
}

/* Stats bar */
.hero-stats {
  display: inline-flex; align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 24px;
  gap: 0; flex-wrap: wrap; justify-content: center;
}
@media (max-width: 768px) {
  .hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
  }
}
.stat-item { padding: 4px 20px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--text); line-height: 1.2;
}
.stat-label {
  font-size: 11px; color: var(--text3);
  font-family: var(--font-mono); margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--border); flex-shrink: 0;
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 800;
  color: var(--text); letter-spacing: -0.8px; margin-bottom: 10px;
}
.section-sub {
  font-size: 15px; color: var(--text2);
  max-width: 500px; margin: 0 auto;
}

/* ================================================================
   COURSES SECTION
   ================================================================ */
.courses-section {
  padding: 64px 32px;
  max-width: 1140px; margin: 0 auto;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.course-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  min-width: 0;
}
.course-card:hover {
  border-color: var(--card-accent, var(--border2));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.course-card .card-glow {
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--card-accent, var(--accent)) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.course-card:hover .card-glow { opacity: 0.1; }
.card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 14px;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.card-badge {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 9px; border-radius: 12px; border: 1px solid;
}
.card-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--text); margin-bottom: 8px; letter-spacing: -0.3px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.card-desc {
  font-size: 13px; color: var(--text2);
  line-height: 1.65; margin-bottom: 16px; flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.card-meta {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 14px; gap: 8px; flex-wrap: wrap;
  min-width: 0;
}
.card-topics { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.card-count {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text3);
  white-space: nowrap; flex-shrink: 0;
  text-align: right;
}
.card-cta { font-family: var(--font-display); font-size: 13px; font-weight: 700; }

/* ================================================================
   TOOLS SECTION
   ================================================================ */
.tools-section {
  padding: 64px 32px;
  max-width: 1140px; margin: 0 auto;
  border-top: 1px solid var(--border);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  min-width: 0;
}
.tool-card:hover {
  border-color: var(--card-accent, var(--border2));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.tool-card .card-glow {
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--card-accent, var(--accent)) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.tool-card:hover .card-glow { opacity: 0.1; }

/* ================================================================
   WHY SECTION
   ================================================================ */
.why-section {
  padding: 64px 32px;
  max-width: 1140px; margin: 0 auto;
  border-top: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 20px;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--border2); background: var(--bg4); }
.why-icon { font-size: 26px; margin-bottom: 12px; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 7px;
}
.why-card p { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ================================================================
   RESPONSIVE — Large Tablet ≤1024px
   ================================================================ */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid   { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .hero-title   { font-size: 44px; }
  .hero-3d-container { width: 140px; height: 140px; top: 50%; }
  .hero-3d-container.left { left: 2%; }
  .hero-3d-container.right { right: 2%; }
  .cube-face { width: 140px; height: 140px; font-size: 14px; }
  .cube-face.front  { transform: translateZ(70px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(70px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(70px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(70px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(70px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(70px); }
}

/* ================================================================
   RESPONSIVE — Medium Tablet ≤900px
   ================================================================ */
@media (max-width: 900px) {
  .hero { padding: 60px 24px 60px; }
  .hero-title { font-size: 40px; }
  .hero-3d-container { width: 130px; height: 130px; top: 50%; }
  .hero-3d-container.left { left: 1.5%; }
  .hero-3d-container.right { right: 1.5%; }
  .cube-face { width: 130px; height: 130px; font-size: 13px; }
  .cube-face.front  { transform: translateZ(65px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(65px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(65px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(65px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(65px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(65px); }
}

/* ================================================================
   RESPONSIVE — Small Tablet ≤820px
   ================================================================ */
@media (max-width: 820px) {
  .hero { padding: 50px 20px 50px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-3d-container { width: 120px; height: 120px; top: 50%; }
  .hero-3d-container.left { left: 1.5%; }
  .hero-3d-container.right { right: 1.5%; }
  .cube-face { width: 120px; height: 120px; font-size: 12px; }
  .cube-face.front  { transform: translateZ(60px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(60px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(60px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(60px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(60px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }
}

/* ================================================================
   RESPONSIVE — Landscape Mobile ≤700px
   ================================================================ */
@media (max-width: 700px) {
  .hero { padding: 40px 16px 44px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 13.5px; }
  .hero-3d-container { display: none; }
}

/* ================================================================
   RESPONSIVE — Tablet ≤768px
   ================================================================ */
@media (max-width: 768px) {
  .hero { padding: 45px 16px 48px; }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-sub   { font-size: 14px; }
  .hero-eyebrow { font-size: 10px; padding: 5px 12px; }
  .hero-3d-container { display: none; }
  .courses-section, .tools-section, .why-section { padding: 40px 14px; }
  .courses-grid { grid-template-columns: 1fr; gap: 12px; }
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-stats   { padding: 12px 10px; }
  .stat-item    { padding: 4px 12px; }
  .stat-num     { font-size: 17px; }
  .btn-primary, .btn-secondary { flex: 1 1 auto; min-width: 140px; padding: 12px 20px; font-size: 13px; }
  .section-title { font-size: 26px; }
  .course-card, .tool-card  { padding: 18px; overflow: hidden; }
  .card-title { font-size: 17px; word-wrap: break-word; }
  .card-desc { font-size: 13px; word-wrap: break-word; }
  .card-topics { flex-wrap: wrap; }
  .why-card     { padding: 18px 14px; }
}

/* ================================================================
   RESPONSIVE — Medium Phone ≤550px
   ================================================================ */
@media (max-width: 550px) {
  .hero { padding: 36px 14px 40px; }
  .hero-title { font-size: 26px; }
  .hero-3d-container { display: none; }
}

/* ================================================================
   RESPONSIVE — Large Phone ≤600px
   ================================================================ */
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; gap: 12px; }
  .tools-grid   { grid-template-columns: 1fr; gap: 12px; }
  .why-grid     { grid-template-columns: 1fr; gap: 10px; }
  .courses-section, .tools-section, .why-section { padding: 32px 12px; }
  .hero-title   { font-size: 28px; letter-spacing: -0.8px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }
  .hero-sub     { font-size: 13.5px; }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-secondary { flex: 1 1 calc(50% - 5px); min-width: 140px; padding: 12px 18px; font-size: 13px; }
  .hero-3d-container { display: none; }
  .course-card, .tool-card  { padding: 16px; min-width: 0; }
  .card-icon { width: 40px; height: 40px; font-size: 18px; }
  .card-title   { font-size: 16px; word-break: break-word; }
  .card-desc { font-size: 12.5px; word-break: break-word; }
  .card-topics { gap: 3px; }
  .pill { font-size: 10px; padding: 2px 7px; }
  .card-count { font-size: 10px; }
  .why-card     { padding: 16px 12px; }
  .why-icon { font-size: 24px; }
}

/* ================================================================
   RESPONSIVE — Mobile ≤480px
   ================================================================ */
@media (max-width: 480px) {
  .hero { padding: 32px 12px 36px; }
  .hero-title { font-size: 24px; letter-spacing: -0.5px; }
  .hero-sub   { font-size: 12.5px; }
  .hero-actions { gap: 8px; }
  .btn-primary, .btn-secondary { flex: 1 1 calc(50% - 4px); min-width: 130px; text-align: center; padding: 12px 16px; font-size: 13px; }
  .hero-3d-container { display: none; }
  /* Sections */
  .section-title { font-size: 20px; }
  .section-sub   { font-size: 13px; }
  .courses-section, .tools-section, .why-section { padding: 28px 10px; }
  /* Course & Tool cards */
  .courses-grid, .tools-grid { gap: 10px; }
  .course-card, .tool-card  { padding: 15px; border-radius: 12px; display: flex; flex-direction: column; }
  .card-icon    { width: 38px; height: 38px; font-size: 17px; border-radius: 8px; }
  .card-badge   { font-size: 9px; padding: 2px 7px; }
  .card-title   { font-size: 15px; margin-bottom: 6px; word-break: break-word; }
  .card-desc    { font-size: 12px; margin-bottom: 12px; line-height: 1.5; word-break: break-word; flex-grow: 1; }
  .card-meta    { margin-bottom: 10px; gap: 6px; }
  .card-topics { gap: 3px; flex-wrap: wrap; }
  .pill { font-size: 9.5px; padding: 2px 6px; }
  .card-count { font-size: 10px; }
  .card-cta     { font-size: 11.5px; }
  /* Why cards */
  .why-grid { gap: 9px; }
  .why-card { padding: 15px 12px; border-radius: 11px; }
  .why-icon { font-size: 20px; margin-bottom: 8px; }
  .why-card h4  { font-size: 13px; margin-bottom: 5px; }
  .why-card p   { font-size: 12px; line-height: 1.6; }
}

/* ================================================================
   RESPONSIVE — Small Mobile ≤360px
   ================================================================ */
@media (max-width: 360px) {
  .hero-title { font-size: 20px; }
  .hero { padding: 24px 8px 32px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 1px; padding: 5px 10px; }
  .btn-primary, .btn-secondary { flex: 1 1 calc(50% - 4px); min-width: 120px; padding: 11px 12px; font-size: 12px; }
  .hero-3d-container { display: none; }
}

/* ================================================================
   RESPONSIVE — Extra Small Mobile ≤320px
   ================================================================ */
@media (max-width: 320px) {
  .hero-title { font-size: 18px; }
  .hero { padding: 20px 6px 28px; }
  .hero-eyebrow { font-size: 8px; padding: 4px 8px; }
  .hero-3d-container { display: none; }
  /* Course & Tool cards */
  .courses-grid, .tools-grid { gap: 8px; }
  .course-card, .tool-card  { padding: 12px; border-radius: 11px; }
  .card-top { gap: 8px; margin-bottom: 12px; }
  .card-icon    { width: 34px; height: 34px; font-size: 15px; }
  .card-badge   { font-size: 8px; padding: 2px 6px; }
  .card-title   { font-size: 14px; margin-bottom: 5px; }
  .card-desc    { font-size: 11.5px; margin-bottom: 10px; }
  .card-meta { margin-bottom: 8px; gap: 4px; }
  .pill { font-size: 9px; padding: 2px 5px; }
  .card-count { font-size: 9px; }
  .card-cta     { font-size: 11px; }
  /* Why cards */
  .why-grid { gap: 8px; }
  .why-card     { padding: 13px 10px; border-radius: 10px; }
  .why-icon     { font-size: 19px; margin-bottom: 7px; }
  .why-card h4  { font-size: 12px; margin-bottom: 4px; }
  .why-card p   { font-size: 11px; line-height: 1.5; }
  /* Sections */
  .section-title { font-size: 18px; }
  .section-sub   { font-size: 11.5px; }
  .courses-section, .tools-section, .why-section { padding: 22px 8px; }
}

/* ================================================================
   3D SCROLL ANIMATIONS
   ================================================================ */
.course-card, .tool-card, .why-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.course-card.scroll-in, .tool-card.scroll-in, .why-card.scroll-in {
  animation: scaleInZ 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleInZ {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(15deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}

.section-header {
  animation: slideInUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner {
  animation: fadeInDown 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.courses-section, .tools-section, .why-section {
  perspective: 1200px;
}

.card-glow {
  transition: all 0.6s ease;
}

.course-card:hover, .tool-card:hover {
  transform: translateZ(20px) rotateY(2deg);
}

.why-card:hover {
  transform: translateY(-8px) rotateZ(1deg);
}
