:root {
  --brand-dark: #0f172a;
  --brand-mid: #1e293b;
  --brand-light: #f8fafc;
  --brand-orange: #ff8605;
  --brand-orange-light: #ff8605;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2933;
  background-color: var(--brand-light);
  margin: 0;
  line-height: 1.6;
}

a {
  color: #0d6efd;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #0b5ed7;
  text-decoration: underline;
}

.navbar {
  letter-spacing: 0.04em;
}

.site-navbar {
  background: #3b3d42;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

@supports (backdrop-filter: blur(12px)) {
  .site-navbar {
    backdrop-filter: blur(12px);
  }
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 250px;
  height: 100px;
  padding: 0.55rem 1.75rem;
  background-color: rgba(248, 250, 252, 0.95);
  border-radius: 1.1rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.navbar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--bs-nav-link-color);
  background: transparent;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
}

.lang-toggle:hover,
.lang-toggle:focus {
  color: #0f172a;
  background: #ff8605;
  border-color: #ff8605;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25);
}

@media (max-width: 991.98px) {
  .navbar-logo {
    width: 260px;
    height: 100px;
    padding: 0.45rem 1.25rem;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo {
    width: 220px;
    height: 100px;
    padding: 0.35rem 0.9rem;
    border-radius: 0.9rem;
  }
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--brand-orange-light) !important;
}

.object-cover {
  object-fit: cover;
}

.btn-warning {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #1f2933;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: var(--brand-orange-light);
  border-color: var(--brand-orange-light);
  color: #1f2933;
}

.btn-outline-brand {
  color: var(--brand-orange-light);
  border-color: rgba(255, 191, 105, 0.7);
  background-color: transparent;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: var(--brand-dark);
  background-color: var(--brand-orange-light);
  border-color: var(--brand-orange);
  box-shadow: 0 0.5rem 1.5rem rgba(255, 159, 28, 0.35);
}

.text-brand-accent {
  color: var(--brand-orange-light) !important;
}


.hero-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 191, 105, 0.25), transparent 55%),
              radial-gradient(circle at 80% 40%, rgba(255, 159, 28, 0.2), transparent 55%);
  opacity: 0.6;
}

.hero-section .container,
.hero-section .row {
  position: relative;
  z-index: 1;
}

.hero-highlight {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(248, 250, 252, 0.15);
}

.hero-slider {
  position: relative;
  height: clamp(260px, 40vw, 380px);
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.hero-slide-img {
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
}

.hero-carousel-indicators {
  bottom: 0.5rem;
}

.hero-carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0.7;
}

.hero-carousel-indicators .active {
  background-color: var(--brand-orange);
  opacity: 1;
}

.hero-list li {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-spacing {
  padding: 4rem 0;
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.section-title.text-white {
  color: #ffffff;
}

.bg-light {
  background-color: #f1f5f9 !important;
}

.brand-strip {
  background: linear-gradient(135deg, var(--brand-dark), #1f2937);
}

.brand-badge {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3.25rem;
  height: 3.25rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.85);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42%;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 14.354a.5.5 0 0 1 0-.708L10.293 8 4.646 2.354a.5.5 0 1 1 .708-.708l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708 0z'/%3e%3c/svg%3e");
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-prev:focus .carousel-control-prev-icon {
  background-color: var(--brand-orange);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-next:focus .carousel-control-next-icon {
  background-color: var(--brand-orange);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 14.354a.5.5 0 0 1 0-.708L10.293 8 4.646 2.354a.5.5 0 1 1 .708-.708l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708 0z'/%3e%3c/svg%3e");
}

#brandCarousel .carousel-indicators {
  bottom: -1.75rem;
}

#brandCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(248, 250, 252, 0.6);
}

.service-card .card-body {
  padding: 1.75rem;
}

.service-card .card-title {
  font-weight: 600;
  color: var(--brand-dark);
}

.service-card .card-text {
  font-size: 0.97rem;
}

.project-card {
  border-top: 3px solid var(--brand-orange);
}

.project-card-image {
  height: 200px;
  overflow: hidden;
}

.project-card-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.project-gallery-trigger {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-gallery-trigger:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
}

.project-gallery-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  height: 100%;
}

.project-gallery-grid .project-gallery-cell {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
}

.project-gallery-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.project-gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.project-gallery-modal .modal-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.5rem;
  color: #f8fafc;
}

.project-gallery-modal .modal-header {
  align-items: flex-start;
}

.project-gallery-modal-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 1.5rem;
  background: radial-gradient(circle at top, rgba(255, 191, 105, 0.15), transparent 45%), rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.project-gallery-modal-image {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.4);
}

.project-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.project-gallery-nav:hover,
.project-gallery-nav:focus-visible {
  background: rgba(255, 159, 28, 0.9);
  border-color: rgba(255, 191, 105, 0.6);
  color: #1f2933;
}

.project-gallery-nav[data-action="prev"] {
  left: 1rem;
}

.project-gallery-nav[data-action="next"] {
  right: 1rem;
}

