/* ============================================================
   ZENY DOLAMARI - Main Stylesheet
   Colors: Navy #0d1b2a, Dark Navy #091422, Orange #e85d04, Light Orange #f48c06
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #0d1b2a;
  --navy-dark: #091422;
  --navy-light: #1a2e45;
  --orange: #e85d04;
  --orange-light: #f48c06;
  --orange-pale: rgba(232, 93, 4, 0.12);
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --white: #ffffff;
  --text-primary: #0d1b2a;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL Support */
body.rtl {
  direction: rtl;
  text-align: right;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.section-padding { padding: 96px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 93, 4, 0.35);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 93, 4, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(9, 20, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding 0.3s ease;
}

.header.scrolled .navbar { padding: 14px 0; }

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

.nav-logo img {
  height: 52px;
  width: auto;
}

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

.nav-logo-text .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-logo-text .brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--orange);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1006;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 1005;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 24px 40px;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 32px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--orange); }

.mobile-nav .lang-switcher {
  margin-top: 24px;
  transform: scale(1.2);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 20, 34, 0.85) 0%,
    rgba(13, 27, 42, 0.6) 60%,
    rgba(232, 93, 4, 0.2) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.slide-inner {
  max-width: 700px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slide.active .slide-tag {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
}

.slide-title span { color: var(--orange); }

.slide-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}

.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

.slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--orange);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}

/* Hero Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-item:hover { background: rgba(255,255,255,0.04); }

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--gray-100);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge .badge-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: var(--radius-md);
  opacity: 0.2;
  z-index: -1;
}

.about-content { padding-right: 20px; }

.about-description {
  color: var(--text-secondary);
  margin: 20px 0 32px;
  line-height: 1.8;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.about-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat-card .num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.about-stat-card .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 6px;
}

/* ============================================================
   SPECIALIZATIONS
   ============================================================ */
.specializations {
  background: var(--white);
}

.spec-header {
  text-align: center;
  margin-bottom: 64px;
}

.spec-header .section-subtitle {
  margin: 0 auto;
}

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

.spec-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.spec-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.spec-icon {
  width: 64px;
  height: 64px;
  background: var(--orange-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.spec-card:hover .spec-icon {
  background: var(--orange);
}

.spec-card:hover .spec-icon svg { color: var(--white); }

.spec-icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange);
  transition: var(--transition);
}

.spec-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.spec-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   MISSION & VISION
   ============================================================ */
.mission-vision {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.mission-vision::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.15), transparent 70%);
  pointer-events: none;
}

.mission-vision::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.1), transparent 70%);
  pointer-events: none;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mv-content .section-tag {
  background: rgba(232, 93, 4, 0.2);
}

.mv-content .section-title { color: var(--white); }

.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.mv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.mv-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232, 93, 4, 0.4);
  transform: translateX(8px);
}

.mv-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.mv-card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mv-card-icon svg { width: 22px; height: 22px; color: var(--white); }

.mv-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.mv-card-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mv-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-svg-wrap {
  position: relative;
  width: 420px;
  height: 420px;
}

.mv-svg-wrap > svg {
  width: 100%;
  height: 100%;
}

.mv-svg-wrap div svg {
  width: 100px;
  height: 100px;
}

/* ============================================================
   PAST EXPERIENCE / PROJECTS
   ============================================================ */
.projects {
  background: var(--gray-100);
}

.projects-header {
  text-align: center;
  margin-bottom: 64px;
}

.projects-header .section-subtitle { margin: 0 auto; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

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

.project-img-wrap { overflow: hidden; }

.project-body { padding: 24px; }

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--text-light);
}

.project-year {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(232, 93, 4, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4);
}

.form-success {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #166534;
  font-weight: 600;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}


.contact-info-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-info-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  text-align: left;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-icon svg { width: 20px; height: 20px; color: var(--orange); }

.contact-info-item .info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-item .info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

.contact-info-item .info-value a {
  color: var(--orange);
  transition: var(--transition);
}

.contact-info-item .info-value a:hover { color: var(--orange-light); }

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}

/* Social Links */
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.35);
}

.social-btn svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding-top: 72px;
  padding-bottom: 0;
}

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

.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

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

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

.footer-links a::before {
  content: '→';
  color: var(--orange);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

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

.footer-contact-item svg { width: 16px; height: 16px; color: var(--orange); margin-top: 2px; flex-shrink: 0; }

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

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-contact-item a:hover { color: var(--orange); }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--orange); }

/* ============================================================
   PORTFOLIO / WORKS PREVIEW (Homepage)
   ============================================================ */
.portfolio {
  background: var(--gray-100);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio-header .section-subtitle {
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.portfolio-card-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,20,34,0.85) 0%, rgba(9,20,34,0.2) 50%, transparent 100%);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(9,20,34,0.9) 0%, rgba(9,20,34,0.4) 60%, rgba(9,20,34,0.1) 100%);
}

.portfolio-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 2;
}

body.rtl .portfolio-card-badge {
  right: 20px;
  left: auto;
}

.portfolio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-content {
  transform: translateY(0);
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}

.portfolio-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.portfolio-card-location svg {
  width: 14px;
  height: 14px;
}

.portfolio-card-link {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 2;
}

