:root {
  --green-kb-dark: #1D4A4B;
  --green-kb-dark2: #1d4a4b39;
  --black131313: #131313;
  --blackKeybe: #000000;
  --whiteKeybe: #ffffff;
  --greenKeybe: #49ff9b;
  --greenKeybe2: #03FF90;
  --greenKeybe3: #03FFCF;
  --greenKeybeGradient: #00E6B4;
  --blueKeybe: #00ffff;
  --blueKeybe2: #61F5FF;
  --darkblueKeybe: #004261;
  --brownKeybe: #573B31;
  --greenElite: #0C533D;
}

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*:hover {
  transition: all 0.35s ease;
}

a,
a:hover {
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}

html {
  overflow-x: hidden;
  /* overflow-y: hidden */
  ;
}

body {
  /* overflow-x: hidden; */
  font-family: 'Montserrat';
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 29;
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .57) 9%, rgba(0, 0, 0, 0) 98%);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0);
  width: 100%;
  transition: background-color 0.45s ease;
}

header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 29;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 9%, rgba(0, 0, 0, 0) 98%);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  transition: background-color 0.45s ease;
}

header .container {
  max-width: 100%;
  margin: 0 auto;
}

header .header-inner {
  display: grid;
  grid-template-columns: 16% 80% 4%;
  align-items: center;
  padding: 8px 10px
}

header .header-inner .logo {
  padding: 10px;
}

header .header-inner .logo img {
  width: 145px;
  height: auto;
}

header .header-inner .menu_wrapper nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
}

header .header-inner .menu_wrapper nav ul li a {
  color: white;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  padding: 8px 18px;
  text-transform: uppercase;
}

header .header-inner .menu_wrapper nav ul li a.current,
.mobile-nav nav ul li a.current {
  color: var(--greenKeybe3) !important;
}

header .header-inner .menu_wrapper nav ul li a:hover {
  color: var(--greenKeybe3);
}

.langToggle {
  width: 22px;
  height: 22px;
  fill: var(--whiteKeybe);
  transition: fill .35s ease
}

.lag_wrapper .dropdown-toggle:hover .langToggle {
  width: 22px;
  height: 22px;
  fill: var(--greenKeybe3);
  transition: fill .35s ease
}

.lag_wrapper .dropdown-container {
  position: relative;
  top: 2%;
  right: 2%;
  display: inline-block;
  z-index: 99
}

.lag_wrapper .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--whiteKeybe);
  min-width: 66px;
  min-height: 36px;
  box-shadow: 0px 1px 16px rgba(0, 0, 0, .2);
  z-index: 1;
  opacity: 0;
  transition: opacity .45s ease;
  right: 0;
  border-radius: 20px
}

.lag_wrapper .dropdown-content a {
  padding: 6px 10px;
  display: flex;
  text-decoration: none;
  color: var(--blackKeybe);
  transition: background-color .3s ease-in-out;
  text-align: center
}

.lag_wrapper .dropdown:hover .dropdown-content {
  display: flex;
  opacity: 1;
  border-radius: 30em;
  transition: opacity .45s ease;
  align-content: center;
  justify-content: center;
  align-items: center;
  justify-items: center
}

.lag_wrapper .dropdown-toggle {
  cursor: pointer;
  background-color: transparent;
  padding: 12px;
  border-radius: 30em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center
}

.menu-langmenu-container ul {
  padding: 0;
  margin: 0;
  list-style: none
}

ul#menu-langmenu a span {
  font-size: 12px;
  line-height: 1;
  font-weight: 700
}

.lag_wrapper .dropdown-content:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0 18px 14px !important;
  border-color: #fff transparent;
  display: block;
  width: 0;
  z-index: 1;
  top: -9px !important;
  right: 9% !important
}

/* Estilos para el botón de hamburguesa */
.burger_menu {
  display: none;
}

.burger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  z-index: 70;
}

