/* Safe Side — pure white, premium one-page */
:root {
  --safeside-navy: #0b1f3a;
  --safeside-green: #1f9d55;
  --safeside-green-bright: #22c55e;
  --safeside-light-green: #eefaf3;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e8edf2;
  --border-strong: #d5dde6;
  --bg: #ffffff;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 12px 40px rgba(11, 31, 58, 0.06);
  --shadow-hover: 0 4px 8px rgba(11, 31, 58, 0.04), 0 20px 48px rgba(11, 31, 58, 0.1);
  --radius: 18px;
  --container: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

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

.container {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 50%;
}

.btn-icon .icon-wa,
.footer-wa .icon-wa {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-green {
  background: var(--safeside-green);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 157, 85, 0.22);
}

.btn-green:hover {
  background: #188a48;
  box-shadow: 0 14px 32px rgba(31, 157, 85, 0.3);
}

.btn-outline {
  background: #fff;
  color: var(--safeside-navy);
  border: 1px solid var(--border-strong);
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.04);
}

.btn-outline:hover {
  border-color: var(--safeside-green);
  color: var(--safeside-green);
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--safeside-green);
  border: 1.5px solid var(--safeside-green);
  box-shadow: 0 8px 24px rgba(31, 157, 85, 0.12);
}

.btn-white:hover {
  background: var(--safeside-light-green);
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* Nav — white glass */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.nav-logo img {
  height: 3.1rem;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-links a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:not(.btn):hover {
  color: var(--safeside-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--safeside-navy);
  border-radius: 2px;
}

/* Hero — pure white, premium */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 0 4.5rem;
  background: #ffffff;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(31, 157, 85, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 45%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(11, 31, 58, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--safeside-navy);
  max-width: 780px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(11, 31, 58, 0.04);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: var(--safeside-navy);
  letter-spacing: 0.02em;
}

.pill .icon {
  color: var(--safeside-green);
}

.hero-logo {
  height: 8rem;
  width: auto;
  margin: 0 auto 1.75rem;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 32px rgba(11, 31, 58, 0.08));
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 750;
  line-height: 1.28;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  color: var(--safeside-navy);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.hero-note {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Sections — all white */
.section {
  padding: 5.5rem 0;
  background: #ffffff;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-muted,
.section-navy {
  background: #ffffff;
  color: inherit;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.25rem;
}

.section-head h2,
.section-navy .section-head h2,
.section-navy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--safeside-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.section-head p,
.section-navy .section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.badge,
.badge-on-dark {
  display: inline-block;
  background: var(--safeside-light-green);
  color: var(--safeside-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card {
  padding: 2rem 1.75rem;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 157, 85, 0.28);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  background: var(--safeside-light-green);
  color: var(--safeside-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(31, 157, 85, 0.12);
}

.icon-box svg {
  width: 1.4rem;
  height: 1.4rem;
}

.icon-box.green {
  background: var(--safeside-light-green);
  color: var(--safeside-green);
}

.icon-box.navy {
  background: #f1f5f9;
  color: var(--safeside-navy);
  border-color: var(--border);
}

.icon-box.purple {
  background: #faf5ff;
  color: #7c3aed;
  border-color: #f3e8ff;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--safeside-navy);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.service-card .ar {
  font-family: "Noto Sans Arabic", sans-serif;
  font-size: 0.88rem;
  color: var(--safeside-green);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.service-card > p:not(.ar) {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: #fff;
}

.center-cta {
  text-align: center;
  margin-top: 2.75rem;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 157, 85, 0.25);
}

.partner-logo-wrap {
  height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.25rem;
}

.partner-logo-wrap img {
  max-height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
}

.partner-card h3 {
  font-size: 0.98rem;
  color: var(--safeside-navy);
  margin-bottom: 0.65rem;
  line-height: 1.35;
  font-weight: 700;
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.1rem;
}

.partner-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--safeside-green);
  background: var(--safeside-light-green);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.partners-foot {
  text-align: center;
  margin-top: 2.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

/* Tips */
.lang-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.15rem;
  margin-top: 1.35rem;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.04);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--safeside-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 157, 85, 0.25);
}

.tip-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
}

.tip-card:hover {
  border-color: rgba(31, 157, 85, 0.28);
  box-shadow: var(--shadow);
}

.tip-card .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.tip-card h3 {
  font-size: 0.98rem;
  color: var(--safeside-navy);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.tip-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

.tip-card.rtl h3,
.tip-card.rtl p {
  text-align: right;
  font-family: "Noto Sans Arabic", Inter, sans-serif;
}

/* About — white premium panel */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.about-grid h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin: 0.5rem 0 1.15rem;
  letter-spacing: -0.025em;
  color: var(--safeside-navy);
}

.about-grid > div > p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about-grid strong {
  color: var(--safeside-navy);
  font-weight: 650;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 0.85rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stat:hover {
  border-color: rgba(31, 157, 85, 0.3);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--safeside-green);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.15rem;
  box-shadow: var(--shadow);
  position: relative;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--safeside-green), #4ade80);
}

.about-logo {
  height: 4.25rem;
  margin: 0.35rem auto 1rem;
  background: transparent;
  object-fit: contain;
}

.tagline {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.about-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.about-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--safeside-green);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}

.contact-grid-center {
  align-items: center;
}

.contact-wa-panel {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
}

.wa-icon-link {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-icon-link:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
}

.wa-icon-link svg {
  width: 2.5rem;
  height: 2.5rem;
}

.contact-wa-hint {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.qr-card {
  padding: 2rem;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}

.qr-card h3 {
  color: var(--safeside-navy);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.qr-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.qr-frame {
  display: inline-block;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 0.85rem;
}

.qr-frame img {
  display: block;
  width: 220px;
  height: 220px;
  background: transparent;
}



/* CTA band — white with green accent frame */
.cta-band {
  background: #ffffff;
  padding: 0 0 4.5rem;
  border-top: none;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.25rem 2.5rem;
  border: 1px solid rgba(31, 157, 85, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--safeside-light-green) 100%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-band-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--safeside-green);
}

.cta-band h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: var(--safeside-navy);
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer — white */
.footer {
  background: #ffffff;
  color: var(--text);
  padding: 3.25rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-logo {
  height: 3.25rem;
  background: transparent;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 420px;
}

.footer-wa {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.footer-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0 1.75rem;
}

.footer-partners-label {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #94a3b8;
  margin-bottom: 1.35rem;
  font-weight: 700;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 880px;
  margin: 0 auto;
}

.footer-partner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-partner:hover {
  border-color: rgba(31, 157, 85, 0.28);
  box-shadow: var(--shadow);
}

.footer-partner img {
  height: 2.85rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer-partner span {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 500;
}

.footer-peace {
  text-align: center;
  margin-top: 1.35rem;
  font-size: 0.88rem;
  color: var(--safeside-green);
  font-weight: 700;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Floating WA */
.fab-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3,
  .partners-grid,
  .footer-logos,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 4.75rem;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.15rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 0.75rem 0.25rem;
  }

  .nav-links .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .hero-logo {
    height: 5.75rem;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }

  .cta-band-inner::before {
    width: 100%;
    height: 3px;
    bottom: auto;
    right: 0;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .grid-3,
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-grid .partner-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
  }
}
