/* =============================================
   Hagenberg Academy — Global Stylesheet v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --green:        #28a745;
  --green-dark:   #1e7e34;
  --green-light:  #d4edda;
  --green-muted:  #e8f5e9;
  --green-deep:   #145a23;
  --white:        #ffffff;
  --gray-light:   #f8f9fa;
  --gray:         #6c757d;
  --gray-mid:     #adb5bd;
  --gray-dark:    #343a40;
  --warm-gray:    #f5f4f0;
  --text:         #2d2d2d;
  --border:       #dee2e6;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow:       0 4px 24px rgba(0,0,0,.09);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
  --shadow-hover: 0 12px 40px rgba(40,167,69,.2);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   .25s ease;
  --transition-md:.4s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; color: var(--gray-dark); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.3px; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-weight: 300; line-height: 1.8; }

/* ---- Utilities ---- */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 6rem 0; }
.section-sm   { padding: 3.5rem 0; }
.text-center  { text-align: center; }
.text-green   { color: var(--green); }
.bg-light     { background: var(--warm-gray); }
.bg-white     { background: var(--white); }

.section-label {
  display: inline-block;
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--gray-dark);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--gray);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--green);
  color: var(--white) !important;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(40,167,69,.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40,167,69,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark) !important;
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-green {
  background: transparent;
  color: var(--green) !important;
  border-color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40,167,69,.25);
}
.btn-ghost {
  background: var(--green-muted);
  color: var(--green-dark) !important;
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .84rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition-md), transform var(--transition-md);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.card-body { padding: 1.75rem; }
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 1.1rem;
  display: block;
  line-height: 1;
}
.card-title { margin-bottom: .55rem; }
.card-text { color: var(--gray); font-size: .92rem; }

/* ---- Tag / Badge ---- */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50px;
  padding: .22rem .9rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: .8rem;
  text-transform: uppercase;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 3px 10px rgba(40,167,69,.35);
  flex-shrink: 0;
}
.brand-name { color: var(--gray-dark); }
.brand-name span { color: var(--green); }

