/* LKM Financial Advisors - Custom Styles */
:root {
  --primary: #0d47a1;
  --primary-dark: #002171;
  --primary-light: #5472d3;
  --accent: #ff6f00;
  --accent-light: #ffab40;
  --dark: #1a237e;
  --gray-850: #1e293b;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #64748b;
  --white: #ffffff;
  --font-head: 'DM Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(13, 71, 161, 0.08);
  --shadow-lg: 0 10px 40px rgba(13, 71, 161, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: #334155;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--dark);
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary) !important;
}

.navbar-custom .nav-link {
  font-weight: 500;
  color: var(--gray-850) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary) !important;
  background: rgba(13, 71, 161, 0.06);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1565c0 100%);
  color: var(--white);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-section h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section .lead {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 540px;
}

.hero-section .btn-light {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  border: none;
  box-shadow: var(--shadow);
}

.hero-section .btn-light:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

/* Sections */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 71, 161, 0.2);
}

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* About / Content sections */
.content-section {
  padding: 4.5rem 0;
}

.content-section.bg-light-custom {
  background: var(--gray-100);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  border-radius: var(--radius-lg);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
}

.cta-section .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

/* Footer */
.footer-custom {
  background: var(--gray-850);
  color: var(--gray-200);
  padding: 3rem 0 1.5rem;
}

.footer-custom h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-custom a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-custom a:hover {
  color: var(--accent-light);
}

.footer-custom .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Contact form */
.form-control, .form-select {
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  padding: 0.65rem 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary-custom:hover {
  color: var(--white);
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Page headers */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.7);
}

/* Utilities */
.rounded-custom { border-radius: var(--radius); }
.rounded-custom-lg { border-radius: var(--radius-lg); }

/* Calculator cards */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.calculator-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(84, 114, 211, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.calculator-card-inner {
  position: relative;
  padding: 1.75rem 1.75rem 1.5rem;
  z-index: 1;
}

.calculator-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 71, 161, 0.2);
}

.calculator-card:hover::before {
  opacity: 1;
}

.calculator-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.calculator-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.btn-coming-soon {
  background: rgba(13, 71, 161, 0.08);
  border: 1px dashed rgba(13, 71, 161, 0.4);
  color: var(--primary-dark);
  font-weight: 500;
  border-radius: 10px;
}

.btn-coming-soon:hover {
  background: rgba(13, 71, 161, 0.12);
  color: var(--primary-dark);
}

.sip-calculator-card,
.sip-result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.sip-result-card h5 {
  font-size: 1.05rem;
}

.sip-pie-wrap {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
