
@font-face {
    font-family: 'ENfontRegular';
    src: url('../font/En font/BaiJamjuree-Regular.ttf') format('truetype'),
}
@font-face {
    font-family: 'ENfontLight';
    src: url('../font/En font/BaiJamjuree-Light.ttf') format('truetype'),
}

@font-face {
    font-family: 'ENfontMedium';
    src: url('../font/En font/BaiJamjuree-Medium.ttf') format('truetype'),
}

@font-face {
    font-family: 'ENfontBold';
    src: url('../font/En font/BaiJamjuree-Bold.ttf') format('truetype'),
}



*{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'ENfontRegular', sans-serif;
}
a{
    text-decoration: none!important;
}
body{
    background: #131313;
    font-family: 'ENfontRegular', sans-serif;
}
header{
  height: 120px;
    padding: 17px 3%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
    width: 94%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    background: #131313;
    align-items: center;

}

.logo .mobile{
    display:none;
}

header .logo{
    margin: 15px 0 0;
}
main{
    display: block;
    width: 100%;
    position: relative;
    padding-top: 150px;
}
.menu{
    display: flex;
}
.dropdown{
    position: relative;
    width: 170px;
    text-align: right;
}
.dropdown-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 27px;
    display: flex;
    gap: 13px;
    color: #fff;
    padding: 8px;
    transition: transform 0.3s ease;
    align-items: center;
    text-decoration: none!important;
}
.dropdown-btn:hover {
    transition: transform 0.3s ease;
    color: #ccc;
}
.dropdown-btn img{
    transition: transform 0.3s ease;

}
.dropdown-btn:hover img{
    transform : rotate(90deg);
    transition: transform 0.3s ease;

}
.specific{
    height:69vh;
    position: relative;
}
.specific::before{
    content: "";
    position: absolute;
    width: 627px;
    height: 604px;
    /* z-index: 100000; */
    right: 0;
    bottom: 0;
    transform: translate(-33%, 0) scale(1.5);
    background-image: url("../img/lines.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.specific_info{
    width: 700px;
    position: absolute;
    top: 15%;
    left: 5%;
    color: #fff;
}

.specific_info h2{
    font-family: 'ENfontBold'!important;
}
.specific_info h1 , .specific_info h2{
    font-size: 57px;
    margin-bottom: 25px;

}
.specific_info h1{
    font-family: 'ENfontMedium'!important;
    font-size: 40px;
}

.specific_info p{
    font-size: 24px;
    color: #777777;
    font-family: 'ENfontLight'!important;

}
.infinity-logo {

    position: relative;
    height: 160px;
    overflow: hidden;
    background: #fff;
    padding-top: 10px;
}


.word {
    position: relative;
    font-size: 100px;
    white-space: nowrap;
    transition: transform 0.1s linear;
    margin: 0 20px;
    font-weight: bold;

}
.word::before {
    content: "";
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #d21819;
    border-radius: 50%;
    margin: 0 50px 0 0;
    display: inline-block;
}
.accordions{
    background: #fff;

}
.accordion {
    width: 100%;
    margin: 0 auto;
}

.accordion-header,
.accordion-body {
    background: white;
}

.accordion-header {
    background: #fff;
    padding: 20px 0!important;
    margin: 0 5%!important;
    color: #9E9E9E;
    cursor: pointer;
    font-size: 53px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'ENfontLight', sans-serif;


}

 hr{
     width: 90%;
     height: 1px;
     background: #131313;
     margin: auto;
}
.accordion__item:last-child{
    border: 0!important;
}
.accordion__item .accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-header:hover {
    position: relative;
    z-index: 5;
    color: #d21819;
}
.accordion-header img{
    position: relative;
    transform: rotate(-90deg);
    filter: grayscale(100);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

}

.accordion-body {
    background: #fcfcfc;
    color: #353535;
    display: none;
}

.accordion-body__contents {
    padding: 1.5em  5%!important;
    font-size: .85em;
}


.accordion__item.active > .accordion-header:after {
    transform: rotate(-180deg);
}
.accordion__item.active .accordion-header{
    color: #131313;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 900;

}
.accordion__item.active .accordion-header img {
    transform: rotate(0);
    filter: grayscale(0);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

}


.listGroup{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.list{
    flex: 44%;
    max-width: 49%;
    height: 70px;
    border: 1px solid #131313;
    background: #fff;
    text-align: center;
    line-height: 70px;

    cursor: pointer;
}
.list a{
    font-size: 38px;
    font-family: 'ENfontLight', sans-serif;
    color: #131313;
    display: block;
}
.list a.active {
    background: #d21819;
    color: #fff;
    border: 1px solid #d21819;
}
.list.active:hover{
    background: #d21819;
    color: #fff;
    border: 1px solid #d21819;
}
.list:hover{
    background: #e5e5e5;
    border: 1px solid #e5e5e5;

}
.info-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.info-display{
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    background: #131313;

}

.info-display::before{
    content: "";
    position: absolute;
    width: 900px;
    height: 499px;
    right: 50%;
    top: 0;
    transform: translate(50%,0);
    background-image: url("../img/lines-down.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.info-display .block{
    width: 600px;

}
.info-display .block .title{
    color: #fff;
    font-size: 57px;
    margin-bottom: 20px;
    font-family: 'ENfontLight', sans-serif;


}

.info-display .block .description{
    color: #777777;
    font-size: 24px;
}
.close{
    position: absolute;
    right: 5%;
    top: 50px;
    cursor: pointer;
}
.brands{
    padding: 100px 5% ;
}
.brands h2{
    color: #fff;
    font-size: 57px;
    font-weight: 100;
    font-family: 'ENfontLight', sans-serif;

}
.brands-carousel{
    margin-top: 60px;
    display: flex;
    gap: 100px;

}

.brands-carousel .item{
    position: relative;
    display: flex;
    justify-content: center;
}
.brands-carousel .item:nth-child(1){
    flex: 19.3%;
    max-width: 19.3%;
    justify-content: left;

}
.brands-carousel .item:nth-child(1) a h4{
    padding-left: 0;
}
.brands-carousel .item:nth-child(1) a img{
    height: 60px;
    left: 92px;
    padding-left: 0;
}
.brands-carousel .item:nth-child(2){
    flex: 20.33%;
    max-width: 20.33%;
}

.brands-carousel .item h4{
    color: #4B4B4B;
    font-size: 96px;
    text-align: center;
    padding-left: 30px;
}

.brands-carousel .item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 49px;
    right: -21px;
    background-color: #d21819;
    border-radius: 50%;
    margin: 0 -38px;
    display: inline-block;
}
.brands-carousel .item:last-child:after{
    display: none;
}
.brands-carousel .item a{
    text-decoration: none;
}
.brands-carousel .item img{
display: none;
    height: 90px;
    object-fit: contain;
    margin: auto;
    position: relative;
    top: 50%;
    left: 115px;
    transform: translate(-35%, -50%) scale(1);
    padding-left: 30px;
}

.big{
    transform: translate(-35%, -50%) scale(1.4)!important;

}

footer{
        background: #fff;
    padding: 2px 5%;
    font-size: 40px;
    position: relative;

}
.footer-left{
    line-height: 50px;
    margin: 50px 0 ;
}
.footer-left p{
    font-family: 'ENfontLight', sans-serif;

}
.footer-left a{
    color: #131313;
    text-decoration: none;
    font-family: 'ENfontLight', sans-serif;

}
.footer-left a:hover{
    color: #d21819;

}
.footer-right{
    font-size: 20px;
    position: absolute;
    right: 5%;
    bottom: 22px;
    font-family: 'ENfontLight', sans-serif;


}
.footer-left .footer-info address{
   font-family: 'ENfontLight', sans-serif; 
    margin-top: 20px
  line-height: 20px;

}
.footer-left .footer-info address, .footer-info a{
    color: #131313;
    text-decoration: none;
    font-family: 'ENfontLight', sans-serif; 
    font-style: normal;
    font-size: 29px;
    margin-top: 30px;

}

.footer-info{
line-height: 40px;
}

@media screen and (max-width: 1400PX) {
  .list a {
        font-size: 34px;
    }
}
 
@media screen and (max-width: 1250px) {
    .list a{
        font-size: 28px;
    }
    .brands-carousel .item::after{
        width: 15px;
        height: 15px;
        top: 49px;
        right: -54px;
    }
    .brands-carousel .item h4{
        font-size: 70px;
    }


}
@media screen and (max-width: 1100px) {
    .list a {
        font-size: 26px;
    }
}
@media screen and (max-width: 1000px) {
  .info-display .block .description{
  
    white-space: normal;
    }
    .specific::before{
        width: 500px;
        height: 300px;
    }
    .word{
        font-size:45px;
    }
    .logo img{
        width: 250px;
    }
    .accordion {
        width: 100%;
    }
    .accordion-header{
        font-size: 30px;
    }
    .list a{
        font-size: 20px;
    }
    .infinity-logo{
        height: 90px;
    }
    .infinity-logo:before{
        width: 500px;
        height: 300px;
    }
    .info-display .block .title , .brands h2{
        font-size: 30px;
    }
    .brands-carousel  .item::after{
        top: 20px;
        margin: 0 14px;
        right: -83px;
    }
    .brands-carousel .item h4 {
        font-size: 44px;
    }
}



@media screen and (max-width: 768px) {
    header{
        justify-content: space-between;
        display: flex;
        position: relative;
        height: 60px;
        width: 100%;
        padding: 17px 0;
    }
    header.scrolled {

        border: 0;
    }
    .menu {

        padding-right: 30px;
    }
    .specific::before {
        width: 330px;
        height: 300px;
    }
    .specific_info{
        width: 70%;
    }
    .info-display{
        padding: 80px 5% 40px;
    }
    header .logo{
        padding-left: 5%;
    }

    .brands-carousel .item h4{
        font-size: 30px;
        display: none;
    }
    .logo .desktop{
        display: none;
    }
         .logo .mobile{
             display: inline-block;
             width: 62px;
         }
    .brands-carousel .item img{
        display: block;
        height: 20px !important;
        left: auto;
        transform: translate(0, -32%) scale(1);
        padding-left: 0;
    }
    .brands-carousel .item::after{
        width: 10px;
        height: 10px;
        right: -10px;
        top: 10px;
        margin: 0 7px;
    }
    .brands-carousel .item:nth-child(1) ,     .brands-carousel .item:nth-child(2),    .brands-carousel .item:nth-child(3){
        flex: 100%!important;
        max-width: 100%!important;
        justify-content:center!important;
    }
    .brands-carousel .item::after{
        display: none;
    }
    .brands-carousel .item img{
        height: 40px!important;
        transform:translate(-19px, -50%) scale(0.8)!important;
    left: 0!important;
    padding-left: 0!important;
    }
    .brands-carousel .item img.big{
        transform: translate(-48px, -50%) scale(1.5)!important;
    }
    .brands-carousel  .item h4{
        padding-left: 0;
    }
    .brands-carousel{
        flex-direction: column;
        gap: 35px;
        align-items: flex-start;
    }
    .brands-carousel .item{
        flex: 100%;
        max-width: 100%;
    }
    .list a {
        font-size: 15px;
    }
}



@media screen and (max-width: 500px) {
    header{
        justify-content: space-between;
        display: flex;
        flex-direction: row;
        height: 70px;
    }
    .dropdown-btn{
        font-size: 16px;
        gap: 8px;
    }
    .dropdown-btn img{
        width: 15px!important;
    }
    .dropdown-btn:first-child{
        margin-left: 0!important;
    }
    .specific_info p{
        font-size: 18px;
    }
    main{
        padding-top: 0;
    }

    .specific_info h1{
        font-size:22px!important;
    }
    .dropdown{
        width: auto;
    }
    header .logo {
        margin: 0;
    }
    .info-display .block .description{
        width: 82%;
    }
    .specific{
        height: 87vh;
        overflow: hidden;
    }
    .specific_info{
        width: 90%;
        padding: 0 5%;
        left: 0;
        top: 20%;
    }
    .specific::before {
        height: 200px;
        left: 22px;
        bottom: 47px;
    }
    .listGroup{
        flex-direction: column;
    }
    .info-display::before{
        width: 300px;
        height: 250px;
    }
    .list{
        flex: 100%;
        max-width: 100%;
    }
    .list a{
        font-size: 20px;

    }
    .specific::before{
        width: 300px;
        transform: translate(0%, 0) scale(1.5);
        height: 200px;
    }
    .word{
        font-size: 40px;
        margin: 0 5px;
    }
    .accordion-header{
        font-size: 25px;
    }
    .infinity-logo{
        height: 80px;
        padding-top: 20px;
    }
    .close{
        top: 20px;
    }
    .brands {
        padding: 40px 5%;
    }
    .accordion-body__contents{
        padding: 0!important;
    }
    .listGroup{
        gap: 0;
    }
    .accordion-header{
        background: inherit;
    }
    .accordion__item.active .accordion-header img{
        width: 20px;
        margin-right: 10px;
    }
    .footer-left{
        text-align: left;
        margin: 30px 0;
        line-height: 41px;
        font-size: 30px;
    }
    hr{
        width: 100%;
        background: #d3d3d3;
    }
    .list{
        border: 0;
        text-align: left;
    padding: 0;
        border-bottom: 1px solid #ccc ;

    }
    .list a{
        padding: 0 5%;
        height: 60px;
        line-height: 60px;
    }
    .list:last-child{
        border: 0;
    }
    .footer-right{
        position: static;
        text-align: left;
        margin: 0  0 30px;
    }

    .info-display .block{
        width: 100%;
    }
    .info-display .block .description{
        font-size: 20px;
        width: 100%;
    white-space: normal;
    }

    .word:before{
        width: 15px;
        height: 15px;
        left: 20px;
    }

    .specific_info h1, .specific_info h2{
        font-size: 28px;
        margin-bottom: 10px;
    }
    .logo img{
        width: 200px;
    }

}