/* ============================================================
   KANARI SECURITY — Global Stylesheet
   Color Palette: White, Light Gray, Soft Green, Dark Navy
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1A2F45;
  --navy-light:  #2C4A6E;
  --green:       #3D8B6E;
  --green-light: #4FAF8A;
  --green-pale:  #EBF5F0;
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F0F2F5;
  --gray-200:    #E2E6EB;
  --gray-400:    #9AACBB;
  --gray-600:    #5A6E7F;
  --shadow-sm:   0 2px 8px rgba(13,27,42,0.08);
  --shadow-md:   0 8px 24px rgba(13,27,42,0.12);
  --shadow-lg:   0 16px 48px rgba(13,27,42,0.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'DM Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { color: var(--gray-600); font-size: 1rem; }

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 12px;
}

.section-subtitle {
  max-width: 560px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61,139,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline-dark:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 26px; height: 26px; fill: white; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.navbar.scrolled .logo-text { color: var(--navy); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.95);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover { color: var(--navy); }
.navbar.scrolled .nav-link::after { background: var(--green); }

.nav-cta {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--navy); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--gray-100);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  padding: 12px 16px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: var(--green-pale);
  color: var(--green);
}
/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d1b2a;
}

/* طبقة غمقان ذكية للنص فقط */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 24, 0.44) 0%,
      rgba(8, 18, 24, 0.30) 42%,
      rgba(8, 18, 24, 0.10) 72%,
      rgba(8, 18, 24, 0.04) 100%
    );
}

/* إضاءة خفيفة حوالين الشخص الرئيسي عشان العين تروحله */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 78% 34%,
      rgba(255, 232, 190, 0.20) 0%,
      rgba(255, 232, 190, 0.10) 18%,
      transparent 36%
    ),
    radial-gradient(
      circle at 28% 55%,
      rgba(125, 212, 176, 0.08) 0%,
      transparent 30%
    );
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;

  --hero-image-a: url("img/hero-1.png");
  --hero-image-b: url("img/hero-1.png");
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      135deg,
      rgba(13,27,42,0.10) 0%,
      rgba(13,27,42,0.16) 55%,
      rgba(61,139,110,0.06) 100%
    ),
    url("img/hero-1.png");

  background-size: cover;
  background-position: center 30%;
  background-attachment: scroll;

  filter: brightness(1.14) contrast(1.06) saturate(1.08);
  transform: scale(1.01);
  transition: none;
}

.hero-bg::before {
  opacity: 1;
}

.hero-bg::after {
  display: none;
  opacity: 0;
}

.hero-bg.show-next::before {
  opacity: 1;
}

.hero-bg.show-next::after {
  display: none;
  opacity: 0;
}
/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 40px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--green-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 400;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 100px 24px;
  background: var(--white);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 28px;
  overflow: visible;
  background: transparent;
}

.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f3f5f7;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.about-slide.active {
  opacity: 1;
  visibility: visible;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  z-index: 20;
  background: var(--green);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-img-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-img-badge span {
  font-size: 0.78rem;
  opacity: 0.88;
  display: block;
  margin-top: 4px;
}

.about-content { padding-top: 20px; }

.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--green-pale);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2; }

.about-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.about-feature p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 100px 24px;
  background: var(--gray-50);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61,139,110,0.2);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,27,42,0.4) 100%);
}

.service-card-icon {
  position: absolute;
  bottom: 16px; left: 16px;
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(61,139,110,0.4);
}

.service-card-icon svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 2; }

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}

.service-card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  transition: var(--transition);
}

.service-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: var(--transition); }
.service-link:hover { color: var(--green-light); }
.service-link:hover svg { transform: translateX(4px); }

/* ============================================================
   SERVICE DETAIL OVERLAY
   ============================================================ */
.service-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(13,27,42,0.7);
  backdrop-filter: blur(6px);
  padding: 80px 24px 40px;
  overflow-y: auto;
}

.service-detail-overlay.open {
  display: flex;
}

.service-detail-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.35s cubic-bezier(0.4,0,0.2,1);
  margin: auto;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: white;
  z-index: 10;
}

.modal-close:hover { background: rgba(255,255,255,0.25); }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.modal-hero {
  position: relative;
  height: 280px;
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.3) 0%, rgba(13,27,42,0.7) 100%);
}

.modal-hero-text {
  position: absolute;
  bottom: 28px; left: 32px; right: 32px;
}

