/* ==========================================================================
   New Power Global - Corporate Premium CSS Design System
   ========================================================================== */

/* 1. Imports (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Tajawal:wght@400;500;700;900&display=swap');

/* 2. Custom Properties / Variables */
:root {
  /* Color Palette */
  --primary-deep: #0A192F;      /* Deep dark royal navy */
  --primary-card: #112240;      /* Lighter navy for cards/containers */
  --primary-light: #233554;     /* Accent navy */
  --accent-neon: #10B981;       /* Emerald energy green */
  --accent-glow: rgba(16, 185, 129, 0.4);
  --accent-teal: #64FFDA;       /* Secondary neon teal */
  --text-white: #F8FAFC;        /* Snow white */
  --text-light: #E2E8F0;        /* Ivory light */
  --text-muted: #94A3B8;        /* Slate gray */
  --bg-dark: #070D19;           /* Pure dark background */
  --bg-light-sec: #F8FAFC;      /* Clean snow grey for high contrast sections */
  --text-dark-sec: #0F172A;     /* Dark slate for light background text */
  --text-muted-sec: #475569;    /* Muted slate for light background */

  /* Glassmorphism Styles */
  --glass-bg: rgba(10, 25, 47, 0.82);
  --glass-border: rgba(16, 185, 129, 0.15);
  --glass-shadow: rgba(2, 12, 27, 0.7);

  /* Fonts */
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-en: 'Poppins', 'Inter', sans-serif;

  /* Layout Constants */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.18s ease;
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --max-width: 1280px;
  --header-height: 80px;
}

/* 3. Global CSS & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ar); /* Default Arabic, overridden by [lang="en"] */
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.75; /* Cairo optimized line height */
  direction: rtl; /* Default layout direction */
  text-align: right;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body[dir="ltr"] {
  font-family: var(--font-en);
  text-align: left;
}

/* Language Override Specifics */
html[lang="en"] body {
  font-family: var(--font-en);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

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

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--primary-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

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

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Highlight text accent */
.accent-text {
  color: var(--accent-neon);
}

.section-header p {
  font-size: 1.1rem;
}

/* Grid & Flex Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Alternating Background Utility */
.bg-light-section {
  background-color: var(--bg-light-sec);
  color: var(--text-dark-sec);
}

.bg-light-section h2,
.bg-light-section h3,
.bg-light-section h4 {
  color: var(--text-dark-sec);
}

.bg-light-section p {
  color: var(--text-muted-sec);
}

/* 4. Button & CTA Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent-neon);
  color: var(--primary-deep);
  border: 1px solid var(--accent-neon);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-neon);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--accent-neon);
  color: var(--accent-neon);
}

.btn-secondary:hover {
  background-color: var(--accent-neon);
  color: var(--primary-deep);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--primary-deep);
  color: var(--text-white);
  border: 1px solid var(--primary-light);
}

.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  border-color: var(--accent-neon);
}

.btn-icon {
  margin-inline-start: 8px;
  display: inline-flex;
}

/* 5. Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background-color: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px var(--glass-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background-color: var(--accent-neon);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 0 10px var(--accent-glow);
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: var(--transition-smooth);
}

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

.logo-text span {
  color: var(--accent-neon);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

/* Header buttons group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-light);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

/* Hamburger mobile button */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-white);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.hamburger.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Mobile Nav Drawer */
@media (max-width: 1023px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* slides in from right for RTL */
    width: 300px;
    height: 100vh;
    background-color: var(--primary-deep);
    border-inline-start: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  body[dir="ltr"] .nav-menu {
    right: auto;
    left: -100%; /* slides in from left for LTR */
    border-inline-start: none;
    border-inline-end: 1px solid var(--glass-border);
  }

  .nav-menu.open {
    right: 0;
  }
  body[dir="ltr"] .nav-menu.open {
    left: 0;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 1rem;
  }
  .nav-actions .btn {
    text-align: center;
  }
}

/* 6. Hero Section with Background Slideshow */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  overflow: hidden;
  z-index: 1;
}

/* Dynamic background slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.8s ease-in-out, transform 7s cubic-bezier(0.1, 0.8, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 0.36; /* Higher slide visibility */
  transform: scale(1.03); /* Slow, smooth zoom-out deceleration */
}

