/* ===== FONT AWESOME FONT-DISPLAY OVERRIDE ===== */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900; font-style: normal;
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400; font-style: normal;
}

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

:root {
  --primary: #6c63ff;
  --primary-dark: #4c46c8;
  --primary-light: #a29bfe;
  --accent: #00cec9;
  --accent2: #fd79a8;
  --dark: #0f0e1a;
  --dark2: #1a1830;
  --dark3: #242240;
  --card-bg: #1e1c35;
  --card-hover: #252342;
  --text: #e2e0f0;
  --text-muted: #9896b8;
  --border: rgba(108,99,255,0.2);
  --gradient: linear-gradient(135deg, #6c63ff 0%, #00cec9 100%);
  --gradient2: linear-gradient(135deg, #fd79a8 0%, #6c63ff 100%);
  --shadow: 0 8px 32px rgba(108,99,255,0.15);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TOPBAR ===== */
.topbar {
  background: #0a0918;
  border-bottom: 1px solid rgba(108,99,255,0.2);
  padding: 0.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.topbar-left { display: flex; gap: 1.5rem; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 0.4rem; }
.topbar-left i { color: var(--accent); font-size: 0.72rem; }
.topbar-right { display: flex; align-items: center; }
.msme-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(0,150,145,0.2);
  border: 1px solid rgba(0,206,201,0.3);
  color: #a0f0ed;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 30px; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 70px;
  background: rgba(15,14,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-size: 1.35rem; color: #fff;
  text-decoration: none; cursor: pointer;
}
.nav-brand i { color: var(--primary); font-size: 1.5rem; }
.nav-brand b { color: var(--primary); }

.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  list-style: none;
}
.nav-link {
  padding: 6px 12px; border-radius: 8px;
  color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff; background: rgba(108,99,255,0.15);
}
.btn-admin {
  padding: 7px 16px; border-radius: 8px;
  background: var(--gradient); color: #fff;
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-admin:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.hamburger {
  display: none; background: none; border: none; color: #fff;
  font-size: 1.4rem; cursor: pointer; padding: 6px;
}

/* ===== HERO ===== */
.hero {
  min-height: auto; display: flex; align-items: center;
  padding: 130px max(2rem, calc((100% - 1200px) / 2)) 60px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,206,201,0.1) 0%, transparent 50%),
              var(--dark);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: var(--gradient); opacity: 0.06; filter: blur(60px);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.shape-3 { width: 300px; height: 300px; top: 40%; left: 40%; opacity: 0.04; }

.hero-content { max-width: 650px; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(108,99,255,0.15); border: 1px solid var(--border);
  color: var(--primary-light); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: #ffd700; }

.hero h1 {
  font-family: 'Poppins', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; color: #fff;
}
.hero h1 span { color: #00cec9; }

.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 540px; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px;
  background: var(--gradient); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(108,99,255,0.4); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px;
  border: 1.5px solid var(--border); color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(108,99,255,0.08); }

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.stat span {
  display: block; font-family: 'Poppins', sans-serif; font-size: 1.8rem;
  font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.hero-visual {
  position: absolute;
  right: max(2rem, calc((100% - 1200px) / 2));
  top: 50%; transform: translateY(-50%);
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}
.hero-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0;
  text-align: center; box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
  overflow: hidden; width: 320px;
}
.hero-card-img {
  width: 100%; height: 213px; object-fit: cover; object-position: center; display: block;
  aspect-ratio: 800 / 533;
}
.hero-card p {
  padding: 0.75rem 1rem; font-weight: 700; font-size: 0.9rem;
  color: #fff; letter-spacing: 1.5px;
  border-top: 1px solid var(--border);
  background: rgba(108,99,255,0.08);
}

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

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.alt-bg { background: var(--dark2); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(108,99,255,0.2); border: 1px solid var(--border);
  color: #d4d1ff; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff; margin-bottom: 0.8rem;
}
.section-header h2 span { color: #fff; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
#coursesGrid {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: var(--transition); cursor: default;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(108,99,255,0.4); }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(108,99,255,0.15); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem;
}
.card-icon.accent { background: rgba(0,206,201,0.12); color: var(--accent); }
.card-icon.accent2 { background: rgba(253,121,168,0.12); color: var(--accent2); }
.card-icon.gold { background: rgba(255,215,0,0.1); color: #ffd700; }
.card-icon i { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.card-icon.accent i { -webkit-text-fill-color: var(--accent); }
.card-icon.accent2 i { -webkit-text-fill-color: var(--accent2); }
.card-icon.gold i { -webkit-text-fill-color: #ffd700; }

.card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.card-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  margin-top: 1rem;
}
.tag-green { background: rgba(0,180,90,0.2); color: #a7ffcb; }
.tag-blue { background: rgba(108,99,255,0.2); color: #d4d1ff; }
.tag-orange { background: rgba(200,120,0,0.2); color: #ffd699; }
.tag-pink { background: rgba(200,80,120,0.2); color: #ffc2d8; }

/* ===== PLACEMENT ===== */
.placement-companies {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-bottom: 3rem;
}
.company-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  background: var(--card-bg); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition);
}
.company-pill:hover { border-color: var(--primary); color: var(--primary-light); }
.company-pill i { color: var(--accent); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--border);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  position: relative; transition: var(--transition); cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.8rem; padding: 1.5rem; text-align: center;
}
.gallery-placeholder i {
  font-size: 3rem; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gallery-placeholder span { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(108,99,255,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay { flex-direction: column; gap: 0.3rem; }
.gallery-overlay i { color: #fff; font-size: 2rem; }

/* ===== GALLERY LIGHTBOX ===== */
.gl-box {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.8rem;
  max-width: 92vw;
}
.gl-img {
  max-width: 88vw; max-height: 78vh;
  border-radius: 12px; object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  display: block;
}
.gl-nav {
  position: absolute; top: 40%;
  transform: translateY(-50%);
  background: rgba(108,99,255,0.85);
  border: none; border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  cursor: pointer; transition: background 0.2s;
  z-index: 10;
}
.gl-nav:hover { background: var(--primary); }
.gl-prev { left: -23px; }
.gl-next { right: -23px; }
.gl-footer { text-align: center; }
.gl-footer p { color: #fff; font-weight: 600; font-size: 1rem; margin: 0; }
.gl-footer span { color: rgba(255,255,255,0.55); font-size: 0.82rem; }

/* ===== AI AVATAR ===== */
.ai-feature-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center;
}
.ai-visual { display: flex; justify-content: center; }
.ai-orb {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-size: 5rem; color: #fff;
  position: relative; animation: pulse-orb 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(108,99,255,0.4);
}
.ai-rings { position: absolute; inset: 0; }
.ai-rings span {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(108,99,255,0.3);
  animation: ring-expand 3s ease-out infinite;
}
.ai-rings span:nth-child(1) { inset: -20px; animation-delay: 0s; }
.ai-rings span:nth-child(2) { inset: -40px; animation-delay: 1s; }
.ai-rings span:nth-child(3) { inset: -60px; animation-delay: 2s; }
@keyframes ring-expand {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.05); }
}
@keyframes pulse-orb {
  0%, 100% { box-shadow: 0 0 60px rgba(108,99,255,0.4); }
  50% { box-shadow: 0 0 100px rgba(108,99,255,0.6); }
}

.ai-features-list { display: flex; flex-direction: column; gap: 1.2rem; }
.ai-feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--border);
  transition: var(--transition);
}
.ai-feature-item:hover { border-color: rgba(108,99,255,0.4); transform: translateX(6px); }
.ai-feature-item .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(108,99,255,0.15); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--primary-light);
}
.ai-feature-item h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.2rem; }
.ai-feature-item p { color: var(--text-muted); font-size: 0.84rem; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-stars { color: #ffd700; margin-bottom: 1rem; font-size: 0.95rem; }
.review-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.reviewer-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.reviewer-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
}
.contact-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(108,99,255,0.15); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; color: var(--primary-light); flex-shrink: 0;
}
.contact-card h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-card p { color: var(--text-muted); font-size: 0.84rem; }

.contact-form {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.form-group label i { color: var(--primary-light); font-size: 0.8rem; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: var(--text); font-size: 0.9rem; font-family: inherit;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 4rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand > div, .footer-brand span {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-size: 1.2rem; color: #fff;
}
.footer-brand i { color: var(--primary); font-size: 1.4rem; }
.footer-brand b { color: var(--primary); }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.5rem; }
.footer-links h4, .footer-social h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.social-icons { display: flex; gap: 0.8rem; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--card-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem; transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--card-bg); border: 1px solid var(--border);
  color: var(--text); padding: 12px 20px; border-radius: 10px;
  font-size: 0.9rem; box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0; transition: var(--transition);
  display: flex; align-items: center; gap: 10px; min-width: 250px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: #00e676; }
.toast.error { border-color: var(--accent2); }
.toast i.success-icon { color: #00e676; }
.toast i.error-icon { color: var(--accent2); }

/* ===== BLOGS ===== */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(108,99,255,0.4); }
.blog-card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.blog-date { font-size: 0.76rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.4; }
.blog-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.blog-author { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.blog-read-more {
  font-size: 0.82rem; font-weight: 600; color: var(--primary-light);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.blog-read-more:hover { color: #fff; gap: 8px; }
.blog-read-more.muted { color: var(--text-muted); cursor: default; }

/* ===== MY PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  position: relative; overflow: hidden;
  transition: var(--transition); cursor: default;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--pc, var(--primary));
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.project-glow {
  position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--pc, var(--primary)); opacity: 0.08;
  filter: blur(30px); pointer-events: none;
  transition: var(--transition);
}
.project-card:hover .project-glow { opacity: 0.18; }
.project-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.project-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--pc, #6c63ff) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--pc, var(--primary));
}
.project-tech {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px; font-size: 0.73rem; font-weight: 600;
  background: color-mix(in srgb, var(--pc, #6c63ff) 12%, transparent);
  color: var(--pc, var(--primary-light));
  border: 1px solid color-mix(in srgb, var(--pc, #6c63ff) 25%, transparent);
}
.project-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.4rem; }
.project-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 10px; font-size: 0.84rem; font-weight: 600;
  background: color-mix(in srgb, var(--pc, #6c63ff) 18%, transparent);
  color: var(--pc, var(--primary-light));
  border: 1px solid color-mix(in srgb, var(--pc, #6c63ff) 30%, transparent);
  text-decoration: none; transition: var(--transition);
}
.project-btn:hover:not(.disabled) {
  background: var(--pc, var(--primary)); color: #fff;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--pc, #6c63ff) 35%, transparent);
}
.project-btn.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ===== EMPTY STATE ===== */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 3rem;
  color: var(--text-muted); font-size: 0.95rem;
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  /* Show card on tablet — side by side with text */
  .hero-visual {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%; transform: translateY(-50%);
  }
  .hero-visual .hero-card { width: 200px; }
  .hero-visual .hero-card-img { height: 133px; }
  .hero-content { max-width: calc(100% - 230px); }
  .hero h1 { font-size: clamp(1.3rem, 3.5vw, 2rem); }
  .hero p { font-size: 0.9rem; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { padding: 10px 18px; font-size: 0.85rem; }

  .ai-feature-wrap { grid-template-columns: 1fr; }
  .ai-visual { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  #coursesGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Stack card below text on phones */
  .hero-visual {
    position: static;
    display: block;
    transform: none;
    animation: none;
    margin: 1.5rem auto 0;
  }
  .hero-visual .hero-card { width: 100%; max-width: 300px; margin: 0 auto; }
  .hero-visual .hero-card-img { height: 200px; }
  .hero-content { max-width: 100%; }
  .hero { flex-direction: column; align-items: flex-start; padding-bottom: 0; }
  .hero-visual { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 100px; left: 0; right: 0;
    background: var(--dark2); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 1rem; gap: 0.2rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: var(--transition); max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { width: 100%; padding: 10px 14px; }
  .btn-admin { width: 100%; text-align: center; justify-content: center; display: flex; margin-top: 0.5rem; }
  .hero { padding: 120px 1.5rem 0; }
  .hero-stats { gap: 0.6rem; flex-wrap: nowrap; }
  .stat { flex: 1; min-width: 0; }
  .stat span { font-size: 1.2rem; }
  .stat p { font-size: 0.68rem; line-height: 1.3; word-break: break-word; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.stagger > * { opacity: 0; animation: fadeIn 0.5s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ===== MOBILE RESPONSIVENESS FIXES ===== */
@media (max-width: 768px) {
  .topbar { padding: 0.4rem 1rem; justify-content: flex-start; }
  .topbar-left { gap: 1rem; }
  .topbar-right { display: none; }
  .navbar { top: 30px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 0.8rem; }
  .stat span { font-size: 1.4rem; }
  .cards-grid { grid-template-columns: 1fr; }
  #coursesGrid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
  .container { padding: 0 1rem; }
  .contact-form { padding: 1.2rem; }
  .login-portal-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .portal-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.6rem; }
  .ai-feature-wrap { gap: 2rem; }
  .ai-orb { width: 160px; height: 160px; font-size: 3.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .login-portal-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .portal-cards { grid-template-columns: 1fr 1fr; }
  .ejs-vars-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 1.5rem 40px; }
  .hero-stats { gap: 1rem; }
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wa-bubble {
  background: #fff; color: #1a1a1a; font-size: 0.82rem; font-weight: 500;
  padding: 0.65rem 1rem; border-radius: 14px 14px 0 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); max-width: 220px; line-height: 1.5;
  position: relative; opacity: 0; transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.wa-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-bubble::after {
  content: ''; position: absolute; bottom: -8px; right: 14px;
  border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; border-right: 0;
}
.wa-bubble-close {
  position: absolute; top: -8px; right: -8px; width: 20px; height: 20px;
  background: #ccc; border-radius: 50%; border: none; cursor: pointer;
  font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
  color: #333; line-height: 1;
}
.wa-bubble-close:hover { background: #aaa; }
.wa-btn {
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-btn i { color: #fff; font-size: 1.8rem; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}
@media (max-width: 480px) {
  .wa-float { bottom: 18px; right: 16px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn i { font-size: 1.6rem; }
}

/* ===== ENQUIRY POPUP ===== */
.eq-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.eq-overlay.open { opacity: 1; visibility: visible; }
.eq-box {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 20px; width: 100%; max-width: 440px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.eq-overlay.open .eq-box { transform: translateY(0) scale(1); }
.eq-banner {
  background: var(--gradient); padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 0.8rem; position: relative;
}
.eq-banner-icon { font-size: 2rem; }
.eq-banner-text h3 { color: #fff; font-size: 1.05rem; font-weight: 800; margin-bottom: 0.15rem; }
.eq-banner-text p { color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.eq-close {
  position: absolute; top: 0.7rem; right: 0.8rem;
  background: rgba(255,255,255,0.2); border: none; border-radius: 50%;
  width: 28px; height: 28px; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: background 0.2s;
}
.eq-close:hover { background: rgba(255,255,255,0.35); }
.eq-body { padding: 1.5rem; }
.eq-body .form-group { margin-bottom: 1rem; }
.eq-body .form-group label { display: block; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.4rem; }
.eq-body .form-group input,
.eq-body .form-group select {
  width: 100%; background: var(--dark3); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem 1rem; color: var(--text);
  font-size: 0.88rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.eq-body .form-group input:focus,
.eq-body .form-group select:focus { border-color: var(--primary); }
.eq-body .form-group select option { background: var(--dark3); }
.eq-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
.eq-submit {
  width: 100%; padding: 0.85rem; border: none; border-radius: 12px;
  background: var(--gradient); color: #fff; font-size: 0.92rem;
  font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.eq-submit:hover { opacity: 0.9; }
.eq-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.eq-whatsapp {
  width: 100%; padding: 0.8rem; border: 2px solid #25D366; border-radius: 12px;
  background: transparent; color: #25D366; font-size: 0.88rem;
  font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none;
}
.eq-whatsapp:hover { background: #25D366; color: #fff; }
.eq-skip { text-align: center; margin-top: 0.8rem; }
.eq-skip button { background: none; border: none; color: var(--text-muted); font-size: 0.78rem; cursor: pointer; text-decoration: underline; }
@media (max-width: 480px) {
  .eq-box { border-radius: 16px; }
  .eq-banner { padding: 1rem 1.2rem; }
  .eq-body { padding: 1.2rem; }
}

/* ===== COURSE DETAIL MODAL ===== */
.course-detail-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,8,26,0.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.course-detail-overlay.open { opacity: 1; pointer-events: all; }
.course-detail-box {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 18px; width: 100%; max-width: 620px;
  max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(20px); transition: transform 0.25s;
  position: relative;
}
.course-detail-overlay.open .course-detail-box { transform: translateY(0); }
.course-detail-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.08); border: none; color: var(--text-muted);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.course-detail-close:hover { background: var(--accent2); color: #fff; }
.course-detail-header {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.6rem 1.6rem 1rem; border-bottom: 1px solid var(--border);
}
.course-detail-body {
  padding: 1.2rem 1.6rem; overflow-y: auto; flex: 1;
}
.cd-section { margin-bottom: 1.2rem; }
.cd-section h4 {
  font-size: 0.9rem; font-weight: 700; color: var(--primary-light);
  margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem;
}
.cd-section h4 i { color: var(--accent); font-size: 0.85rem; }
.cd-section p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
.cd-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.cd-list li {
  color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6;
  padding-left: 1.2rem; position: relative;
}
.cd-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 0.8rem;
}
.cd-tools {
  font-weight: 600; color: var(--accent) !important;
  font-size: 0.88rem !important; letter-spacing: 0.3px;
}
.course-detail-footer {
  padding: 1rem 1.6rem 1.4rem;
  border-top: 1px solid var(--border);
}
.course-detail-footer .btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; width: 100%; padding: 0.8rem; font-size: 0.95rem;
  text-decoration: none; border-radius: 10px;
}

/* ===== SMALL BUTTON VARIANTS ===== */
.btn-outline-sm {
  padding: 6px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid var(--primary); color: var(--primary);
  background: transparent; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
}
.btn-outline-sm:hover { background: var(--primary); color: #fff; }
.btn-primary-sm {
  padding: 6px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 700;
  background: #5550cc; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
  transition: var(--transition);
}
.btn-primary-sm:hover { background: var(--primary-light); }