.burger div {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.burger .line1 {
  transform: rotate(0deg);
}

.burger .line2 {
  opacity: 1;
  transform: translateX(0);
}

.burger .line3 {
  transform: rotate(0deg);
}

/* Estilos para el menú móvil */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
  z-index: 69;
}

.mobile-nav nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav nav ul li {
  margin: 20px 0;
}

.mobile-nav nav ul li a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Estilos para la transición del menú */
.mobile-nav.active {
  transform: translateX(0);
}

/* Cambios de estado del botón de hamburguesa */
.burger.toggle .line1 {
  transform: rotate(45deg);
}

.burger.toggle .line2 {
  opacity: 0;
  transform: translateX(20px);
}

.burger.toggle .line3 {
  transform: rotate(-45deg);
}

.dropdown-content.viewLangs {
  display: flex !important;
  opacity: 1 !important;
  border-radius: 30em;
  transition: opacity .45s ease;
  align-content: center;
  justify-content: center;
  align-items: center;
  justify-items: center;
}



#main-content {
  /* scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh; */
  display: block;
  position: relative;
}

.kb-neo-vp {
  /* background-attachment: fixed; */
  background-color: #131313;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  height: 108dvh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  padding: 2% 0;
}

.kb-neo-vp:before {
  content: " ";
  /* background-color: rgba(0, 0, 0, 0.2); */
  background-color: rgba(0, 0, 0, 0.37);
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  position: absolute;
  z-index: 1;
}

#kb-neo:before {
  content: none;
}

.kb-neo-vp .container {
  /* display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
  padding: 0 4%;
  position: relative;
  z-index: 2;
}

#kb-neo-hero.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-hero.webp);
}

#kb-country.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-country.webp);
}

#kb-elite.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-elite.webp);
}

#kb-energy.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-energy.webp);
}

#kb-sport.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-sport.webp);
}

#kb-truck.kb-neo-vp {
  background-color: #131313;
  background-image: url(../img/cars/kb-neo-truck.webp);
}

#kb-neo.kb-neo-vp {
  background-color: var(--whiteKeybe);
}

#kb-neo-hero .section-content {
  display: block;
  width: 100%;
}

.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  /* Altura de ejemplo, ajústala según tus necesidades */
}

.kbneologo {
  display: block;
  max-width: 1024px;
  width: 760px;
  position: relative;
  margin: 2% auto 2% auto
}

.cta_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 6% auto;
  max-width: 768px;
}

a.cta_btn {
  background-color: white;
  border-radius: 100em;
  color: black;
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 1% auto;
  padding: 8px 16px;
  text-transform: uppercase;
  min-width: 200px;
  width: 200px;
  text-align: center;
}

a.cta_btn:hover {
  background-color: var(--greenKeybe3);
  color: black;
}

a.cta_btn.gredientVersion {
  background-image: -webkit-linear-gradient(0deg, var(--greenKeybe3) 31%, var(--blueKeybe) 92%);
  background-color: transparent !important;
}

a.cta_btn.gredientVersion:hover {
  background-color: var(--blackKeybe);
  background-image: -webkit-linear-gradient(0deg, var(--blackKeybe) 31%, var(--blackKeybe) 92%);
  color: var(--whiteKeybe);
}

/* .section-content-top {
  width: 100%;
  position: relative;
} */

#kb-neo-hero h1 {
  color: var(--whiteKeybe);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0;
}

#kb-neo-hero p {
  color: var(--whiteKeybe);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.5;
  text-align: center;
}

#kb-neo-hero .section-content-top p {
  color: var(--whiteKeybe);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}


a#kbgreen.scrolldown_btn {
  position: relative;
  /* top: 90%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8); */
  border: 2px solid var(--greenKeybe2);
}

a.scrolldown_btn {
  width: fit-content;
  padding: 1.3% .7%;
  border-radius: 30em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 2% auto;
  transform: scale(.9);
  transform-origin: center;
}

.arrow_scroll {
  -webkit-animation: arrow_scroll 1s ease-in-out infinite alternate both;
  animation: arrow_scroll 1s ease-in-out infinite alternate both
}