/* Immersive overlay above slides but below hero contents */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.82) 0%, rgba(7, 13, 25, 0.94) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Ken Burns slow panning/zoom animation */
@keyframes kenburns {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  50% {
    transform: scale(1.15) translate(-1%, 0.5%);
  }
  100% {
    transform: scale(1.05) translate(0, 0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  z-index: 2;
  position: relative;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

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

.hero-tagline {
  display: inline-block;
  background-color: var(--primary-light);
  border: 1px solid var(--glass-border);
  color: var(--accent-neon);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  background-color: var(--primary-card);
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
}

.hero-image-wrapper img {
  border-radius: calc(var(--border-radius-lg) - 8px);
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--accent-neon);
  box-shadow: 0 8px 32px var(--glass-shadow);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulse-glow 3s infinite;
}

body[dir="ltr"] .hero-badge {
  right: auto;
  left: 2rem;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-neon);
  font-size: 1.2rem;
}

.hero-badge-text h4 {
  font-size: 0.95rem;
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--accent-neon);
}

/* 7. Stats Counter Bar */
.stats-bar {
  background-color: var(--primary-card);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 2.5rem 0;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: 3.2rem;
  color: var(--accent-neon);
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

/* 8. Who We Are Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-item i {
  color: var(--accent-neon);
  font-size: 1.2rem;
  margin-top: 3px;
}

.about-feature-item span {
  font-size: 1rem;
  font-weight: 500;
}

.about-visual {
  position: relative;
}

.about-image-main {
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
}

.about-visual::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--accent-neon);
  border-right: 5px solid var(--accent-neon);
  z-index: -1;
  border-radius: 0 20px 0 0;
}

body[dir="ltr"] .about-visual::after {
  right: auto;
  left: -20px;
  border-right: none;
  border-left: 5px solid var(--accent-neon);
  border-radius: 20px 0 0 0;
}

/* About Us Page Core Values */
.value-card {
  background: linear-gradient(145deg, var(--primary-card), rgba(17, 34, 64, 0.45));
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-neon));
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.value-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--accent-neon);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.value-card:hover .value-icon-box {
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-teal) 100%);
  color: var(--primary-deep);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* 9. Strategic Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: linear-gradient(145deg, var(--primary-card), rgba(17, 34, 64, 0.45));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-neon));
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.pillar-card:hover {
  transform: translateY(-10px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pillar-icon-box {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--accent-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.pillar-card:hover .pillar-icon-box {
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-teal) 100%);
  color: var(--primary-deep);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 25px var(--accent-glow);
  animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 10. Core Business Section */
.business-card {
  background: linear-gradient(145deg, var(--primary-card), rgba(17, 34, 64, 0.5));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.business-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-neon);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.business-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.business-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0) 100%);
  z-index: 1;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.business-card:hover .business-image img {
  transform: scale(1.08) rotate(1deg);
}

.business-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.business-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.business-card:hover .business-info h3 {
  color: var(--accent-teal);
}

.business-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bg-light-section .business-card {
  background: linear-gradient(145deg, var(--primary-card), rgba(17, 34, 64, 0.95));
}
.bg-light-section .business-card h3 {
  color: var(--text-white);
}
.bg-light-section .business-card p {
  color: var(--text-muted);
}

/* 11. Products Showcase with Filter */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-neon);
  color: var(--primary-deep);
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px var(--accent-glow);
}

.products-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

