/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ffd700;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #34495e;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Montserrat", sans-serif;
}

.nav-logo i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(
    circle,
    var(--primary-color) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-family: "Montserrat", sans-serif;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.feature-item span {
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Hero Visual Animation */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solar-animation {
  position: relative;
  width: 400px;
  height: 400px;
}

.sun-icon {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--secondary-color);
  animation: pulse 3s ease-in-out infinite;
}

.panel-grid {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, 80px);
  gap: 10px;
}

.panel {
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: panelGlow 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}

.panel:nth-child(1) {
  --i: 0;
}
.panel:nth-child(2) {
  --i: 1;
}
.panel:nth-child(3) {
  --i: 2;
}
.panel:nth-child(4) {
  --i: 3;
}

@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateX(-50%) scale(1.1);
    filter: brightness(1.2);
  }
}

@keyframes panelGlow {
  0%,
  100% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 5px 25px rgba(247, 147, 30, 0.5);
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.about-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.about-card h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-color);
  line-height: 1.8;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-benefits {
  list-style: none;
}

.service-benefits li {
  padding: 0.5rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-benefits i {
  color: var(--primary-color);
  font-size: 1rem;
}

/* Customers Section */
.customers {
  background: var(--white);
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.customer-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.customer-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.customer-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.customer-card h3 {
  font-size: 1.3rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.customer-card ul {
  list-style: none;
  text-align: left;
}

.customer-card li {
  padding: 0.3rem 0;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Value Add Section */
.value-add {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: var(--white);
}

.value-add .section-header h2,
.value-add .section-header p {
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.value-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Associates Section */
.associates {
  background: var(--white);
}

.associates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.associate-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.associate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.associate-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.associate-card h4 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.associate-card p {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8cc 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-bottom: 0.3rem;
}

.contact-details p,
.contact-details a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-color);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-motto {
  font-style: italic;
  color: var(--accent-color) !important;
  font-weight: 600;
  margin-top: 1rem !important;
}

.footer-section i {
  margin-right: 8px;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.scroll-to-top.show {
  display: flex;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .customer-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}
