/* Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: 'Tajawal', sans-serif;
  direction: ltr; /* Left to Right text direction for French */
  background-color: #f9f9f9;
  scroll-behavior: smooth;
}
a { text-decoration: none; }

/* Top Bar */
.top-bar {
  background: #003366;
  color: #fff;
  padding: 0.4rem 0;
  text-align: center;
  font-size: 0.95rem;
}
.top-bar span { display: inline-block; margin: 0 5px; }

/* Navbar */
.navbar { background-color: #000; }
.navbar-brand { color: #fff; font-weight: bold; font-size: 1.3rem; }
.navbar-nav { margin: 0 auto; }
.navbar-nav .nav-link {
  color: #fff !important;
  padding: 0.5rem 1rem;
  text-align: center;
  margin: 0 10px;
}
.navbar-nav .nav-link:hover { color: #ffcc00 !important; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
@media (max-width: 991px) { .navbar-nav { text-align: center; } }

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  background: url('../img/hero-image.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
#hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}
#hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  margin-bottom: 1rem;
}
@media (max-width: 576px) { #hero h1 { font-size: 2.2rem; } }
#hero p.lead {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.7;
}
#hero p.description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
#hero p.description .part1 { color: #ffcc00; }
#hero p.description .part2 { color: #00aaff; }
@media (max-width: 576px) {
  #hero p.description { font-size: 0.95rem; }
  #hero .mt-4 a { margin-bottom: 10px; display: block; }
}




/* About Section */
#about {
  background-color: #fff;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-weight: 700;
  font-size: 2rem;
}

.about-card {
  background-color: #fdfdfd;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 30px;
}

.about-image {
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#about h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
}

#about p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #555;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  text-align: left;
}

.about-list li {
  margin-bottom: 0.5rem;
  padding-left: 30px;
  position: relative;
  list-style: none !important;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-size: 1.2rem;
  top: 0;
}





















/* Why Choose Us Section */
#why-choose-us .choose-card { transition: 0.3s; }
#why-choose-us .choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Services Section */
#services .service-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* Match Arabic style in French FAQs */
.accordion-button-fr {
  direction: ltr;
  text-align: left;
  justify-content: space-between;
  font-weight: 600;
  color: #003366;
}

.accordion-button-fr::after {
  margin-left: auto;
  margin-right: 0;
}

.accordion-body {
  text-align: left;
  direction: ltr;
  line-height: 1.8;
  color: #333;
}

.accordion-item {
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Light blue color like Arabic */
.accordion-button-fr:not(.collapsed) {
  background-color: #d6e7ff !important; /* same light blue */
  color: #003366 !important;
}



/* Sliders */
.testimonial-card, .google-review-card
{
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
  min-height: 250px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  .col-12.col-md-4 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-12.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
.carousel-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.carousel-row > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  display: inline-block;
}

/* Contact Form */
.contact-form .form-control {
  border-radius: 0;
  border: 2px solid #ccc;
  transition: border-color 0.3s;
  padding-left: 3rem; /* Adjusted for LTR input */
}
.contact-form .form-control:focus { border-color: #003366; box-shadow: none; }
.contact-form .icon-inside {
  position: absolute;
  left: 1rem; /* Adjusted for LTR input */
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.2rem;
  pointer-events: none;
}
.contact-form .mb-3 { position: relative; }
.contact-form button {
  border-radius: 0;
  background: #003366;
  color: #fff;
  padding: 10px 30px;
  transition: background 0.3s;
}
.contact-form button:hover { background: #002244; }

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Adjusted for LTR position */
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  z-index: 1200;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}
.whatsapp-btn:hover { background: #1ebe57; transform: scale(1.05); }

/* Footer */
footer {
  background: linear-gradient(45deg, #1c1c1c, #000);
  color: #fff;
  padding: 40px 0;
  font-size: 0.95rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; color: #ffcc00; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-link { color: #ffcc00; transition: color 0.3s; }
.footer-link:hover { color: #fff; text-decoration: underline; }
.footer-desc { color: #ccc; font-size: 0.95rem; }
.footer-worktime { color: #ccc; font-size: 0.9rem; }

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.language-switcher a {
  display: flex;
  align-items: center;
  margin-right: 15px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 10px;
  background-color: transparent;
  border: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.language-switcher a:hover {
  color: #FFC107;
  transform: scale(1.05);
}

.language-switcher .flag-icon {
  width: 20px;
  height: 14px;
  margin-right: 8px;
}

.language-switcher span {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 10px;
}

.language-switcher a:last-child {
  margin-right: 0;
}

@media (max-width: 768px) {
  .language-switcher {
    display: block;
    text-align: center;
    margin-top: 15px;
  }

  .language-switcher a {
    display: block;
    margin: 10px 0;
  }
}
