@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Noto+Sans+Arabic:wght@300;400;500;600&display=swap');

/* ============================================================
   SILTROCK SAUDI ARABIA — style.css
   Upload alongside HTML files. Logo images referenced as:
     images/logo-white.png    (white version for dark/hero nav)
     images/logo-colored.png  (colored version for white sticky nav)
     images/logo-footer.png   (use logo-white.png or logo-colored.png)
============================================================ */

:root {
  --white:       #ffffff;
  --bg:          #f8f9f6;
  --bg-alt:      #f0f3ec;
  --dark:        #1e2821;
  --lime:        #7dc143;
  --lime-dark:   #5fa030;
  --lime-light:  #eef7e5;
  --lime-mid:    #b8dfa0;
  --orange:      #f5a623;
  --orange-dark: #d48b12;
  --orange-light:#fff4df;
  --grey-1:      #1a1a1a;
  --grey-2:      #333333;
  --grey-3:      #555555;
  --grey-4:      #888888;
  --border:      #e0e6da;
  --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
  --shadow:      0 6px 30px rgba(0,0,0,.09);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.12);
  --r:           10px;
  --r-lg:        18px;
  --r-xl:        28px;
  --t:           .3s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--grey-2);
  overflow-x: hidden;
  line-height: 1.65;
}
body.rtl { direction: rtl; font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; outline: none; }

h1,h2,h3,h4 { font-family: 'DM Serif Display', serif; line-height: 1.18; }
body.rtl h1,body.rtl h2,body.rtl h3,body.rtl h4 { font-family: 'Noto Sans Arabic', sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.2rem,5vw,4rem); }
h2 { font-size: clamp(1.7rem,3.5vw,2.6rem); }
h3 { font-size: clamp(1.05rem,2vw,1.35rem); }
p  { color: var(--grey-3); line-height: 1.78; font-size: .97rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
section { padding: 88px 0; }

.tag {
  display: inline-block; font-size: .67rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--lime-dark); background: var(--lime-light);
  padding: 5px 14px; border-radius: 50px; border: 1px solid var(--lime-mid); margin-bottom: 1.1rem;
}
.tag.dark { background: rgba(125,193,67,.15); color: var(--lime); border-color: rgba(125,193,67,.3); }
.divider { width: 46px; height: 3px; background: var(--lime); border-radius: 2px; margin: 1rem 0 1.6rem; }
body.rtl .divider { margin: 1rem auto 1.6rem 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-size: .875rem; font-weight: 600; letter-spacing: .03em;
  transition: var(--t); cursor: pointer; border: none;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.38); }
