/* ============================================
   VORMIREX – FULLY RESPONSIVE LIGHT MODE CSS
   With Smooth Scroll Animations (2025)
   ============================================ */

:root {
  --primary: #818cf8;
  --primary-dark: #6b73d6;
  --accent: #f59e0b;
  --dark: #1e1e2e;
  --light: #ffffff;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(129, 140, 248, 0.3);
  --radius: 16px;
  --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--light);
  padding: 16px 5%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(12px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.btn-solid {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}
.bar {
  width: 28px;
  height: 3px;
  background: var(--dark);
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* ====================================
   HERO SECTION + ANIMATIONS
   ==================================== */
/* ============================================
   GLOBAL RESET + VARIABLES
   ============================================ */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --dark: #0f172a;
  --light: #ffffff;
  --gray: #64748b;
  --transition: 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  animation: navFade 0.9s ease forwards;
  opacity: 0;
}
@keyframes navFade {
  to {
    opacity: 1;
    transform: none;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* .logo-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid var(--primary);
} */
.logo-text {
  padding-top: 20px;
  font-size: 1.5rem;
  font-weight: 900;
  /* color: var(--primary); */
  color: black;
  letter-spacing: normal;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.35s ease;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link:hover::after {
  width: 100%;
}

/* CTA Button */
.btn-solid {
  padding: 12px 32px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  border-radius: 40px;
  color: white !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  transition: var(--transition);
}
.btn-solid:hover {
  transform: translateY(-6px) scale(1.04);
}

/* ============================================
   HERO SECTION
   ============================================ */
#home {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  background: linear-gradient(180deg, #fff, rgb(242, 244, 255));
  position: relative;
  overflow: hidden;
}

/* Floating blobs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #dadaff, #ffffff00);
  border-radius: 50%;
  animation: float 7s infinite ease-in-out alternate;
  pointer-events: none;
}
.hero::before {
  top: -140px;
  left: -80px;
}
.hero::after {
  bottom: -130px;
  right: -100px;
  animation-delay: 1.8s;
}

@keyframes float {
  to {
    transform: translate(40px, 20px) scale(1.05);
  }
}

/* Heading + text animation */
.homeh1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s 0.25s forwards;
}

.highlight {
  color: var(--primary);
}

.homepageintro {
  font-size: 1.25rem;
  color: var(--gray);
  margin: 26px auto 40px;
  max-width: 740px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.45s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.65s forwards;
}

.hero-btn {
  padding: 16px 42px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.05rem;
}

.hero-btn.primary {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.hero-btn.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* BUTTON HOVER LIFT */
.hero-btn:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal.active {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .homeh1 {
    font-size: 3.3rem;
  }
  .hero::before,
  .hero::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  .homeh1 {
    font-size: 2.6rem;
  }
}

/* =================== Features Grid =================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

/* Base Card Styles */
.grid-3 .card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  transform: translateY(60px);
  opacity: 0;
  animation: fadeUp 0.8s forwards;
}

/* Fade Up Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation delays */
.grid-3 .card:nth-child(1) {
  animation-delay: 0.1s;
}
.grid-3 .card:nth-child(2) {
  animation-delay: 0.2s;
}
.grid-3 .card:nth-child(3) {
  animation-delay: 0.3s;
}
.grid-3 .card:nth-child(4) {
  animation-delay: 0.4s;
}
.grid-3 .card:nth-child(5) {
  animation-delay: 0.5s;
}
.grid-3 .card:nth-child(6) {
  animation-delay: 0.6s;
}
.grid-3 .card:nth-child(7) {
  animation-delay: 0.7s;
}
.grid-3 .card:nth-child(8) {
  animation-delay: 0.8s;
}
.grid-3 .card:nth-child(9) {
  animation-delay: 0.9s;
}

/* Hover Effects */
.grid-3 .card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

/* Card Text Hover */
.grid-3 .card:hover h3,
.grid-3 .card:hover p {
  color: #6366f1; /* primary color */
}

/* Image Styles and Hover Zoom */
.grid-3 .card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
  display: block;
  margin-top: 15px;
}

.grid-3 .card:hover img {
  transform: scale(1.1);
}

/* Optional Color Overlay on Hover */
.grid-3 .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 102, 241, 0); /* transparent initially */
  transition: background 0.5s ease;
  border-radius: 20px;
  z-index: 1;
}

.grid-3 .card:hover::before {
  background: rgba(99, 102, 241, 0.1); /* subtle overlay */
}

/* Icon Box above Text */
.grid-3 .card .icon-box {
  font-size: 2rem;
  color: #6366f1;
  margin-bottom: 15px;
  display: inline-block;
  transition: color 0.4s ease;
}

.grid-3 .card:hover .icon-box {
  color: #f59e0b; /* hover color change */
}

/* Card Text Positioning */
.grid-3 .card h3,
.grid-3 .card p {
  position: relative;
  z-index: 2; /* above overlay */
  transition: color 0.4s ease;
}

