:root {
  --bs-blue: #0070bb;
}

.text-primary {
  color: var(--bs-blue) !important;
}

body {
  font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Sans', sans-serif;
  font-weight: 700; /* Bolder for headings */
}

p, span, a, li, div {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
}

.btn-primary {
  background-color: #0070bb; /* Bootstrap blue */
  border-color: #0070bb;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #084298; /* Darker blue on hover */
  border-color: #084298;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.section-heading {
  /* max-width: 700px; */
  margin: 0 auto;
  animation: fadeInSlideUp 0.8s ease-in-out;
}

.section-title {
  /* font-size: 2.5rem; */
  font-weight: bold;
  color: #0070bb; /* Bootstrap primary blue */
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #0070bb; /* Blue line */
  margin: 8px auto 0;
}

.section-subtitle {
  font-size: 1rem;
  color: #5a7dba; /* Softer blue/gray tone */
  margin-top: 0.5rem;
}

/* Fade-in animation */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/*
==========================
Header CSS
==========================
*/
.header {
  background-color: #0070bb; /* Bootstrap blue */
  padding: 10px 0;
}
.header a, .header span {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
    .logo img {
      height: 60px; /* Adjust logo height */
    }
}

/*
==========================
Hero Banner + Form CSS
==========================
*/
.bannerWrapper {
  position: relative; /* Good: So that the overlay positions absolutely inside it */
  min-height: 100% !important; /* Make sure wrapper also has minimum height */
  min-height: 600px;
  overflow: hidden;
}

.bannerWrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 50, 0.5), rgba(0, 50, 100, 0.2));
  z-index: 1;
}
@media (max-width: 768px) {
  .bannerWrapper::before {
    background: none; /* Remove dark overlay on mobile */
  }
}

/* Default (Desktop) */
.banner-slider .item img {
  object-fit: cover; /* Good: Images fully cover the slide */
  height: 550px; /* ✅ You fixed height (optional) */
  width: 100%;
}

/* Tablet Devices */
@media (max-width: 1199.98px) {
  .banner-slider .item img {
    height: 400px;
  }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
  .banner-slider .item img {
     height: 200px;
    height: auto;
  }
}

.form-overlay-side {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%; /* Full width to allow flex-end */
  background: rgba(255, 255, 255, 0); /* (Optional) Light transparent background if needed */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Push the form to right */
  z-index: 10; /* 👍 Bring the form above the slider */
  padding: 2rem 0;
}

.form-overlay-side .animate__fadeInRight {
  animation: fadeInSlideRight 1s ease forwards;
}

.owl-carousel,
.owl-carousel .owl-stage-outer {
  height: 100%; /* Important to make carousel full height */
}

/* Animation for form */
@keyframes fadeInSlideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Frosted glass blur */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3); /* Soft border */
  border-radius: 1rem; /* More rounded corners */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Deep soft shadow */
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.input-group-text {
  border-right: 0;
}

.form-control {
  border-left: 0;
}

@media (max-width: 768px) {
  .form-overlay-side {
    justify-content: center !important; /* Center the form on small screens */
    padding: 1rem;
  }
  .glass-card {
    background: #8fd1fd;
    backdrop-filter: blur(10px);
  }
}

/*
==========================
whySection CSS
==========================
*/
.whySection {
  background-color: #f8f9fa; /* Light grey background */
}

.why-slider .owl-item img {
  transition: transform 0.3s ease;
  width: 40%;
}
.why-slider .owl-item:hover img {
  transform: scale(1.1);
}

.fact-item {
  /* min-height: 180px; */
  background: transparent;
  /*border-radius: 0.75rem;*/
  overflow: hidden;
  transition: all 0.4s ease;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
  /* margin-top: 10px; */
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  align-items: center;
}

.fact-item:hover {
  transform: translateY(-10px);
  /* box-shadow: 0 6px 20px rgba(0,0,0,0.12); */
}

.fact-item img {
  /* max-width: 100px; */
  height: auto;
  width: 75% !important;
  transition: transform 0.3s ease;
}

.fact-item:hover img {
  transform: scale(1.2);
}

.fact-item h6 {
  font-size: 18px;
  /* color: #6c757d; */
}

/* 👇 Add this new part */
@media (max-width: 767.98px) {
  /* .why-slider {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
  }

  .why-slider .owl-item {
    width: 100% !important;
  }

  .why-slider .fact-item {
    flex: 0 0 48%;
    margin: 0 auto;
  } */

  .fact-item {
    height: 100%;
  }
}

/*
==========================
Battery Card CSS
==========================
*/
.battery-item {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Very Important */
  min-height: 180px;
}

/* 2. Hover effect */
.battery-item:hover {
  transform: translateY(-10px); /* Lift more cleanly */
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.battery-item .card-img-top {
  max-height: 120px; /* control image size if needed */
  object-fit: contain;
  padding: 1rem;
}

.battery-title a {
  font-size: 1rem;
  font-weight: 600;
  color: #0070bb;
  transition: color 0.3s ease;
}

.battery-title a:hover {
  color: #0070bb; /* Bootstrap primary blue */
}

/* 3. OWL Carousel Overflow Handling */
.owl-carousel {
  overflow: hidden; /* Keep carousel inside container */
}

.owl-carousel .owl-stage-outer {
  overflow: visible !important; /* Allow card lift */
}

/* 4. IMPORTANT: Remove negative margins if owl-item has */
.owl-carousel .owl-item {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/*
==========================
WHO WE ARE CSS
==========================
*/
.section-intro .small-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #0056d2; /* Blue theme color */
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}

.section-intro .small-title::before,
.section-intro .small-title::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #000;
  vertical-align: middle;
  margin: 0 10px;
}

