/* ==========================================================================
   MOUSA SOLAR ENERGY - Premium Reference Match Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --brand-cyan: #00A3FF;
  --brand-blue-dark: #0F2C59;
  --brand-navy: #0A192F;
  --brand-green: #164C16; /* Primary Forest Green Accent */
  --brand-green-dealer: #164C16;
  --brand-yellow: #FFB800;
  --brand-orange: #FF6600;
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-dark: #06152B;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Badges */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(22, 76, 22, 0.08);
  border: 1px solid rgba(22, 76, 22, 0.2);
  border-radius: var(--radius-full);
  color: var(--brand-green);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title-large {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dark, .btn-dark.nav-link, a.btn-dark {
  background: #164C16 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(22, 76, 22, 0.3);
}

.btn-dark:hover, a.btn-dark:hover {
  background: #0F3A0F !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 76, 22, 0.4);
}

.btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #FFFFFF !important;
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

/* Page Views Logic */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 560px;
  background: linear-gradient(rgba(10, 25, 47, 0.35), rgba(10, 25, 47, 0.45)), url('assets/images/hero_solar.jpg') center/cover no-repeat;
  color: white;
  padding: 5rem 0 6rem 0;
  display: flex;
  align-items: center;
}

.hero-overlay-card {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 20px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Brand Logos Strip */
.brand-strip {
  background: white;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.brand-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.brand-strip-grid img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.88);
  transition: var(--transition);
}

.brand-strip-grid img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.brand-center-logo {
  height: 64px !important;
  filter: none !important;
}

/* Section 2: Smart Features Grid */
.smart-features-section {
  padding: 6rem 0;
  background: white;
}

.features-header {
  text-align: right;
  margin-bottom: 3.5rem;
}

