/* =============================================
   SANAD Integrated Solutions — style.css
   Colors: Navy #1B2D5B | Gold #F5A623 | White #FFFFFF | Light BG #F8F9FB
   ============================================= */

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

:root {
  --navy: #1B2D5B;
  --navy-dark: #111e3d;
  --navy-light: #253f7a;
  --gold: #F5A623;
  --gold-light: #ffc355;
  --gold-dark: #d4891a;
  --white: #FFFFFF;
  --bg-light: #F8F9FB;
  --bg-section: #EEF1F7;
  --text-main: #1a1a2e;
  --text-muted: #5a6478;
  --border: #dde2ed;
  --shadow: 0 4px 24px rgba(27,45,91,0.10);
  --shadow-lg: 0 12px 48px rgba(27,45,91,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
.highlight { color: var(--gold); }

/* ---- CONTAINERS ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  text-decoration: none;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); background: #1fba59; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(27,45,91,0.12); }

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100px;
}

.nav-logo img { height: 100px; width: auto; object-fit: contain; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-link {
  display: block; padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--gold); background: rgba(245,166,35,0.08); }
.nav-link.active { color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 40px;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
  position: relative;
  min-height: 110vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Decorative background shapes */
.hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(245,166,35,0.07);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 60px; left: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(245,166,35,0.05);
  pointer-events: none;
}

.slider { width: 100%; position: relative; min-height: calc(110vh - 72px); display: flex; align-items: center; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.slide-eyebrow {
  display: inline-block;
  background: rgba(245,166,35,0.18);
  color: var(--gold-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 40px;
  margin-bottom: 24px;
}

.slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}
.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(245,166,35,0.35);
  transition: var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245,166,35,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.slider-controls {
  position: absolute; bottom: 48px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  z-index: 10;
}
.slider-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); }

.slider-dots { display: flex; gap: 10px; align-items: center; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dot.active { background: var(--gold); transform: scale(1.3); }

.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0; pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  font-weight: 800;
}

/* =============================================
   ABOUT
   ============================================= */
.about-section { background: var(--bg-light); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1rem; }
.about-text strong { color: var(--navy); }

.about-stats {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 600; }

.about-visual { display: flex; align-items: center; justify-content: center; }
.about-card-stack {
  display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 300px;
}
.about-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1rem; color: var(--navy);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.about-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.about-card i { font-size: 1.6rem; color: var(--gold); }
.ac2 { margin-left: 28px; }

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 1.6rem; color: var(--gold); }

.service-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 16px;
}
.service-card ul { list-style: none; }
.service-card ul li {
  font-size: 0.9rem; color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--bg-light);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-card ul li::before {
  content: '▸'; color: var(--gold); font-size: 11px; margin-top: 3px; flex-shrink: 0;
}

/* =============================================
   WHY US
   ============================================= */
.why-section { background: var(--bg-section); }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.why-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(245,166,35,0.30);
}
.why-icon i { font-size: 1.7rem; color: var(--white); }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); }

/* =============================================
   VISION & MISSION
   ============================================= */
.vision-section {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.vision-section .section-label { color: var(--gold-light); }
.vision-section .section-header h2 { color: var(--white); }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

.vm-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 44px 36px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.vm-card:hover { background: rgba(255,255,255,0.10); border-color: var(--gold); }

.vm-icon {
  width: 64px; height: 64px;
  background: rgba(245,166,35,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.vm-icon i { font-size: 1.7rem; color: var(--gold); }
.vm-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.vm-card p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.vm-highlight {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.62);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 16px !important;
}

/* =============================================
   CONTACT STRIP
   ============================================= */
.contact-strip {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  padding: 80px 0;
  text-align: center;
}
.contact-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy-dark);
  margin-bottom: 14px;
  font-weight: 800;
}
.contact-strip p { font-size: 1.05rem; color: var(--navy); opacity: 0.85; margin-bottom: 36px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-strip .btn-primary { background: var(--navy); box-shadow: 0 6px 24px rgba(27,45,91,0.3); }
.contact-strip .btn-primary:hover { background: var(--navy-dark); }
.contact-strip .btn-outline { border-color: var(--navy); color: var(--navy); }
.contact-strip .btn-outline:hover { background: rgba(27,45,91,0.1); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--navy-dark); padding: 48px 0 32px; }
.footer-inner { text-align: center; }
.footer-logo { height: 60px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(1.1); }
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--gold); letter-spacing: 1px; margin-bottom: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.40); }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.services-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2),
.vm-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(5),
.why-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .reveal:nth-child(6),
.why-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .vm-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .nav-menu {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 16px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(27,45,91,0.12);
  }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }

  .slide-content { padding: 0 20px; }

  .about-stats { gap: 16px; flex-wrap: wrap; }

  .contact-actions { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: opacity 0.3s; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.3s !important; }
}
