/* ============================================
   POVO STUDIOS — Premium Multi-Page Design System
   ============================================ */
/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --yellow: #D4D700;
  --yellow-dim: #8B8C00;
  --yellow-glow: rgba(212, 215, 0, 0.4);
  --black: #0a0a0a;
  --dark-bg: #121212;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --pink: #E91E8C;
  --gray: #999999;
  --gray-light: #1f1f1f;
  --gray-border: #333333;
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --nav-height: 80px;
  --section-padding: 120px 0;
  --container-width: 1280px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* Theme-sensitive variables (dark by default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #f5f5f5;
  --text-muted: #999999;
  --border-color: rgba(255,255,255,0.05);
  --nav-bg: rgba(10, 10, 10, 0.7);
  --nav-bg-scrolled: rgba(10, 10, 10, 0.95);
  --footer-bg: #050505;
  --input-bg: #0a0a0a;
}

/* ============================================
   LIGHT MODE
   ============================================ */
body.light-mode {
  --black: #ffffff;
  --dark-bg: #f0f0f0;
  --white: #0a0a0a;
  --off-white: #1a1a1a;
  --gray: #555555;
  --gray-light: #e8e8e8;
  --gray-border: #cccccc;
  --bg-primary: #f8f8f2;
  --bg-secondary: #f0f0f0;
  --bg-card: #e8e8e8;
  --text-primary: #0a0a0a;
  --text-secondary: #1a1a1a;
  --text-muted: #555555;
  --border-color: rgba(0,0,0,0.08);
  --nav-bg: rgba(248, 248, 242, 0.85);
  --nav-bg-scrolled: rgba(248, 248, 242, 0.97);
  --footer-bg: #e0e0d8;
  --input-bg: #ffffff;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body.light-mode .navbar {
  background: var(--nav-bg);
  border-bottom-color: rgba(0,0,0,0.1);
}

