/* --- Google Fonts & Global Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #059669;         /* Emerald Green for growth */
  --primary-hover: #047857;
  --secondary: #0f172a;       /* Deep Slate Blue */
  --accent: #3b82f6;          /* Blue */
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.btn-nav:hover {
  background: var(--primary-hover);
}

/* --- Hero Section --- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: #ecfdf5;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --- Hero Card --- */
.hero-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
}

.balance-card {
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #ffffff;
}

.balance-card h2 {
  font-size: 2.2rem;
  margin: 8px 0;
}

.trend.positive {
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 600;
}

.quick-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* --- Section Titles --- */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--secondary);
}

.section-title p {
  color: var(--text-muted);
}

/* --- Features & Services Grid --- */
.features-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.feature-box, .service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.feature-box:hover, .service-card:hover {
  transform: translateY(-5px);
}

.feature-icon, .service-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* --- Page Banner --- */
.page-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.page-banner h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-banner p {
  color: #94a3b8;
  font-size: 1.1rem;
}

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.highlights {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.highlight-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

.about-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.principle {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.principle .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* --- Investment Calculator --- */
.calculator-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-results {
  background: #f8fafc;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.res-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.res-item.total {
  border-top: 2px dashed var(--border);
  padding-top: 15px;
  font-size: 1.3rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3.5rem;
}

.bg-gradient-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.bg-gradient-2 { background: linear-gradient(135deg, #10b981, #047857); }
.bg-gradient-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-gradient-4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.gallery-info {
  padding: 20px;
}

.gallery-info h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.gallery-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Forms & Contact --- */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.info-box, .sheet-status-card {
  margin-top: 25px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.sheet-status-card {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.sheet-status-card h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

.form-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: #f8fafc;
  outline: none;
  transition: border 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.response-message {
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  display: none;
  font-weight: 600;
  text-align: center;
}

.response-message.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.response-message.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- Footer --- */
footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 30px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #94a3b8;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #ffffff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero, .about-grid, .calc-grid, .form-wrapper {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 15px 20px;
  }
  .nav-links {
    gap: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}