:root {
--bg-main: #050019;
--bg-card: rgba(10, 0, 46, 0.92);
--bg-glass: rgba(15, 0, 60, 0.78);
--accent: #43e8ff;
--accent-soft: #7cf5ff;
--accent-purple: #6d4dff;
--text-main: #f9fafb;
--text-muted: #b4b9ff;
--border-soft: #3b2b8a;
--radius-lg: 24px;
--radius-pill: 999px;
--shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
--section-gap: 40px;
--mascot-size: 196px;
--mascot-top: -150px;
--mascot-offset-x: 120px;
--mascot-clip-bottom: 30%;
}

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html,
body {
height: 100%;
}

body {
font-family: "Almarai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background-color: var(--bg-main);
color: var(--text-main);
direction: rtl;
text-align: right;
line-height: 1.7;
overflow-x: hidden;
}

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

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

button {
font-family: inherit;
}

.container {
width: min(1180px, 100% - 3rem);
margin-inline: auto;
}

.container-sm {
  max-width: 900px;
}

.container-form {
  max-width: 580px;
}

.stars-bg {
position: fixed;
inset: 0;
z-index: -2;
background-image: url("../assets/space/bg-space.jpg");
background-size: cover;
background-position: center top;
filter: saturate(1.1);
}

.stars-bg::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at top center, rgba(67, 232, 255, 0.22), transparent 55%), radial-gradient(circle at bottom center, rgba(109, 77, 255, 0.4), transparent 60%);
mix-blend-mode: screen;
}

.section {
  padding-block: 32px;
  position: relative;
}

.z2h-header {
position: sticky;
top: 0;
z-index: 20;
background: linear-gradient(to bottom, rgba(5, 0, 40, 0.96), rgba(5, 0, 40, 0.7));
backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(92, 76, 255, 0.6);
}

.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
padding-block: 0.85rem;
}

.brand {
height: 40px;
}

.main-nav {
display: flex;
align-items: center;
gap: 1.5rem;
font-size: 0.9rem;
color: var(--text-muted);
}

.main-nav a {
position: relative;
padding-block: 0.3rem;
}

.main-nav a::after {
content: "";
position: absolute;
inset-inline: 0;
bottom: -0.25rem;
height: 2px;
border-radius: 999px;
background: linear-gradient(90deg, var(--accent), var(--accent-purple));
transform-origin: center;
transform: scaleX(0);
transition: transform 0.18s ease;
}

.main-nav a:hover::after {
transform: scaleX(1);
}

.btn-cta {
padding: 0.45rem 1.3rem;
border-radius: var(--radius-pill);
border: 1px solid rgba(67, 232, 255, 0.7);
background: radial-gradient(circle at top left, rgba(67, 232, 255, 0.16), rgba(109, 77, 255, 0.4));
color: var(--text-main);
font-weight: 700;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.menu-btn {
display: none;
flex-direction: column;
gap: 0.25rem;
border: none;
background: transparent;
cursor: pointer;
}

.menu-btn span {
width: 20px;
height: 2px;
border-radius: 999px;
background: var(--text-main);
}

.hero {
  padding-block: 40px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(67, 232, 255, 0.18), transparent 60%), radial-gradient(circle at center right, rgba(109, 77, 255, 0.5), transparent 55%), linear-gradient(145deg, rgba(6, 0, 44, 0.95), rgba(13, 0, 68, 0.96));
  border-radius: 32px;
  border: 1px solid rgba(99, 102, 241, 0.7);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 40px 40px 32px;
  max-width: 1000px;
  margin-inline: auto;
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 10px 28px rgba(67, 232, 255, 0.2);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.eyebrow {
font-size: 0.9rem;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--accent-soft);
margin-bottom: 0.25rem;
}

