/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --bg-primary: #080D1F;
  --bg-secondary: #0D1530;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(228, 158, 158, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --blue: #8b2c7b;
  --purple: #c8c7cc;
  --orange: #F97316;
  --green: #10B981;
  --pink: #c81af3;
  --text-primary: #F0F4FF;
  --text-secondary: #9AA5BE;
  --text-muted: #5A6484;
  --nav-height: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 40px rgba(248, 233, 14, 0.938);
  --shadow-glow-blue: 0 0 60px rgba(48, 238, 105, 0.15);
  --shadow-glow-purple: 0 0 60px rgba(139, 92, 246, 0.15);
  --shadow-glow-orange: 0 0 60px rgba(249, 115, 22, 0.15);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FADE IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 4px 24px rgba(79, 142, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(79, 142, 247, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(8, 13, 31, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 20px rgba(79, 142, 247, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(79, 142, 247, 0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 40px;
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(79, 142, 247, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
    var(--bg-primary);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 142, 247, 0.1);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  gap: 24px;
}

.hstat {
  text-align: center;
}

.hstat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hstat span:not(.hstat-num) {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hstat p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hstat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0)
  }

  50% {
    transform: rotate(45deg) translateY(6px)
  }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(79, 142, 247, 0.2);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== PROBLEM SECTION ========== */
.problem-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.problem-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.divide-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.divide-side {
  padding: 24px;
}

.divide-side h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.divide-side li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.divide-side li:last-child {
  border-bottom: none;
}

.connected {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-sm);
}

.disconnected {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: var(--radius-sm);
}

.vs-badge {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(79, 142, 247, 0.4);
}

/* ========== SOLUTIONS SECTION ========== */
.solutions-section {
  background: var(--bg-primary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.solution-card.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.06);
}

.card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.glow-blue {
  background: var(--blue);
}

.glow-purple {
  background: var(--purple);
}

.glow-orange {
  background: var(--orange);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.solution-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.solution-features {
  margin-bottom: 28px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feat-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.feat-dot.purple {
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

.feat-dot.orange {
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.card-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 10px;
  color: var(--purple);
}

/* ========== RESOURCES SECTION ========== */
.resources-section {
  background: var(--bg-secondary);
}

.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  background: var(--bg-card);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(79, 142, 247, 0.3);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.resource-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.resource-card.hidden {
  display: none;
}

.res-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.devices-tag {
  background: rgba(79, 142, 247, 0.15);
  color: var(--blue);
}

.internet-tag {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
}

.skills-tag {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
}

.resource-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.res-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.res-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.res-link:hover {
  color: var(--purple);
  letter-spacing: 0.5px;
}

/* ========== STORIES SECTION ========== */
.stories-section {
  background: var(--bg-primary);
}

.testimonial-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  animation: fadeSlide 0.4s ease;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.quote-icon {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--blue);
  opacity: 0.3;
  margin-bottom: 24px;
  display: block;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-color: transparent;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* ========== INVOLVE SECTION ========== */
.involve-section {
  background: var(--bg-secondary);
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.involve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.involve-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.involve-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.involve-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.involve-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.share-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.impact-banner {
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(79, 142, 247, 0.2);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}

.impact-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title {
  font-size: 2.2rem;
  margin: 12px 0 20px;
}

.contact-info>p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
}

.c-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-success {
  display: none;
  text-align: center;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-success.show {
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  background: #050A18;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.footer-brand>p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.footer-newsletter h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-newsletter>p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--blue);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 18px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  opacity: 0.85;
}

.newsletter-success {
  display: none;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.85rem;
}

.newsletter-success.show {
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--blue);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .divide-bar {
    grid-template-columns: 1fr;
  }

  .divide-center {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(8, 13, 31, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hstat-divider {
    width: 40px;
    height: 1px;
  }

  .section {
    padding: 70px 0;
  }

  .problem-visual {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .impact-banner {
    padding: 32px 24px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

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

/* ========== HERO BANNER IMAGE ========== */
.hero-banner-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 0 24px;
  animation: bannerFloat 6s ease-in-out infinite;
}

.hero-banner-img img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(139, 92, 246, 0.15),
    0 0 40px rgba(79, 142, 247, 0.1);
  display: block;
}

.banner-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139, 92, 246, 0.1), transparent 70%);
  pointer-events: none;
  border-radius: 30px;
  z-index: -1;
}

@keyframes bannerFloat {

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

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