/* ==============================
   GEC Engineering Consultants
   Main CSS - assets/css/main.css
============================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ==============================
   TOP BAR
============================== */
.top-bar {
  background: var(--gec-teal-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.top-bar-item:hover { color: var(--gec-lime); }

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gec-lime);
  color: white;
  transform: translateY(-2px);
}

/* ==============================
   HEADER
============================== */
.site-header {
  background: white;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(27,80,80,0.08);
  transition: all 0.4s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(27,80,80,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo */
.site-logo a { display: flex; align-items: center; }
.custom-logo { height: 60px; width: auto; }

.text-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-logo-white .logo-gec { color: white; }
.text-logo-white .logo-text span { color: rgba(255,255,255,0.85); }

.logo-gec {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gec-teal);
  letter-spacing: -1px;
}

.logo-gec span { color: var(--gec-lime); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .logo-en {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gec-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-text .logo-ar {
  font-size: 0.75rem;
  color: var(--gec-teal-mid);
  font-weight: 400;
}

/* Navigation */
.site-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gec-gray-800);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--gec-lime);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--gec-teal);
  background: rgba(43,122,112,0.06);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gec-gray-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 200;
  list-style: none;
  padding: 8px;
}

.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--gec-gray-600);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
  background: rgba(43,122,112,0.06);
  color: var(--gec-teal);
  padding-right: 20px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gec-teal-dark);
  border-radius: 2px;
  transition: all 0.35s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* ==============================
   HERO SECTION
============================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gec-teal-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,80,80,0.95) 0%,
    rgba(43,122,112,0.85) 50%,
    rgba(26,80,80,0.7) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 140px;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141,198,63,0.15);
  border: 1px solid rgba(141,198,63,0.3);
  color: var(--gec-lime);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gec-lime);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title-accent {
  color: var(--gec-lime);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gec-lime);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 30px 40px;
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 36px;
}

.hero-stat:first-child { padding-right: 0; }
.hero-stat:last-child { padding-left: 0; }

.hero-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gec-lime);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  z-index: 2;
}

.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-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ==============================
   FEATURES SECTION
============================== */
.bg-cream { background: var(--gec-cream); }
.bg-dark-teal { background: var(--gec-teal-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 28px;
  border-left: 1px solid var(--gec-gray-100);
  transition: var(--transition);
}

.feature-item:last-child { border-left: none; }
.feature-item:first-child { border-right: none; }

.feature-item:hover {
  background: rgba(43,122,112,0.03);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43,122,112,0.1), rgba(141,198,63,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-teal);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gec-teal-dark);
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--gec-gray-400);
  margin: 0;
}

/* ==============================
   SERVICES SECTION
============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gec-gray-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43,122,112,0.04), rgba(141,198,63,0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,122,112,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-card-hover-line {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gec-teal), var(--gec-lime));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-hover-line { transform: scaleX(1); }

.service-card-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gec-teal-dark), var(--gec-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(43,122,112,0.3);
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--gec-teal), var(--gec-lime-dark));
  transform: rotate(-5deg) scale(1.05);
}

.service-card-body h3 {
  font-size: 1.2rem;
  color: var(--gec-teal-dark);
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gec-gray-400);
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gec-gray-600);
}

.service-features li svg { color: var(--gec-lime); flex-shrink: 0; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gec-teal);
  transition: var(--transition);
}

.service-card-link:hover {
  color: var(--gec-lime-dark);
  gap: 10px;
}

/* ==============================
   ABOUT PREVIEW
============================== */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-preview-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-preview-img-placeholder {
  width: 100%;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}

.about-preview-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--gec-lime);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(141,198,63,0.4);
}

.about-badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.8rem;
  font-weight: 600;
}

.section-label-light { color: rgba(141,198,63,0.9); }

.text-white-70 { color: rgba(255,255,255,0.75); }

.about-preview-content h2 { color: white; margin-bottom: 20px; }

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.about-value-icon { font-size: 1.5rem; flex-shrink: 0; }

.about-value h5 {
  color: var(--gec-lime);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.about-value p {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  margin: 0;
}

/* ==============================
   PROJECTS SECTION
============================== */
.project-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--gec-gray-200);
  background: white;
  font-family: var(--font-arabic);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gec-gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gec-teal);
  border-color: var(--gec-teal);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gec-gray-100);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--gec-gray-100);
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb { transform: scale(1.08); }

.project-no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gec-teal-dark), var(--gec-teal-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,80,80,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gec-lime);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.project-card:hover .project-view-btn { transform: translateY(0); }

