/* Sunshine Solar Solutions - Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-navy: #0f172a;
  --primary-blue: #1e3a8a;
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --accent-sun: #eab308;
  --primary-green: #00502b;
  --primary-green-dark: #003d1f;
  --primary-green-banner: #004724;
  --accent-green-bg: #dcfce7;
  --table-border: #cbd5e1;
  --table-header-bg: #f8fafc;
  --table-row-even: #f1f5f9;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f4f7fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

/* Header & Top Bar */
.top-bar {
  background: var(--primary-navy);
  color: var(--white);
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.top-contacts {
  display: flex;
  gap: 28px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.contact-item i {
  color: var(--accent-gold);
}

.top-socials {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-socials a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.top-socials a:hover {
  color: var(--accent-gold);
}

/* Main Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

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

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.brand-line-1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #00502b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.brand-line-2 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1px;
}

.brand-line-3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 1px;
}

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

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary-navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown .dropdown-trigger i {
  font-size: 0.75rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--primary-navy);
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(0, 80, 43, 0.08);
  color: var(--primary-green);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--primary-green);
  transition: var(--transition);
}

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

.btn-green-cta {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 80, 43, 0.22);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-green-cta:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 80, 43, 0.32);
}

.btn-primary {
  background: linear-gradient(135deg, #3f51b5, #2b3990);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #303f9f, #1a237e);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(63, 81, 181, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* New Hero Section with Website-Top BG Background */
.hero-bg-section {
  position: relative;
  width: 100%;
  min-height: 470px;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.25) 42%,
      rgba(255, 255, 255, 0) 75%), url('assets/Website-Top BG.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 52px 0 96px;
  overflow: visible;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content-left {
  max-width: 630px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-green-bg);
  color: var(--primary-green);
  border: 1px solid rgba(22, 163, 74, 0.3);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 80, 43, 0.08);
}

.hero-title-main {
  font-family: 'Outfit', sans-serif;
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title-black {
  color: #09101d;
  display: block;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.hero-title-green {
  color: #00502b;
  display: block;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #09101d;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.8);
  -webkit-font-smoothing: antialiased;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-green-solid {
  background-color: var(--primary-green);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 22px rgba(0, 80, 43, 0.28);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-green-solid:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 80, 43, 0.38);
  color: #ffffff;
}

.btn-green-outline {
  background-color: #ffffff;
  color: var(--primary-green);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-green-outline:hover {
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 80, 43, 0.15);
  color: var(--primary-green);
}

/* Floating Bottom Stats Banner Bar */
.hero-stats-banner-bar {
  position: relative;
  z-index: 30;
  margin-top: -65px;
  margin-bottom: 0;
}

.hero-stats-banner {
  background-color: var(--primary-green-banner);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 14px 32px rgba(0, 45, 20, 0.25);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-banner-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 12px;
  position: relative;
}

.stat-banner-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.18);
}

.stat-icon-box {
  font-size: 2.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.stat-text-box {
  display: flex;
  flex-direction: column;
}

.stat-banner-item .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-banner-item .stat-label {
  font-size: 0.8rem;
  color: #d1fae5;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Our Solutions Section */
.solutions-section {
  padding: 64px 0 72px;
  background-color: #f8fafc;
  position: relative;
  z-index: 1;
}

.home-about-section {
  padding: 64px 0 72px;
  background: #ffffff;
}

.home-about-panel {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-about-section .section-header {
  margin-bottom: 0;
}

.home-about-section .solutions-title-line {
  margin-bottom: 24px;
}

.home-about-copy {
  max-width: 820px;
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.home-about-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.home-about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  padding: 11px 20px;
  text-decoration: none;
}

.home-about-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #047857;
  font-size: 0.95rem;
  font-weight: 700;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 999px;
}

.solutions-subtitle {
  color: #00502b;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.solutions-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 12px;
}

.solutions-title-line {
  width: 48px;
  height: 3px;
  background-color: #00502b;
  margin: 0 auto 48px;
  border-radius: 2px;
}

.solutions-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.solution-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: visible;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 80, 43, 0.12);
  border-color: rgba(0, 80, 43, 0.22);
}

.solution-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: visible;
  border-radius: 18px 18px 0 0;
}

.solution-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
  transition: transform 0.45s ease;
}

.solution-card:hover .solution-card-img {
  transform: none;
}

.solution-icon-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #00502b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 80, 43, 0.4);
  border: 2px solid #ffffff;
  z-index: 5;
}

.solution-card-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  text-align: left;
}

.solution-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 2.5em;
}

.solution-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.solution-know-more {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #00502b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  margin-top: auto;
}

.solution-know-more i {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.solution-know-more:hover {
  color: #003d1f;
}

.solution-know-more:hover i {
  transform: translateX(5px);
}

/* PM Surya Ghar Section */
.pm-surya-section {
  background-color: #f8fafc;
  padding: 0 0 52px;
}

.pm-surya-banner {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  align-items: center;
  background: linear-gradient(135deg, #e8f5ee 0%, #f0faf4 60%, #e0f2e9 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(0, 80, 43, 0.15);
  box-shadow: 0 8px 32px rgba(0, 80, 43, 0.08);
  overflow: hidden;
  min-height: 210px;
  position: relative;
}

.pm-surya-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 22px 28px;
  position: relative;
  min-height: 210px;
}

/* Short centered vertical divider — not full height */
.pm-surya-logo-col::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 80, 43, 0.25) 20%,
    rgba(0, 80, 43, 0.25) 80%,
    transparent 100%
  );
  border-radius: 2px;
}

.pm-surya-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
  display: block;
}

.pm-surya-content-col {
  padding: 36px 32px 36px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-surya-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00502b;
  background: rgba(0, 80, 43, 0.10);
  border: 1px solid rgba(0, 80, 43, 0.20);
  border-radius: 20px;
  padding: 4px 14px;
  width: fit-content;
}

.pm-surya-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}

.pm-surya-desc {
  font-size: 0.97rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 460px;
}

.pm-surya-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00502b;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 80, 43, 0.30);
  margin-top: 4px;
}

.pm-surya-btn:hover {
  background: #003d1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 80, 43, 0.40);
}

.pm-surya-btn i {
  transition: transform 0.25s ease;
}

.pm-surya-btn:hover i {
  transform: translateX(4px);
}

.pm-surya-img-col {
  height: 100%;
  overflow: visible;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  clip-path: none;
}

/* Wrapper so we can clip the image but still overlay the fade */
.pm-surya-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 
  3-zone fade (optimized):
  SOLID  zone  0–18%  → fully opaque  (hides hard left corner completely)
  BLEND  zone 18–55%  → wide smooth taper (gradual, natural dissolve)
  CLEAR  zone 55%+   → transparent   (family + house 100% visible)