.smart-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.smart-card-light {
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.smart-card-img {
  background: url('assets/images/hero_solar.jpg') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.smart-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.smart-card-dark {
  background: #164C16;
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bar-chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 120px;
  margin-top: 1.5rem;
}

.bar-col {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}

/* Section 3: Renewable Energy Services */
.services-section-ref {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

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

.service-list-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.service-list-item:hover {
  border-color: var(--brand-green);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transform: translateX(6px);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(22, 76, 22, 0.1);
  color: var(--brand-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.service-arrow-btn {
  margin-left: auto;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.services-double-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.services-double-img img {
  border-radius: var(--radius-md);
  height: 180px;
  width: 100%;
  object-fit: cover;
}

/* Section 4: Projects Full Hero Banner */
.project-hero-section {
  position: relative;
  height: 540px;
  background: url('assets/images/commercial_solar.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 76, 22, 0.88) 0%, rgba(10, 25, 47, 0.45) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.project-nav-arrows {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 3;
  display: flex;
  gap: 1rem;
}

.nav-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-arrow-btn:hover {
  background: white;
  color: var(--brand-green);
}

/* Projects Filter Tabs & Page Cards */
.project-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.project-filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.project-filter-btn.active, .project-filter-btn:hover {
  background: var(--brand-green);
  color: white;
  border-color: var(--brand-green);
}

.projects-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-item-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.project-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.project-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-green);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-card-body {
  padding: 1.75rem;
}

/* GREEN AGENT LIVGUARD AUTHORIZED DEALER BANNER */
.livguard-dealer-banner {
  background: linear-gradient(135deg, #164C16 0%, #0E290F 100%);
  color: white;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.livguard-dealer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.livguard-title-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.livguard-main-heading {
  font-size: 3.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #FFFFFF !important;
  margin-bottom: 2.5rem;
}

.livguard-products-display {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.product-item:hover img {
  transform: scale(1.06);
}

.product-label-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: white;
  margin-top: 1rem;
  letter-spacing: 2px;
}

/* Workflow Cards */
.workflow-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.workflow-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.workflow-img {
  height: 200px;
  overflow: hidden;
}

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

.workflow-info {
  padding: 1.5rem;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background: #F8FAFC;
}

.testimonial-rows {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-row-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Blog & FAQ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.blog-img {
  height: 220px;
  overflow: hidden;
}

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

.blog-content {
  padding: 1.5rem;
}

.faq-section {
  padding: 6rem 0;
  background: #F8FAFC;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.75rem 1.35rem 1.75rem;
  color: var(--text-muted);
  display: none;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Ready to Switch Banner */
.ready-switch-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, #164C16 0%, #0A2540 100%);
  color: #FFFFFF !important;
  text-align: center;
  overflow: hidden;
}

.ready-switch-section h1,
.ready-switch-section h2,
.ready-switch-section h3,
.ready-switch-section p {
  color: #FFFFFF !important;
}

.ready-switch-emblem {
  height: 80px;
  width: auto;
  margin: 0 auto 1.5rem auto;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: #164C16;
  color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 43, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-card {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer & Social Media Icons */
.footer {
  background: #0E290F;
  color: white;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: white !important;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFB800;
}

.social-icons-row a {
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons-row a:hover {
  transform: translateY(-3px) scale(1.2);
  opacity: 0.9;
}

.footer-watermark {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 7.5vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 12px;
  user-select: none;
  line-height: 0.8;
  margin-top: 2rem;
}

/* Mobile Toggle & Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(22, 76, 22, 0.08);
  border: 1px solid rgba(22, 76, 22, 0.2);
  border-radius: var(--radius-sm);
  color: var(--brand-green);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--brand-green);
  color: white;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: white;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

/* Eco Section Grid & Cards */
.eco-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eco-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.eco-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.eco-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(22, 76, 22, 0.1);
  color: var(--brand-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.eco-center-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */

/* Laptop Screens (max-width: 1199px) */
@media (max-width: 1199px) {
  .smart-features-grid, .workflow-cards-grid, .blog-grid, .projects-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .eco-center-img {
    grid-column: span 2;
    order: -1;
  }

  .eco-center-img img {
    height: 320px;
  }
}

/* Tablet & Mobile Screens (max-width: 991px) */
@media (max-width: 991px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 3rem 2rem;
    gap: 1.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hero-section {
    min-height: 480px;
    padding: 4rem 0 5rem 0;
  }

  .hero-overlay-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 480px;
  }

  .services-layout-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .project-hero-section {
    height: auto;
    min-height: 420px;
    padding: 4rem 0;
  }

  .project-nav-arrows {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
  }
}

/* Small Mobile Screens (max-width: 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 1.25rem;
  }

  .smart-features-grid, .workflow-cards-grid, .blog-grid, .projects-grid-container, .eco-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .eco-center-img {
    grid-column: 1;
  }

  .livguard-products-display {
    gap: 1.75rem;
  }

  .product-item img {
    max-height: 180px;
  }

  .livguard-main-heading {
    font-size: 2.1rem;
  }

  .services-double-img {
    grid-template-columns: 1fr;
  }

  .testimonial-row-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .footer-watermark {
    font-size: 11vw;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-info-card {
    padding: 1.75rem;
  }

  .contact-detail-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-card {
    width: 94%;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .btn-dark.trigger-quote-modal {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  a[title="Chat on WhatsApp"] {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.6rem !important;
    bottom: 1.25rem !important;
    left: 1.25rem !important;
  }
}

/* ==========================================
   SOLAR & PRODUCTS CATALOG GRID STYLES
   ========================================== */
.solar-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

@media (max-width: 768px) {
  .solar-products-grid {
    grid-template-columns: 1fr;
  }
}

.solar-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--brand-green);
}

.solar-card-img {
  height: 240px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.solar-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.brand-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.brand-badge.longi { background: #E11D48; }
.brand-badge.jinko { background: #0284C7; }
.brand-badge.trina { background: #16A34A; }

.solar-card-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 0;
}

.spec-tag {
  background: rgba(22, 76, 22, 0.08);
  color: var(--brand-green);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}