.btn-lime   { background: var(--lime); color: #fff; }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(125,193,67,.35); }
.btn-outline { background: transparent; border: 2px solid var(--lime); color: var(--lime-dark); }
.btn-outline:hover { background: var(--lime); color: #fff; transform: translateY(-2px); }
.btn-ghost-white { background: transparent; border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.on { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ── NAVBAR ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all .4s ease;
}
#nav.stuck {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.07);
  padding: 10px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* Logo: two images, swap on scroll */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo .logo-white   { display: block; height: 34px; width: auto; }
.nav-logo .logo-colored { display: none;  height: 34px; width: auto; }
#nav.stuck .nav-logo .logo-white   { display: none; }
#nav.stuck .nav-logo .logo-colored { display: block; }

/* Nav links: white by default, dark when stuck */
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.9); position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transition: transform .28s; transform-origin: left;
}
body.rtl .nav-links a::after { transform-origin: right; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
#nav.stuck .nav-links a { color: var(--grey-3); }
#nav.stuck .nav-links a:hover, #nav.stuck .nav-links a.active { color: var(--lime-dark); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-btn {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  color: var(--lime-dark); background: var(--lime-light);
  border: 1px solid var(--lime-mid); padding: 7px 16px; border-radius: 50px; transition: var(--t);
}
.lang-btn:hover { background: var(--lime); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.9); transition: var(--t); }
#nav.stuck .burger span { background: var(--grey-2); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu { display: none; flex-direction: column; gap: 1rem; background: #fff; padding: 1.5rem 2rem 2rem; border-top: 2px solid var(--lime-light); }
.mob-menu a { font-size: .9rem; font-weight: 600; color: var(--grey-3); text-transform: uppercase; letter-spacing: .04em; }
.mob-menu.show { display: flex; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--dark); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(20,32,22,.92) 0%, rgba(20,32,22,.55) 55%, rgba(20,32,22,.78) 100%); }
.hero-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--lime), var(--lime-dark), var(--orange)); }
.hero-dots { position: absolute; right: 6%; top: 18%; width: 260px; height: 260px; opacity: .35; background-image: radial-gradient(circle, rgba(125,193,67,.35) 1.5px, transparent 1.5px); background-size: 22px 22px; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 130px 0 90px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.6rem; animation: slideUp .8s ease both; }
.hero-eyebrow::before { content: ''; width: 30px; height: 1.5px; background: var(--lime); }
.hero-h1 { color: #fff; font-style: italic; line-height: 1.08; margin-bottom: .9rem; animation: slideUp .9s .15s ease both; }
body.rtl .hero-h1 { font-style: normal; font-family: 'Noto Sans Arabic', sans-serif; }
.hero-h1 em { font-style: normal; color: var(--lime); }
.hero-sub { color: rgba(255,255,255,.72); font-size: clamp(.95rem,1.8vw,1.15rem); margin-bottom: 2.4rem; font-weight: 300; max-width: 560px; animation: slideUp .9s .3s ease both; }
.hero-ar { font-family: 'Noto Sans Arabic',sans-serif; color: rgba(255,255,255,.55); font-size: .95rem; font-weight: 300; margin-bottom: 1.6rem; animation: slideUp .9s .28s ease both; }
.hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; animation: slideUp .9s .45s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── TRUST BAR ── */
.trust-bar { background: #fff; border-top: 3px solid var(--lime); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: stretch; }
.trust-item { flex: 1; display: flex; align-items: center; gap: 13px; padding: 20px 22px; border-right: 1px solid var(--border); transition: var(--t); }
.trust-item:last-child { border-right: none; }
body.rtl .trust-item { border-right: none; border-left: 1px solid var(--border); }
body.rtl .trust-item:last-child { border-left: none; }
.trust-item:hover { background: var(--lime-light); }
.trust-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--lime-light); border: 1px solid var(--lime-mid); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.trust-text strong { display: block; font-size: .84rem; font-weight: 700; color: var(--grey-1); }
.trust-text span { font-size: .73rem; color: var(--grey-4); }

/* ── SECTION HEADER ── */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 { color: var(--grey-1); }
.sec-head p { max-width: 520px; margin: .8rem auto 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: rgba(255,255,255,.6); }

/* ── FEATURE LIST ── */
.feat-list { display: flex; flex-direction: column; gap: 8px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--grey-3); }
.feat-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; margin-top: 6px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,.5); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 26px; }
.footer-logo { display: inline-flex; margin-bottom: 16px; }
.footer-logo img { height: 28px; width: auto; }
.footer-brand p { font-size: .83rem; line-height: 1.75; max-width: 250px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.soc-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .88rem; transition: var(--t); }
.soc-btn:hover { background: var(--lime); border-color: var(--lime); color: #fff; transform: translateY(-2px); }
.footer-col h5 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .83rem; transition: color .25s; color: rgba(255,255,255,.5); }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .77rem; }
.footer-bottom span { color: var(--lime); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .73rem; color: rgba(255,255,255,.28); transition: color .25s; }
.footer-legal a:hover { color: var(--lime); }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
body.rtl .wa-float { right: auto; left: 26px; align-items: flex-start; }
.wa-float-btn { width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 5px 22px rgba(37,211,102,.42); animation: waPulse 3s ease-in-out infinite; transition: transform .3s; }
.wa-float-btn:hover { transform: scale(1.1); }
.wa-tooltip { background: var(--grey-1); color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 13px; border-radius: 50px; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: var(--t); pointer-events: none; }
body.rtl .wa-tooltip { transform: translateX(-8px); }
.wa-float:hover .wa-tooltip { opacity: 1; transform: none; }
@keyframes waPulse { 0%,100%{box-shadow:0 5px 22px rgba(37,211,102,.42);}50%{box-shadow:0 5px 36px rgba(37,211,102,.68);} }

/* ── RESPONSIVE ── */
@media(max-width:1024px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:768px){
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: flex; }
  section { padding: 60px 0; }
  .trust-inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 45%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float { bottom: 20px; right: 18px; }
  body.rtl .wa-float { right: auto; left: 18px; }
}
@media(max-width:480px){ .container { padding: 0 1.25rem; } .trust-item { flex: 1 1 100%; } }
