/* ========================================
   BKI – Bantukamu.id Website Styles
   Redesign June 2026
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --bg-dominant: #E6EEF7;
  --bg-alternate: #F0F4FA;
  --bg-secondary: #B3CAE6;
  --bg-secondary-dark: #97B2D8;
  --accent-primary: #1350AC;
  --accent-secondary: #195BC3;
  --text-primary: #0F2B5B;
  --text-secondary: #3A5078;
  --text-muted: #60789E;
  --card-bg: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(15, 43, 91, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.75);

  /* Legacy references mapped to the new palette to avoid breaking code */
  --navy-900: var(--bg-dominant);
  --navy-800: var(--bg-alternate);
  --navy-700: var(--bg-secondary-dark);
  --navy-600: var(--bg-secondary);
  --navy-500: #7B9CC6;
  --navy-400: #5C81B2;
  --navy-300: #42679C;
  --accent-coral: var(--accent-primary);
  --accent-orange: var(--accent-secondary);
  --accent-amber: var(--bg-secondary-dark);
  --accent-teal: var(--accent-primary);
  --accent-cyan: var(--accent-secondary);
  --accent-blue: var(--accent-secondary);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-card: 0 10px 30px rgba(15, 43, 91, 0.06);
  --shadow-glow-coral: 0 0 40px rgba(19, 80, 172, 0.1);
  --shadow-glow-cyan: 0 0 40px rgba(25, 91, 195, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Grid Lines Background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 43, 91, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 43, 91, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- HEADER / NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(230, 238, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 43, 91, 0.08);
  transition: background var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(230, 238, 247, 0.95);
  border-bottom-color: rgba(15, 43, 91, 0.12);
}

.navbar__left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.navbar__logo-img:hover {
  transform: scale(1.05);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  transition: opacity var(--transition-medium), transform var(--transition-medium), visibility var(--transition-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
}

.menu-open .navbar__nav {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.navbar__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.2px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-primary);
  transition: width var(--transition-medium);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--accent-primary);
}

.navbar__link--active::after {
  width: 100%;
}

.navbar__link:hover::after {
  width: 100%;
}

/* Menu toggle button (Hamburger / X) */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.navbar__toggle:hover span {
  background-color: var(--accent-primary);
}

/* Transform to X when menu-open */
.menu-open .navbar__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .navbar__toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .navbar__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  right: -10%;
  top: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.6), transparent 80%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6), transparent 80%);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 75% 30%, rgba(179, 202, 230, 0.45), transparent),
    radial-gradient(ellipse 500px 400px at 25% 70%, rgba(25, 91, 195, 0.12), transparent);
}

/* Two-column layout */
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: var(--container-padding) !important;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-primary);
  max-width: 650px;
  animation: fadeInUp 0.8s ease 0.15s both;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero__title-highlight {
  color: var(--accent-primary);
  background: none;
  -webkit-text-fill-color: initial;
}

.hero__title-separator {
  width: 48px;
  height: 3px;
  background: var(--accent-primary);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.22s both;
}

.hero__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(19, 80, 172, 0.2);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 91, 195, 0.3);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--accent-primary);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--accent-primary);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(15, 43, 91, 0.03);
}

.btn-secondary:hover {
  background: var(--bg-alternate);
  transform: translateY(-2px);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

/* Hero Diagram Container */
.hero__diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: fadeIn 1.2s ease 0.5s both;
}

.hero__diagram {
  position: relative;
  width: 440px;
  height: 440px;
}

/* Globe visual backdrops */
.hero__diagram::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(19, 80, 172, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  border: 1px solid rgba(19, 80, 172, 0.08);
  pointer-events: none;
  z-index: 1;
}

.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__ring--outer {
  width: 300px;
  height: 300px;
  border: 1.5px dashed rgba(19, 80, 172, 0.22);
  z-index: 2;
}

.hero__ring--inner {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(19, 80, 172, 0.08);
  z-index: 2;
}

/* Small dots on the ring */
.hero__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  z-index: 3;
}
/* Angular positions for dots between nodes */
.hero__dot--1 { transform: translate(-50%, -50%) translate(75px, -130px); }
.hero__dot--2 { transform: translate(-50%, -50%) translate(150px, 0); }
.hero__dot--3 { transform: translate(-50%, -50%) translate(75px, 130px); }
.hero__dot--4 { transform: translate(-50%, -50%) translate(-75px, 130px); }
.hero__dot--5 { transform: translate(-50%, -50%) translate(-150px, 0); }
.hero__dot--6 { transform: translate(-50%, -50%) translate(-75px, -130px); }

