/* ===== CSS Variables ===== */
:root {
  --gold: #b8962e;
  --gold-light: #d4af5a;
  --gold-dark: #8a6e20;
  --slate: #4a6274;
  --slate-dark: #2d3e4a;
  --dark: #1a1f2e;
  --darker: #0f1318;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --gray-light: #e8e4dc;
  --gray: #999;
  --text-body: #3a3a3a;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 20px rgba(184, 150, 46, 0.25);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--gold);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-divider.right {
  margin: 0 0 1.5rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

section {
  padding: 80px 0;
}

.bg-dark-section {
  background: var(--darker);
  color: var(--white);
}

.bg-off-white {
  background: var(--off-white);
}

/* ul.dropdown-menu {
  top: 140% !important;
} */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark))
}

/* ===== Buttons ===== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  font-family: 'Cairo', sans-serif;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 150, 46, 0.4);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Cairo', sans-serif;
  width: fit-content;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Cairo', sans-serif;
}

.btn-white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
}

#mainNav.scrolled {
  background: var(--darker);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--gold-dark);
}

.navbar-brand img {
  height: 70px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

#mainNav.scrolled .navbar-brand img {
  height: 45px;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .split-nav-label.active::after {
  transform: scaleX(1);
}

/* Fix: solid dark navbar background when mobile menu is open */
@media (max-width: 991px) {
  #mainNav.nav-open {
    background: var(--darker) !important;
    transition: none !important;
  }
}

.navbar-nav .nav-link:hover {
  color: var(--gold-light) !important;
}

/* Dropdown toggle: show underline on hover too — but NOT for split dropdowns (handled separately) */
.navbar-nav .dropdown:hover>.nav-link:not(.split-nav-label)::after,
.navbar-nav .dropdown.show>.nav-link:not(.split-nav-label)::after {
  transform: scaleX(1);
}

/* FIX: Remove Bootstrap default caret, use custom FA icon */
.navbar-nav .dropdown-toggle::after {
  display: none !important;
}

.nav-dropdown-icon {
  font-size: 0.65rem;
  opacity: 1;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(184, 150, 46, 0.15);
  border: 1px solid rgba(184, 150, 46, 0.35);
  border-radius: 50%;
  color: var(--gold-light);
  flex-shrink: 0;
}

.dropdown.show .nav-dropdown-icon,
.dropdown:hover .nav-dropdown-icon,
.split-dropdown-btn:hover .nav-dropdown-icon,
.split-dropdown-btn[aria-expanded="true"] .nav-dropdown-icon {
  transform: rotate(180deg);
  background: rgba(184, 150, 46, 0.3);
  border-color: var(--gold);
  color: var(--gold);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


@media (min-width: 992px) {

  /* dropdown-toggle underline handled by split-nav-label::after above */
  .navbar-nav .dropdown-toggle {
    position: relative;
  }
}

/* FIX: Dropdown - fixed width & no size change on hover */
.dropdown-menu {
  background: var(--darker);
  border: 1px solid rgba(184, 150, 46, 0.2);
  border-radius: var(--radius);
  min-width: 220px;
  width: 220px;
  padding: 6px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: dropDown 0.2s ease;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FIX: No padding change on hover = no size change */
.dropdown-item {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 10px 18px !important;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(184, 150, 46, 0.18) !important;
  color: var(--gold) !important;
  padding: 10px 18px !important;
  /* same - no shift */
}

.dropdown-item i {
  color: var(--gold);
  font-size: 0.78rem;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
#heroSwiper {
  height: 100vh;
  min-height: 600px;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FIX: Stronger overlay for text readability */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 12, 18, 0.90) 0%,
      rgba(15, 19, 24, 0.78) 45%,
      rgba(26, 31, 46, 0.58) 100%);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.hero-slide-1 {
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80');
}

.hero-slide-2 {
  background-image: url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?w=1600&q=80');
}

.hero-slide-3 {
  background-image: url('https://images.unsplash.com/photo-1453728013993-6d66e9c9123a?w=1600&q=80');
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: heroFadeIn 0.8s ease;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  background: rgba(184, 150, 46, 0.25);
  border: 1px solid rgba(184, 150, 46, 0.6);
  color: #f0d080;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* FIX: Hero title stronger shadow */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #f0d080;
}

/* FIX: Hero desc more legible */
.hero-desc {
  color: rgba(255, 255, 255, 0.97);
  font-size: 1.08rem;
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 150, 46, 0.45);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #f0d080;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

/* FIX: Swiper arrows - always visible */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(184, 150, 46, 0.75) !important;
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  border: 2px solid rgba(255, 220, 100, 0.6) !important;
  transition: var(--transition);
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--gold) !important;
  border-color: #fff !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  color: #fff !important;
  font-weight: 900;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ===== ABOUT SECTION ===== */