body.light-mode .navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: rgba(212, 215, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

body.light-mode .nav-links a {
  color: #1a1a1a;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
  color: #8a8a00;
}

body.light-mode .lang-toggle {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
}

body.light-mode .lang-toggle a:not(.active-lang) {
  color: #1a1a1a;
}

body.light-mode .hamburger span {
  background: #1a1a1a;
}

body.light-mode .hero {
  background: radial-gradient(circle at bottom right, rgba(233, 30, 140, 0.06) 0%, transparent 50%),
    radial-gradient(circle at top left, rgba(212, 215, 0, 0.08) 0%, transparent 50%),
    var(--bg-primary);
}

body.light-mode .hero-title {
  color: #0a0a0a;
}

body.light-mode .page-header {
  background: radial-gradient(circle at center, #e0e0d8 0%, var(--bg-primary) 100%);
}

body.light-mode .page-title {
  color: #0a0a0a;
}

body.light-mode .page-subtitle {
  color: #555555;
}

body.light-mode .mv-box {
  background: #e8e8e8;
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .mv-box:hover {
  background: #dcdcdc;
  border-color: rgba(212, 215, 0, 0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

body.light-mode .service-card-large {
  background: linear-gradient(145deg, #e8e8e8 0%, rgba(220,220,220,0.8) 100%);
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .contact-form-large {
  background: #e8e8e8;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

body.light-mode .contact-form-large h3 {
  color: #0a0a0a;
}

body.light-mode .input-group input,
body.light-mode .input-group textarea {
  background: #ffffff;
  color: #0a0a0a;
  border-color: rgba(0,0,0,0.1);
}

body.light-mode .input-group input:focus,
body.light-mode .input-group textarea:focus {
  background: #fff;
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(212,215,0,0.15);
}

body.light-mode .input-group label {
  color: #1a1a1a;
}

body.light-mode .footer {
  background: var(--footer-bg);
  border-top-color: rgba(0,0,0,0.08);
}

body.light-mode .footer-nav a {
  color: #444444;
}

body.light-mode .footer-nav a:hover {
  color: #8a8a00;
}

body.light-mode .copyright {
  color: #555555;
}

body.light-mode .social-links-large a {
  background: #d8d8d0;
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .social-links-large a svg {
  fill: #1a1a1a;
}

body.light-mode .catalog-pdf-container {
  background: #e8e8e8;
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .catalog-pdf-container iframe {
  background: #f5f5f0;
}

body.light-mode .about-text-content p {
  color: #1a1a1a;
}

body.light-mode .contact-text h4 {
  color: #0a0a0a;
}

body.light-mode .contact-text p,
body.light-mode .contact-text a {
  color: #555555;
}

body.light-mode .contact-icon {
  background: rgba(212, 215, 0, 0.15);
  border-color: rgba(212, 215, 0, 0.4);
}

body.light-mode .service-card-large h3 {
  color: #0a0a0a;
}

body.light-mode .service-card-large p {
  color: #444444;
}

body.light-mode .service-features {
  border-top-color: rgba(0,0,0,0.1);
}

body.light-mode .service-features li {
  color: #1a1a1a;
}

body.light-mode .client-logo-box {
  background: #f0f0ec;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Light mode mobile nav overlay */
body.light-mode .nav-links {
  background: rgba(248, 248, 242, 0.98);
}

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: var(--transition-bounce);
  flex-shrink: 0;
  margin-left: 10px;
  padding: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

[dir="rtl"] .theme-toggle {
  margin-left: 0;
  margin-right: 10px;
}

.theme-toggle:hover {
  background: rgba(212, 215, 0, 0.15);
  border-color: var(--yellow);
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 0 16px rgba(212, 215, 0, 0.3);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--off-white);
  transition: var(--transition);
  pointer-events: none;
}

.theme-toggle:hover svg {
  fill: var(--yellow);
}

body.light-mode .theme-toggle {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.14);
}

body.light-mode .theme-toggle svg {
  fill: #1a1a1a;
}

body.light-mode .theme-toggle:hover {
  background: rgba(212, 215, 0, 0.2);
  border-color: #8a8a00;
}

/* Sun icon shown in dark mode (click to go light) */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

body.light-mode .theme-toggle .icon-sun { display: none; }
body.light-mode .theme-toggle .icon-moon { display: block; }

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  direction: ltr;
}

body {
  direction: rtl;
}

body {
  font-family: var(--font-en);
  background-color: var(--black);
  color: var(--white);
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Arabic body */
[dir="rtl"] body,
body[dir="rtl"] {
  font-family: var(--font-ar);
}

[dir="rtl"] {
  font-family: var(--font-ar);
}

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

ul,
ol {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Page Transitions --- */
.page-wrapper {
  animation: pageEnter 0.5s ease forwards;
  opacity: 0;
}

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

/* --- Section Base --- */
section {
  padding: var(--section-padding);
  position: relative;
}

.page-header {
  padding: 180px 0 100px;
  background: radial-gradient(circle at center, var(--gray-light) 0%, var(--black) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
  opacity: 0.5;
}

.page-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  display: inline-block;
  text-transform: capitalize;
  letter-spacing: -1px;
}

.page-title .highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
}

.page-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -5%;
  width: 110%;
  height: 12px;
  background: var(--yellow-glow);
  z-index: -1;
  transform: skewX(-15deg);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  line-height: 2.2;
  word-spacing: 3px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  z-index: 1005;
  overflow: visible;
  width: 100%;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(212, 215, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.navbar-logo img {
  height: 75px;
  width: auto;
  transition: var(--transition-bounce);
  filter: drop-shadow(0 0 10px rgba(212, 215, 0, 0.2));
}

.navbar-logo:hover img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 15px rgba(212, 215, 0, 0.6));
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--off-white);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
  overflow: hidden;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

[dir="rtl"] .nav-links a::after {
  transform: translateX(101%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(0);
}

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

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 16px;
}

[dir="rtl"] .lang-toggle {
  margin-left: 0;
  margin-right: 16px;
}

.lang-toggle a {
  padding: 8px 18px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-toggle a.active-lang {
  background: var(--yellow);
  color: var(--black);
}

.lang-toggle a:not(.active-lang):hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.lang-toggle a:not(.active-lang)::after {
  display: none;
}

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

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

.hamburger:hover span:nth-child(2) {
  width: 24px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION (HOME)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: radial-gradient(circle at bottom right, rgba(233, 30, 140, 0.1) 0%, transparent 50%),
    radial-gradient(circle at top left, rgba(212, 215, 0, 0.1) 0%, transparent 50%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 215, 0, 0.1);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 215, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(212, 215, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 215, 0, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 30px;
  color: var(--white);
  letter-spacing: -1px;
}

[dir="rtl"] .hero-title {
  word-spacing: 4px;
  letter-spacing: 0;
}

.hero-title .highlight {
  color: var(--yellow);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 2.2;
}

[dir="rtl"] .hero-subtitle {
  word-spacing: 3px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--yellow);
  color: var(--black);
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

[dir="rtl"] .hero-cta::before {
  transform-origin: left;
}

.hero-cta:hover {
  color: var(--black);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 215, 0, 0.4);
}

.hero-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

[dir="rtl"] .hero-cta:hover::before {
  transform-origin: right;
}

.hero-cta svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(6px);
}

[dir="rtl"] .hero-cta:hover svg {
  transform: translateX(-6px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-image {
  max-width: 550px;
  width: 100%;
  animation: floatHero 10s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
  transform-style: preserve-3d;
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none !important;
  }
}

/* Blob behind hero image */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 215, 0, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseBlob 4s infinite alternate;
}

@keyframes pulseBlob {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--yellow);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  transform: skewY(-2deg);
  margin-top: -30px;
  z-index: 10;
}

.stats-bar>* {
  transform: skewY(2deg);
}

.stats-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
  pointer-events: none;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
  transition: var(--transition-bounce);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.1);
}

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION (INNER PAGE)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-text-content p {
  font-size: 1.15rem;
  color: var(--off-white);
  line-height: 2.3;
  margin-bottom: 30px;
  word-spacing: 3px;
}

.about-text-content .highlight {
  color: var(--yellow);
  font-weight: 700;
  border-bottom: 2px solid rgba(212, 215, 0, 0.3);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 40px;
  left: 40px;
  border: 4px solid var(--yellow);
  border-radius: 30px;
  z-index: 0;
  transition: var(--transition-bounce);
}

[dir="rtl"] .about-image-wrapper::before {
  right: 40px;
  left: 0;
}

.about-image-wrapper:hover::before {
  transform: translate(15px, 15px);
}

[dir="rtl"] .about-image-wrapper:hover::before {
  transform: translate(-15px, 15px);
}

.about-image {
  border-radius: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.02);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 80px;
}

.mv-box {
  background: var(--gray-light);
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

[dir="rtl"] .mv-box::before {
  transform-origin: right;
}

.mv-box:hover::before {
  transform: scaleX(1);
}

.mv-box:hover {
  transform: translateY(-10px);
  background: #181818;
  border-color: rgba(212, 215, 0, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mv-box h3 {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.mv-box h3 img {
  width: 40px;
  height: 40px;
}

/* ============================================
   SERVICES SECTION (INNER PAGE)
   ============================================ */
.services-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card-large {
  background: linear-gradient(145deg, var(--gray-light) 0%, rgba(30, 30, 30, 0.5) 100%);
  border-radius: 30px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-large:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 215, 0, 0.3);
}

.service-icon-large {
  width: 140px;
  height: 140px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  transition: var(--transition);
}

.service-card-large:hover .service-icon-large {
  transform: scale(1.1) rotate(5deg);
  background: rgba(212, 215, 0, 0.1);
}

.service-icon-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.service-card-large h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.service-card-large p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 2.0;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-bottom: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--off-white);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  color: var(--yellow);
  font-weight: 900;
}

/* ============================================
   CATALOG SECTION (INNER PAGE)
   ============================================ */
.catalog-pdf-container {
  max-width: 1000px;
  margin: 60px auto 0;
  background: var(--gray-light);
  border-radius: 30px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.catalog-pdf-container iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 16px;
  background: var(--black);
  margin-bottom: 40px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--black);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 215, 0, 0.3);
  background: var(--white);
}

.btn-primary svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   CLIENTS SECTION (INNER PAGE)
   ============================================ */
.clients-grid-massive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.client-logo-box {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.client-logo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--yellow);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.client-logo-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(212, 215, 0, 0.2);
}

.client-logo-box:hover::before {
  opacity: 0.1;
}

.client-logo-box img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.client-logo-box:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* ============================================
   CONTACT SECTION (INNER PAGE)
   ============================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 215, 0, 0.1);
  border: 1px solid rgba(212, 215, 0, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--yellow);
  transition: var(--transition);
}