/* Center Sphere */
.hero__center-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 35% 35%, #1d6df2, #1350AC, #091e3e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 40px rgba(15, 43, 91, 0.35),
    inset 0 -10px 25px rgba(0, 0, 0, 0.45),
    inset 0 10px 20px rgba(255, 255, 255, 0.25);
  z-index: 10;
}

.hero__center-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

/* Circular Nodes */
.hero__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  z-index: 5;
  cursor: pointer;
}

.hero__node-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 1.5px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(15, 43, 91, 0.08);
  transition: all var(--transition-medium);
  cursor: pointer;
  z-index: 2;
}

.hero__node-circle:hover {
  transform: scale(1.1);
  border-color: var(--accent-secondary);
  box-shadow: 0 6px 20px rgba(25, 91, 195, 0.18);
  background: var(--bg-dominant);
}

.hero__node-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-primary);
  transition: color var(--transition-fast);
}

.hero__node-circle:hover .hero__node-icon {
  color: var(--accent-secondary);
}

/* Active node state */
.hero__node.active .hero__node-circle {
  background: var(--accent-primary);
  border-color: var(--accent-secondary);
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(19, 80, 172, 0.25);
}

.hero__node.active .hero__node-icon {
  color: #ffffff;
}

.hero__node.active .hero__node-label {
  color: var(--accent-primary);
}

.hero__node-label {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* Angular node position coordinates & layouts */
.hero__node--top {
  transform: translate(-50%, -50%) translate(0, -150px);
}
.hero__node--top .hero__node-label {
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero__node--top-right {
  transform: translate(-50%, -50%) translate(130px, -75px);
}
.hero__node--top-right .hero__node-label {
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.hero__node--bottom-right {
  transform: translate(-50%, -50%) translate(130px, 75px);
}
.hero__node--bottom-right .hero__node-label {
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.hero__node--bottom {
  transform: translate(-50%, -50%) translate(0, 150px);
}
.hero__node--bottom .hero__node-label {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero__node--bottom-left {
  transform: translate(-50%, -50%) translate(-130px, 75px);
}
.hero__node--bottom-left .hero__node-label {
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.hero__node--top-left {
  transform: translate(-50%, -50%) translate(-130px, -75px);
}
.hero__node--top-left .hero__node-label {
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- EXPERTISE SECTION ---------- */
.expertise {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
  z-index: 1;
}

/* Background elements for Section 2 - removed to merge with hero section */
.expertise__bg {
  display: none;
}

.expertise__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.expertise__graphic {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.expertise__image {
  width: 100%;
  height: auto;
  display: block;
}

.expertise__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.expertise__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
}

.expertise__btn {
  background: var(--accent-primary);
  color: #fff;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  box-shadow: 0 4px 15px rgba(19, 80, 172, 0.2);
  transition: all var(--transition-fast);
}

.expertise__btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 91, 195, 0.3);
}

.expertise__btn svg {
  width: 20px;
  height: 20px;
  transition: none; /* remove hover slide */
}

/* Responsiveness for Section 2 */
@media (max-width: 1024px) {
  .expertise__layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .expertise__graphic {
    max-width: 380px;
  }
  
  .expertise__content {
    align-items: center;
  }
}

/* ---------- IMPACT FRAMEWORK SECTION ---------- */
.impact {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dominant);
}

.impact::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(25, 91, 195, 0.05), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Faint decorative wave arcs in the background on the right side */
.impact::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background-image: 
    radial-gradient(circle at 100% 50%, transparent 60%, rgba(25, 91, 195, 0.02) 61%, rgba(25, 91, 195, 0.02) 62%, transparent 63%),
    radial-gradient(circle at 100% 50%, transparent 70%, rgba(25, 91, 195, 0.02) 71%, rgba(25, 91, 195, 0.02) 72%, transparent 73%),
    radial-gradient(circle at 100% 50%, transparent 80%, rgba(25, 91, 195, 0.02) 81%, rgba(25, 91, 195, 0.02) 82%, transparent 83%);
  pointer-events: none;
  z-index: 1;
}

.impact__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 48px;
  align-items: center;
}

.impact__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.impact__content .section-label {
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.impact__content .section-title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.impact__content .section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 100%;
}

.impact__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.impact__cta-link:hover {
  color: var(--accent-secondary);
}

.impact__cta-link svg {
  transition: transform var(--transition-fast);
}

.impact__cta-link:hover svg {
  transform: translateX(4px);
}

.impact__flow {
  width: 100%;
}

.impact__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
}

.impact__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
}

