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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: #1e293b;
  background: #fff;
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: #1e40af;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-name {
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}
.logo-sub {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #1e40af; }
.btn-nav {
  background: #1e40af !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: #1d3a9a !important; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #1e293b;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 70px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.78) 0%, rgba(30,64,175,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.hero-tag {
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-sub {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* PAGE HERO */
.page-hero {
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.72);
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: #1e40af;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #1d3a9a; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* ── STATS ── */
.stats-bar {
  background: #1e40af;
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}
.stat-label {
  font-size: 0.85rem;
  color: #93c5fd;
  margin-top: 0.3rem;
}

/* ── SECTIONS ── */
.section-white { padding: 5rem 0; }
.section-gray { padding: 5rem 0; background: #f8fafc; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}
.section-label {
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ── SPLIT SECTION ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 480px;
}
.split-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.split-text p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.check-list li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
  color: #475569;
  font-size: 0.9rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1e40af;
  font-weight: 700;
}

/* ── CATEGORIES ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-card {
  height: 220px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.cat-overlay h3 { color: #fff; font-size: 1rem; font-weight: 700; }

/* ── VALUES / STEPS ── */
.values-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card, .step-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.value-num, .step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 0.75rem;
}
.value-card h3, .step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; color: #0f172a; }
.value-card p, .step-card p { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* ── SERVICE DETAIL ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 400px;
}
.service-icon-lg { font-size: 2.5rem; margin-bottom: 0.75rem; }
.service-detail-text h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.8rem; color: #0f172a; }
.service-detail-text p { color: #475569; line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }

/* ── CTA ── */
.cta-section {
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.78);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 1rem 0;
}
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info > p { color: #64748b; line-height: 1.7; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; color: #0f172a; margin-bottom: 0.2rem; }
.contact-item p { color: #64748b; font-size: 0.9rem; line-height: 1.5; margin: 0; }
.contact-item a { color: #1e40af; text-decoration: none; }
.contact-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
}
.contact-form-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; color: #0f172a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1e40af; }
.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: #dcfce7;
  border-radius: 8px;
  color: #15803d;
  font-size: 0.9rem;
}

/* ── FOOTER ── */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 0.85rem; line-height: 1.7; }
.footer-contact a { color: #93c5fd; text-decoration: none; }
.footer-copy {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
  grid-column: 1/-1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { font-size: 1rem; display: block; }
  .btn-nav { display: inline-block; text-align: center; }

  .hero-content h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }

  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse { direction: ltr; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { grid-column: 1; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .values-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
