:root {
  --bg: #fcfbf8;
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --text: #1c1b18;
  --text-muted: #5f5c56;
  --primary: #f59e0b;
  --primary-600: #d97706;
  --primary-foreground: #1c1b18;
  --accent: #16a34a;
  --accent-600: #15803d;
  --accent-foreground: #ffffff;
  --blue: #0f4c81;
  --blue-600: #0b3a63;
  --border: #e7e5df;
  --shadow: 0 10px 30px rgba(28, 27, 24, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 27, 24, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.narrow {
  width: min(720px, 92%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, var(--primary), #fbbf24); */
    background: linear-gradient(135deg, #f8f7f5);

  color: var(--primary-foreground);
  font-size: 1.1rem;
  /* box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); */
}

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

/* logo end*/

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-nav {
  display: flex;
}

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

.nav-list a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--text);
  background: var(--surface-2);
}

.nav-list .nav-cta {
  background: var(--accent);
  color: var(--accent-foreground);
  margin-left: 0.5rem;
}

.nav-list .nav-cta:hover,
.nav-list .nav-cta:focus {
  background: var(--accent-600);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.12), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(22, 163, 74, 0.08), transparent 40%),
              var(--bg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.badge-dark {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.btn-primary:hover {
  background: var(--accent-600);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.sun-card {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
}

.sun-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fde68a, var(--primary) 60%, var(--primary-600));
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.45), inset 0 -10px 30px rgba(217, 119, 6, 0.4);
  animation: pulse 4s ease-in-out infinite;
}

.sun-rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.35);
  animation: spin 20s linear infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 20px;
  background: var(--surface);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-width: 170px;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.card-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.grid-two h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.grid-two > div > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* About cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

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

/* Scheme */
.scheme {
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff;
}

.scheme-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.scheme-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 1rem 0 1rem;
}

.scheme-text p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.scheme-pricing {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

.scheme-pricing h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.price-row:last-of-type {
  border-bottom: none;
}

.price-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 1rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.placeholder-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface-2), #fff);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  letter-spacing: 0.15em;
}

.gallery-item figcaption {
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Achievements */
.achievements {
  background: var(--surface-2);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.achievement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.achievement-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.achievement-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

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

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.35;
}

.testimonial p {
  color: var(--text);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.testimonial footer {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* EMI */
.emi-calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.emi-calculator h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.emi-calculator label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.emi-calculator input,
.emi-calculator select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.emi-calculator input:focus,
.emi-calculator select:focus,
.query-form input:focus,
.query-form select:focus,
.query-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.range-value {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}

.emi-result {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.emi-result span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.emi-result strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.emi-result small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.emi-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Query form */
.query {
  background: var(--surface-2);
}

.query-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.field textarea {
  resize: vertical;
}

.form-status {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: #dc2626;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

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

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-card a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.sticky-cta:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content,
  .scheme-card,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .about-cards,
  .achievement-grid,
  .testimonials,
  .gallery,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 520px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-list a {
    padding: 0.85rem 1rem;
  }

  .nav-list .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .floating-card {
    right: -10px;
    bottom: 0;
  }

  .about-cards,
  .achievement-grid,
  .testimonials,
  .gallery,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .scheme-pricing {
    margin-top: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
