/* ============================================================
   MARTEL MULTI ACTIVITIES — STYLESHEET v2
   ============================================================ */
:root {
  --primary: #F26B0F;
  --primary-light: #F49356;
  --primary-dark: #D95D0C;
  --secondary: #6C5CE7;
  --secondary-light: #9B8AFF;
  --secondary-dark: #4A3DB8;
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --text-primary: #212529;
  --text-secondary: #6C757D;
  --text-light: #ADB5BD;
  --success: #28A745;
  --error: #DC3545;
  --warning: #FFC107;
  --info: #17A2B8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

body.lang-ar {
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
}

/* --- Language Text (managed entirely via JS) --- */

/* ================================================================ PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f0a1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.preloader.hidden {
  animation: preOut 0.6s ease forwards;
  pointer-events: none;
}

.pre-logo {
  width: 200px;
  height: auto;
  animation: pulseLogo 1s ease-in-out infinite;
}

.pre-logo-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #fff;
  padding: 10px 16px;

  display: block;
}

.pre-text {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
}

.pre-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.pre-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  animation: fillBar 1.4s ease forwards;
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1)
  }
}

@keyframes fillBar {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes preOut {
  to {
    opacity: 0;
    transform: scale(1.05)
  }
}

/* ================================================================ GLOBAL KEYFRAMES */

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-12px) rotate(1deg);
  }

  75% {
    transform: translateY(-6px) rotate(-1deg);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}



/* ================================================================ SCROLL PROGRESS */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.1s linear;
}

/* ================================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 24px rgba(242, 107, 15, .35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(242, 107, 15, .45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

/* ================================================================ NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .08);
}

.navbar.scrolled .nav-link {
  color: var(--text-primary);
}

.navbar.scrolled .logo-main {
  color: var(--primary);
}

.navbar.scrolled .logo-tagline {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-link::after {
  background: var(--primary);
}

.navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Real logo image in the navbar */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 10px;

  padding: 4px 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .2);
  transition: var(--transition);
  object-fit: contain;
}

.nav-logo-img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 24px rgba(242, 107, 15, .3);
}

/* When navbar is scrolled, logo background matches white bg */
.navbar.scrolled .nav-logo-img {
  background: rgba(255, 255, 255, .0);
  box-shadow: none;
  padding: 0;
}



.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.logo-ar {
  display: block;
}

.logo-en {
  display: none;
}

.lang-en .logo-ar {
  display: none;
}

.lang-en .logo-en {
  display: block;
}

.logo-tagline {
  font-size: 10px;
  color: rgba(255, 255, 255, .7);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  display: block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  left: 14px;
  right: 14px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
  background: rgba(242, 107, 15, .06);
}

.navbar.scrolled .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
  border: 1.5px solid rgba(255, 255, 255, .3);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.08);
}

.navbar.scrolled .lang-toggle {
  background: rgba(242, 107, 15, .1);
  color: var(--primary);
  border-color: var(--primary);
}

.lang-ar-label {
  display: block;
}

.lang-en-label {
  display: none;
}

.lang-en .lang-ar-label {
  display: none;
}

