:root {
  --primary-dark: #1b2f4a;
  --primary-darker: #142338;
  --accent-orange: #f17d28;
  --accent-orange-light: #ff9a4d;
  --accent-orange-dark: #d96b1c;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --text-gray: #6c757d;
  --text-dark: #2d3748;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-arabic: "Cairo", sans-serif;
  --section-padding: 100px 0;
  --container-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 10px 40px rgba(27, 47, 74, 0.1);
  --shadow-medium: 0 15px 50px rgba(27, 47, 74, 0.15);
  --shadow-heavy: 0 25px 80px rgba(27, 47, 74, 0.2);
  --shadow-orange: 0 10px 40px rgba(241, 125, 40, 0.3);
}

/* Arabic Font Support */
body.arabic-font {
  font-family: var(--font-arabic);
}

body.arabic-font h1,
body.arabic-font h2,
body.arabic-font h3,
body.arabic-font h4,
body.arabic-font h5,
body.arabic-font h6 {
  font-family: var(--font-arabic);
}

/* Language Toggle Button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-right: 20px;
}

.lang-toggle:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.05);
}

.lang-toggle .lang-text {
  font-weight: 700;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

::selection {
  background: var(--accent-orange);
  color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: revert-layer;
  padding-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

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

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

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

/* Navigation - الإعدادات الأساسية */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(27, 47, 74, 0.98);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column; /* فوق بعض */
  line-height: 1;
}

.logo-text span {
  font-weight: bold;
}

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

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

.logo-img {
  width: 80px;
  object-fit: contain;
}

/* Nav Links - على الشاشات الكبيرة (navbar عادي) */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-smooth);
}

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

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

/* Menu Toggle - مخفي على الشاشات الكبيرة */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 768px) {
  * {
    max-width: 100%;
  }

  .hero-bg-shape,
  .hero-grid,
  .partners-carousel-track {
    max-width: none;
  }

  .container {
    padding: 0 15px;
    overflow-x: hidden;
  }

  .section {
    overflow-x: hidden;
  }

  .hero {
    overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* إظهار زر القائمة على الموبايل */
  .menu-toggle {
    display: flex;
  }

  /* تحويل Nav Links لقائمة جانبية */
  .nav-links {
        position: fixed;
        top: 0px;
        right: -100%;
        width: 40%;
        max-width: none;
        height: 100vh;
        background: var(--primary-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transition: var(--transition-smooth);
  }

  .nav-links.active {
    right: 0;
  }

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

  /* Language toggle mobile styles */
  .lang-toggle {
    margin-right: 15px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary::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: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(241, 125, 40, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.btn-outline:hover {
  background: var(--accent-orange);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-darker) 100%
  );
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-bg-shape.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-orange);
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-shape.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-orange-light);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg-shape.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--white);
  top: 50%;
  left: 30%;
  animation: float 6s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(241, 125, 40, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge span {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 25px;
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

.hero h1 .highlight {
  color: var(--accent-orange);
  position: relative;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(241, 125, 40, 0.3);
  z-index: -1;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0px;
  animation: fadeInUp 0.8s 0.4s ease forwards;
  opacity: 0;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease forwards;
  opacity: 0;
  align-items: center;
}

/* تحسين الأزرار على الموبايل */
@media (max-width: 768px) {
  .scroll-indicator {
    left: 40%;
  }

  .hero-buttons {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .hero-buttons .btn {
    padding: 14px 18px !important;
    font-size: 0.85rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .hero-buttons .btn i {
    width: 16px !important;
    height: 16px !important;
  }
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  display: none;
}

@media (min-width: 1200px) {
  .hero-visual {
    display: block;
  }
}

/* التعديل 1: تحويل hero-visual-circle لعرض اللوغو مع الأنيميشن */
.hero-visual-circle {
  position: absolute;
  border-radius: 50%;
  animation: spinSlow 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-circle:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 2px solid rgba(241, 125, 40, 0.2);
}

.hero-visual-circle:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  animation-direction: reverse;
  border: 2px solid rgba(241, 125, 40, 0.3);
}

.hero-visual-circle:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border: 2px solid rgba(241, 125, 40, 0.4);
  animation: none;
}

.hero-visual-circle:nth-child(3)::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("rerrr-01.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.hero-visual-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-orange);
  animation: float 4s ease-in-out infinite;
}

.hero-visual-icon:nth-child(4) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-visual-icon:nth-child(5) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.hero-visual-icon:nth-child(6) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.hero-visual-icon:nth-child(7) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 3s;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  animation: fadeInUp 0.8s 1s ease forwards;
  opacity: 0;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-darker)
  );
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 600;
  /* font-size: 0.9rem; */
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.section-title {
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.1rem;
}

/* Services */
.services-preview {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(241, 125, 40, 0.1),
    rgba(241, 125, 40, 0.05)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--accent-orange);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
}

.service-card .arabic-title {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-orange);
  margin-top: 5px;
  font-weight: 500;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .scroll-indicator {
    left: 40%;
  }

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

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: 30px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  z-index: 2;
  width: 90%;
}

