body,
html {
  overflow-x: hidden;
}


body {
  font-family: 'Roboto', sans-serif;
  background-color: #121212;
  /* Dark background */
  color: #ffffff !important;
  /* All text white */
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Links */
a {
  text-decoration: none;
  color: #3498db;
  /* Blue color for links */
  transition: color 0.3s ease;
}

a:hover {
  color: #2ecc71;
  /* Green color on hover */
}

/* Header Section */
header {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(145deg, #2c3e50, #34495e);
  /* Gradient background */
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

header .title {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 20px;
}

header .subtitle {
  font-size: 1.5rem;
  color: #f39c12;
  font-weight: 400;
}

/* 3D Model Container */
.model-container {
  height: 500px;
  width: 100%;
  background: #333;
  /* Placeholder background */
  margin-top: 30px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.model-container canvas {
  width: 100%;
  height: 100%;
}

/* Information Section */
.info {
  background-color: #1f1f1f;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  text-align: center;
}

.info:hover {
  transform: scale(1.02);
}

.info h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.info ul {
  padding-left: 20px;
}

.info ul li {
  list-style-type: circle;
  margin-bottom: 10px;
}

.info p {
  font-size: 1rem;
  color: #ccc;
}

/* Features Section */
.features {
  margin-top: 30px;
  background-color: #1f1f1f;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.features:hover {
  transform: scale(1.02);
}

.features h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.features .column {
  padding: 20px;
  color: #fff;
}

.features .column h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #f39c12;
}

.features .column p {
  font-size: 1rem;
  color: #ccc;
}

/* Gallery Section */
.gallery {
  background-color: #1f1f1f;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.gallery h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.gallery .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  /* Center the gallery items */
}

.gallery .column {
  width: calc(33.333% - 20px);
  /* Width remains same for larger screens */
  height: 75%;
  /* Increased height to allow more space for content */
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
}

.gallery .column:hover {
  transform: scale(1.05);
  /* Subtle zoom effect on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  /* More prominent shadow */
}

.gallery .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the image stretches without distortion */
  transition: transform 0.3s ease-in-out;
}

.gallery .image:hover {
  transform: scale(1.1);
  /* Slight zoom effect on hover */
}

/* Sources Section */
.sources {
  background-color: #1f1f1f;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sources h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.sources ul {
  padding-left: 20px;
}

.sources ul li {
  margin-bottom: 15px;
}

.sources a {
  color: #3498db;
}

.sources a:hover {
  color: #2ecc71;
  /* Green color on hover */
}

/* Global Box Style */
.box {
  background-color: #3d3d3d;
  /* Black background */
  color: #fff;
  /* White text */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Slight shadow for depth */
}

/* Section Title Style */
.title.is-3 {
  color: #fff;
  /* White color for headings */
  margin-bottom: 20px;
}

/* Section Subtitle Style */
.subtitle.is-4 {
  color: #ccc;
  /* Slightly lighter text for subtitles */
  margin-bottom: 15px;
}

/* List Style */
ul {
  padding-left: 20px;
  list-style-type: disc;
  color: white;
}

ul li {
  margin-bottom: 10px;
  color: white;
}

/* Links inside the boxes */
a {
  color: #3498db;
  /* Blue color for links */
}

a:hover {
  color: #2ecc71;
  /* Hover effect color */
}


/* EV Container */
.EV-container {
  display: inline-flex;
  /* Inline layout to fit around content */
  justify-content: center;
  align-items: center;
  /* Center-align items vertically */
  gap: 15px;
  /* Reduced gap for compactness */
  padding: 10px 15px;
  /* Smaller padding to make it more compact */
  color: #cdcdcd;
  border-radius: 10px;
  /* Slightly smaller border radius */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Subtle shadow for depth */
  max-width: fit-content;
  /* Adjust width to fit content */
  margin: auto;
  /* Center container horizontally */
}

/* EV Icons Section */
.EV-icons {
  display: flex;
  justify-content: space-between;
  gap: 15px 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Individual EV Icon */
.EV {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* EV Icons (Image-based) */
.EV-Icon {
  width: 80px;
  /* Adjust icon size */
  height: 80px;
  object-fit: contain;
  /* Maintain aspect ratio */
  filter: invert(100%);
  /* Make the icon white */
  transition: transform 0.3s ease;
}

/* Hover effect for EV icons */
.EV:hover .EV-Icon {
  transform: scale(1.2);
  /* Enlarge on hover */
}

.EV-name {
  font-size: 1rem;
  color: #fff;
  /* White color for EV names */
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.EV:hover .EV-name {
  opacity: 1;
  max-height: 40px;
}

.EV-icons .EV:hover {
  transform: translateY(-20px);
  /* Move up on hover */
}

/* Animation Styles */
.fade-in {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.fade-in.is-visible {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #f39c12;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e67e22;
}

/* Container for each section */
.purpose-function {
  display: flex;
  align-items: center;
  padding: 20px;
  /* Optional padding */
  justify-content: space-between;
}

/* Container for the image and text to align side by side */
.innovation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Image styles */
.innovation-image {
  flex: 0 0 450px;
  /* Set image width */
  margin-right: 20px;
  /* Space between image and text */
}

.innovation-image img {
  width: 800px;
  /* Make the image fill the container */
  height: auto;
  border-radius: 8px;
  /* Optional: rounded corners for the image */
}

/* Text styles */
.innovation-text {
  flex: 1; /* Allow text to take up remaining space */
  font-size: 1.2rem; /* Increase the base font size */
}

.innovation-text h2 {
  margin-bottom: 20px; /* Space below the heading */
  font-size: 1.5rem; /* Increase heading font size */
}

.innovation-text ul {
  margin-top: 15px; /* Space between paragraph and list */
  font-size: 1.1rem; /* Slightly increase the font size of the list */
}

.innovation-text li {
  margin-bottom: 10px; /* Space between list items */
  font-size: 1.1rem; /* Increase list item font size */
}



/* Responsive Adjustments */
@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
  }

  header .title {
    font-size: 2rem;
  }

  header .subtitle {
    font-size: 1rem;
  }

  .gallery .column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gallery .image {
    width: 100%;
  }

  .model-container {
    height: 250px;
  }

  .EV-Icon {
    width: 50px;
    height: 50px;
  }

  .EV-name {
    font-size: 0.8rem;
  }

  .container {
    padding: 15px;
  }
}

/* Mobile-first design */
@media (max-width: 768px) {

  /* Innovation Item Styling */
  .innovation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  /* Image Section */
  .innovation-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Text Section */
  .innovation-text {
    text-align: center;
    padding: 0 15px;
  }

  /* Headings */
  .subtitle.is-4 {
    font-size: 1.5rem;
  }

  .title.is-3 {
    font-size: 1.8rem;
  }

  /* List Styling */
  .innovation-text ul {
    padding-left: 20px;
    list-style-type: disc;
    text-align: left;
  }

  /* Purpose and Function Section */
  .purpose-function ul {
    padding-left: 20px;
  }

  /* Security Analysis Section */
  .security ul {
    padding-left: 20px;
  }

  /* Future of EVs Section */
  .future ul {
    padding-left: 20px;
  }
}