/* NOVA BUILD ELITE - CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0f172a;       /* Deep Slate Navy */
  --primary-light: #1e293b;
  --accent: #d97706;        /* Construction Amber Gold */
  --accent-hover: #b45309;
  --accent-light: rgba(217, 119, 6, 0.1);
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #090d16;
  --border-color: #e2e8f0;
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* RTL Support - Arabic Font */
html[dir="rtl"] body {
  font-family: var(--font-arabic), var(--font-sans);
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: #f1f5f9;
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

html[dir="rtl"] .section-title::after {
  left: 50%;
  transform: translateX(50%);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.1rem;
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

.btn-outline-white {
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  color: var(--text-light);
  transition: background-color var(--transition-normal);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: 85px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.logo-text .subtext {
  font-size: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -2px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  opacity: 0.85;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Toggle Button */
.lang-toggle {
  background-color: var(--primary-light);
  color: var(--text-light);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Page Hero Header (for inner pages) */
.page-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-light);
  margin-top: var(--header-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 10;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.page-breadcrumbs a {
  color: var(--text-light);
  opacity: 0.8;
}

.page-breadcrumbs a:hover {
  opacity: 1;
}

/* Footer Section */
footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

html[dir="rtl"] .footer-col h3::after {
  left: auto;
  right: 0;
}

.footer-about p {
  margin: 1rem 0 1.5rem 0;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: #1e293b;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--accent);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.footer-contact-item p {
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Home Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  color: var(--text-light);
  display: flex;
  align-items: center;
  margin-top: 0;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-tagline {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--accent-light);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

html[dir="rtl"] .hero-tagline {
  border-left: none;
  border-right: 3px solid var(--accent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #cbd5e1;
  max-width: 650px;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Home Intro / Info Cards */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

.info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 4px solid transparent;
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Key Stats Banner */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #090d16 100%);
  color: var(--text-light);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-center: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Home Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

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

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border-inline-start: 3px solid var(--accent);
}

html[dir="rtl"] .service-card-badge {
  left: auto;
  right: 1rem;
}

.service-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.service-card-link:hover {
  color: var(--accent-hover);
}

/* Home Projects / Portfolio section */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-light);
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.project-overlay-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-overlay-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Projects Filtering styles (Project Page) */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: opacity 0.3s ease;
}

.project-grid-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: none; /* Controlled by JS filters */
  flex-direction: column;
}

.project-grid-card.show {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.project-grid-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.project-grid-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent);
  color: var(--text-light);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

html[dir="rtl"] .project-grid-category {
  left: auto;
  right: 1rem;
}

.project-grid-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.project-grid-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-grid-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* About Page Styles */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-intro-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-intro-text h2 span {
  color: var(--accent);
}

.about-intro-text p {
  color: var(--text-muted);
}

.about-image-stack {
  position: relative;
  height: 450px;
}

.about-img-main {
  width: 85%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-white);
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--bg-white);
}

html[dir="rtl"] .about-img-sub {
  right: auto;
  left: 0;
}

/* Values section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.value-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-top: 4px solid var(--accent);
}

.value-card-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Partners / Associates section */
.associates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.associate-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

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

.associate-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 4px solid var(--accent-light);
}

.associate-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.associate-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.associate-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Services Page Styles */
.services-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-detail-item:nth-child(even) {
  direction: rtl;
}

.service-detail-item:nth-child(even) .service-detail-content {
  direction: ltr; /* Reset text direction for content inside even, so it respects active lang */
}

/* Let's fix child-even with custom layout rather than direction to avoid weird side effects on text alignment */
.service-detail-item.reversed .service-detail-img {
  order: 2;
}
.service-detail-item.reversed .service-detail-content {
  order: 1;
}

.service-detail-img {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-detail-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

html[dir="rtl"] .service-detail-content h2::after {
  left: auto;
  right: 0;
}

.service-detail-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.service-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-feature svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

.contact-info-panel {
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: var(--accent);
  opacity: 0.1;
  border-radius: var(--radius-full);
}

.contact-info-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-info-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.contact-method-item {
  display: flex;
  gap: 1.25rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.contact-method-details h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #94a3b8;
}

.contact-method-details p, .contact-method-details a {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-method-details a:hover {
  color: var(--accent);
}

.contact-form-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px var(--accent-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Map styles */
.map-section {
  padding: 0;
  height: 450px;
  background-color: #e2e8f0;
}

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

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    padding: 0 1.5rem;
  }
  
  .services-grid, .projects-showcase, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-intro-grid, .service-detail-item, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-item.reversed .service-detail-img {
    order: 0;
  }
  .service-detail-item.reversed .service-detail-content {
    order: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 910px) {
.logo-text {
  display: none;
}
}
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .logo-text {
  display: flex;
}
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--glass-border);
  }
  
  html[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  html[dir="rtl"] .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .services-grid, .projects-showcase, .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-panel {
    padding: 2rem;
  }
  
  .values-grid, .associates-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 565px) {
.logo-text {
  font-size: 1.0rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.logo-text .subtext {
  font-size: 0.45rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -2px;
}
}
@media (max-width: 524px) {
.logo-text {
  font-size: 0.80rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.logo-text .subtext {
  font-size: 0.25rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -2px;
}
}
@media (max-width: 480px) {
  .logo-text {
  display: none;
}
.stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
