/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ================= VARIABLES ================= */
:root {
  --primary: #e6324b;
  --primary-glow: rgba(230, 50, 75, 0.25);
  --dark: #0a0a0a;
  --surface: #111113;
  --surface-light: #18181b;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e0e0e0;
  --text-muted: #999;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ================= GLOBAL ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 90px 0;
}

.section.light {
  background: var(--surface);
}

h1,
h2,
h3 {
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h2 {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 10px;
  max-width: 1400px;
  width: 95%;
  margin: auto;
}

.logo {
  margin-bottom: 8px;
}

.logo img {
  height: 80px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

nav a.active {
  color: var(--primary);
  background: rgba(230, 50, 75, 0.1);
}

.btn-shop {
  background: transparent !important;
  color: var(--primary) !important;
  padding: 7px 18px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border: 1.5px solid var(--primary) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.btn-shop:hover {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px var(--primary-glow);
}

.btn-nav:hover {
  background: #ff4d63 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--primary-glow);
}

/* ================= MOBILE MENU ================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 8px;
  transition: background 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.70) 60%,
      rgba(10, 10, 10, 1) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 700px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.btn-main {
  background: var(--primary);
  color: #fff;
  padding: 14px 38px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-main:hover {
  background: #ff4d63;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-box {
  background: var(--surface-light);
  padding: 28px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-box li {
  margin-bottom: 12px;
  list-style: none;
  color: var(--text);
  font-size: 15px;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface-light);
  padding: 32px;
  border-radius: var(--radius);
  transition: all 0.35s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 50, 75, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  background: var(--primary);
}

.card h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

.card ul {
  list-style: none;
}

.card li {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

/* ================= IMAGES ================= */
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.local-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.local-images img {
  transition: transform 0.3s ease;
}

.local-images img:hover {
  transform: scale(1.02);
}

/* ================= PARTNERS ================= */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
}

.partners img {
  filter: grayscale(0.3) brightness(0.9);
  transition: all 0.3s ease;
  padding: 8px;
}

.partners img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}

/* ================= DISTRIBUTION / FLEET ================= */
.distribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.fleet-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================= COVERAGE SECTION ================= */

/* Summary Stat Cards */
.coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, rgba(230, 50, 75, 0.08) 0%, rgba(230, 50, 75, 0.02) 100%);
  border: 1px solid rgba(230, 50, 75, 0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(230, 50, 75, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(230, 50, 75, 0.1);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Table Wrapper */
.coverage-table-wrapper {
  background: var(--surface-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Table Header */
.coverage-table-header {
  display: grid;
  grid-template-columns: 56px 1fr 1.5fr 90px;
  align-items: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #c41e3a 100%);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.cth-count {
  text-align: right;
}

/* Table Body */
.coverage-table-body {
  max-height: 620px;
  overflow-y: auto;
}

/* Custom Scrollbar */
.coverage-table-body::-webkit-scrollbar {
  width: 6px;
}

.coverage-table-body::-webkit-scrollbar-track {
  background: transparent;
}

.coverage-table-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.coverage-table-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Table Row */
.coverage-row {
  display: grid;
  grid-template-columns: 56px 1fr 1.5fr 90px;
  align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
  position: relative;
}

.coverage-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.25s ease;
  border-radius: 0 2px 2px 0;
}

.coverage-row:hover {
  background: rgba(230, 50, 75, 0.04);
}

.coverage-row:hover::before {
  background: var(--primary);
}

.coverage-row:last-child {
  border-bottom: none;
}

/* Rank Badge */
.cr-rank {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.coverage-row:nth-child(1) .cr-rank {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

.coverage-row:nth-child(2) .cr-rank {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
  color: #c0c0c0;
  border-color: rgba(192, 192, 192, 0.3);
}

.coverage-row:nth-child(3) .cr-rank {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
  color: #cd7f32;
  border-color: rgba(205, 127, 50, 0.3);
}

/* Governorate Name */
.cr-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

/* Progress Bar */
.cr-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 16px;
}

.cr-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff6b7a 100%);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.cr-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: barShine 2.5s ease-in-out infinite;
}

@keyframes barShine {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

/* Outlet Count */
.cr-count {
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Responsive Coverage */
@media (max-width: 700px) {
  .coverage-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .stat-number {
    font-size: 24px;
    margin-bottom: 0;
    order: 2;
  }

  .stat-label {
    order: 1;
  }

  .coverage-table-header,
  .coverage-row {
    grid-template-columns: 40px 1fr 70px;
  }

  .cth-bar,
  .cr-bar {
    display: none;
  }

  .coverage-table-header {
    padding: 12px 16px;
  }

  .coverage-row {
    padding: 11px 16px;
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  background: var(--dark);
  text-align: center;
}

.contact-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  text-decoration: none;
  display: block;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  cursor: pointer;
}

.contact-card:hover {
  border-color: rgba(230, 50, 75, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 50, 75, 0.12), rgba(230, 50, 75, 0.04));
  border: 1px solid rgba(230, 50, 75, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: var(--primary);
  transition: all 0.35s ease;
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-arrow {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(4px);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

/* ================= FOOTER ================= */
.site-footer {
  background: #030305;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 72px 0 56px;
}

.footer-logo {
  height: 55px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 24px;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Footer Columns */
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 14px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Footer Contact List */
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-contact-list li i {
  color: var(--primary);
  font-size: 14px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-list a:hover {
  color: var(--primary);
  transform: none;
}

.footer-contact-list span {
  color: var(--text-muted);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s ease;
}

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

/* Footer Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 0 40px;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ================= SCROLL ANIMATIONS ================= */
.section {
  animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ================= RESPONSIVE ================= */

/* Large screens – shrink nav further if needed */
@media(max-width: 1300px) {
  nav a {
    font-size: 12px;
    padding: 5px 7px;
  }

  nav ul {
    gap: 3px;
  }
}

@media(max-width: 1100px) {
  nav a {
    font-size: 11.5px;
    padding: 5px 6px;
  }

  nav ul {
    gap: 2px;
  }
}

@media(max-width: 1000px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 0;
  }

  .logo {
    margin-bottom: 0;
  }

  .logo img {
    height: 55px;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    display: none;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    font-size: 15px;
    padding: 10px 14px;
    display: block;
    border-radius: 10px;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .btn-nav {
    text-align: center !important;
    margin-top: 8px;
  }
}

@media(max-width: 900px) {

  .about-grid,
  .distribution-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

@media(max-width: 500px) {
  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 28px;
  }
}