* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========== HEADER ========== */
header {
  background: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text h1 {
  font-size: 24px;
  color: #0066cc;
  font-weight: 700;
}

.logo-text p {
  font-size: 11px;
  color: #ff6b35;
  font-weight: 600;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #0066cc;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #0066cc 0%, #004aa3 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo img {
  height: 120px;
  width: auto;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ========== BUTTONS ========== */
.cta-button {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background: #e55a24;
}

/* ========== GENERAL SECTIONS ========== */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 36px;
  color: #0066cc;
  margin-bottom: 40px;
  text-align: center;
}

/* ========== SERVICES SECTION ========== */
#services {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #ff6b35;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #0066cc;
  margin-bottom: 15px;
  font-size: 20px;
}

/* ========== MISSION SECTION ========== */
.mission-section {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
}

.mission-section h3 {
  color: #0066cc;
  margin-bottom: 15px;
  font-size: 22px;
}

.mission-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* ========== VALUES GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border-top: 3px solid #ff6b35;
}

.value-item h4 {
  color: #0066cc;
  margin-bottom: 10px;
}

/* ========== TESTIMONIALS SECTION ========== */
#testimonials {
  padding: 80px 20px;
  background: #f9f9f9;
  max-width: 100%;
}

#testimonials h2 {
  font-size: 36px;
  color: #0066cc;
  margin-bottom: 50px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.2);
}

.testimonial-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.stars {
  color: #ff6b35;
  margin: 20px 20px 10px;
  font-size: 18px;
}

.testimonial-card p {
  padding: 0 20px;
  margin-bottom: 15px;
  font-style: italic;
  color: #666;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #0066cc;
  padding: 0 20px 20px;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step-counter;
}

.process-step {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid #0066cc;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  line-height: 50px;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 15px;
}

.process-step h3 {
  color: #0066cc;
  margin-bottom: 10px;
}

/* ========== SERVICE AREA ========== */
.service-area {
  background: #f0f4f8;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.service-area h3 {
  color: #0066cc;
  margin-bottom: 20px;
  font-size: 22px;
}

.service-area p {
  font-size: 18px;
  margin-bottom: 15px;
}

.states {
  font-weight: 600;
  color: #0066cc;
  font-size: 20px;
}

/* ========== SAVINGS CALCULATOR ========== */
.calculator-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.calculator-input {
  margin-bottom: 20px;
}

.calculator-input label {
  display: block;
  margin-bottom: 8px;
  color: #0066cc;
  font-weight: 600;
}

.calculator-input input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
}

.calculator-result {
  background: #f0f4f8;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-text {
  font-size: 18px;
  color: #0066cc;
  font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
#contact {
  padding: 80px 20px;
}

#contact h2 {
  font-size: 36px;
  color: #0066cc;
  margin-bottom: 40px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  color: #0066cc;
  margin-bottom: 15px;
  font-size: 20px;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.8;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ========== CONTACT FORM CONTAINER ========== */
.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
  color: #0066cc;
  margin-bottom: 30px;
  text-align: center;
  font-size: 24px;
}

/* ========== SOLAR PANEL FORM ========== */
.solar-panel-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.form-panel {
  background: linear-gradient(135deg, #0066cc 0%, #004aa3 100%);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
  border: 2px solid #ff6b35;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.form-panel label {
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-panel input,
.form-panel select {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  color: #333;
  transition: all 0.3s;
}

.form-panel input:focus,
.form-panel select:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
  background: #f9f9f9;
}

.form-panel input::placeholder {
  color: #999;
}

.form-panel-full {
  grid-column: 1 / -1;
}

.file-upload-area {
  background: white;
  border: 2px dashed #ff6b35;
  border-radius: 5px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.file-upload-area:hover {
  background: #f0f4f8;
  border-color: #e55a24;
}

.file-upload-area input[type="file"] {
  display: none;
}

.file-upload-area p {
  color: #666;
  font-size: 11px;
  margin-top: 4px;
  pointer-events: none;
}

.form-panel textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  min-height: 120px;
  resize: vertical;
  background: white;
  color: #333;
  transition: all 0.3s;
}

.form-panel textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
  background: #f9f9f9;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #004aa3;
}

.submit-btn-large {
  grid-column: 1 / -1;
  padding: 18px 40px;
  background: linear-gradient(135deg, #ff6b35 0%, #e55a24 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.submit-btn-large:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== FOOTER ========== */
footer {
  background: #0066cc;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .solar-panel-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .hero h2 {
    font-size: 32px;
  }

  section {
    padding: 50px 20px;
  }

  #contact {
    padding: 50px 20px;
  }

  .solar-panel-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-container {
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonial-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 18px;
  }

  .hero h2 {
    font-size: 24px;
  }

  section h2 {
    font-size: 24px;
  }
}
