:root {
  --primary-blue: #003366;
  --secondary-blue: #005ea6;
  --accent-gold: #ffc107;
  --light-bg: #f8f9fa;
  --dark-text: #343a40;
  --light-text: #ffffff;
  --whatsapp-green: #25d366;
  --navbar-height: 70px;
}

html {
  scroll-padding-top: var(--navbar-height);
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  background: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: rgba(0, 51, 102, 0.97);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: var(--accent-gold) !important;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 40px;
  margin-inline-start: 0.5rem;
  background-color: #fff;
  padding: 2px;
  border-radius: 5px;
}

.navbar-nav {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--accent-gold);
}

/* Hero */

.hero {
  background: linear-gradient(
    -45deg,
    var(--primary-blue),
    var(--secondary-blue),
    #007bff,
    #005ea6
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--light-text);
  text-align: center;
  min-height: 100vh; /* ملء الشاشة */
  display: flex; /* لتوسيط المحتوى */
  align-items: center;
  justify-content: center;
  padding: 0 1rem; /* هام للجوال */
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-logo {
  max-width: 150px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  color: var(--accent-gold);
}

.hero p.lead {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 auto 30px;
  max-width: 700px;
  opacity: 0.9;
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp i {
  margin-left: 10px;
  font-size: 1.3em;
}

/* Sections */
section {
  padding: 70px 0;
}

.section-title {
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 45px;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 70px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Services */
#services .service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 30px 20px;
}

#services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.12);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-blue);
  margin-bottom: 15px;
  transition: color 0.3s, transform 0.3s;
}

#services .service-card:hover .service-icon {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.service-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 10px 0;
}

.service-card p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: auto;
}

/* Why Us */
#why-us {
  background: #eef5fc;
}

#why-us .feature-item {
  text-align: center;
  padding: 20px;
}

#why-us .feature-icon {
  font-size: 2.8rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

#why-us h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

#why-us p {
  font-size: 0.95rem;
  color: #555;
}

.slogan {
  font-size: 2rem !important; /* ← حجم الخط الرئيسي */
  font-weight: 700;
  text-align: center;
  margin-top: 50px;
  color: var(--accent-gold);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
  animation: fadeInSlogan 2s ease-in-out;
}

.slogan .heart {
  font-size: 2.5rem; /* ← حجم القلب */
  color: #ff4d4d;
  vertical-align: middle;
}
.slogan img {
  height: 120px;
  margin-inline-start: 0.5rem;

  padding: 2px;
  border-radius: 5px;
}

/* أنيميشن الدخول */
@keyframes fadeInSlogan {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact */

#contact {
  background: var(--light-bg);
  padding: 80px 0;
}

.contact-info {
  text-align: start;
}

.contact-info i {
  color: var(--accent-gold);
  font-size: 1.4rem;
  width: 30px;
  margin-inline-end: 8px;
  vertical-align: middle;
}

.contact-info p,
.contact-info a {
  font-size: 1.1rem;
  color: var(--dark-text);
  text-decoration: none;
  margin-bottom: 18px;
  display: inline-block;
}

.phone-link {
  font-weight: 500;
  color: var(--primary-blue);
  margin: 0 8px 10px 0;
  padding: 8px 14px;
  border-radius: 30px;
  background-color: rgba(0, 123, 255, 0.07);
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}

.phone-link:hover {
  background-color: var(--accent-gold);
  color: #fff;
  transform: scale(1.05);
}

.phone-numbers {
  text-align: start; /* يضمن ظهورهم في بداية السطر من جهة اليمين في RTL */
}

.social-contact {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
}

.social-item {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003366; /* الأزرق الغامق */
  transition: all 0.3s ease;
  cursor: default;
}

.social-icon {
  font-size: 1.3rem;
  color: #ffc107; /* الأصفر */
  transition: transform 0.3s ease;
}

.social-label {
  color: #003366; /* الأزرق */
}

.social-item:hover .social-icon {
  transform: scale(1.2);
}

.social-item:hover .social-label {
  text-decoration: underline;
}

/* للجوال */
@media (max-width: 576px) {
  .social-contact {
    flex-direction: column;
    gap: 12px;
  }

  .social-item {
    font-size: 1rem;
  }
}

/* ألوان المنصات */

.contact-visit-us {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--primary-blue);
}

.contact-form .form-control {
  border-radius: 10px;
}

.contact-form button {
  background-color: var(--primary-blue);
  border: none;
  font-weight: 600;
  padding: 12px;
  border-radius: 30px;
  transition: background-color 0.3s ease-in-out;
}

.contact-form button:hover {
  background-color: var(--accent-gold);
}

/* Map */
.map-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Footer */
/* Footer */
footer {
  background: var(--primary-blue);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-gold);
  font-weight: 500;
  text-decoration: none;
}

footer a:hover {
  color: var(--light-text);
}

footer .designer-text {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 767.98px) {
  .navbar-nav {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    flex-direction: column;
    padding: 60px 1rem;
  }

  .phone-link {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }
}
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .slogan img {
    height: 80px;
  }
}

/* AOS tweaks */
[data-aos] {
  transition-property: transform, opacity, -webkit-transform;
}

[data-aos="zoom-in-up"] {
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