/* =================== Responsive =================== */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-3 .card img {
    height: 200px;
  }
}
/* Icon Box above Text */
.grid-3 .card .icon-box {
  font-size: 2rem;
  color: #6366f1;
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.8s ease, color 0.4s ease;
}

/* Rotate 360° on Hover */
.grid-3 .card:hover .icon-box {
  transform: rotate(360deg);
  color: #f59e0b; /* optional hover color */
}

/* ====================================
   ALTERNATING FEATURES (Home)
   ==================================== */
.features-alternating {
  padding: 100px 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-text p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--gray);
}
.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
/* ====================================
   Feature List Icons + Animation
   ==================================== */

/* Container */
.feature-text {
  position: relative;
}

/* List Base */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0 10px 38px;
  position: relative;
  color: var(--gray);
  font-size: 1.08rem;

  opacity: 0;
  transform: translateY(15px);
  animation: listFade 0.6s forwards;
}

/* Stagger Animation */
.feature-list li:nth-child(1) {
  animation-delay: 0.2s;
}
.feature-list li:nth-child(2) {
  animation-delay: 0.35s;
}
.feature-list li:nth-child(3) {
  animation-delay: 0.5s;
}
.feature-list li:nth-child(4) {
  animation-delay: 0.65s;
}

/* Icon Bullet */
.feature-list li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: 0;
  top: 9px;

  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Hover animation */
.feature-list li:hover::before {
  transform: scale(1.15) rotate(15deg);
  background: var(--accent);
}

/* Hover text color */
.feature-list li:hover {
  color: var(--primary);
}

/* Fade-in animation */
@keyframes listFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Import Modern Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

.elevate-section {
  text-align: center;
  padding: 90px 20px;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

/* Title */
.elevate-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #111927;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-transform: capitalize;

  /* modern animation */
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: smoothUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Subtitle */
.elevate-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #6b7280;
  font-weight: 400;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.65;

  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: smoothUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.15s;
}

/* Keyframes */
@keyframes smoothUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Optional Hover Glow */
.elevate-title:hover {
  text-shadow: 0 3px 18px rgba(0, 102, 255, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .elevate-section {
    padding: 65px 15px;
  }

  .elevate-title {
    font-size: 2rem;
  }

  .elevate-subtitle {
    font-size: 1rem;
  }
}

/* ====================================
   ABOUT PAGE – Scroll Animations
   ==================================== */
.about-wrapper {
  padding: 120px 20px;
  background: var(--light);
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.about-split.reverse {
  direction: rtl;
}
.about-split.reverse > * {
  direction: ltr;
}

.about-badge {
  display: inline-block;
  background: rgba(129, 140, 248, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-heading {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}
.about-text {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.8;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1.1rem;
  color: var(--gray);
}
.about-checklist i {
  color: var(--primary);
  font-size: 1.4rem;
}
.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
  padding: 20px 0;
}

/* Base card styles with smoother hover */
.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 0.8s ease-out forwards;
}

.course-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
}

/* Stagger animation delay for each card */
.course-card:nth-child(1) {
  animation-delay: 0.1s;
}
.course-card:nth-child(2) {
  animation-delay: 0.2s;
}
.course-card:nth-child(3) {
  animation-delay: 0.3s;
}
.course-card:nth-child(4) {
  animation-delay: 0.4s;
}
.course-card:nth-child(5) {
  animation-delay: 0.5s;
}
.course-card:nth-child(6) {
  animation-delay: 0.6s;
}
.course-card:nth-child(7) {
  animation-delay: 0.7s;
} /* Premium card */
.course-card:nth-child(8) {
  animation-delay: 0.8s;
}
.course-card:nth-child(9) {
  animation-delay: 0.9s;
}

/* Fade Up Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image Zoom on Hover */
.card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.course-card:hover .card-img {
  transform: scale(1.12);
}

.course-card:hover .card-img::after {
  opacity: 1;
}

/* Enhanced Tag with pulse for premium */
.tag {
  background: rgba(129, 140, 248, 0.18);
  color: #6366f1;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.tag.premium {
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  animation: pulseGlow 2s infinite alternate;
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.4);
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.4);
  }
  to {
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.7);
  }
}

/* Highlight Premium Card – Make it POP */
.highlight-card {
  grid-column: 1 / -1;          
  max-width: 460px;
  margin: 40px auto;
  position: relative;
  z-index: 20;

  /* default look (slightly bigger than others) */
  transform: translateY(0) scale(1.05);
  transition: all 0.45s ease;

  box-shadow:
    0 18px 40px rgba(99, 102, 241, 0.20),
    0 0 15px rgba(251, 146, 60, 0.25);
}
.highlight-card:hover {
  transform: translateY(-45px) scale(1.09);
  box-shadow:
    0 35px 70px rgba(99, 102, 241, 0.35),
    0 0 40px rgba(251, 146, 60, 0.45);
}

