html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Alexandria', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  direction: rtl;
  text-align: right;
}

/* === Navbar === */
.main-navbar {
  background-color: #2c4262;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.main-navbar .nav-link {
  font-weight: 600;
  transition: 0.3s;
}
.main-navbar .nav-link:hover {
  color: #5eb3e7 !important;
}

/* === Footer === */
.footer {
  background-color: #2c4262;
  color: #fff;
  font-size: 14px;
}

/* === Buttons === */
.btn-primary {
  background-color: #5eb3e7;
  border-color: #5eb3e7;
}
.btn-primary:hover {
  background-color: #4aa2d4;
}

/* === Cards === */
.card {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  border: none;
}

/* === Form fields === */
.form-control:focus {
  border-color: #5eb3e7;
  box-shadow: 0 0 0 .2rem rgba(94,179,231,.25);
}

/* === Headings === */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #2c4262;
}
.hero-section h1, .hero-section p {
  color: #fff;
}

.tool-card:hover {
  border: 2px solid #5eb3e7;
  transform: translateY(-5px);
  transition: 0.3s;
}

.pricing-section .card {
  border-radius: 15px;
  transition: all 0.3s ease;
}
.pricing-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cta-section {
  background: linear-gradient(135deg, #2c4262, #5eb3e7);
}


/* 🎨 تصميم الهيدر الخاص بالصفحة الرئيسية */
.landing-navbar {
  background: linear-gradient(90deg, #2c4262 0%, #5eb3e7 100%);
  padding: 0.8rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.landing-navbar .navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.landing-navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  margin-inline: 10px;
  transition: 0.3s;
}
.landing-navbar .nav-link:hover {
  color: #f8f9fa !important;
  text-decoration: underline;
}
.landing-navbar .btn-cta {
  background: #fff;
  color: #2c4262;
  font-weight: 700;
  border-radius: 50px;
  padding: 8px 20px;
  transition: 0.3s;
}
.landing-navbar .btn-cta:hover {
  background: #f0f0f0;
}
.navbar-toggler {
  border: none;
  filter: invert(100%);
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: #f8f9fa;
}

.contact-section h2 {
  color: #2c4262;
}

.contact-section .form-control {
  border-radius: 10px;
  border: 1px solid #d9dee3;
  transition: all 0.3s ease;
}

.contact-section .form-control:focus {
  border-color: #5eb3e7;
  box-shadow: 0 0 0 .2rem rgba(94,179,231,.25);
}

.contact-section button {
  background-color: #2c4262;
  border: none;
  font-weight: 600;
  transition: 0.3s;
}

.contact-section button:hover {
  background-color: #5eb3e7;
  color: #fff;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  background-color: #f8f9fa;
}

.testimonials-section h2 {
  color: #2c4262;
}

.testimonial-card {
  border: 2px solid transparent;
  transition: 0.4s ease;
}

.testimonial-card:hover {
  border-color: #5eb3e7;
  transform: translateY(-5px);
}

.testimonial-card img {
  border: 3px solid #5eb3e7;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(45%) sepia(100%) saturate(1000%) hue-rotate(180deg);
}


/* ===== Powered By Section ===== */
.powered-by-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef5f9 100%);
}

.powered-by-section h2 {
  color: #2c4262;
}

.partner-box {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.partner-box:hover {
  border-color: #5eb3e7;
  transform: translateY(-5px);
}
.partner-box img {
  max-height: 50px;
  filter: grayscale(30%);
  transition: 0.3s;
}
.partner-box:hover img {
  filter: none;
}
/* ===== Smooth Scroll + Active Highlight ===== */
.landing-navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
  margin-inline: 10px;
  transition: 0.3s;
  position: relative;
}

.landing-navbar .nav-link.active {
  color: #5eb3e7 !important;
}

.landing-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: #5eb3e7;
  border-radius: 1px;
  transition: 0.3s;
}

.footer {
  background-color: #2c4262;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}
.footer small {
  color: #dbe4ed;
}
.footer strong {
  color: #5eb3e7;
}