*/
.pm-surya-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      #ecf7f0 0%,                     /* fully solid */
      #ecf7f0 18%,                    /* hold solid through left edge */
      rgba(236, 247, 240, 0.88) 27%,  /* begin wide smooth taper */
      rgba(236, 247, 240, 0.68) 35%,  /* gradual mid-fade */
      rgba(236, 247, 240, 0.42) 43%,  /* lighter */
      rgba(236, 247, 240, 0.18) 50%,  /* almost gone */
      rgba(236, 247, 240, 0.04) 55%,  /* barely visible */
      transparent 58%                  /* fully clear — right 42% untouched */
    );
  z-index: 1;
  pointer-events: none;
}


.pm-surya-family-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 25%;
  display: block;
  transform: scale(1.12);
  transform-origin: center 30%;
}



/* =============================================
   Featured Projects Section
   ============================================= */
.featured-projects-section {
  background: #ffffff;
  padding: 28px 0 24px;
  overflow: visible;
}

.featured-projects-section > .container {
  max-width: 1500px;
  padding-left: 12px;
  padding-right: 12px;
}

.featured-projects-section .section-header {
  margin-bottom: 22px !important;
}

.featured-projects-badge {
  display: inline-block;
  background: transparent;
  color: #137a4b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.featured-projects-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 0;
}

/* Slider */
.fp-slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.fp-track-wrapper {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.fp-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Nav buttons */
.fp-nav-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  z-index: 2;
}

.fp-nav-btn:hover {
  border-color: #00502b;
  color: #00502b;
  box-shadow: 0 4px 18px rgba(0, 80, 43, 0.18);
  transform: scale(1.08);
}

/* Cards */
.fp-card {
  flex: 0 0 calc(25% - 12px);
  min-width: calc(25% - 12px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transform-origin: center center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fp-card:hover {
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 80, 43, 0.18);
  position: relative;
  z-index: 3;
}

.fp-card.is-offscreen {
  visibility: hidden;
  pointer-events: none;
}

.fp-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.fp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tag badges on image */
.fp-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.fp-tag-rooftop  { background: #00502b; color: #fff; }
.fp-tag-ground   { background: #166534; color: #fff; }
.fp-tag-pump     { background: #0369a1; color: #fff; }

.fp-capacity-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255,255,255,0.92);
  color: #00502b;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(0,80,43,0.2);
}

/* Card body */
.fp-card-body {
  padding: 16px 18px 18px;
}

.fp-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.fp-card-location {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fp-card-location i {
  font-size: 0.75rem;
  color: #00502b;
}

.fp-card-cap {
  font-size: 1rem;
  font-weight: 800;
  color: #00502b;
  margin: 0;
}

/* View all button */
.fp-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00502b;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 80, 43, 0.28);
}

.fp-view-all-btn:hover {
  background: #003d1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 80, 43, 0.38);
}

.fp-view-all-btn i {
  transition: transform 0.25s ease;
}

.fp-view-all-btn:hover i {
  transform: translateX(4px);
}

/* =============================================
   Trusted By Section
   ============================================= */
.trusted-by-section {
  background: #f8fafc;
  padding: 34px 0 42px;
  border-top: 1px solid #e8edf2;
}

.trusted-logos-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.trusted-logos-strip {
  display: flex;
  width: max-content;
  animation: trusted-logos-runner 48s linear infinite;
  will-change: transform;
}

.trusted-logos-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}

.trusted-logos-viewport:hover .trusted-logos-strip,
.trusted-logos-viewport:focus-within .trusted-logos-strip {
  animation-play-state: paused;
}

@keyframes trusted-logos-runner {
  to {
    transform: translateX(-50%);
  }
}

.trusted-logo-item {
  flex: 0 0 210px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  padding: 8px 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.trusted-logo-item:hover {
  border-color: rgba(0, 80, 43, 0.2);
  box-shadow: 0 6px 20px rgba(0, 80, 43, 0.10);
}

.trusted-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.4);
}

.trusted-logo-item--compact img {
  transform: scale(0.85);
}

@media (prefers-reduced-motion: reduce) {
  .trusted-logos-strip {
    animation: none;
  }

  .trusted-logos-group[aria-hidden="true"] {
    display: none;
  }

  .trusted-logos-viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.solar-cta-strip {
  background: linear-gradient(135deg, #0d6d4a 0%, #0a5f40 100%);
  padding: 0 0 16px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.solar-cta-strip .container,
.site-cta-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.solar-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: transparent;
  border-radius: 0;
  padding: 26px 24px 20px;
  color: #fff;
}

.solar-cta-copy {
  flex: 0 1 700px;
  max-width: 700px;
  min-width: 0;
}

.solar-cta-label {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.solar-cta-copy h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.3rem, 3vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  max-width: 900px;
}

.cta-heading-second-line {
  white-space: nowrap;
}

.solar-cta-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  flex-shrink: 0;
  color: #fff;
}

.solar-cta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #effaf3;
}

.solar-cta-item i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  font-size: 1.1rem;
}

.solar-cta-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.solar-cta-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.solar-cta-item a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.site-cta-footer {
  background: #ffffff;
  padding: 0 0 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 24px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 34px 24px 18px;
  align-items: start;
}

.site-footer-brand {
  padding-right: 18px;
}

.site-footer-brand p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.7;
  font-size: 0.92rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf7f0;
  color: #0d6d4a;
  text-decoration: none;
}

.site-footer-col h4 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
}

.site-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer-col a,
.site-footer-col {
  color: #475569;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer-col a:hover {
  color: #0d6d4a;
}

.location-col .presence-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.presence-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #19a86c;
  display: inline-block;
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(25, 168, 108, 0.12);
}

.location-col strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.location-col a {
  color: #0f172a;
  font-weight: 700;
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  padding: 20px 0 10px;
  color: #64748b;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.developer-credit {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #000000;
  opacity: 0.72;
}

.careers-footer .developer-credit {
  color: #cbd5e1;
}

.admin-attribution {
  padding: 12px 0 20px;
  text-align: center;
}

.career-opening-count {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.9rem;
}

