/* ==========================================================================
   Unified Custom Styles for SolarHero (Green Theme)
   ========================================================================== */

/* Typography & Base */
body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  color: #1f2937;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

/* --------------------------------------------------------------------------
   Standardized Diagonal Slants
   -------------------------------------------------------------------------- */
.diagonal-banner {
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
}
.diagonal-cut-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}
.diagonal-cut-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

@media (max-width: 768px) {
  .diagonal-banner, .diagonal-cut-top, .diagonal-cut-bottom {
    clip-path: polygon(0 15px, 100% 0, 100% calc(100% - 15px), 0 100%);
  }
}

/* --------------------------------------------------------------------------
   Component Custom Styles
   -------------------------------------------------------------------------- */
/* KPI Circle matching the new dark green */
.kpi-circle-border {
  box-shadow: inset 0 0 0 6px #184139;
}

/* Services card gradient using the brand greens */
.service-card {
  background: linear-gradient(180deg, #184139 0%, #0f2a24 100%);
  box-shadow: 0 16px 32px -4px rgba(24, 65, 57, 0.28);
}

.phone-shadow {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Standardized Button System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid transparent;
}

.btn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Primary Button (Green) */
.btn-primary {
  background-color: #184139;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0f2a24;
}

/* Secondary Button (White) */
.btn-secondary {
  background-color: #ffffff;
  color: #184139;
}

.btn-secondary:hover {
  background-color: #e9f2ef;
}