:root {
  --primary-color: #0d284a; /* Dark Blue */
  --primary-light: #164075;
  --accent-color: #3b82f6; /* Modern subtle blue for accents */
  --text-dark: #1f2937;
  --text-gray: #4b5563;
  --bg-light: #f9fafb; /* Light Gray */
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* Space for fixed header */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent-color);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

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

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
}

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

.btn-accent {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  color: var(--bg-white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-img-dark {
  height: 38px;
  width: auto;
  display: none; /* Hidden in Light Mode */
}

[data-theme="dark"] .logo-img-dark {
  display: block; /* Shown in Dark Mode */
}

[data-theme="dark"] .logo span {
  display: none; /* Hide text in Dark Mode to use image logo */
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-color); /* Fallback */
  color: var(--bg-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(13, 40, 74, 0.9), rgba(13, 40, 74, 0.6));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--bg-white);
  max-width: 800px;
}

.hero p {
  color: #e5e7eb;
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

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

/* Page Header (for inner pages) */
.page-header {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--bg-white);
  margin-bottom: 0;
}

/* Cards */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  box-shadow: 0 20px 40px -10px rgba(13, 40, 74, 0.08);
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.2);
}

.card:hover .feature-icon,
.card:hover .sector-icon {
  transform: scale(1.1) translateY(-3px);
  color: var(--accent-color);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
}

/* Features/Why Us icons */
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p {
  color: #9ca3af;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    clip-path: circle(0% at top right);
    transition: clip-path 0.4s ease-in-out;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
}

/* Dark Mode Utilities */
/* Dark Mode Color System */
[data-theme="dark"] {
  --primary-color: #1e3a5f;
  --primary-light: #2563eb;
  --accent-color: #60a5fa;
  --text-dark: #f1f5f9;
  --text-gray: #cbd5e1;
  --bg-light: #1e293b;
  --bg-white: #0f172a;
  --border-color: #334155;
  --bg-dark: #0a1628;
}

[data-theme="dark"] .header {
  background-color: rgba(15, 23, 42, 0.97);
  border-bottom-color: #1e293b;
}