@keyframes premiumFloat {
  0%, 100% {
    transform: translateY(-30px) scale(1.08);
  }
  50% {
    transform: translateY(-60px) scale(1.10);  /* Moves clearly UPWARD */
  }
}
.highlight-card::before {
  content: "★ MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 11;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes premiumFloat {
  0%,
  100% {
    transform: translateY(0) scale(1.08);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
}

/* Button Animation */
.link-btn {
  color: #6366f1;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.4s ease;
}

.link-btn:hover {
  color: #4f46e5;
  transform: translateX(8px);
}

.link-btn:hover::after {
  width: 100%;
}

.link-btn i {
  transition: transform 0.3s ease;
}

.link-btn:hover i {
  transform: translateX(6px);
}
@keyframes fadeUpPop {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-card {
  animation: fadeUpPop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ====================================
   CTA & CONTACT
   ==================================== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 120px 20px;
}
.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 30px;
  transition: var(--transition);
}
.cta-btn:hover {
  transform: translateY(-8px) scale(1.1);
}

.highlight-card {
  grid-column: span 1;
  transform: scale(1.08);
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899) border-box;
  animation: premiumFloat 6s ease-in-out infinite;
  z-index: 10;
  position: relative;
}

.highlight-card::before {
  content: "★ MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 11;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes premiumFloat {
  0%,
  100% {
    transform: translateY(0) scale(1.08);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
}

/* Button Animation */
.link-btn {
  color: #6366f1;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.4s ease;
}

.link-btn:hover {
  color: #4f46e5;
  transform: translateX(8px);
}

.link-btn:hover::after {
  width: 100%;
}

.link-btn i {
  transition: transform 0.3s ease;
}

.link-btn:hover i {
  transform: translateX(6px);
}
@keyframes fadeUpPop {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-card {
  animation: fadeUpPop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ====================================
   CTA & CONTACT
   ==================================== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 120px 20px;
}
.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 30px;
  transition: var(--transition);
}
.cta-btn:hover {
  transform: translateY(-8px) scale(1.1);
}

/* Contact */
#contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--light);
}
.contact-wrapper {
  background: white;
  padding: 60px 50px;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}
.contact-info-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}
.info-card {
  padding: 30px;
  border-radius: 16px;
  background: #f8f9ff;
  min-width: 200px;
  transition: var(--transition);
}
.info-card:hover {
  transform: translateY(-10px);
  background: #eef2ff;
}

/* ====================================
   SCROLL ANIMATIONS (AOS-style)
   ==================================== */
.hidden {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.card.hidden:nth-child(1),
.course-card.hidden:nth-child(1) {
  transition-delay: 0.1s;
}
.card.hidden:nth-child(2),
.course-card.hidden:nth-child(2) {
  transition-delay: 0.2s;
}
.card.hidden:nth-child(3),
.course-card.hidden:nth-child(3) {
  transition-delay: 0.3s;
}
.card.hidden:nth-child(4),
.course-card.hidden:nth-child(4) {
  transition-delay: 0.4s;
}
.card.hidden:nth-child(5),
.course-card.hidden:nth-child(5) {
  transition-delay: 0.5s;
}
.card.hidden:nth-child(6),
.course-card.hidden:nth-child(6) {
  transition-delay: 0.6s;
}

/* About blocks */
.about-block {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}
.about-block.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   FLOATING CHAT
   ==================================== */
.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 66px;
  height: 66px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  z-index: 99;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.6);
  }
  50% {
    box-shadow: 0 0 40px rgba(129, 140, 248, 1);
  }
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 992px) {
  .feature-row,
  .about-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .feature-row.reverse,
  .about-split.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .section,
  .features-alternating,
  .about-wrapper {
    padding: 80px 15px;
  }
  .hero-btn {
    width: 100%;
    max-width: 300px;
  }
}
/* ========================================
   SINGLE PAGE APP – ONLY ONE SECTION VISIBLE
   ======================================== */
.page-section {
  display: none; /* Hide all sections by default */
  opacity: 0;
  transition: opacity 0.6s ease;
  min-height: 100vh;
  padding: 40px 0;
}

.page-section.active {
  display: block !important; /* Show only the active one */
  opacity: 1;
}

/* Optional: Add a nice fade-in effect */
.page-section {
  transform: translateY(20px);
}
.page-section.active {
  transform: translateY(0);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icons .icon {
  display: inline-flex;
  transition: transform 0.3s;
}

.social-icons .icon:hover {
  transform: translateY(-2px);
}

.social-icons .icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .home-cards {
    flex-direction: column;
    align-items: center;
  }

  .home-card {
    width: 90%;
    max-width: 360px;
  }

  .home-corner-cards {
    flex-direction: column;
    top: 80%;
    gap: 20px;
    padding: 0;
  }
}
.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}
#contact {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.97)),
    url("https://images.unsplash.com/photo-1516321310764-9f3c9562008e?w=1600")
      center/cover fixed;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(129, 140, 248, 0.15),
    transparent 70%
  );
}

.contact-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  position: relative;
  z-index: 2;
}

