@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;900&display=swap');

:root {
  --color-bg:          #0a0f1e;   /* deep navy background */
  --color-surface:     #111827;   /* card/section background */
  --color-surface-2:   #1a2235;   /* elevated surface */
  --color-border:      #1e2d45;   /* subtle borders */
  --color-primary:     #2563eb;   /* electric blue — main CTA */
  --color-primary-h:   #1d4ed8;   /* hover */
  --color-accent:      #0ea5e9;   /* sky blue — highlights */
  --color-whatsapp:    #25d366;   /* WhatsApp green */
  --color-text-1:      #f1f5f9;   /* primary text */
  --color-text-2:      #94a3b8;   /* secondary text */
  --color-text-3:      #64748b;   /* muted text */
  --color-success:     #10b981;
  --color-warning:     #f59e0b;
  --color-danger:      #ef4444;

  --font-display: 'Cairo', sans-serif;
  --font-body:    'Tajawal', sans-serif;

  /* Scale */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-4xl:  48px;

  /* Spacing */
  --space-1: 8px;   --space-2: 16px;  --space-3: 24px;
  --space-4: 32px;  --space-5: 40px;  --space-6: 48px;
  --space-8: 64px;  --space-10: 80px; --space-12: 96px;

  --radius-sm: 6px;   --radius-md: 10px;
  --radius-lg: 14px;  --radius-xl: 20px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-1);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-1);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.section {
  padding: var(--space-8) 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Topbar */
.topbar {
  background: var(--color-surface);
  color: var(--color-text-2);
  padding: var(--space-1) var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  position: relative;
}

.topbar-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.topbar a {
  color: var(--color-text-1);
}

.topbar a:hover {
  color: var(--color-accent);
}

.wa-btn {
  background: var(--color-whatsapp);
  color: #fff !important;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Main Navigation */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-1);
  line-height: 1.1;
}

.logo-text span:last-child {
  font-size: 10px;
  color: var(--color-text-3);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-2);
  align-items: center;
}

.nav-menu a {
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--color-text-1);
  background: var(--color-surface-2);
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-cta:hover {
  background: var(--color-primary-h);
  transform: translateY(-1px);
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  list-style: none;
  min-width: 200px;
  padding: var(--space-1) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text-2);
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--color-surface-2);
  color: var(--color-text-1);
}

/* Mobile burger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Navigation Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--color-surface);
  z-index: 101;
  padding: var(--space-4) var(--space-2);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.mobile-menu-close {
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text-1);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  overflow-y: auto;
}

.mobile-menu-links a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-2);
  border-radius: var(--radius-sm);
}

.mobile-menu-links a:hover, .mobile-menu-links a.active {
  color: var(--color-text-1);
  background: var(--color-surface-2);
}

.mobile-menu-divider {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  padding: var(--space-1) 16px 4px;
}

/* Breadcrumb */
.breadcrumbs {
  background: var(--color-surface);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.breadcrumbs li:not(:last-child)::after {
  content: "»";
  color: var(--color-text-3);
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--color-text-2);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs li:last-child {
  color: var(--color-text-1);
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(85vh - 80px);
  display: flex;
  align-items: center;
  padding: var(--space-6) 0;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4);
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-2);
}

.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  margin-bottom: var(--space-2);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero p {
  color: var(--color-text-2);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: var(--color-primary-h);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-surface-2);
  color: var(--color-text-1);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: var(--space-4);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat span:first-child {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-accent);
}

.hero-stat span:last-child {
  color: var(--color-text-3);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* Image Slider inside Hero */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent, rgba(10,15,30,0.9));
  padding: var(--space-2);
  color: #fff;
}

/* Partner Logo Strip */
.brands-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-2) 0;
}

.brands-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  gap: var(--space-3);
  padding-bottom: 5px;
}

.brands-label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
}

.brand-pills {
  display: flex;
  gap: var(--space-1);
}

.brand-pill {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.brand-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-text-1);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4) auto;
}

.section-tag {
  display: inline-block;
  background: rgba(14, 165, 233, 0.15);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-1);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.section-title span {
  color: var(--color-primary);
}

.section-desc {
  color: var(--color-text-2);
  font-size: var(--text-base);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.service-icon {
  font-size: 36px;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.service-card p {
  color: var(--color-text-2);
  font-size: var(--text-sm);
  flex-grow: 1;
}

.service-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.service-bullet-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

.service-bullet-list li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
}

.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
}

/* Product grid & Filter Tabs */
.product-tabs-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-2);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface-2);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-info-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 15, 30, 0.8);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

.product-card-body {
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex-grow: 1;
}

.product-brand {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
}

.product-card-body h3 {
  font-size: var(--text-base);
  font-weight: 700;
}

.product-short-desc {
  color: var(--color-text-2);
  font-size: var(--text-sm);
  flex-grow: 1;
}

.product-specs-preview {
  list-style: none;
  font-size: var(--text-xs);
  color: var(--color-text-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-1);
}

.product-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2) var(--space-2) var(--space-2);
  border-top: 1px solid var(--color-border);
}

.product-btn-detail {
  background: var(--color-surface-2);
  color: var(--color-text-1);
  border: 1px solid var(--color-border);
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
}

.product-btn-detail:hover {
  background: var(--color-surface);
}

.product-btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-btn-whatsapp:hover {
  opacity: 0.9;
}

/* Why Choose Us features list */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4);
  align-items: center;
}

.features-visuals {
  position: relative;
  height: 450px;
}