/* Staggered Delay for grid items entry animations */
.products-grid .product-card:nth-child(1) { transition-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { transition-delay: 0.1s; }
.products-grid .product-card:nth-child(3) { transition-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { transition-delay: 0.2s; }
.products-grid .product-card:nth-child(5) { transition-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { transition-delay: 0.3s; }
.products-grid .product-card:nth-child(7) { transition-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { transition-delay: 0.4s; }
.products-grid .product-card:nth-child(9) { transition-delay: 0.45s; }

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-neon);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.product-image-container {
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: #0c182c;
}

/* Card specular sheen sweeping effect */
.product-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 100%);
  transform: skewX(-25deg);
  transition: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
  pointer-events: none;
}

.product-card:hover .product-image-container::before {
  left: 125%;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-category-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(10, 25, 47, 0.85);
  border: 1px solid var(--accent-neon);
  color: var(--accent-teal);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  z-index: 3;
}

body[dir="ltr"] .product-category-tag {
  right: auto;
  left: 1rem;
}

.product-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.product-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-specs {
  border-top: 1px solid var(--primary-light);
  border-bottom: 1px solid var(--primary-light);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: var(--text-white);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
}

.product-actions .btn {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

/* Hide product when filtered */
.product-card.hidden {
  display: none !important;
}

/* 12. Rentals / Maintenance specific details */
.rental-tier-card {
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
}

.rental-tier-card:hover {
  border-color: var(--accent-neon);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.12);
  transform: translateY(-5px);
}

.rental-tier-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.rental-tier-card ul {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rental-tier-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.rental-tier-card li i {
  color: var(--accent-neon);
  margin-top: 5px;
}

.services-flow {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .service-row {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .service-row:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .service-row:nth-child(even) .service-text-content {
    order: 2;
  }
}

.service-text-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-text-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.service-points {
  display: grid;
  gap: 1rem;
}

.service-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--primary-light);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.service-point-item:hover {
  border-color: var(--accent-neon);
  transform: translateX(-5px);
}

body[dir="ltr"] .service-point-item:hover {
  transform: translateX(5px);
}

.service-point-item i {
  color: var(--accent-neon);
  font-size: 1.2rem;
  margin-top: 3px;
}

.service-point-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

/* Alternate light sections for points if inside light layout */
.bg-light-section .service-point-item {
  background-color: var(--text-white);
  border: 1px solid #E2E8F0;
}
.bg-light-section .service-point-item span {
  color: var(--text-dark-sec);
}
.bg-light-section .service-point-item:hover {
  border-color: var(--primary-deep);
}

.service-visual-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
}

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

/* Services Call to Action Card */
.services-cta-banner {
  background: radial-gradient(circle at 50% 50%, var(--primary-card) 0%, var(--primary-deep) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 6rem auto 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.services-cta-banner h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-cta-banner p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

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

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: var(--accent-neon);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.05);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-neon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-card-content p {
  font-size: 0.95rem;
  white-space: pre-line;
}

.quick-connect-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media(min-width: 480px) {
  .quick-connect-btns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-whatsapp-color {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp-color:hover {
  background-color: transparent;
  color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

/* Contact Form styling */
.contact-form-panel {
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-form-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  background-color: var(--primary-deep);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

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

/* Map placeholder */
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 5rem;
  height: 400px;
  background-color: #112240;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) invert(0.9) contrast(1.2);
}

/* Form success alert */
.form-alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  display: none;
}

.form-alert.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-neon);
  color: #34D399;
}

.form-alert.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #F87171;
}

/* 14. Quotation Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(2, 12, 27, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--primary-card);
  border: 1px solid var(--accent-neon);
  border-radius: var(--border-radius-lg);
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--primary-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.4rem;
}

.modal-close {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #EF4444;
}

.modal-product-badge {
  background-color: var(--primary-light);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.modal-product-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-product-badge h4 {
  font-size: 1.05rem;
  color: var(--accent-teal);
  margin-top: 3px;
}

/* 15. Footer */
.footer {
  background-color: #030712;
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 2rem;
}

.footer-top {
  margin-bottom: 4rem;
}

.footer-brand h2 {
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-card);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--primary-deep);
  background-color: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-branches h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-branches h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-neon);
}

body[dir="rtl"] .footer-links h3::after,
body[dir="rtl"] .footer-branches h3::after,
body[dir="rtl"] .footer-contact h3::after {
  left: auto;
  right: 0;
}

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

.footer-links-list a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.footer-branch-item {
  margin-bottom: 1.2rem;
}

.footer-branch-item h4 {
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.footer-branch-item p {
  font-size: 0.85rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--accent-neon);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* 16. Animations & Entrance Transitions */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-delay-1 { transition-delay: 0.15s; }
.scroll-animate-delay-2 { transition-delay: 0.3s; }
.scroll-animate-delay-3 { transition-delay: 0.45s; }

/* Pulse animation for glow button */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
  }
}

/* Fading translation transition */
.translation-fade {
  animation: pageFade 0.4s ease;
}

