@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');
:root {
  --primary: #1B3A6B;
  --primary-dark: #0F2444;
  --primary-medium: #2A5298;
  --primary-light: #3564AA;
  --gold: #C8963E;
  --gold-light: #D4AA4F;
  --gold-bright: #FFD700;
  --gold-dark: #A67C30;
  --bg-primary: #F8F6F2;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hero: linear-gradient(135deg, #0F2444 0%, #1B3A6B 50%, #2A5298 100%);
  --bg-dark-section: linear-gradient(135deg, #0F2444 0%, #1B3A6B 100%);
  --text-primary: #0F2444;
  --text-secondary: #4A5568;
  --text-light: #FFFFFF;
  --border-color: rgba(200, 150, 62, 0.2);
  --shadow: 0 4px 20px rgba(15, 36, 68, 0.1);
  --shadow-hover: 0 8px 40px rgba(15, 36, 68, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --navbar-bg: transparent;
  --navbar-scrolled: rgba(15, 36, 68, 0.95);
  --section-alt-bg: #F0EDE8;
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-english: 'Playfair Display', serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}
body.dark-mode {
  --bg-primary: #0A1628;
  --bg-secondary: #0F2444;
  --bg-card: #132D54;
  --text-primary: #FFFFFF;
  --text-secondary: #B0BEC5;
  --border-color: rgba(212, 170, 79, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
  --navbar-scrolled: rgba(10, 22, 40, 0.95);
  --section-alt-bg: #0F2444;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::selection {
  background: var(--gold);
  color: var(--primary-dark);
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-color: var(--gold) var(--primary-dark);
  scrollbar-width: thin;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  direction: rtl;
}
body.ltr {
  direction: ltr;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}
ul { list-style: none; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0F2444 0%, #1B3A6B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.splash-screen.hide {
  transform: translateY(-100%);
}
.splash-logo {
  width: 180px;
  height: auto;
  opacity: 0;
  transform: scale(0.5);
  animation: splashLogoIn 1s 0.3s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}
.splash-text {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 25px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: splashTextIn 0.8s 1.2s forwards ease-out;
  text-shadow: 0 0 20px rgba(200, 150, 62, 0.3);
}
@keyframes splashLogoIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes splashTextIn {
  to { opacity: 1; transform: translateY(0); }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  background: var(--navbar-bg);
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navbar-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 55px;
  width: auto;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo img {
  height: 45px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
body.ltr .nav-links a::after {
  right: auto;
  left: 0;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark) !important;
  padding: 8px 24px !important;
  border-radius: 30px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(200, 150, 62, 0.4);
}
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../Logo/Logo-white.svg');
  background-size: 120px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
}
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 30px rgba(200, 150, 62, 0.3));
}
.hero-title {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 800;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  line-height: 1.8;
}
.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(200, 150, 62, 0.4);
}
.section {
  padding: 80px 0;
}
.section-alt {
  background-color: var(--section-alt-bg);
  transition: background-color 0.4s ease;
}
.section-dark {
  background: var(--bg-dark-section);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../Logo/Logo-white.svg');
  background-size: 100px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title .gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 15px auto 0;
}
.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 25px 15px;
  border-radius: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  font-family: var(--font-heading);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 5px;
}
.products-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 70px;
}
.products-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 400px;
  perspective: 1000px;
}
.product-card {
  position: absolute;
  width: 300px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.7) translateX(0);
  pointer-events: none;
  z-index: 1;
}
.product-card.card-active {
  opacity: 1;
  transform: scale(1.05) translateX(0);
  z-index: 3;
  cursor: default;
  pointer-events: auto;
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(200, 150, 62, 0.15), 0 20px 50px rgba(0, 0, 0, 0.2);
}
.product-card.card-prev {
  opacity: 0.55;
  transform: scale(0.82) translateX(110%);
  z-index: 2;
  pointer-events: auto;
}
.product-card.card-next {
  opacity: 0.55;
  transform: scale(0.82) translateX(-110%);
  z-index: 2;
  pointer-events: auto;
}
body.ltr .product-card.card-prev {
  transform: scale(0.82) translateX(-110%);
}
body.ltr .product-card.card-next {
  transform: scale(0.82) translateX(110%);
}
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  transition: transform 0.5s ease;
}
.product-card.card-active:hover img {
  transform: scale(1.05);
}
.product-card h3 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.product-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.7;
}
.product-card.card-active h3 {
  color: var(--gold-bright);
}
.product-card.card-active p {
  color: rgba(255, 255, 255, 0.85);
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
}
.carousel-nav:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 25px rgba(200, 150, 62, 0.5);
}
.carousel-prev { right: 0; }
.carousel-next { left: 0; }
body.ltr .carousel-prev { right: auto; left: 0; }
body.ltr .carousel-next { left: auto; right: 0; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(200, 150, 62, 0.5);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.service-card:hover .service-icon {
  box-shadow: 0 0 25px rgba(200, 150, 62, 0.4);
  transform: scale(1.1);
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary-dark);
  transition: var(--transition);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}
.why-card {
  text-align: center;
  padding: 30px 20px;
}
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.15), rgba(200, 150, 62, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.3rem;
  color: var(--gold);
  border: 1px solid var(--border-color);
}
.why-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial {
  text-align: center;
  padding: 30px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.9;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: -20px;
  right: -10px;
  opacity: 0.3;
  font-family: serif;
}
body.ltr .testimonial-text::before {
  right: auto;
  left: -10px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--gold);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 35px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(200, 150, 62, 0.2);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(200, 150, 62, 0.4);
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-fast);
}
.contact-item:hover {
  border-color: var(--gold);
  transform: translateX(-5px);
}
body.ltr .contact-item:hover { transform: translateX(5px); }
.contact-item i {
  font-size: 1.3rem;
  color: var(--gold);
  width: 20px;
  text-align: center;
}
.contact-item span { color: var(--text-light); font-size: 0.95rem; }
.contact-map {
  display: block;
  margin-top: 15px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
}
.contact-map:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(200, 150, 62, 0.3);
}
.contact-map iframe {
  width: 100%;
  height: 200px;
  border: none;
}
.footer {
  background: #070E1A;
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-brand img { height: 60px; margin-bottom: 15px; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}
.footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--gold); padding-right: 10px; }
body.ltr .footer-links a:hover { padding-right: 0; padding-left: 10px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.6);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
}
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 20px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.title-reveal {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.title-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: translateX(-101%);
}
body.ltr .title-reveal::after {
  transform: translateX(101%);
}
.title-reveal.animate::after {
  animation: slideReveal 1s forwards cubic-bezier(0.77, 0, 0.18, 1);
}
@keyframes slideReveal {
  0% { transform: translateX(-101%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(101%); }
}
body.ltr .title-reveal.animate::after {
  animation-name: slideRevealLTR;
}
@keyframes slideRevealLTR {
  0% { transform: translateX(101%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(-101%); }
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(200, 150, 62, 0.5);
}
body.ltr .back-to-top {
  left: auto;
  right: 30px;
}
