/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root{
  --green: #7ac943;
  --header-h: 72px;
  --dark: #0b0b0b;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body{
  font-family:"Poppins",sans-serif;
  color:#111;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding-top:var(--header-h); /* avoids header overlap */
}

/* HEADER */
header{
  position:fixed;top:0;left:0;right:0;
  height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 40px;
  background:rgba(0,0,0,0.85);backdrop-filter: blur(4px);
  z-index:1500;
}
.logo{display:flex;align-items:center;gap:12px}
.logo img{height:52px;width:auto;display:block}
.logo h1{color:var(--green);font-size:18px;font-weight:700;letter-spacing:1px}

/* Desktop navbar */
.navbar{display:flex}
.navbar ul{display:flex;gap:22px;align-items:center;list-style:none}
.navbar a{color:#fff;text-decoration:none;font-weight:500;padding:6px 4px;transition:color .2s}
.navbar a:hover,.navbar a.active{color:var(--green)}
.btn{background:var(--green);color:#fff;padding:8px 16px;border-radius:28px;text-decoration:none}

/* ===== BANNER STYLES ===== */
.banner-container {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 800px;
  margin: 0;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
}

.banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.banner-content {
  position: absolute;
  bottom: 100px;
  left: 10%;
  max-width: 600px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease-out 0.3s;
}

.banner-slide.active .banner-content {
  transform: translateY(0);
  opacity: 1;
}

.banner-text {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 15px;
  line-height: 1.2;
}

.banner-subtext {
  color: white;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.banner-button {
  display: inline-block;
  background: var(--green);
  color: #333;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.banner-button:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.banner-navigation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  outline: none;
}

.banner-dot.active {
  background-color: var(--green);
  transform: scale(1.2);
}

/* Floating Buttons */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.floating-btns:hover {
  opacity: 1;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #004aad, #ff7b00);
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  text-decoration: none;
}

.float-btn i {
  font-size: 20px;
  transition: transform 0.4s ease;
}

.float-btn span {
  position: absolute;
  right: 60px;
  background: rgba(0, 0, 0, 0.85);
  padding: 8px 14px;
  border-radius: 30px;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.float-btn:hover span {
  opacity: 1;
  transform: translateX(0);
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 128, 0, 0.4);
}

.float-btn.call {
  background: linear-gradient(135deg, #25d366, #128C7E);
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128C7E);
}

.float-btn.help {
  background: linear-gradient(135deg, #ff7b00, #ff5500);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-btn {
  animation: floaty 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .banner-text {
    font-size: 2.8rem;
  }
  
  .banner-subtext {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .banner-container {
    height: 70vh;
  }
  
  .banner-content {
    left: 5%;
    right: 5%;
    text-align: center;
  }
  
  .banner-text {
    font-size: 2.2rem;
  }
  
  .banner-subtext {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .banner-button {
    padding: 12px 30px;
  }
  
  .floating-btns {
    bottom: 20px;
    right: 20px;
  }
  
  .float-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .banner-container {
    height: 60vh;
  }
  
  .banner-text {
    font-size: 1.8rem;
  }
  
  .banner-subtext {
    font-size: 0.95rem;
  }
  
  .banner-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .floating-btns {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  
  .float-btn {
    width: 45px;
    height: 45px;
  }
  
  .float-btn i {
    font-size: 18px;
  }
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .btn {
    background: var(--green);
    color: #fff;
    padding: 8px 16px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
    display: inline-block;
  }
  
  .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      background-color: rgb(10, 10, 10);
    }

    .btn-primary {
        background: var(--green);
        color: #fff;
        padding: 8px 16px;
        border-radius: 15px;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: pulse 2s infinite;
        display: inline-block;
      }
      
    .btn-primary:hover {
          transform: translateY(-2px);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
          background-color: rgb(10, 10, 10);
        }

/* Hamburger (hidden on desktop) */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hamburger span{width:26px;height:3px;background:#fff;border-radius:3px;display:block;transition:transform .25s,opacity .25s}

/* HERO */
.hero{position:relative;height:calc(60vh - var(--header-h));min-height:300px;overflow:hidden}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));}
.hero-content{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;color:#fff;z-index:2;padding:18px;max-width:1100px}
.hero-content h2{font-size:3rem;margin-bottom:10px}
.hero-content h2 span{color:var(--green)}
.hero-content p{font-size:1.1rem;margin-bottom:18px}
.btn-primary{background:var(--green);padding:12px 26px;border-radius:30px;color:#fff;text-decoration:none;font-weight:600}

/* Sections */
.section{padding:70px 10%;text-align:center}
.section.dark{background:#0f0f0f;color:#eee}
.section h2{color:var(--green);margin-bottom:14px;font-size:2rem}
.section p{max-width:900px;margin:0 auto;line-height:1.7}

/* Footer */
footer{background:#000;color:#bfbfbf;padding:18px;text-align:center;font-size:.95rem}

/* Responsive adjustments for FAQ and Contact sections */
@media (max-width: 1024px) {
  .faq-contact-container {
    flex-direction: column;
    align-items: center;
  }
  
  .faq-container,
  .contact-form-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
  }
  
  .faq-item {
    margin-right: 0;
  }
}

/* MOBILE / TABLET */
@media (max-width:900px){
  header{padding:10px 18px}
  .logo h1{font-size:15px}
  .navbar{display:none;position:fixed;top:var(--header-h);right:14px;width:86vw;max-width:300px;background:rgba(0,0,0,0.95);border-radius:10px;padding:18px;transform:translateX(110%);transition:transform .25s ease-in-out}
  .navbar.active{transform:translateX(0%)}
  .hamburger{display:flex}
}

/* ========== SERVICES SECTION ========== */
#services.section {
    background: url('../images/whitebg2.jpg');
    background-size: cover;
    background-position: center;
  }
.services-section {
    background: #f8fff9;
    padding: 40px 10% 80px;
    text-align: center;
  }
  
  #services.section h2 {
    margin-bottom: 10px;
  }
  
  .services-heading h2 {
    font-size: 2.5rem;
    color: #39a845;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
  }
  
  .services-heading p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 50px;
  }
  
  .service-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .service-image {
    flex: 1;
    min-width: 350px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .service-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .service-list {
    flex: 1;
    text-align: left;
    min-width: 320px;
  }
  
  .service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .service-list li {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(122, 201, 67, 0.1);
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    border-left: 4px solid var(--green);
  }

  .service-list li:hover {
    color: #0b0b0b;
    background: rgba(122, 201, 67, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .service-list li::before {
    content: '▶';
    color: var(--green);
    margin-right: 10px;
    font-size: 0.8em;
  }

  .service-list li:hover::before {
    color: #0b0b0b;
  }
  
  /* Animation for image fade */
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(1.03); }
    to { opacity: 1; transform: scale(1); }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .service-container {
      flex-direction: column;
    }
    .services-section {
      padding: 70px 5%;
    }
    .service-list li {
      font-size: 1rem;
    }
  }
  
  .fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
/* ================= WHY CHOOSE US ================= */
#features.section.dark {
    background: url('../images/blackbg2.jpg');
    background-size: cover;
    background-position: center;
  }
.why-choose-section {
    background: #ffffff;
    padding: 80px 8%;
  }
  
  .why-choose-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  /* Image Styling */
  .why-choose-image {
    flex: 1;
    min-width: 380px;
    text-align: center;
    animation: fadeInLeft 1s ease-in-out;
  }
  
  .why-choose-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
  }
  
  .why-choose-image img:hover {
    transform: scale(1.05);
  }
  
  /* Content Styling */
  .why-choose-content {
    flex: 1.2;
    min-width: 380px;
    animation: fadeInRight 1s ease-in-out;
  }
  
  .section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a4d2e;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
  }
  
  .section-heading::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #f2c335;
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 2px;
  }
  
  /* Each Item */
  .choose-item {
    margin-bottom: 20px;
    background: #f9f9f9;
    border-left: 4px solid #f2c335;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .choose-item:hover {
    transform: translateY(-3px);
    background: #fff8e1;
  }
  
  .choose-item h3 {
    color: #1a4d2e;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
  }
  
  .choose-item p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
  }
  
  /* Animations */
  @keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .why-choose-container {
      flex-direction: column;
      gap: 40px;
    }
  
    .why-choose-content {
      text-align: left;
    }
  
    .section-heading {
      font-size: 1.8rem;
      text-align: center;
    }
  }
  
  @media (max-width: 600px) {
    .why-choose-section {
      padding: 50px 5%;
    }
  
    .choose-item h3 {
      font-size: 1rem;
    }
  
    .choose-item p {
      font-size: 0.9rem;
    }
  }
  
  /* ===== PERFORMANCE STATS ===== */
  .stats-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: center;
  }
  .stat-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 35px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity:0;
  }
  .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  }
  .stat-card h3 {
    color: var(--green);
    font-size: 2.5rem;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .stat-card p {
    color: #0e0d0d;
    font-size: 1rem;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeInUp {
    0% {opacity:0; transform: translateY(20px);}
    100% {opacity:1; transform: translateY(0);}
  }
  @keyframes fadeInRight {
    0% {opacity:0; transform: translateX(20px);}
    100% {opacity:1; transform: translateX(0);}
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width:900px){
    .why-solar-container {flex-direction: column; gap:25px;}
    .why-solar-text, .why-solar-image {animation:none; opacity:1;}
    .stats-grid {grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));}
  }
  
  /* ================= PERFORMANCE OVERVIEW ================= */