.contact-wrapper {
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  padding: 60px 50px;
  border-radius: 24px;
  width: 100%;
  max-width: 560px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 3rem;
  background: linear-gradient(45deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.contact-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-info-grid {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.info-card {
  background: rgba(129, 140, 248, 0.1);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  min-width: 220px;
  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-10px);
  background: rgba(129, 140, 248, 0.2);
  box-shadow: var(--shadow-glow);
}

.info-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card h4 {
  color: #fff;
  margin-bottom: 10px;
}

.info-card a {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.info-card a:hover {
  text-shadow: 0 0 15px var(--primary);
}

.contact-form {
  text-align: left;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(129, 140, 248, 0.5);
}

.close-contact {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}

.close-contact:hover {
  color: #ff6b6b;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .contact-info-grid {
    flex-direction: column;
    align-items: center;
  }
  .form-row {
    flex-direction: column;
  }
  .contact-wrapper {
    padding: 50px 30px;
  }
  .contact-wrapper h2 {
    font-size: 2.5rem;
  }
}

/* Logo container */
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px; /* adjust based on your navbar height */
}

/* Actual logo styling */
.site-logo img {
  height: 65px; /* perfect size for navbar */
  width: auto;
  object-fit: contain;
  display: block;

  /* For dark theme pop effect */
  filter: drop-shadow(0 3px 10px rgba(129, 140, 248, 0.35));

  /* Smooth edges on PNGs */
  border-radius: 6px;

  /* smooth animation */
  transition: 0.25s ease-in-out;
}

/* Hover effect (clean & elegant) */
.site-logo img:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 5px 15px rgba(129, 140, 248, 0.55));
}

/* Footer Wrapper */
.footer {
  width: 100%;
  padding: 30px 40px;
  color: black;
  background: var(--primary);
  border-top: 1px solid #e5e5e5;
  font-family: Arial, sans-serif;
}
.footer-logo img {
  height: 70px; /* adjust size */
  width: auto;
  display: block;
  object-fit: contain;

  /* make black logo visible on dark background */
  filter: brightness(1.8) /* brightens the blacks */
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));

  transition: 0.3s ease;
}

/* Optional hover effect */
.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(2) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Top Section Layout */
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Left Section */
.footer-left {
  max-width: 350px;
}

.footer-logo svg {
  height: 40px;
  width: auto;
}

.footer-description {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
}

/* Right Section */
.footer-right {
  display: flex;
  gap: 60px;
}

.footer-column h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column a {
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Bottom Text */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 25px;
}

.footer-bottom a {
  color: purple;
  text-decoration: none;
}


* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Poppins", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--light);
  padding: 16px 5%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.btn-solid {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
}

.menu-toggle { display: none; cursor: pointer; }
.bar { width: 28px; height: 3px; background: var(--dark); margin: 6px 0; transition: 0.3s; border-radius: 3px; }


@keyframes navFade{
  to{opacity:1; transform:none;}
}

.logo-container{
  display:flex;align-items:center;gap:10px;
}
.logo-img{
  width:65px;height:65px;
  border-radius:50%;
  border:3px solid var(--primary);
}

@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes glow {
  from { text-shadow: 0 0 10px var(--primary); }
  to   { text-shadow: 0 0 30px var(--primary), 0 0 40px var(--primary); }
}
.nav-links{
  display:flex;gap:40px;list-style:none;
}
.nav-link{
  text-decoration:none;
  font-size:1.05rem;
  color:var(--dark);
  font-weight:600;
  position:relative;
  transition:.3s;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;bottom:-6px;
  width:0%;
  height:3px;
  background:var(--primary);
  border-radius:2px;
  transition:.35s ease;
}
.nav-link:hover{color:var(--primary);}
.nav-link:hover::after{width:100%;}

.btn-solid {
  padding:12px 32px;
  background:linear-gradient(45deg,var(--primary),var(--primary-dark));
  border-radius:40px;
  color:white!important;
  box-shadow:0 8px 25px rgba(99,102,241,0.4);
  transition:var(--transition);
}
.btn-solid:hover{transform:translateY(-6px) scale(1.04);
}
#home{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding-top:120px;
  background:linear-gradient(180deg,#fff,rgb(242,244,255));
  position:relative;
  overflow:hidden;
}