body.rtl .portfolio-card-link {
  left: 28px;
  right: auto;
}

.portfolio-card:hover .portfolio-card-link {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card-link:hover {
  background: var(--orange-light);
  transform: scale(1.1);
}

.portfolio-card-link svg {
  width: 20px;
  height: 20px;
}

.portfolio-view-all {
  text-align: center;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,20,34,0.95) 0%, rgba(9,20,34,0.5) 50%, rgba(9,20,34,0.3) 100%);
}

.project-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 0;
}

.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

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

.project-breadcrumb a:hover {
  color: var(--orange);
}

.project-breadcrumb .separator {
  color: rgba(255,255,255,0.3);
}

.project-breadcrumb .current {
  color: var(--orange);
}

.project-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-hero-category {
  display: inline-flex;
  padding: 6px 16px;
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
}

.project-detail {
  padding: 80px 0;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.project-gallery-main img:hover {
  transform: scale(1.02);
}

.project-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.project-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 3px solid transparent;
  transition: var(--transition);
}

.project-thumb.active {
  border-color: var(--orange);
}

.project-thumb:hover {
  border-color: var(--orange-light);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--orange);
  position: sticky;
  top: 100px;
}

.project-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.project-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.project-info-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.project-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.project-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.project-description {
  margin-top: 64px;
}

.project-description h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.project-description p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.project-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.project-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.project-highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

.project-nav {
  border-top: 1px solid var(--gray-200);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-info-card { position: static; }
}

@media (max-width: 600px) {
  .project-highlights { grid-template-columns: 1fr; }
  .project-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.whatsapp-btn svg { width: 30px; height: 30px; color: var(--white); }

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 80px;
  opacity: 0;
  animation: loaderFadeIn 0.5s ease forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  animation: loadProgress 1.2s ease forwards;
}

@keyframes loadProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1300px) {
  .nav-links a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .nav-links {
    gap: 4px;
  }
}

@media (max-width: 1150px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
  .nav-right .lang-switcher { display: none; }
  .mobile-nav .lang-switcher { display: flex; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: 16px; right: 16px; }
  .about-content { padding-right: 0; }
  .mv-grid { grid-template-columns: 1fr; gap: 48px; }
  .mv-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .section-padding { padding: 72px 0; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .slider-arrows { display: none; }
  .contact-form { padding: 32px 24px; }
  .contact-info-items { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Project details responsiveness overrides */
  .project-info-card { padding: 24px; }
  .project-hero-title { font-size: 1.6rem; }
  .project-breadcrumb { flex-wrap: wrap; }
  .project-nav a { width: 100%; text-align: center; justify-content: center; }
  
  /* Horizontal scrollable gallery list for mobile */
  .project-gallery-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .project-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .project-thumb {
    flex: 0 0 80px;
    scroll-snap-align: start;
    aspect-ratio: 1;
  }
}

@media (max-width: 480px) {
  .nav-logo-text .brand-name {
    font-size: 0.95rem;
  }
  .nav-logo img {
    height: 40px;
  }
  .about-badge {
    position: static;
    margin-top: 16px;
    transform: none;
    box-shadow: var(--shadow-md);
  }
}

/* ============================================================
   ORGANIZATIONAL CHART STYLES
   ============================================================ */
.org-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.org-level-single {
  display: flex;
  justify-content: center;
  width: 100%;
}

.org-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-level-title {
  margin: 0 0 16px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.org-grid {
  width: 100%;
  display: grid;
  justify-content: center;
  gap: 24px;
}

.org-grid.managers {
  grid-template-columns: repeat(4, 240px);
}

.org-grid.staff {
  grid-template-columns: repeat(4, 240px);
}

.org-card {
  width: 240px;
  height: 160px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 16px 16px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange-light);
}

.org-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.org-card-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  z-index: 2;
  transition: var(--transition);
}

.org-card:hover .org-card-icon {
  transform: translate(-50%, -55%) scale(1.1);
}

.org-card h3 {
  margin: 8px 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.org-card .org-role {
  margin: 0;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.org-card .org-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border-top: 1px solid var(--gray-200);
  padding-top: 10px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  word-break: break-all;
  text-decoration: none;
  transition: var(--transition);
}

.org-card .org-email:hover {
  color: var(--orange);
}

.org-card .org-email svg {
  width: 12px;
  height: 12px;
  color: var(--orange);
}

.org-connector {
  width: 2px;
  height: 24px;
  background: var(--gray-200);
  position: relative;
}

.org-connector::before, .org-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.org-connector::before { top: -3px; }
.org-connector::after { bottom: -3px; }

.org-wide-line {
  width: calc(100% - 240px);
  max-width: 780px;
  height: 2px;
  background: var(--gray-200);
  margin-top: -2px;
}

@media (max-width: 1100px) {
  .org-grid.managers {
    grid-template-columns: repeat(2, 240px);
  }
  .org-grid.staff {
    grid-template-columns: repeat(2, 240px);
  }
  .org-wide-line {
    width: 240px;
  }
}

@media (max-width: 580px) {
  .org-grid.managers, .org-grid.staff {
    grid-template-columns: 1fr;
  }
  .org-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .org-wide-line {
    display: none;
  }
}