#performance.section {
    background-image: url('../images/whitebg2.jpg');
    background-size: cover;
    background-position: center;
  }
.performance-section {
    background: transparent;
    padding: 80px 10%;
    text-align: center;
    overflow: hidden;
  }
  
  .performance-section .section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #7ac943; /* Deep green for solar theme */
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .performance-section .section-heading::after {
    content: "";
    width: 100px;
    height: 4px;
    background: #4d7c38; /* Yellow accent from logo */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 5px;
  }
  
  .performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  
  .performance-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  .performance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .performance-card h3 {
    font-size: 2.2rem;
    color: #7ac943;
    font-weight: 800;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }
  
  .performance-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
  }
  
  .performance-card:hover h3 {
    color: #4d7c38;
  }
  
  @media (max-width: 768px) {
    .performance-section {
      padding: 60px 5%;
    }
  
    .performance-card {
      padding: 30px 20px;
    }
  
    .performance-card h3 {
      font-size: 1.8rem;
    }
  }
  
  /* Slide Left Animation */
 .slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s ease-out;
  }
  
  .slide-left.show {
    opacity: 1;
    transform: translateX(0);
  }

  /* ===== Slide Right ===== */
.slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s ease-out;
  }
  
  .slide-right.show {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* ===== Slide Up ===== */
  .slide-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease-out;
  }
  
  .slide-up.show {
    opacity: 1;
    transform: translateY(0);
  }
  
    #contact.section.dark {
    background-image: url('../images/blackbg2.jpg');
    background-size: cover;
    background-position: center;
  }