body {
  font-family: "Lato", sans-serif;
  background-color: #f8f9fa;
}
body,
html {
  overflow-x: hidden; /* Hide horizontal scroll */
}
@media (max-width: 768px) {
    #heroCarousel .carousel-item img {
      height: 40vh; /* Smaller height on mobile */
    }
  }

.top-bar {
  background-color: #084982;
  color: white;
  padding: 0.5rem 0;
  max-width: 100%;
  margin: 0 auto;
}
.top-bar .social-icons a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}
.top-bar .social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.navbar {
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
}
.navbar-brand img {
  width: 150px;
}
@media (max-width: 576px) {
  .navbar-brand img {
    width: 50%;
  }
}
.navbar-nav .nav-link {
  color: black;
  white-space: nowrap;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}
.navbar-nav .nav-link:hover {
  color: white;
  background-color: #084982;
}
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active {
  background-color: #084982 !important;
  color: #ffffff !important;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #084982 !important; /* Change to your desired color */
  color: #ffffff !important; /* Ensure text remains visible */
}

/* Sticky Navbar */
.navbar.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 0.5rem 0; /* Reduce padding when sticky */
}

.btn-quote {
  background-color: #084982;
  color: #fff !important;
  border: 2px solid #fff !important;
  padding: 5px 15px;
  font-weight: bold;
}

.service-btn-quote {
  background-color: #084982;
  border: 2px solid #084982 !important;
  padding: 5px 15px;
  font-weight: bold;
}

