﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body
 {
  
overflow-x: hidden;
  margin: 0;
  padding: 0;

font-family: 'Poppins', sans-serif;
  
line-height: 1.6;
  
font-size: 16px;
  color: #333;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;

}


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


/* ✅ HEADER / NAVBAR */

header
 {
  
background-color: #003366;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}


.header-flex
 {
  
display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 30px;
  width: 100%;
}


.navbar-left,
.navbar-center-wrapper,

.navbar-right 
{
 
 display: flex;
  align-items: center;
}

.navbar-left {
  flex: 1;
}

.logo {
  height: 80px;
  width: auto;
  margin-right: 10px;
  object-fit: contain;
}

.company-name {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  white-space: nowrap;  /* Prevents line break */
}


.navbar-center
 {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
}


.navbar-center li a
 {
  
color: white;
  text-decoration: none;
 
 font-weight: bold;

}


.navbar-center li a:hover {
  text-decoration: underline;

}


.navbar-right
 {
 
 flex: 1;
  flex-direction: column;
  text-align: right;
}


.navbar-right p 
{
  
font-size: 14px;
  color: white;
  margin: 2px 0;

}


/* ✅ HERO SECTION */

.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
}

.hero-content
 {
 
 position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  padding: 0 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}


.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}


.btn {
  background-color: #fca311;
  color: #002B5B;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffb703;
}

/* ✅ HOME / ABOUT / WHY US SHARED STYLES */
section {
  padding: 60px 20px;
}

.home-container,
.about-row,
.why-row,
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.home-box,
.about-box,
.why-box,
.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.home-text h2,
.about-text h2,
.why-text h2 {
  font-size: 2.5rem;
  color: #023e8a;
  margin-bottom: 20px;
}

.solar-bullets {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.solar-bullets li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

/* ✅ SLIDERS */
.fade-slider-home,
.fade-slider,
.fade-slider-why {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}


.fade-img-home,
.fade-img,
.fade-img-why {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  top: 0;
  left: 0;
  opacity: 0;
}


/* Animations */

@keyframes fade3Images {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}


.fade-img-home:nth-child(1) { animation: fade3Images 15s infinite 0s; }
.fade-img-home:nth-child(2) { animation: fade3Images 15s infinite 5s; }
.fade-img-home:nth-child(3) { animation: fade3Images 15s infinite 10s; }

.fade-img:nth-child(1) { animation: fade3Images 20s infinite 0s; }
.fade-img:nth-child(2) { animation: fade3Images 20s infinite 5s; }
.fade-img:nth-child(3) { animation: fade3Images 20s infinite 10s; }
.fade-img:nth-child(4) { animation: fade3Images 20s infinite 15s; }

.fade-img-why:nth-child(1) { animation: fade3Images 20s infinite 0s; }
.fade-img-why:nth-child(2) { animation: fade3Images 20s infinite 5s; }
.fade-img-why:nth-child(3) { animation: fade3Images 20s infinite 10s; }
.fade-img-why:nth-child(4) { animation: fade3Images 20s infinite 15s; }

/* ✅ CONTACT SECTION */
.contact-info h2,
.contact-form h3 {
  color: #023e8a;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-info a {
  color: #0077b6;
  text-decoration: none;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  padding: 10px 15px;
  background-color: #0077b6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #023e8a;
}

/* ✅ FOOTER */
.site-footer {
  background-color: #003049;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}

/* ✅ SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
.navbar-right p {
  font-size: 14px;
  color: white;
  margin: 4px 0;
}
  background-color: #f39c12;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #e67e22;
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .navbar-center {
    flex-direction: column;
    align-items: center;
  }

  .navbar-right {
    text-align: center;
  }

  .navbar-left,
  .navbar-center-wrapper,
  .navbar-right {
    flex: unset;
    width: 100%;
    justify-content: center;
  }

  .fade-slider-home,
  .fade-slider,
  .fade-slider-why {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .company-name {
    font-size: 24px;
  }

  .navbar-right p {
    font-size: 12px;
  }
}
.navbar-center-wrapper {
  margin-left: 60px;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  animation: slideBackground 18s infinite;
  z-index: 1;
}
@keyframes slideBackground {
  0%   { background-image: url('img1.jpg'); }
  25%  { background-image: url('img2.jpg'); }
 	 50%  { background-image: url('img18.jpeg'); }
  75%  { background-image: url('img15.jpeg'); }
  100% { background-image: url('img1.jpg'); }
}
/* Remove background box */
.some-section {
  width: 100%;
}