.project-card-body { padding: 24px; }

.project-cats {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.project-card-body h3 {
  font-size: 1.1rem;
  color: var(--gec-teal-dark);
  margin-bottom: 8px;
}

.project-card-body h3 a { color: inherit; }
.project-card-body h3 a:hover { color: var(--gec-teal); }

.project-card-body p {
  font-size: 0.875rem;
  color: var(--gec-gray-400);
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gec-gray-400);
}

.project-meta-item svg { color: var(--gec-teal-mid); }

/* ==============================
   STATS SECTION
============================== */
.stats-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gec-teal-dark) 0%, var(--gec-teal) 60%, var(--gec-lime-dark) 100%);
}

.stats-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-left: none; }

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-lime);
  margin: 0 auto 16px;
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.counter {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gec-lime);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ==============================
   TEAM SECTION
============================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gec-gray-100);
  transition: all 0.4s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card-img {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, var(--gec-cream), var(--gec-gray-100));
  overflow: hidden;
}

.team-photo,
.team-thumb {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo,
.team-card:hover .team-thumb { transform: scale(1.05); }

.team-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-gray-200);
  background: linear-gradient(135deg, #e8f0ee, #d4e4e0);
}

.team-linkedin {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0077B5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .team-linkedin {
  opacity: 1;
  transform: translateY(0);
}

.team-card-body {
  padding: 20px;
}

.team-card-body h4 {
  font-size: 1.05rem;
  color: var(--gec-teal-dark);
  margin-bottom: 6px;
}

.team-position {
  font-size: 0.85rem;
  color: var(--gec-teal-mid);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ==============================
   TESTIMONIALS
============================== */
.testimonials-swiper { padding-bottom: 50px !important; }

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gec-gray-100);
  height: auto;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  margin-bottom: 16px;
  opacity: 0.8;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gec-gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gec-gray-100);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gec-lime);
}

.testimonial-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gec-teal), var(--gec-lime));
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author-info strong {
  font-size: 0.95rem;
  color: var(--gec-teal-dark);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gec-gray-400);
}

.testimonial-company { color: var(--gec-teal-mid) !important; }

.testimonials-pagination { text-align: center; }
.testimonials-pagination .swiper-pagination-bullet { background: var(--gec-teal); }
.testimonials-pagination .swiper-pagination-bullet-active { background: var(--gec-lime); }

/* ==============================
   BLOG SECTION
============================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gec-gray-100);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gec-gray-100);
}

.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb { transform: scale(1.08); }

.blog-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-gray-200);
}

.blog-cat {
  position: absolute;
  top: 16px;
  right: 16px;
}

.blog-card-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gec-gray-400);
  margin-bottom: 12px;
}

.blog-meta span { display: flex; align-items: center; gap: 4px; }

.blog-card-body h3 {
  font-size: 1.05rem;
  color: var(--gec-teal-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { color: var(--gec-teal); }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gec-teal);
  transition: var(--transition);
  margin-top: 8px;
}

.blog-read-more:hover { color: var(--gec-lime-dark); gap: 10px; }

/* ==============================
   PARTNERS SECTION
============================== */
.partners-section { border-top: 1px solid var(--gec-gray-100); }

.partners-header {
  text-align: center;
  margin-bottom: 40px;
}

.partners-header h3 {
  font-size: 1.1rem;
  color: var(--gec-gray-400);
  font-weight: 500;
  margin-bottom: 12px;
}

.partners-track-wrap {
  overflow: hidden;
  position: relative;
}

.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.partners-track-wrap::before {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.partners-track-wrap::after {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: scrollPartners 30s linear infinite;
  width: max-content;
}

@keyframes scrollPartners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 60px;
  padding: 8px 20px;
  background: white;
  border: 1px solid var(--gec-gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
  filter: grayscale(60%);
  opacity: 0.7;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

.partner-img { max-height: 40px; object-fit: contain; }

.partner-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gec-gray-600);
  white-space: nowrap;
}

/* ==============================
   SECTION FOOTER
============================== */
.section-footer { margin-top: 0; padding-top: 8px; }

/* ==============================
   PAGE HERO / BANNER
============================== */
.page-hero {
  background: linear-gradient(135deg, var(--gec-teal-dark) 0%, var(--gec-teal) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 12px;
}

.page-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--gec-lime); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { display: flex; align-items: center; color: rgba(255,255,255,0.4); }

