/* ===================================================
   ARQAN BRICKS - أركان بريكس
   Professional Red Brick Supplier - Egypt
   =================================================== */

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

/* =================== CSS VARIABLES =================== */
:root {
  --red-900: #7B0D0D;
  --red-800: #9B1515;
  --red-700: #B91C1C;
  --red-600: #C8282B;
  --red-500: #D93025;
  --red-400: #E05252;
  --red-300: #F08080;
  --red-100: #FEE2E2;
  --red-50:  #FFF5F5;

  --brick-warm: #C0392B;
  --brick-dark: #8B2020;
  --brick-light: #E55A4F;

  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F8F8F8;
  --gray-100: #F1F1F1;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  --font-primary: 'Cairo', 'Tajawal', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-red: 0 8px 30px rgba(185,28,28,0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  direction: rtl;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  border-bottom-color: var(--red-100);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

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

.logo-text .ar {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red-700);
}

.logo-text .en {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu-header {
  display: none; /* Hidden on desktop */
}

.nav-menu-body {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(185,28,28,0.35);
}

.nav-cta::after { display: none !important; }

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================== HERO SECTION =================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bricks.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(123,13,13,0.90) 0%,
    rgba(40,10,10,0.75) 50%,
    rgba(20,5,5,0.85) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.02) 30px,
      rgba(255,255,255,0.02) 32px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFD0C8;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #FF6B6B;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: #FF8F7B;
  position: relative;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #D93025, #9B1515);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-primary);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(217,48,37,0.40);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(217,48,37,0.50);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border: 2px solid rgba(255,255,255,0.40);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FF8F7B;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
}

.hero-image-side {
  position: relative;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
}

.hero-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-img-badge .icon {
  width: 44px;
  height: 44px;
  background: var(--red-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-700);
  font-size: 1.3rem;
}

.hero-img-badge .text .label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-img-badge .text .value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-800);
}

/* =================== SCROLL INDICATOR =================== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =================== SECTION STYLES =================== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--gray-50);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--red-700);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =================== WHY US / FEATURES =================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-700), var(--red-400));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red-100);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red-50), var(--red-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  transform: scale(1.1) rotate(-5deg);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =================== PRODUCTS =================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red-700);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-info {
  padding: 24px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-item {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(185,28,28,0.35);
}

/* =================== ABOUT STRIP =================== */
.about-strip {
  background: linear-gradient(135deg, var(--red-900), var(--red-700));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.about-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255,255,255,0.04) 20px,
      rgba(255,255,255,0.04) 22px
    );
}

.about-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-strip-text .section-badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: white;
}

.about-strip-title {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: white;
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-strip-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.85;
  margin-bottom: 32px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
}

.about-feat-item .check {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.about-strip-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  position: relative;
}

.about-strip-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* =================== NUMBERS / COUNTER =================== */
.numbers-section {
  background: white;
  padding: 80px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.number-item {
  text-align: center;
  padding: 48px 20px;
  position: relative;
  transition: var(--transition);
}

.number-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 0;
  height: 50%;
  width: 1px;
  background: var(--gray-200);
}

.number-item:hover {
  background: var(--red-50);
  border-radius: var(--radius-md);
}

.number-val {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--red-700);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.number-unit {
  font-size: 1.4rem;
}

.number-label {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-top: 6px;
}

/* =================== PROJECTS =================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 1;
}

.project-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card.featured .project-img {
  height: 360px;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(80,0,0,0.88) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.project-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.project-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =================== TESTIMONIALS =================== */
.testimonials-section {
  background: var(--gray-50);
  padding: 90px 0;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 4rem;
  color: var(--red-100);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-700), var(--red-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 800;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.author-title {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =================== CTA BANNER =================== */
.cta-banner {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--red-900) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217,48,37,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--red-800);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

/* =================== FOOTER =================== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.80);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text .ar {
  color: #FF8F7B;
}

.footer-brand .logo-text .en {
  color: rgba(255,255,255,0.4);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.social-btn:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  color: white;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '←';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(4px);
  transition: var(--transition);
}

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

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item .icon {
  width: 36px;
  height: 36px;
  background: rgba(217,48,37,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF8F7B;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-contact-item .info {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer-contact-item .info strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom span {
  color: var(--red-400);
}

/* =================== PAGE HEADER =================== */
.page-header {
  background: linear-gradient(135deg, var(--red-900), var(--red-700));
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 25px,
      rgba(255,255,255,0.03) 25px,
      rgba(255,255,255,0.03) 27px
    );
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.breadcrumb a:hover { color: white; }

.breadcrumb .sep { opacity: 0.4; }

/* =================== CONTACT PAGE =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--red-900), var(--red-700));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: white;
}

.contact-info-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-info-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail .text .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-detail .text .value {
  font-size: 0.97rem;
  font-weight: 700;
  color: white;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: var(--font-primary);
  color: var(--gray-800);
  background: white;
  transition: var(--transition);
  outline: none;
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(185,28,28,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* =================== ABOUT PAGE =================== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--red-700), var(--red-200));
  transform: translateX(50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 48px;
}

.timeline-item:nth-child(odd) .timeline-content {
  order: -1;
  text-align: right;
}

.timeline-content {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red-700);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--red-700);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--red-300);
  z-index: 1;
}

/* =================== MAP EMBED =================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-100);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =================== FLOATING WHATSAPP =================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: float-btn 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes float-btn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =================== BACK TO TOP =================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--red-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--red-900);
  transform: translateY(-3px);
}

/* =================== ANIMATIONS =================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* =================== TOAST =================== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-900);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
  border-right: 4px solid var(--red-600);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =================== MOBILE RESPONSIVE =================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-side { display: none; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }

  .about-strip-inner { grid-template-columns: 1fr; }
  .about-strip-img { display: none; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2)::after { display: none; }
  .number-item:nth-child(4)::after { display: none; }

  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: span 2; }

  .testimonials-slider { grid-template-columns: 1fr; }

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

  .contact-grid { grid-template-columns: 1fr; }

  .timeline::before { right: 20px; }
  .timeline-item { grid-template-columns: 1fr auto; }
  .timeline-item:nth-child(odd) .timeline-content { order: 0; text-align: right; }
  .timeline-item > :last-child { display: none; }
}

/* Mobile menu backdrop overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.active { pointer-events: all; }

  .navbar { height: 68px; }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    bottom: 0;
    width: 82%;
    max-width: 300px;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: 6px 0 40px rgba(0,0,0,0.18);
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 999;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    height: 100vh;
  }

  .nav-menu.open { left: 0; }

  /* Mobile menu header bar */
  .nav-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--red-900), var(--red-700));
    padding: 0 20px;
    min-height: 68px;
    flex-shrink: 0;
  }

  .menu-brand {
    color: white;
    font-weight: 900;
    font-size: 1rem;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    line-height: 1;
  }

  .menu-close:hover { background: rgba(255,255,255,0.35); }

  /* Nav links body */
  .nav-menu-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .nav-menu li { padding: 0; list-style: none; }

  .nav-link {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--red-50);
    color: var(--red-700);
    border-radius: var(--radius-sm);
  }

  .nav-link::after { display: none; }

  .nav-cta {
    margin: 20px 16px 8px;
    padding: 14px 20px;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border-bottom: none;
    color: white !important;
  }

  .hamburger { display: flex; }

  .hamburger {
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
  }

  .hamburger:hover { background: var(--gray-100); }

  .hero-content { padding-top: 90px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .section { padding: 60px 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .about-features-list { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { text-align: center; justify-content: center; }

  .numbers-grid { grid-template-columns: 1fr; }
  .number-item::after { display: none !important; }
}
