/* ================================================
   HOME2.CSS — Prime Ecommerce Hub
   Clean, Professional Homepage Styles
   ================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: #1e293b; background: #fff; line-height: 1.6; padding-top: 70px; overflow-x: hidden; max-width: 100vw; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }


/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

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

.logo-mark::before { display: none; }
.logo-mark::after { display: none; }

.logo-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.logo-mark svg { position: relative; z-index: 1; }


.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-text strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.logo-text span {
  display: block;
  color: rgba(255,255,255,0.38);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  min-width: 150px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  padding: 6px;
  z-index: 99999;
  flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-menu {
    display: flex !important;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 2px 0 4px 16px;
  }
  .nav-dropdown-menu a { color: rgba(255,255,255,0.55); font-size: 0.83rem; padding: 5px 0; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Enroll button */
.nav-enroll-btn {
  flex-shrink: 0;
  padding: 9px 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e11d48, #e11d48);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-enroll-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }


/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fafafa;
}

/* Overlay to darken/lighten bg so text is readable */
.hero-bg-overlay {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Both grid children must not overflow */
.hero-content,
.hero-photo {
  min-width: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 40px 20px !important;
    gap: 20px !important;
  }
  .hero-content { order: 1; }
  .hero-photo   { order: 2; width: 100% !important; }
  .hero-content p  { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-btns       { justify-content: center !important; flex-direction: column !important; align-items: stretch !important; }
  .btn-primary, .btn-outline { text-align: center !important; justify-content: center !important; }
  .hero-badge      { justify-content: center !important; }
  .hero-img        { max-width: 100% !important; height: 220px !important; width: 100% !important; }
  .hero            { min-height: auto !important; }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: #e11d48;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.6);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

/* Heading */
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.text-blue { color: #e11d48; }

/* Description */
.hero-content p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 500px;
}

/* Skill tags */
.hero-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-skills span {
  padding: 5px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.hero-skills span:hover {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
  transform: translateY(-2px);
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e11d48, #e11d48);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.3);
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
  text-decoration: none;
}

.btn-outline:hover { border-color: #e11d48; color: #e11d48; transform: translateY(-2px); }

/* Contact bar */
.hero-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

.hero-contact a,
.hero-contact span {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s;
}

.hero-contact a:hover { color: #e11d48; }

/* Right Photo */
.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.18);
  border: 4px solid rgba(255,255,255,0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.hero-img:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 40px 80px rgba(139,0,0,0.25), 0 0 0 6px rgba(139,0,0,0.15);
  border-color: rgba(139,0,0,0.5);
}


/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stats-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stats-bar-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
}

.stats-bar-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-bar-item strong span {
  color: #e11d48;
  font-size: 1.8rem;
}

.stats-bar-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.01em;
}

.stats-bar-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stats-bar-container {
    flex-wrap: wrap;
    padding: 0 20px;
  }
  .stats-bar-item {
    flex: 1 1 45%;
    padding: 20px 12px;
  }
  .stats-bar-divider {
    display: none;
  }
}


/* ================================================
   SHARED SECTION STYLES
   ================================================ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-head p {
  color: #64748b;
  font-size: 0.98rem;
  max-width: 560px;
  margin: 0 auto;
}


/* ================================================
   COURSES SECTION
   ================================================ */
.courses-section { background: #fff5f7; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.course-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15,23,42,0.1);
  border-color: #fecdd3;
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.course-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 7px;
}

.course-info p {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.course-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e11d48, #e11d48);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(225,29,72,0.22);
  transition: opacity 0.15s, transform 0.15s;
}

.course-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Course meta info (duration / level / certificate) */
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.course-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 3px 8px;
}