.lang-en .lang-en-label {
  display: block;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(242, 107, 15, .3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 107, 15, .4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================================================ HERO */
.hero {
  height: 100vh;
  min-height: 620px;
  background: linear-gradient(135deg, #1a0a00 0%, #2d1500 25%, #0f0a2e 60%, #1a0535 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 50%, rgba(242, 107, 15, .25) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 80% 30%, rgba(108, 92, 231, .2) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 60% 80%, rgba(242, 107, 15, .1) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

/* ── SLIDER TRACK (container for slides) ── */
.slider-track {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ── INDIVIDUAL SLIDE ── */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: translateX(60px);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.hero-slide.exit {
  opacity: 0;
  transform: translateX(-60px);
  z-index: 0;
}

/* Slide background image overlay */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(20, 6, 0, 0.55) 0%,
      rgba(18, 8, 40, 0.45) 50%,
      rgba(20, 6, 0, 0.3) 100%);
}

/* ── SLIDE CONTENT ── */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 100px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 107, 15, .15);
  border: 1px solid rgba(242, 107, 15, .35);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-slide.active .hero-badge {
  animation: fadeSlideDown .7s ease both 0.1s;
}

.hero-title {
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.1;
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero-slide.active .hero-title {
  animation: fadeSlideUp .8s ease both 0.2s;
}

.hero-title span {
  display: block;
}

.hero-title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-light);
  font-size: clamp(32px, 5vw, 68px);
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255, 255, 255, .85);
  max-width: 620px;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-slide.active .hero-subtitle {
  animation: fadeSlideUp .8s ease both 0.3s;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-slide.active .hero-desc {
  animation: fadeSlideUp .8s ease both 0.4s;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-slide.active .hero-btns {
  animation: fadeSlideUp .8s ease both 0.5s;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.hero-slide.active .hero-stats {
  animation: fadeSlideUp .8s ease both 0.6s;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}

.stat-item small {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .15);
}

/* ── SLIDER ARROWS ── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-arrow:hover {
  background: rgba(242, 107, 15, .4);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(242, 107, 15, .4);
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
}

.slider-prev {
  right: 24px;
}

.slider-next {
  left: 24px;
}

/* RTL overrides for arrows */
[dir="ltr"] .slider-prev {
  right: auto;
  left: 24px;
}

[dir="ltr"] .slider-next {
  left: auto;
  right: 24px;
}

/* ── SLIDER DOTS ── */
.slider-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid transparent;
}

.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 0 12px rgba(242, 107, 15, .5);
}

/* ── SLIDER PROGRESS BAR ── */
.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, .1);
  z-index: 20;
}

.slider-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.1s linear;
}

/* ── SLIDE COUNTER BADGE ── */
.slide-counter {
  position: absolute;
  bottom: 72px;
  right: 24px;
  z-index: 20;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

[dir="ltr"] .slide-counter {
  right: auto;
  left: 24px;
}

/* ── SCROLL INDICATOR ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  animation: bounce 1.8s infinite;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 255, 255, .5);
  border-bottom: 2px solid rgba(255, 255, 255, .5);
  transform: rotate(45deg);
}

/* ================================================================ HERO FLOATING ICONS */
.hero-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  cursor: default;
  opacity: 0;
  animation: hfFadeIn .8s ease forwards, heroFloat 7s ease-in-out infinite;
  transition: opacity var(--transition), transform var(--transition);
}

.hero-float:hover {
  opacity: 1 !important;
  z-index: 20;
}