/* التعديل 2: إخفاء الصورة على الشاشات الصغيرة */
@media (max-width: 768px) {
  .scroll-indicator {
    left: 40%;
  }

  .about-image {
    display: none;
  }
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-orange);
  border-radius: 30px;
  z-index: 1;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 28%;
  height: 33%;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  border-radius: 20px;
  z-index: 0;
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* التعديل 3: تصغير الأرقام ووضعها بجانب بعض على الموبايل */
@media (max-width: 768px) {
  .scroll-indicator {
    left: 40%;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
  }

  .stat-number {
    font-size: 2rem !important;
    margin-bottom: 5px !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-dark)
  );
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-section .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: var(--white);
  color: var(--accent-orange);
}

/* Partners - التعديل 4 */
.partners-carousel {
  display: flex;
  gap: 40px;
  overflow: hidden;
  padding: 40px 0;
}

.partners-carousel-track {
  display: flex;
  gap: 10px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  min-width: 150px;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-logo {
  height: 80px;
  width: 80px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.partner-item:hover .partner-logo {
  box-shadow: var(--shadow-medium);
  transform: scale(1.05);
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  font-family: var(--font-heading);
}

/* Contact */
.contact-section {
  background: var(--off-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

@media (max-width: 992px) {
  .scroll-indicator {
    left: 40%;
  }

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

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--light-gray);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-details .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details span {
  font-weight: 500;
  color: var(--text-dark);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}
.social-link:hover {
  background: var(--accent-orange);
  transform: translateY(-5px);
}
.social-links1 {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link1 {
  width: 50px;
  height: 50px;
  background: #f17d28;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}
.social-link1:hover {
  background: #1b2f4a;
  transform: translateY(-5px);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  margin-bottom: 30px;
}

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

@media (max-width: 576px) {
  .scroll-indicator {
    left: 40%;
  }

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

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(241, 125, 40, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--primary-darker);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
  align-items: stretch;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .scroll-indicator {
    left: 50%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .scroll-indicator {
    left: 40%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer h4 {
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .social-links {
    justify-content: center;
  }

  .footer-newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-newsletter p {
    text-align: center;
  }
}

.footer-brand p {
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-newsletter input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 576px) {
  .scroll-indicator {
    left: 40%;
    right: auto;
  }

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  margin: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-orange);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-orange);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(241, 125, 40, 0.5);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(241, 125, 40, 0.2);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-left"].animated {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.9);
}

[data-animate="scale"].animated {
  transform: scale(1);
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
}

/* Keep navbar layout same as LTR (logo left, lang button right) */
[dir="rtl"] .navbar .container {
  direction: ltr;
}

[dir="rtl"] .partners-carousel {
  direction: ltr;
}

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

[dir="rtl"] .hero-buttons {
  justify-content: flex-start;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] .footer-brand {
  align-items: center;
}

[dir="rtl"] .footer-brand .logo {
  direction: ltr;
}

[dir="rtl"] .footer-brand p {
  text-align: right;
}

[dir="rtl"] .footer-brand .social-links {
  justify-content: flex-end;
}

[dir="rtl"] .footer h4 {
  text-align: center;
}

[dir="rtl"] .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

[dir="rtl"] .footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

[dir="rtl"] .footer-newsletter p {
  text-align: center;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

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

[dir="rtl"] .about-content {
  text-align: right;
}

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

[dir="rtl"] .service-card {
  text-align: center;
}

[dir="rtl"] .contact-details {
  direction: ltr;
}

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

[dir="rtl"] .contact-details .icon {
  margin-left: 0;
  margin-right: 15px;
}

[dir="rtl"] .contact-details span {
  text-align: right;
}

[dir="rtl"] .form-group label {
  text-align: right;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea {
  text-align: right;
}

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

[dir="rtl"] .contact-info {
  text-align: right;
}

[dir="rtl"] .contact-info .social-links {
  flex-direction: row-reverse;
  justify-content: center;
}


[dir="rtl"] .contact-form h3 {
  text-align: right;
}

[dir="rtl"] .stat-item {
  text-align: center;
}

[dir="rtl"] .cta-content {
  text-align: center;
}

[dir="rtl"] .scroll-indicator {
  left:auto;
  right: 43%;
}

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

[dir="rtl"] .arabic-title {
  display: none;
}

/* Hero Visual RTL - Move to left side */
[dir="rtl"] .hero-visual {
  right: auto;
  left: 5%;
}

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

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

[dir="rtl"] .hero h1 .highlight::after {
  left: auto;
  right: 0;
  bottom: 22px;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
  [dir="rtl"] .hero-content,
  [dir="rtl"] .about-content,
  [dir="rtl"] .contact-info,
  [dir="rtl"] .contact-form h3 {
    text-align: center;
  }

  [dir="rtl"] .hero-buttons {
    justify-content: center;
  }

  [dir="rtl"] .contact-details li {
    justify-content: right;
  }

}
