:root {
    --green: #006837;
}

.relative {position: relative;}
.w-fit {width: fit-content;}
.fs-14 {font-size: 14px;}
.font-italic {font-style: italic;}
.desktop-view {display: none !important;}
.mobile-view {display: block !important;}

hr {opacity: 1;}
.showroom-section ,
.map-box iframe {
    width: 100%;
}

.map-box {
    filter: grayscale(100%);  
}

.showroom-section .map-box {
    height: 0;
    transition: var(--allTransition);
    opacity: 0;
}

.showroom-section .map-box.show {
    opacity: 1;
    height: auto;
}

.showroom-section .address-info-box {
        border-radius: 15px;
        border-top-left-radius: 0;
        padding: 15px;
        transition: var(--allTransition);
        position: relative;
        width: fit-content;
        cursor: pointer;
    }
    .showroom-section .address-info-box::before {
        content: '';
        position: absolute;
        left: -28px;
        top: 0;
        border-top: 0 solid transparent;
        border-bottom: 35px solid transparent;
        border-right: 30px solid var(--whitef2);
        opacity: 0;
        transition: var(--allTransition);
    }
    .showroom-section .address-info-box.active::before {
        opacity: 1;
    }
    .showroom-section .address-info-box.active {
        background-color: var(--whitef2);
    }
    
.partner-section .location-image {
    text-align: center;
}

.partner-section .location-image img {
    max-height: 550px;
    object-fit: contain;
}


form.contact-form {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

form.contact-form input {
    min-height: 45px;
}

form.contact-form input,
form.contact-form textarea {
    width: 100%;
    border-radius: 15px;
    padding: 10px;
    border: 1px solid var(--grey4d);
} 

form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form input:focus-visible,
form.contact-form textarea:focus-visible {
    background: var(--whitef2);
    border: 1px solid var(--whitef2);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    --placeholder: rgba(0,0,0,1);
    color: var(--placeholder);
    opacity: 1;
}

input::-ms-input-placeholder
textarea::-ms-input-placeholder {
    color:  var(--placeholder);
    opacity: 1;
}

form.contact-form .button-wrap {
    column-gap: 15px;
}

form.contact-form button {
    padding: var(--btn-padding);
    text-transform: uppercase;
    font-size: var(--btn-font-size);
    border: 1px solid var(--grey4d);
    font-weight: 200;
    font-style: italic;
    transition: var(--allTransition);
}

form.contact-form button.send-button,
form.contact-form button.cancel-button:hover {
    background-color: #000;
    color: #fff;
}

form.contact-form button.cancel-button,
form.contact-form button.send-button:hover {
    background-color: #fff;
    color: #000;
}

.contact-details-box > :is(p, div) {
    column-gap: 10px;
}

.contact-section > .container > .row > div:first-child > div,
.contact-section > .container > .row > div:first-child > div .map-box,
.contact-section > .container > .row > div:first-child > div .map-box iframe {
    height: 100%;
}

.esg-section > .container > .row > [class*="col-"] > .wrapper {
    position: relative;
    width: fit-content;
    margin: auto;
}

.esg-section .text-block {
    position: absolute;
    width: fit-content;
}

.esg-section .text-block img {
    max-height: 90px;
}

.esg-section .text-block p {
    text-align: center;
    text-transform: uppercase;
    color: var(--green);
    font-size: 18px;
}

.esg-section .text-block.top {
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
}

.esg-section .text-block.right {
    top: 56%;
    right: -5%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 35px;
}

.esg-section .text-block.right img {
    transform: rotate(45deg);
    max-height: 70px;
}

.esg-section .text-block.left {
    top: 55%;
    left: -35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.esg-section .text-block.left img {
    max-height: 40px;
    left: 70px;
    position: relative;
}

.gbc-row .gbc-logo img {
    width: auto;
    max-width: 320px;
    mix-blend-mode: multiply;
}

.gbc-row .image-full img {
    width: 80%;
    max-height: 500px;
    object-fit: contain;
}

.text-w-dashline {
    border-bottom: 1px dashed;
    width: fit-content;
}

.gbc-section,
.blue-gradient-bg {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(205,219,235,1) 100%);
}


.image-gallery-grid img{
    width: 100%;
}

.show-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: fit-content;
    margin: auto;
}

.show-more-wrapper i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    grid-gap: 15px;
}


.home-choose-color.color-page {
    background-color: #e9e7e6;
}

.calculator-row .formula {
    background-color: var(--whitef2);
    padding: 35px 15px;
}
.calculator-row .form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}



.calculator-row .form-wrapper > div {
    background-color: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.calculator-row .form-wrapper > div label {
    font-size: 16px;
    color: #000;
   
}

.calculator-row .form-wrapper > div input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--grey4d);
    color: #000;
    font-weight: 700;
    margin-top: auto;
    padding-top: 35px;
}


.calculator-row .form-wrapper > div input:focus{
    outline: 0;
}

.formula.dark-bg {
    background-color: #e1dcd9;
}