.modal-hero-text h2 {
  color: white;
  font-size: 2rem;
}

.modal-hero-text .section-label {
  background: rgba(61,139,110,0.3);
  border: 1px solid rgba(79,175,138,0.5);
  color: #7DD4B0;
}

.modal-body {
  padding: 36px;
}

.modal-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.modal-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.modal-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--green-pale);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.modal-benefit svg {
  width: 18px; height: 18px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  padding: 100px 24px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,139,110,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.why-us::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,139,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-us .section-label {
  background: rgba(61,139,110,0.2);
  color: #7DD4B0;
}

.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: var(--gray-400); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--green);
  border-radius: 0 0 3px 3px;
  transition: height 0.4s ease;
}

.why-card:hover::before { height: 100%; }

.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(61,139,110,0.4);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 52px; height: 52px;
  background: rgba(61,139,110,0.2);
  border: 1px solid rgba(61,139,110,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--green);
  border-color: var(--green);
}

.why-card-icon svg {
  width: 24px; height: 24px;
  stroke: var(--green-light);
  fill: none;
  stroke-width: 2;
  transition: var(--transition);
}

.why-card:hover .why-card-icon svg { stroke: white; }

.why-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 600;
}

.why-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 100px 24px;
  background: var(--gray-50);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-detail:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.detail-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; }

.detail-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }
.detail-value { font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-top: 2px; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6E7F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,139,110,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #E53E3E;
  background: #FFF5F5;
}

.form-error-msg {
  font-size: 0.78rem;
  color: #E53E3E;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .form-error-msg { display: block; }

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-group {
  margin-top: 4px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.checkbox-group.has-error .checkbox-row {
  color: #B83232;
}

.legal-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin: -2px 0 20px;
  line-height: 1.6;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
}

.success-message {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--green-pale);
  border: 1px solid rgba(61,139,110,0.3);
  border-radius: var(--radius);
  margin-top: 20px;
}

.success-message.show { display: block; }

.success-icon {
  width: 60px; height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 2.5; }

.success-message h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.success-message p { font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 72px 24px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--green);
  border-color: var(--green);
}

.social-btn svg { width: 16px; height: 16px; stroke: var(--gray-400); fill: none; stroke-width: 2; transition: var(--transition); }
.social-btn:hover svg { stroke: white; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--green-light); }
.footer-links a::before { content: '›'; font-size: 1rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.825rem; }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.825rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--green-light); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-image-wrap { max-width: 600px; margin: 0 auto 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2)::after { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-bg::before,
  .hero-bg::after {
    background-position: 92% center;
    background-size: cover;
    background-attachment: scroll;
  }

 .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.15;
}

.hero-badge {
  font-size: 0.68rem;
  padding: 8px 14px;
  max-width: 320px;
  margin-bottom: 26px;
}

  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; max-width: 300px; }

  .about {
    padding: 70px 20px 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about-image-wrap {
    width: 100%;
    height: 360px;
    max-width: none;
    margin: 0 0 52px;
    overflow: visible;
  }

  .about-slider {
    height: 100%;
    border-radius: 22px;
  }

  .about-slide {
    object-position: center center;
  }

  .about-img-badge {
    left: 18px;
    bottom: -32px;
    padding: 18px 22px;
    min-width: 120px;
  }

  .about-img-badge strong {
    font-size: 1.8rem;
  }

  .about-img-badge span {
    font-size: 0.78rem;
  }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-benefits { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form-wrap { padding: 24px; }

  .service-detail-overlay { padding: 60px 12px 24px; }
  .modal-body { padding: 24px; }
  .modal-hero { height: 220px; }
  .modal-hero-text h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
}
/* FIX PRIVACY CHECKBOX */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-row input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  padding: 0 !important;
  margin-top: 4px !important;
  cursor: pointer !important;
  accent-color: var(--green);
}

.checkbox-row span {
  cursor: pointer;
}

/* ============================================================
   KANARI SAFE FINAL OVERRIDES — LIGHTER CLIENT VERSION
   Notes:
   - Append-only override block to avoid breaking server code.
   - Keeps the premium security look, but reduces the dark/heavy mood.
   - Unifies buttons and green usage across the website.
   ============================================================ */

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1A2F45;
  --navy-light:  #2C4A6E;

  /* Lighter premium green requested by client */
  --green:       #2F8F73;
  --green-light: #43B18D;
  --green-pale:  #EEF8F3;
  --green-soft:  #8FE6C8;

  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F0F2F5;
  --gray-200:    #E2E6EB;
  --gray-400:    #9AACBB;
  --gray-600:    #5A6E7F;
}

