﻿/* ============================
   HERA COMPANY â€” OFFICIAL WEBSITE
   style.css
   ============================ */

/* ===== ROOT VARIABLES ===== */
:root {
  --hera-red: #D63A1A;
  --hera-orange: #E8491D;
  --hera-dark: #111214;
  --hera-darker: #0A0B0D;
  --hera-gray: #1C1E22;
  --hera-gray2: #2A2D33;
  --hera-light: #F5F5F5;
  --hera-white: #FFFFFF;
  --hera-text: #CCCCCC;
  --hera-muted: #888;
  --gradient: linear-gradient(135deg, #D63A1A, #FF6B35);
  --gradient-dark: linear-gradient(135deg, #0A0B0D, #1C1E22);
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-red: 0 10px 40px rgba(214,58,26,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background: var(--hera-darker);
  color: var(--hera-white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-ar); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--hera-darker);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  animation: pulse-logo 1.5s ease-in-out infinite;
}
@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--hera-gray2);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 99px;
  animation: loading-bar 1.8s ease-in-out forwards;
}
@keyframes loading-bar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  background: rgba(214,58,26,0.15);
  color: var(--hera-orange);
  border: 1px solid rgba(214,58,26,0.3);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--hera-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 14px 32px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(214,58,26,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--hera-orange);
  color: var(--hera-orange);
  background: rgba(214,58,26,0.1);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,11,13,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.nav-logo span {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  letter-spacing: 2px;
  line-height: 1;
}
.nav-logo span small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--hera-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hera-text);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 99px;
}

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(214,58,26,0.45); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 99px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(214,58,26,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(214,58,26,0.06) 0%, transparent 60%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--hera-orange);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--dur) var(--delay) infinite;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.5); }
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(214,58,26,0.1);
  border: 1px solid rgba(214,58,26,0.25);
  color: #FF7F5E;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--hera-orange);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title-line {
  display: block;
  overflow: hidden;
}
.hero-title-line span { display: inline-block; }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--hera-text);
  line-height: 1.8;
  margin-bottom: 12px;
}
.hero-tagline {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--hera-orange);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 28px;
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-num {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hera-orange);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--hera-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

.hero-image-side {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.hero-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-img-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-img-frame:hover img { transform: scale(1.03); }
.hero-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hera-muted);
  animation: bounce 2s infinite;
  transition: var(--transition);
}
.hero-scroll:hover { border-color: var(--hera-orange); color: var(--hera-orange); }
@keyframes bounce {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--hera-gray);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,58,26,0.4), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }
.about-img-stack { position: relative; }
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-img-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--hera-darker);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.about-img-card img {
  width: 120px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.about-card-slogan {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--hera-orange);
  font-weight: 700;
}
.about-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(214,58,26,0.2);
}
.deco-circle.c1 { width: 120px; height: 120px; top: 0; right: 0; animation: spin 15s linear infinite; }
.deco-circle.c2 { width: 70px; height: 70px; top: 25px; right: 25px; animation: spin 10s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.about-desc {
  color: var(--hera-text);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.feature-item:hover { background: rgba(214,58,26,0.08); border-color: rgba(214,58,26,0.2); }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.feature-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 0.8rem; color: var(--hera-muted); }

/* ===== PRODUCTS ===== */
.products {
  padding: 120px 0;
  background: var(--hera-darker);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--hera-gray);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(214,58,26,0.3);
  box-shadow: var(--shadow-red);
}
.product-card.featured {
  border-color: rgba(214,58,26,0.4);
  background: linear-gradient(145deg, #1C1E22, #22252C);
}
.product-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(214,58,26,0.05), transparent);
  pointer-events: none;
}
.product-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}

