@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Inter:wght@300;400;600&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0f1115;
  color: #ffffff;
  transition: background 0.4s, color 0.4s;
}

body.light-mode {
  background-color: #ffffff;
  color: #000000;
}

a {
  text-decoration: none;
  color: #60a5fa;
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #13151a;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar nav a {
  margin-left: 1.5rem;
  color: #ffffff;
  font-weight: 500;
}

.navbar nav a.active {
  border-bottom: 2px solid #2563eb;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(to bottom right, #0f1115, #1e293b);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #2563eb;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #1d4ed8;
}

.cta-button-outline {
  border: 1px solid #2563eb;
  background: transparent;
  color: #2563eb;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  cursor: pointer;
}

.services, .insights, .transactions, .numbers, .contact-cta {
  padding: 4rem 2rem;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #1f2937;
  padding: 2rem;
  border-radius: 8px;
  width: 300px;
  text-align: left;
}

.numbers .stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.numbers .stats div {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 8px;
  width: 200px;
}

.about {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
}

.about h2 {
  font-size: 2rem;
  margin-top: 3rem;
}

.about .mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.about .mission-vision .block {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 8px;
  flex: 1 1 300px;
}

.timeline {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.timeline li {
  margin-bottom: 1rem;
  border-left: 2px solid #2563eb;
  padding-left: 1rem;
  color: #e2e8f0;
}

/* Footer */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: #111827;
  border-top: 1px solid #334155;
}

footer p {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #0f1115;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Theme Toggle Switch */
.switch {
  margin-left: 2rem;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2563eb;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Light mode overrides */
body.light-mode .navbar,
body.light-mode footer {
  background-color: #f1f5f9;
}

body.light-mode .card,
body.light-mode .stats div,
body.light-mode .about .mission-vision .block {
  background-color: #e5e7eb;
  color: #111827;
}

body.light-mode .timeline li {
  color: #1e293b;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .card, .stats div {
    width: 90%;
  }
}