.hero-section-ctn {
  background: url("../img/black_background_image.png");
  height: 80vh;
  background-size: cover;
  display: flex;
  background-repeat: no-repeat;
  background-position: center;
  padding-inline: 60px;
  background-attachment: fixed;
  align-items: center;
}
.hero-section-column {
  flex-direction: column;
  color: var(--white);
}
.hero-heading {
  font-size: 48px;
  font-weight: 600;
}
.hero-subheading {
  font-size: 24px;
}
.hero-section-column .hero-description {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}
.hero-side-image {
  display: flex;
  justify-content: center;
}
.hero-section-column .hero-side-image img {
  height: 300px;
  width: 300px;
  align-items: center;
}
.custom-rounded-btn {
  background-color: var(--primary-main);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
}
.custom-rounded-btn:hover {
  background-color: var(--primary-dark);
}

.slider-section {
  flex-direction: column;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-slider img:hover,
.thumbnail-slider .slick-current img {
  border: 2px solid var(--primary-main);
  opacity: 1;
  border-radius: 5px;
}
.main-slider-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.up-arrow-ctn {
  margin-right: -25px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.down-arrow-ctn {
  margin-left: -25px;
  z-index: 1000;
}
.left-arrow-ctn {
  margin-right: -25px;
  z-index: 1000;
}
.right-arrow-ctn {
  margin-left: -25px;
  z-index: 1000;
}
.up-arrow-ctn button,
.down-arrow-ctn button,
.left-arrow-ctn button,
.right-arrow-ctn button {
  background-color: #888888b0;
  color: var(--white);
  border: none;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.up-arrow-ctn button {
  width: 25px;
  height: 50px;
  border-radius: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.down-arrow-ctn button {
  height: 50px;
  width: 25px;
  border-radius: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.left-arrow-ctn button {
  height: 50px;
  width: 25px;
  border-radius: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.right-arrow-ctn button {
  border: none;
  height: 50px;
  width: 25px;
  border-radius: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.up-arrow-ctn button:hover,
.down-arrow-ctn button:hover,
.left-arrow-ctn button:hover,
.right-arrow-ctn button:hover {
  background-color: var(--black);
  border: none;
}
.product-details-section {
  display: flex;
  flex-direction: column;
}

.product-details-section .details-heading {
  color: var(--black);
  margin-bottom: 0px;
}
.product-details-section .details-subheading {
  font-size: medium;
  line-height: normal;
  margin: 0px;
}
.product-details-section .heading-seprater {
  color: var(--dark-gray);
}
.product-details-section .description-heading {
  font-weight: 500;
  font-size: 16px;
}
.product-details-section .description-main-content {
  font-size: 16px;
}
.product-details-section .desc-ul-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0px;
}
.configration-box {
  padding: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 5px;
}
.configration-box .config-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
}

/* Adjust padding for screens smaller than medium (768px) */
@media (max-width: 767px) {
  .hero-section-ctn {
    padding-inline: 30px;
    height: 100vh;
    align-items: start;
  }
  .hero-section-column .hero-description {
    margin-top: 0px;
  }
  .hero-section-column .hero-side-image img {
    height: 200px;
    width: 200px;
    margin-top: 80px;
  }
}

.product-container-h {
  display: flex;
  display: flex;
  height: 70vh;
}

.card-h {
  display: flex;
  flex-direction: row;
  position: relative;
  top: 0;
  padding: 40px;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-gray);
  align-items: center;
}

.seprate-border {
  background-color: var(--primary-main);
  margin: 40px;
  border-top-width: 1px;
  height: 0;
}

.content {
  text-align: center;
  padding: 0 300px;
  color: var(--white);
}

.heading {
  font-size: 28px;
  font-weight: 200;
  margin: 0 0 15px 0;
  font-style: uppercase;
}

.paragraph {
  font-size: 16px;
  margin: 10px 0 20px;
}

.btn1 {
  background-color: var(--primary-main);
  color: var(--white);
  border: none;
  padding: 10px 35px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn1 a {
  color: var(--white);
}
.btn1 a:hover {
  color: var(--white);
}

/* .btn1:hover {
    background-color: #b0d558;
} */

.img-h {
  max-width: 100%;
  text-align: center;
}

.img-h > img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product-container {
  margin: 2rem;
  display: flex;
}

.grid {
  /* height: 700px; */
  overflow: none;
  padding: 5px;
}

.product-image {
  width: 4rem;
  height: 4rem;
  border-radius: 5px;
  object-fit: contain;
}

.small-product-image {
  width: 4rem;
  height: 4rem;
  border-radius: 5px;
  padding: 2px;
}

.thumb {
  border: 2px solid transparent;
  /* No border by default */
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #a7a7a7;
  /* transition: border 0.3s ease; */
  margin: 10px;
  /* Smooth transition for the border */
}

.thumbs {
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thumb.active {
  border: 2px solid #b0d558;
}

.main-images {
  float: right;
}

.main-image {
  width: 550px;
  height: 496px;
}

.gallery {
  display: flex;
  height: 500px;
  width: 700px;
  justify-content: space-between;
}

.product-info {
  word-wrap: break-word;
}

.text-h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 300;
  color: var(--dark-gray);
  overflow-wrap: anywhere;
  letter-spacing: -0.02em;
  margin: 0;
}

.text-sm {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--dark-gray);
}

.button {
  padding: 0.5rem;
  background-color: var(--primary-main);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 50%;
  text-align: center;
  justify-items: center;
  margin: 0.5rem 0;
}

.button:hover {
  background-color: var(--primary-main);
}

.carousel {
  position: relative;
  width: 100%;
  display: none;
  max-width: 800px;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item img {
  width: 100%;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-control.prev {
  left: 0px;
  outline: 0;
}

.carousel-control.next {
  right: 0px;
  outline: 0;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 40%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.indicator {
  width: 10px;
  height: 10px;
  background-color: var(--white);
  border: 1px solid var(--dark-gray);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.indicator.active {
  background-color: var(--primary-main);
  opacity: 1;
}

.icon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 400px;
  padding: 30px 0;
}

.icon div {
  display: flex;
  align-items: center;
}

.icon div span {
  margin-left: 10px;
  font-size: 16px;
  color: var(--dark-gray);
}

.check-icon {
  color: #007bff;
  font-size: 20px;
}

/* Existing styles */

@media (max-width: 998px) {
  .product-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .grid {
    /* display: grid; */
    /* grid-template-columns: 1fr; */
    /* height: 500px; */
  }

  .carousel {
    display: block;
  }

  .gallery {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: auto;
  }

  .gallery {
    display: none;
  }

  .product-info {
    order: 2;
    width: 100%;
    padding: 1rem;
    text-align: left;
  }

  .main-image {
    width: 400px;
    max-width: 300px;
    height: auto;
  }

  .button {
    width: 80%;
  }

  .icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .card-h {
    flex-direction: column;
    padding: 20px;
    height: 120%;
    width: 100%;
  }

  .img-h {
    order: -1;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  .img-h img {
    max-width: 400px;
    height: 400px;
  }

  .content {
    padding: 20px;
    width: 100%;
    text-align: center;
  }

  .heading {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .paragraph {
    font-size: 14px;
    margin: 10px 0;
  }

  .btn1 {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .card-h {
    flex-direction: row;
    align-items: center;
  }

  .content {
    text-align: left;
    padding: 40px;
    /* width: 50%; */
  }

  .img-h {
    width: 70%;
    padding: 20px;
  }

  .heading {
    font-size: 36px;
  }

  .paragraph {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 20px;
  }

  .heading {
    font-size: 24px;
    /* background-color: #007bff; */
  }

  .paragraph {
    font-size: 14px;
  }

  .btn1 {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.product-config {
  padding: 20px 40px;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
}

.configurator {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header,
.product-heading {
  font-size: 1.5rem;
  /* margin-bottom: 10px; */
  color: var(--dark-gray);
}

.part-number {
  font-size: 1.2em;
  margin-bottom: 20px;
  word-break: break-word;
}

/*
.generate-btn {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.generate-btn:hover {
    background-color: #1b5e20;
} */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-gray);
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: var(--white);
  font-size: 1rem;
}

select:focus {
  outline: none;
  border-color: var(--primary-main);
}

/* Product Details Page */
.specification_li {
  list-style-type: disc;
  margin-block: 9px;
  font-size: 16px;
}

.specific_list_heading {
  font-weight: 600;
  font-size: 16px;
}

/* Media Queries for Small Screens */
@media (max-width: 768px) {
  /* body {
        padding: 10px;
    } */

  .configurator {
    padding: 15px;
  }

  .header h1 {
    font-size: 1.2rem;
    text-align: center;
  }

  .generate-btn {
    width: 100%;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  select {
    font-size: 0.9rem;
  }
}