.career-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.career-manager-help {
  margin: -8px 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.career-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.career-admin-copy {
  flex: 1;
  min-width: 0;
}

.career-admin-copy strong,
.career-admin-copy small {
  display: block;
}

.career-admin-copy small {
  margin-top: 4px;
  color: var(--text-muted);
}

.career-admin-actions,
.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-gallery-admin-card {
  margin-bottom: 24px;
}

.project-category-manager {
  margin: 20px 0 24px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.project-manager-section-head,
.project-browser-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-manager-section-head h4,
.project-browser-heading h4 {
  margin: 0;
}

.project-manager-section-head .project-admin-note,
.project-browser-heading .project-admin-note {
  margin: 5px 0 0;
}

.project-category-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.project-category-form .form-group {
  margin-bottom: 0;
}

.project-category-form .admin-form-actions {
  grid-column: 1 / -1;
}

.project-admin-note {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.project-folder-admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  margin-top: 14px;
  overflow-y: auto;
  padding-right: 4px;
}

.project-category-admin-list {
  margin-top: 18px;
}

.project-folder-admin-item,
.project-category-admin-item,
.project-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.project-folder-admin-tree-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-folder-admin-children {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 2px solid #dcfce7;
}

.project-folder-admin-unlinked {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-folder-admin-copy,
.project-category-admin-copy,
.project-admin-copy {
  flex: 1;
  min-width: 0;
}

.project-folder-admin-item {
  align-items: center;
  padding: 9px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.project-folder-admin-item .project-folder-admin-copy {
  min-width: 0;
}

.project-folder-admin-item .project-admin-actions {
  gap: 4px;
}

.project-folder-admin-item .table-action-btn {
  min-width: 30px;
  padding: 6px;
}

.project-folder-admin-item.is-selected {
  background: #ecfdf5;
  border-color: #16a34a;
}

.project-folder-admin-tree-node.is-drop-target > .project-folder-admin-item {
  background: #dcfce7;
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.project-folder-select {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 2px 0;
  color: #1f2937;
  text-align: left;
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.project-folder-select i {
  color: #15803d;
  flex-shrink: 0;
}

.project-folder-select span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-folder-admin-copy small {
  padding-left: 22px;
  font-size: 0.72rem;
}

.project-folder-admin-copy strong,
.project-folder-admin-copy small,
.project-category-admin-copy strong,
.project-category-admin-copy small,
.project-admin-copy strong,
.project-admin-copy small {
  display: block;
}

.project-folder-admin-copy small,
.project-category-admin-copy small,
.project-admin-copy small {
  margin-top: 4px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.project-admin-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  cursor: grab;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.project-admin-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}

.project-admin-item.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.project-admin-item .project-admin-copy {
  width: 100%;
}

.project-admin-item .project-admin-copy small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.7rem;
}

.project-admin-item .project-admin-actions {
  justify-content: flex-end;
  width: 100%;
}

.project-admin-thumb {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 9px;
  background: #e2e8f0;
}

.project-browser {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.7fr);
  gap: 18px;
  align-items: start;
}

.project-browser-sidebar,
.project-browser-content {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.project-browser-sidebar {
  background: #f8fafc;
}

.project-add-folder-btn {
  padding: 8px 10px;
  color: #166534;
  background: #fff;
  border-color: #86efac;
  white-space: nowrap;
}

.project-folder-category-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.project-folder-category-group:last-child {
  margin-bottom: 0;
}

.project-folder-category-group h5 {
  margin: 0 0 2px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-browser-heading {
  margin-bottom: 16px;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
}

.project-empty-folder {
  grid-column: 1 / -1;
  padding: 32px 16px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.project-form-panel {
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.project-form-panel summary {
  padding: 14px 0 4px;
  color: #166534;
  font-weight: 700;
  cursor: pointer;
}

.project-form-panel[open] summary {
  margin-bottom: 14px;
}

.project-form-panel .admin-form {
  padding-bottom: 4px;
}

.project-admin-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.completed-projects-hero {
  padding: 78px 0 58px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 80, 43, 0.88), rgba(0, 61, 31, 0.92)),
    url("assets/Website-Top BG.png") center/cover;
  color: #ffffff;
}

.resources-hero {
  padding: 78px 0 58px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 80, 43, 0.88), rgba(0, 61, 31, 0.92)),
    url("assets/Website-Top BG.png") center/cover;
  color: #ffffff;
}

.resources-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.resources-hero p {
  max-width: 760px;
  margin: 12px auto 0;
  color: #dcfce7;
  font-size: 1.05rem;
}

.about-hero {
  padding: 78px 0 64px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 80, 43, 0.88), rgba(0, 61, 31, 0.92)),
    url("assets/Website-Top BG.png") center/cover;
  color: #ffffff;
}

.about-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.about-hero p {
  max-width: 850px;
  margin: 12px auto 0;
  color: #dcfce7;
  font-size: 1.05rem;
}

.about-hero p + p {
  margin-top: 20px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
}

.about-page-section {
  padding: 58px 0;
  background: #ffffff;
}

.about-page-section--muted {
  background: #f8fafc;
}

.about-page-content {
  max-width: 1000px;
}

.about-page-section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.about-page-section-heading p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 1.02rem;
}

.about-prose {
  color: #475569;
  font-size: 1rem;
  line-height: 1.85;
}

.about-prose p {
  margin: 0;
}

.about-prose p + p {
  margin-top: 14px;
}

.about-journey-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0;
  list-style: none;
}

.about-journey-timeline::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 28px;
  width: 3px;
  content: "";
  background: #0f766e;
  border-radius: 999px;
}

.about-journey-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  perspective: 900px;
}

.about-journey-step {
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  color: #ffffff;
  font-size: 1.2rem;
  place-items: center;
  background: #047857;
  border: 4px solid #f8fafc;
  border-radius: 19px;
  box-shadow: 0 9px 18px rgba(5, 150, 105, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: rotate(-5deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-journey-timeline li:hover .about-journey-step {
  box-shadow: 0 14px 24px rgba(5, 150, 105, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(0) translateY(-3px) scale(1.05);
}

.about-journey-timeline li p {
  position: relative;
  margin: 0;
  padding: 20px 22px;
  color: #475569;
  line-height: 1.75;
  background: #ffffff;
  border: 1px solid #d1e7dc;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06), inset 0 1px 0 #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-journey-timeline li p::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  content: "";
  background: #16a34a;
  border-radius: 0 4px 4px 0;
}

.about-journey-timeline li:hover p {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  transform: perspective(900px) translateY(-3px) rotateX(1deg);
}

.about-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.about-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 100%;
  padding: 20px;
  color: #475569;
  line-height: 1.7;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 58%, #ecfdf5 100%);
  border: 1px solid #dbe7e1;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06), inset 0 1px 0 #ffffff;
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-service-list li:hover {
  border-color: #86efac;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  transform: perspective(1000px) translateY(-6px) rotateX(1deg) rotateY(-1deg);
}

.about-service-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: #ffffff;
  font-size: 1.15rem;
  place-items: center;
  background: linear-gradient(145deg, #34d399, #047857 75%);
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(5, 150, 105, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transform: translateZ(12px);
  transition: transform 220ms ease;
}

.about-service-list li:hover .about-service-icon {
  transform: translateZ(18px) rotate(-5deg) scale(1.06);
}

.about-service-list li p {
  margin: 0;
}

.about-service-list strong {
  color: #166534;
}

.about-expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 34px;
}

.about-expertise-art {
  position: sticky;
  top: 100px;
  overflow: hidden;
  padding: 12px;
  background:
    radial-gradient(circle at 75% 15%, rgba(251, 191, 36, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff, #ecfdf5 60%, #dbeafe);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14), inset 0 1px 0 #ffffff;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.about-expertise-art:hover {
  box-shadow: 0 32px 68px rgba(15, 23, 42, 0.18), inset 0 1px 0 #ffffff;
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-5px);
}

.about-expertise-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.08));
}

.about-purpose-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.about-purpose-list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #475569;
  line-height: 1.8;
}

.about-purpose-list li {
  margin-top: 6px;
}

.about-purpose-list li::marker {
  color: #15803d;
}

.about-value-card {
  --value-start: #22c55e;
  --value-end: #047857;
  --value-wash: rgba(34, 197, 94, 0.12);
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-content: start;
  gap: 0 14px;
  min-height: 100%;
  overflow: hidden;
  padding: 23px;
  background:
    radial-gradient(circle at 100% 0, var(--value-wash), transparent 42%),
    linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 21px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.065), inset 0 1px 0 #ffffff;
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-value-card:nth-child(2) {
  --value-start: #38bdf8;
  --value-end: #0369a1;
  --value-wash: rgba(56, 189, 248, 0.13);
}

.about-value-card:nth-child(3) {
  --value-start: #fbbf24;
  --value-end: #d97706;
  --value-wash: rgba(251, 191, 36, 0.15);
}

.about-value-card:nth-child(4) {
  --value-start: #a78bfa;
  --value-end: #6d28d9;
  --value-wash: rgba(167, 139, 250, 0.14);
}

.about-value-card:nth-child(5) {
  --value-start: #2dd4bf;
  --value-end: #0f766e;
  --value-wash: rgba(45, 212, 191, 0.14);
}

.about-value-card:nth-child(6) {
  --value-start: #fb923c;
  --value-end: #c2410c;
  --value-wash: rgba(251, 146, 60, 0.15);
}

.about-value-card:nth-child(7) {
  --value-start: #a3e635;
  --value-end: #4d7c0f;
  --value-wash: rgba(163, 230, 53, 0.16);
}

.about-value-card::before {
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--value-start), var(--value-end), transparent);
  border-radius: 0 0 4px 4px;
}