.contact-detail:hover .contact-icon {
  background: var(--yellow);
  transform: scale(1.1) rotate(5deg);
}

.contact-detail:hover .contact-icon svg {
  fill: var(--black);
}

.contact-text h4 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 500;
}

.contact-text a:hover {
  color: var(--yellow);
}

.social-links-large {
  display: flex;
  gap: 15px;
}

.social-links-large a {
  width: 55px;
  height: 55px;
  background: var(--gray-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links-large a svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  transition: var(--transition);
}

.social-links-large a:hover {
  background: var(--yellow);
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(212, 215, 0, 0.3);
}

.social-links-large a:hover svg {
  fill: var(--black);
}

.contact-form-large {
  background: var(--gray-light);
  padding: 50px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-form-large h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--white);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--off-white);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 18px 24px;
  background: var(--black);
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--yellow);
  background: #050505;
  box-shadow: 0 0 20px rgba(212, 215, 0, 0.1);
}

.input-group textarea {
  min-height: 180px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 20px;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-bounce);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(212, 215, 0, 0.3);
  background: var(--white);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form success/error messages */
.form-message {
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 15px;
  text-align: center;
  display: none;
  animation: fadeInMsg 0.4s ease;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(244, 67, 54, 0.15);
  color: #F44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

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

/* Google Maps Embed */
.map-section {
  margin-top: 30px;
}

.contact-info .map-section {
  margin-top: 20px;
}

.map-container {
  background: var(--gray-light);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.map-container:hover {
  border-color: rgba(212, 215, 0, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.map-header {
  text-align: center;
  margin-bottom: 30px;
}

.map-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.map-header p {
  font-size: 1.1rem;
  color: var(--gray);
}

body.light-mode .map-container {
  background: #e8e8e8;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

body.light-mode .map-header h3 {
  color: #0a0a0a;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050505;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
  height: 90px;
  width: auto;
  filter: grayscale(100%) brightness(200%);
  opacity: 0.5;
  transition: var(--transition);
}

.footer-logo:hover img {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: var(--gray);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--gray);
  font-size: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.1s;
}

.stagger-3 {
  transition-delay: 0.15s;
}

.stagger-4 {
  transition-delay: 0.2s;
}

.stagger-5 {
  transition-delay: 0.25s;
}

/* Continuous floating animation for cards/elements */
.float-anim {
  animation: floatSeamless 6s ease-in-out infinite;
}

@keyframes floatSeamless {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Navbar links cramped at medium screens */
@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .lang-toggle a {
    padding: 7px 13px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --section-padding: 80px 0;
  }

  /* Navbar logo size on mobile */
  .navbar-logo img {
    height: 55px;
  }

  /* Full-screen mobile menu overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transform: translateX(0);
    transition: visibility 0.4s, opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
  }

  [dir="rtl"] .nav-links {
    visibility: hidden;
    opacity: 0;
    transform: translateX(0);
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) !important;
  }

  .nav-links a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--off-white);
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }

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

  .lang-toggle {
    margin: 10px 0 0 0;
    font-size: 1rem;
  }

  .lang-toggle a {
    padding: 10px 22px;
  }

  .hamburger {
    display: flex;
    z-index: 1010;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .contact-form-large {
    padding: 30px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .stats-container {
    flex-direction: column;
    gap: 40px;
  }

  .services-grid-large {
    grid-template-columns: 1fr;
  }

  .clients-grid-massive {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
  }

  .catalog-pdf-container iframe {
    height: 500px;
  }

  .catalog-pdf-container {
    padding: 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta {
    padding: 15px 30px;
    font-size: 1rem;
  }

  section {
    padding: 70px 0;
  }

  .page-header {
    padding: 130px 0 70px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 65px;
  }

  .navbar-logo img {
    height: 48px;
  }

  .container {
    padding: 0 4%;
  }

  .hero-image {
    max-width: 280px;
  }

  .clients-grid-massive {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-box {
    padding: 30px 20px;
  }

  .service-card-large {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}