/* ---------- Global Button System ---------- */
.btn,
.form-submit-btn {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary,
.nav-cta,
.form-submit-btn {
  background: var(--green) !important;
  border: 1px solid var(--green) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(47, 143, 115, 0.26);
}

.btn-primary:hover,
.nav-cta:hover,
.form-submit-btn:hover {
  background: var(--green-light) !important;
  border-color: var(--green-light) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 143, 115, 0.34);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent !important;
  color: var(--navy) !important;
  border-color: var(--gray-200) !important;
}

.btn-outline-dark:hover {
  color: var(--green) !important;
  border-color: var(--green) !important;
}

/* ---------- Navbar ---------- */
.logo-icon,
.service-card-icon,
.about-feature-icon,
.about-img-badge,
.success-icon,
.social-btn:hover {
  background: var(--green) !important;
}

.nav-link::after,
.navbar.scrolled .nav-link::after {
  background: var(--green-light) !important;
}

.navbar.scrolled .nav-link:hover,
.mobile-nav-link:hover,
.service-link,
.footer-links a:hover,
.footer-bottom-links a:hover {
  color: var(--green) !important;
}

.mobile-nav-link:hover {
  background: var(--green-pale) !important;
}

/* ---------- Hero: lighter, cleaner, less dark ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #102033;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      135deg,
      rgba(13, 27, 42, 0.08) 0%,
      rgba(13, 27, 42, 0.13) 56%,
      rgba(47, 143, 115, 0.05) 100%
    ),
    url("img/hero-1.png") !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-attachment: scroll !important;
  filter: brightness(1.22) contrast(1.02) saturate(1.04) !important;
  transform: scale(1.01);
}

.hero-bg::after {
  display: none !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 24, 0.30) 0%,
      rgba(8, 18, 24, 0.20) 45%,
      rgba(8, 18, 24, 0.08) 75%,
      rgba(8, 18, 24, 0.03) 100%
    ) !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 78% 34%,
      rgba(255, 232, 190, 0.12) 0%,
      rgba(255, 232, 190, 0.06) 18%,
      transparent 34%
    );
}

.hero .container,
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 740px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: rgba(47, 143, 115, 0.30) !important;
  border: 1px solid rgba(143, 230, 200, 0.55) !important;
  color: #A8F0D8 !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green-soft) !important;
}

.hero h1 {
  color: #ffffff !important;
  font-size: clamp(3.25rem, 4.55vw, 4.85rem) !important;
  line-height: 1.13 !important;
  font-weight: 600;
  max-width: 780px;
  margin-bottom: 28px;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
}

.hero h1 em {
  color: var(--green-soft) !important;
  font-style: italic;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero-btns {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btns .btn {
  min-width: 190px;
}

.hero-scroll {
  z-index: 4;
}

/* ---------- Cards / icons / section accents ---------- */
.section-label {
  color: var(--green) !important;
  background: var(--green-pale) !important;
}

.stat-number span,
.why-card-icon svg,
.footer-links a:hover,
.footer-bottom-links a:hover {
  color: var(--green-light) !important;
  stroke: var(--green-light);
}

.about-feature {
  border-left-color: var(--green) !important;
}

.about-feature:hover,
.success-message {
  background: var(--green-pale) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(47, 143, 115, 0.11) !important;
}

.checkbox-row input[type="checkbox"] {
  accent-color: var(--green) !important;
}

/* ---------- Desktop guard: keep mobile rules from leaking ---------- */
@media (min-width: 769px) {
  .hero {
    min-height: 100vh;
    align-items: center;
    padding: 0;
  }

  .hero-bg::before {
    background-position: center 30% !important;
  }

  .hero-badge {
    display: inline-flex !important;
  }

  .hero-content {
    max-width: 740px;
    padding-top: 80px !important;
    padding-inline: 0 !important;
  }

  .hero-btns {
    flex-direction: row !important;
    width: auto !important;
  }

  .hero-btns .btn,
  .hero-btns a,
  .hero-btns button {
    width: auto !important;
    max-width: none !important;
  }
}