.sub {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.hero-actions {
margin-top: 1.6rem;
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.7rem 1.7rem;
border-radius: var(--radius-pill);
font-size: 0.9rem;
font-weight: 700;
cursor: pointer;
border: 1px solid transparent;
transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
background: linear-gradient(135deg, var(--accent), var(--accent-purple));
color: #020617;
box-shadow: 0 10px 28px rgba(67, 232, 255, 0.4);
}

.btn.primary:hover {
transform: translateY(-1px);
box-shadow: 0 14px 32px rgba(67, 232, 255, 0.6);
}

.btn.outline {
background: transparent;
border-color: rgba(148, 163, 253, 0.7);
color: var(--accent-soft);
}

.btn.outline:hover {
background: rgba(15, 23, 42, 0.6);
}

.btn.pill {
border-radius: var(--radius-pill);
font-size: 0.85rem;
padding-inline: 1.2rem;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-robot {
  width: min(380px, 100%);
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.9));
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(34, 0, 70, 0.8);
  color: var(--text-main);
  font-size: 0.85rem;
  border: 1px solid rgba(148, 163, 253, 0.6);
  margin-bottom: 0.6rem;
}

.hero-decor {
  position: absolute;
  opacity: 0.9;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
}

.deco-e {
  width: 180px;
  top: 10%;
  left: 30%;
  transform: rotate(-10deg);
}

.deco-joy {
  width: 120px;
  bottom: 8%;
  left: 8%;
  transform: rotate(-8deg);
}

.deco-gameboy {
  width: 130px;
  top: 6%;
  right: 10%;
  transform: rotate(16deg);
}

.hero-title::after {
  display: none;
}

@media (max-width: 880px) {
  .hero-title { font-size: clamp(2.6rem, 6vw, 3.4rem); }
  .hero-robot { width: min(280px, 100%); }
  .deco-e { width: 120px; left: 22%; top: 8%; }
  .deco-joy { width: 90px; left: 6%; }
  .deco-gameboy { width: 100px; right: 8%; }
  .hero-title::after { left: 40%; width: 120px; height: 48px; }
  
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

.about,
.goals,
.details,
.chips,
.partners,
.news,
.success,
.contact {
margin-top: var(--section-gap);
}

.about .lead {
  max-width: none;
  width: 100%;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1.9;
  text-align: center;
}

.about .container {
  display: block;
}

.about {
  padding-block: 56px;
}

.about.glass {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.glass {
background: var(--bg-glass);
border-radius: var(--radius-lg);
border: 1px solid var(--border-soft);
box-shadow: var(--shadow-soft);
padding: 32px 28px;
backdrop-filter: blur(18px);
}

.goals h2,
.details h2,
.chips h2,
.heroes h2,
.partners h2,
.news h2,
.success h2,
.contact h2,
.about h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.partners h2::after {
 content: "";
 display: block;
 width: 120px;
 height: 3px;
 margin: 8px auto 0;
 background: linear-gradient(90deg, var(--accent), transparent);
 border-radius: 999px;
}

.goals h2::after,
.details h2::after,
.chips h2::after,
.heroes h2::after,
.news h2::after,
.success h2::after,
.contact h2::after,
.about h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
}

.about h2::after {
  width: 160px;
  height: 4px;
}

.cards-3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
margin-top: 24px;
}

.goals .cards-3 {
  gap: 24px;
}

.goal-card {
  min-height: 320px;
  border-radius: 32px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  position: relative;
}

.goal-card p {
  max-width: 18rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.goal-title {
  font-size: 1rem;
  font-weight: 800;
}

.goal-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(25, 22, 80, 0.9), rgba(25, 22, 80, 0.75));
  border: 1px solid rgba(148, 163, 253, 0.35);
}

.goal-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: inset 0 0 0 1px rgba(67, 232, 255, 0.18);
  background: radial-gradient(circle at 10% 8%, rgba(67, 232, 255, 0.12), transparent 55%), radial-gradient(circle at 90% 92%, rgba(109, 77, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.goals .goals-decor {
  position: absolute;
  bottom: -20px;
  z-index: 0;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6));
  opacity: 0.95;
  pointer-events: none;
}

.goals .decor-left {
  left: -35px;
  bottom: 20px;
  width: 420px;
  transform: rotate(-18deg);
  z-index: 2;
}

.goals .decor-right {
  right: -40px;
  bottom: 30px;
  width: 360px;
  transform: rotate(16deg);
  z-index: 2;
}

@media (max-width: 780px) {
  .goals .decor-left {
    left: -16px;
    bottom: 12px;
    width: 260px;
    transform: rotate(-14deg);
  }
  .goals .decor-right {
    right: -18px;
    bottom: 14px;
    width: 240px;
    transform: rotate(12deg);
  }
}