@keyframes pageFade {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ==========================================================================
   UI/UX Sub-Hero Backgrounds & Card Refinements
   ========================================================================== */

/* Sub-page Sub-Hero headers */
.sub-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 6rem;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

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

/* Card Improvements & Glowing indicators */
.product-card, .pillar-card, .rental-tier-card, .value-card, .contact-card, .business-card {
  border-top: 3px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-top-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (hover: hover) {
  .product-card:hover, .pillar-card:hover, .rental-tier-card:hover, .value-card:hover, .contact-card:hover, .business-card:hover {
    transform: translateY(-10px) scale(1.018);
    border-top-color: var(--accent-neon);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 22px 40px rgba(16, 185, 129, 0.18), 
                0 0 15px rgba(16, 185, 129, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

/* 16. Clients Logo Slider Marquee */
.logo-slider {
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(17, 34, 64, 0.2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  width: 100%;
  direction: ltr !important; /* Force LTR alignment to prevent infinite loop scroll gaps in RTL */
}

/* Create soft blur fade out at edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(7, 13, 25, 0) 100%);
}

.logo-slider::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, var(--bg-dark) 0%, rgba(7, 13, 25, 0) 100%);
}

.logo-slider-track {
  display: flex;
  width: calc(250px * 24); /* 8 unique logos repeated 3 times = 24 total */
  animation: scroll-logo 32s linear infinite;
  direction: ltr; /* Force scroll direction to stay constant */
}

.logo-slide {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  transition: var(--transition-smooth);
}

.logo-slide svg {
  max-width: 170px;
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.04));
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.logo-slide:hover svg {
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.38)) brightness(1.15);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes scroll-logo {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 8)); /* Width of 8 items */
  }
}

/* Category Sections Styling */
.category-section {
  margin-bottom: 5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-section.hidden {
  display: none !important;
}

.category-title {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--glass-border);
  position: relative;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 80px;
  height: 2px;
  background-color: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-glow);
}

[dir="ltr"] .category-title::after {
  right: auto;
  left: 0;
}

/* Generic visibility helper class */
.hidden {
  display: none !important;
}

/* ==========================================================================
   UI/UX Layout Reviews & Responsive Enhancements
   ========================================================================== */

/* 1. Card Typography Contrast & Background Guarantee */
.product-card, .pillar-card, .rental-tier-card, .value-card, .contact-card, .business-card {
  background: linear-gradient(145deg, var(--primary-card), rgba(10, 25, 47, 0.8)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card h3, .pillar-card h3, .rental-tier-card h3, .value-card h3, .contact-card h3, .business-card h3 {
  color: var(--text-white) !important;
}

.product-card p, .pillar-card p, .rental-tier-card p, .value-card p, .contact-card p, .business-card p {
  color: var(--text-muted) !important;
}

.rental-tier-card ul li {
  color: var(--text-light) !important;
}

/* Dark CTA button visibility inside light sections */
.bg-light-section .business-card .btn-dark,
.bg-light-section .rental-tier-card .btn-dark,
.bg-light-section .product-card .btn-dark {
  background-color: var(--primary-light) !important;
  border-color: var(--accent-neon) !important;
  color: var(--text-white) !important;
}

.bg-light-section .business-card .btn-dark:hover,
.bg-light-section .rental-tier-card .btn-dark:hover,
.bg-light-section .product-card .btn-dark:hover {
  background-color: var(--accent-neon) !important;
  color: var(--primary-deep) !important;
  box-shadow: 0 0 15px var(--accent-glow) !important;
}

/* 2. Responsive Mobile Optimizations (Max Width: 768px) */
@media (max-width: 768px) {
  /* Mobile Swipable Category Filter tabs */
  .filter-tabs {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 2rem !important;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
    -webkit-overflow-scrolling: touch; /* Smooth momentum scroll iOS */
  }
  
  .filter-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .filter-btn {
    flex: 0 0 auto !important;
  }

  /* Smooth Entrance Scroll Animations on Mobile */
  .scroll-animate {
    transform: translateY(20px) !important; /* Smaller lift on mobile to avoid layout lag */
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  }
  
  .scroll-animate.visible {
    transform: translateY(0) !important;
  }
}

/* 3. Small Screens Padding Adjustments (Max Width: 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem !important;
  }
  .grid {
    gap: 1.25rem !important;
  }
  .section-padding {
    padding: 4rem 0 !important;
  }
}

/* Designer Credits Footer Styling */
.designer-credits {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  direction: ltr;
}
.designer-credits a {
  color: var(--accent-neon);
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-block;
}
.designer-credits a:hover {
  color: var(--accent-teal);
  text-shadow: 0 0 8px var(--accent-glow);
}