.product-img {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: rgba(214,58,26,0.1);
}
.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-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-btn {
  background: var(--gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
}

.product-info { padding: 20px; }
.product-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.product-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.product-info p {
  font-size: 0.82rem;
  color: var(--hera-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-tags span {
  background: rgba(214,58,26,0.12);
  color: var(--hera-orange);
  border: 1px solid rgba(214,58,26,0.2);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ===== PROJECTS / GALLERY ===== */
.projects {
  padding: 120px 0;
  background: var(--hera-gray);
  position: relative;
}
.projects::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,58,26,0.4), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.07);
}
.gallery-item.large {
  grid-column: span 1;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item.large img {
  height: 100%;
  min-height: 520px;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===== WHY US ===== */
.why-us {
  padding: 120px 0;
  background: var(--hera-darker);
  position: relative;
  overflow: hidden;
}
.why-us::after {
  content: 'HERA';
  position: absolute;
  font-family: var(--font-en);
  font-size: 20rem;
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 0;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--hera-text);
}
.why-item i { color: var(--hera-orange); font-size: 1rem; }

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: var(--hera-gray);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214,58,26,0.2);
}
.why-card.accent {
  background: linear-gradient(145deg, rgba(214,58,26,0.12), rgba(214,58,26,0.04));
  border-color: rgba(214,58,26,0.25);
}
.why-card-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
}
.why-card h3 {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--hera-muted);
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--hera-gray);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,58,26,0.4), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(214,58,26,0.3); background: rgba(214,58,26,0.05); }
.contact-card-icon {
  width: 46px;
  height: 46px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-card h4 { font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.contact-card a, .contact-card p, .contact-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--hera-text);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--hera-orange); }

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { transform: translateY(-2px); }
.social-btn i { font-size: 1.1rem; }
.social-btn.facebook { background: rgba(24,119,242,0.12); color: #4896F0; border-color: rgba(24,119,242,0.2); }
.social-btn.facebook:hover { background: rgba(24,119,242,0.2); }
.social-btn.instagram { background: rgba(225,48,108,0.12); color: #E1306C; border-color: rgba(225,48,108,0.2); }
.social-btn.instagram:hover { background: rgba(225,48,108,0.2); }
.social-btn.tiktok { background: rgba(0,0,0,0.3); color: #fff; border-color: rgba(255,255,255,0.15); }
.social-btn.tiktok:hover { background: rgba(255,255,255,0.1); }
.social-btn.whatsapp { background: rgba(37,211,102,0.12); color: #25D366; border-color: rgba(37,211,102,0.2); }
.social-btn.whatsapp:hover { background: rgba(37,211,102,0.2); }

.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { position: relative; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 48px 14px 16px;
  color: white;
  font-size: 0.95rem;
  transition: var(--transition);
  direction: rtl;
}
.form-group select { appearance: none; }
.form-group select option { background: var(--hera-gray); color: white; }
.form-group textarea { resize: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hera-orange);
  background: rgba(214,58,26,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--hera-muted); }
.form-group i {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--hera-muted);
  font-size: 0.9rem;
  pointer-events: none;
}
.form-group textarea ~ i { top: 18px; transform: none; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: #25D366;
}
.form-success i { font-size: 3rem; display: block; margin-bottom: 12px; }
.form-success p { font-size: 1rem; font-weight: 600; }

.map-section {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  height: 350px;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(60%) invert(90%) hue-rotate(180deg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--hera-darker);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 160px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--hera-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: var(--hera-orange);
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 12px;
}
.footer-links h4::after,
.footer-products h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  border-radius: 99px;
}

.footer-links ul,
.footer-products ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-products a {
  font-size: 0.88rem;
  color: var(--hera-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover,
.footer-products a:hover { color: var(--hera-orange); }
.footer-links a i,
.footer-products a i { font-size: 0.7rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--hera-orange);
  margin-top: 2px;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--hera-muted);
  display: block;
  line-height: 1.7;
  transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--hera-orange); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--hera-muted);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--hera-muted);
}
.footer-bottom a { color: var(--hera-orange); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: float-btn 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
}
@keyframes float-btn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-float:hover { animation: none; }

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: #25D366;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  z-index: 999;
  box-shadow: var(--shadow-red);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(10,11,13,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-image-side { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  .about-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-card { display: none; }
  .about-features { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.large { grid-column: span 2; }
  .gallery-item.large img { min-height: 280px; height: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.8rem; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .social-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 10px; }
}

/* ===== GALLERY FILTERS ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--hera-gray);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--hera-text);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-ar);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 120px 0;
  background: var(--hera-darker);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--hera-gray);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: rgba(214,58,26,0.3);
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  color: var(--hera-light);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
  font-family: var(--font-ar);
}
.faq-question i {
  color: var(--hera-orange);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--hera-text);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ===== LEAFLET MAP CUSTOMIZATION ===== */
#projectsMap .leaflet-popup-content-wrapper {
  background: var(--hera-darker);
  color: var(--hera-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
}
#projectsMap .leaflet-popup-tip {
  background: var(--hera-darker);
}
#projectsMap .leaflet-popup-content h4 {
  color: var(--hera-orange);
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 700;
  margin-top: 0;
}
#projectsMap .leaflet-popup-content p {
  font-size: 0.8rem;
  color: var(--hera-text);
  margin-bottom: 8px;
  line-height: 1.5;
  margin-top: 0;
}
#projectsMap .leaflet-popup-content img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== RESPONSIVE UPDATES ===== */