.card h3 {
font-size: 1.1rem;
margin-bottom: 0.4rem;
}

.card p {
font-size: 0.9rem;
color: var(--text-muted);
}

.details .split-2,
.success .split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 22px;
}

.detail-card {
  position: relative;
  padding: 26px 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.92));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 0;
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(circle at 12% 12%, rgba(67, 232, 255, 0.12), transparent 52%), radial-gradient(circle at 88% 88%, rgba(109, 77, 255, 0.2), transparent 55%);
  pointer-events: none;
  animation: cardInnerPulse 6s ease-in-out infinite;
}

.detail-card::after { display: none; }

.detail-icon {
  position: relative;
  margin: 0 auto 24px auto;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(25, 22, 80, 0.9), rgba(25, 22, 80, 0.75));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.detail-icon svg {
  width: 40px;
  height: 40px;
}

.detail-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-top: 0;
  text-align: center;
  color: #fff;
}

.detail-points {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
}

.detail-points li {
  position: relative;
  padding-inline-start: 18px;
}

.detail-points li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(67, 232, 255, 0.6);
  animation: dotPulse 1.8s ease-in-out infinite;
}

@media (max-width: 880px) {
  .details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.details .container {
  position: relative;
}

.details-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.details-divider img {
  width: 110px; /* Reduced to half */
  opacity: 0.5; /* Reduced opacity */
  filter: brightness(0.6); /* Reduced brightness */
  transform: rotate(-5deg);
}

@keyframes dividerPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

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

@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(67, 232, 255, 0.45); }
  50% { transform: scale(1.25); box-shadow: 0 0 12px rgba(67, 232, 255, 0.85); }
}

.panel h3 {
font-size: 1.1rem;
margin-bottom: 0.3rem;
}

.panel p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.chips .chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.chips .chip-list li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 253, 0.6);
  background: radial-gradient(circle at top, rgba(67, 232, 255, 0.12), rgba(15, 23, 42, 0.9));
  font-size: 0.85rem;
  color: var(--text-main);
}
.heroes-wall {
  max-width: 1100px;
  margin-inline: auto;
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.heroes-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 253, 0.25);
  border-bottom: 1px solid rgba(148, 163, 253, 0.25);
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.95));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.heroes-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 6% 8%, rgba(67, 232, 255, 0.18), transparent 50%), radial-gradient(circle at 94% 92%, rgba(109, 77, 255, 0.22), transparent 55%);
  pointer-events: none;
}
.heroes-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.heroes-row.stagger {
  padding-inline: 60px;
}

.hero-badge {
  height: 90px;
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.92));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge img {
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8));
}

.hero-badge:hover {
  border-color: rgba(67, 232, 255, 0.6);
  box-shadow: 0 22px 48px rgba(67, 232, 255, 0.22);
}

/* Badges - Flowbite Inspired */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.375rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.badge.rounded-full {
  border-radius: 999px;
}

.badge-blue {
  background-color: rgba(67, 232, 255, 0.1);
  color: #7cf5ff;
  border: 1px solid rgba(67, 232, 255, 0.2);
}

.badge-purple {
  background-color: rgba(109, 77, 255, 0.1);
  color: #c4b5fd;
  border: 1px solid rgba(109, 77, 255, 0.2);
}

.badge-pink {
  background-color: rgba(236, 72, 153, 0.1);
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.badge-green {
  background-color: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-yellow {
  background-color: rgba(234, 179, 8, 0.1);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.badge-dark {
  background-color: rgba(31, 41, 55, 0.4);
  color: #d1d5db;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.badge-lg {
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
}

.content-card {
  margin-bottom: 2rem;
}

.content-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--text-main);
}

.content-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-card ul {
  list-style: none;
  padding-right: 1.5rem;
}

.content-card ul li {
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.content-card ul li::before {
  content: "•";
  position: absolute;
  right: -1.5rem;
  color: var(--accent);
  font-weight: bold;
}


.partners-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 253, 0.25);
  border-bottom: 1px solid rgba(148, 163, 253, 0.25);
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.95));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.partners-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 6% 8%, rgba(67, 232, 255, 0.18), transparent 50%), radial-gradient(circle at 94% 92%, rgba(109, 77, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding-inline: 0;
  width: max-content;
  will-change: transform;
  animation: none;
  flex-wrap: nowrap;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.partners-track.marquee-ready {
  animation: partnersMarquee 3s linear infinite;
}

.partners-seq {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.partners-track img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
  /* White color with glow */
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  opacity: 0.8; /* Slightly muted initially */
}

.partners-track img:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(67, 232, 255, 0.6);
  /* Stronger glow on hover */
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(67, 232, 255, 0.8));
  opacity: 1;
}