.section-intro .main-heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'PT Sans', sans-serif;
}

.section-intro .description {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/*
==========================
CallToAction CSS
==========================
*/
.CallToActionSection .icon img {
    width: 150px;
}

/*
==========================
Partners CSS
==========================
*/
.partner-item {
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*
==========================
FAQs CSS
==========================
*/
.faq-section {
  background-color: #f5f7fa;
}

/* .accordion-button:not(.collapsed) {
  color: #0070bb;
  background-color: #fff;
  box-shadow: none;
  border-color: #0070bb;
}

.accordion-button::after {
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" fill="%230d6efd" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill-rule="evenodd" d="M1.5 8a.5.5 0 0 1 .5-.5h5.5V2a.5.5 0 0 1 1 0v5.5h5.5a.5.5 0 0 1 0 1H8.5V14a.5.5 0 0 1-1 0V8.5H2a.5.5 0 0 1-.5-.5z"/%3E%3C/svg%3E');
}

.accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" fill="%230d6efd" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8z"/%3E%3C/svg%3E');
} */

.accordion-item {
  border-radius: 0;
}

.accordion-button {
  border-radius: 0 !important;
  color: #0070bb;
  font-weight: 600; /* Bold font */
  background-color: #ffffff; /* White background when closed */
}

.accordion-button:not(.collapsed) {
  background-color: #e7f1ff; /* Light blue background when open */
  color: #084298; /* Darker blue for active/open header */
  font-weight: 700; /* Stronger bold when open */
}

.accordion-body {
  border-radius: 0;
  color: #555; /* Slightly softer text */
}


/*
==========================
Testimonial CSS
==========================
*/
/* .testimonial-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.testimonial-image {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-content {
  flex: 1;
  background: #dfefff;
  padding: 40px;
  border-radius: 10px;
  position: relative;
}
.testimonial-content:after {
	content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  border: solid transparent;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-right-color: #dfefff;
  border-width: 20px;
  margin-top: -20px;
}
.testimonial-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}
.testimonial-content h4 {
  color: #084298;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.owl-dots {
  text-align: center;
  margin-top: 20px;
}
.owl-dot span {
  width: 10px;
  height: 10px;
  background: #ccc;
  display: inline-block;
  margin: 5px;
  border-radius: 50%;
}
.owl-dot.active span {
  background: #084298;
} */

/* ✅ Responsive Adjustment */
/* @media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-content:after {
    display: none;
  }
} */

.testimonial-img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
}

.testimonial-box blockquote {
  background: #fff;
  padding: 39px 20px 27px 41px;
  box-shadow: 0 0 20px -3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-box blockquote p {
  font-size: 1em;
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 0;
}

.testimonial-box blockquote:before {
  top: 10px;
  left: 5px;
  font-size: 78px;
  color: #0070bb;
  content: "“";
  font-style: normal;
  line-height: 1;
  position: absolute;
}

/*
==========================
Highlight CSS
==========================
*/
.title-text {
  font-weight: bold;
  /* color: #084298; */
}

.sub-text {
  font-size: 18px;
  color: #555;
}


/*
==========================
Footer CSS
==========================
*/
.footer-menu li {
  position: relative;
  padding-left: 20px; /* space for icon */
}

.footer-menu li a {
  color: #bbb;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-menu li::before {
  content: "\f285"; /* Unicode for 'chevron-right' in Bootstrap Icons */
  font-family: 'Bootstrap-icons';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #0dcaf0; /* light blue color */
  transition: all 0.3s ease;
}

.footer-menu li a:hover {
  color: #0dcaf0;
  text-decoration: none;
}

.footer-menu li:hover::before {
  transform: translate(4px, -50%);
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #bbb; /* Make normal text light gray */
}

.footer-contact strong {
  color: #fff; /* Make labels like Address, Phone No. white */
}

.footer-contact a {
  color: #bbb; /* Links light gray */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #0dcaf0; /* Light blue on hover */
}

.footer-icon {
  color: #bbb;
  transition: color 0.3s;
}

.footer-icon:hover {
  color: #0dcaf0;
}

.footer-logo img {
  filter: brightness(0) invert(1);
}

.payment-card img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.payment-card img:hover {
  filter: brightness(0) invert(0.7);
}

/* .payment-card {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 15px 25px;
  display: inline-flex;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-logo {
  height: 30px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.payment-logo:hover {
  transform: scale(1.1);
  filter: brightness(0) invert(0.7);
} */

/* Hide footer by default */
.mobile-footer {
  display: none;
}

/* Show and style footer only on mobile */
@media only screen and (max-width: 768px) {
  .mobile-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1489d7;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
  }

  .mobile-footer a {
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 500;
  }

  .icon-wrapper {
    position: relative;
    top: -25px; /* raise the icon */
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .icon-circle img,
  .icon-circle i {
    width: 32px;
    height: 32px;
  }

  .call-now {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 4px;
  }

  .call-now i {
    font-size: 25px;
  }
}