/* ============================================================
   SKILLFORGE - Main Stylesheet
   Technologies: CSS3, Flexbox, Grid
   Font: Poppins (Google Fonts)
   Author: SkillForge Team
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a3c8f;
  --primary-dark: #122a6b;
  --primary-light: #2d54c4;
  --accent: #f97316;
  --accent-dark: #ea6507;
  --secondary: #06b6d4;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
  --shadow-xl: 0 30px 80px rgba(0,0,0,.18);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --font: 'Poppins', sans-serif;
  --transition: all .3s ease;
  --transition-fast: all .15s ease;
  --transition-slow: all .5s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--text-dark); line-height: 1.25; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: var(--radius-full); }

/* ---------- Selection ---------- */
::selection { background: var(--primary); color: #fff; }

/* ---------- Typography Scale ---------- */
.text-xs  { font-size: .75rem; }
.text-sm  { font-size: .875rem; }
.text-base{ font-size: 1rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge {
  display: inline-block;
  background: rgba(26,60,143,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-100%);
  transition: var(--transition);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26,60,143,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,60,143,.4);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(249,115,22,.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 22px; font-size: .82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-icon { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  padding: 9px 0;
  position: relative;
  z-index: 1001;
}
.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.announcement-bar .marquee-text {
  flex: 1;
  overflow: hidden;
}
.announcement-bar .marquee-inner {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.announcement-bar .marquee-inner span { opacity: .9; }
.announcement-bar .marquee-inner span strong { color: var(--accent); font-weight: 700; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.announcement-bar .bar-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.announcement-bar .bar-actions a {
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: 5px;
}
.announcement-bar .bar-actions a:hover { opacity: 1; text-decoration: underline; }
.bar-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .7rem;
  transition: var(--transition);
}
.bar-close:hover { background: rgba(255,255,255,.3); }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: auto; height: 48px;
  background: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img { height: 48px; width: auto; display: block; }
.logo-text { line-height: 1.15; }
.logo-text .name {
  font-size: 1.25rem; font-weight: 800;
  color: var(--primary); letter-spacing: -.02em;
}
.logo-text .tagline { font-size: .65rem; color: var(--text-muted); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: .88rem; font-weight: 500; color: var(--text-body);
  padding: 8px 14px; border-radius: var(--radius);
  position: relative; transition: var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary); background: rgba(26,60,143,.06);
}
.main-nav a:hover::after, .main-nav a.active::after { left: 14px; right: 14px; }
/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* Student auth button */
.btn-student {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 7px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-student:hover { background: var(--primary); color: #fff; }
.btn-student-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: .82rem;
  font-weight: 600;
  padding: 4px 12px 4px 4px;
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.btn-student-nav:hover { border-color: var(--primary); background: #f5f7ff; }
.stu-init {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px; cursor: pointer; background: none; border: none;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text-dark); transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,24,39,.95); backdrop-filter: blur(6px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.4rem; font-weight: 600; color: #fff;
  padding: 12px 32px; border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,.1); color: var(--accent); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  color: #fff; font-size: 1.6rem; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1); transition: var(--transition);
}
.mobile-nav-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 60%, var(--secondary) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-banner p { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.breadcrumb a, .breadcrumb span { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.card-body { padding: 24px; }

/* ---------- Course Card ---------- */
.course-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.course-card .card-img { position: relative; overflow: hidden; height: 200px; }
.course-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.course-card:hover .card-img img { transform: scale(1.07); }
.course-card .card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 4px 12px;
  border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .06em;
}
.course-card .card-content { padding: 20px; }
.course-card .card-category { font-size: .75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.course-card .card-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.course-card .card-meta { display: flex; gap: 14px; margin-bottom: 14px; }
.course-card .meta-item { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-muted); }
.course-card .card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.course-card .stars { color: #f59e0b; font-size: .85rem; }
.course-card .rating-text { font-size: .78rem; color: var(--text-muted); }
.course-card .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border-light); }
.course-card .price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.course-card .price small { font-size: .75rem; font-weight: 500; color: var(--text-muted); text-decoration: line-through; margin-left: 4px; }

/* ---------- Stats ---------- */
.stat-card {
  text-align: center; padding: 36px 24px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stat-card .stat-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
.stat-card .stat-number {
  font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1;
  margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 2px;
}
.stat-card .stat-label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Feature Card ---------- */
.feature-card {
  padding: 36px 28px; background: #fff;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: var(--transition); cursor: default;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .icon-box {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, rgba(26,60,143,.1), rgba(26,60,143,.05));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .icon-box { background: var(--primary); color: #fff; }
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- Team Card ---------- */
.team-card { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 32px 20px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card .avatar {
  width: 90px; height: 90px;
  border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
  border: 3px solid var(--border);
  transition: var(--transition);
}
.team-card:hover .avatar { border-color: var(--primary); }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }
.team-social { display: flex; justify-content: center; gap: 8px; }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; color: var(--text-muted); transition: var(--transition);
}
.team-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- Testimonial Card ---------- */
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border);
  position: relative; transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card .quote-icon {
  font-size: 3rem; color: var(--primary); opacity: .08;
  position: absolute; top: 20px; right: 24px; line-height: 1;
}
.testimonial-card .stars { color: #f59e0b; font-size: .9rem; margin-bottom: 14px; }
.testimonial-card p { font-size: .9rem; color: var(--text-body); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-img { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border); }
.testimonial-card .author-img img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .author-info .name { font-size: .88rem; font-weight: 700; color: var(--text-dark); }
.testimonial-card .author-info .role { font-size: .78rem; color: var(--text-muted); }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 12px; transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,143,.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; background: #fff;
  font-size: .95rem; font-weight: 600; color: var(--text-dark);
  gap: 12px; user-select: none; transition: var(--transition);
}
.faq-question:hover { background: rgba(26,60,143,.03); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-gray); display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--primary); flex-shrink: 0; transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ---------- Grid Layouts ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

/* ---------- Flex Utilities ---------- */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

/* ---------- Badge / Tag ---------- */
.badge-primary { background: rgba(26,60,143,.1); color: var(--primary); font-size: .73rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; }
.badge-accent   { background: rgba(249,115,22,.1); color: var(--accent); font-size: .73rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; }
.badge-success  { background: rgba(34,197,94,.1);  color: var(--success); font-size: .73rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; }
.badge-secondary{ background: rgba(6,182,212,.1);  color: var(--secondary); font-size: .73rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border); margin: 0; }
.divider-bold { height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: var(--radius-full); width: 60px; margin: 16px 0; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='30' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .badge { background: rgba(255,255,255,.15); color: #fff; }
.cta-inner h2 { font-size: 2.3rem; color: #fff; margin-bottom: 16px; }
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 20px;
  border: 2px solid var(--border); border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  font-size: .9rem; font-family: var(--font); outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  padding: 14px 28px; background: var(--primary); color: #fff;
  border: 2px solid var(--primary); font-weight: 600; font-size: .9rem;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 56px; }
.footer-brand .logo-text .name { color: #fff; }
.footer-brand p { font-size: .88rem; margin-top: 14px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.7); transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h5 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.6); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-info li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; }
.footer-contact-info li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Form Elements ---------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: var(--font); color: var(--text-dark);
  background: #fff; outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,143,.1); }
.form-control.error { border-color: var(--danger); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-error { font-size: .78rem; color: var(--danger); margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); color: #166534; border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; display: none; }
.form-success.show { display: block; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto;
  transform: translateY(30px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease;
  opacity: 0;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.2rem; font-weight: 700; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; color: var(--text-muted); transition: var(--transition); border: none; }
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ---------- Slider / Carousel ---------- */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.slider-controls { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-body); transition: var(--transition);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary); width: 24px; border-radius: var(--radius-full); }

/* ---------- Animations ---------- */
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft  { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse-ring  { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes scaleIn { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* ---------- Tag / Filter Buttons ---------- */
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  border: 2px solid var(--border); background: #fff; color: var(--text-body);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ---------- Search Bar ---------- */
.search-bar {
  display: flex; align-items: center;
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius-full); overflow: hidden;
  transition: var(--transition); max-width: 600px; width: 100%;
}
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,143,.1); }
.search-bar i { padding: 0 18px; color: var(--text-muted); font-size: 1rem; }
.search-bar input { flex: 1; padding: 14px 0; border: none; outline: none; font-family: var(--font); font-size: .92rem; color: var(--text-dark); }
.search-bar button { padding: 12px 24px; margin: 4px; background: var(--primary); color: #fff; border-radius: var(--radius-full); border: none; font-weight: 600; font-size: .85rem; cursor: pointer; transition: var(--transition); }
.search-bar button:hover { background: var(--primary-dark); }

/* ---------- Utilities ---------- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.bg-light     { background: var(--bg-light); }
.bg-gray      { background: var(--bg-gray); }
.bg-primary   { background: var(--primary); }
.bg-white     { background: #fff; }
.mt-auto      { margin-top: auto; }
.mb-0         { margin-bottom: 0; }
.mb-8         { margin-bottom: 8px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.mb-32        { margin-bottom: 32px; }
.rounded-full { border-radius: var(--radius-full); }
.w-full       { width: 100%; }
.hidden       { display: none; }
.relative     { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .section-header h2 { font-size: 1.9rem; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 1.9rem; }
  .header-inner { height: 62px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-header h2 { font-size: 1.6rem; }
  .cta-inner h2 { font-size: 1.7rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 2px solid var(--border); border-bottom: none; border-radius: var(--radius-full); }
  .newsletter-form button { border-radius: var(--radius-full); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .btn-lg { padding: 13px 28px; font-size: .92rem; }
  .announcement-bar .bar-actions { display: none; }
}
