/* ==========================================================================
   SSE SOLAR SOLUTIONS — GLOBAL DESIGN SYSTEM & STYLES
   ==========================================================================
   HOW TO EDIT THIS FILE:
   - To change website colors: Edit the values inside the :root { ... } section below.
   - All buttons, texts, cards, and backgrounds automatically use these colors.
   ========================================================================== */

:root {
  /* ========================================================================
     BRAND COLOR PALETTE (EDIT HERE)
     ======================================================================== */
  --color-primary-green: #0D5C3A;       /* Deep Forest Green (Main Brand Color) */
  --color-primary-green-hover: #09472C; /* Darker Green for Hover States */
  --color-secondary-green: #16A34A;     /* Vibrant Solar Green */
  --color-secondary-green-light: #DCFCE7; /* Soft Green Tint for Badges */
  
  --color-solar-blue: #0284C7;          /* Clean Energy Blue */
  --color-solar-blue-hover: #0369A1;    /* Deep Solar Blue */
  --color-solar-blue-light: #E0F2FE;    /* Soft Sky Blue Tint */
  
  --color-solar-yellow: #F59E0B;        /* Sunlight Warm Yellow/Gold */
  --color-solar-yellow-hover: #D97706;  /* Deep Sunlight Amber */
  --color-solar-yellow-light: #FEF3C7;  /* Soft Warm Sunlight Tint */
  
  --color-whatsapp: #25D366;            /* Official WhatsApp Brand Color */
  --color-whatsapp-hover: #1EBE5D;      /* WhatsApp Hover State */
  
  --color-dark: #0F172A;                /* Deep Charcoal/Slate for Primary Text */
  --color-dark-surface: #1E293B;        /* Dark Surface for Footers & Accents */
  --color-text-muted: #64748B;          /* Muted Secondary Text */
  --color-text-light: #94A3B8;          /* Light Slate for Dark Backgrounds */
  
  --color-white: #FFFFFF;               /* Pure White */
  --color-light-background: #F8FAFC;    /* Ultra-Clean Light Section Background */
  --color-card-background: #FFFFFF;     /* White Card Surface */
  --color-border: #E2E8F0;              /* Subtle Border Color */
  --color-border-light: #F1F5F9;        /* Extra Soft Divider */
  
  /* ========================================================================
     TYPOGRAPHY TOKENS
     ======================================================================== */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* ========================================================================
     SHADOWS & ELEVATION
     ======================================================================== */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-solar: 0 12px 28px -4px rgba(13, 92, 58, 0.18);
  
  /* ========================================================================
     BORDER RADIUS & TRANSITIONS
     ======================================================================== */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Container Width */
  --container-max-width: 1240px;
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  letter-spacing: -0.015em;
}

/* ==========================================================================
   REUSABLE CONTAINER & LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.section-light {
  background-color: var(--color-light-background);
}

.section-dark {
  background-color: var(--color-dark-surface);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: var(--color-text-light);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-green);
  background-color: var(--color-secondary-green-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-solar-yellow);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(13, 92, 58, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 92, 58, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-solar-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-solar-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  color: var(--color-white);
}

.btn-yellow {
  background-color: var(--color-solar-yellow);
  color: #78350F;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-yellow:hover {
  background-color: var(--color-solar-yellow-hover);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-primary-green);
  color: var(--color-primary-green);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: var(--color-white);
}

.btn-phone {
  background-color: var(--color-solar-blue);
  color: var(--color-white);
}

.btn-phone:hover {
  background-color: var(--color-solar-blue-hover);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  background-color: var(--color-secondary-green-light);
  color: #15803D;
}

.badge-blue {
  background-color: var(--color-solar-blue-light);
  color: #0369A1;
}

.badge-yellow {
  background-color: var(--color-solar-yellow-light);
  color: #92400E;
}

.badge-subsidy {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #78350F;
  border: 1px solid #FCD34D;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
}

/* ==========================================================================
   ACCESSIBILITY & SCREEN READERS
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--color-solar-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