@-webkit-keyframes arrow_scroll {
  0% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px)
  }

  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px)
  }
}

@keyframes arrow_scroll {
  0% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px)
  }

  100% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px)
  }
}

#kb-neo-hero .section-content-bottom {
  margin-top: 20%;
}

.kb-neo-vp .title-content h2 {
  color: var(--whiteKeybe);
  font-size: 82px;
  font-weight: 200;
  letter-spacing: 8px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.kb-neo-vp .title-content p {
  color: var(--whiteKeybe);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.5;
  text-align: center;
}

.section-container {
  display: grid;
  /* grid-template-columns: repeat(3, auto); */
  grid-template-columns: 22.5% 55% 22.5%;
  gap: 0;
  align-items: flex-start;
}

.section-content-bottom {
  padding: 1% 0 0 0;
}

.cardetailscontent {
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.car_details {
  border-radius: 300em;
  height: 265px;
  object-fit: cover;
  width: 265px;
}

.infocar-col p {
  color: white;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1%;
  margin-top: 1%;
}

.content-middle-item {
  padding: 0% 1%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 95vh;
  /*  background-color: rgba(255, 0, 0, 0.275); */
}

.content-middle-item.title-content {
  /* justify-content: space-between; */
  justify-content: space-around;
  gap: 300px;
}

h3.carPrice_home {
  color: var(--whiteKeybe);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}

a.goto_carDetails {
  color: white;
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 8px;
  border-bottom: 1px solid transparent;
  width: fit-content;
  margin: 8px auto;
}

a.goto_carDetails:hover {
  color: var(--greenKeybe3);
  border-bottom: 1px solid var(--greenKeybe3);
}

.price_area,
.gradientbg- {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 70%);
  background-size: contain;
  background-position: center center;
  padding: 0 0;
}

.kb-neo-about {
  max-width: 768px;
  margin: 8% auto 1% auto;
}

.kb-neo-about p {
  color: var(--blackKeybe);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/** Cards detals **/

.car_detail {
  background-color: var(--whiteKeybe);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  padding: 2% 0;
}

.car_detail .container {
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
  padding: 0 4%;
  position: relative;
  z-index: 2;
}

.details-wrapper {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  gap: 2%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.details-wrapper .details-item-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  min-height: 300px;
  height: 100vh;
  position: relative;
  width: 100%;
}

.iner_infocar {
  padding: 10px 14px;
}

.details-item-col .inner-content {
  z-index: 2;
  width: 70%;
  padding: 20px;
}

.details-item-col.colmiddle h2 {
  color: var(--whiteKeybe);
  font-size: 48px;
  font-weight: 200;
  letter-spacing: 8px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.details-item-col.colmiddle p {
  color: var(--whiteKeybe);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
  ;
}

.detailcar_innerimg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.06);
  transform-origin: center;
  width: 100%;
  height: auto;
  z-index: 1;
}

.detailcar_innerimg.kbelitecar {
  transform: translate(-50%, -50%) scale(1.1);
}

.iner_infocar h3 {
  font-size: 18px;
  line-height: 1.2;
  color: var(--blackKeybe);
  margin-bottom: 4%;
}

.iner_infocar p {
  color: var(--blackKeybe);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 2%;
}

#countryCar .iner_infocar h3,
#countryCar .iner_infocar p,
#sportcar .iner_infocar h3,
#sportcar .iner_infocar p,
#energycar .iner_infocar h3,
#energycar .iner_infocar p {
  color: var(--brownKeybe);
}

#eliteCar .iner_infocar h3,
#eliteCar .iner_infocar p {
  color: var(--greenElite);
}

.details-item-col .inner-content.price_area .cta_wrapper {
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
  margin: 2% auto
}

.details-item-col h3.carPrice_home {
  font-size: 28px;
}

.details-item-col .inner-content.price_area {
  width: 100%;
  padding: 20px 0px;
}

/** end Cards detals **/