[data-theme="dark"] .logo,
[data-theme="dark"] .nav-links a,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .card {
  background-color: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .section-bg-light {
  background-color: #1e293b;
}

[data-theme="dark"] .form-control {
  background-color: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .footer {
  background-color: #060d18;
}

/* Dark Mode: Footer text & links — brighter for readability */
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer-links li {
  color: #cbd5e1;
}

[data-theme="dark"] .footer-links a {
  color: #94a3b8;
}

[data-theme="dark"] .footer-links a:hover {
  color: #ffffff;
}

[data-theme="dark"] .footer-bottom {
  color: #94a3b8;
}

/* Dark Mode: btn-primary — vibrant, not muted */
[data-theme="dark"] .btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: #1d4ed8;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
  color: #ffffff;
}

/* Dark Mode: btn-accent — vivid cyan-blue glow */
[data-theme="dark"] .btn-accent {
  background-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

[data-theme="dark"] .btn-accent:hover {
  background-color: #2563eb;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.7);
  color: #ffffff;
}

/* RTL Support Utilities (Full Flip) */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .navbar {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .grid-3 > div, [dir="rtl"] .grid-2 > div, [dir="rtl"] .grid-4 > div {
  text-align: right;
}

[dir="rtl"] .feature-icon {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .text-center .feature-icon {
  margin: 0 auto 1rem;
}

[dir="rtl"] .footer-links {
  padding-right: 0;
}

[dir="rtl"] .feature-icon i.fas.fa-map-marker-alt,
[dir="rtl"] .feature-icon i.fas.fa-envelope,
[dir="rtl"] .fa-whatsapp {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .logo {
  margin-right: 0;
}

/* Fix for mobile nav flip in RTL */
@media (max-width: 768px) {
  [dir="rtl"] .nav-links {
    flex-direction: column;
    left: 0;
    right: 0;
    clip-path: circle(0% at top left);
  }
  [dir="rtl"] .nav-links.active {
    clip-path: circle(150% at top left);
  }
}

/* Project Showcase Layout */
.project-category-section {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(to bottom, #00f2ff, #0d284a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
}

.category-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: inherit;
}

.category-header p {
  color: #94a3b8;
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Project Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  color: #e5e7eb;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 242, 255, 0.6);
  transform: translateY(-3px);
  color: #ffffff;
}

.filter-btn.active {
  background: #00f2ff;
  color: #0d284a;
  border-color: #00f2ff;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-showcase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.showcase-card {
  flex: 1;
  min-width: 320px;
  max-width: 400px;
  background: #000a16;
  border: 2px solid #00f2ff;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.showcase-card:hover {
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.showcase-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: #00f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d284a;
  font-size: 1.25rem;
  z-index: 2;
}

.showcase-main-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.showcase-info {
  margin-bottom: 1.5rem;
  text-align: center;
}

.showcase-info h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.showcase-info .en-title {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.showcase-meta {
  color: #fff;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 2rem;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

[dir="rtl"] .scroll-top {
  right: auto;
  left: 2rem;
}

/* RTL Adjustments for Showcase */
[dir="rtl"] .showcase-icon {
  right: auto;
  left: 1rem;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .reveal-left {
  transform: translateX(50px);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .reveal-right {
  transform: translateX(-50px);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex !important;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  color: var(--accent-color);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

[dir="rtl"] .lightbox-prev { left: auto; right: 1rem; }
[dir="rtl"] .lightbox-next { right: auto; left: 1rem; }

/* Glassmorphism utility */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .glass-card {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}


[dir="rtl"] .showcase-card {
  text-align: right;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

[data-theme="dark"] .faq-item {
  background: #1e293b;
  border-color: #334155;
}

.faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: inherit;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

[data-theme="dark"] .faq-question {
  color: #f1f5f9;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

[data-theme="dark"] .faq-question:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.faq-icon {
  color: var(--accent-color);
  transition: transform 0.3s ease;
  font-size: 1.25rem;
  margin-left: 1rem;
}

[dir="rtl"] .faq-icon {
  margin-left: 0;
  margin-right: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
  background-color: var(--bg-white);
}

[data-theme="dark"] .faq-answer {
  background-color: #1e293b;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.6s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}

[data-theme="dark"] .faq-answer-inner {
  color: #cbd5e1;
}

/* Sectors Cards */
.sector-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  z-index: 1;
}

[data-theme="dark"] .sector-card {
  background: #1e293b;
  border-color: #334155;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 242, 255, 0.02));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[data-theme="dark"] .sector-card::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 242, 255, 0.05));
}

.sector-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] .sector-icon {
  color: var(--accent-color);
}

.sector-card:hover .sector-icon {
  transform: scale(1.15) translateY(-5px);
  color: var(--accent-color);
}

.sector-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sector-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}


[dir="rtl"] .category-header {
  text-align: center;
}

/* Client Logo Grid */
.logo-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  width: 180px;
  height: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.logo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 242, 255, 0.2);
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 768px) {
  .logo-item {
    width: 130px;
    height: 130px;
  }
}

/* Service Page Enhancements */
.service-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-visual {
  flex: 1;
  position: relative;
}

.service-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.service-row:nth-child(even) .service-image-container {
  transform: perspective(1000px) rotateY(5deg);
}

.service-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.service-image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.image-overlay-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(13, 40, 74, 0.4), transparent);
  pointer-events: none;
}

@media (max-width: 992px) {
  .service-row, .service-row:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .service-image-container {
    transform: none !important;
  }
  .service-image-container img {
    height: 350px;
  }
}

/* Staggered Animations */
.reveal .card,
.reveal .sector-card,
.reveal .glass-card {
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