@keyframes partnersMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--seq-width, 0px))); }
}

.news-card {
display: flex;
flex-direction: column;
overflow: hidden;
}

.news-card img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 18px;
margin-bottom: 14px;
}

.news-body h3 {
font-size: 1rem;
margin-bottom: 0.35rem;
}

.news-body p {
font-size: 0.88rem;
color: var(--text-muted);
margin-bottom: 0.9rem;
}

.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.news-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 253, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.6);
}

.success .profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.success-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.92));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(circle at 20% 15%, rgba(67, 232, 255, 0.15), transparent 50%), radial-gradient(circle at 85% 80%, rgba(109, 77, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.success-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 232, 255, 0.6);
  box-shadow: 0 28px 56px rgba(67, 232, 255, 0.22);
}

.success-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.success-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.success-media img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 253, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 50% 0%, rgba(67, 232, 255, 0.14), transparent 60%);
}

.success-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
  max-width: 980px;
  margin-inline: auto;
}

.stories-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story-card {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  padding: 24px 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(9, 7, 50, 0.78), rgba(9, 7, 50, 0.92));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  margin-bottom: 0;
  z-index: 1;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 12% 12%, rgba(67, 232, 255, 0.14), transparent 52%), radial-gradient(circle at 88% 85%, rgba(109, 77, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 232, 255, 0.6);
  box-shadow: 0 28px 56px rgba(67, 232, 255, 0.22);
}

.story-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #fff;
}

.story-content p {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.8;
  opacity: 0.9;
}

.story-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-badge {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 22, 80, 0.9), rgba(25, 22, 80, 0.75));
  border: 1px solid rgba(148, 163, 253, 0.35);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-badge img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

@media (max-width: 780px) {
  .success-stories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .success-stories {
    grid-template-columns: 1fr;
  }
}

.success .section-title {
  text-align: center;
}

.profile .avatar {
width: 64px;
height: 64px;
border-radius: 50%;
background: linear-gradient(145deg, var(--accent), var(--accent-purple));
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.success .mini {
margin-top: 0;
}

.contact-form {
margin-top: 24px;
display: flex;
flex-direction: column;
gap: 16px;
}

.grid-2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
border-radius: 14px;
border: 1px solid rgba(148, 163, 253, 0.7);
background: rgba(15, 23, 42, 0.9);
color: var(--text-main);
padding: 0.75rem 0.9rem;
font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
color: rgba(148, 163, 253, 0.8);
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: 2px solid var(--accent);
outline-offset: 1px;
}

.z2h-footer {
margin-top: 72px;
border-top: 1px solid rgba(55, 48, 163, 0.8);
background: radial-gradient(circle at top center, rgba(67, 56, 202, 0.6), rgba(15, 23, 42, 0.96));
}

.footer-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
padding-block: 20px;
font-size: 0.85rem;
color: var(--text-muted);
}

.foot-brand img {
height: 32px;
margin-bottom: 6px;
}

.foot-links {
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 1.2rem;
}

.foot-links a:hover {
  color: var(--accent-soft);
}

@media (max-width: 980px) {
.hero-inner {
grid-template-columns: minmax(0, 1fr);
padding: 28px 22px 26px;
}
.hero-right {
order: -1;
}
.hero-robot {
margin-inline: auto;
}
.cards-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.details .split-2,
.success .split-2 {
grid-template-columns: minmax(0, 1fr);
}
}

@media (max-width: 780px) {
  /* ... existing nav styles ... */
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: linear-gradient(to bottom, rgba(5, 0, 40, 0.97), rgba(5, 0, 40, 0.9));
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }
  


/* Footer remake to match screenshot */
.z2h-footer {
  position: relative;
}