.feature-img-stack {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.feature-img-stack:nth-child(1) {
  width: 70%;
  height: 300px;
  top: 0;
  right: 0;
  z-index: 2;
}

.feature-img-stack:nth-child(2) {
  width: 60%;
  height: 250px;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.feature-img-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--color-accent);
}

.feature-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
}

.feature-card p {
  color: var(--color-text-2);
  font-size: var(--text-sm);
}

/* Projects Showcase */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2);
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--color-border);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 0%, rgba(10, 15, 30, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2);
  color: #fff;
}

.project-overlay h4 {
  font-size: var(--text-base);
  font-weight: 700;
}

.project-overlay p {
  font-size: var(--text-xs);
  color: var(--color-text-2);
}

/* Dynamic FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.faq-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text-1);
  gap: var(--space-2);
}

.faq-trigger:hover {
  background: var(--color-surface-2);
}

.faq-icon-arrow {
  color: var(--color-accent);
  transition: var(--transition);
  font-weight: 300;
  font-size: 20px;
}

.faq-card[open] .faq-icon-arrow {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 20px 24px;
  color: var(--color-text-2);
  font-size: var(--text-sm);
  border-top: 1px solid transparent;
}

/* Reviews Clean CTA Section */
.reviews-cta-section {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.reviews-cta-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: center;
}

.reviews-cta-card h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.reviews-cta-card p {
  color: var(--color-text-2);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

/* Footer style */
footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) 0 var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand p {
  line-height: 1.8;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: var(--space-1);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  display: grid;
  place-items: center;
  color: var(--color-text-1);
  border: 1px solid var(--color-border);
}

.footer-social-link:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text-1);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}

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

.footer-links a {
  color: var(--color-text-2);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-inline-start: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-text-3);
  font-size: var(--text-xs);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  animation: pulse-wa 2s infinite;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37,211,102,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }
}

/* Inner pages: About page & value cards */
.about-hero {
  text-align: center;
  padding: var(--space-6) 0;
  background: linear-gradient(rgba(10, 15, 30, 0.8), rgba(10, 15, 30, 0.8)), url('../assets/hik-colorvu-cameras.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--color-border);
}

.about-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.about-intro-text p {
  color: var(--color-text-2);
  font-size: var(--text-base);
  line-height: 1.8;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.about-value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: center;
}

.about-value-icon {
  font-size: 32px;
  color: var(--color-accent);
}

.about-value-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
}

.about-value-card p {
  color: var(--color-text-2);
  font-size: var(--text-sm);
}

/* Contact page elements */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-text h4 {
  font-size: var(--text-base);
  font-weight: 700;
}

.contact-info-text p, .contact-info-text a {
  color: var(--color-text-2);
  font-size: var(--text-sm);
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  height: 450px;
}

/* Product Detail Page styling */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-main-img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-2);
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-specs-table th, .product-specs-table td {
  padding: 14px 20px;
  text-align: right;
  font-size: var(--text-sm);
}

.product-specs-table th {
  background: var(--color-surface-2);
  color: var(--color-text-1);
  font-weight: 700;
  width: 30%;
  border-left: 1px solid var(--color-border);
}

.product-specs-table td {
  background: var(--color-surface);
  color: var(--color-text-2);
}

.product-specs-table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.product-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-detail-content h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.product-detail-desc {
  color: var(--color-text-2);
  font-size: var(--text-base);
  line-height: 1.8;
}

.product-features-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-features-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

.product-features-checklist li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: 800;
}

/* Service Detail subpages */
.service-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.service-intro-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.service-details-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-2);
}

.service-details-checklist li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: var(--text-sm);
  color: var(--color-text-2);
  display: flex;
  gap: var(--space-1);
}

.service-details-checklist li strong {
  color: var(--color-text-1);
  display: block;
}

/* Blog index and detail */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-2);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-2);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: var(--text-xs);
  color: var(--color-text-3);
}

.blog-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
}

.blog-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.6;
  flex-grow: 1;
}

.blog-card-footer {
  padding: var(--space-1) var(--space-2) var(--space-2) var(--space-2);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-read-more {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-accent);
}

/* Blog detail post layout */
.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.blog-post-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.blog-post-header h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
}

.blog-post-featured-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
}

.blog-post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  font-size: var(--text-base);
  color: var(--color-text-2);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.blog-post-content h2, .blog-post-content h3 {
  color: var(--color-text-1);
  margin-top: var(--space-1);
}

.blog-post-content ul, .blog-post-content ol {
  margin-inline-start: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 404 page */
.error-page {
  text-align: center;
  padding: var(--space-12) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.error-code {
  font-size: 100px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.error-page h2 {
  font-size: var(--text-2xl);
}

.error-page p {
  color: var(--color-text-2);
  max-width: 500px;
  margin-bottom: var(--space-2);
}

/* Response controls for all devices */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .hero-slider-wrap {
    height: 300px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-intro-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 32px;
    --text-3xl: 26px;
    --text-2xl: 22px;
    --text-xl: 18px;
  }
  .topbar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .main-nav {
    height: 70px;
  }
  .features-split {
    grid-template-columns: 1fr;
  }
  .features-visuals {
    display: none;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .product-features-checklist {
    grid-template-columns: 1fr;
  }
}

/* ===== Cart & Nav Actions ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 22px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-cart-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-red, #dc2626);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.product-price-display {
  margin: 16px 0;
  padding: 16px;
  background: var(--color-surface-2, #f8fafc);
  border-radius: var(--radius, 12px);
  border: 1px solid var(--color-border, #e2e8f0);
}

.product-price-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-red, #dc2626);
}

.product-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.product-price-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
  margin-top: 4px;
}

.product-btn-cart:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-cart-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}
