:root {
  --color-navy: #001f3f;
  --color-yellow: #cea434;
  --color-black: #000000;
  --color-white: #ffffff;
}

.bg-navy {
  background-color: var(--color-navy) !important;
}
.bg-yellow {
  background-color: var(--color-yellow) !important;
}
text-navy {
  color: var(--color-navy) !important;
}
.topbar {
  background-color: var(--color-navy);
  font-size: 0.9rem;
}

.navbar .logo {
  background: linear-gradient(135deg, var(--color-navy), #003366);
  color: var(--color-yellow);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.navbar .logo-text {
  font-size: 0.85rem;
  color: #444;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.navbar .nav-link {
  color: var(--color-navy);
  margin: 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-yellow);
}
.text-navy {
  color: var(--color-navy) !important;
}
.text-yellow {
  color: var(--color-yellow) !important;
}
.navbar {
  border-bottom: 3px solid var(--color-yellow);
}

#hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
}

#hero .carousel-item {
  position: relative;
  height: 80vh;
  min-height: 500px;
}

#hero .carousel-item img {
  object-fit: cover;
  height: 80vh;
  width: 100%;
  filter: brightness(85%);
}

#hero .carousel-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(25, 49, 83, 0.5), rgba(25, 49, 83, 0.35));
  z-index: 1;
}

#hero .carousel-caption {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 2;
  max-width: 50%;
  padding: 20px 25px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 20px;
}

#hero .carousel-caption h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: 1.8;
  font-weight: 700;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

#hero .carousel-caption p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: #f1f1f1;
  margin-bottom: 20px;
}

#hero .carousel-caption .btn {
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  background-color: var(--color-yellow);
  border: none;
  color: var(--color-navy);
  transition: all 0.3s ease;
}

#hero .carousel-caption .btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 2rem;
  height: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-navy);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--color-yellow);
  opacity: 1;
}

@media (max-width: 768px) {
  #hero .carousel-caption {
    max-width: 90%;
    padding: 15px 20px;
  }

  #hero .carousel-caption h1 {
    font-size: 1.6rem;
  }

  #hero .carousel-caption p {
    font-size: 1rem;
  }

  #hero .carousel-caption .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

.about-section {
  background-color: var(--white);
  color: var(--navy);
  direction: rtl;
}

.about-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--yellow);
  margin-top: 10px;
  margin-left: auto;
  margin-right: 0;
}

.about-section .section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--black);
  text-align: right;
}

.about-section img {
  max-width: 90%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.about-section .btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-section .btn:hover {
  background-color: var(--navy);
  color: var(--white);
}

@media (max-width: 768px) {
  .about-section .section-title {
    font-size: 1.8rem;
  }
  .about-section .section-text {
    font-size: 1rem;
  }
}

#products {
  background: rgba(206, 164, 52, 0.1);
  padding: 60px 0;
  direction: rtl;
}

#products .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}

#products .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: var(--color-navy);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
.product-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  height: 100%;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.07);
}

.product-card .card-body {
  text-align: right;
  padding: 20px;
}

.product-card .card-title {
  font-weight: 600;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.product-card .card-text {
  color: var(--color-black);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-card .btn {
  display: inline-block;
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card .btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-3px);
}

.owl-carousel .owl-nav button {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 6px;
  transition: all 0.3s ease;
  font-size: 1.2rem !important;
}

.owl-carousel .owl-nav button:hover {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.owl-dots .owl-dot span {
  background: var(--color-navy);
  opacity: 0.7;
  width: 12px;
  height: 12px;
  margin: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.owl-dots .owl-dot.active span {
  background: var(--color-black);
  opacity: 1;
  transform: scale(1.2);
}

.services-section {
  background: var(--color-navy);
  color: var(--color-white);
}

.services-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
}

.services-section .section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: var(--color-yellow);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.service-card {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.service-card .icon-box {
  font-size: 2.5rem;
  color: var(--color-yellow);
  background: rgba(206, 164, 52, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-card:hover .icon-box {
  background: var(--color-yellow);
  color: var(--color-navy);
}

.service-card .card-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-card .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.why-choose-us {
  background-color: var(--color-white);
  direction: rtl;
}

.why-choose-us .section-title {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 2.2rem;
  border-bottom: 3px solid var(--color-yellow);
  display: inline-block;
  padding-bottom: 10px;
}

.feature-box {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
  transform: translateY(-8px);
  background: var(--color-yellow);
  color: var(--color-black);
}

.feature-box h5 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-box p {
  font-size: 0.95rem;
  margin: 0;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-yellow);
}

.feature-box:hover .feature-icon {
  color: var(--color-black);
}

#clients {
  background: var(--color-white);
}
#clients img {
  max-height: 80px;
  margin: auto;
  transition: transform 0.3s ease;
}
#clients img:hover {
  transform: scale(1.1);
}

#stats {
  background: var(--color-yellow);
  color: var(--color-navy);
}
#stats .counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

#gallery {
  background: var(--color-white);
}
.gallery-item img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

#testimonials {
  background: var(--color-navy);
  color: var(--color-white);
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--color-white);
  font-style: italic;
}

#contact {
  background: var(--color-white);
  padding: 80px 0;
}

#contact .section-title {
  color: var(--color-navy);
}

#contact .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

#contact .form-control:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 8px rgba(206, 164, 52, 0.3);
}

#contact .btn {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: 30px;
  padding: 12px 25px;
  transition: all 0.3s ease;
}

#contact .btn:hover {
  background-color: var(--color-yellow);
  color: var(--color-white);
  transform: translateY(-3px);
}

#contact iframe {
  width: 100%;
  height: 455px;
  border-radius: 15px;
  border: none;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-links li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* خط رفيع شفاف */
}

.footer-links li:last-child {
  border-bottom: none;
}

.footer-links a {
  display: inline-block;
  color: #f1f1f1;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links a i {
  margin-left: 5px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: #cea434;
}

.footer-links a:hover {
  color: #cea434;
  padding-right: 5px;
}

.footer-links a:hover i {
  transform: translateX(-3px);
}