.hero::before, .hero::after{
  content:"";
  position:absolute;
  width:480px;height:480px;
  background: radial-gradient(circle,#dadaff,#ffffff00);
  border-radius:50%;
  animation:float 7s infinite ease-in-out alternate;
  pointer-events:none;
}
.hero::before{top:-140px;left:-80px;}
.hero::after{bottom:-130px;right:-100px;animation-delay:1.8s;}

@keyframes float{
  to{transform:translate(40px,20px) scale(1.05);}
}

.homeh1{
  font-size:clamp(3rem,8vw,5rem);
  font-weight:900;
  line-height:1.1;
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp .9s .25s forwards;
}

.highlight{color:var(--primary);}

.homepageintro{
  font-size:1.25rem;
  color:var(--gray);
  margin:26px auto 40px;
  max-width:740px;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp .9s .45s forwards;
}

@keyframes fadeUp{
  to{opacity:1; transform:none;}
}

.btn-group{
  display:flex;
  gap:18px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:28px;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp .9s .65s forwards;
}

.hero-btn{
  padding:16px 42px;
  font-weight:700;
  border-radius:50px;
  text-decoration:none;
  transition:var(--transition);
  font-size:1.05rem;
}

.hero-btn.primary{
  background:linear-gradient(45deg,var(--primary),var(--primary-dark));
  color:white;
  box-shadow:0 0 20px rgba(99,102,241,0.4);
}
.hero-btn.secondary{
  border:2px solid var(--primary);
  color:var(--primary);
}

.hero-btn:hover{
  transform:translateY(-8px) scale(1.06);
  box-shadow:0 20px 40px rgba(99,102,241,0.25);
}

.reveal{
  opacity:0;
  transform:translateY(80px);
  transition:1.1s cubic-bezier(.175,.885,.32,1.275);
}
.reveal.active{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .homeh1{font-size:3.3rem;}
  .hero::before,.hero::after{display:none;}
}
@media(max-width:480px){
  .nav-links{display:none;}
  .homeh1{font-size:2.6rem;}
}
/* ==== Grid ==== */
/* ==== Section & Container ==== */
.page-section {
  padding: 80px 0;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-section.active {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1e293b;
}

/* ==== Grid ==== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* ==== Card ==== */
.grid-3 .card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
}

/* Staggered fade-up animation when section becomes active */
.page-section.active .grid-3 .card:nth-child(1) { animation: fadeUp 0.8s 0.1s forwards; }
.page-section.active .grid-3 .card:nth-child(2) { animation: fadeUp 0.8s 0.2s forwards; }
.page-section.active .grid-3 .card:nth-child(3) { animation: fadeUp 0.8s 0.3s forwards; }
.page-section.active .grid-3 .card:nth-child(4) { animation: fadeUp 0.8s 0.4s forwards; }
.page-section.active .grid-3 .card:nth-child(5) { animation: fadeUp 0.8s 0.5s forwards; }
.page-section.active .grid-3 .card:nth-child(6) { animation: fadeUp 0.8s 0.6s forwards; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Content Padding (this is the key improvement) */
.grid-3 .card > * {
  padding: 0 30px;
}

.grid-3 .card .icon-box {
  font-size: 3rem;
  color: #6366f1;
  margin: 30px auto 20px;
  display: flex;
  justify-content: center;
  transition: transform 0.8s ease, color 0.4s ease;
}

.grid-3 .card h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.grid-3 .card p {
  text-align: center;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Image */
.grid-3 .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Hover Effects */
.grid-3 .card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
}

.grid-3 .card:hover .icon-box {
  transform: rotate(360deg) scale(1.2);
  color: #f59e0b;
}

.grid-3 .card:hover h3,
.grid-3 .card:hover p {
  color: #6366f1;
}

.grid-3 .card:hover img {
  transform: scale(1.08);
}

/* Overlay on hover (optional subtle tint) */
.grid-3 .card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0);
  transition: background 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}
.grid-3 .card:hover::before {
  background: rgba(99, 102, 241, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-3 {
    gap: 30px;
  }
  .grid-3 .card > * {
    padding: 0 24px;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-3 .card img {
    height: 200px;
  }
}.features-alternating { padding: 100px 0; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  }


/* Left Section */
.footer-left {
  max-width: 350px;
}

.footer-logo svg {
  height: 40px;
  width: auto;
}

.footer-description {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
}

/* Right Section */
.footer-right {
  display: flex;
  gap: 60px;
}

.footer-column h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column a {
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Bottom Text */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 25px;
}

.footer-bottom a {
  color: purple;
  text-decoration: none;

}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-text p { font-size: 1.15rem; color: var(--gray); margin-bottom: 24px; }
.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--gray);
}
.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0 10px 38px;
  position: relative;
  color: var(--gray);
  font-size: 1.08rem;

  opacity: 0;
  transform: translateY(15px);
  animation: listFade 0.6s forwards;
}

.feature-list li:nth-child(1) { animation-delay: 0.2s; }
.feature-list li:nth-child(2) { animation-delay: 0.35s; }
.feature-list li:nth-child(3) { animation-delay: 0.5s; }
.feature-list li:nth-child(4) { animation-delay: 0.65s; }

.feature-list li::before {
  content: "\f00c";                    
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: 0;
  top: 9px;

  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(99,102,241,0.3);
}

.feature-list li:hover::before {
  transform: scale(1.15) rotate(15deg);
  background: var(--accent);
}

.feature-list li:hover {
  color: var(--primary);
}

@keyframes listFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.elevate-section {
  text-align: center;
  padding: 90px 20px;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1e293b;
}

.elevate-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #111927;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-transform: capitalize;

  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: smoothUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.elevate-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #6b7280;
  font-weight: 400;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.65;

  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: smoothUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.15s;
}

@keyframes smoothUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.elevate-title:hover {
  text-shadow: 0 3px 18px rgba(0, 102, 255, 0.3);
}

