/* ================= HERO BACKGROUND STYLE ================= */

.tw-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("images/home-page.jpg") no-repeat right center;
    background-size: contain;
    background-color: #111;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
}

/* Dark Gradient Overlay */
.tw-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 40%,
        rgba(0,0,0,0.5) 70%,
        rgba(0,0,0,0.1) 100%
    );
}

/* TEXT CONTENT */
.tw-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.tw-hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.tw-hero-content h1 span {
    color: #f4b400;
}

.tw-hero-content p {
    margin: 20px 0 35px;
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
}

/* BUTTONS */
.tw-hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #f4b400;
    color: #000;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #ffcc33;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #f4b400;
    color: #f4b400;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #f4b400;
    color: #000;
}

/* ================= FEATURES ================= */

.tw-features {
    padding: 80px 8%;
    text-align: center;
}

.tw-features h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* ================= BATTERY ================= */
.battery-section {
  padding: 80px 5%;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

.battery-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;   /* SAME HEIGHT ALIGNMENT */
  justify-content: space-between;
  gap: 60px;
}

.battery-content {
  flex: 1;
}

.battery-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 35px;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon {
  width: 40px;
  height: 40px;
  background: #ffc107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.feature-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.battery-image {
  flex: 1;
  text-align: center;
}

.battery-image img {
  max-height: 360px;   /* CONTROL SIZE */
  width: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 992px) {
  .battery-wrapper {
    flex-direction: column;
    text-align: left;
  }

  .battery-image img {
    max-height: 300px;
  }
}
/* ================= WHY ================= */

.tw-why {
    padding: 80px 8%;
    text-align: center;
}

.tw-why h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.why-card {
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ================= EV PERFORMANCE SECTION ================= */

.ev-performance {
  padding: 100px 20px;
  background: linear-gradient(to bottom,#fff8e1, #ffffff);
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.section-header p {
  max-width: 700px;
  margin: auto;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* Grid Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Feature Card */
.feature-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Icon */
.feature-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  background: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  color: #000;
  transition: 0.3s;
}

.feature-card:hover .icon {
  background: #000;
  color: #ffcc00;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #111;
}

.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }

  .ev-performance {
    padding: 70px 15px;
  }
}