footer {
  background-color: var(--blackKeybe);
  display: block;
  padding: 2% 0;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer .container {
  margin: 0 auto;
}

footer a,
footer p {
  color: var(--whiteKeybe);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-align: center;
}

footer a {
  font-weight: 700;
}

footer a:hover {
  color: var(--greenKeybe3);
}

@media only screen and (min-width: 1450px) and (max-width: 1600px) {

  .container,
  .car_detail .container {
    max-width: 1440px;
  }

  div#kb-neo-hero .section-content-top {
    transform: translate(0%, -25%);
  }
}

@media only screen and (min-width: 1601px) {

  .container,
  .car_detail .container {
    max-width: 100%;
    width: 90%;
  }

  div#kb-neo-hero .section-content-top {
    transform: translate(0%, -25%);
  }
}

@media only screen and (min-width:1080px) and (max-width:1280px) {
  header .header-inner .menu_wrapper nav ul li a {
    font-size: 14px;
    padding: 8px 12px;
  }

  header .header-inner {
    grid-template-columns: 15% 80% 5%;
  }
}

@media only screen and (max-width: 1024px) {
  body {
    overflow-x: hidden !important;
  }

  .burger_menu {
    display: flex;
    order: 3;
    justify-self: center;
  }

  .menu_wrapper {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  header .header-inner {
    grid-template-columns: 74% 13% 13%;
  }
}


@media only screen and (max-width: 996px) {
  #kb-neo-hero h1 {
    font-size: 15px;
    letter-spacing: 1px;
  }

  #kb-neo-hero .section-content-top p {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .infocar-col p {
    font-size: 14px;
  }

  .kb-neo-vp {
    height: 100%;
    padding: 14% 0;
  }

  #kb-neo-hero.kb-neo-vp {
    height: 100dvh;
  }

  .cta_wrapper {
    grid-template-columns: 1fr;
  }

  img.kbneologo {
    width: 100%;
  }

  .kb-neo-vp .container {
    padding: 0 4%;
    width: 100%;
  }

  .section-container {
    grid-template-columns: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 2%;
  }

  .content-middle-item.title-content {
    order: 1;
  }

  .content-middle-item.infocar-col {
    order: 2;
    margin-top: 18%;
  }

  .content-middle-item.cardetailscontent.price_area {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }

  .kb-neo-vp .title-content h2 {
    font-size: 32px;
  }

  .kb-neo-vp .title-content p {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .content-middle-item {
    height: 100%;
  }

  h3.carPrice_home {
    font-size: 18px;
  }

  .details-item-col h3.carPrice_home {
    font-size: 18px;
  }

  .kb-neo-about p {
    color: var(--blackKeybe);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  }

  .inner-content {
    margin: 2% auto;
  }

  img.car_details {
    width: 160px;
    height: 160px;
  }

  .content-middle-item.title-content {
    justify-content: space-between;
    gap: 40px;
  }

  .section-container>div {
    margin: 2% auto;
  }

  .kb-neo-vp .title-content p br {
    display: none;
  }

  footer.kb-neo-vp- .container {
    max-width: 75%;
    margin: 0 auto;
  }

  footer.kb-neo-vp- .container p {
    font-size: 11px;
  }

  footer {
    padding: 6% 0;
  }

  .details-wrapper {
    grid-template-columns: 1fr;
    position: relative;
    gap: 4%;
  }

  .car_detail {
    height: 100%;
    display: block;
    position: relative;
    padding: 26% 0 56% 0;
  }

  .details-item-col .inner-content.price_area {
    padding: 0px 0 0px 0;
  }

  .details-item-col .inner-content {
    transform: scale(0.95) translate(0, 22px);
    width: 95%;
  }

  .details-item-col.colmiddle {
    order: 1;
  }

  .details-item-col.colleft {
    order: 2;
  }

  .details-item-col.colright {
    order: 3;
  }

  .details-wrapper .details-item-col {
    height: 100%;
  }

  .details-item-col.colmiddle h2 {
    font-size: 30px;
  }

  .details-item-col .inner-content {
    width: 85%;
    padding: 0;
  }

}