/* =============================================
   CONCEPT HUB - MAIN STYLESHEET
   Arabic RTL | Modern Tech Design
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1a3fa6;
  --primary-light: #2a56d6;
  --primary-dark: #0f2878;
  --accent: #00c97a;
  --accent-dark: #00a862;
  --teal: #0eb8c4;
  --purple: #7c3aed;
  --orange: #f59e0b;
  --blue2: #3b82f6;

  --white: #ffffff;
  --bg: #f8fafd;
  --bg-2: #f0f4ff;
  --dark: #0a1628;
  --dark-2: #0f2248;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: rgba(26,63,166,0.12);

  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--teal) 100%);
  --gradient-green: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  --glass: rgba(255,255,255,0.1);

  --shadow-sm: 0 2px 12px rgba(26,63,166,0.08);
  --shadow-md: 0 8px 32px rgba(26,63,166,0.12);
  --shadow-lg: 0 20px 60px rgba(26,63,166,0.18);
  --shadow-glow: 0 0 40px rgba(26,63,166,0.3);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --font: 'Cairo', 'Tajawal', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utilities ---------- */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 100px; position: relative; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-green {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,63,166,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26,63,166,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-3px);
}
.btn-glass {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}
.btn-large { padding: 18px 40px; font-size: 1.1rem; }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(26,63,166,0.08), rgba(0,201,122,0.08));
  border: 1px solid rgba(26,63,166,0.15);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.section-tag--light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: white;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-title--light { color: white; }
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin-inline: auto;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
}
.animate-fade-up.visible {
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo-concept { color: rgba(255,255,255,0.95); }
.logo-hub {
  color: var(--accent);
  margin-right: 2px;
}
.navbar.scrolled .logo-concept { color: var(--primary-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}
.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}
.nav-cta {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 55, 0.88) 0%,
    rgba(15, 34, 72, 0.82) 40%,
    rgba(26, 63, 166, 0.55) 100%
  );
}
/* Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-block: 140px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,122,0.2);
  border: 1.5px solid rgba(0,201,122,0.4);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-brand {
  display: block;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-subtitle-ar {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
}
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 32px;
  gap: 4px;
}
.stat-item:first-child { padding-right: 0; }
.stat-item:last-child { padding-left: 0; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-plus { font-size: 1.5rem; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--bg); overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img { height: 500px; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.about-float-card {
  position: absolute;
  top: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}
.about-float-card i {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-float-card div { display: flex; flex-direction: column; gap: 2px; }
.about-float-card strong { font-size: 0.95rem; }
.about-float-card span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.about-content { }
.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}
.about-text strong { color: var(--primary); }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.97rem;
  font-weight: 500;
  transition: var(--transition);
}
.about-feature:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(-4px);
}
.feature-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--gradient);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(26,63,166,0.12), rgba(26,63,166,0.06));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon--green { background: linear-gradient(135deg, rgba(0,201,122,0.12), rgba(0,201,122,0.06)); color: var(--accent-dark); }
.service-icon--purple { background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(124,58,237,0.06)); color: var(--purple); }
.service-icon--teal { background: linear-gradient(135deg, rgba(14,184,196,0.12), rgba(14,184,196,0.06)); color: var(--teal); }
.service-icon--orange { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.06)); color: var(--orange); }
.service-icon--blue2 { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.06)); color: var(--blue2); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-desc { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; }
.service-arrow {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

.services-image-row {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
}
.services-img { height: 100%; object-fit: cover; }
.services-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,55,0.7) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.services-quote {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}
.services-quote i { font-size: 2rem; color: var(--accent); }
.services-quote p { font-size: 1.4rem; font-weight: 700; }

/* =============================================
   COMMUNITY
   ============================================= */
.community {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a3fa6 100%);
  overflow: hidden;
}
.community::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,201,122,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.community-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
  line-height: 1.9;
}
.community-text strong { color: var(--accent); }
.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.tag:hover { background: rgba(0,201,122,0.2); border-color: var(--accent); color: var(--accent); }
.community-image-wrap {
  position: relative;
}
.community-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}
.community-img { height: 480px; object-fit: cover; }
.community-float-1,
.community-float-2 {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  animation: float-card 4s ease-in-out infinite;
}
.community-float-1 { top: -18px; right: -18px; }
.community-float-2 { bottom: 24px; left: -24px; animation-delay: 2s; }
.community-float-1 i { color: var(--primary); font-size: 1.1rem; }
.community-float-2 i { color: #ef4444; font-size: 1.1rem; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================
   WHY SECTION
   ============================================= */
.why { background: var(--bg-2); }
.why-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,63,166,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,63,166,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: var(--radius-md);
}
.why-card:hover::after { opacity: 1; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover .why-number,
.why-card:hover h3,
.why-card:hover p { color: white; position: relative; z-index: 1; }
.why-card:hover .why-icon { background: rgba(255,255,255,0.2); color: white; position: relative; z-index: 1; }
.why-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(26,63,166,0.08);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
  font-variant-numeric: tabular-nums;
}
.why-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(26,63,166,0.1), rgba(26,63,166,0.05));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.why-icon--green { background: linear-gradient(135deg, rgba(0,201,122,0.1), rgba(0,201,122,0.05)); color: var(--accent-dark); }
.why-icon--teal { background: linear-gradient(135deg, rgba(14,184,196,0.1), rgba(14,184,196,0.05)); color: var(--teal); }
.why-icon--purple { background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(124,58,237,0.05)); color: var(--purple); }
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* =============================================
   CTA
   ============================================= */
.cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, var(--primary-dark) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.cta-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-light);
  top: -200px;
  right: -100px;
}
.cta-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -200px;
  left: -50px;
}
.cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin-inline: auto; }
.cta-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  margin: 0 auto 28px;
  animation: pulse-ring 3s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,201,122,0.15); }
  50% { box-shadow: 0 0 0 20px rgba(0,201,122,0); }
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.3;
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-item i { color: var(--accent); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: white;
  padding-block: 70px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo { margin-bottom: 16px; display: inline-block; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-3px); }
.social-link--wa:hover { background: #25d366; border-color: #25d366; }
.social-link--twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links li a:hover { color: var(--accent); padding-right: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-made { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.heart { color: #ef4444; animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding-block: 70px; }
  .hero-content { padding-block: 120px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; padding: 20px 24px; }
  .stat-item { padding-inline: 16px; }
  .stat-divider { display: none; }

  .about-grid,
  .community-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { height: 300px; }
  .community-img { height: 320px; }
  .about-float-card { top: -10px; left: -10px; }
  .community-image-wrap { order: -1; }

  .services-grid { grid-template-columns: 1fr; }
  .services-image-row { height: 260px; }

  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    transition: var(--transition);
  }
  .nav-links.open { display: flex; }
  .nav-link, .nav-cta {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: rgba(255,255,255,0.85) !important;
  }
  .navbar.scrolled .nav-link { color: rgba(255,255,255,0.85) !important; }
  .nav-cta { background: var(--accent); color: var(--dark) !important; margin-top: 12px; }
  .nav-toggle { display: flex; }

  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-trust { gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero-brand { font-size: 2.8rem; }
  .hero-subtitle-ar { font-size: 1.3rem; }
  .community-float-1 { top: -10px; right: -8px; }
  .community-float-2 { bottom: 16px; left: -8px; }
}
