* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ed1c24;
  --secondary-color: #1a1a1a;
  --text-color: #333;
  --light-bg: #f8f8f8;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  transition: opacity 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-smooth);
}

.scroll-reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-smooth);
}

.scroll-reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.scroll-reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

[dir="ltr"] body {
  font-family: "Roboto", sans-serif;
}

.lang-switcher {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1001;
  display: flex;
  gap: 5px;
  background: var(--white);
  padding: 8px;
  border-radius: 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

[dir="ltr"] .lang-switcher {
  right: auto;
  left: 20px;
}

.lang-btn {
  padding: 8px 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 600;
  transition: var(--transition-bounce);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.lang-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--light-bg);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.lang-btn:hover::before {
  width: 200%;
  height: 200%;
}

.lang-btn:hover {
  transform: scale(1.05);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.lang-btn.active::before {
  background: var(--primary-color);
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

nav.scrolled {
  padding: 0.5rem 5%;
  box-shadow: 0 2px 30px rgba(237, 28, 36, 0.15);
}

.logo {
  height: 60px;
  transition: var(--transition);
}

nav.scrolled .logo {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

[dir="ltr"] .nav-links a::after {
  right: auto;
  left: 0;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d2d 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 1200px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-color);
  animation: expandLineWidth 1.5s ease-out 0.8s forwards;
  box-shadow: 0 2px 10px rgba(237, 28, 36, 0.5);
}

@keyframes expandLineWidth {
  to {
    width: 200px;
  }
}

.hero h1 span {
  color: var(--primary-color);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(237, 28, 36, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  animation: fadeInUp 1s ease-out 0.6s both;
  box-shadow: 0 10px 30px rgba(237, 28, 36, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(237, 28, 36, 0.7);
}

.cta-button:active {
  transform: translateY(-2px) scale(1.02);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto;
  border-radius: 2px;
  animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(237, 28, 36, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(237, 28, 36, 0.2);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  display: inline-block;
  transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg) scale(1.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

.feature-card:hover h3 {
  color: var(--primary-color);
  transform: scale(1.05);
}

.feature-card p {
  color: #666;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 25px 60px rgba(237, 28, 36, 0.25);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(237, 28, 36, 0.1) 100%
  );
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-main-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-main-image {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-model {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.product-card:hover .product-model {
  transform: translateX(5px);
  text-shadow: 0 2px 10px rgba(237, 28, 36, 0.3);
}

[dir="ltr"] .product-card:hover .product-model {
  transform: translateX(-5px);
}

.product-gallery-count {
  color: #999;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  backdrop-filter: blur(0px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.4s ease;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg) scale(1.2);
}

[dir="ltr"] .modal-close {
  right: auto;
  left: 20px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.modal-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-gallery img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 15px 40px rgba(237, 28, 36, 0.3);
  z-index: 10;
}

.banner-slider {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
  height: 600px;
  background: var(--secondary-color);
}

.banner-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.banner-slide.active {
  display: block;
  animation: slideInFade 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.banner-slide.active img {
  animation: zoomInSubtle 1.2s ease;
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomInSubtle {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.banner-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  transform: translateY(-50%);
}

.banner-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.banner-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.banner-btn:hover::before {
  width: 200%;
  height: 200%;
}

.banner-btn:hover {
  color: var(--white);
  transform: scale(1.2);
  box-shadow: 0 8px 30px rgba(237, 28, 36, 0.5);
}

.banner-btn:active {
  transform: scale(1.1);
}

.quality-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d2d 100%);
  color: var(--white);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quality-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.quality-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(237, 28, 36, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: var(--transition-smooth);
  transform: scale(0);
}

.quality-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.quality-card:hover {
  background: rgba(237, 28, 36, 0.25);
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(237, 28, 36, 0.5);
  box-shadow: 0 15px 40px rgba(237, 28, 36, 0.3);
}

.quality-card > * {
  position: relative;
  z-index: 1;
}

.quality-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  display: inline-block;
  transition: var(--transition-bounce);
}

.quality-card:hover .quality-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 5px 15px rgba(237, 28, 36, 0.5));
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(237, 28, 36, 0.1),
    transparent
  );
  transition: var(--transition-smooth);
  z-index: -1;
}

.contact-item:hover::before {
  right: 100%;
}

.contact-item:hover {
  transform: translateX(-15px) scale(1.02);
  box-shadow: 0 15px 40px rgba(237, 28, 36, 0.2);
}

[dir="ltr"] .contact-item:hover {
  transform: translateX(15px) scale(1.02);
}

.contact-item > * {
  position: relative;
  z-index: 2;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition-bounce);
}

.contact-item:hover .contact-icon {
  transform: scale(1.3) rotate(15deg);
  filter: drop-shadow(0 3px 10px rgba(237, 28, 36, 0.4));
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
  z-index: -1;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  transform: translateY(-8px) rotate(360deg) scale(1.2);
  box-shadow: 0 10px 25px rgba(237, 28, 36, 0.5);
}

.social-link i {
  position: relative;
  z-index: 2;
}

footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 3rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(237, 28, 36, 0.1) 0%,
    transparent 70%
  );
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

footer > * {
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.1));
}

.footer-logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 10px 25px rgba(237, 28, 36, 0.5));
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  transition: var(--transition);
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition);
  border-radius: 3px;
}

.menu-toggle:hover span {
  background: var(--primary-color);
}

/* Animated Menu Toggle */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-icon {
  animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon {
  animation-delay: 0s;
}
.feature-card:nth-child(2) .feature-icon {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) .feature-icon {
  animation-delay: 0.4s;
}
.feature-card:nth-child(4) .feature-icon {
  animation-delay: 0.6s;
}
.feature-card:nth-child(5) .feature-icon {
  animation-delay: 0.8s;
}
.feature-card:nth-child(6) .feature-icon {
  animation-delay: 1s;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: none;
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

/* Glow Effect on Hover */
.cta-button,
.banner-btn {
  box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.7);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(237, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0);
  }
}

.cta-button:hover,
.banner-btn:hover {
  animation: none;
}

/* Smooth Underline for Links */
.nav-links li {
  position: relative;
}

.nav-links li::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: var(--transition-smooth);
}

.nav-links li:hover::before {
  width: 100%;
}

[dir="ltr"] .nav-links li::before {
  right: auto;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--primary-color));
}

/* Loading Animation Enhancement */
.loader {
  position: relative;
}

.loader::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 5px solid transparent;
  border-top: 5px solid rgba(237, 28, 36, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1.5s linear infinite reverse;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-title {
  color: var(--secondary-color);
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color),
    var(--secondary-color)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
  .section-title {
    color: var(--secondary-color);
    background: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
  }

  [dir="ltr"] .nav-links {
    right: auto;
    left: -100%;
  }

  .nav-links.active {
    right: 0;
  }

  [dir="ltr"] .nav-links.active {
    left: 0;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-smooth);
  }

  [dir="ltr"] .nav-links li {
    transform: translateX(-50px);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .banner-slider {
    height: 300px;
  }

  .lang-switcher {
    top: 70px;
    right: 10px;
  }

  [dir="ltr"] .lang-switcher {
    right: auto;
    left: 10px;
  }

  .section-title {
    background: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
  }
}
