/* ==========================================================================
   Indian Calculator Hub - Main Stylesheet
   Modern, Lightweight, Mobile-First, SEO & AdSense Optimized
   ========================================================================== */

:root {
  --primary: #0F766E;
  --primary-hover: #115E59;
  --primary-light: #CCFBF1;
  --primary-dark: #134E4A;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  --border: #E2E8F0;
  --border-focus: #0D9488;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-w: 1200px;
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.site-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
}

.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  display: none;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Mobile navigation drawer */
.mobile-nav-menu {
  display: none;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav-menu.open {
  display: block;
}

.mobile-nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #0F766E 0%, #134E4A 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 3.75rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(20, 184, 166, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  color: #FEF3C7;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: #FBBF24;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Bar */
.search-wrapper {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.4rem 0.6rem 0.4rem 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.search-input-box svg {
  color: var(--text-light);
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.0625rem;
  color: var(--text-main);
  background: transparent;
}

.search-input::placeholder {
  color: #94A3B8;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  max-height: 320px;
  overflow-y: auto;
  z-index: 80;
  display: none;
  text-align: left;
}

.search-results-dropdown.visible {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  transition: background 0.15s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--bg-alt);
}

.search-result-item .item-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

/* Quick chips */
.hero-quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
}

.hero-quick-chips span {
  color: #CBD5E1;
  padding: 0.25rem 0;
}

.quick-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease;
}

.quick-chip:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

/* ==========================================================================
   Monetization / Ad Slots
   ========================================================================== */

.ad-wrapper {
  margin: 1.75rem 0;
  text-align: center;
  clear: both;
}

.ad-wrapper.top-banner {
  margin: 1.25rem auto 1.5rem;
  max-width: var(--max-w);
}

.ad-wrapper.in-content {
  margin: 2.25rem auto;
}

.ad-wrapper.sidebar-ad {
  margin: 1.5rem 0;
}

.ad-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.ad-slot {
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  width: 100%;
  color: #94A3B8;
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.ad-slot:hover {
  border-color: #94A3B8;
}

.ad-slot.leaderboard {
  min-height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

.ad-slot.rectangle {
  min-height: 250px;
  max-width: 300px;
  margin: 0 auto;
}

.ad-slot.responsive-banner {
  min-height: 100px;
}

/* ==========================================================================
   Calculators Grid Section
   ========================================================================== */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-description {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 0;
  font-size: 1.0625rem;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

/* Calculator Grid */
.calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.calc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.calc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.calc-card:hover::after {
  opacity: 1;
}

.calc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-alt);
}

.calc-card-icon.finance { background: #ECFDF5; color: #059669; }
.calc-card-icon.student { background: #EFF6FF; color: #2563EB; }
.calc-card-icon.daily { background: #FFFBEB; color: #D97706; }

.calc-category-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.badge-finance { background: #DCFCE7; color: #166534; }
.badge-student { background: #DBEAFE; color: #1E40AF; }
.badge-daily { background: #FEF3C7; color: #92400E; }

.calc-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.calc-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.calc-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  font-size: 0.75rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.calc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
  margin-top: auto;
}

.calc-card-link svg {
  transition: transform 0.2s ease;
}

.calc-card:hover .calc-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Trust / Features Section
   ========================================================================== */

.trust-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Calculator Page Layout (Main + Sidebar)
   ========================================================================== */

.calc-page-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0 1.75rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  list-style: none;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 600;
}

.calc-page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.calc-page-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 780px;
}

.calc-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
  align-items: start;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.calc-main-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 5.5rem;
}

.sidebar-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-alt);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.sidebar-links a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

/* ==========================================================================
   Article & Explanatory Guide Styling (SEO Optimized Content)
   ========================================================================== */

.content-article {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.content-article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.content-article h2:first-of-type {
  margin-top: 0;
}

.content-article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-article p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.content-article ul, .content-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-article li {
  margin-bottom: 0.4rem;
}

.formula-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.formula-box .formula-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.formula-box .formula-math {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  background: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
  overflow-x: auto;
  margin-bottom: 0.75rem;
}

.formula-box .formula-legend {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.example-box {
  background: #FEF9C3;
  border: 1px solid #FDE047;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.example-box h4 {
  color: #854D0E;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.example-box p {
  color: #713F12;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.example-box ul {
  color: #713F12;
  margin-bottom: 0;
}

.data-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #F8FAFC;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.faq-header {
  margin-bottom: 1.5rem;
}

.faq-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  background: #FFFFFF;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  background: #FFFFFF;
}

/* ==========================================================================
   Static Pages (About, Contact, Privacy, Terms)
   ========================================================================== */

.legal-content {
  max-width: 820px;
  margin: 2.5rem auto 4rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
}

.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 2.5rem auto 4rem;
}

.contact-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-main);
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0F172A;
  color: #94A3B8;
  margin-top: auto;
  border-top: 1px solid #1E293B;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 320px;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #38BDF8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .calc-page-layout {
    grid-template-columns: 1fr;
  }
  .calc-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-section {
    padding: 2.5rem 0 3rem;
  }
  .content-article, .faq-section {
    padding: 1.5rem;
  }
  .legal-content {
    padding: 1.75rem 1.25rem;
    margin: 1.5rem auto 3rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Netlify Badge & Drawer Overrides
   ========================================================================== */

/* Netlify Badge/Drawer ko hide karne ke liye */
[data-netlify-attribution],
.netlify-badge,
iframe[src*="netlify"] {
  display: none !important;
  visibility: hidden !important;
}

