/* Font imports moved to head.blade.php for performance */

:root {
  --primary: #FACC15; /* Vivid Yellow */
  --primary-glow: rgba(250, 204, 21, 0.5);
  --dark-bg: #030712; /* Deep modern darker */
  --surface: rgba(31, 41, 55, 0.4);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --accent: #6366F1; /* Indigo */
}

body {
  background-color: var(--dark-bg) !important;
  color: var(--text-primary) !important;
  font-family: 'Outfit', sans-serif !important;
  line-height: 1.6;
}

body[dir='rtl'] {
  font-family: 'Tajawal', sans-serif !important;
}

/* Radical Header Redesign */
header#header {
  background: rgba(3, 7, 18, 0.7) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid var(--surface-border) !important;
  padding: 15px 0 !important;
}

/* Floating Navbar items */
.menu-links ul li a {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem !important;
  padding: 10px 15px !important;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.menu-links ul li a:hover {
  background: var(--surface);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* Extreme Hero Section */
.section-header {
  position: relative;
  overflow: visible !important;
  padding-top: 150px !important;
  padding-bottom: 100px !important;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(250, 204, 21, 0.1) 0%, transparent 40%) !important;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPjxyZWN0IHdpZHRoPSI0IiBoZWlnaHQ9IjQiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
  pointer-events: none;
  z-index: 0;
}

.section-header-texts {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 5% !important;
  position: relative;
  z-index: 2;
}

.section-header h1 {
  font-size: clamp(3rem, 5vw, 5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1px;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header h1 .yellow-text {
  background: linear-gradient(135deg, #FACC15, #F59E0B) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  text-shadow: none !important;
  position: relative;
}

/* Vibrant Buttons */
.btn-yellow, .btn-primary {
  background: linear-gradient(135deg, var(--primary), #F59E0B) !important;
  color: #000 !important;
  border-radius: 50px !important;
  padding: 16px 40px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 25px var(--primary-glow) !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-yellow::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.5s ease;
}
.btn-yellow:hover::after { left: 100%; }
.btn-yellow:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 20px 40px var(--primary-glow) !important;
}

/* Floating Images */
.hero-safe-img {
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5)) !important;
  animation: float 6s ease-in-out infinite;
  border-radius: 30px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Statistic Cards - Overlapping Design */
.section-statistics {
  margin-top: -100px !important;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.section-statistics-box {
  background: var(--surface) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--surface-border) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.section-statistics-list {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.section-statistics-list:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.section-statistics-list h2 {
  font-size: 3rem !important;
  background: linear-gradient(135deg, #fff, #9CA3AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* Services / Features Sections */
.glass-panel {
  background: var(--surface) !important;
  border: 1px solid var(--surface-border) !important;
  border-radius: 24px !important;
  overflow: hidden;
  transition: all 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(250, 204, 21, 0.3) !important;
}

/* Footer completely revamped */
footer {
  background: #000 !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  padding: 80px 0 40px 0 !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -50px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 100px;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.15;
}



/* =========================================
   ADVANCED "WOW" UI UPGRADES
   ========================================= */

/* Navbar Advanced Styling */
header#header {
  background: rgba(10, 6, 29, 0.4) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.4s ease !important;
}
header#header.scrolled {
  padding: 5px 0 !important;
  background: rgba(10, 6, 29, 0.85) !important;
}
.menu-links ul li a {
  position: relative;
  overflow: hidden;
  color: var(--text-secondary) !important;
}
.menu-links ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.menu-links ul li a:hover::after, .menu-links ul li.active-nav a::after {
  width: 80%;
}
.menu-links ul li a:hover, .menu-links ul li.active-nav a {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

/* Our Services Section (Bento Grid Style) */
.section-services, .our-services-wrapper {
  padding: 100px 0 !important;
  position: relative;
}
.service-card, .box-service {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.3), rgba(31, 41, 55, 0.1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.service-card::before, .box-service::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(250,204,21,0.05) 0%, transparent 70%);
  transform: rotate(45deg);
  z-index: -1;
  transition: opacity 0.5s;
  opacity: 0;
}
.service-card:hover::before, .box-service:hover::before {
  opacity: 1;
}
.service-card:hover, .box-service:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(250, 204, 21, 0.2) !important;
  border-color: rgba(250, 204, 21, 0.3) !important;
}

/* About Us Image Stack Animation */
.about-image-wrapper {
  position: relative;
}
.about-image-wrapper::after {
  content: "";
  position: absolute;
  top: 10%; right: -10%;
  width: 80%; height: 80%;
  border: 2px dashed rgba(250, 204, 21, 0.4);
  border-radius: 30px;
  z-index: -1;
  animation: spinSlow 20s linear infinite;
}
@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}

/* What They Said About Us (Testimonials) */
.section-testimonial, .feedback-section {
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%) !important;
  padding: 100px 0 !important;
}
.testimonial-card, .feedback-card {
  background: rgba(10, 6, 29, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 16px !important;
  padding: 40px 30px !important;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 80px;
  color: rgba(250, 204, 21, 0.1);
  font-family: serif;
}
[dir='rtl'] .testimonial-card::after {
  left: 20px; right: auto;
}
.testimonial-card:hover {
  transform: translateX(10px);
  background: rgba(31, 41, 55, 0.8) !important;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}
[dir='rtl'] .testimonial-card:hover {
  transform: translateX(-10px);
  box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
  border-left: none !important;
  border-right: 4px solid var(--primary) !important;
}

/* Locations & Contact Form */
.contact-section, .locations-wrapper {
  background: linear-gradient(to bottom, transparent, rgba(3, 7, 18, 0.9)) !important;
}
.contact-form-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.form-control, .form-select {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  transition: all 0.3s ease !important;
}
.form-control:focus, .form-select:focus {
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2) !important;
}
.form-label {
  color: var(--text-secondary) !important;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Footer Extra Polish */
footer {
  border-top: 1px solid rgba(250, 204, 21, 0.2) !important;
}
footer .footer-title {
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
footer .footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
[dir='rtl'] footer .footer-title::after {
  right: 0; left: auto;
}
footer ul li a {
  color: var(--text-secondary) !important;
  transition: all 0.3s ease !important;
  display: inline-block;
}
footer ul li a:hover {
  color: var(--primary) !important;
  transform: translateX(5px);
}
[dir='rtl'] footer ul li a:hover {
  transform: translateX(-5px);
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--primary) !important;
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  background: var(--primary);
  color: #000 !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(250, 204, 21, 0.4);
}

