/* ============================================================
   Sri Kanchi — Green Solar CSS
   Clean Green Solar Theme | White & Forest Green
   Bootstrap 5.3 Compatible | Zero PHP Changes Required
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cinzel:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=Noto+Serif+Tamil:wght@400;600;700&display=swap');

/* ============================================================
   DESIGN SYSTEM — TOKENS
   ============================================================ */
:root {
  /* Brand colours */
  --primary:        #2d7a3a;
  --primary-dark:   #1e5828;
  --primary-light:  #4a9e59;
  --gold:           #3a9e4a;
  --gold-light:     #5ec270;
  --gold-pale:      #b8e6c0;

  /* Surface palette — clean white/green progression */
  --bg-base:        #f8fdf9;
  --bg-warm:        #eef7f0;
  --bg-parchment:   #ddf0e2;
  --bg-card:        #ffffff;
  --bg-deep:        #0d2e14;   /* footer / very dark surfaces */

  /* Text */
  --text-heading:   #0d2e14;
  --text-body:      #1a3d22;
  --text-muted:     #4a7255;
  --text-light:     #8ab898;

  /* Semantic aliases (keep old names working) */
  --dark:           #0d2e14;
  --dark2:          #163a1e;
  --accent:         #2a6835;
  --light-bg:       #eef7f0;
  --cream:          #f8fdf9;
  --cream2:         #eef7f0;
  --parchment:      #ddf0e2;
  --secondary:      #3a9e4a;
  --secondary-light:#5ec270;
  --white:          #ffffff;
  --text-dark:      #0d2e14;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2d7a3a 0%, #3a9e4a 100%);
  --gradient-gold:    linear-gradient(135deg, #3a9e4a 0%, #5ec270 100%);
  --gradient-warm:    linear-gradient(160deg, #f8fdf9 0%, #eef7f0 60%, #ddf0e2 100%);
  --gradient-dark:    linear-gradient(135deg, #1a4d22 0%, #2a6835 100%);
  --gradient-card:    linear-gradient(160deg, #ffffff 0%, #eef7f0 100%);

  /* Shadows — green-tinted, layered */
  --shadow-xs:  0 2px 8px rgba(45, 122, 58, 0.08);
  --shadow-sm:  0 4px 16px rgba(45, 122, 58, 0.12), 0 1px 4px rgba(45, 122, 58, 0.06);
  --shadow-md:  0 8px 32px rgba(45, 122, 58, 0.15), 0 2px 8px rgba(45, 122, 58, 0.08);
  --shadow-lg:  0 20px 60px rgba(30, 88, 40, 0.14), 0 6px 20px rgba(45, 122, 58, 0.10);
  --shadow-xl:  0 30px 80px rgba(20, 70, 30, 0.18), 0 8px 30px rgba(45, 122, 58, 0.12);
  --shadow-gold:0 8px 30px rgba(58, 158, 74, 0.25);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -1px 0 rgba(45,122,58,0.06);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.4s var(--ease-out);
  --transition-fast: all 0.2s var(--ease-in-out);

  /* Spacing & Geometry */
  --border-radius:   14px;
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-pill:     100px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* Subtle grain texture over the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  position: relative;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.section-title span {
  color: var(--primary);
  font-style: italic;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-primary);
  margin: 1rem auto 2rem;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.section-divider.left { margin-left: 0; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-out);
}

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.05em;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo span { color: var(--primary); font-style: italic; }

.preloader-inner::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 12px auto 0;
  animation: widthPulse 1.5s ease-in-out infinite;
}

@keyframes widthPulse {
  0%, 100% { width: 20px; opacity: 0.4; }
  50%       { width: 48px; opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-main {
  background: rgba(248, 253, 249, 0.92) !important;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(45, 122, 58, 0.1);
}

.navbar-main.scrolled {
  padding: 0.6rem 0;
  background: rgba(248, 253, 249, 0.98) !important;
  box-shadow: 0 4px 24px rgba(20, 80, 30, 0.10), 0 1px 0 rgba(45,122,58,0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  position: relative;
  transition: var(--transition);
}

.brand-logo-wrap:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.brand-text-main {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-heading) !important;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-text-sub {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  font-family: 'DM Sans', sans-serif;
}

.navbar-main .nav-link {
  color: var(--text-body) !important;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 1.5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
  border-radius: 1px;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary) !important; }

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.45rem 1.3rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  border: none;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.nav-cta::after { display: none !important; }

.navbar-toggler {
  border: 1px solid rgba(45, 122, 58, 0.25) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 122, 58, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 60%, rgba(45, 122, 58, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(58, 158, 74, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 70% 85%, rgba(45, 122, 58, 0.05) 0%, transparent 50%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45,122,58,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 70% at 75% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 50%, black 30%, transparent 80%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-base);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 158, 74, 0.1);
  color: var(--gold);
  border: 1px solid rgba(58, 158, 74, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.8s var(--ease-out) both;
  font-family: 'DM Sans', sans-serif;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.05;
  animation: fadeInLeft 0.9s var(--ease-out) 0.15s both;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  animation: fadeInLeft 1s var(--ease-out) 0.3s both;
  max-width: 520px;
}

.hero-actions { animation: fadeInLeft 1s var(--ease-out) 0.45s both; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInLeft 1s var(--ease-out) 0.6s both;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 122, 58, 0.1);
}

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
  display: block;
}

.hero-visual { animation: fadeInRight 1s var(--ease-out) 0.2s both; }

.hero-card-float {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}

.hero-card-float::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.service-tile {
  background: rgba(238, 247, 240, 0.7);
  border: 1px solid rgba(45, 122, 58, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 122, 58, 0.25);
}

.service-tile:hover::before { opacity: 0.04; }

.service-tile .icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-tile:hover .icon { transform: scale(1.08) rotate(-3deg); }

.service-tile h6 {
  font-size: 0.87rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

.service-tile p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s var(--ease-out);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-primary-custom:hover::before { transform: translateX(200%) skewX(-15deg); }

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(45, 122, 58, 0.4);
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline-custom:hover {
  background: rgba(45, 122, 58, 0.06);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xs);
}

.btn-gold {
  background: var(--gradient-gold);
  color: white;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  font-family: 'DM Sans', sans-serif;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(58, 158, 74, 0.4);
  color: white;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(160deg, #f0fbf2 0%, #dff2e4 50%, #c8e8cf 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45,122,58,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 20%, transparent 70%);
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-base);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-banner h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-heading);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.page-banner h1 span { color: var(--primary); font-style: italic; }

.breadcrumb-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
}

.breadcrumb-custom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom .sep { color: var(--gold); font-size: 1rem; }
.breadcrumb-custom .current { color: var(--primary); font-weight: 600; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 65px 0; }
.bg-light-custom { background: var(--bg-warm); }
.bg-dark-custom { background: var(--bg-warm); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(45, 122, 58, 0.07);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 122, 58, 0.15);
}

.service-card:hover::before { transform: scaleY(1); }

.service-card-img {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.service-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--bg-warm);
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card-img-placeholder { transform: scale(1.05); }

.service-card-body { padding: 1.75rem 1.75rem 1.75rem 2rem; }

.service-card-tag {
  display: inline-block;
  background: rgba(45, 122, 58, 0.08);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-family: 'DM Sans', sans-serif;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
  line-height: 1.25;
}

.service-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-card-link {
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.service-card-link:hover { color: var(--primary-dark); gap: 12px; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: linear-gradient(160deg, #dff2e4 0%, #cde8d4 50%, #b8dcc0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,58,0.08) 0%, transparent 70%);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,158,74,0.1) 0%, transparent 70%);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

.stat-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(45,122,58,0.2), transparent);
  height: 70px;
  margin: auto;
}

/* ============================================================
   FEATURE ITEMS
   ============================================================ */
.feature-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(45, 122, 58, 0.07);
  border: 1px solid rgba(45, 122, 58, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-sm);
  border-color: transparent;
  transform: scale(1.05);
}

.feature-text h5 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-heading);
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.07);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--bg-warm);
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-img { transform: scale(1.04); }

