/* ==========================================================================
   PODDAR GROUPS - LUXURY LIGHT-MODE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Color Palette - Light Mode Luxury */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-warm: #FFFBEB;
  --bg-navy-tint: #F0F4FF;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;

  --accent-gold: #D97706;
  --accent-gold-dark: #B45309;
  --accent-gold-light: #FEF3C7;
  --accent-gold-glow: rgba(217, 119, 6, 0.25);

  --accent-navy: #1E3A8A;
  --accent-navy-dark: #0F172A;
  --accent-navy-light: #DBEAFE;
  
  --accent-emerald: #059669;
  --accent-emerald-light: #D1FAE5;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-gold: rgba(217, 119, 6, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);

  /* Fonts */
  --font-heading: 'Outfit', 'Cinzel', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--accent-gold);
}

.text-navy {
  color: var(--accent-navy);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid var(--border-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #D97706, #B45309);
  color: var(--text-white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.btn-navy {
  background: var(--accent-navy);
  color: var(--text-white);
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.25);
}

.btn-navy:hover {
  background: var(--accent-navy-dark);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--accent-navy);
  color: var(--accent-navy);
}

.btn-outline-navy:hover {
  background: var(--accent-navy);
  color: var(--text-white);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold-dark);
}

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

.btn-light {
  background: var(--bg-surface);
  color: var(--accent-navy);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

/* Sticky Header */
.top-bar {
  background: var(--accent-navy-dark);
  color: #94A3B8;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-info .item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  transition: var(--transition);
}

.top-bar-social span {
  display: none;
}

.top-bar-social:hover {
  color: #FFFFFF;
  background: var(--accent-gold);
  transform: translateY(-1px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-navy), #1e293b);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-navy-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold-dark);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-navy);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background: var(--bg-subtle);
  outline: none;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  z-index: 2050;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: var(--transition);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-navy-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Media & Image Card */
.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 280px;
}

.floating-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.floating-badge-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
}

.floating-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quick Search Widget & Bank Banner Widget */
.search-widget {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

/* Bank Loan Banner Section */
.bank-banner-section {
  position: relative;
  margin-top: -3.5rem;
  margin-bottom: 1.5rem;
  z-index: 20;
}

.bank-banner-card {
  background: linear-gradient(135deg, var(--accent-navy-dark) 0%, var(--accent-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.bank-banner-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.bank-banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.35;
  margin-bottom: 1.75rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .bank-banner-title {
    font-size: 2.15rem;
  }
}

.bank-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.bank-badge-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 150px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.bank-badge-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.bank-badge-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

.sbi-logo { color: #003366; }
.lic-logo { color: #003366; }
.allahabad-logo { color: #0A2540; }
.hdfc-logo { color: #004B87; }
.axis-logo { color: #97144D; }
.pnb-logo { color: #A31D24; }

.search-widget-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--accent-gold-light);
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-bg-white {
  background-color: var(--bg-surface);
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-box {
  background: var(--bg-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-light);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-navy-light);
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-box p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Founder Cards */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.leader-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.leader-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-navy), var(--accent-gold-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-sm);
}

.leader-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
}

.leader-card .role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.leader-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Projects Section & Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-navy);
  color: var(--text-white);
  border-color: var(--accent-navy);
  box-shadow: var(--shadow-sm);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold-light);
}

.project-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.08);
}

.project-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ready {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

.badge-ongoing {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
}

.badge-upcoming {
  background: var(--accent-navy-light);
  color: var(--accent-navy);
}

.project-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
  margin-bottom: 0.75rem;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
}

.project-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 1.25rem;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.project-actions .btn {
  flex: 1;
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* EMI Calculator Module */
.calculator-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .calculator-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.range-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-header label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.range-val {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-gold-dark);
  background: var(--accent-gold-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
  outline: none;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(135deg, var(--accent-navy-dark), var(--accent-navy));
  color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.result-main h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.result-emi-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
}

.breakdown-row span:last-child {
  font-weight: 700;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.amenity-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.amenity-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.amenity-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
  margin-bottom: 0.375rem;
}

.amenity-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-details h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
}

.author-details p {
  font-size: 0.75rem;
  color: var(--accent-gold-dark);
}

/* Contact & CTA Section */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-navy-dark), var(--accent-navy));
  color: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Contact Form Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-navy-dark);
  margin-bottom: 0.25rem;
}

.contact-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 576px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-main);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
}

/* Map Mockup */
.map-container {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #e5e3df;
  position: relative;
}

/* Footer */
.footer {
  background: var(--accent-navy-dark);
  color: #94A3B8;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--accent-navy-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-inner {
    height: 72px;
  }
  .calculator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Top Bar Mobile Optimization */
  .top-bar {
    padding: 0.25rem 0;
    font-size: 0.725rem;
  }
  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .top-bar-info {
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Header */
  .header-inner {
    height: 64px;
  }
  .brand-logo-img {
    height: 38px;
  }
  .logo-title {
    font-size: 1.15rem;
  }
  .logo-subtitle {
    font-size: 0.6rem;
  }
  .header .btn-gold {
    display: none; /* Hide header CTA button on mobile so header is spacious & clean */
  }

  /* Typography & Sections */
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Hero Section */
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
  .stat-item h3 {
    font-size: 1.65rem;
  }
  .stat-item p {
    font-size: 0.75rem;
  }

  /* Hero Image & Badge */
  .hero-image-card img {
    height: 280px;
  }
  .floating-badge {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 100%;
    margin: -2.5rem 1rem 0;
    box-shadow: var(--shadow-lg);
    z-index: 10;
  }

  /* Bank Banner */
  .bank-banner-section {
    margin-top: -2rem;
  }
  .bank-banner-card {
    padding: 1.75rem 1.25rem;
  }
  .bank-banner-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 1.25rem;
  }
  .bank-badges-grid {
    gap: 0.75rem;
  }
  .bank-badge-card {
    min-width: 125px;
    height: 48px;
    padding: 0.5rem 0.875rem;
  }
  .bank-badge-logo {
    font-size: 0.8125rem;
  }

  /* Projects & Filters */
  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin: 1.25rem 0 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    padding: 0.5rem 1.15rem;
    font-size: 0.8125rem;
    flex-shrink: 0;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Calculator & Cards */
  .calculator-card {
    padding: 1.25rem;
    gap: 1.5rem;
    border-radius: var(--radius-md);
  }
  .calc-result-box {
    padding: 1.25rem;
  }
  .result-emi-amount {
    font-size: 1.85rem;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 1.25rem;
  }
  .cta-banner {
    padding: 2.25rem 1.25rem;
  }
  .cta-banner h2 {
    font-size: 1.65rem;
  }

  /* Modal & Footer */
  .modal-container {
    padding: 1.25rem;
    max-width: 95%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .top-bar-info .item:nth-child(2) {
    display: none;
  }
  .container {
    padding: 0 1rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-control, select, textarea, input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  .toast {
    font-size: 0.875rem;
    padding: 0.875rem 1.15rem;
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  .amenity-card {
    padding: 1.15rem 0.75rem;
  }
}

@media (max-width: 400px) {
  .logo-title {
    font-size: 1rem;
  }
  .logo-subtitle {
    display: none; /* Hide subtitle on ultra-narrow screens */
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .bank-badge-card {
    min-width: 100%;
  }
}