/* ==============================
   CONTACT SECTION
============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--gec-teal-dark);
  color: white;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
}

.contact-info-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 8px;
}

.contact-info-desc {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: rgba(141,198,63,0.15);
  border: 1px solid rgba(141,198,63,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-lime);
}

.contact-info-item h5 {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
  color: white;
  font-weight: 600;
  margin: 0;
}

.contact-info-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-social-btn:hover {
  background: var(--gec-lime);
  border-color: var(--gec-lime);
  color: white;
}

/* Contact Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gec-gray-100);
}

.contact-form-title {
  font-size: 1.5rem;
  color: var(--gec-teal-dark);
  margin-bottom: 8px;
}

.contact-form-desc {
  color: var(--gec-gray-400);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gec-gray-800);
}

.form-label span { color: var(--gec-teal); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gec-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--gec-gray-800);
  background: var(--gec-off-white);
  direction: rtl;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gec-teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(43,122,112,0.1);
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-submit-wrap { grid-column: 1 / -1; }

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: rgba(141,198,63,0.1);
  border: 1px solid rgba(141,198,63,0.3);
  color: var(--gec-lime-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==============================
   MAP SECTION
============================== */
.map-section { background: var(--gec-cream); }

.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ==============================
   SINGLE PROJECT
============================== */
.single-project-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.project-gallery img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.project-details-box {
  background: var(--gec-teal-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
}

.project-details-box h3 {
  color: var(--gec-lime);
  font-size: 1rem;
  margin-bottom: 24px;
}

.project-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-detail-row:last-child { border-bottom: none; }

.project-detail-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.project-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

/* ==============================
   ABOUT PAGE
============================== */
.about-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: var(--section-padding);
}

.about-timeline {
  position: relative;
  padding-right: 30px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gec-teal), var(--gec-lime));
}

.timeline-item {
  position: relative;
  padding-right: 30px;
  margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  right: -6px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gec-lime);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--gec-lime);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gec-lime-dark);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1rem;
  color: var(--gec-teal-dark);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--gec-gray-400);
  margin: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gec-gray-100);
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43,122,112,0.2);
}

.value-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--gec-teal-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gec-gray-400);
  margin: 0;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-item {
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gec-gray-100);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--gec-teal);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.cert-item h5 {
  font-size: 0.9rem;
  color: var(--gec-teal-dark);
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 0.75rem;
  color: var(--gec-gray-400);
  margin: 0;
}

/* ==============================
   FOOTER
============================== */
.footer-cta-banner {
  background: linear-gradient(135deg, var(--gec-teal-dark) 0%, var(--gec-teal) 100%);
  padding: 60px 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-cta-text h2 { color: white; font-size: 1.8rem; margin-bottom: 8px; }
.footer-cta-text p { color: rgba(255,255,255,0.75); margin: 0; }

.footer-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.site-footer { background: var(--gec-dark); }

.footer-main { padding: 70px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-logo { margin-bottom: 20px; }

.footer-brand-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--gec-lime);
  border-color: var(--gec-lime);
  color: white;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--gec-lime);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  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.75rem;
  opacity: 0;
  transform: translateX(5px);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gec-lime);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

a.footer-contact-item:hover { color: var(--gec-lime); }

.footer-contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(141,198,63,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gec-lime);
}

.footer-contact-label { font-size: 0.85rem; }

