:root {
  --primary-green: #0f5132;
  --green: #0f5132;
  --green-light: #e9f6f0;
  --green-accent: #6dbb45;
  --white: #ffffff;
  --text-gray: #555;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --accent: #ff6a00;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: #ffffff;
  color: #111827;
}

/* ================= NAVBAR ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 15px 20px;
  background: transparent;
  box-sizing: border-box;
}

.navbar {
  width: 100%;
  pointer-events: auto;
}

.nav-container {
  max-width: 1250px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo img {
  height: 32px;
  width: auto;
}

/* ================= HAMBURGER BUTTON ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 10002;
  position: relative;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MENU (DESKTOP) ================= */
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--green);
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.menu a:hover::before,
.menu a.active::before {
  width: 100%;
}

/* ================= DROPDOWN ================= */
.nav-item {
  position: relative;
}

.arrow {
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: #ecfdf5;
  color: var(--green);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================= MOBILE MENU STYLES ================= */
@media (max-width: 992px) {
  .site-header {
    padding: 12px 15px;
    top: 0;
  }

  .nav-container {
    padding: 10px 20px;
  }

  .hamburger {
    display: flex !important;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #ffffff;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 80px 20px 30px;
    z-index: 10001;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    list-style: none;
  }

  .menu.active {
    right: 0;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .menu a {
    display: block;
    padding: 16px 10px;
    font-size: 16px;
    font-weight: 500;
  }

  .menu a::before {
    display: none;
  }

  .dropdown {
    position: static;
    display: none;
    margin-top: 0;
    padding-left: 20px;
    box-shadow: none;
    border-radius: 0;
    background: #fafafa;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    width: 100%;
  }

  .dropdown li a {
    padding: 12px 10px;
    font-size: 14px;
  }

  .nav-item.active > .dropdown {
    display: block !important;
  }

  .nav-item:hover > .dropdown {
    display: none;
  }

  .nav-item > a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item.active > a .arrow {
    transform: rotate(180deg);
  }
}

/* ================= HERO SECTION ================= */
.hero {
  background: var(--green-light);
  padding: 120px 20px 90px;
}

.hero-inner {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left h1 span {
  position: relative;
}

.hero-left h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 6px;
  background: var(--green-accent);
  border-radius: 4px;
}

.subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 26px;
}

.cta-btn:hover {
  background: var(--green);
  color: #ffffff;
}

.stores {
  margin-bottom: 14px;
}

.stores img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.features {
  list-style: none;
  margin-top: 10px;
}

.features li {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--green);
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-right {
    margin-top: 40px;
  }
}

/* ================= CHIT PLANS SECTION ================= */
.chit-plans-section {
  padding: 80px 20px;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 34px;
  color: var(--green);
  margin-bottom: 30px;
}

.plan-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #d1fae5;
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  color: var(--green);
  transition: 0.25s ease;
}

.filter.active {
  background: var(--green);
  color: #ffffff;
}

/* ================= PLANS GRID ================= */
.plans-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.plan-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.plan-card h3 {
  font-size: 16px;
  margin: 16px 0 10px;
  color: #111827;
}

.plan-card h3 span {
  font-weight: 400;
  color: #6b7280;
}

.plan-card p {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 16px;
}

.coin {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.plan-card a {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s ease;
}

.plan-card a:hover {
  background: var(--green);
  color: #ffffff;
}

.view-all {
  text-align: center;
  margin-top: 50px;
}

.view-all-btn {
  padding: 12px 32px;
  border-radius: 30px;
  border: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.view-all-btn:hover {
  background: var(--green);
  color: #ffffff;
}

.plan-card.hide {
  display: none !important;
}

@media (max-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= MODAL ================= */
.assist-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.assist-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.assist-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 36px;
  max-width: 720px;
  width: 90%;
  position: relative;
  text-align: center;
}

.assist-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.assist-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.assist-form input {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  width: 100%;
}

.assist-btn {
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  padding: 12px 34px;
  border-radius: 26px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.assist-btn:hover {
  background: var(--green);
  color: #ffffff;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.error {
  font-size: 12px;
  color: #ef4444;
  display: none;
}

.error-input {
  border-color: #ef4444 !important;
}

@media (max-width: 768px) {
  .assist-form {
    grid-template-columns: 1fr;
  }
}

/* ================= WHY SECTION ================= */
.why-section {
  padding: 80px 20px;
  background: #fafafa;
}

.why-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 40px;
}

.why-box {
  max-width: 1200px;
  margin: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 60px 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  row-gap: 60px;
  column-gap: 40px;
}

.why-item {
  text-align: center;
  padding: 0 10px;
}

.why-item img {
  height: 56px;
  margin-bottom: 16px;
  filter: invert(29%) sepia(26%) saturate(486%) hue-rotate(108deg) brightness(94%) contrast(90%);
}

.why-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4b5563;
}

.divider {
  width: 1px;
  background: #d1d5db;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .divider {
    display: none;
  }
}

/* ================= FOOTER STYLING ================= */
.kcpl-footer {
  background: #eef8f4;
  padding-top: 80px;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo-img {
  width: 160px;
  margin-bottom: 25px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  text-decoration: none;
  color: #4b5563;
  font-size: 0.95rem;
  transition: 0.3s;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--green);
  padding-left: 5px;
}

.company-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 25px;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #111827;
}

.green-text {
  color: var(--green);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-3px);
}

.mt-30 {
  margin-top: 30px;
}

.footer-bottom-strip {
  background-color: var(--green);
  color: #ffffff;
  text-align: center;
  padding: 15px;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .info-col {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .info-col {
    grid-column: span 1;
  }
  .footer-col {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}

/* ================= POPUP OVERLAY ================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.popup-box {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  padding: 40px 45px;
  border-radius: 16px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  font-family: "Inter", system-ui, sans-serif;
}

.popup-box h2 {
  font-size: 28px;
  margin-bottom: 25px;
  line-height: 1.3;
  color: var(--green);
}

.popup-box h4 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--green);
}

.popup-content p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 14px;
}

.popup-content hr {
  margin: 35px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.close-btn {
  position: sticky;
  top: 0;
  float: right;
  font-size: 26px;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #000;
}

.popup-box::-webkit-scrollbar {
  width: 8px;
}

.popup-box::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .popup-box {
    padding: 25px 22px;
  }
  .popup-box h2 {
    font-size: 22px;
  }
}