.z2h-footer::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--accent);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  padding-block: 28px;
}

.foot-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.foot-title.accent {
  color: var(--accent-soft);
}

.operator-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 253, 0.25);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.operator-card img {
  height: 30px;
  object-fit: contain;
}

.operator-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(67, 232, 255, 0.35), rgba(67, 232, 255, 0));
  filter: blur(8px);
  pointer-events: none;
  animation: z2hGlow 2.6s ease-in-out infinite;
}

@keyframes z2hGlow {
  0% { opacity: 0.35; }
  50% { opacity: 0.75; }
  100% { opacity: 0.35; }
}

.foot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-list a {
  color: var(--text-main);
  opacity: 0.9;
  font-weight: 700;
  font-size: 0.92rem;
}

.foot-list a:hover {
  color: var(--accent-soft);
  opacity: 1;
}

.footer-col.brand .foot-logo {
  height: 40px;
  margin-bottom: 10px;
}

.foot-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

.foot-underline {
  display: block;
  margin-top: 12px;
  height: 2px;
  width: 140px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 999px;
  opacity: 0.9;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 0 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.foot-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(148, 163, 253, 0.1);
  border: 1px solid rgba(148, 163, 253, 0.35);
  color: var(--text-muted);
  font-weight: 800;
  text-transform: lowercase;
}

.social-btn:hover {
  background: rgba(148, 163, 253, 0.2);
  color: var(--text-main);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-col.brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.main-nav.is-open {
transform: scaleY(1);
opacity: 1;
pointer-events: auto;
}
.menu-btn {
display: flex;
}
.header-inner {
padding-block: 0.7rem;
}
.section {
padding-block: 44px;
}
.about,
.goals,
.details,
.chips,
.partners,
.news,
.success,
.contact {
margin-top: 56px;
}
.cards-3 {
grid-template-columns: minmax(0, 1fr);
}
.grid-2 {
grid-template-columns: minmax(0, 1fr);
}
.footer-inner {
flex-direction: column;
align-items: flex-start;
}
}

/* Footer layout override to match design */
.z2h-footer {
  margin-top: 120px;
  background: #090037;
  border-top: 6px solid var(--accent);
  position: relative;
}

.z2h-footer::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--accent);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: flex-start;
  justify-items: end;
  padding-block: 32px 24px;
  color: var(--text-main);
  text-align: right;
  direction: rtl;
}

.foot-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.foot-title.accent {
  color: var(--accent-soft);
}

.operator-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(2, 6, 23, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 253, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.operator-card img {
  height: 26px;
  object-fit: contain;
}

.operator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.operator-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(67, 232, 255, 0.3), rgba(67, 232, 255, 0));
  filter: blur(8px);
  pointer-events: none;
  animation: z2hGlow 3s ease-in-out infinite;
}

.foot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.foot-list a {
  color: var(--text-main);
  font-weight: 700;
}

.foot-list a:hover {
  color: var(--accent-soft);
}

.footer-col.brand .foot-logo {
  height: 40px;
  margin-bottom: 10px;
  display: block;
  align-self: center;
}

.footer-col.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  justify-self: end;
  text-align: center;
}

.footer-col {
  text-align: right;
}

.footer-col.quick-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  text-align: center;
}

.footer-col.quick-links .foot-title {
  text-align: center;
}

.footer-col.quick-links .foot-list.two-cols {
  justify-items: center;
}

.footer-col.quick-links .foot-list.two-cols li,
.footer-col.quick-links .foot-list.two-cols a {
  text-align: center;
}

.footer-col.operator {
  justify-self: start;
}

.foot-desc {
  max-width: 34rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: justify;
  text-align-last: justify;
}

.section-title {
  text-align: center;
}