.hero-float:hover .hf-card {
  transform: scale(1.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

/* — glass card wrapping each icon — */
.hero-float .hf-card {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 8px 36px rgba(0, 0, 0, .28);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}

.hero-float svg {
  width: 58px;
  height: 58px;
  position: relative;
  z-index: 2;
}

/* — glowing background blobs — */
.hf-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .65;
  pointer-events: none;
  z-index: 0;
  width: 70px;
  height: 70px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glow-orange {
  background: radial-gradient(circle, #F26B0F, #FF8C42);
}

.glow-purple {
  background: radial-gradient(circle, #6C5CE7, #9B8AFF);
}

.glow-teal {
  background: radial-gradient(circle, #17A2B8, #0dcaf0);
}

.glow-green {
  background: radial-gradient(circle, #28A745, #52c970);
}

.glow-purple2 {
  background: radial-gradient(circle, #4A3DB8, #7B6FE0);
}

.glow-orange2 {
  background: radial-gradient(circle, #D95D0C, #F49356);
}

/* — label beneath each icon — */
.hf-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .38);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.hero-float:hover .hf-label {
  opacity: 1;
  transform: translateY(0);
}

/* — ping ring on hover — */
.hero-float .hf-card::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, .12);
  opacity: 0;
  transition: opacity .4s ease;
}

.hero-float:hover .hf-card::after {
  opacity: 1;
  animation: pingRing 1.2s ease-out infinite;
}

/* ——— Individual positions ——— */

/* Solar: top-right large */
.hf-solar {
  top: 12%;
  right: 6%;
  animation-delay: 0s;
  animation-duration: 7s;
  opacity: .55;
}

/* Code: mid-right */
.hf-code {
  top: 42%;
  right: 3%;
  animation-delay: 1.4s;
  animation-duration: 8s;
  opacity: .5;
}

/* Engineering: bottom-right */
.hf-eng {
  bottom: 15%;
  right: 10%;
  animation-delay: 2.8s;
  animation-duration: 6.5s;
  opacity: .48;
}

/* Network: upper right cluster */
.hf-net {
  top: 8%;
  right: 18%;
  animation-delay: 0.7s;
  animation-duration: 9s;
  opacity: .4;
}

/* Battery: mid cluster */
.hf-batt {
  top: 55%;
  right: 16%;
  animation-delay: 3.5s;
  animation-duration: 7.5s;
  opacity: .38;
}

/* Supply: bottom cluster */
.hf-supply {
  bottom: 10%;
  right: 20%;
  animation-delay: 2s;
  animation-duration: 8.5s;
  opacity: .36;
}

/* LTR mirror positions */
.lang-en .hf-solar {
  right: auto;
  left: 6%;
}

.lang-en .hf-code {
  right: auto;
  left: 3%;
}

.lang-en .hf-eng {
  right: auto;
  left: 10%;
}

.lang-en .hf-net {
  right: auto;
  left: 22%;
}

.lang-en .hf-batt {
  right: auto;
  left: 20%;
}

.lang-en .hf-supply {
  right: auto;
  left: 28%;
}

/* — SVG inner animations — */
@keyframes spinRays {
  to {
    transform: rotate(360deg);
  }
}

.spin-rays {
  animation: spinRays 10s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.blink-cursor {
  animation: blinkCursor 1s step-end infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: .35;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.pulse-ring {
  animation: pulseRing 2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.pulse-ring-d {
  animation: pulseRing 2s ease-out infinite .8s;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes pulseSmall {
  0% {
    opacity: .55;
    transform: scale(1);
  }

  50% {
    opacity: .2;
    transform: scale(1.6);
  }

  100% {
    opacity: .55;
    transform: scale(1);
  }
}

.pulse-small {
  animation: pulseSmall 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.pulse-small-d {
  animation: pulseSmall 2.2s ease-in-out infinite .9s;
  transform-box: fill-box;
  transform-origin: center;
}

/* ping ring on hover card */
@keyframes pingRing {
  0% {
    transform: scale(1);
    opacity: .5;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* fade in on load */
@keyframes hfFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: var(--hf-opacity, .5);
    transform: translateY(0);
  }
}

/* sizes per float */
.hf-solar .hf-card {
  width: 100px;
  height: 100px;
  border-radius: 28px;
}

.hf-solar svg {
  width: 66px;
  height: 66px;
}

.hf-code .hf-card {
  width: 96px;
  height: 96px;
}

.hf-code svg {
  width: 64px;
  height: 64px;
}

.hf-eng .hf-card {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.hf-eng svg {
  width: 56px;
  height: 56px;
}

.hf-net .hf-card {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

.hf-net svg {
  width: 52px;
  height: 52px;
}

.hf-batt .hf-card {
  width: 82px;
  height: 82px;
  border-radius: 20px;
}

.hf-batt svg {
  width: 52px;
  height: 52px;
}

.hf-supply .hf-card {
  width: 78px;
  height: 78px;
  border-radius: 20px;
}

.hf-supply svg {
  width: 50px;
  height: 50px;
}

/* coloured top-border accent per card */
.hf-solar .hf-card {
  border-top-color: rgba(255, 193, 7, .5);
}

.hf-code .hf-card {
  border-top-color: rgba(108, 92, 231, .6);
}

.hf-eng .hf-card {
  border-top-color: rgba(23, 162, 184, .5);
}

.hf-net .hf-card {
  border-top-color: rgba(155, 138, 255, .5);
}

.hf-batt .hf-card {
  border-top-color: rgba(40, 167, 69, .5);
}

.hf-supply .hf-card {
  border-top-color: rgba(242, 107, 15, .5);
}

/* secondary icons only on very wide screens */
@media (max-width: 1500px) {

  .hf-net,
  .hf-batt,
  .hf-supply {
    display: none;
  }
}

/* primary 3 icons: tablet adjustments */
@media (max-width: 1100px) {
  .hf-solar {
    top: 10%;
    right: 4%;
  }

  .hf-code {
    top: 44%;
    right: 2%;
  }

  .hf-eng {
    bottom: 12%;
    right: 6%;
  }
}

@media (max-width: 768px) {

  .hf-solar,
  .hf-code,
  .hf-eng,
  .hf-net,
  .hf-batt,
  .hf-supply {
    display: none;
  }
}

/* ================================================================ SERVICES STRIP */
.services-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 24px 0;
}

.strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.strip-sep {
  color: rgba(255, 255, 255, .4);
  font-size: 16px;
}

/* ================================================================ SECTION HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(242, 107, 15, .1);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(242, 107, 15, .2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-tag.light {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .2);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.light {
  color: #fff;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-desc.light {
  color: rgba(255, 255, 255, .7);
}

/* ================================================================ ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
}

.about-illustration {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-badge-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  animation: float 5s ease-in-out infinite;
}

.card-1 {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 2.5s;
}

.lang-en .card-1 {
  left: auto;
  right: -20px;
}

.lang-en .card-2 {
  right: auto;
  left: -20px;
}

.about-badge-card .badge-icon {
  font-size: 28px;
}

.about-badge-card strong {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.about-badge-card small {
  font-size: 12px;
  color: var(--text-secondary);
}

.about-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.vmv-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.vmv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.vmv-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.vmv-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vmv-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-tag {
  background: linear-gradient(135deg, rgba(242, 107, 15, .1), rgba(108, 92, 231, .1));
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(242, 107, 15, .2);
  transition: var(--transition);
}

.value-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

/* ================================================================ WHY US */
.section-dark {
  background: linear-gradient(135deg, #0f0a1e 0%, #1a0a35 40%, #0d1a3a 100%);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(242, 107, 15, .12) 0%, transparent 70%), radial-gradient(ellipse 60% 40% at 100% 100%, rgba(108, 92, 231, .15) 0%, transparent 70%);
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 107, 15, .08), rgba(108, 92, 231, .08));
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 107, 15, .3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
}

.why-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(242, 107, 15, .2), rgba(108, 92, 231, .2));
  border: 1px solid rgba(242, 107, 15, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

.why-icon {
  font-size: 28px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.8;
}

/* ================================================================ ACTIVITIES */
.act-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.act-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: inherit;
}

.act-tab:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.act-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(242, 107, 15, .35);
  border-color: transparent;
}

.tab-icon {
  font-size: 18px;
}

.act-panel {
  display: none;
  animation: fadeIn .4s ease;
}

.act-panel.active {
  display: block;
}

.panel-hero {
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.panel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .06;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, .5) 20px, rgba(255, 255, 255, .5) 22px);
}

.tech-panel {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.solar-panel {
  background: linear-gradient(135deg, #e67e00, var(--primary));
}

.eng-panel {
  background: linear-gradient(135deg, #1a3a6b, #2563eb);
}

.supply-panel {
  background: linear-gradient(135deg, #0f766e, #059669);
}

.panel-icon-big {
  font-size: 52px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.panel-info {
  position: relative;
  z-index: 1;
}

.panel-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.panel-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.lang-en .service-card::before {
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.svc-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================================ PROJECTS */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 2px solid rgba(0, 0, 0, .08);
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(242, 107, 15, .3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb-icon {
  font-size: 68px;
  opacity: .4;
  transition: var(--transition);
}

.project-card:hover .project-thumb-icon {
  transform: scale(1.15);
  opacity: .6;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-icon {
  font-size: 36px;
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .92);
  color: var(--text-primary);
}

.lang-en .project-category-badge {
  left: auto;
  right: 14px;
}

.project-body {
  padding: 24px;
}

.project-date {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.project-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.projects-actions {
  text-align: center;
}

.color-orange .project-thumb {
  background: linear-gradient(135deg, #F26B0F, #F49356);
}

.color-purple .project-thumb {
  background: linear-gradient(135deg, #6C5CE7, #9B8AFF);
}

.color-teal .project-thumb {
  background: linear-gradient(135deg, #17A2B8, #28A745);
}

.color-dark .project-thumb {
  background: linear-gradient(135deg, #212529, #495057);
}

/* ================================================================ CTA BANNER */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ================================================================ MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn .3s ease;
}

.modal-box {
  background: var(--surface);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  padding: 36px;
  animation: slideUp .35s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 20px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--error);
  color: #fff;
}

/* ================================================================ FORMS */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, .1);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242, 107, 15, .1);
  background: var(--surface);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(40, 167, 69, .1);
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(40, 167, 69, .2);
}

.form-success.show {
  display: block;
  animation: fadeIn .4s ease;
}

.color-picker-row {
  display: flex;
  gap: 12px;
}

.color-opt input {
  display: none;
}

.color-opt span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
}

.color-opt input:checked+span {
  border-color: var(--text-primary);
  transform: scale(1.18);
}

/* ================================================================ CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.lang-en .info-card:hover {
  transform: translateX(5px);
}

.info-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(242, 107, 15, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.info-content a,
.info-content p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.info-content a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, .05);
}

/* ================================================================ FOOTER */
.footer {
  background: #0a0614;
}

.footer-top {
  padding: 70px 0 50px;
}

/* Used by index.html */
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Used by components.js (unified footer for all pages) */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 70px 0 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 280px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }
}

@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 24px;
  }
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  padding: 8px 16px;
  object-fit: contain;
  transition: var(--transition);
}

.footer-logo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(242, 107, 15, .3);
}



.footer-name-ar,
.footer-name-en {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.footer-logo small {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  display: block;
  margin-top: 2px;
}

.footer-about {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--primary-light);
  padding-inline-start: 6px;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, .3);
}

/* ================================================================ WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
  transition: var(--transition);
  animation: wpPulse 2.5s infinite;
}

.lang-ar .whatsapp-float {
  right: 28px;
  left: auto;
}

.lang-en .whatsapp-float {
  left: 28px;
  right: auto;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .6);
  animation: none;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, .85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lang-en .wa-tooltip {
  right: auto;
  left: 70px;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@keyframes wpPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5)
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, .8), 0 0 0 12px rgba(37, 211, 102, .1)
  }
}

/* ================================================================ BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(242, 107, 15, .4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(242, 107, 15, .5);
}

.lang-ar .back-to-top {
  right: auto;
  left: 28px;
}

.lang-en .back-to-top {
  left: auto;
  right: 28px;
}

/* ================================================================ AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* ================================================================ KEYFRAMES */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ================================================================ RESPONSIVE */
@media (max-width:1100px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width:900px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width:768px) {
  :root {
    --nav-h: 66px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0, 0, 0, .06);
    z-index: 999;
  }

  .nav-links.open .nav-link {
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
  }

  .nav-links.open .nav-link:hover {
    background: rgba(242, 107, 15, .08);
    color: var(--primary);
  }

  .nav-links.open .nav-link.active {
    color: var(--primary);
    background: rgba(242, 107, 15, .06);
  }

  .nav-links.open .nav-link::after {
    display: none;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .float-1,
  .float-2,
  .float-3 {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .vmv-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .panel-hero {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .section {
    padding: 70px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .act-tab {
    padding: 10px 16px;
    font-size: 13px;
  }

  .hero-stats {
    padding: 16px 20px;
  }

  .why-card {
    padding: 24px 20px;
  }
}

/* ================================================================
   PROJECT DETAIL MODAL
   ================================================================ */
.proj-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  padding: 16px;
}

.proj-detail-overlay.open {
  opacity: 1;
  visibility: visible;
}

.proj-detail-modal {
  background: var(--surface, #fff);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(40px) scale(.97);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .35);
  scrollbar-width: thin;
}

.proj-detail-overlay.open .proj-detail-modal {
  transform: translateY(0) scale(1);
}

.proj-detail-close {
  position: sticky;
  top: 12px;
  float: left;
  margin: 12px 12px -44px auto;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .2s;
  line-height: 1;
}

[dir="rtl"] .proj-detail-close {
  float: right;
  margin: 12px auto -44px 12px;
}

.proj-detail-close:hover {
  background: rgba(220, 53, 69, .85);
  transform: scale(1.1);
}

/* ─── Gallery ─── */
.proj-detail-gallery {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #111;
  flex-shrink: 0;
}

.gallery-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: background .2s, transform .2s;
  line-height: 1;
}

.gallery-btn:hover {
  background: rgba(242, 107, 15, .75);
  transform: translateY(-50%) scale(1.08);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

[dir="rtl"] .gallery-prev {
  left: auto;
  right: 14px;
}

[dir="rtl"] .gallery-next {
  right: auto;
  left: 14px;
}

.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .25s, transform .25s;
  border: none;
}

.gallery-dot.active {
  background: #fff;
  transform: scale(1.35);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
}

.gallery-placeholder.color-orange {
  background: linear-gradient(135deg, #F26B0F 0%, #F49356 100%);
}

.gallery-placeholder.color-purple {
  background: linear-gradient(135deg, #6C5CE7 0%, #9B8AFF 100%);
}

.gallery-placeholder.color-teal {
  background: linear-gradient(135deg, #17A2B8 0%, #28DEA8 100%);
}

.gallery-placeholder.color-dark {
  background: linear-gradient(135deg, #212529 0%, #495057 100%);
}

/* ─── Content ─── */
.proj-detail-content {
  padding: 28px 32px 36px;
}

.proj-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.proj-detail-cat {
  background: rgba(242, 107, 15, .12);
  color: var(--primary, #F26B0F);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .3px;
}

.proj-detail-date {
  font-size: 13px;
  color: var(--text-secondary, #6C757D);
}

.proj-detail-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary, #212529);
  margin-bottom: 14px;
  line-height: 1.3;
}

.proj-detail-desc {
  font-size: 15px;
  color: var(--text-secondary, #6C757D);
  line-height: 1.75;
  margin-bottom: 20px;
}

.proj-detail-longdesc {
  font-size: 14px;
  color: var(--text-primary, #212529);
  line-height: 1.9;
  border-top: 1.5px solid rgba(0, 0, 0, .07);
  padding-top: 20px;
  margin-bottom: 28px;
  white-space: pre-wrap;
}

/* ─── Video ─── */
.proj-detail-video {
  margin-top: 24px;
}

.detail-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary, #212529);
  margin-bottom: 14px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: none;
}

/* ─── Project Card Enhancements ─── */
.project-thumb.has-image .project-thumb-icon {
  display: none;
}

.proj-card-imgs-badge,
.proj-card-video-badge {
  font-size: 12px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.project-overlay {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.proj-card-footer {
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .07);
  padding-top: 10px;
}

.proj-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #F26B0F);
  transition: gap .2s;
}

.project-card:hover .proj-read-more {
  letter-spacing: .5px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .proj-detail-gallery {
    height: 240px;
  }

  .proj-detail-content {
    padding: 20px 20px 28px;
  }

  .proj-detail-title {
    font-size: 20px;
  }

  .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .proj-detail-modal {
    max-height: 95vh;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .proj-detail-gallery {
    height: 200px;
  }

  .proj-detail-content {
    padding: 16px 16px 24px;
  }
}

/* ================================================================ FEATURED PRODUCTS (Homepage) */
.home-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .home-prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-prod-grid {
    grid-template-columns: 1fr;
  }
}

.home-prod-card {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.home-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(242, 107, 15, 0.22);
  border-color: rgba(242, 107, 15, 0.25);
}

.home-prod-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1030 0%, #0d1a25 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.home-prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-prod-card-img-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(242, 107, 15, 0.12) 0%, transparent 70%);
}

.home-prod-feat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(242, 107, 15, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

html[dir="ltr"] .home-prod-feat-badge {
  right: auto;
  left: 10px;
}

.home-prod-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-prod-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #F26B0F;
}

.home-prod-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.home-prod-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-prod-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #F26B0F;
}

.home-prod-price small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin-right: 3px;
}

html[dir="ltr"] .home-prod-price small {
  margin-right: 0;
  margin-left: 3px;
}

.home-prod-inquire {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(242, 107, 15, 0.12);
  border: 1px solid rgba(242, 107, 15, 0.3);
  color: #F26B0F;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s;
}

.home-prod-inquire:hover {
  background: #F26B0F;
  color: #fff;
  border-color: #F26B0F;
}

.home-prod-skel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .home-prod-skel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-prod-skel {
    grid-template-columns: 1fr;
  }
}

.home-prod-skel-card {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
}

.home-prod-skel-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(90deg, #1a1a2e 25%, #2a2a40 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: hpShimmer 1.5s infinite;
}

.home-prod-skel-body {
  padding: 18px;
}

.home-prod-skel-line {
  height: 11px;
  border-radius: 6px;
  margin-bottom: 9px;
  background: linear-gradient(90deg, #1a1a2e 25%, #2a2a40 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: hpShimmer 1.5s infinite;
}

.home-prod-skel-line.short {
  width: 55%;
}

@keyframes hpShimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

.featured-products-cta {
  text-align: center;
  margin-top: 44px;
}

.featured-products-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F26B0F, #d45a00);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(242, 107, 15, 0.35);
  transition: all .25s;
  letter-spacing: 0.3px;
}

.featured-products-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(242, 107, 15, 0.50);
}

.featured-products-cta a svg {
  transition: transform .25s;
}

.featured-products-cta a:hover svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .featured-products-cta a:hover svg {
  transform: translateX(4px);
}