/* ============================================
   Lightning Fast Electrical - Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Nunito Sans', 'Inter', 'Roboto', Arial, sans-serif;
  color: #2b3543;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Nunito Sans', sans-serif;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2b3543;
  margin-bottom: 20px;
}

.section-title.centered {
  text-align: center;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #f8be15;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1.05rem;
  color: #353535;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #f8be15;
  color: #fff;
  padding: 16px 40px;
  border: 1px solid #fff;
  border-radius: 10px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: #e0aa0e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(248, 190, 21, 0.4);
}

.btn-submit {
  background: #2b3543;
  color: #fff;
  padding: 14px 50px;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.btn-submit:hover {
  background: #1a2230;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 75px;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #f8be15;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8be15;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-phone:hover {
  background: #e0aa0e;
  transform: translateY(-1px);
}

.phone-number {
  font-weight: 700;
  font-size: 1rem;
}

.phone-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-link {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: #f8be15;
}

.mobile-phone {
  color: #f8be15;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-background.png') center center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 20px 80px;
  margin: 0 auto 0 8%;
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #f8be15;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-text strong {
  color: #fff;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
  padding: 100px 0 80px;
  background: #fff;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.why-choose-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-choose-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature-item {
  padding: 30px 25px;
  border-left: 1px solid #e0e0e0;
}

.feature-item:nth-child(1),
.feature-item:nth-child(2) {
  border-bottom: 1px solid #e0e0e0;
}

.feature-item:nth-child(1),
.feature-item:nth-child(3) {
  border-left: none;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: #f8be15;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon i {
  font-size: 1.3rem;
  color: #fff;
}

.feature-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2b3543;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.solutions-bg {
  position: absolute;
  inset: 0;
  background: url('images/solar-panels.png') center center / cover no-repeat;
  z-index: 0;
}

.solutions-overlay {
  position: absolute;
  inset: 0;
  background: rgba(230, 235, 245, 0.92);
  z-index: 1;
}

.solutions-container {
  position: relative;
  z-index: 2;
}

.solutions .section-title {
  margin-bottom: 40px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.solution-icon {
  width: 55px;
  height: 55px;
  background: #f8be15;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.solution-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.solution-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2b3543;
  margin-bottom: 15px;
}

.solution-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
}

.solution-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 25px 0 18px;
}

.solution-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b3543;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.3s;
}

.solution-link:hover {
  color: #f8be15;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: url('images/stats-background.png') center center / cover no-repeat;
  z-index: 0;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 53, 67, 0.92);
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  padding: 100px 0;
  background: #f0f2f5;
}

.projects .section-label {
  margin-bottom: 8px;
}

.projects .section-title {
  margin-bottom: 50px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  flex: 0 0 380px;
}

.about-image img {
  width: 380px;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
}

.about-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #f8be15;
  margin-bottom: 8px;
}

.about-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #2b3543;
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #353535;
  font-weight: 500;
}

.about-list li i {
  color: #f8be15;
  font-size: 1.3rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: #2b3543;
}

.contact .section-title {
  color: #fff;
  margin-bottom: 25px;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
}

.contact-image-side {
  flex: 0 0 42%;
}

.contact-image-side img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}

.contact-form-side {
  flex: 1;
  min-width: 0;
}

.contact-form-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 35px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contact-form {
  margin: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2b3543;
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  background: #fff;
  color: #2c3345;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 15px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f8be15;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-consent {
  margin-top: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #f8be15;
}

.checkbox-text {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
  font-weight: 400;
}

.form-legal-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #555;
}

.form-legal-links a {
  color: #2b3543;
  text-decoration: underline;
  font-weight: 500;
}

.form-legal-links a:hover {
  color: #f8be15;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a2230;
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: #f8be15;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-fb {
  background: #1877f2;
}

.social-fb:hover {
  background: #1466d8;
  transform: translateY(-2px);
}

.social-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-ig:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #f8be15;
}

/* ============================================
   FORM SUCCESS MESSAGE
   ============================================ */
.form-success {
  background: rgba(74, 160, 160, 0.15);
  border: 1px solid #4aa0a0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #2b3543;
}

.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #4aa0a0;
}

.form-success p {
  font-size: 0.95rem;
  color: #555;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-content {
    margin-left: 5%;
  }

  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid .solution-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid .project-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .about-wrapper {
    gap: 40px;
  }

  .about-image {
    flex: 0 0 300px;
  }

  .about-image img {
    width: 300px;
    height: 350px;
  }

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

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  /* Nav */
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-content {
    margin: 0;
    padding: 100px 20px 60px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  /* Why Choose */
  .why-choose {
    padding: 70px 0 60px;
  }

  .why-choose-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .feature-item {
    border-left: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  /* Solutions */
  .solutions {
    padding: 70px 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .solutions-grid .solution-card:last-child {
    max-width: 100%;
  }

  /* Stats */
  .stats {
    padding: 60px 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Projects */
  .projects {
    padding: 70px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid .project-card:last-child {
    max-width: 100%;
  }

  .project-card img {
    height: 250px;
  }

  /* About */
  .about {
    padding: 70px 0;
  }

  .about-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-image {
    flex: none;
  }

  .about-image img {
    width: 100%;
    max-width: 350px;
    height: 380px;
    margin: 0 auto;
  }

  .about-list li {
    justify-content: center;
  }

  /* Contact */
  .contact {
    padding: 70px 0;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .contact-image-side {
    flex: none;
    max-height: 350px;
    text-align: center;
  }

  .contact-image-side img {
    max-height: 350px;
    margin: 0 auto;
  }

  .contact-form-card {
    padding: 30px 20px 25px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .btn-primary {
    padding: 14px 30px;
    font-size: 0.95rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