.btn-quote:hover {
  background-color: #eb963e !important; /* Change background color on hover */
  color: white; /* Ensure text remains white */
  border: 2px solid #eb963e !important; /* Change border color on hover */
}
.service-btn-quote:hover {
  background-color: #eb963e !important; /* Change background color on hover */
  color: white; /* Ensure text remains white */
  border: 2px solid #eb963e !important; /* Change border color on hover */
}
.carousel-item img {
  /* height: 500px; */
  object-fit: cover;
}
@media (max-width: 576px) {
  .carousel-item img {
    height: 300px;
  }
}
.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}
.quote-section {
  background-color: #084982;
  color: white;
  padding: 40px 0;
  text-align: center;
}
.quote-section .form-control {
  padding: 12px;
  border-radius: 5px;
}
.quote-section .input-group-text {
  background-color: white;
  border: none;
}
.quote-section .btn {
  background-color: white;
  color: #084982;
  font-weight: bold;
  border-radius: 5px;
}
.quote-section .btn:hover {
  background-color: #063567;
  color: white;
}
.form-label {
  color: #333 !important;
}
.modal-title {
  color: #333 !important;
}
.parallax-section {
  background-image: url("assets/image/parallax-bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}
@media (max-width: 576px) {
  .parallax-section {
    background-attachment: scroll;
  }
}
/* Services Section */
.services-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa; /* Light background */
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 30px;
}

.divider hr {
  width: 80px;
  border: 1px solid #084982;
  margin: 0 10px;
}

.divider img {
  width: 20px; /* Adjust based on your icon */
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Service Card */
.service-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Title Section - Full Width Fix */
.service-title {
  background-color: #333;
  color: white;
  font-size: 18px;
  padding: 10px;
  width: calc(100% + 40px); /* Ensure full width including padding */
  margin: 0 -20px 10px -20px; /* Negative margins to compensate for padding */
  text-align: center;
  display: block;
  font-weight: bold;
}

/* Add a floating effect to the images */
.service-card img {
  max-width: 100%;
  height: 150px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hover Effect - Floating Animation */
.service-card:hover img {
  transform: translateY(-10px); /* Move the image slightly up */
  opacity: 0.9; /* Make it slightly transparent */
}

.service-card p {
  color: #555;
  font-size: 14px;
  padding: 10px 15px;
}

/* Button Group */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

/* Buttons */
.btn-learn,
.btn-quote {
  display: inline-block;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s;
}

/* Learn More Button */
.btn-learn {
  background-color: #084982;
  color: white;
}

.btn-learn:hover {
  background-color: #eb963e;
}

/* Get Quote Button */
.btn-quote {
  background-color: #eb963e;
  color: white;
}

.btn-quote:hover {
  background-color: #d57729;
}
/* Services Section Styling */
.services-info-section {
  background-color: #084982;
  color: white;
  padding: 40px 0;
  text-align: left;
}

/* Solar Panel Image */
.solar-panel-img {
  max-width: 100%;
  height: auto;
}

/* Info Box Styling */
.info-box {
  display: flex;
  flex-direction: column; /* Stack content correctly */
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 5px;
  padding: 10px 0;
}

.info-box-header {
  display: flex;
  align-items: center; /* Keep them vertically aligned */
  gap: 10px; /* Space between icon & heading */
  margin-bottom: 5px;
}

/* Heading Styling */
.info-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Paragraph Styling */
.info-box p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
/* Icon Styling */
/* Keep the background static */
.animate-icon {
  font-size: 40px;
  background: white;
  border-radius: 50%;
  padding: 12px;
  color: #084982;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; /* Ensure fixed width */
  height: 60px; /* Ensure fixed height */
}

/* Apply animation ONLY to the icon (not the background) */
.animate-icon i {
  animation: animate__flip 3s infinite ease-in-out;
}

.animate-icon i {
  animation: animate__flip 3s infinite ease-in-out;
}

/* Different animation durations for variety */
.info-box:nth-child(1) .animate-icon i {
  animation-duration: 2s;
}
.info-box:nth-child(2) .animate-icon i {
  animation-duration: 3s;
}
.info-box:nth-child(3) .animate-icon i {
  animation-duration: 4s;
}
.info-box:nth-child(4) .animate-icon i {
  animation-duration: 5s;
}

.left-space {
  padding-left: 20%;
  text-align: justify;
}
/* Section Styling */
.awards-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa; /* Light background */
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

/* Grid Layout */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(150px, 1fr)
  ); /* Responsive grid */
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Award Item Styling */
.award-item {
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.award-item:hover {
  transform: scale(1.05);
}

/* Award Images */
.award-item img {
  max-width: 100%;
  height: auto;
}

/* Powerwall Specific Styling */
.powerwall {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powerwall p {
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}
/* Section Styling */
.installation-experience {
  background: url("assets/image/solar-panels-bg.jpg") center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  text-align: center;
  position: relative;
}

/* Overlay Effect for Better Readability */
.installation-experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

/* Ensure Content Stays Above the Overlay */
.installation-experience .container {
  position: relative;
  z-index: 2;
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Stats Grid Layout */
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* Individual Stat Item */
.stat-item {
  text-align: center;
  min-width: 200px;
}

/* Counter Number */
.stat-item h3 {
  font-size: 55px;
  font-weight: bold;
  margin: 0;
}

/* Description Text */
.stat-item p {
  font-size: 16px;
  opacity: 0.8;
  margin-top: 5px;
}
/* Section Styling */
.packages-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.section-title span {
  color: #084982; /* Highlight color */
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.divider hr {
  width: 80px;
  border: 1px solid #084982;
  margin: 0 10px;
}

.divider i {
  font-size: 18px;
  color: #084982;
}

/* Package Card */
.package-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Package Image */
.package-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Package Title */
.package-title {
  background-color: #333;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  margin-bottom: 15px;
}

/* Buttons */
.btn-primary {
  background-color: #084982;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.btn-dark {
  background-color: #333;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 10px;
}

/* Features List */
.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.package-features li {
  font-size: 14px;
  padding: 5px;
  display: flex;
  align-items: center;
}

.package-features li::before {
  content: "✔";
  color: #084982;
  font-weight: bold;
  margin-right: 8px;
}
/* Section Styling */

/* Section Styling */
/* General Section Styling */
.brands-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.section-title span {
  color: #084982;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.divider hr {
  width: 80px;
  border: 1px solid #084982;
  margin: 0 10px;
}

.divider i {
  font-size: 18px;
  color: #084982;
}

/* Brand Category Titles */

.brand-category {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
  text-align: left;
}

/* Infinite Scroll Effect */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  } /* Adjust to number of images */
}

.slider {
  background: white;
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 100px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(250px * 22);
  animation: scroll 30s linear infinite;
  animation-delay: 5s;
  animation-fill-mode: forwards;
  transition: opacity 2s ease-in;
}
.slider:hover .slide-track {
  opacity: 1;
}
.slide-panel {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-panel img {
  max-height: 80px;
  width: auto;
  max-width: 120px;
}

/* Battery Brands (Static) */
.battery-brands {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.battery-brands img {
  max-height: 80px;
  width: auto;
  max-width: 120px;
}

#projects-completed {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 30px;
  text-transform: uppercase;
}