@media (max-width: 600px) {
  .elevate-section {
    padding: 65px 15px;
  }

  .elevate-title {
    font-size: 2rem;
  }

  .elevate-subtitle {
    font-size: 1rem;
  }
}

.about-wrapper { padding: 120px 20px; background: var(--light); }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }

.about-badge {
  display: inline-block;
  background: rgba(129,140,248,0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-heading {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}
.about-text { font-size: 1.15rem; color: var(--gray); margin-bottom: 30px; line-height: 1.8; }
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1.1rem;
  color: var(--gray);
}
.about-checklist i { color: var(--primary); font-size: 1.4rem; }
.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
/* COURSE CARDS – SMALLER HEIGHT + BUTTON STICKS TO TEXT */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.5s ease;
  max-height: 540px;               /* Card height reduced */
}

/* Fixed image height */
.card-img {
  height: 210px;                   /* Image size reduced */
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

/* Body takes remaining space */
.card-body {
  flex: 1;
  padding: 26px 24px 30px;         /* Slightly less padding */
  display: flex;
  flex-direction: column;
}

/* Text part – normal spacing */
.card-body .tag {
  margin-bottom: 12px;
}
.card-body h3 {
  margin: 0 0 10px 0;
  font-size: 1.38rem;
}
.card-body p {
  margin: 0 0 18px 0;              /* Only bottom margin – no extra gap */
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

/* View Course button – sticks right below text */
.card-body .link-btn {
  margin-top: 18px !important;     /* Fixed small gap – no auto, no extra space */
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid #eef2ff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6366f1;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.card-body .link-btn:hover {
  color: #4f46e5;
  transform: translateX(8px);
}

.card-body .link-btn i {
  transition: transform 0.3s ease;
  font-size: 1.1em;
}

.card-body .link-btn:hover i {
  transform: translateX(8px);
}


/* Premium card button – golden & bold */
.highlight-card .link-btn {
  color: #f59e0b;
  font-weight: 700;
  font-size: 1.1rem;
}

.highlight-card .link-btn:hover {
  color: #ea580c;
}.course-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }
.course-card:nth-child(7) { animation-delay: 0.7s; }
.course-card:nth-child(8) { animation-delay: 0.8s; }
.course-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Make Card #7 (Premium/Highlight Card) taller and more spacious */
.highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 3px;
  background: linear-gradient(45deg, #818cf8, #c084fc, #f59e0b);
  border-radius: 26px;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  pointer-events: none;
  z-index: -1;
}
.card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.course-card:hover .card-img {
  transform: scale(1.12);
}

.course-card:hover .card-img::after {
  opacity: 1;
}

.tag {
  background: rgba(129,140,248,0.18);
  color: #6366f1;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s ease;
}
#courses .section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 70px;
  color: #1e293b;
  font-weight: 800;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  grid-auto-rows: 1fr; /* This makes all cards same height */
  align-items: stretch;
}

/* Course Card Base */
.course-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
}

.page-section.active .course-card {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animation */
.page-section.active .course-card:nth-child(1) { transition-delay: 0.1s; }
.page-section.active .course-card:nth-child(2) { transition-delay: 0.2s; }
.page-section.active .course-card:nth-child(3) { transition-delay: 0.3s; }
.page-section.active .course-card:nth-child(4) { transition-delay: 0.4s; }
.page-section.active .course-card:nth-child(5) { transition-delay: 0.5s; }
.page-section.active .course-card:nth-child(6) { transition-delay: 0.6s; }
.page-section.active .course-card:nth-child(7) { transition-delay: 0.7s; }
.page-section.active .course-card:nth-child(8) { transition-delay: 0.8s; }
.page-section.active .course-card:nth-child(9) { transition-delay: 0.9s; }

/* Image */
.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Card Body - Proper Padding! */
.card-body {
  padding: 28px 24px 32px;
  text-align: left;
}

.card-body .tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.card-body h3 {
  font-size: 1.4rem;
  margin: 12px 0 10px;
  color: #1e293b;
  line-height: 1.3;
}

.card-body p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Link Button */
.link-btn {
  color: #6366f1;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.link-btn:hover {
  color: #4f46e5;
  transform: translateX(6px);
}

.link-btn i {
  transition: transform 0.3s ease;
}

.link-btn:hover i {
  transform: translateX(6px);
}

/* Hover Effects */
.course-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.22);
}

.course-card:hover .card-img {
  transform: scale(1.1);
}

.course-card:hover .card-img::after {
  opacity: 1;
}

.course-card:hover h3 {
  color: #6366f1;
}

/* Highlighted Premium Card */
.highlight-card {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 30px auto;
  transform: scale(1.05);
  position: relative;
  z-index: 10;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(45deg, #6366f1, #8b5cf6) border-box;
  animation: float 6s ease-in-out infinite;
}

.highlight-card::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.4);
}

.highlight-card .tag.premium {
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  animation: pulse 2s infinite alternate;
}

.highlight-card .link-btn {
  color: #f59e0b;
  font-weight: 700;
}