.impact__step-letter {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.impact__step-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(15, 43, 91, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 43, 91, 0.03);
  margin-bottom: 20px;
  transition: all var(--transition-medium);
}

.impact__step:hover .impact__step-circle {
  transform: scale(1.08);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 24px rgba(19, 80, 172, 0.12);
}

.impact__icon {
  width: 26px;
  height: 26px;
  color: var(--accent-primary);
  transition: transform var(--transition-medium);
}

.impact__step:hover .impact__icon {
  transform: scale(1.05);
}

.impact__step-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.impact__step-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 130px;
  margin: 0 auto;
}

/* Arrow Connector (placed on the right boundary of the step, centered vertically on the circle center)
   Center of circle from top: Letter height 35px + margin 12px + circle center 34px = 81px */
.impact__step::after {
  content: '';
  position: absolute;
  top: 81px;
  right: -12px; /* Centered in the 24px grid gap */
  width: 26px;
  height: 26px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 43, 91, 0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231350AC' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate(50%, -50%);
  z-index: 5;
  box-shadow: 0 3px 8px rgba(15, 43, 91, 0.04);
  transition: all var(--transition-fast);
}

.impact__step:last-child::after {
  display: none;
}

.impact__step:hover::after {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(19, 80, 172, 0.15);
}



/* ---------- FOOTER ---------- */
.footer {
  background: #001a35; /* Dark navy background */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  color: #ffffff;
}

.footer__main {
  padding: 72px 0 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

/* White logo card */
.footer__logo-card {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast);
}

.footer__logo-card:hover {
  transform: translateY(-2px);
}

.footer__logo-img {
  max-height: 48px;
  max-width: 80%;
  width: auto;
  height: auto;
  display: block;
}

.footer__col-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__section-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  text-transform: none;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__text {
  color: #b3cae6;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: #b3cae6;
  flex-shrink: 0;
}

/* Rounded border box button */
.footer__office-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px 18px;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  width: fit-content;
  background: transparent;
}

.footer__office-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.footer__office-btn .footer__icon {
  color: #ffffff;
}

/* Social Media circular icons */
.footer__social-row {
  display: flex;
  gap: 12px;
}

.footer__social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001a35;
  transition: all var(--transition-fast);
}

.footer__social-circle:hover {
  background: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer__social-circle svg {
  width: 16px;
  height: 16px;
}

/* Proud partners section */
.footer__col-partners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__partner-card {
  width: 72px;
  height: 48px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast);
  padding: 4px;
}

.footer__partner-card:hover {
  transform: translateY(-2px);
}

/* Bottom elements styling */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-link {
  color: #b3cae6;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: #ffffff;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__copyright {
  color: #b3cae6;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background-color: transparent;
  color: var(--accent-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--accent-secondary);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(19, 80, 172, 0.25);
  cursor: pointer;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(19, 80, 172, 0.35);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 24px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__title-separator {
    margin: 0 auto 28px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__diagram-container {
    margin-top: 20px;
  }

  .hero__diagram {
    transform: scale(0.9);
    transform-origin: center;
  }

  .hero__title {
    max-width: 100%;
  }

  .impact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .impact__content {
    align-items: center;
  }

  .impact__content .section-desc {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .impact__steps {
    gap: 16px;
  }

  .impact__step::after {
    right: -8px;
  }



  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
    --container-padding: 0 20px;
  }
  .navbar {
    padding: 0 20px;
  }

  .navbar__left {
    gap: 0;
  }

  .navbar__nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 238, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    /* Transitions */
    transition: opacity var(--transition-medium), transform var(--transition-medium), visibility var(--transition-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
  }

  .menu-open .navbar__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__link {
    font-size: 1.4rem;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__diagram {
    transform: scale(0.72);
    transform-origin: center;
    margin: -40px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .impact__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .impact__step {
    max-width: 280px;
  }

  .impact__step-desc {
    max-width: 100%;
  }

  .impact__step::after {
    top: auto;
    bottom: -24px;
    right: 50%;
    transform: translate(50%, 50%) rotate(90deg);
  }



  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__bottom-right {
    justify-content: center;
  }
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dominant);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--accent-primary);
  color: #fff;
}