.about-value-card:hover {
  border-color: color-mix(in srgb, var(--value-start), #ffffff 45%);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.13), inset 0 1px 0 #ffffff;
  transform: perspective(1000px) translateY(-6px) rotateX(1deg) rotateY(-1deg);
}

.about-value-icon {
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  color: #ffffff;
  font-size: 1.2rem;
  place-items: center;
  background: linear-gradient(145deg, var(--value-start), var(--value-end));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 17px;
  box-shadow: 0 9px 18px color-mix(in srgb, var(--value-end), transparent 78%), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateZ(12px) rotate(-4deg);
  transition: transform 220ms ease;
}

.about-value-card:hover .about-value-icon {
  transform: translateZ(20px) rotate(0) scale(1.06);
}

.about-value-card h3 {
  z-index: 1;
  align-self: center;
  margin: 0;
  color: #166534;
  font-size: 1.1rem;
}

.about-value-card p {
  z-index: 1;
  grid-column: 1 / -1;
  margin: 17px 0 0;
  color: #475569;
  line-height: 1.75;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-value-card:last-child {
  grid-column: 2;
}

.about-closing {
  padding: 58px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #064e3b, #166534);
}

.about-closing h2 {
  color: #ffffff;
}

.about-closing p {
  max-width: 850px;
  margin: 16px auto 0;
  color: #dcfce7;
  line-height: 1.8;
}

.about-closing .about-closing-tagline {
  color: #ffffff;
  font-weight: 700;
}

.resources-section {
  padding: 54px 0 76px;
  background: #f8fafc;
}

.resources-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.resources-eyebrow {
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.resources-section-heading h2 {
  margin-top: 5px;
  font-size: 2rem;
}

.resources-count {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-folder + .resource-folder {
  margin-top: 40px;
}

.resource-folder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dbe5df;
}

.resource-folder-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-green);
  font-size: 1.45rem;
}

.resource-folder-heading h2 i {
  color: #d99a08;
}

.resource-folder-heading > span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

.resource-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.resource-pdf-preview {
  display: block;
  width: 100%;
  height: 190px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f1f5f9;
}

.resource-pdf-preview:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 3px;
}

.resource-pdf-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.resource-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: #dcfce7;
  color: #15803d;
  font-size: 1.35rem;
}

.resource-category {
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-top: 6px;
  font-size: 1.25rem;
}

.resource-card p {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.94rem;
}

.resource-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}

.resource-view-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary-green);
  color: #ffffff;
  font-weight: 700;
}

.resource-view-button:hover {
  background: var(--primary-green-dark);
  color: #ffffff;
}

.resource-download-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-green);
  font-size: 0.9rem;
  font-weight: 700;
}

.resource-download-link:hover {
  color: var(--primary-green-dark);
}

.resources-footer {
  background: #ffffff;
}

@media (max-width: 900px) {
  .resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-expertise-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-expertise-art {
    position: relative;
    top: auto;
    max-width: 560px;
    margin: 10px auto 0;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .resources-hero {
    padding: 56px 0 42px;
  }

  .resources-section {
    padding: 38px 0 54px;
  }

  .resources-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 56px 0 44px;
  }

  .about-page-section,
  .about-closing {
    padding: 42px 0;
  }

  .about-service-list,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-value-card {
    padding: 20px;
  }

  .about-value-card:last-child {
    grid-column: auto;
  }

  .about-journey-timeline {
    gap: 14px;
  }

  .about-journey-timeline li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .about-journey-timeline::before {
    left: 22px;
  }

  .about-journey-step {
    width: 46px;
    height: 46px;
    font-size: 1rem;
    border-radius: 15px;
  }

  .about-journey-timeline li p {
    padding: 16px;
    font-size: 0.94rem;
  }

  .about-expertise-art {
    padding: 7px;
    border-radius: 22px;
    transform: none;
  }

  .about-service-list li {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-journey-step,
  .about-journey-timeline li p,
  .about-service-list li,
  .about-service-icon,
  .about-value-card,
  .about-value-icon,
  .about-expertise-art {
    transition: none;
  }

  .about-journey-timeline li:hover .about-journey-step,
  .about-journey-timeline li:hover p,
  .about-service-list li:hover,
  .about-service-list li:hover .about-service-icon,
  .about-value-card,
  .about-value-card:hover,
  .about-value-icon,
  .about-expertise-art,
  .about-expertise-art:hover {
    transform: none;
  }
}

.completed-projects-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #facc15;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.completed-projects-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.completed-projects-hero p {
  max-width: 760px;
  margin: 12px auto 0;
  color: #dcfce7;
  font-size: 1.05rem;
}

.completed-projects-section {
  padding: 52px 0 72px;
  background: #f8fafc;
}

.project-gallery-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  min-height: 44px;
  margin-bottom: 26px;
}

.project-gallery-folder-prompt,
.project-gallery-photo-count {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-gallery-current-folder {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
}

.project-gallery-breadcrumb {
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--primary-green);
  font-weight: 700;
  cursor: pointer;
}