.highlight-card .link-btn:hover {
  color: #ea580c;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.05); }
  50% { transform: translateY(-12px) scale(1.06); }
}

@keyframes pulse {
  from { box-shadow: 0 0 15px rgba(251, 146, 60, 0.4); }
  to { box-shadow: 0 0 25px rgba(251, 146, 60, 0.7); }
}

/* Responsive */
@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
  }
  .highlight-card {
    grid-column: 1 / -1;
    max-width: 380px;
  }
}

@media (max-width: 480px) {
  .card-body {
    padding: 24px 20px;
  }
  #courses .section-title {
    font-size: 2.3rem;
  }
}

.tag.premium {
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  animation: pulseGlow 2s infinite alternate;
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.4);
}

@keyframes pulseGlow {
  from { box-shadow: 0 0 20px rgba(251, 146, 60, 0.4); }
  to { box-shadow: 0 0 30px rgba(251, 146, 60, 0.7); }
}

.highlight-card {
  grid-column: span 1;
  transform: scale(1.08);
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899) border-box;
  animation: premiumFloat 6s ease-in-out infinite;
  z-index: 10;
  position: relative;
}
/* Premium card – higher hover priority */
.highlight-card {
  transform: translateY(0) scale(1.05);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Force premium card to hover higher */
.highlight-card:hover {
  transform: translateY(-60px) scale(1.10) !important;
  box-shadow:
    0 40px 90px rgba(99,102,241,0.40),
    0 0 50px rgba(251,146,60,0.50);
}

.highlight-card::before {
  content: '★ MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #f59e0b, #ea580c);
  color: white;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 11;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@keyframes premiumFloat {
  0%, 100% { transform: translateY(0) scale(1.08); }
  50% { transform: translateY(-15px) scale(1.10); }
}

.link-btn {
  color: #6366f1;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.4s ease;
}

.link-btn:hover {
  color: #4f46e5;
  transform: translateX(8px);
}

.link-btn:hover::after {
  width: 100%;
}

.link-btn i {
  transition: transform 0.3s ease;
}

.link-btn:hover i {
  transform: translateX(6px);
}
@keyframes fadeUpPop {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-card {
  animation: fadeUpPop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 120px 20px;
}
.cta h2 { font-size: 2.8rem; margin-bottom: 20px; }
.cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 30px;
  transition: var(--transition);
}
.cta-btn:hover { transform: translateY(-8px) scale(1.1); }

#contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--light);
}
.contact-wrapper {
  background: white;
  padding: 60px 50px;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}
.contact-info-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}
.info-card {
  padding: 30px;
  border-radius: 16px;
  background: #f8f9ff;
  min-width: 200px;
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-10px); background: #eef2ff; }

.hidden {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.show {
  opacity: 1;
  transform: translateY(0);
}

.card.hidden:nth-child(1), .course-card.hidden:nth-child(1) { transition-delay: 0.1s; }
.card.hidden:nth-child(2), .course-card.hidden:nth-child(2) { transition-delay: 0.2s; }
.card.hidden:nth-child(3), .course-card.hidden:nth-child(3) { transition-delay: 0.3s; }
.card.hidden:nth-child(4), .course-card.hidden:nth-child(4) { transition-delay: 0.4s; }
.card.hidden:nth-child(5), .course-card.hidden:nth-child(5) { transition-delay: 0.5s; }
.card.hidden:nth-child(6), .course-card.hidden:nth-child(6) { transition-delay: 0.6s; }

.about-block { opacity: 0; transform: translateY(80px); transition: all 1s ease; }
.about-block.visible { opacity: 1; transform: translateY(0); }

.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 66px;
  height: 66px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  z-index: 99;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(129,140,248,0.6); }
  50% { box-shadow: 0 0 40px rgba(129,140,248,1); }
}

@media (max-width: 992px) {
  .feature-row, .about-split { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .feature-row.reverse, .about-split.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  .nav-links.active { right: 0; }
  .menu-toggle { display: block; z-index: 1001; }
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .section, .features-alternating, .about-wrapper { padding: 80px 15px; }
  .hero-btn { width: 100%; max-width: 300px; }
}
.page-section {
  padding: 80px 0;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-section.active {
  opacity: 1;
  transform: translateY(0);
    display: block !important;   

}

.page-section {
  transform: translateY(20px);
}
.page-section.active {
  transform: translateY(0);
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #5524b7, #380b60);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer-logo svg {
  max-width: 200px;
}

.footer-text {
  margin-top: 16px;
  font-size: 14px;
}

.footer-text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-text a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icons .icon {
  display: inline-flex;
  transition: transform 0.3s;
}

.social-icons .icon:hover {
  transform: translateY(-2px);
}

.social-icons .icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 768px) {
  .home-cards {
    flex-direction: column;
    align-items: center;
  }

  .home-card {
    width: 90%;
    max-width: 360px;
  }

  .home-corner-cards {
    flex-direction: column;
    top: 80%;
    gap: 20px;
    padding: 0;
  }
}
.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}
#contact {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.97)),
    url("https://images.unsplash.com/photo-1516321310764-9f3c9562008e?w=1600")
      center/cover fixed;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(129, 140, 248, 0.15),
    transparent 70%
  );
}

