/* ============================================
   SKANA EDUCATION ACADEMY - SHARED STYLES
   ============================================ */

/* Fonts are now handled via <link> in HTML for better performance */

.reveal.visible h2 {
  margin-bottom: 20px;
}

.category-section.reveal.visibleConsultants {
  margin: 40px 0;
}

/* ---- CSS Variables ---- */
:root {
  --primary: #006b22;
  --primary-container: #128731;
  --on-primary: #ffffff;
  --primary-fixed: #8ffa94;
  --primary-fixed-dim: #74dd7b;
  --secondary: #56589a;
  --secondary-container: #b4b5fe;
  --on-secondary: #ffffff;
  --tertiary: #a33157;
  --on-tertiary: #ffffff;
  --surface: #f8fafb;
  --surface-container: #eceeef;
  --surface-container-low: #f2f4f5;
  --surface-container-lowest: #ffffff;
  --surface-dim: #d8dadb;
  --on-surface: #191c1d;
  --on-surface-variant: #3f4a3d;
  --outline: #6f7a6c;
  --outline-variant: #becab9;
  --brand-green: #2B973F;
  --brand-navy: #272868;
  --error: #ba1a1a;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

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

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

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
  /* Prevent Flash of Unstyled Text (FOUT) */
  width: 1em;
  height: 1em;
  overflow: hidden;
  white-space: nowrap;
  font-size: inherit;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-transform: none;
  letter-spacing: normal;
}

/* ---- Utility Classes ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tertiary);
  display: block;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-navy));
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 107, 34, 0.25);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 107, 34, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--on-surface);
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.03);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  color: var(--on-surface);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(190, 202, 185, 0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.03);
}

/* ---- Glass Panel ---- */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---- Top Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #17733E;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(190, 202, 185, 0.15);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: auto;
  width: 160px;
  object-fit: cover;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  transition: color 0.2s;
  padding-bottom: 2px;
  letter-spacing: -0.01em;
}

.navbar-links a:hover {
  color: #FCEB89;
}

.navbar-links a.active {
  color: #FCEB89;
  border-bottom: 2px solid #FCEB89;
}

.navbar-cta {
  background: #FCEB89;
  color: #000;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 107, 34, 0.2);
}

.navbar-cta:hover {
  transform: scale(1.05);
}

.navbar-cta:active {
  transform: scale(0.95);
}

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

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 80vw;
  height: 100vh;
  background: #ffffff;
  padding: 6rem 2rem 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.3s ease-in-out;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

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

.mobile-menu a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(190, 202, 185, 0.2);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--brand-green);
  padding-left: 0.5rem;
}

.mobile-menu a.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}

/* ---- Footer ---- */
footer {
  background: #000;
  border-top: 1px solid rgba(190, 202, 185, 0.2);
  width: 100%;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 2.5fr 1.5fr;
  gap: 3rem;
}

.footer-brand img {
  width: 200px;
  height: auto;
  object-fit: cover;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.7;
}

.footer-col h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fceb89;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: #fff;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-courses-grid {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  column-gap: 2rem;
  row-gap: 0.5rem;
}

@media (max-width: 1200px) {
  .footer-courses-grid {
    gap: 0.25rem 1rem;
  }
}

.footer-col ul a:hover {
  color: var(--brand-green);
  transform: translateY(-1px);
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.footer-social-icons a.facebook {
  background: #1877F2;
}

.footer-social-icons a.instagram {
  background: #E4405F;
}

.footer-social-icons a.youtube {
  background: #FF0000;
}

.footer-social-icons a:hover {
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-icons a.facebook:hover {
  background: #1565C0;
}

.footer-social-icons a.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social-icons a.youtube:hover {
  background: #CC0000;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(190, 202, 185, 0.4);
  border-radius: 9999px;
  font-size: 0.85rem;
  background: white;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.footer-newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 34, 0.1);
}

.footer-newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.footer-newsletter-form button:hover {
  background: var(--brand-navy);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(190, 202, 185, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--brand-green);
}

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

/* ---- Page Hero (shared) ---- */
.page-hero {
  padding: 2rem 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 107, 34, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(163, 49, 87, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--on-surface);
  margin-bottom: 1.25rem;
}

.page-hero h1 span {
  color: var(--primary);
  font-style: italic;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* ---- Animations ---- */
@keyframes float {

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

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

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.float-anim {
  animation: float 5s ease-in-out infinite;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .founder-badge {
    left: 50px;
  }

  .cta-banner {
    padding: 0 1rem 3rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .page-hero {
    padding: 6rem 1.25rem 3.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    padding: 3rem 1.25rem 1.5rem;
  }

  .footer-courses-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: dense;
    row-gap: 0.4rem;
  }

  .footer-bottom {
    padding: 1rem 1.25rem;
  }

  .page-hero {
    padding: 5.5rem 1rem 3rem;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .btn-primary,
  .btn-ghost,
  .btn-white,
  .btn-outline-white {
    font-size: 0.88rem;
    padding: 0.75rem 1.5rem;
  }
}