:root {
  --rp-primary: #1b5e3b;
  --rp-primary-dark: #134a2e;
  --rp-primary-light: #2d8a5a;
  --rp-accent: #e8a317;
  --rp-accent-dark: #c98a0f;
  --rp-cream: #faf8f3;
  --rp-earth: #5c4a32;
  --rp-text: #2c2c2c;
  --rp-muted: #6b7280;
  --rp-shadow: 0 4px 24px rgba(27, 94, 59, 0.08);
  --rp-shadow-lg: 0 12px 40px rgba(27, 94, 59, 0.14);
  --rp-radius: 0.75rem;
  --rp-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--rp-text);
  background-color: #fff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-primary-rp {
  color: var(--rp-primary) !important;
}

.bg-primary-rp {
  background-color: var(--rp-primary) !important;
}

.bg-cream {
  background-color: var(--rp-cream);
}

.btn-primary-rp {
  --bs-btn-bg: var(--rp-primary);
  --bs-btn-border-color: var(--rp-primary);
  --bs-btn-hover-bg: var(--rp-primary-dark);
  --bs-btn-hover-border-color: var(--rp-primary-dark);
  --bs-btn-active-bg: var(--rp-primary-dark);
  --bs-btn-active-border-color: var(--rp-primary-dark);
  --bs-btn-focus-shadow-rgb: 27, 94, 59;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  transition: transform var(--rp-transition), box-shadow var(--rp-transition);
}

.btn-primary-rp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 59, 0.3);
}

.btn-accent {
  --bs-btn-bg: var(--rp-accent);
  --bs-btn-border-color: var(--rp-accent);
  --bs-btn-color: #1a1a1a;
  --bs-btn-hover-bg: var(--rp-accent-dark);
  --bs-btn-hover-border-color: var(--rp-accent-dark);
  --bs-btn-hover-color: #1a1a1a;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
}

/* Navbar */
.navbar-rp {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--rp-transition), padding var(--rp-transition);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-rp.scrolled {
  box-shadow: var(--rp-shadow);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--rp-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--rp-transition), box-shadow var(--rp-transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a2e24;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--rp-transition);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .whatsapp-float-tooltip {
    display: none;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--rp-text) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.375rem;
  transition: color var(--rp-transition), background var(--rp-transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--rp-primary) !important;
  background: rgba(27, 94, 59, 0.08);
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--rp-primary-dark) 0%, var(--rp-primary) 50%, var(--rp-primary-light) 100%);
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 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 .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.875rem;
  opacity: 0.85;
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--rp-primary-dark), var(--rp-primary));
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.page-header .hindi-sub {
  opacity: 0.8;
  font-size: 1rem;
  font-weight: 400;
}

.page-header .breadcrumb-rp {
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.breadcrumb-rp {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* About page */
.about-stat-strip {
  background: var(--rp-cream);
  border-radius: var(--rp-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.about-stat-item {
  text-align: center;
  padding: 0.5rem;
}

.about-stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--rp-primary);
  line-height: 1.2;
}

.about-stat-item span {
  font-size: 0.85rem;
  color: var(--rp-muted);
}

.about-sidebar {
  position: sticky;
  top: 6rem;
}

.about-info-card {
  border: none;
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  transition: box-shadow var(--rp-transition);
}

.about-info-card:hover {
  box-shadow: var(--rp-shadow-lg);
}

.about-info-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
}

.why-choose-grid .card-icon {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.about-info-card h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.why-choose-grid .feature-card {
  height: auto;
}

.heritage-highlight {
  border-left: 4px solid var(--rp-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--rp-muted);
}

@media (max-width: 991.98px) {
  .about-sidebar {
    position: static;
  }

  .about-stat-strip .row > div:not(:last-child) {
    border-bottom: 1px solid rgba(27, 94, 59, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) {
  .about-stat-strip .row > div + div {
    border-left: 1px solid rgba(27, 94, 59, 0.12);
  }
}

.breadcrumb-rp .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-rp .breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-rp .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

/* Cards */
.feature-card {
  border: none;
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  transition: transform var(--rp-transition), box-shadow var(--rp-transition);
  height: 100%;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rp-shadow-lg);
}

.feature-card .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(27, 94, 59, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--rp-primary);
  margin-bottom: 1rem;
}

.product-card {
  border: 1px solid rgba(27, 94, 59, 0.12);
  border-radius: var(--rp-radius);
  transition: border-color var(--rp-transition), box-shadow var(--rp-transition);
}

.product-card:hover {
  border-color: var(--rp-primary);
  box-shadow: var(--rp-shadow-lg);
}

.product-card .badge-gst {
  background: rgba(27, 94, 59, 0.1);
  color: var(--rp-primary);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 2rem;
}

/* Content blocks */
.content-section {
  padding: 4rem 0;
}

.content-block {
  background: #fff;
  border-radius: var(--rp-radius);
  padding: 2rem;
  box-shadow: var(--rp-shadow);
  margin-bottom: 1.5rem;
}

.content-block h3 {
  color: var(--rp-primary);
  margin-bottom: 1rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  counter-reset: policy;
}

.policy-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}

.policy-list li::before {
  counter-increment: policy;
  content: counter(policy);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--rp-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--rp-primary);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--rp-earth), #3d3225);
  color: #fff;
  padding: 3.5rem 0;
  border-radius: var(--rp-radius);
}

/* Contact */
.contact-card {
  border: none;
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  transition: box-shadow var(--rp-transition);
}

.contact-card:hover {
  box-shadow: var(--rp-shadow-lg);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(27, 94, 59, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rp-primary);
  font-size: 1.25rem;
}

/* Footer */
.footer-rp {
  background: #1a2e24;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-rp h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-rp a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--rp-transition);
}

.footer-rp a:hover {
  color: var(--rp-accent);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.875rem;
}

/* Utilities */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rp-primary);
  margin-bottom: 0.5rem;
}

.hindi-label {
  font-size: 0.9rem;
  color: var(--rp-muted);
  font-weight: 400;
}

.divider-accent {
  width: 48px;
  height: 4px;
  background: var(--rp-accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.table-rp {
  border-radius: var(--rp-radius);
  overflow: hidden;
  box-shadow: var(--rp-shadow);
}

.table-rp thead {
  background: var(--rp-primary);
  color: #fff;
}

.table-rp th {
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table-rp td {
  padding: 1rem;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 3.5rem 0 4rem;
  }

  .content-section {
    padding: 3rem 0;
  }
}
