/* ==========================================
   HESHIMA TAD INVEST - Global Styles
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy: #1a2f5a;
  --blue: #1e4db7;
  --blue-mid: #2a5fc9;
  --blue-light: #4a7fd4;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-light: #e8ecf3;
  --gray-mid: #c8d2e4;
  --gray: #6b7a99;
  --dark: #111827;
  --gold: #c9a227;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 20px rgba(26,47,90,0.08);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--off-white);
}

.nav-links a.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
}

.nav-links a.nav-cta:hover {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO SECTIONS ---- */
.page-hero {
  padding: 160px 32px 100px;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  opacity: 0.92;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-weight: 300;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 24px auto;
}

/* ---- SECTIONS ---- */
.section {
  padding: 96px 32px;
}

.section-alt {
  background: var(--off-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title span { color: var(--blue); }

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 620px;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 24px 0;
}

.divider-center {
  margin: 24px auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(26,47,90,0.12);
  transform: translateY(-4px);
}

.card-body { padding: 36px; }

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 28px; height: 28px; stroke: var(--blue); }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 15px;
}

/* ---- GRIDS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy);
  padding: 40px 32px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---- FEATURE LIST ---- */
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 15px;
  color: var(--dark);
  line-height: 1.6;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- IMAGE BLOCK ---- */
.img-block {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(26,47,90,0.15);
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 80px 32px;
  text-align: center;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---- CONTACT FORM ---- */
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ---- PROCESS STEPS ---- */
.steps { display: grid; gap: 0; }
.step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-light);
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-mid);
  line-height: 1;
  min-width: 60px;
}

.step-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 15px;
}

/* ---- TESTIMONIAL / HIGHLIGHT BOX ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
  padding: 40px;
  color: white;
}

.highlight-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.highlight-box p {
  opacity: 0.85;
  line-height: 1.75;
  font-size: 15px;
}

/* ---- INFO GRID ---- */
.info-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
}

.info-item h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
}

.info-item p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- COMPLIANCE STRIP ---- */
.compliance-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}

.compliance-strip span {
  color: var(--blue);
  margin: 0 16px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 120px 20px 72px; }
}