/* ==========================================================================
   ELECTROWERK TECHNOLOGIES - MASTER MULTI-PAGE STYLESHEET
   Light Theme with Brand Logo Colors:
   - Deep Navy: #0F223F
   - Electric Blue: #156FE8
   - Charcoal Slate: #2E3B4E
   - Pure White: #FFFFFF
   - Surface Light: #F8FAFC
   ========================================================================== */

:root {
  --navy: #0f223f;
  --dark-navy: #09172c;
  --navy-soft: #1a335a;
  --electric-blue: #156fe8;
  --electric-blue-hover: #0b57c2;
  --electric-light: #eaf3ff;
  --charcoal: #2e3b4e;
  --text-dark: #0f223f;
  --text-body: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --surface-light: #f8fafc;
  --surface-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-hover: #156fe8;
  --green-accent: #10b981;
  --green-soft: #ecfdf5;
  --shadow-sm: 0 4px 15px rgba(15, 34, 63, 0.05);
  --shadow-md: 0 12px 35px rgba(15, 34, 63, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 34, 63, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

main {
  flex-grow: 1;
  width: 100%;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1;
  text-align: center;
}

.btn-primary {
  background: var(--electric-blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21, 111, 232, 0.3);
}

.btn-primary:hover {
  background: var(--electric-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 111, 232, 0.45);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(15, 34, 63, 0.25);
}

.btn-navy:hover {
  background: var(--dark-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 34, 63, 0.35);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: var(--electric-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn-top {
  height: 40px;
  width: 200px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title.text-left {
  text-align: left;
}

.section-title span.tag {
  color: var(--electric-blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-family: 'JetBrains Mono', monospace;
  background: var(--electric-light);
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 14px;
}

.section-title h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0 16px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-title p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 680px;
  margin: auto;
  line-height: 1.75;
}

.section-title.text-left p {
  margin-left: 0;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-left, .top-right {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar i {
  color: var(--electric-blue);
  margin-right: 6px;
}

.top-bar a:hover {
  color: #60a5fa;
}

/* ==========================================================================
   NAVBAR (MULTI-PAGE)
   ========================================================================== */

nav.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 34, 63, 0.03);
  width: 100%;
}

.nav-inner {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

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

.logo-img-wrapper {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img-wrapper img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

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

.logo-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.logo-brand-title span.blue-part {
  color: var(--electric-blue);
}

.logo-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
  color: var(--electric-blue);
}

.nav-links a.active:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--electric-blue);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  border-radius: 8px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu:hover {
  background: var(--electric-light);
  color: var(--electric-blue);
}

/* ==========================================================================
   PAGE HERO BANNER (FOR SUBPAGES)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #12284e 100%);
  color: var(--white);
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 111, 232, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.page-hero p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 700px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #94a3b8;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #38bdf8;
}

.breadcrumbs i {
  font-size: 11px;
}

/* ==========================================================================
   HOME HERO SECTION
   ========================================================================== */

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 48%,
      rgba(255, 255, 255, 0.4) 100%
    ),
    url("../assets/images/hero-solar.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-content {
  max-width: 740px;
  padding: 55px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--electric-light);
  color: var(--electric-blue);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(21, 111, 232, 0.2);
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.14;
  margin-bottom: 22px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero h1 span.highlight {
  color: var(--electric-blue);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 32px;
  line-height: 1.75;
}

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

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.stats {
  background: linear-gradient(135deg, var(--navy) 0%, #133261 100%);
  color: var(--white);
  padding: 38px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 15px;
}

.stat:last-child {
  border-right: none;
}

.stat h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #38bdf8;
}

.stat p {
  color: #cbd5e1;
  font-size: 14.5px;
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES & ENGINEERING SOLUTIONS GRID
   ========================================================================== */

.services-section {
  padding: 85px 0;
  background: var(--white);
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  padding: 36px 30px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--electric-blue);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--electric-light);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--electric-blue);
  color: var(--white);
}

.service-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-bullets {
  margin-bottom: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.service-bullets li {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-bullets li i {
  color: var(--electric-blue);
  font-size: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   SERVICE DETAIL BLOCKS (FOR SERVICES PAGE)
   ========================================================================== */

.service-detail-block {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 45px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
}

.service-detail-block.alt-bg {
  background: var(--surface-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.service-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.service-feature-item {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-item i {
  color: var(--electric-blue);
  flex-shrink: 0;
}

.service-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-package-box {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
}

/* ==========================================================================
   SOLAR SYSTEM TOPOLOGIES & CARDS
   ========================================================================== */

.solar-systems-section {
  padding: 85px 0;
  background: var(--surface-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--electric-blue);
}

.solar-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.on-grid { background-image: url("../assets/images/on-grid.jpg"); }
.off-grid { background-image: url("../assets/images/off-grid.jpg"); }
.hybrid { background-image: url("../assets/images/hybrid.jpg"); }

.solar-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solar-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.solar-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.price {
  color: var(--electric-blue);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE TABLE WRAPPER
   ========================================================================== */

.table-wrapper {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
  width: 100%;
}

.table-wrapper table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.table-wrapper th, 
.table-wrapper td {
  padding: 18px 20px;
}

.table-wrapper thead tr {
  background: var(--navy);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.table-wrapper tbody tr {
  border-bottom: 1px solid var(--border);
}

.table-wrapper tbody tr:nth-child(even) {
  background: var(--surface-light);
}

/* ==========================================================================
   NET METERING & STEPS GRID
   ========================================================================== */

.net-metering-box {
  background: linear-gradient(135deg, var(--navy) 0%, #11264b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 45px;
  box-shadow: var(--shadow-lg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 8px;
}

.step-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.step-card p {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS & BRANDS CATALOGUE CARDS
   ========================================================================== */

.category-block {
  margin-bottom: 60px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--electric-light);
}

.category-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.category-header i {
  color: var(--electric-blue);
  font-size: 24px;
}

.brand-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-brand-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-brand-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--electric-blue);
  background: var(--electric-light);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}

.brand-specs {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WHY ELECTROWERK & ABOUT GRIDS
   ========================================================================== */

.why-us-section {
  padding: 85px 0;
  background: var(--surface-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-image {
  height: 480px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(15, 34, 63, 0.2), rgba(15, 34, 63, 0.2)),
    url("../assets/images/solar-engineer.jpg");
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}

.why-list {
  margin-top: 28px;
}

.why-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.check {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--electric-light);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.why-item h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

/* ==========================================================================
   PROJECTS SHOWCASE GRID
   ========================================================================== */

.projects-section {
  padding: 85px 0;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-lg);
}

.project-img-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
}

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

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

.project-capacity-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 34, 63, 0.9);
  color: #38bdf8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-category-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--electric-blue);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

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

.project-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-location {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.project-specs-list {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 18px;
}

.spec-title {
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.spec-val {
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   QUOTATION BOX & FORMS
   ========================================================================== */

.quotation-section {
  padding: 85px 0;
  background: var(--white);
}

.quote-box {
  background: linear-gradient(135deg, var(--navy) 0%, #10264d 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 55px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
  color: var(--white);
}

.quote-text p {
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 16px;
}

.contact-detail {
  margin-top: 30px;
}

.contact-detail div {
  margin: 14px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15.5px;
}

.contact-detail i {
  color: #38bdf8;
  font-size: 18px;
  flex-shrink: 0;
}

.quote-form {
  background: var(--white);
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--surface-light);
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--electric-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21, 111, 232, 0.15);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.quote-form button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ==========================================================================
   CALL TO ACTION BANNER BOX & CONTACT BANNER
   ========================================================================== */

.cta-banner-box {
  background: linear-gradient(135deg, var(--navy) 0%, #11264b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 45px;
  text-align: center;
  margin-top: 55px;
  box-shadow: var(--shadow-lg);
}

.cta-banner-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner-box p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto 25px;
}

.contact-office-banner {
  background: var(--surface-light);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   FOOTER (MULTI-PAGE CONSISTENT)
   ========================================================================== */

footer.site-footer {
  background: #f8fafc;
  padding: 70px 0 25px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  width: 100%;
}

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

.footer-col h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

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

.footer-links li {
  margin-bottom: 11px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.footer-links a:hover {
  color: var(--electric-blue);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 2000;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media(max-width: 1024px) {
  .services-grid-3, .solar-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-image {
    height: 380px;
  }
  .quote-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 35px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet & Mobile Screens (max-width: 768px) */
@media(max-width: 768px) {
  .top-bar {
    padding: 8px 0;
    font-size: 12px;
  }
  .top-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .top-left, .top-right {
    gap: 15px;
    justify-content: center;
  }
  .top-right {
    display: none;
  }

  .nav-inner {
    height: 72px;
  }
  .logo-img-wrapper {
    height: 42px;
  }
  .logo-img-wrapper img {
    height: 38px;
  }
  .logo-brand-title {
    font-size: 18px;
  }
  .logo-brand-sub {
    font-size: 8px;
  }

  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }

  .nav-links.mobile-active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 16px 35px rgba(15, 34, 63, 0.15);
    z-index: 1001;
  }

  .nav-links.mobile-active a {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 15.5px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--surface-light);
  }

  .nav-links.mobile-active a:not(.btn):hover,
  .nav-links.mobile-active a.active:not(.btn) {
    background: var(--electric-light);
    color: var(--electric-blue);
  }

  .nav-links.mobile-active a.active::after {
    display: none;
  }

  .nav-links.mobile-active a.btn {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 50px;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.92) 100%
      ),
      url("../assets/images/hero-solar.jpg");
    background-size: cover;
    background-position: center;
  }

  .hero-content {
    padding: 10px 0;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(28px, 6.5vw, 36px);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .page-hero {
    padding: 45px 0 50px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 6vw, 34px);
  }

  .page-hero p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .services-section, 
  .solar-systems-section, 
  .why-us-section, 
  .projects-section, 
  .quotation-section {
    padding: 60px 0;
  }

  .services-grid-3, 
  .services-grid-2, 
  .solar-grid, 
  .projects-grid, 
  .brand-catalog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-detail-block {
    padding: 28px 20px;
    margin-bottom: 30px;
    border-radius: 16px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-img-wrap {
    height: 220px;
  }

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

  .stat {
    border: none;
  }

  .stat h3 {
    font-size: 28px;
  }

  .quote-box {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .quote-form {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group.full {
    grid-column: auto;
  }

  .contact-office-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .contact-office-banner .btn {
    width: 100%;
  }

  .cta-banner-box {
    padding: 30px 20px;
    margin-top: 35px;
    border-radius: 16px;
  }

  .cta-banner-box h3 {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .whatsapp {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

/* Small Mobile Phones (max-width: 480px) */
@media(max-width: 480px) {
  .container {
    width: 93%;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title p {
    font-size: 14.5px;
  }

  .service-card {
    padding: 26px 20px;
  }

  .solar-content {
    padding: 24px 18px;
  }

  .solar-content h3 {
    font-size: 20px;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .net-metering-box {
    padding: 30px 18px;
    border-radius: 16px;
  }

  .net-metering-box h2 {
    font-size: 24px;
  }

  .quote-box {
    padding: 24px 16px;
  }

  .quote-text h2 {
    font-size: 24px;
  }

  .quote-form {
    padding: 20px 14px;
  }

  input, select, textarea {
    padding: 11px 12px;
    font-size: 15px;
  }

  .quote-form button {
    padding: 14px;
    font-size: 14.5px;
  }
}


/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */

.reviews-section {
  padding: 85px 0;
  background: var(--surface-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.reviews-score-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 14px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.score-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.score-details {
  display: flex;
  flex-direction: column;
}

.score-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 2px;
}

.score-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.reviews-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.review-filter-btn {
  padding: 9px 18px;
  border-radius: 25px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
}

.review-filter-btn:hover,
.review-filter-btn.active {
  background: var(--electric-blue);
  color: var(--white);
  border-color: var(--electric-blue);
  box-shadow: 0 4px 14px rgba(21, 111, 232, 0.25);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card:hover {
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--electric-blue) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(15, 34, 63, 0.15);
}

.review-client-info {
  flex-grow: 1;
}

.review-client-info h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.review-location {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.review-project-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--electric-light);
  color: var(--electric-blue);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

.review-quote {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}

.review-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--green-accent);
  font-weight: 700;
}

.review-footer i {
  margin-right: 4px;
}

/* Modal Overlay & Form */
.review-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 34, 63, 0.75);
  backdrop-filter: blur(6px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.review-modal-overlay.active {
  display: flex;
}

.review-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  animation: modalFadeIn 0.25s ease forwards;
}

.review-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--surface-light);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.review-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.star-rating-select {
  display: flex;
  gap: 10px;
  font-size: 26px;
  color: #cbd5e1;
  cursor: pointer;
  margin-bottom: 18px;
}

.star-rating-select i {
  transition: var(--transition);
}

.star-rating-select i.active {
  color: #f59e0b;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .reviews-header-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-modal {
    padding: 25px 18px;
  }
  .reviews-score-bar {
    justify-content: space-between;
  }
}
