/* Global */
* {margin:0; padding:0; box-sizing:border-box;}
body {font-family: 'Poppins', sans-serif; line-height:1.6; color:#fff; background:#1B1B2F;}
html {scroll-behavior:smooth;}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 5%;   /* Default padding */
  z-index: 1000;
  backdrop-filter: blur(6px);
  transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.shrink {
  padding: 0px 5%;    /* Shrunk padding */
  background: rgba(255, 255, 255, 0.95);
}

.navbar .logo {
  padding: 5px 10px;
  border-radius: 8px;
}

.navbar .logo img {
  height: 90px;       /* default size */
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.navbar.shrink .logo img {
  height: 60px;       /* shrunk size */
}

.nav-links {list-style:none; display:flex; gap:25px;}
.nav-links li a {
  color: #111; /* dark gray / black for readability */
  text-decoration: none;
  transition: color 0.3s, font-size 0.3s;
}

.navbar.shrink .nav-links li a {
  font-size: 0.95rem; /* slightly smaller on scroll */
}

.nav-links li a:hover {
  color: #FF0000;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #111; /* match menu text */
}

.nav-links.active {display:flex; flex-direction:column; gap:15px; background:#2C2C54; position:absolute; top:60px; left:0; width:100%; padding:20px 0;}

/* Hero */
.hero {
    position: relative;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('images/banner1.jpg') no-repeat center center/cover; /* Set your image */
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27,27,47,0.6); /* Slight dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #FFD700;
}

.hero .highlight {
    color: #00FFFF;
}

.hero .sub {
    font-size: 1.3rem;
    color: #F5F5F5;
}

.btn {
    background: #FFD700;
    color: #000;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(255,204,0,0.6);
}

.btn:hover {
    background: #ffea00;
    transform: scale(1.07);
    box-shadow: 0 0 20px #FFD700;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .sub { font-size: 1.2rem; }
    .btn { padding: 12px 30px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero .sub { font-size: 1rem; }
    .btn { padding: 12px 25px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero .sub { font-size: 0.9rem; }
    .btn { padding: 10px 20px; }
}


/* Sections */
.section {padding:100px 10%; text-align:center; color:#fff; background:#2C2C54; border-radius:15px; margin:30px 5px;}
.section h2 {font-size:2rem; margin-bottom:20px; color:#FFD700;}
.section h2::after {content:''; width:60px; height:4px; background:#00FFFF; display:block; margin:10px auto; border-radius:2px;}

/* Grids */
.battery-grid, .applied-grid {display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:25px; margin-top:40px;}
.battery-card, .applied-card {background:#1F1F3D; border-radius:15px; padding:25px 20px; text-align:center; transition:transform 0.3s, box-shadow 0.3s;}
.battery-card:hover, .applied-card:hover {transform:translateY(-8px); box-shadow:0 0 15px #00FFFF;}
.battery-card .icon, .applied-card .icon {font-size:2.5rem; margin-bottom:15px; color:#FFD700;}
.battery-card h3, .applied-card h3 {font-size:1.2rem; margin-bottom:10px; color:#FFD700;}
.battery-card p, .applied-card p {font-size:0.95rem; line-height:1.4; color:#F5F5F5;}

/* Product Gallery */
.product-gallery {display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:25px; margin-top:40px;}
.card {background:#1F1F3D; border-radius:15px; overflow:hidden; box-shadow:0 4px 12px rgba(0,255,255,0.2); transition:transform 0.3s, box-shadow 0.3s;}
.card:hover {transform:translateY(-10px); box-shadow:0 0 20px #00FFFF;}
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px; /* optional, for rounded edges */
}

.card h3 {margin:15px 0 10px; color:#FFD700;}
.card p {padding:0 15px 20px; font-size:0.95rem; color:#F5F5F5;}

/* Contact */
.contact-list {list-style:none; margin-top:20px;}
.contact-list li {padding:5px 0; font-size:1.1rem; color:#F5F5F5;}

/* Footer */
footer {background:#111; color:#ccc; text-align:center; padding:20px; font-size:0.9rem;}

/* Responsive */
@media(max-width:768px){
  .nav-links{display:none; flex-direction:column;}
  .hamburger{display:block;}
  .hero h1{font-size:2.2rem;}
  .hero .sub{font-size:1rem;}
  .btn{padding:12px 25px;}
  .section{padding:70px 5%;}
}
@media(max-width:480px){
  .hero h1{font-size:1.8rem;}
  .hero .sub{font-size:0.9rem;}
  .btn{padding:10px 20px;}
}

/* Carousel Section */
.dark-carousel {background:#2C2C54; padding:60px 5%; border-radius:15px;}
.dark-carousel h2 {color:#FFD700; margin-bottom:30px;}

/* Carousel Container */
.carousel-container {position:relative; max-width:1000px; margin:auto; overflow:hidden;}
.carousel {overflow:hidden; width:100%;}
.carousel-track {display:flex; transition:transform 0.5s ease-in-out;}

/* Carousel Item - square image, content below */
.carousel-item {
  flex: 0 0 33.33%; /* 3 per slide */
  margin:10px;
  background:#1F1F3D;
  border-radius:15px;
  overflow:hidden;
  text-align:center;
}

.carousel-item img {
  width:100%;
  aspect-ratio:1/1; /* keep square */
  object-fit:cover;
  display:block;
}

.carousel-content {
  padding:10px;
}

.carousel-content h3 {
  font-size:1.2rem;
  color:#FFD700;
  margin-bottom:5px;
}

.carousel-content p {
  font-size:1rem;
  color:#F5F5F5;
}

/* Navigation Buttons */
.prev, .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:2rem;
  background:#00FFFF;
  color:#1B1B2F;
  border:none;
  padding:10px;
  cursor:pointer;
  border-radius:50%;
  z-index:10;
  transition:background 0.3s;
}
.prev:hover, .next:hover {background:#00CED1;}
.prev {left:10px;}
.next {right:10px;}

/* Responsive */
@media(max-width:1024px) {.carousel-item {flex:0 0 50%;}} /* 2 per view */
@media(max-width:768px) {.carousel-item {flex:0 0 50%;}}  /* 2 per view */
@media(max-width:480px) {.carousel-item {flex:0 0 100%;}}  /* 1 per view */


.about-content p {
  margin-bottom:15px;
  font-size:1rem;
  line-height:1.6;
  color:#F5F5F5;
}

.about-content ul {
  list-style-type: disc;
  padding-left: 0;        /* remove default padding */
  margin: 15px auto;      /* center the list */
  display: inline-block;  /* shrink-wrap to content width */
  text-align: left;       /* keep bullets left-aligned inside the block */
}

.about-content ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #F5F5F5;
}



