/* ================= ROOT ================= */
:root {
  --primary: #002D62;
  --secondary: #1f4e8c;
  --accent: #00d4ff;
  --text: #1A1A1A;
  --text-light: #555;
  --bg: #ece7de;
  --white: #ffffff;

  --radius: 10px;
  --transition: 0.3s ease;

  --shadow: 0 8px 25px rgba(0,0,0,0.08);
  --shadow-hover: 0 18px 40px rgba(0,0,0,0.12);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cambria, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ================= SECTION ================= */
section {
  padding: 60px 8%;
}

/* 🔥 GLOBAL CENTER FIX (VERY IMPORTANT) */
section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= GRID ================= */
.split,
.impact-box,
.case-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ================= IMAGE ================= */
img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================= TYPOGRAPHY ================= */
.tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 15px;
  color: var(--primary);
}

p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ================= BUTTON ================= */
.btn-outline,
.btn-outline1 {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-outline1 {
  background: #fff;
  border: 1px solid #ddd;
  color: var(--primary);
}

.btn-outline1:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ================= TABS ================= */
.tabs {
  position: sticky;
  top: 0;
  background: #f5f7fb;
  z-index: 1000;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tabs ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0 10px;
}

.tabs li {
  font-size: 18px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.tabs li.active,
.tabs li:hover {
  color: var(--primary);
}

.tabs li::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.tabs li:hover::after,
.tabs li.active::after {
  width: 100%;
}

/* ================= CARDS ================= */
.cap-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.cap-card,
.service-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cap-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cap-icon i,
.service-icon i {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 10px;
}

/* ================= WHY SECTION ================= */
.why-section {
  background: #ffffff;
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-text h2 {
  font-size: 36px;
  color: var(--primary);
}

.points {
  margin: 20px 0;
}

.points div {
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  color: #333;
}

.points div::before {
  content: "✔";
  color: var(--accent);
  font-weight: bold;
}

/* ================= IMPACT (WHITE NORMAL) ================= */
#impact {
  background: #ffffff;
  padding: 60px 8%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

#impact h2 {
  color: var(--primary);
}

#impact p {
  color: var(--text-light);
}

/* ================= NEXT STEP (BLUE) ================= */
section.impact.reveal:last-of-type {
  background: linear-gradient(135deg, #002D62, #1f4e8c);
  color: white;
  text-align: center;
}

section.impact.reveal:last-of-type h2 {
  color: #ffffff;
}

section.impact.reveal:last-of-type p {
  color: rgba(255,255,255,0.9);
}

section.impact.reveal:last-of-type .tag {
  color: var(--accent);
}

section.impact.reveal:last-of-type .btn-outline1 {
  background: #ffffff;
  color: var(--primary);
}

/* ================= CASE ================= */
.case-points div {
  margin-bottom: 6px;
}

/* ================= ULTRA LARGE SCREENS ================= */
@media (min-width: 1400px) {
  section {
    padding: 70px 0;
  }

  .hero {
    padding: 120px 0;
  }
}

@media (min-width: 1200px) {
  .split,
  .impact-box,
  .case-box,
  .why-container {
    gap: 60px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .tabs ul {
    gap: 25px;
  }

  .tabs li {
    font-size: 16px;
  }

  .split,
  .impact-box,
  .case-box,
  .why-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split img {
    order: -1;
  }
}

@media (max-width: 768px) {
  .cap-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tabs ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
  }

  .tabs ul::-webkit-scrollbar {
    display: none;
  }

  .tabs li {
    font-size: 15px;
    flex: 0 0 auto;
  }

  section {
    padding: 50px 5%;
  }

  h2 {
    font-size: 24px;
  }

  .btn-outline,
  .btn-outline1 {
    width: 100%;
    text-align: center;
  }
}