.product-body { padding: 1.5rem; }

.product-badge {
  background: var(--gradient-primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  font-family: 'DM Sans', sans-serif;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
}

.product-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-img-placeholder {
  width: 100%;
  min-height: 460px;
  background: linear-gradient(135deg, #cde8d4, #a8d6b4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(45, 122, 58, 0.12);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(45, 122, 58, 0.12);
  border-radius: calc(var(--radius-xl) + 8px);
  pointer-events: none;
}

.about-badge-float {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--gradient-primary);
  color: white;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-float .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-badge-float .lbl {
  font-size: 0.68rem;
  opacity: 0.9;
  letter-spacing: 1.5px;
  font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(45, 122, 58, 0.07);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(45, 122, 58, 0.06);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 122, 58, 0.14);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 0.8;
  opacity: 0.2;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
  font-family: 'DM Sans', sans-serif;
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
  background: var(--gradient-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background: rgba(58, 158, 74, 0.25);
  border-color: rgba(58, 158, 74, 0.4);
}

.contact-info-text h6 {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-info-text p {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}

.contact-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(45, 122, 58, 0.06);
}

.form-control-custom {
  border: 1.5px solid rgba(45, 122, 58, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: var(--bg-warm);
  color: var(--text-body);
  font-family: 'DM Sans', sans-serif;
  width: 100%;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 122, 58, 0.08);
  background: white;
  outline: none;
}

.form-control-custom option {
  background: white;
  color: var(--text-body);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: linear-gradient(180deg, #0d2e14 0%, #071a0b 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-main::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-brand { margin-bottom: 1.5rem; }

.footer-brand .brand-text-main {
  font-size: 1.5rem;
  color: white !important;
  font-family: 'Cormorant Garamond', serif;
}

.footer-tagline {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}

.footer-links a::before {
  content: '—';
  color: var(--primary-light);
  font-size: 0.7rem;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
  padding-left: 4px;
}

.footer-links a:hover::before { opacity: 1; color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ============================================================
   SUBSIDY BANNER
   ============================================================ */
.subsidy-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.subsidy-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.subsidy-banner h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.subsidy-banner p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

.subsidy-banner .btn-outline-custom {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.subsidy-banner .btn-outline-custom:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

/* ============================================================
   STEP CARDS (Installation Process)
   ============================================================ */
.step-card {
  text-align: center;
  padding: 2.2rem 1.5rem 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.07);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 122, 58, 0.15);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: 'Cinzel', serif;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--bg-base);
}

.step-icon { font-size: 2.8rem; margin: 0.5rem 0 1rem; }

.step-card h5 {
  font-size: 0.97rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   TAMIL RIBBON
   ============================================================ */
.tamil-ribbon {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  font-family: 'Noto Serif Tamil', serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.tamil-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   MATRIMONY CARD
   ============================================================ */
.matrimony-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.08);
}

.matrimony-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.matrimony-banner {
  background: var(--gradient-primary);
  padding: 2rem;
  text-align: center;
  color: white;
}

.matrimony-banner .badge-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; }

/* ============================================================
   WHATSAPP + SCROLL TO TOP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: floatBounce 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  color: white;
  animation: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

#scrollTop {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

#scrollTop.visible { opacity: 1; pointer-events: all; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-up.visible { opacity: 1; transform: translateY(0); }

.row > *:nth-child(1) .animate-up, .row > .animate-up:nth-child(1) { transition-delay: 0s; }
.row > *:nth-child(2) .animate-up, .row > .animate-up:nth-child(2) { transition-delay: 0.1s; }
.row > *:nth-child(3) .animate-up, .row > .animate-up:nth-child(3) { transition-delay: 0.2s; }
.row > *:nth-child(4) .animate-up, .row > .animate-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   CTA SECTIONS (gradient-dark background)
   ============================================================ */
section[style*="background:var(--gradient-dark)"] {
  position: relative;
  overflow: hidden;
}

section[style*="background:var(--gradient-dark)"]::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

section[style*="background:var(--gradient-dark)"] h2,
section[style*="background:var(--gradient-dark)"] .section-title {
  color: #ffffff !important;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* ============================================================
   PRODUCT FILTER BUTTONS
   ============================================================ */
.filter-btn {
  background: transparent;
  color: var(--text-body);
  border: 1.5px solid rgba(45, 122, 58, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.3rem;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   CONTACT CHIPS
   ============================================================ */
.contact-chip {
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  color: var(--text-body);
  border: 1px solid rgba(45, 122, 58, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.contact-chip:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--text-body);
  border-color: rgba(45, 122, 58, 0.15);
}

/* ============================================================
   VALUE / MISSION CARDS (about.php)
   ============================================================ */
.value-card {
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.07);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   TEAM CARDS (about.php)
   ============================================================ */
.team-card {
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.07);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   WARRANTY CARDS (installations.php)
   ============================================================ */
.warranty-card {
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(45, 122, 58, 0.07);
}

.warranty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   COUNTER
   ============================================================ */
.counter-num { display: block; transition: color 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-title { font-size: 2.8rem; }
  .hero-visual { margin-top: 3.5rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-section::after { display: none; }

  .navbar-collapse {
    background: rgba(248, 253, 249, 0.98);
    padding: 1rem 1.2rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid rgba(45, 122, 58, 0.1);
    border-top: none;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 65px 0; }
  .hero-title { font-size: 2.3rem; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.8rem; }
  .page-banner { padding: 130px 0 70px; }
  .page-banner h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.9rem; }
  .stat-number { font-size: 2.8rem; }
  .stat-divider { display: none; }
  .subsidy-banner { text-align: center; justify-content: center; padding: 2rem; }
  .contact-form-wrap, .contact-info-card { padding: 2rem; }
}

@media (max-width: 576px) {
  .hero-actions .btn-primary-custom,
  .hero-actions .btn-outline-custom { width: 100%; justify-content: center; }
  .hero-stats { justify-content: space-around; }
  .section-title { font-size: 1.7rem; }
}