.about-img-wrapper {
  position: relative;
  display: inline-block;
}

.about-img-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-img-badge span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-img-badge small {
  font-size: 0.75rem;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
  padding: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-value-item:hover {
  background: var(--off-white);
}

.about-value-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.1rem;
}

/* ===== SERVICE CARDS - Equal Height ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  height: 100%;
  border: 1px solid var(--gray-light);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: right;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body p {
  flex: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(184, 150, 46, 0.1), rgba(184, 150, 46, 0.2));
  border: 2px solid rgba(184, 150, 46, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h5 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* ===== TEAM CARDS - Equal Height ===== */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.team-img-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 46, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  margin: 0 4px;
  transition: var(--transition);
  font-size: 0.9rem;
}

.team-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.team-info {
  padding: 1.5rem;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-name {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}

/* ===== VIDEOS SECTION ===== */
.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
  height: 100%;

}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.video-title {
  padding: 1rem 1.2rem;
  background: var(--dark);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 8px;


}

.video-title i {
  color: var(--gold);
}



/* ===== FOOTER ===== */
footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
  border-top: 1px solid var(--gold-dark);
  overflow: hidden;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-left: 8px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-heading {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184, 150, 46, 0.3);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 6px;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
  color: var(--gold);
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.float-btn-phone {
  background: var(--gold);
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.12) translateY(-3px);
  color: #fff;
}

#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--dark);
  color: var(--gold);
  border: 1px solid rgba(184, 150, 46, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--darker) 0%, var(--slate-dark) 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1200&q=60') center/cover;
  opacity: 0.1;
} */

.page-hero .img-box {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0.1;
}

.page-hero .img-box img {
  width: 100%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--gold);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== FIX: fade-up - works on all pages ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.row>.fade-up:nth-child(1) {
  transition-delay: 0.00s;
}

.row>.fade-up:nth-child(2) {
  transition-delay: 0.10s;
}

.row>.fade-up:nth-child(3) {
  transition-delay: 0.20s;
}

.row>.fade-up:nth-child(4) {
  transition-delay: 0.30s;
}

.row>.fade-up:nth-child(5) {
  transition-delay: 0.35s;
}

.row>.fade-up:nth-child(6) {
  transition-delay: 0.40s;
}

/* ===== ARTICLE CARDS - Equal Height ===== */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  border: 1px solid var(--gray-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

.article-card:hover img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-body p {
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  color: var(--gray);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-meta i {
  color: var(--gold);
}

.article-card h5 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  direction: rtl;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.1);
  outline: none;
}

/* ===== VISION/MISSION/GOALS ===== */
.vision-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-right: 4px solid var(--gold);
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-4px);
}

.vision-card h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.goal-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.goal-num {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== MISC ===== */
.gold-line {
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.value-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-detail-header {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  border-right: 4px solid var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }

  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .about-img-badge {
    bottom: -10px;
    left: -10px;
  }

  /* #mainNav {
    background: rgba(8, 12, 18, 0.97);
  } */

  .dropdown-menu {
    background: rgba(8, 12, 18, 0.98);
    width: auto;
    min-width: 200px;
  }

  /* Mobile: force solid dark background when menu opens */
  @media (max-width: 991px) {
    .dropdown-menu.show {
      background: rgb(10, 14, 22) !important;
      border: 1px solid rgba(184, 150, 46, 0.25);
      border-radius: 8px;
      margin-top: 4px;
    }
  }
}

@media (max-width: 767px) {
  .hero-stats {
    display: none;
  }

  .team-img-wrapper img {
    height: 260px;
  }

  .floating-btns {
    left: 16px;
    bottom: 20px;
  }

  #scrollTop {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 575px) {
  section {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}


/* ── SHOWREEL (light) ── */
#showreel {
  background: var(--surface);
}

.showreel-header {
  display: grid;
  gap: 10px;
}

.showreel-title {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1;
  margin: 0;
  color: var(--black);
}

.showreel-wrapper {
  position: relative;
  max-width: 960px;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(28, 24, 20, 0.18),
    0 0 0 1px var(--border);
  border-radius: 5px;
}

.showreel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--dark-bg);
  border-radius: 5px;
}