/* ---------- Mobile hero: preserve the approved mobile layout ---------- */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 0 0 88px;
  }

  .hero-bg::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(8, 18, 24, 0.10) 0%,
        rgba(8, 18, 24, 0.18) 42%,
        rgba(8, 18, 24, 0.58) 100%
      ),
      url("img/hero-1.png") !important;
    background-size: cover !important;
    background-position: 90% center !important;
    filter: brightness(1.16) contrast(1.04) saturate(1.06) !important;
    transform: scale(1.01);
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(8, 18, 24, 0.08) 0%,
        rgba(8, 18, 24, 0.16) 44%,
        rgba(8, 18, 24, 0.58) 100%
      ) !important;
  }

  .hero::after {
    display: none !important;
  }

  .hero .container {
    width: 100%;
    position: relative;
    z-index: 5;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 0 !important;
    padding-inline: 22px !important;
    position: relative;
    z-index: 6;
  }

  .hero-badge,
  .hero-scroll {
    display: none !important;
  }

  .hero h1 {
    color: #ffffff !important;
    font-size: 1.72rem !important;
    line-height: 1.18 !important;
    max-width: 330px;
    margin-bottom: 24px !important;
    text-shadow: 0 8px 28px rgba(0,0,0,0.55);
  }

  .hero h1 em {
    color: var(--green-soft) !important;
    display: inline;
  }

  .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100%;
    position: relative;
    z-index: 7;
  }

  .hero-btns .btn,
  .hero-btns a,
  .hero-btns button {
    width: 100% !important;
    max-width: none !important;
    min-height: 56px;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 10px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-btns .btn-primary,
  .hero-btns a:first-child {
    background: rgba(47, 143, 115, 0.88) !important;
    border-color: rgba(47, 143, 115, 0.92) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-btns .btn-outline,
  .hero-btns a:nth-child(2) {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.60) !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.62rem !important;
    max-width: 310px;
  }

  .logo-text {
    font-size: 1.45rem !important;
  }

  .logo-icon {
    width: 42px !important;
    height: 42px !important;
  }
}
/* =========================
   HERO BUTTONS — FULL TRANSPARENT
   Desktop + Mobile
   ========================= */

.hero .hero-btns .btn,
.hero .hero-btns a,
.hero .hero-btns button {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(143, 230, 200, 0.90) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: 56px;
  border-radius: 12px;
  padding: 0 30px;
  font-weight: 700;
}

/* Hover فقط، من غير fill تقيل */
.hero .hero-btns .btn:hover,
.hero .hero-btns a:hover,
.hero .hero-btns button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .hero .hero-btns .btn,
  .hero .hero-btns a,
  .hero .hero-btns button {
    width: 100%;
    justify-content: center;
    min-height: 56px;
  }
}
/* =========================
   FINAL HERO TRANSPARENT BUTTONS + DESKTOP FIX
   ========================= */

/* Hero buttons transparent on desktop + mobile */
.hero .hero-btns .btn,
.hero .hero-btns a,
.hero .hero-btns button {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.8px solid rgba(155, 232, 206, 0.78) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: 56px;
  border-radius: 12px;
  padding: 0 32px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* Hover خفيف جدًا */
.hero .hero-btns .btn:hover,
.hero .hero-btns a:hover,
.hero .hero-btns button:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Desktop title fix */
@media (min-width: 769px) {
  .hero-content {
    max-width: 780px !important;
    padding-top: 80px !important;
  }

  .hero h1 {
    font-size: clamp(3rem, 3.8vw, 4.3rem) !important;
    line-height: 1.12 !important;
    max-width: 780px !important;
    margin-bottom: 30px !important;
  }

  .hero h1 em {
    display: inline !important;
    white-space: normal !important;
  }

  .hero-btns {
    gap: 18px !important;
  }

  .hero .hero-btns .btn {
    min-width: 260px;
    justify-content: center;
  }

  .hero-scroll {
    display: none !important;
  }
}
/* Hero transparent buttons - desktop + mobile */
.hero .hero-btns .btn,
.hero .hero-btns a,
.hero .hero-btns button {
  background: transparent !important;
  border: 1.7px solid rgba(155, 232, 206, 0.85) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  min-height: 56px;
  border-radius: 12px;
  font-weight: 800;
}

/* Mobile keeps same transparent button style */
@media (max-width: 768px) {
  .hero .hero-btns .btn,
  .hero .hero-btns a,
  .hero .hero-btns button {
    width: 100%;
    justify-content: center;
    min-height: 56px;
  }
}
  .hero-scroll {
    display: none !important;
  }
}