.project-gallery-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.project-gallery-modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.project-gallery-thumb {
  width: 92px;
  height: 68px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-thumb:hover {
  transform: translateY(-2px);
}

.project-gallery-thumb-active {
  border-color: var(--brand-orange);
  box-shadow: 0 12px 20px rgba(255, 159, 28, 0.25);
}

@media (max-width: 767.98px) {
  .project-gallery-modal-frame {
    padding: 1rem;
    min-height: 260px;
  }

  .project-gallery-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.project-card .card-body {
  padding: 1.75rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  background-color: rgba(255, 159, 28, 0.18);
  color: #c2410c;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-cta {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 191, 105, 0.25), transparent 55%),
              radial-gradient(circle at 85% 30%, rgba(255, 159, 28, 0.2), transparent 60%);
  opacity: 0.55;
}

.contact-cta .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 191, 105, 0.25), transparent 60%),
              radial-gradient(circle at 85% 25%, rgba(255, 159, 28, 0.2), transparent 55%);
  opacity: 0.6;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.contact-card .contact-icon {
  font-size: 2rem;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(148, 163, 184, 0.15);
}

.contact-card .btn {
  font-weight: 600;
}

.contact-card .card-body {
  text-align: left;
}

.contact-rtl .contact-card .card-body {
  text-align: right;
}

.contact-rtl .contact-card .contact-icon {
  margin-left: auto;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--brand-orange-light);
}

.brand-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.92) 50%, rgba(51, 65, 85, 0.9) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.brand-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255, 191, 105, 0.18), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(255, 159, 28, 0.15), transparent 65%);
  opacity: 0.7;
}

.brand-card .brand-badge {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.08);
}

.alert-primary {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(51, 65, 85, 0.88) 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #f8fafc;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.alert-primary h2,
.alert-primary .h5,
.alert-primary p,
.alert-primary a {
  color: #f8fafc;
}

.alert-primary a:hover,
.alert-primary a:focus {
  color: var(--brand-orange-light);
}

.breadcrumb-wrapper {
  background-color: #3b3d42;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.breadcrumb {
  padding: 0.75rem 0;
  margin-bottom: 0;
  background-color: transparent;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumb-item a {
  color: rgba(248, 250, 252, 0.85);
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
  color: var(--brand-orange-light);
}

.breadcrumb-item.active {
  color: var(--brand-orange-light);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(248, 250, 252, 0.6);
}

.breadcrumb-nav-rtl {
  display: flex;
  justify-content: flex-end;
}

.breadcrumb-rtl {
  direction: rtl;
  justify-content: flex-end;
  text-align: right;
  margin-left: auto;
}

.breadcrumb-rtl .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  padding-right: 0;
  padding-left: 0.5rem;
  content: "/";
}

.gallery-section .gallery-image-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #0f172a;
}

.gallery-section .gallery-image-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery-page {
  background: #f8fafc;
}

.gallery-page-card {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.6));
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.gallery-page-card:hover,
.gallery-page-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 40px rgba(15, 23, 42, 0.2);
}

.gallery-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-page-card:hover img,
.gallery-page-card:focus-visible img {
  transform: scale(1.05);
}

.gallery-page-card:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
}

.about-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 360px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.about-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 191, 105, 0.2), transparent 60%);
  opacity: 0.55;
}

.about-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-image-wrapper,
.brands-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 320px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.services-image-wrapper img,
.brands-image-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.location-image-wrapper {
  height: 160px;
}

.location-image-wrapper img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.footer-expanded {
  background: #3b3d42;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-expanded .footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f8fafc;
  transition: all 0.2s ease-in-out;
  font-size: 1.2rem;
}

.footer-expanded .footer-social .social-link:hover,
.footer-expanded .footer-social .social-link:focus {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #1f2933;
}

.footer-contact-list li + li,
.footer-links li + li {
  margin-top: 0.75rem;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.85);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-links .bi {
  margin-inline-end: 0.5rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--brand-orange-light);
}

.footer-contact-list a {
  color: rgba(248, 250, 252, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus {
  color: var(--brand-orange-light) !important;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
}

.footer-contact-list .bi {
  margin-inline-end: 0.5rem;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1060;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: #128c7e;
  color: #ffffff !important;
  border: 2px solid #128c7e;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float .bi,
.whatsapp-float .whatsapp-float-label {
  color: inherit !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #128c7e !important;
  text-decoration: none;
  background: #ffffff;
  border-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .bi,
.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus .bi,
.whatsapp-float:focus .whatsapp-float-label {
  color: inherit !important;
}

.whatsapp-float .bi {
  font-size: 1.35rem;
  line-height: 1;
}

.whatsapp-float-label {
  line-height: 1;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: max(1rem, env(safe-area-inset-left));
}

@media (max-width: 991.98px) {
  .section-spacing {
    padding: 3rem 0;
  }

  .services-image-wrapper,
  .brands-image-wrapper {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }

  .hero-highlight {
    margin-top: 2rem;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float .bi {
    font-size: 1.5rem;
  }

  .whatsapp-float-label {
    display: none;
  }
}
