/* ==========================================================================
   GLOBAL STYLES & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #111827;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  width: 100%;
  height: 75px;
  background-color: #23d28b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar h1 {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navbar a:hover,
.navbar a.active,
.dropdown:hover .dropbtn {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 10px 18px;
  background-color: transparent;
  font-family: inherit;
  cursor: pointer;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  z-index: 1001;
}

.dropdown-content a {
  color: #111827;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #23d28b;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Benefits Section */
.benefits-header {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.benefits-header h4 {
  color: #23d28b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.benefits-header h1 {
  color: #111827;
  font-size: 2.2rem;
  font-weight: 700;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

/* Card Styling */
.card {
  background-color: #f9fbfd;
  /* Subtle off-white background */
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  /* Soft drop shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle hover effect */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Icon style */
.card-icon {
  font-size: 40px;
  color: #61d3a5;
  margin-bottom: 20px;
}

.card-icon img {
  width: 50px;
  height: auto;
}

/* Card Heading */
.card h2 {
  font-size: 1.25rem;
  color: #111111;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Card Paragraph */
.card p {
  font-size: 0.9rem;
  color: #777777;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  /* Keeps buttons aligned across cards */
}

/* Pill Button Styling */
.card-btn {
  background-color: #23d28b;
  /* Vibrant green button */
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 25px;
  /* Makes the button rounded */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.card-btn:hover {
  background-color: #1cb577;
}

/* Slideshow Container */
.slideshow-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Hide images by default */
.mySlides {
  display: none;
  position: relative;
}

.mySlides img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Gradient overlay for contrast */
.mySlides::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(17, 24, 39, 0.7) 100%);
  pointer-events: none;
}

.mySlides .text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-decoration: none;
}

.prev {
  left: 25px;
}

.next {
  right: 25px;
}

.prev:hover,
.next:hover {
  background-color: #23d28b;
  border-color: #23d28b;
  transform: translateY(-50%) scale(1.1);
}

/* Indicators container & pills */
.dot-container {
  text-align: center;
  margin-top: -35px;
  margin-bottom: 30px;
  position: relative;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 8px;
  width: 24px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  display: inline-block;
  transition: all 0.4s ease;
}

.active,
.dot:hover {
  background-color: #23d28b;
  width: 40px;
  opacity: 1;
}

/* Mobile responsive slider */
@media screen and (max-width: 600px) {
  .mySlides img {
    height: 280px;
  }

  .mySlides .text {
    font-size: 1.2rem;
    padding: 8px 20px;
    bottom: 40px;
  }

  .prev,
  .next {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* button */


/* =========================================================
   PAGE BANNER
   ========================================================= */

.banner-image-container {
  width: 100%;
  overflow: hidden;
}


/* Banner wrapper */
.banner-image {
  position: relative;

  width: 100%;

  height: 480px;

  overflow: hidden;

  background-color: #111827;
}


/* Banner image */
.banner-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}


/* Dark overlay like the slideshow image */
.banner-overlay {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.65));
}


/* Banner title */
.banner-text {
  position: absolute;

  left: 50%;
  bottom: 55px;

  transform: translateX(-50%);

  width: 90%;

  text-align: center;

  color: #ffffff;

  font-size: 3rem;

  font-weight: 800;

  letter-spacing: 1px;

  line-height: 1.2;

  z-index: 2;

  text-shadow:
    2px 3px 8px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

  .banner-image {
    height: 400px;
  }

  .banner-text {
    font-size: 2.4rem;

    bottom: 45px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

  .banner-image {
    height: 300px;
  }

  .banner-text {
    font-size: 1.8rem;

    bottom: 35px;

    width: 90%;
  }

}


/* Small phone */
@media screen and (max-width: 400px) {

  .banner-image {
    height: 250px;
  }

  .banner-text {
    font-size: 1.5rem;

    bottom: 25px;
  }

}

/* =========================
   YOUTUBE VIDEO SECTION
   ========================= */

.video-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.video-header {
  text-align: center;
  margin-bottom: 35px;
}

.video-header h5 {
  color: #23d28b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.video-header h2 {
  color: #111827;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.video-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}


/* Responsive video */
.video-container {
  position: relative;

  width: 100%;

  padding-bottom: 56.25%;

  height: 0;

  overflow: hidden;

  border-radius: 15px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* Explanation Section */

.explaination-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.exp-header {
  text-align: center;
  margin-bottom: 30px;
}

.exp-subtitle {
  color: #23d28b;
  /* Matching EV mint green color */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.exp-title {
  color: #111827;
  /* Dark modern header text */
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.exp-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.exp-img-box {
  flex: 1;
  max-width: 500px;
}

.exp-img-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* Rounded corners */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  /* Soft drop shadow */
  display: block;
  object-fit: cover;
}

.exp-text-box {
  flex: 1;
}

.exp-text-box p {
  color: #4b5563;
  /* Soft readable dark grey */
  font-size: 1.05rem;
  line-height: 1.8;
  /* Improves readability */
  margin: 0;
}

/* Responsive adjustment for tablet and mobile screens */
@media screen and (max-width: 768px) {
  .exp-content {
    flex-direction: column;
    gap: 24px;
  }

  .exp-img-box {
    max-width: 100%;
  }

  .exp-title {
    font-size: 1.75rem;
  }
}

#benefits .navbar a.nav-active {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Intro image */
.benefits-intro-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.benefits-article-container {
  max-width: 1150px;
  margin: 70px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.article-introduction {
  max-width: 850px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.8;
}

.benefit-row {
  scroll-margin-top: 105px;
  display: flex;
  align-items: center;
  gap: 45px;
  margin-bottom: 70px;
  padding: 35px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  border: 1px solid #edf0ef;
}

.benefit-row.reverse {
  flex-direction: row-reverse;
}

.benefit-image {
  flex: 0 0 40%;
}

.benefit-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.benefit-text {
  flex: 1;
}

.benefit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1cb577;
  background: #effcf6;
  padding: 7px 14px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.benefit-text h2 {
  color: #111827;
  font-size: 1.7rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}

.benefit-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65px;
  height: 3px;
  border-radius: 3px;
  background-color: #23d28b;
}

.benefit-text p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 16px;
}

.benefit-text p:last-child {
  margin-bottom: 0;
}

/* Responsive layout */
@media screen and (max-width: 850px) {

  .benefit-row,
  .benefit-row.reverse {
    flex-direction: column;
    gap: 28px;
    padding: 25px;
  }

  .benefit-image {
    flex: none;
    width: 100%;
  }

  .benefit-image img {
    height: 300px;
  }
}

@media screen and (max-width: 500px) {
  .benefit-image img {
    height: 220px;
  }

  .benefit-row {
    padding: 20px;
    margin-bottom: 40px;
  }

  .benefit-text h2 {
    font-size: 1.45rem;
  }

  .benefits-intro-img img {
    height: 250px;
  }
}

/* =========================================================
   ELECTRIC CAR COMPONENTS - FLIP CARD SECTION
   ========================================================= */

/* Whole section */
.components-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Section heading */
.components-header {
  text-align: center;
  margin-bottom: 45px;
}

.components-title {
  color: #111827;
  font-size: 2.2rem;
  font-weight: 700;
}

/* 3 cards per row */
.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}


/* =========================================================
   FLIP CARD
   ========================================================= */

.flip-card {
  background-color: transparent;

  /* Card size */
  width: 100%;
  max-width: 350px;
  height: 300px;

  /* Needed for 3D flip effect */
  perspective: 1000px;
}


/* Container for front and back */
.flip-card-inner {
  position: relative;

  width: 100%;
  height: 100%;

  text-align: center;

  transition: transform 0.8s ease;

  transform-style: preserve-3d;

  border-radius: 15px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* Flip horizontally when hovering */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}


/* Front and back sides */
.flip-card-front,
.flip-card-back {
  position: absolute;

  width: 100%;
  height: 100%;

  top: 0;
  left: 0;

  border-radius: 15px;

  overflow: hidden;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* =========================================================
   FRONT SIDE
   ========================================================= */

.flip-card-front {
  background-color: #ffffff;

  color: #111827;

  border: 1px solid #e5e7eb;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;
}


/* Component image */
.flip-card-front img {
  width: 100%;

  height: 220px;

  object-fit: cover;

  display: block;
}


/* Component name */
.flip-card-front h3 {
  width: 100%;

  padding: 18px 15px;

  font-size: 1.2rem;

  font-weight: 700;

  color: #111827;

  background-color: #ffffff;

  margin: 0;
}


/* =========================================================
   BACK SIDE
   ========================================================= */

.flip-card-back {
  background-color: #23d28b;

  color: #ffffff;

  transform: rotateY(180deg);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 35px;
}


/* Back side paragraph */
.flip-card-back p {
  font-size: 1rem;

  line-height: 1.7;

  color: #ffffff;

  margin: 0;

  max-width: 280px;
}


/* Optional decorative line */
.flip-card-back::before {
  content: "";

  width: 55px;

  height: 4px;

  background-color: #ffffff;

  border-radius: 10px;

  margin-bottom: 20px;
}


/* =========================================================
   HOVER EFFECT
   ========================================================= */

.flip-card:hover .flip-card-inner {
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* Tablet - 2 cards per row */
@media screen and (max-width: 992px) {

  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* Phone - 1 card per row */
@media screen and (max-width: 650px) {

  .components-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    max-width: 400px;
    height: 300px;
  }

}


/* Small phone */
@media screen and (max-width: 400px) {

  .flip-card {
    height: 280px;
  }

  .flip-card-front img {
    height: 200px;
  }

  .flip-card-back {
    padding: 25px;
  }

  .flip-card-back p {
    font-size: 0.9rem;
  }

}

/* =========================================================
   ALL INTRO SECTION
   ========================================================= */

.about-container {
  max-width: 1350px;
  margin: 70px auto 90px auto;
  padding: 0 30px;
  font-family: Arial, sans-serif;
}


/* =========================
   SECTION HEADER
   ========================= */

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-subtitle {
  color: #23d28b;

  font-size: 1rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 2px;

  margin-bottom: 12px;
}

.about-title {
  color: #111827;

  font-size: 3rem;
  font-weight: 700;

  line-height: 1.2;

  margin: 0;
}


/* =========================
   IMAGE + TEXT LAYOUT
   ========================= */

.about-content {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 60px;
}


/* =========================
   IMAGE
   ========================= */

.about-img-box {
  flex: 1.1;
}

.about-img-box img {
  width: 100%;

  height: 300px;

  object-fit: cover;

  display: block;

  border-radius: 15px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* =========================
   TEXT
   ========================= */

.about-text-box {
  flex: 1;
}

.about-text-box p {
  color: #374151;

  font-size: 1.1rem;

  line-height: 1.9;

  margin: 0;
}


/* Make strong words slightly darker */
.about-text-box strong {
  color: #111827;
  font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 992px) {

  .about-container {
    max-width: 900px;
  }

  .about-content {
    gap: 35px;
  }

  .about-img-box img {
    height: 400px;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-text-box p {
    font-size: 1rem;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

  .about-container {
    margin: 50px auto 60px auto;
    padding: 0 20px;
  }

  .about-header {
    margin-bottom: 35px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 0.85rem;
  }

  .about-content {
    flex-direction: column;

    gap: 30px;
  }

  .about-img-box {
    width: 100%;
  }

  .about-img-box img {
    width: 100%;

    height: 330px;
  }

  .about-text-box {
    width: 100%;
  }

  .about-text-box p {
    font-size: 1rem;

    line-height: 1.8;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 480px) {

  .about-title {
    font-size: 1.7rem;
  }

  .about-img-box img {
    height: 240px;
  }

}

/* ==========================================================================
   BENEFITS EXPLANATION SECTION
   ========================================================================== */
.explanation-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.explanation-header {
  text-align: center;
  margin-bottom: 35px;
}

.explanation-subtitle {
  color: #23d28b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.explanation-title {
  color: #111827;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.explanation-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.explanation-img-box {
  flex: 1;
  max-width: 500px;
}

.explanation-img-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: block;
  object-fit: cover;
}

.explanation-text-box {
  flex: 1;
}

.explanation-text-box p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .explanation-content {
    flex-direction: column;
    gap: 24px;
  }

  .explanation-img-box {
    max-width: 100%;
  }

  .explanation-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   EV TYPES SECTION (STRICT 2x2 GRID)
   ========================================================================== */
.types-container {
  max-width: 1200px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

.types-header {
  text-align: center;
  margin-bottom: 40px;
}

.types-title {
  font-size: 2.2rem;
  color: #0b132b;
  font-weight: 700;
}

/* 2x2 Grid Layout */
.ev-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Individual Card */
.ev-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Image Wrapper Fix */
.ev-card-img {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f0f0f0;
}

.ev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.ev-card:hover .ev-card-img img {
  transform: scale(1.05);
}

/* Card Text Body Fix */
.ev-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ev-card-body h3 {
  font-size: 1.3rem;
  color: #0b132b;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.ev-card-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #23d28b;
  border-radius: 2px;
}

.ev-card-body p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 8px;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
  .ev-types-grid {
    grid-template-columns: 1fr;
  }
}

/* Charging Guideline Subtitle */
.charging-subtitle {
  color: #140661;
  font-size: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Brand Image Formatting */
.brand-img-box {
  width: 100%;
  max-width: 100%;
}

.brand-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #111827;
  color: #9ca3af;
  padding-top: 50px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3,
.footer-brand {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-brand {
  font-size: 1.8rem;
  color: #23d28b;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #23d28b;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-contact i {
  color: #23d28b;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1f2937;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  background-color: #23d28b;
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #0b0f17;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  border-top: 1px solid #1f2937;
}