.project-gallery-breadcrumb:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.project-gallery-separator {
  color: #94a3b8;
}

.project-gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #dbe5df;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
  cursor: pointer;
}

.project-gallery-back:hover {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: #ffffff;
}

.completed-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.completed-project-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.completed-project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-folder-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-folder-open:focus-visible,
.project-gallery-back:focus-visible,
.project-gallery-breadcrumb:focus-visible {
  outline: 3px solid #22c55e;
  outline-offset: 3px;
}

.project-folder-cover-empty {
  display: grid;
  place-items: center;
  height: 245px;
  background: linear-gradient(135deg, #dcfce7, #f1f5f9);
  color: #15803d;
  font-size: 3rem;
}

.completed-project-card img {
  width: 100%;
  height: 245px;
  display: block;
  object-fit: cover;
  background: #e2e8f0;
}

.completed-project-card[hidden] {
  display: none;
}

.completed-project-body {
  min-height: 112px;
  padding: 20px;
}

.completed-project-body span {
  display: block;
  margin-bottom: 7px;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.completed-project-body h2 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.completed-project-body .project-folder-count {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .completed-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .completed-projects-hero {
    padding: 56px 0 42px;
  }

  .completed-projects-section {
    padding: 38px 0 54px;
  }

  .completed-project-grid {
    grid-template-columns: 1fr;
  }

  .completed-project-card img {
    height: 220px;
  }

  .project-folder-cover-empty {
    height: 220px;
  }

  .project-gallery-navigation {
    gap: 10px;
  }
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0d6d4a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 20;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top:hover::after,
.scroll-top:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Logo text styles */
.tl-tata {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1e3a5f;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.tl-power {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #1e3a5f;
  font-weight: 700;
  margin-top: -2px;
}

.tl-adani {
  font-size: 1.6rem;
  font-weight: 900;
  color: #003594;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.tl-vikram {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
}

.tl-solar-text {
  display: block;
  font-size: 0.72rem;
  color: #00a550;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -2px;
}

.tl-longi {
  font-size: 1.5rem;
  font-weight: 900;
  color: #c8102e;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.tl-abb {
  font-size: 1.8rem;
  font-weight: 900;
  color: #cc0000;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
}

.tl-schneider {
  font-size: 1rem;
  font-weight: 800;
  color: #3dcd58;
  font-family: 'Outfit', sans-serif;
}

.tl-electric {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: -1px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .featured-projects-section > .container { max-width: 100%; }
  .fp-card { flex: 0 0 calc(33.33% - 10px); min-width: calc(33.33% - 10px); }
}

@media (max-width: 768px) {
  .fp-card { flex: 0 0 calc(50% - 8px); min-width: calc(50% - 8px); }
  .featured-projects-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .fp-card { flex: 0 0 calc(100% - 0px); min-width: 100%; }
}

.hero {

  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--accent-gold);
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

/* Carousel styles for hero */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-play-btn:hover {
  transform: scale(1.03);
}

/* Video modal iframe container adjustments */
#videoContainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

#videoContainer iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Category & Product Section */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.subtitle-badge {
  color: var(--accent-amber);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  background: var(--white);
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card {
  position: relative;
  overflow: hidden;
}

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

.product-card:active {
  transform: translateY(-2px) scale(0.995);
}

.card-img-wrapper {
  position: relative;
  background: #f8fafc;
  padding: 20px;
  text-align: center;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img-wrapper:hover img {
  transform: scale(1.03) rotate(0.35deg);
}

.product-card:hover .category-tag {
  transform: translateY(-4px);
}

.card-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  position: relative;
  z-index: 1;
}

.category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-code {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.product-sub {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-snippet {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: auto;
}

.pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-view-details {
  background: #f1f5f9;
  color: var(--primary-navy);
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
}

.btn-view-details:hover {
  background: #e2e8f0;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 36px;
}

.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.close-modal-btn:hover {
  background: #e2e8f0;
  color: var(--primary-navy);
}

/* Specific Layout from User Screenshot */
.modal-product-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.product-image-container {
  border: 4px solid #2b3990;
  border-radius: 28px;
  padding: 24px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.product-image-container img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.product-detail-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
}

.product-detail-header .sub-title {
  color: #3f51b5;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-detail-header p {
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* User Screenshot Table Styling */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.875rem;
  border: 1px solid var(--table-border);
}

.specs-table th,
.specs-table td {
  padding: 8px 16px;
  border: 1px solid var(--table-border);
  text-align: center;
}

.specs-table tr:nth-child(even) {
  background-color: var(--table-row-even);
}

.specs-table td:first-child {
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  width: 45%;
}

.specs-bullets {
  margin-bottom: 24px;
}

.specs-bullets h4 {
  font-size: 1.1rem;
  color: #3f51b5;
  margin-bottom: 8px;
}

.specs-bullets ul {
  padding-left: 20px;
  color: #475569;
  font-size: 0.9rem;
}

.specs-bullets li {
  margin-bottom: 4px;
}

/* Solar Calculator Component */
.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  padding: 40px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.required-star {
  color: #d62828;
  font-weight: 700;
}

.checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
}

.warranty-claim-fields {
  margin-top: 8px;
  padding: 18px 16px;
  border: 1px solid #f7d98d;
  background: rgba(245, 158, 11, 0.04);
  border-radius: 10px;
}

.form-message {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message.error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991b1b;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.calc-results {
  background: var(--primary-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-card {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.result-title {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 14px;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.875rem;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.about-feature-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.about-feature-card i {
  font-size: 1.8rem;
  color: var(--accent-amber);
  margin-bottom: 10px;
}

.about-feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.about-feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-visual {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.about-badge-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-badge-item i {
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.about-badge-item h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-badge-item p {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Contact Us Section */
.contact-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.contact-info-side {
  background: linear-gradient(135deg, var(--primary-navy), #1e293b);
  color: var(--white);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contact-info-header p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.contact-info-text h5 {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info-text a:hover {
  color: var(--accent-gold);
}

.contact-form-side {
  padding: 44px;
}

.contact-form-side h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-side p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

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

/* Responsive */
@media (max-width: 900px) {

  .about-grid,
  .contact-grid,
  .form-row,
  .hero-grid,
  .modal-product-layout,
  .calc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .product-image-container {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Vision & Mission */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.vision-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.vision-card h3 {
  margin-bottom: 8px;
  color: var(--primary-blue);
}

/* Testimonials */
.testimonials-wrapper {
  margin-top: 18px;
}

.testimonials-slider {
  display: flex;
  gap: 18px;
  overflow: hidden;
  position: relative;
}

.testimonial {
  min-width: 320px;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.testimonial p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.testimonial .from {
  font-weight: 700;
  color: var(--primary-navy);
}

/* Testimonial Video Cards */
.testimonial-card {
  min-width: 320px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6eef8;
  box-shadow: var(--shadow-sm);
}

.testimonial-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.testimonial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(10, 120, 160, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-body {
  padding: 14px;
}

.testimonial-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.test-arrow {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.06);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.test-arrow.left {
  position: absolute;
  left: -22px;
}

.test-arrow.right {
  position: absolute;
  right: -22px;
}

/* Clients marquee */
.clients-marquee {
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 28px;
  align-items: center;
  animation: marquee 18s linear infinite;
}

.marquee-track img {
  width: 160px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #eef2f7;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Director card */
.director-card {
  background: var(--white);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

/* Audio modal tweaks */
#audioModal .modal-container {
  max-width: 640px;
}


/* Video showcase */
.video-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.video-thumbnail {
  width: 420px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.25));
  color: #fff;
  font-size: 2.2rem;
}

.video-captions h3 {
  margin-bottom: 8px;
}

/* State projects grid */
.state-filter {
  display: flex;
  gap: 10px;
  margin: 20px 0 10px 0;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.project-card {
  background: var(--white);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Clients */
.clients-grid {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.clients-grid img {
  width: 140px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(0.1);
  opacity: 0.95;
}

/* Big Footer enhancements */
footer.large-footer {
  padding: 80px 0 36px;
}

.footer-grid.large {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

@media (max-width:900px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .video-hero {
    flex-direction: column;
  }
}

/* Director Hero / Voice */
.director-hero {
  background: linear-gradient(90deg, #071226 0%, #143354 45%, #0f2a4a 100%);
  color: #fff;
  padding: 64px 0;
  border-radius: 14px;
  margin: 28px 0;
  box-shadow: 0 12px 30px rgba(2, 12, 27, 0.35);
}

.director-hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 36px;
  align-items: center;
}

.director-hero-content {
  padding-right: 16px;
}

.quote-mark {
  font-size: 5.5rem;
  line-height: 0.7;
  opacity: 0.08;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.06);
}

.director-quote {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 8px 0 14px;
  color: #ffffff;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
}

.director-quote strong {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.director-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  max-width: 760px;
}

.director-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.director-sign-img {
  height: 48px;
  object-fit: contain;
}

.director-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.director-role {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.director-hero-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(2, 12, 27, 0.45);
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.03);
}

/* Geomap styles */
.state-map {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.map-canvas {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  display: block;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.map-marker .pin {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}

.map-marker .label {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.map-marker:hover .pin {
  transform: scale(1.06);
}

/* fade-in effect for sections */

/* State Showcase */
.state-showcase {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  position: relative;
}

.state-list {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.state-list .state-btn {
  background: var(--white);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef8;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--primary-navy);
}

.state-list .state-btn.active {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
  color: #08203b;
  box-shadow: 0 10px 30px rgba(13, 34, 64, 0.12);
}

.state-display-area {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
}

.state-display {
  height: 300px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.state-display::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.state-display-label {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.36);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.floating-map {
  position: absolute;
  right: 16px;
  top: 18px;
  width: 260px;
  height: 260px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(247, 251, 255, 0.75));
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(2, 12, 27, 0.08);
  padding: 12px;
  display: block;
  z-index: 8;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.floating-map .map-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: visible;
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.06), transparent 30%);
}

.map-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09202f;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-dot:hover {
  transform: translate(-50%, -60%) scale(1.08);
  box-shadow: 0 18px 36px rgba(13, 34, 64, 0.12);
}

/* pulsing accent for active/important dots */
.map-dot.pulse::after {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  z-index: -1;
  animation: pulse 1400ms infinite ease-out;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.9
  }

  70% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.0
  }

  100% {
    opacity: 0
  }
}

/* Tooltip inside floating map */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 8px 10px;
  background: rgba(2, 12, 27, 0.92);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.85rem;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 12, 27, 0.35);
  z-index: 12;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -140%);
}

/* state display tweaks to avoid flat white */
.state-display {
  border: 1px solid rgba(2, 12, 27, 0.04);
  background-color: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
}

.state-display.faded {
  filter: saturate(0.9) contrast(1.02);
}

.map-dot:hover {
  transform: translateY(-4px);
}

/* Large SVG preview inside state display */
.state-svg-large {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.state-svg-large svg {
  width: 100%;
  height: 100%;
  display: block;
}

.state-svg-large path,
.state-svg-large polygon,
.state-svg-large rect {
  transition: fill 300ms ease, stroke 300ms ease, opacity 300ms ease;
  stroke: rgba(6, 63, 42, 0.9);
}

.state-svg-large .active {
  fill: rgba(11, 110, 79, 0.14) !important;
  stroke: var(--primary-blue) !important;
}


/* Theme overrides: switch to Poppins and brand green accents, add SVG map styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #063f2a;
  --primary-blue: #0b6e4f;
  --accent-gold: #f4b740;
  --accent-amber: #d97706;
  --accent-sun: #f59e0b;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a6b4a, #064e3b) !important;
}

.hero {
  background: linear-gradient(135deg, #04291f 0%, #073028 100%) !important;
}

/* SVG silhouette map styles */
.state-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.state-svg .state-path {
  fill: transparent;
  stroke: rgba(8, 32, 43, 0.18);
  stroke-width: 1.6;
  transition: fill 160ms ease, stroke 160ms ease, transform 160ms ease, opacity 240ms ease;
  cursor: pointer;
  opacity: 0.95;
}

.state-svg .state-path:hover {
  fill: rgba(11, 110, 79, 0.06);
  stroke: var(--primary-blue);
  transform: translateY(-2px);
}

.state-svg .state-path.active {
  fill: rgba(11, 110, 79, 0.12);
  stroke: var(--primary-blue);
  opacity: 1;
}

.state-svg .state-path.dim {
  opacity: 0.25;
}

.state-svg .state-label {
  font-size: 10px;
  fill: var(--primary-navy);
  font-weight: 700;
  pointer-events: none;
}

/* animated stroke draw */
.state-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.state-path.drawn {
  animation: drawpath 900ms ease forwards;
}

@keyframes drawpath {
  to {
    stroke-dashoffset: 0;
  }
}


@media (max-width:900px) {
  .state-showcase {
    flex-direction: column;
  }

  .state-list {
    width: 100%;
    flex-direction: row;
    overflow: auto;
  }

  .floating-map {
    position: static;
    width: 100%;
    height: 160px;
    right: auto;
    margin-top: 12px;
  }

  .state-display {
    height: 200px;
  }
}

/* Header carousel styles */
.header-carousel-section {
  width: 100%;
  overflow: hidden;
}

.header-carousel {
  position: relative;
  width: 100%;
  height: 360px;
  display: block;
}

.header-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 700ms ease;
}

.header-slide.active {
  opacity: 1;
  transform: scale(1);
}

.header-slide-content {
  position: absolute;
  left: 6%;
  top: 30%;
  max-width: 520px;
  color: #fff;
  text-shadow: 0 10px 22px rgba(2, 12, 27, 0.6);
}

.header-slide-content h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.header-slide-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(2, 12, 27, 0.5);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(2, 12, 27, 0.28);
}

.carousel-control.prev {
  left: 14px;
}

.carousel-control.next {
  right: 14px;
}

.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.carousel-indicators button.active {
  background: var(--accent-gold);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.18);
}

@media (max-width:900px) {
  .header-carousel {
    height: 220px;
  }

  .header-slide-content {
    left: 6%;
    top: 22%;
    max-width: 320px;
  }

  .header-slide-content h2 {
    font-size: 1.5rem;
  }
}

.animate-fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.animate-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width:900px) {
  .director-hero-grid {
    grid-template-columns: 1fr;
  }

  .director-hero {
    padding: 36px 0;
  }

  .director-quote {
    font-size: 1.6rem;
  }

  .director-hero-image {
    order: -1;
  }
}

/* Responsive Design: mobile, tablet, large screens */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .hero-grid,
  .about-grid,
  .director-hero-grid,
  .contact-grid,
  .calc-grid,
  .footer-grid,
  .modal-product-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .director-hero-grid {
    gap: 28px;
  }

  .contact-info-side,
  .contact-form-side {
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-contacts {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .navbar-content {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 62px;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    padding: 14px 14px 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1100;
    overflow: hidden;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 15px 12px;
    font-size: 1.08rem;
    color: var(--primary-navy);
    border-radius: 10px;
  }

  .nav-dropdown {
    position: static;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.9);
  }

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

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(15, 23, 42, 0.04);
    color: var(--primary-navy);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 64px 0;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

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

  .state-showcase {
    flex-direction: column;
  }

  .state-list {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .floating-map {
    position: static;
    width: 100%;
    height: 180px;
    margin-top: 12px;
  }

  .state-display {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .top-contacts,
  .top-socials {
    width: 100%;
  }

  .top-socials {
    justify-content: flex-start;
  }

  .navbar {
    position: sticky;
  }

  .brand-logo {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 160px;
  }

  .brand-name {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .btn-gold,
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    flex-wrap: nowrap;
  }

  .tab-btn {
    white-space: nowrap;
  }

  .video-hero {
    flex-direction: column;
  }

  .video-thumbnail {
    width: 100%;
    max-width: 420px;
  }

  .calc-wrapper {
    padding: 22px 16px;
  }

  .about-features,
  .vision-grid,
  .projects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-badge-item {
    align-items: flex-start;
  }

  .director-quote {
    font-size: 1.8rem;
  }

  .director-hero-image {
    order: -1;
  }

  .testimonials-slider {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .testimonial,
  .testimonial-card {
    min-width: 260px;
    scroll-snap-align: start;
  }

  .test-arrow {
    display: none;
  }

  .header-carousel {
    height: 220px;
  }

  .header-slide-content {
    left: 20px;
    right: 20px;
    top: 18%;
    max-width: 80%;
  }

  .header-slide-content h2 {
    font-size: 1.55rem;
  }

  .header-slide-content p {
    font-size: 0.82rem;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  body {
    font-size: 15px;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-body,
  .modal-container {
    padding: 18px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .contact-info-side,
  .contact-form-side {
    padding: 22px 18px;
  }

  .top-contacts {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-name {
    display: none;
  }

  .state-display {
    height: 180px;
  }

  .state-list .state-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .floating-map {
    height: 150px;
  }

  .form-control {
    padding: 11px 12px;
  }

  .result-value {
    font-size: 1.2rem;
  }
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 480px) {
  .navbar-content {
    padding: 12px 0;
  }

  .nav-links {
    border-radius: 14px;
    padding: 10px 10px 8px;
  }

  .nav-link {
    padding: 13px 10px;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {

  .section,
  .hero,
  .director-hero,
  footer {
    width: 100%;
    max-width: 100%;
  }

  .section>.container,
  .hero>.container,
  .director-hero>.container,
  footer>.container {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .top-bar {
    display: none;
  }
}

/* Admin Section */
.admin-body {
  background: linear-gradient(180deg, #f3f7fb 0%, #edf6f3 100%);
  color: var(--text-dark);
  min-height: 100vh;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 4vw, 56px);
  background: var(--primary-navy);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.admin-kicker {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-header h1 {
  color: var(--white);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
}

.admin-user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.admin-user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-preview-link,
.admin-logout {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-shell {
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.admin-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.login-box,
.admin-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.login-box {
  width: min(100%, 520px);
  padding: 32px;
}

.login-header {
  margin-bottom: 20px;
}

.login-header h2 {
  font-size: 2rem;
  margin-top: 8px;
}

.login-note {
  margin: 18px 0 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.85rem;
}

.admin-submit-btn {
  width: 100%;
}

.hidden {
  display: none !important;
}

.admin-dashboard {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.admin-section-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.admin-static-page-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 14px;
  padding: 11px 14px;
  color: #475569;
  font-size: 0.84rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.admin-static-page-note i {
  margin-top: 2px;
  color: #15803d;
}

.admin-section-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  color: #334155;
  text-align: left;
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-section-tab:hover {
  border-color: #86efac;
}

.admin-section-tab.is-active {
  color: #14532d;
  background: #f0fdf4;
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.admin-section-tab > i {
  flex: 0 0 auto;
  color: #15803d;
  font-size: 1.15rem;
}

.admin-section-tab span,
.admin-section-tab strong,
.admin-section-tab small {
  display: block;
}

.admin-section-tab span {
  min-width: 0;
}

.admin-section-tab strong {
  font-size: 0.9rem;
}

.admin-section-tab small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.3;
}

.admin-scope-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #22c55e;
  border-radius: 12px;
}

.admin-scope-summary h2 {
  margin: 0;
  color: #14532d;
  font-size: 1.2rem;
}

.admin-scope-summary p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 0.88rem;
}

.admin-impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 11px;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
}

.admin-grid-single-scope {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 600px) {
  .career-admin-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-browser {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-category-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-category-form .admin-form-actions {
    grid-column: auto;
  }

  .project-folder-admin-list {
    max-height: 360px;
  }

  .project-browser-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-folder-admin-item,
  .project-category-admin-item,
  .project-admin-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .project-admin-item {
    align-items: stretch;
  }

  .admin-section-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-tab {
    align-items: flex-start;
    padding: 11px;
  }

  .admin-scope-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-impact-badge {
    white-space: normal;
  }
}

.admin-card {
  padding: 24px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.card-head h3 {
  font-size: 1.35rem;
}

.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid transparent;
  z-index: 5;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-new {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.2);
}

.status-offer {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.18);
}

.status-popular {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.18);
}

.status-best-seller {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
  border-color: rgba(168, 85, 247, 0.2);
}

.status-discontinued {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.2);
}

.status-coming-soon {
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
  border-color: rgba(148, 163, 184, 0.18);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.user-list-wrap {
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.user-list-wrap h4 {
  margin-bottom: 14px;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-folder-category-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-folder-category-group h5,
.project-folder-admin-unlinked h5 {
  color: #166534;
  font-size: 0.98rem;
}

.user-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.user-item strong,
.user-item small {
  display: block;
}

.user-item small {
  color: var(--text-muted);
  margin-top: 4px;
}

.user-item-meta {
  display: flex;
  align-items: center;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.role-admin {
  background: rgba(15, 23, 42, 0.08);
  color: var(--primary-navy);
}

.role-editor {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.category-item>div {
  flex: 1;
}

.category-item strong,
.category-item small {
  display: block;
}

.category-item small {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 0.8rem;
}


.table-card {
  overflow: hidden;
}

.admin-product-table-wrap {
  overflow-x: auto;
}

.admin-product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.admin-product-table th,
.admin-product-table td {
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.admin-product-table th {
  background: #f8fafc;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.table-action-btn {
  background: #eef2ff;
  color: #312e81;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 8px;
}

.table-action-btn.danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

@media (max-width: 900px) {

  .admin-grid,
  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .hero-bg-section {
    min-height: auto;
    padding: 50px 0 160px;
    background-image: url('assets/Website-Top BG.png');
    background-position: center center;
  }

  .hero-title-main {
    font-size: 2.5rem;
  }

  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .stat-banner-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 540px) {
  .admin-header {
    padding: 18px 16px;
  }

  .admin-shell {
    padding: 20px 12px 40px;
  }

  .login-box,
  .admin-card {
    border-radius: 16px;
    padding: 18px 16px;
  }

  .login-header h2 {
    font-size: 1.5rem;
  }

  .hero-title-main {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 16px;
  }

  .stat-banner-item::after {
    display: none !important;
  }

  .hero-actions-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-green-solid,
  .btn-green-outline {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 1280px) {
  .solutions-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .solutions-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .solutions-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .solutions-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .home-about-section {
    padding: 48px 0;
  }

  .home-about-link {
    width: auto;
  }
}

/* PM Surya Ghar Responsive */
@media (max-width: 1024px) {
  .pm-surya-banner {
    grid-template-columns: 180px 1fr 260px;
  }
}

@media (max-width: 768px) {
  .pm-surya-banner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
  }

  .pm-surya-logo-col {
    padding: 32px 24px 16px;
  }

  .pm-surya-content-col {
    align-items: center;
    padding: 16px 32px 28px;
  }

  .pm-surya-desc {
    max-width: 100%;
  }

  .pm-surya-img-col {
    height: 240px;
    width: 100%;
  }

  .pm-surya-family-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }
}

@media (max-width: 480px) {
  .pm-surya-title {
    font-size: 1.5rem;
  }

  .pm-surya-logo {
    width: 130px;
  }
}

/* Final responsive overrides */
.solar-cta-strip,
.site-cta-footer {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
  }

  .navbar-content {
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .solutions-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pm-surya-banner {
    grid-template-columns: 220px minmax(0, 1fr) 280px;
  }
}

@media (max-width: 1024px) {
  .navbar-content {
    flex-wrap: nowrap;
  }

  .brand-logo {
    min-width: 0;
  }

  .brand-name {
    min-width: 0;
  }

  .nav-links {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .hero-bg-section {
    background-position: 62% center;
  }

  .hero-stats-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-banner-item:nth-child(2)::after {
    display: none;
  }

  .pm-surya-banner {
    grid-template-columns: 180px minmax(0, 1fr) 240px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-content {
    padding: 12px 0;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 52px;
  }

  .brand-name {
    display: flex;
  }

  .brand-line-1 {
    font-size: 1rem;
  }

  .brand-line-2 {
    font-size: 0.72rem;
  }

  .brand-line-3 {
    font-size: 0.64rem;
  }

  .hero-bg-section {
    padding: 42px 0 136px;
    background-position: 68% center;
  }

  .hero-content-left {
    max-width: 100%;
  }

  .hero-title-main {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .hero-description {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions-group {
    align-items: stretch;
  }

  .hero-actions-group > * {
    justify-content: center;
  }

  .hero-stats-banner-bar {
    margin-top: -84px;
  }

  .hero-stats-banner {
    gap: 14px;
    padding: 16px;
  }

  .stat-banner-item {
    gap: 10px;
    padding: 6px;
  }

  .stat-banner-item .stat-number {
    font-size: 1.5rem;
  }

  .stat-banner-item .stat-label {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .solutions-cards-grid,
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card {
    min-height: 0;
  }

  .solution-card-img-wrapper {
    height: 170px;
  }

  .pm-surya-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pm-surya-logo-col {
    min-height: 0;
    padding: 24px 18px 10px;
  }

  .pm-surya-logo-col::after {
    display: none;
  }

  .pm-surya-content-col {
    align-items: center;
    padding: 12px 22px 24px;
  }

  .pm-surya-img-col {
    height: 220px;
  }

  .fp-slider-container {
    gap: 4px;
  }

  .fp-track-wrapper {
    min-width: 0;
    overflow: hidden;
  }

  .fp-card {
    flex-basis: calc(50% - 8px);
    min-width: calc(50% - 8px);
  }

  .fp-card-img-wrapper {
    height: 180px;
  }

  .video-thumbnail {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .director-hero,
  .contact-wrapper,
  .calc-wrapper {
    border-radius: 14px;
  }

  .solar-cta-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 26px 0 22px;
  }

  .solar-cta-copy,
  .solar-cta-meta {
    max-width: 100%;
    width: 100%;
  }

  .solar-cta-copy h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .cta-heading-second-line {
    white-space: normal;
  }

  .solar-cta-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-name {
    display: none;
  }

  .hero-bg-section {
    padding-bottom: 142px;
    background-position: 72% center;
  }

  .hero-title-main {
    font-size: clamp(1.85rem, 10vw, 2.35rem);
  }

  .hero-badge-pill {
    max-width: 100%;
    font-size: 0.7rem;
    padding: 7px 12px;
  }

  .hero-stats-banner-bar {
    margin-top: -92px;
  }

  .hero-stats-banner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-banner-item {
    min-width: 0;
  }

  .solutions-cards-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card-img-wrapper {
    height: 190px;
  }

  .fp-card {
    flex-basis: 100%;
    min-width: 100%;
  }

  .fp-nav-btn {
    width: 36px;
    height: 36px;
  }

  .fp-card-img-wrapper {
    height: 210px;
  }

  .solar-cta-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .solar-cta-item {
    min-width: 0;
  }

  .solar-cta-item a {
    overflow-wrap: anywhere;
  }

  .form-row,
  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal-container {
    max-height: calc(100vh - 20px);
    padding: 18px 14px;
  }

  .specs-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 380px) {
  .hero-actions-group > *,
  .btn-green-cta,
  .btn-primary,
  .btn-gold,
  .btn-outline {
    width: 100%;
  }

  .hero-actions-group {
    gap: 10px;
  }

  .stat-icon-box {
    min-width: 34px;
    font-size: 1.7rem;
  }
}