/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9fafb;
  color: #1e293b; /* dark slate for readability */
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: #10b981; /* emerald green */
  color: #fff;
}

.btn-primary:hover {
  background: #059669;
}

.btn-secondary {
  background: #f3f4f6;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* ========== Navbar ========== */
.navbar {
  background: #0f172a; /* deep navy */
  border-bottom: 2px solid #10b981;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #10b981;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  font-weight: 500;
  color: #f1f5f9;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #38bdf8; /* sky blue hover */
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #f1f5f9;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 60px;
    right: 10px;
    border-radius: 8px;
    padding: 12px;
  }
  .nav-links.active {
    display: flex;
  }
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 0 0 40px 40px;
}

.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  color: #10b981;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #f1f5f9;
}

.hero-cta a {
  margin: 0 10px;
}

/* ========== Tools Section ========== */
.tools {
  padding: 60px 20px;
  text-align: center;
}

.tools h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0f172a;
}

.tool-category {
  margin-bottom: 40px;
}

.tool-category h3 {
  margin-bottom: 20px;
  color: #10b981;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tool-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
  color: #0f172a;
}

/* ========== Loan Section ========== */
.loans {
  padding: 60px 20px;
  background: #f1f5f9;
}

.loans h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0f172a;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.loan-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.loan-card:hover {
  transform: translateY(-4px);
  border-color: #10b981;
}

.loan-card h3 {
  margin-bottom: 12px;
  color: #10b981;
}

.loan-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loan-card input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.loan-card button {
  margin-top: 10px;
}

/* ========== Blogs Section ========== */
.blogs {
  padding: 60px 20px;
}

.blogs h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0f172a;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
  border-color: #38bdf8;
  color: #0f172a;
}

.blog-card h3 {
  margin-bottom: 10px;
  color: #10b981;
}

/* ========== Footer ========== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer nav a {
  color: #94a3b8;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer nav a:hover {
  color: #10b981;
}

.disclaimer {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ========== Adsense Slot ========== */
.adsense-slot {
  min-height: 90px;
  background: #f9fafb;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 728px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
}