.contact-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  position: relative;
  z-index: 2;
}

.contact-wrapper {
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  padding: 60px 50px;
  border-radius: 24px;
  width: 100%;
  max-width: 560px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 3rem;
  background: linear-gradient(45deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.contact-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-info-grid {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.info-card {
  background: rgba(129, 140, 248, 0.1);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  min-width: 220px;
  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-10px);
  background: rgba(129, 140, 248, 0.2);
  box-shadow: var(--shadow-glow);
}

.info-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card h4 {
  color: #fff;
  margin-bottom: 10px;
}

.info-card a {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.info-card a:hover {
  text-shadow: 0 0 15px var(--primary);
}

.contact-form {
  text-align: left;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(129, 140, 248, 0.5);
}

.close-contact {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}

.close-contact:hover {
  color: #ff6b6b;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .contact-info-grid {
    flex-direction: column;
    align-items: center;
  }
  .form-row {
    flex-direction: column;
  }
  .contact-wrapper {
    padding: 50px 30px;
  }
  .contact-wrapper h2 {
    font-size: 2.5rem;
  }
}
/* Only 2nd Card – "View Course" button moves up a little (exactly like your screenshot) */
.courses-grid .course-card:nth-child(2) .card-body {
    padding-bottom: 48px;          /* Creates space at the bottom */
    position: relative;
}

.courses-grid .course-card:nth-child(2) .link-btn {
    position: absolute;
    bottom: 28px;                 
    left: 24px;
    right: 24px;
    margin-top: 0 !important;
    padding: 12px 0;
    border-top: 1px solid #eef2ff;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
    transition: all 0.35s ease;
}

.courses-grid .course-card:nth-child(2) .link-btn:hover {
    color: #4f46e5;
    transform: translateX(12px);
}

.courses-grid .course-card:nth-child(2) .link-btn i {
    transition: transform 0.35s ease;
}

.courses-grid .course-card:nth-child(2) .link-btn:hover i {
    transform: translateX(10px);
}
/* ====================================
   ENHANCED 3x3 FEATURES GRID RESPONSIVE
   ==================================== */

/* Desktop - 3x3 grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tablet - 2x3 grid (2 columns, 3 rows) */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 15px;
  }
}

/* Mobile - 1x6 grid (single column) */
@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px 15px;
  }
  
  .grid-3 .card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Small mobile optimization */
@media (max-width: 480px) {
  .grid-3 {
    gap: 18px;
    padding: 5px 10px;
  }
  
  .grid-3 .card > * {
    padding: 0 20px;
  }
  
  .grid-3 .card img {
    height: 160px;
  }
}

/* Large screens - maintain 3x3 with more spacing */
@media (min-width: 1400px) {
  .grid-3 {
    max-width: 1400px;
    gap: 40px;
  }
}
/* ======================================================
   👇 NAVBAR VISIBILITY FIX — Responsive & Consistent
   Keeps nav links visible on laptops and smaller tablets
   while enabling hamburger only on true mobiles.
   ====================================================== */

/* Base (Desktop & Laptop) */
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

/* Make sure links are always visible until mobile breakpoint */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    box-shadow: none;
    transition: none;
  }

  /* Hide burger icon on wider screens */
  .menu-toggle {
    display: none !important;
  }
}

/* Mobile (≤768px) - activate hamburger menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.45s ease;
  }

  .nav-links.active {
    right: 0;
  }
}
/* ============================================
   NAVBAR (Smart Responsiveness + Smooth CSS)
   ============================================ */

/* Desktop (default) – Keep your existing navbar styles */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--light);
  padding: 16px 5%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

/* Laptop (minimized windows) – Still show icons, but tighter spacing */
@media (max-width: 900px) and (min-width: 769px) {
  .nav-links {
    gap: 20px; /* Reduce gap between links */
  }

  .nav-link {
    font-size: 1rem; /* Slightly smaller font */
  }

  .logo-text {
    font-size: 1.3rem; /* Adjust logo text size */
  }

  .site-logo img {
    width: 55px;
    height: 55px;
  }
}

/* Tablet & Mobile – Hamburger menu appears, desktop nav hides */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  /* Show hamburger menu on mobile only */
  .menu-toggle {
    display: flex !important; /* Override display: none */
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }

  /* Hamburger bars (style & animation) */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Mobile nav items (staggered animation) */
  .nav-links li {
    opacity: 0;
    transform: translateX(50px);
    margin: 15px 0;
    transition: opacity 0.3s, transform 0.4s;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

  /* Mobile logo & CTA button adjustments */
  .site-logo img {
    width: 50px !important;
    height: 50px !important;
  }

  .logo-text {
    font-size: 1.2rem !important;
    padding-top: 15px;
  }

  .btn-solid {
    width: 100% !important;
    max-width: 260px;
    text-align: center;
    padding: 12px 30px !important;
    margin-top: 20px !important;
  }
}