.courses-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.courses-cta span { color: #64748b; font-size: 0.88rem; }
.courses-cta span a { color: #e11d48; font-weight: 700; }


/* ================================================
   WHY US
   ================================================ */
.why-section { background: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.2s, border-color 0.2s;
}

.why-card:hover { transform: translateX(4px); border-color: #e11d48; }
.why-card > span { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.why-card strong { display: block; color: #0f172a; font-weight: 700; margin-bottom: 4px; font-size: 0.92rem; }
.why-card p { color: #64748b; font-size: 0.82rem; line-height: 1.6; margin: 0; }


/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section { background: #fff5f7; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: grid; gap: 14px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.contact-item > span { font-size: 1.3rem; flex-shrink: 0; }
.contact-item strong { display: block; color: #0f172a; font-weight: 700; margin-bottom: 3px; font-size: 0.88rem; }
.contact-item a, .contact-item span:not(:first-child) { color: #64748b; font-size: 0.84rem; }
.contact-item a:hover { color: #e11d48; }

.contact-social {
  display: flex;
  gap: 10px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 6px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.contact-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.08);
  border-color: transparent;
}

.contact-social a img,
.contact-social a svg {
  display: block;
}

.contact-social .soc-fb:hover   { background: #1877f2; }
.contact-social .soc-ig:hover   { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.contact-social .soc-yt:hover   { background: #ff0000; }
.contact-social .soc-wa:hover   { background: #25d366; }
.contact-social .soc-tiktok:hover  { background: #000; }
.contact-social .soc-linkedin:hover { background: #0077b5; }

/* Social icon brand colors always visible */
/* Removed individual light backgrounds to give a cleaner, unified professional look */

.contact-social a:hover img,
.contact-social a:hover svg {
  filter: brightness(0) invert(1);
}

.contact-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(15,23,42,0.06);
  display: grid;
  gap: 14px;
}

.contact-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #e11d48; }

.contact-form textarea { resize: vertical; min-height: 90px; }


/* ================================================
   PROFESSIONAL SECTION
   ================================================ */
.professional-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 60px 32px;
}

.professional-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Professional Card (CEO) */
.professional-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prof-image {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
}

.prof-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.prof-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e11d48;
  margin-top: 4px;
}

.prof-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 2px;
}

.prof-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.prof-services span {
  background: #fff1f2;
  color: #e11d48;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.prof-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.prof-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e11d48;
  font-weight: 600;
  transition: color 0.2s;
}

.prof-phone:hover {
  color: #be123c;
}

.prof-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.9rem;
}

/* Solutions Card */
.solutions-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}

.solutions-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.solutions-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
  display: block;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.solution-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.solution-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.solution-item p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .professional-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .professional-card {
    padding: 24px;
  }

  .prof-image {
    height: 250px;
  }

  .solutions-card {
    padding: 24px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solutions-card h3 {
    font-size: 1.4rem;
  }
}


/* ================================================
   FOOTER
   ================================================ */
.footer { background: #0f172a; }

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}

.footer-social a img,
.footer-social a svg {
  filter: brightness(0) invert(1);
  opacity: 0.8; /* Make them slightly muted to match subtle look, and full opacity on hover */
  transition: opacity 0.15s;
}

.footer-social a:hover { background: #e11d48; border-color: #e11d48; color: #fff; }

.footer-social a:hover img,
.footer-social a:hover svg {
  opacity: 1;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.5); font-size: 0.83rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
}

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


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-enroll-btn { display: none; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-container  { position: relative; }

  .hero-container {
    grid-template-columns: 1fr !important;
    padding: 32px 16px !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .hero-content p { max-width: 100% !important; }
  .hero-btns { justify-content: center !important; flex-wrap: wrap !important; }

  .hero-photo {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-img {
    max-width: 100% !important;
    height: 200px !important;
    width: 100% !important;
  }

  .hero-img {
    max-width: 100%;
    height: 240px;
    width: 100%;
  }

  .hero { min-height: auto; }
  .hero-trust-line { overflow-x: auto; justify-content: flex-start !important; }
  .hero-badge { justify-content: center; }

  .why-grid    { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .section-container { padding: 48px 20px; }
  .courses-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  /* Stats bar */
  .stats-bar-container { flex-wrap: wrap; padding: 0 20px; }
  .stats-bar-item { flex: 1 1 45%; padding: 18px 10px; }
  .stats-bar-divider { display: none; }
  .stats-bar-item strong { font-size: 1.8rem; }
}

@media (max-width: 560px) {
  .courses-grid  { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .hero-btns     { flex-direction: column; }
  .btn-primary,
  .btn-outline   { text-align: center; justify-content: center; width: 100%; }
  .nav-container { padding: 0 16px; }
  .footer-inner,
  .footer-bottom { padding-left: 16px; padding-right: 16px; }
  .hero-container { padding: 28px 16px; }
  .section-container { padding: 40px 16px; }
  .hero-content h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .stats-bar-item { flex: 1 1 100%; }
}


/* =============================================
   SVG ICON BOXES — replaces broken emojis
   ============================================= */
.course-icon,
.why-icon-box,
.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.course-icon svg,
.why-icon-box svg,
.contact-icon-box svg { width: 22px; height: 22px; }

/* Color variants */
.ci-blue   { background: #e11d48; color: #fff; }
.ci-amber  { background: #d97706; color: #fff; }
.ci-orange { background: #ea580c; color: #fff; }
.ci-teal   { background: #0891b2; color: #fff; }
.ci-purple { background: #9f1239; color: #fff; }
.ci-green  { background: #16a34a; color: #fff; }
.ci-cyan   { background: #0284c7; color: #fff; }
.ci-yellow { background: #ca8a04; color: #fff; }
.ci-red    { background: #dc2626; color: #fff; }

/* Why card icon box */
.why-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border: 1px solid #e2e8f0;
  border-radius: 16px; background: #f8fafc;
  transition: transform 0.2s, border-color 0.2s;
}
.why-card:hover { transform: translateX(4px); border-color: #e11d48; }
.why-card strong { display: block; color: #0f172a; font-weight: 700; margin-bottom: 4px; font-size: 0.92rem; }
.why-card p { color: #64748b; font-size: 0.82rem; line-height: 1.6; margin: 0; }
.why-icon-box { flex-shrink: 0; }

/* Contact icon */
.contact-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 18px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-item:hover { box-shadow: 0 6px 20px rgba(15,23,42,0.08); border-color: #fecdd3; }
.contact-icon-box { flex-shrink: 0; }
.contact-item strong { display: block; color: #0f172a; font-weight: 700; margin-bottom: 5px; font-size: 1rem; }
.contact-item a, .contact-item span:not(:first-child) { color: #64748b; font-size: 0.9rem; }
.contact-item a:hover { color: #e11d48; }

.footer-rating {
  text-align: center;
  padding: 24px 32px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-rating-title {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 12px;
  font-weight: 500;
}

/* ── Star rating ── */
.footer-stars {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 10px;
}

.footer-stars span {
  font-size: 1.75rem;
  color: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: color 0.15s, transform 0.12s;
  line-height: 1;
  user-select: none;
}

.footer-stars span.fr-active,
.footer-stars span.fr-selected {
  color: #F59E0B;
  transform: scale(1.15);
}

.footer-rating-msg {
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 1.2em;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-rating-submit {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  background: #F59E0B;
  color: #111827;
  border: none;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  opacity: 0;
}

.footer-rating-submit:hover {
  background: #FBBF24;
  transform: translateY(-1px);
}

.footer-rating-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Keep old Google review button for pages that still use it */
.footer-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: #D4AF37;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.footer-review-btn:hover {
  background: rgba(212,175,55,0.22);
  transform: translateY(-2px);
}