.footer-newsletter h5 {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.newsletter-input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: white;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  direction: rtl;
  outline: none;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-btn {
  padding: 10px 18px;
  background: var(--gec-lime);
  border: none;
  cursor: pointer;
  color: white;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.newsletter-btn:hover { background: var(--gec-lime-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-copy strong { color: var(--gec-lime); font-weight: 600; }

.footer-credits {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-credits a { color: var(--gec-lime); font-weight: 600; }
.footer-credits a:hover { text-decoration: underline; }

/* ==============================
   WHATSAPP & BACK TO TOP
============================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37,211,102,0.5);
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  left: 30px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gec-teal);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gec-teal-dark);
  transform: translateY(-3px);
}

/* ==============================
   SIDEBAR
============================== */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.widget-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  border: 1px solid var(--gec-gray-100);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1rem;
  color: var(--gec-teal-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gec-lime);
}

/* ==============================
   404 PAGE
============================== */
.not-found-section {
  text-align: center;
  padding: 120px 0;
}

.not-found-num {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gec-teal), var(--gec-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Hero Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.15;
}

@keyframes floatParticle {
  0%   { transform: translateY(100%) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item { border: none; padding: 30px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); }
  .about-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: white;
    z-index: 999;
    overflow-y: auto;
    padding: 80px 24px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }
  
  .site-nav.open { right: 0; }
  .mobile-overlay { display: block; pointer-events: none; }
  .mobile-overlay.visible { opacity: 1; pointer-events: all; }
  
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  
  .nav-menu > li { width: 100%; }
  
  .nav-menu > li > a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  
  .nav-toggle { display: flex; }
  
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-stats { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float {
    border-radius: 50% !important;
    padding: 14px !important;
    width: 50px !important;
    height: 50px !important;
    bottom: 16px !important;
    left: 16px !important;
    justify-content: center !important;
  }
  .back-to-top {
    bottom: 76px !important;
    left: 16px !important;
    width: 40px !important;
    height: 40px !important;
  }
  #gec-theme-toggle {
    bottom: 126px !important;
    left: 16px !important;
    width: 40px !important;
    height: 40px !important;
  }
  .content-sidebar-wrap { grid-template-columns: 1fr; }

  /* About Hero */
  .about-hero-section {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 60px 0 !important;
  }

  /* Timeline — منع الـ overflow */
  .about-timeline {
    padding-right: 24px !important;
  }

  .timeline-item {
    padding-right: 24px !important;
    margin-bottom: 28px !important;
  }

  /* About inline stats */
  .about-hero-section [style*="display:flex"][style*="flex-wrap:wrap"],
  .about-hero-section [style*="display: flex"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Page Hero */
  .page-hero { padding: 70px 0 40px !important; }
  .page-hero-title { font-size: 1.8rem !important; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-cta-actions { flex-direction: column; width: 100%; }
  .footer-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================
   COMMENTS SECTION
   ============================================ */

#comments,
.comments-area {
  margin-top: 48px;
  font-family: var(--font-primary);
}

.comments-title,
#reply-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gec-teal-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gec-lime);
  display: inline-block;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-body {
  background: var(--gec-cream);
  border: 1px solid var(--gec-gray-100);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
}

.comment-body:hover {
  box-shadow: 0 4px 20px rgba(43,122,112,0.08);
}

.comment-author img.avatar {
  border-radius: 50%;
  border: 3px solid var(--gec-teal);
  width: 52px;
  height: 52px;
}

.comment-author .fn,
.comment-author b {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gec-teal-dark);
}

.comment-metadata a,
.comment-metadata time {
  font-size: 0.78rem;
  color: var(--gec-gray-400);
}

.comment-content p {
  font-size: 0.9rem;
  color: var(--gec-gray-600);
  line-height: 1.8;
  margin: 10px 0 0;
}

.reply a,
.comment-reply-link {
  font-size: 0.8rem;
  color: var(--gec-teal);
  font-weight: 600;
  padding: 4px 12px;
  border: 1px solid var(--gec-teal);
  border-radius: 20px;
  transition: var(--transition);
  display: inline-block;
  margin-top: 10px;
}

.reply a:hover,
.comment-reply-link:hover {
  background: var(--gec-teal);
  color: white;
}

/* Comment Form */
#commentform {
  background: var(--gec-cream);
  border: 1px solid var(--gec-gray-100);
  border-radius: 20px;
  padding: 32px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 16px;
}

#commentform label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gec-teal-dark);
  margin-bottom: 6px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gec-gray-100);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--gec-teal-dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  direction: rtl;
}

#commentform input:focus,
#commentform textarea:focus {
  outline: none;
  border-color: var(--gec-teal);
  box-shadow: 0 0 0 3px rgba(43,122,112,0.1);
}

#commentform textarea#comment {
  min-height: 140px;
  resize: vertical;
}

#commentform input[type="submit"],
#commentform .submit {
  background: var(--gec-teal);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

#commentform input[type="submit"]:hover {
  background: var(--gec-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,122,112,0.3);
}

/* Dark Mode — Comments */
[data-theme="dark"] .comment-body,
[data-theme="dark"] #commentform {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] #commentform input[type="text"],
[data-theme="dark"] #commentform input[type="email"],
[data-theme="dark"] #commentform input[type="url"],
[data-theme="dark"] #commentform textarea {
  background: var(--input-bg);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] #commentform label,
[data-theme="dark"] .comment-author .fn,
[data-theme="dark"] .comment-author b,
[data-theme="dark"] .comments-title,
[data-theme="dark"] #reply-title {
  color: var(--text-primary);
}

[data-theme="dark"] .comment-content p {
  color: var(--text-secondary);
}

[data-theme="dark"] .comment-metadata a,
[data-theme="dark"] .comment-metadata time {
  color: var(--text-muted);
}