.color-change-bg {
    background-image: url('./images/change-bg-2-mobile.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    aspect-ratio: 1/1;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    width: 100%;
    background-color: #f2ede0;
}

.color-selection-row .color-tabs img {
    max-height: 170px;
    object-fit: contain;
    cursor: pointer;
    filter: drop-shadow(1px 8px 5px rgba(0,0,0,0.2));
    margin-bottom: 15px;
    transition: var(--allTransition);
}

.color-selection-row .color-tabs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-content: center;
    gap: 15px;
    max-height: 225px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: var(--grey33) #fff;
    scrollbar-width: thin; 
}

.color-selection-row .color-tabs .col.active img {
    filter: drop-shadow(1px 8px 5px rgba(0,0,0,0.7));
}

/* Style for the scrollbar */
.color-selection-row .color-tabs::-webkit-scrollbar {
    width: 10px;
}

/* Track (background of the scrollbar) */
.color-selection-row .color-tabs::-webkit-scrollbar-track {
    background: #fff; 
    border: 1px solid #000;
}

/* Handle (draggable part of the scrollbar) */
.color-selection-row .color-tabs::-webkit-scrollbar-thumb {
    background: var(--grey33);  
}


   
@media (min-width: 768px) {
    .md-w-50 {width: 50%;}

    .showroom-section>div>div>div:first-child,
    .col-md-px-35:first-child {
        padding-right: 35px;
    }
    .showroom-section>div>div>div:last-child,
    .col-md-px-35:last-child {
        padding-left: 35px;
    }
    
    .image-gallery-grid {
        display: grid;
        grid-template-columns: 55% 1fr 1fr;
        grid-gap: 15px;
    }
    .image-gallery-grid img {
        height: 100%;
        object-fit: cover;
    }
    .calculator-row .form-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 55%;
    }
    .color-selection-row .color-tabs {
        display: grid;
        grid-template-columns: repeat(4,1fr);
    }
    /*.color-change-bg {*/
    /*    min-height: 1200px;*/
    /*}*/
    .desktop-view {display: block !important;}
    .mobile-view {display: none !important;}
    
    .partner-section .info-box {
        bottom: 0;
        right: 15px;
    }
    .partner-section .location-image {
        padding-bottom: 35px;
    }
    .footer-widget .navbar-nav{
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    
    .color-change-bg {
    	background-image: url('./images/change-bg-2.png');
    	aspect-ratio: 1920/1400;
    	background-position: center bottom;
    	background-size: 100% auto;
    }
}

@media (min-width: 1299px) {
    .esg-section .image-box img {
        height: 550px;
        object-fit: contain;
        padding: 0 35px;
    }
}

@media (min-width: 768px) and (max-width: 1299.98px) { 
    .esg-section .image-box img {
        width: 70%;
        padding: 35px;
    }
    .esg-section .text-block.left {
        left: 0;
    }
    .esg-section .text-block.right {
        right: 0;
    }
    .esg-section .text-block.top {
        top: 35px;
    }
    .esg-section .text-block.left img {
        max-height: 30px;
    }
    .esg-section .text-block.top img,
    .esg-section .text-block.right img {
        max-height: 50px;
    }
    

}



@media (max-width: 767.98px) {
   .showroom-section > .container > .row > .col-md-4 {
       padding-left: 35px;
   }
   .color-selection-row .color-tabs img {
        max-height: 120px;
    }
    .color-selection-row .color-tabs {
        max-height: 350px;
    }
    .color-change-bg {
        width: auto;
    }
    .esg-section > div {
        padding-left: 0;
        padding-right: 0;
    }
    .gbc-row {
        padding: 0 30px;
        gap: 25px;
    }
    .gallery-row {
        padding: 0 30px;
    }
    .full-grid-col {
        grid-column: 1 / 3;
    }
    .image-gallery-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 350px;
    }
    .contact-section .map-box iframe {
        min-height: 350px;
        max-height:350px;
    }
    
    .showroom-section .map-box iframe{
        max-height:350px;
    }
    form.contact-form button {
        width: fit-content !important;
        min-width: 120px;
    }
    form.contact-form .button-wrap {
        justify-content: center;
    }
    .location-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
    .location-list .info-box {
        display: flex !important;
        flex-direction: column;
    }
    .location-list .info-box > p:not(:first-child) {
        margin-top: auto;
    }

}

/*junvun code starts here*/

.footer-grid-col > .inner-row:last-child .fixed-widget{
    left:0;
}

@media (min-width: 768px){
    .footer-widget .navbar-nav > li:nth-child(2){
        grid-area: 2 / 1 / 3 / 2;
    }

    .footer-widget .navbar-nav > li:nth-child(3){
        grid-area: 3 / 1 / 4 / 2;
    }
    
    .footer-widget .navbar-nav > li:nth-child(4){
        grid-area: 4 / 1 / 5 / 2;
    }
    
    .footer-grid-col > .inner-row:last-child{
        grid-area: 2 / 3 / 3 / 4;
    }
    
    .partner-section .location-list{
        display:grid;
        grid-template-columns:repeat(3, auto);
        justify-content: center;
        column-gap: 70px;
    }
}

@media (max-width: 767.98px){
    .gbc-section .pb-70{
        padding-bottom:35px !important;
    }
    
    .showroom-section > div > .row,
    .contact-section > div > .row{
        flex-direction:column-reverse;
    }
    
    .fixed-widget{
        position:relative;
    }
    
}

@media (max-width: 479.98px){
    .partner-section .location-list{
        grid-template-columns:1fr;
    }
}