.showreel-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 55%,
      rgba(28, 24, 20, 0.08) 0%,
      rgba(28, 24, 20, 0.55) 55%,
      rgba(28, 24, 20, 0.75) 100%);
  transition: opacity 0.35s var(--transition-smooth);
}

.play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.35s var(--transition-bounce),
    box-shadow 0.35s var(--transition-smooth);
}

.play-btn i {
  font-size: 20px;
  color: #cccbcb;
}

.play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 15px rgba(240, 192, 0, 0.18);
}

/* ===== SPLIT DROPDOWN NAV ===== */
.split-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.split-nav-label {
  flex: 1;
}

.split-dropdown-btn {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 8px 0 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.split-dropdown-btn:hover {
  color: var(--gold-light);
}

/* Hide Bootstrap default caret on the button too */
.split-dropdown-btn::after {
  display: none !important;
}

/* Desktop: hover opens dropdown */
@media (min-width: 992px) {
  .split-dropdown {
    position: relative;
  }

  .split-dropdown:hover>.dropdown-menu,
  .split-dropdown.show>.dropdown-menu {
    display: block;
  }

  .split-dropdown:hover .split-dropdown-btn .nav-dropdown-icon,
  .split-dropdown.show .split-dropdown-btn .nav-dropdown-icon {
    transform: rotate(180deg);
  }

  /* Underline for split-nav-label uses the inherited nav-link::after — just show it on hover/active */
  .split-dropdown:hover .split-nav-label::after,
  .split-dropdown.show .split-nav-label::after,
  .split-nav-label.active::after {
    transform: scaleX(1);
  }

  /* Arrow button: NO underline, just a subtle separator + gold border on hover */
  .split-dropdown-btn {
    /* border-right: 1px solid rgba(255,255,255,0.15); */
    border-radius: 0 6px 6px 0;
  }


}

/* Mobile: show link and button side by side clearly */
@media (max-width: 991px) {
  .split-nav-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .split-nav-label {
    flex: 1;
    padding: 8px 14px !important;
  }

  .split-dropdown-btn {
    /* background: rgba(184, 150, 46, 0.12);
    border: 1px solid rgba(184, 150, 46, 0.3); */
    border-radius: 6px;
    margin-left: 6px;
    padding: 8px 14px;
    min-width: 40px;
    height: 38px;
    color: var(--gold-light) !important;
  }

  .split-dropdown-btn:hover,
  .split-dropdown-btn[aria-expanded="true"] {
    background: rgba(184, 150, 46, 0.28);
    border-color: var(--gold);
    color: var(--gold) !important;
  }

  .split-dropdown-btn[aria-expanded="true"] .nav-dropdown-icon {
    transform: rotate(180deg);
  }

  /* Force solid dark background for dropdown on mobile */
  .navbar-collapse .dropdown-menu {
    background: #0f1318 !important;
    border: 1px solid rgba(184, 150, 46, 0.3) !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    padding: 6px 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  }

  .navbar-collapse .dropdown-menu .dropdown-item {
    background: transparent !important;
    padding: 10px 20px !important;
  }

  .navbar-collapse .dropdown-menu .dropdown-item:hover {
    background: rgba(143, 119, 48, 0.15) !important;
    color: var(--gold) !important;
  }
}

#langToggle,
#langTogglePC {
  cursor: pointer;
  transition: var(--transition);
}

#langToggle:hover,
#langTogglePC:hover {
  transform: scale(1.2) rotate(360deg);
}

.breadcrumb-item+.breadcrumb-item::before {
  float: none !important;
  padding: 0 .5rem !important;
}

.breadcrumb-item+.breadcrumb-item {
  padding-left: 0 !important;
}

.form-select {
  background-position: left .75rem center !important;

}