/* ════════════════════════════════════════════════════════════════
   IsBar AI — Shared Stylesheet
   Dark Theme | Somali Language | Emerald Accent (#10b981)
   ════════════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0f;
  color: #e4e4e7;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── ANIMATED GRID BACKGROUND ── */
.bg-grid {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}
.bg-glow {
  position: fixed; top: -30%; left: -20%; width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12), transparent 70%);
  z-index: 0; pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
.bg-glow-2 {
  position: fixed; bottom: -20%; right: -20%; width: 60%; height: 70%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08), transparent 70%);
  z-index: 0; pointer-events: none;
  animation: glowPulse2 10s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0% { opacity: 0.6; transform: translate(0, 0) scale(1); }
  100% { opacity: 1; transform: translate(5%, 5%) scale(1.05); }
}
@keyframes glowPulse2 {
  0% { opacity: 0.5; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.9; transform: translate(-5%, -5%) scale(1.1); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-up { animation: fadeUp 0.6s ease-out both; }
.fade-up-1 { animation: fadeUp 0.6s ease-out 0.1s both; }
.fade-up-2 { animation: fadeUp 0.6s ease-out 0.2s both; }
.fade-up-3 { animation: fadeUp 0.6s ease-out 0.3s both; }
.fade-up-4 { animation: fadeUp 0.6s ease-out 0.4s both; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.logo span {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}
.nav-links a:hover { color: #10b981; transform: translateY(-1px); }
.nav-links a.active { color: #10b981; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #10b981;
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: #e4e4e7;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.hero-content { max-width: 800px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #34d399;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #a1a1aa;
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeUp 0.6s ease-out 0.4s both;
}
.hero-stat h3 { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat p { font-size: 14px; color: #71717a; margin: 0; }

/* ── HERO CENTERED VARIANT ── */
.hero-centered {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
}
.hero-centered .hero-content { max-width: 720px; }
.hero-centered p { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-centered .hero-buttons { justify-content: center; }
.hero-centered .hero-stats { justify-content: center; }

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
}
.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 12px;
}
.btn-outline {
  background: transparent;
  border: 1px solid #10b981;
  color: #10b981;
}
.btn-outline:hover {
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

/* ── SECTION ── */
section { padding: 100px 0; }
.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: #a1a1aa;
  max-width: 600px;
  margin-bottom: 60px;
  line-height: 1.7;
}
.section-title-center,
.section-sub-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS ── */
.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  cursor: default;
}
.card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  cursor: default;
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.7;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
  transition: gap 0.2s;
}
.service-card .card-link:hover { gap: 10px; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-item {
  padding: 28px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: all 0.2s;
}
.feature-item:hover {
  border-color: rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}
.feature-item .emoji { font-size: 36px; margin-bottom: 14px; display: block; }
.feature-item h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #71717a; line-height: 1.6; }

/* ── GRID LAYOUTS ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── ABOUT ── */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
}
.about-visual .big-emoji { font-size: 72px; display: block; margin-bottom: 20px; }
.about-visual h3 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.about-visual p { color: #71717a; font-size: 14px; }
.about-text h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.about-text p { color: #a1a1aa; margin-bottom: 16px; line-height: 1.8; }
.about-text ul { list-style: none; padding: 0; }
.about-text ul li {
  padding: 8px 0;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-text ul li::before {
  content: "✓";
  color: #10b981;
  font-weight: 700;
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}
.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.badge-red {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.badge-white {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
}

/* ── FORMS ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
}
.form-input,
.form-textarea {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e4e4e7;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #52525b; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.05));
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  color: #a1a1aa;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.contact-info p { color: #a1a1aa; margin-bottom: 24px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-item .emoji { font-size: 20px; }
.contact-item a { color: #10b981; text-decoration: none; transition: color 0.2s; }
.contact-item a:hover { color: #34d399; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 14px;
  color: #71717a;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: #71717a;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #10b981; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: #52525b; font-size: 14px; }
.social-links {
  display: flex;
  gap: 20px;
}
.social-links a {
  color: #71717a;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.social-links a:hover { color: #10b981; }

/* ── QUIZ / COURSE CARD ── */
.quiz-card,
.course-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}
.quiz-card:hover,
.course-card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.quiz-card .meta,
.course-card .meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #71717a;
  margin-bottom: 12px;
}
.quiz-card h3,
.course-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.quiz-card p,
.course-card p {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px;
  color: #a1a1aa;
  max-width: 560px;
  margin: 0 auto;
}

/* ── MISC UTILITIES ── */
.text-center { text-align: center; }
.text-emerald { color: #10b981; }
.text-muted { color: #71717a; }
.text-white { color: #fff; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.inline-flex { display: inline-flex; align-items: center; }

/* ── TOAST / NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  animation: fadeUp 0.3s ease-out;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal {
  background: #14141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease;
}
.modal h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.modal p {
  font-size: 14px;
  color: #a1a1aa;
  margin-bottom: 24px;
  line-height: 1.7;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 8px;
  color: #71717a;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 60px 0; }
  .navbar.scrolled { padding: 8px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 0; }
  .page-header { padding: 120px 0 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 14px; }
  .service-card { padding: 24px; }
  .card { padding: 24px; }
  .modal { padding: 28px; }
}

/* ════════════════════════════════════════════════════════════════
   CHATBOT HERO
   ════════════════════════════════════════════════════════════════ */
.chatbot-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
}

.chatbot-hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chatbot-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  animation: fadeUp 0.6s ease-out;
}

.title-gradient {
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7, #10b981);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.chatbot-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: #a1a1aa;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

/* ── Chat Container ── */
.chat-container {
  width: 100%;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  animation: fadeUp 0.6s ease-out 0.2s both;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 80px rgba(16, 185, 129, 0.03);
}

/* ── Chat Header ── */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0a0a0f;
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.chat-header-info {
  text-align: left;
}

.chat-header-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.chat-header-info p {
  font-size: 12px;
  color: #22c55e;
  margin: 0;
  line-height: 1.3;
}

/* ── Chat Messages ── */
.chat-messages {
  max-height: 400px;
  min-height: 280px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* ── Message Bubbles ── */
.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  animation: fadeUp 0.3s ease-out;
}

.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
  color: #e4e4e7;
}

.message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #10b981, #059669);
  border-bottom-right-radius: 4px;
  color: #fff;
}

.message .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #10b981;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Loading Indicator ── */
.loading-indicator {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: bounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ── Suggestion Buttons ── */
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}

.suggestion-btn {
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 20px;
  color: #34d399;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.suggestion-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.suggestion-btn:active {
  transform: translateY(0);
}

/* ── Chat Input ── */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

.chat-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #e4e4e7;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.chat-input::placeholder {
  color: #52525b;
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.chat-send-btn:active {
  transform: translateY(0);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Powered By ── */
.powered-by {
  font-size: 12px;
  color: #52525b;
  margin-top: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

/* ════════════════════════════════════════════════════════════════
   QUICK LINKS SECTION
   ════════════════════════════════════════════════════════════════ */
#quick-links {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-link-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.quick-link-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ql-icon {
  font-size: 40px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-link-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.quick-link-card p {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
  margin: 0;
}

.ql-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
  transition: gap 0.2s;
  margin-top: 4px;
}

.quick-link-card:hover .ql-btn {
  gap: 10px;
}

/* ════════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════════ */
.stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(5, 150, 105, 0.02));
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.stat-item p {
  font-size: 14px;
  color: #71717a;
  margin: 0;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
}

/* ════════════════════════════════════════════════════════════════
   CHATBOT RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 968px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .chat-messages {
    max-height: 320px;
    min-height: 220px;
    padding: 16px;
  }

  .chat-container {
    border-radius: 16px;
  }

  .chatbot-hero {
    padding: 90px 0 40px;
  }

  .chat-suggestions {
    padding: 10px 16px;
    justify-content: center;
  }

  .stats-grid {
    gap: 0;
  }

  .stat-item {
    padding: 0 16px;
  }

  .stat-item h3 {
    font-size: 24px;
  }

  .stat-divider {
    height: 32px;
  }
}

@media (max-width: 640px) {
  .quick-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .quick-link-card {
    padding: 24px 16px;
  }

  .ql-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .chatbot-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chatbot-hero {
    padding: 80px 0 32px;
  }

  .chat-messages {
    max-height: 280px;
    min-height: 200px;
  }

  .stats-bar {
    padding: 40px 0;
  }

  .stat-item h3 {
    font-size: 20px;
  }

  .stat-item p {
    font-size: 12px;
  }
}