.navbar-nav {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.navbar-nav a {
  font-weight: 500;
  font-size: .92rem;
  color: var(--gray);
  padding: .45rem .9rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar-nav a:hover { color: var(--green-dark); background: var(--green-muted); }
.navbar-nav a.active { color: var(--green-dark); background: var(--green-muted); font-weight: 600; }

.navbar-cta { display: flex; gap: .65rem; align-items: center; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--green-muted); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: .75rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  gap: .25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: .95rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--green); background: var(--green-muted); }
.mobile-nav .btn { width: 100%; text-align: center; justify-content: center; margin-top: .5rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(140deg, #0f3d1f 0%, #1a5c2e 35%, #28a745 75%, #52c97a 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-shapes span:nth-child(1) { width:300px; height:300px; top:10%; right:5%; }
.hero-shapes span:nth-child(2) { width:180px; height:180px; bottom:20%; right:20%; }
.hero-shapes span:nth-child(3) { width:80px; height:80px; top:60%; left:10%; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  padding: .35rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: .3px;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.hero .hero-desc {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 2.25rem;
  font-weight: 300;
  max-width: 500px;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  opacity: .7;
  font-weight: 300;
  margin-top: .2rem;
}

.hero-image-wrap {
  position: relative;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: rgba(255,255,255,.06);
  border-radius: 24px;
  z-index: 0;
}
.hero-image-wrap img {
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0,0,0,.3);
  width: 100%;
  object-fit: cover;
  height: 440px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: .8rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-badge-1 { bottom: 30px; left: -20px; }
.hero-badge-2 { top: 30px; right: -20px; }
.hero-badge .badge-icon { font-size: 1.5rem; }
.hero-badge .badge-text { font-size: .78rem; font-weight: 600; color: var(--gray-dark); line-height: 1.3; }
.hero-badge .badge-text span { color: var(--green); font-size: .95rem; font-weight: 700; display: block; }

/* ============================================
   WHY US / BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.benefit-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.benefit-icon-wrap {
  width: 52px; height: 52px;
  background: var(--green-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.benefit-item:hover .benefit-icon-wrap {
  background: var(--green);
  transform: scale(1.08);
}
.benefit-title { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.benefit-desc { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* ============================================
   FEATURES / CARDS GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.04);
  transition: all var(--transition-md);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transform: scaleX(0);
  transition: transform var(--transition-md);
  transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 1.1rem; }
.feature-title { margin-bottom: .55rem; font-size: 1.1rem; }
.feature-desc { color: var(--gray); font-size: .9rem; line-height: 1.7; }

/* ============================================
   PLATFORM SECTION
   ============================================ */
.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.platform-inner img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.platform-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.platform-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .95rem;
  font-weight: 400;
  padding: .6rem .9rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.platform-list li:hover { background: var(--green-muted); }
.platform-list li .check {
  width: 22px; height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: .1rem;
  font-weight: 700;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  color: rgba(255,255,255,.7);
  font-weight: 300;
  margin-top: .5rem;
  font-size: .9rem;
}
.stat-icon { font-size: 1.5rem; margin-bottom: .5rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.04);
  transition: all var(--transition-md);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-size: 4.5rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: 700;
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 1px; }
.testimonial-text {
  font-size: .93rem;
  line-height: 1.75;
  color: var(--gray-dark);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-light);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.testimonial-role { font-size: .78rem; color: var(--gray); font-weight: 300; }

/* ============================================
   PARTNERS
   ============================================ */
.partners-bar {
  background: var(--warm-gray);
  padding: 2.5rem 0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.75rem;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  background: var(--white);
  border-radius: 10px;
  padding: .75rem 1.5rem;
  font-weight: 700;
  color: var(--gray);
  font-size: .95rem;
  letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.partner-logo:hover { color: var(--green-dark); border-color: var(--green); box-shadow: 0 4px 12px rgba(40,167,69,.15); transform: translateY(-2px); }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; }
.blog-meta { font-size: .8rem; color: var(--gray-mid); margin-bottom: .6rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.blog-card-title { margin-bottom: .6rem; font-size: 1.05rem; }
.blog-excerpt { font-size: .9rem; color: var(--gray); margin: .5rem 0 1.25rem; line-height: 1.65; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-hero {
  background: linear-gradient(140deg, #0f3d1f, #28a745 80%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.article-hero h1 { color: white; margin-bottom: 1rem; position: relative; }
.article-meta { opacity: .8; font-size: .88rem; position: relative; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: .35rem; }

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.article-body img {
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.article-body h2 { margin: 3rem 0 1rem; font-size: 1.7rem; }
.article-body h3 { margin: 2.25rem 0 .75rem; color: var(--green-dark); font-size: 1.15rem; }
.article-body p { margin-bottom: 1.4rem; font-size: 1rem; line-height: 1.85; }
.article-body ul { margin: 1rem 0 1.75rem 1.25rem; }
.article-body ul li { list-style: disc; margin-bottom: .6rem; font-weight: 300; font-size: .97rem; }
.article-body blockquote {
  border-left: 4px solid var(--green);
  padding: 1.25rem 2rem;
  margin: 2.5rem 0;
  background: var(--green-muted);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-author-box {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--green-muted);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.article-nav-btns { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   COURSES / RESOURCES
   ============================================ */
.courses-filter {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .88rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-dark);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.course-card-img {
  width: 100%; height: 210px;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .course-card-img { transform: scale(1.04); }
.course-card-img-wrap { overflow: hidden; }
.course-badge {
  display: inline-block;
  padding: .22rem .9rem;
  border-radius: 50px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .85rem;
}
.badge-it        { background: #dbeafe; color: #1d4ed8; }
.badge-marketing { background: #fef3c7; color: #92400e; }
.badge-design    { background: #fce7f3; color: #9d174d; }
.badge-comm      { background: var(--green-light); color: var(--green-deep); }

.course-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--gray); margin: .75rem 0 1.1rem; flex-wrap: wrap; }
.course-meta span { display: flex; align-items: center; gap: .3rem; }

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}
.format-card { text-align: center; padding: 2.25rem 1.75rem; }
.format-icon { font-size: 2.8rem; margin-bottom: 1rem; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 50px; height: 50px;
  background: var(--green-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.contact-info-item:hover .contact-icon {
  background: var(--green);
  transform: scale(1.08);
}
.contact-form-label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .45rem;
  color: var(--gray-dark);
}
.form-group { margin-bottom: 1.25rem; }
.form-control {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
  outline: none;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40,167,69,.1);
}
.form-control.error { border-color: #dc3545; }
.form-control.success { border-color: var(--green); }
.form-error-msg { font-size: .78rem; color: #dc3545; margin-top: .3rem; display: none; }
.form-error-msg.show { display: block; }
textarea.form-control { min-height: 145px; resize: vertical; }

.form-success-box {
  display: none;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  color: var(--green-deep);
  font-weight: 600;
  font-size: .95rem;
  margin-top: 1.25rem;
  align-items: center;
  gap: .75rem;
}
.form-success-box.show { display: flex; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-container iframe { display: block; width: 100%; height: 430px; border: 0; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.team-card-inner { text-align: center; padding: 2rem 1.5rem; }
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--green-light);
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover .team-avatar { border-color: var(--green); transform: scale(1.05); }
.team-name { font-size: 1.05rem; margin-bottom: .2rem; }
.team-role { color: var(--green); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .6rem; }
.team-desc { font-size: .85rem; color: var(--gray); line-height: 1.6; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 22px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--green-light));
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-dot {
  width: 46px; height: 46px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(40,167,69,.3);
  z-index: 1;
}
.timeline-content { padding-top: .5rem; }
.timeline-year { font-size: .78rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 1px; }
.timeline-title { font-weight: 600; margin: .2rem 0 .4rem; }
.timeline-text { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--green-light); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--green-muted); }
.faq-question.active { background: var(--green-muted); color: var(--green-dark); }
.faq-icon {
  width: 28px; height: 28px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-question.active .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: white;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}
.faq-answer.open { max-height: 500px; }
.faq-answer-inner {
  padding: .25rem 1.5rem 1.5rem;
  color: var(--gray);
  font-weight: 300;
  font-size: .93rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* ============================================
   PRIVACY / LEGAL
   ============================================ */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.legal-content h2 { margin: 3rem 0 .85rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green-muted); }
.legal-content h3 { margin: 2.25rem 0 .65rem; color: var(--green-dark); }
.legal-content p, .legal-content li { font-weight: 300; margin-bottom: .8rem; font-size: .97rem; }
.legal-content ul { margin-left: 1.25rem; }
.legal-content ul li { list-style: disc; }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  background: linear-gradient(140deg, #0f3d1f 0%, #1a5c2e 40%, #28a745 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255,255,255,.06) 0%, transparent 55%);
}
.page-hero h1 { color: white; margin-bottom: .85rem; position: relative; }
.page-hero p { opacity: .87; font-weight: 300; max-width: 580px; margin: 0 auto; font-size: 1.05rem; position: relative; }
.breadcrumb {
  font-size: .8rem;
  opacity: .65;
  margin-bottom: 1.1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: white; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(140deg, var(--green-deep), var(--green-dark) 50%, var(--green));
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { opacity: .88; margin-bottom: 2.25rem; font-size: 1.08rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111d14;
  color: rgba(255,255,255,.75);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
}
.footer-logo-wrap {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-logo-wrap .brand-icon { box-shadow: none; }
.footer-desc { font-weight: 300; font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.65); }
.footer-heading {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .88rem; font-weight: 300; transition: all var(--transition); padding: .15rem 0; }
.footer-links a:hover { color: var(--white); padding-left: .4rem; }
.footer-contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .88rem;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
}
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--white); }

.social-row { display: flex; gap: .65rem; margin-top: 1.5rem; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
}
.social-btn:hover { background: var(--green); color: white; border-color: var(--green); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: #1a2d21;
  color: rgba(255,255,255,.9);
  padding: 1.25rem 1.75rem;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  transform: translateY(calc(100% + 2rem));
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  max-width: 1000px;
  margin: 0 auto;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden {
  transform: translateY(calc(100% + 2rem));
  pointer-events: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.cookie-text p { font-size: .88rem; font-weight: 300; line-height: 1.6; }
.cookie-text p strong { font-weight: 600; color: white; }
.cookie-text a { color: var(--green); font-weight: 600; }
.cookie-text a:hover { color: #4cdb6e; }
.cookie-buttons { display: flex; gap: .75rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--green);
  color: white;
  border: none;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: .875rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1.5px solid rgba(255,255,255,.2);
  padding: .65rem 1.25rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  font-size: .875rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,.5); color: white; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(3), .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero { padding: 5rem 0 4rem; }
  .platform-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .platform-inner img { height: 280px; }
  .hero-stats { gap: 1.25rem; }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-buttons { width: 100%; }
  .cookie-buttons button { flex: 1; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: .75rem; }
  .cta-btns { flex-direction: column; align-items: center; }
}