.foot-underline {
  display: block;
  margin-top: 10px;
  height: 2px;
  width: 180px;
  background: rgba(67, 232, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(67, 232, 255, 0.35);
  align-self: flex-end;
}

.foot-bottom {
  border-top: 1px solid rgba(55, 48, 163, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 10px 0 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.foot-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 253, 0.6);
  background: radial-gradient(circle at top, rgba(67, 232, 255, 0.12), rgba(15, 23, 42, 0.92));
  color: var(--text-muted);
  font-weight: 800;
  text-transform: lowercase;
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.12s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  position: relative;
  box-shadow: 0 0 12px rgba(67, 232, 255, 0.25);
}

.social-btn::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  right: 8px;
  height: 40%;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.social-btn:hover {
  color: var(--text-main);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(67, 232, 255, 0.55);
  background: radial-gradient(circle at top, rgba(67, 232, 255, 0.22), rgba(15, 23, 42, 0.95));
  transform: translateY(-1px);
}

.social-btn:active {
  box-shadow: 0 0 18px rgba(67, 232, 255, 0.75);
  transform: translateY(0);
}

.foot-social.under-brand {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.foot-social.under-brand::before {
  content: "";
  position: absolute;
  right: 0;
  top: -12px;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, rgba(148, 163, 253, 0.1), rgba(67, 232, 255, 0.7), rgba(148, 163, 253, 0.1));
  border-radius: 999px;
}

.foot-bottom.center-copy .copy {
  text-align: center;
  width: 100%;
}

.foot-bottom.center-copy {
  position: relative;
  padding-top: 22px;
}

.foot-bottom.center-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(148, 163, 253, 0.15), rgba(67, 232, 255, 0.55), rgba(148, 163, 253, 0.15));
  border-radius: 999px;
}

.footer-mascot {
  position: absolute;
  top: var(--mascot-top);
  left: 20%;
  transform: translateX(calc(-40% + var(--mascot-offset-x)));
  z-index: 0;
  pointer-events: none;
}

.footer-mascot img {
  width: var(--mascot-size);
  max-width: 400vw;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
  clip-path: inset(0 0 var(--mascot-clip-bottom) 0);
}

.foot-list.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: 32px;
  justify-items: end;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-col.brand {
    grid-column: 1 / -1;
  }
  :root {
    --mascot-size: 84px;
    --mascot-top: -46px;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  :root {
    --mascot-size: 72px;
    --mascot-top: -36px;
  }
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at top, var(--accent-soft), var(--accent));
  color: #020617;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.back-to-top.is-visible {
  display: flex;
}

/* --- FAQ / Accordion Styles --- */
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq-category h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  border-right: 4px solid var(--accent-purple);
  padding-right: 1rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid rgba(124, 245, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(15, 0, 60, 0.4);
}

.accordion-item:hover {
  border-color: var(--accent-soft);
  background: rgba(15, 0, 60, 0.6);
}

.accordion-item.is-open {
  background: rgba(15, 0, 60, 0.8);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-trigger .icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-soft);
  transition: transform 0.3s ease;
  margin-right: 1rem; /* Adjust for RTL if needed, but flex space-between handles it mostly */
}

/* Rotate icon when open */
.accordion-trigger[aria-expanded="true"] .icon {
  transform: rotate(45deg); /* For a plus icon turning into X */
  color: var(--accent);
}

.accordion-panel {
  display: grid; 
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  padding: 0 1.5rem;
}

.accordion-panel[hidden] {
  display: none; /* Fallback */
}

/* Logic for smooth animation using grid */
.accordion-panel > div {
  overflow: hidden;
}

.accordion-trigger[aria-expanded="true"] + .accordion-panel {
  grid-template-rows: 1fr;
  padding-bottom: 1.25rem;
  display: grid;
}

.accordion-panel p {
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  font-size: 0.88rem;
  text-align: right;
  word-spacing: normal;
  letter-spacing: normal;
}

/* --- Subpage Decoration & FAQ Improvements --- */

/* Subpage Decor Container */
.subpage-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.subpage-decor .hero-decor {
  position: absolute;
  opacity: 0.4;
  animation: floatY 5s ease-in-out infinite;
}

.subpage-decor .deco-1 {
  top: -20px;
  left: 5%;
  width: 70px;
  animation-delay: 0s;
  transform: rotate(-15deg);
}

.subpage-decor .deco-2 {
  top: 15%;
  right: 2%;
  width: 90px;
  animation-delay: 2s;
  transform: rotate(15deg);
}

.subpage-decor .deco-3 {
  bottom: 10%;
  left: 8%;
  width: 60px;
  animation-delay: 3.5s;
  transform: rotate(-10deg);
}

/* Ensure sections have relative positioning for absolute children */
.section {
  position: relative;
}

