:root {
  /* Colors - Derived from Ksibank Logo concept */
  --primary-dark: #1F2937;
  /* Dark Slate/Charcoal */
  --primary-green: #68c142;
  /* Vibrant Lime Green */
  --secondary-bg: #F3F4F6;
  /* Light Gray */
  --text-main: #374151;
  /* Dark Gray for text */
  --text-light: #9CA3AF;
  /* Light Gray for subtext */
  --white: #ffffff;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 0;

  /* Fonts */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--secondary-bg);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #5aa638;
  /* Darker green */
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  height: 80px;
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 64px;
  /* Requested size */
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 60;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #374151;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  /* Deep blue gradient close to the reference image */
  background: linear-gradient(180deg, #11304d 0%, #2a5275 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

/* Secure Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.hero-badge i {
  color: var(--primary-green);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 900px;
  color: var(--white);
}

.hero h1 span {
  color: var(--primary-green);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 700px;
  color: #d1d5db;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 4rem;
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.1rem;
  border-radius: 8px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Stats Row */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  width: 100%;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: #6B7280;
  font-size: 1.1rem;
}

.section-header .subtitle {
  color: var(--primary-green);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

/* Features/Solutions Grid (6 cards) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-green);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(104, 193, 66, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

/* Process Section (Timeline Design) */
.process-section {
  background-color: #F9FAFB;
  padding: 100px 0;
  overflow: visible;
}

.process-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  flex-wrap: wrap;
}

.process-card {
  background: var(--white);
  padding: 40px 30px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid #E5E7EB;
  position: relative;
  flex: 1;
  min-width: 250px;
  text-align: left;
  transition: transform 0.3s;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Number Badge (Top Left Overlap) */
.process-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background-color: #68c142;
  /* Primary Green */
  color: var(--white);
  font-weight: 700;
  width: 44px;
  height: 28px;
  border-radius: 14px;
  /* Pill/Rounded rect shape */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--white);
}

/* Green Icon Box inside card */
.process-icon-box {
  width: 60px;
  height: 60px;
  background-color: #68c142;
  border-radius: 20px;
  /* Super rounded square (squircle-ish) */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.process-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.process-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.process-card p {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.5;
}

/* Arrow Connector (Desktop Only) */
.process-arrow {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  background: #86efac;
  /* Lighter green for arrow circle */
  color: #166534;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 10;
}

/* Hide arrow on last card */
.process-card:last-child .process-arrow {
  display: none;
}

@media (max-width: 992px) {
  .process-grid {
    flex-direction: column;
    gap: 40px;
  }

  .process-card {
    width: 100%;
  }

  .process-arrow {
    right: 50%;
    top: auto;
    bottom: -32px;
    transform: translateX(50%) rotate(90deg);
  }
}

/* Benefits Section (Dark) */
.benefits-section {
  background-color: #0f253b;
  /* Variable match or close to user image */
  color: var(--white);
  padding: 100px 0;
}

.benefits-section .section-header h2 {
  color: var(--white);
}

.benefits-section .section-header p {
  color: #9CA3AF;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  /* Glassy dark card */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.3s;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(104, 193, 66, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.benefit-content h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit-content p {
  color: #9CA3AF;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--white);
}

.cta-card {
  background: var(--primary-green);
  background: linear-gradient(135deg, #74d44c 0%, #5aa638 100%);
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(104, 193, 66, 0.2);
}

.cta-card h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-navy {
  background-color: #1F2937;
  /* Navy Blue matching footer/hero dark */
  color: var(--white);
}

.btn-navy:hover {
  background-color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
  background-color: #051d3b;
  /* Deep Corporate Blue */
  color: var(--white);
  padding: 80px 0 40px;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-logo {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
  display: block;
}

.footer-col p {
  color: #9CA3AF;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #68c142;
  /* Primary Green */
}

/* Contact List */
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #9CA3AF;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  stroke: #68c142;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #6B7280;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 20px;
}

.company-info strong {
  color: #9CA3AF;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    /* Reduced for better fit */
    padding: 0 10px;
    word-wrap: break-word;
    /* Prevent overflow */
  }

  h2 {
    font-size: 1.8rem;
  }

  header .container {
    flex-direction: row;
    /* Keep row to show logo left, burger right */
    justify-content: space-between;
    padding: 0 20px;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 80px;
    /* Header height */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f3f4f6;
  }

  nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  /* Define animation if not exists, but simple display block is fine for now, added slideDown below */

  nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  /* Needed for the specific contact page manual header if it differs, but it uses same class */

  .hero {
    padding: 120px 20px 60px;
    /* Adjusted padding */
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }

  .hero p {
    padding: 0 10px;
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}