/* --------------------------------------------------------------
   SAMA Services – Final Clean Theme (2025) – UPDATED
   -------------------------------------------------------------- */
:root {
  --primary: #FF781F;
  --primary-light: #FF9A5A;
  --secondary: #F99C1C;
  --dark: #222222;
  --light: #f8f9fa;
  --gray: #6c757d;
  --body-bg: #ffffff;
  --text: #333333;
  --card-bg: rgba(255,255,255,0.75);
  --card-border: rgba(255,255,255,0.2);
}
.dark-mode {
  --body-bg: #121212;
  --text: #e0e0e0;
  --card-bg: rgba(30,30,30,0.85);
  --card-border: rgba(255,255,255,0.1);
  --light: #1e1e1e;
}

/* ———————————————————————————
   GLOBAL & UTILITIES
   ——————————————————————————— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--body-bg);
  color: var(--text);
  transition: background .3s, color .3s;
}
body.mobile-nav-active { overflow: hidden; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }

/* ———————————————————————————
   HEADER – LOGO LEFT, HAMBURGER RIGHT
   ——————————————————————————— */
#header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  height: 80px;
  transition: .3s;
}
#header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 15px rgba(0,0,0,.1);
}

/* Logo */
.logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  transition: all 0.3s ease;
}

/* Mobile: Logo LEFT, Hamburger RIGHT */
@media (max-width: 991px) {
  #header .container {
    justify-content: space-between !important;
    padding: 0 15px;
  }
  .logo {
    position: static;
    transform: none;
  }
  .mobile-nav-toggle {
    position: static;
    transform: none;
    margin-left: auto;
  }
  
}

/* Desktop: Show nav */
@media (min-width: 992px) {
  .mobile-nav-toggle { display: none !important; }
  .navbar { display: block !important; }
}

/* Hamburger – Animated */
.mobile-nav-toggle {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}
.mobile-nav-toggle .bar {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-nav-toggle.active .bar1 { transform: rotate(45deg) translate(6px, 6px); }
.mobile-nav-toggle.active .bar2 { opacity: 0; }
.mobile-nav-toggle.active .bar3 { transform: rotate(-45deg) translate(7px, -6px); }

/* Nav Links */
.navbar a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.navbar a:hover, .navbar .active { color: var(--primary); }

/* ———————————————————————————
   MOBILE MENU – FULLSCREEN & VISIBLE
   ——————————————————————————— */
@media (max-width: 991px) {
  #navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    transition: left 0.4s ease;
    padding-top: 100px;
    z-index: 999;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  #navbar.active {
    left: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none !important;
    padding: 0;
    margin: 0;
  }
  #navbar a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
  }
  #navbar a:hover, #navbar .active {
    color: var(--primary);
  }
}

/* REMOVE BULLETS FROM NAV LINKS */
#navbar ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
#navbar li {
  list-style: none !important;
}

/* ———————————————————————————
   HERO SECTION
   ——————————————————————————— */
#hero {
  height: 50vh;
  min-height: 400px;
}
.hero-swiper, .hero-swiper .swiper-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.3));
}
.hero-swiper .container { position: relative; z-index: 2; }
#hero h1 { color: #fff; font-size: 2.5rem; line-height: 1.2; }
#hero h1 span { color: var(--secondary); font-weight: 700; }
#hero p {
  color: #ddd;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto;
}

/* ———————————————————————————
   SWIPER ARROWS – FIXED (NO OVERLAP)
   ——————————————————————————— */


/* ———————————————————————————
   HERO SWIPER – DOTS ONLY (NO ARROWS)
   ——————————————————————————— */
.hero-swiper .swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #F99C1C !important;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(249, 156, 28, 0.3);
}

/* Mobile: Slightly smaller dots */
@media (max-width: 768px) {
  .hero-swiper .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
  }
  .hero-swiper .swiper-pagination-bullet-active {
    transform: scale(1.4);
  }
}

/* ———————————————————————————
   KILL DEFAULT SWIPER ARROWS (BLUE ONES)
   ——————————————————————————— */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev,
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hero-swiper .swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}
.hero-swiper .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  border-radius: 50%;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #F99C1C !important;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(249, 156, 28, 0.3);
}

/* ———————————————————————————
   ICONS – FINAL & CLEAN
   ——————————————————————————— */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 1;
}
.material-symbols-rounded:not(#contact .info-card .material-symbols-rounded) {
  color: var(--primary) !important;
}
#contact .info-card .material-symbols-rounded {
  color: #003366 !important;
  font-size: 1.5rem;
}
.service-card .material-symbols-rounded,
.icon-box .material-symbols-rounded {
  font-size: 3.5rem;
}

/* Stars – Gold */
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.5rem;
}
.stars .material-symbols-rounded {
  color: #FFD700 !important;
  font-size: 1.35rem !important;
  font-variation-settings: 'FILL' 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.stars .material-symbols-rounded:hover { transform: scale(1.25); }
.rating-text {
  color: #FFD700 !important;
  font-weight: 600;
  margin-left: 0.25rem;
}

/* ———————————————————————————
   GLASS CARDS & SECTIONS
   ——————————————————————————— */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  transition: transform .3s, box-shadow .3s;
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Section Title */
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: .5rem;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* About */
.about-features .feature-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.about-features .feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.pulse-icon { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.about-img-wrapper { position: relative; display: inline-block; overflow: hidden; border-radius: 1.5rem; }
.about-img { transition: transform 0.5s ease; }
.about-img-wrapper:hover .about-img { transform: scale(1.05); }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,120,31,0.1) 100%);
  pointer-events: none; border-radius: 1.5rem;
}

/* Testimonials */
.testimonials-stack { display: flex; flex-direction: column; gap: 1rem; }
.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* Footer */
#footer { background: var(--secondary); }

/* Back to Top */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  background: var(--primary); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #e56a1a; transform: translateY(-3px); }

/* Responsive */
@media (max-width: 768px) {
  #hero { min-height: 350px; }
  #hero h1 { font-size: 2rem; }
  #hero p { font-size: 1rem; }
  .display-5 { font-size: 2rem; }
  .about-features .feature-item { opacity: 1 !important; transform: none !important; }
}

/* Dark Mode Overrides */
.dark-mode .mobile-nav-toggle .bar { background: #e0e0e0; }
.dark-mode #navbar { background: rgba(18, 18, 18, 0.98); }
.dark-mode #navbar a { color: #e0e0e0; }