/* Improved FAQ Grid Layout */
.faq-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 100%;
}

.faq-category {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 253, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: right;
}

.faq-category:hover {
  border-color: rgba(67, 232, 255, 0.3);
  transform: translateY(-2px);
}

.faq-category h3 {
  border-right: none !important; /* Remove old border */
  border-bottom: 1px solid rgba(148, 163, 253, 0.2);
  padding-bottom: 1rem;
  padding-right: 0 !important;
  margin-bottom: 1.5rem;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure content is above decoration */
.section .container {
  position: relative;
  z-index: 2;
}
.goals-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 780px) {
  .goals-wrapper {
    flex-direction: column;
  }
  .goals-nav {
    display: none;
  }
}

.goals .cards-3 {
  align-items: center; /* Center cards vertically */
}

/* Middle Card Styling */
.goals .goal-card:nth-child(2) {
  min-height: 380px; /* Taller than others (default 320px) */
  background: linear-gradient(145deg, rgba(25, 22, 80, 0.95), rgba(25, 22, 80, 0.85));
  border-color: rgba(148, 163, 253, 0.6);
  z-index: 2;
  transform: scale(1.05); /* Slight scale up */
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(67, 232, 255, 0.2);
}

.goals .goal-card:nth-child(2) .goal-icon {
  background: linear-gradient(145deg, rgba(67, 232, 255, 0.2), rgba(25, 22, 80, 0.9));
  border-color: rgba(67, 232, 255, 0.5);
  box-shadow: 0 0 15px rgba(67, 232, 255, 0.3);
}

/* Navigation Arrows */
.goals-nav {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

/* Responsive Utilities */
.flex-center-responsive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.flex-between-responsive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-gap-responsive {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.flex-wrap-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Layout --- */

.goals-nav:hover {
  opacity: 1;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px var(--accent));
}

.goals-nav svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

@media (max-width: 900px) {
  .goals-wrapper {
    flex-direction: column;
  }
  .goals-nav {
    display: none;
  }
  .goals .cards-3 {
    grid-template-columns: 1fr;
  }
  .goals .goal-card:nth-child(2) {
    transform: none;
    min-height: 320px;
  }
}

/* --- Final Responsive Fixes for Mobile & Tablet (Overrides) --- */
@media (max-width: 980px) {
  /* Footer Fixes - Force Stacked Layout on Tablet/Mobile */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 40px !important;
    position: relative;
    z-index: 2;
    height: auto !important;
  }
  .footer-col {
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
    align-items: center;
    text-align: center;
    justify-content: center;
    grid-column: auto !important;
    margin-bottom: 0 !important;
  }
  .footer-col.brand {
    margin-bottom: 20px !important;
  }
  .footer-col.operator {
    display: flex;
    flex-direction: column;
    justify-self: center !important;
  }
  .foot-desc {
    text-align: center !important;
    text-align-last: center !important;
    max-width: 100%;
    padding-inline: 1rem;
    position: relative;
    z-index: 2;
  }
  .foot-underline {
    margin-inline: auto;
    align-self: center !important;
  }
  .foot-social.under-brand {
    justify-content: center;
    width: 100%;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 50px;
    display: flex !important;
  }
  .foot-social.under-brand::before {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    top: -20px;
    width: 80%;
    max-width: 200px;
  }
  .foot-list.two-cols {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  .foot-list.two-cols li {
    width: 100%;
    text-align: center;
  }
  .footer-mascot {
    opacity: 0.15;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
  }
  .footer-mascot img {
    width: 120px;
    max-width: 100%;
  }

  /* Partners Fixes */
  .partners-track {
    flex-wrap: wrap;
    gap: 20px;
    padding-inline: 16px;
    justify-content: center;
  }
  .partners-track img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
  }

  /* Heroes Fixes */
  .heroes-wall {
    padding-inline: 16px;
    gap: 16px;
  }
  .heroes-row {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .heroes-row.stagger {
    padding-inline: 0;
  }
  .hero-badge {
    min-width: 0;
    width: calc(50% - 10px);
    height: auto;
    padding: 10px;
    aspect-ratio: 2/1;
  }
  .hero-badge img {
    height: 32px;
  }
}
