.w-100{
    width: 100%;
}

.h-100{
    height: 100%;
}

.nowrap{
    white-space: nowrap;
    display: inline-block;
}

.text-white-light{
    color: #FFFFFFDD;
}

.text-accent{
    color: var(--theme-color);
}

.bg-gray{
    background-color: #F7F7F7;
}

.bg-theme{
    background-color: #EDB28999;
}

.theme-btn-accent:hover{
    color: var(--theme-color) !important;
}

/* Header */

@media screen and (min-width: 1367px){
    .mobile-nav a#res-cross::before {
        right: 40px;
    }
}

/* Hero */

.hero {
    height: 600px;
}

.hero > div{
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero > div::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.hero .container{
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 90px;
    text-transform: uppercase;
    line-height: 78px;
    color: #FFFFFF;
} 

.hero p {
    color: #FFFFFFEE;
    margin-top: 20px;
    margin-bottom: 30px;
}

@media screen and (max-width: 1200px){
    .header-style-one.two .desktop-nav {
        padding: 0;
    }
}

@media screen and (max-width: 1030px){
    .hero{
        height: 580px;
    }
}

@media screen and (max-width: 991px){
    .header-style-one.two .desktop-nav {
        padding: 0;
    }

    .hero{
        height: 660px;
    }
}

@media screen and (max-width: 767px){
    .hero h1{
        font-size: 56px;
        line-height: 52px;
    }

    .hero {
        height: fit-content;
    }

    .hero .container{
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Footer */

footer i{
    aspect-ratio: 1;
}

footer a,
footer span{
    font-weight: 400 !important;
}

footer a{
    transition: 300ms;
    width: 100% !important;
}

@media screen and (max-width: 767px){
    .footer-style-one .footer-p-2 .footer-col ul li:first-child{
        align-items: flex-start;
    }
}

/* Whatsapp */

#whatsapp {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    position: fixed;
    bottom: 70px;
    right: 10px;
    transform: scale(0);
    cursor: pointer;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 10;
    border: 3px solid var(--theme-color);
}

#whatsapp i{
    color: var(--theme-color);
    font-size: 32px;
}

#whatsapp.active {
    bottom: 80px;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    -webkit-animation: 500ms ease-in-out 0s normal none 1 running scrollToTop;
    animation: 500ms ease-in-out 0s normal none 1 running scrollToTop;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* Despre noi */

.services-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.services-grid-col-2{
    grid-template-columns: 1fr 1fr;
}

.services-grid .service-data{
    height: 100%;
}

@media screen and (max-width: 991px){
    .services-grid, .services-grid-col-2{
        grid-template-columns: 1fr;
    }

    .services-grid .service-data{
        height: auto;
        margin-bottom: 0;
    }
}

.service-data .grid-catalog-piatra{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
}

@media screen and (max-width: 991px){
    .service-data .grid-catalog-piatra{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 767px){
    .service-data .grid-catalog-piatra{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 320px){
    .service-data .grid-catalog-piatra{
        grid-template-columns: 1fr;
    }
}

.service-data .grid-catalog-piatra img{
    width: 100%;
    transition: 300ms;
    object-fit: cover;
}

.service-data .grid-catalog-piatra figure{
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 15px;
}

.service-data .grid-catalog-piatra figure:hover img{
    transform: scale(1.1);
}

.service-data .grid-catalog-piatra h5{
    text-transform: uppercase;
}

.service-data .extra-info p{
    font-size: 14px;
    line-height: 20px;
}

/* Servicii */

video {
    width: 100%;
    max-width: 600px;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.2);
}

.core-features .accordion-header{
    margin-bottom: 0 !important;
    margin-left: 0;
    width: 100%;
    border: 1px solid #000000;
}

.core-features .accordion-button:not(.collapsed){
    background-color: #000000;
}

.core-features .accordion-header button{
    text-transform: uppercase;
    font-size: 22px;
    line-height: 28px;
    padding: 10px 20px;
    height: fit-content;
}

.core-features .accordion-item:not(:last-child){
    margin-bottom: 20px;
}

.core-features .accordion-item.active{
    margin-bottom: 0;
}

.core-features .accordion-body{
    padding: 20px;
}

.core-features .accordion-body p{
    font-size: 16px;
    line-height: 24px;
}

.core-features button.accordion-button span {
    display: none;
}

/* Proiecte */

.team-data{
    height: 100%;
}

.team-data p{
    line-height: 24px;
}

.team-data p i{
    color: #000000;
}

.team-data figure img{
    transition: 300ms;
    object-fit: cover;
}

.team-data figure:hover img{
    transform: scale(1.1);
}

@media screen and (max-width: 991px){

    .team-data{
        padding: 20px;
    }

    .team-data figure{
        margin-bottom: 25px;
    }

    .team-data .row > div:last-of-type figure{
        margin-bottom: 0;
    }
}

.grid-proiecte{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media screen and (max-width: 991px){
    .grid-proiecte{
        grid-template-columns: 1fr;
    }
}

.galerie img{
    max-height: 400px;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
}

/* Calculator */

.nice-select .option{
    font-family: var(--theme-found);
    border-radius: 0;
}

.nice-select .list{
    border-radius: 0;
    border: 1px solid #999999;
    box-shadow: none;
    transform: scale(1.003) !important;
}

.hidden-item {
    display: none;
}

/* Contact */

.data figure img{
    transition: 300ms;
}

.data figure:hover img{
    transform: scale(1.1);
}

form input,
form textarea{
    padding: 15px 20px !important;
    color: #131313 !important;
}

form textarea{
    height: 218px;
}

form textarea{
    max-height: 312px;
}

/* Updates */

header .header-logo{
    margin-left: -20px;
}

#scroll-percentage-value {
    background-color: var(--theme-color) !important;
}

@media screen and (max-width: 991px){
    .data h2{
        font-size: 36px;
        line-height: 42px;
    }
}

@media screen and (max-width: 767px){
    .team-style-one .team-data .team-info h3{
        font-size: 26px;
        line-height: 30px;
    }
}

.m-video{
    padding-right: 12px;
    object-fit: cover;
    max-height: min(95dvh, 800px);
    min-height: 660px;
}

@media screen and (max-width: 991px){
    .m-video{
        margin-bottom: -7.5px;
        padding-right: 0;
    }
}

.footer-style-one .footer-p-2 .footer-col ul:not(.social-media) li span{
    width: 100%;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    padding: 30px;
    background-color: var(--theme-color);
    text-align: center;
    width: 300px;
    position: relative;
    width: min(90dvw, 900px);
}

.popup-content p{
    color: #FFFFFF;
}

.popup-content ul li{
    font-family: var(--theme-found);
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 30px;
    line-height: 0;
    cursor: pointer;
    font-weight: 100;
    color: #FFFFFF;
    opacity: 0.8;
}

.cards-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 20px;
}

.card {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.progress-circle {
    position: relative;
    width: 95%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(var(--theme-color) 0% 0%, #ddd 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.progress-circle::before{
    content: '';
    position: absolute;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    z-index: 1;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.progress-circle span{
    position: relative;
    z-index: 2;
    font-size: 32px;
    line-height: 36px;
    color: #000000;
}

.service-name {
    margin-bottom: 15px;
    font-weight: bold;
    display: block;
    color: #000000 !important;
    font-size: 26px !important;
    line-height: 32px;
}

.service-next-target{
    margin-top: 15px;
    display: block;
    color: #000000 !important;
    font-size: 16px !important;
    line-height: 26px;
    text-transform: none !important;
    font-weight: 400 !important;
    font-family: var(--theme-found), sans-serif !important;
}

@media screen and (max-width: 991px){
    .cards-container{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 525px){
    .cards-container{
        grid-template-columns: 1fr;
    }
}

.bg-gray .service-data{
    border-color: #000000;
}

.styled-list{
    padding-left: 20px;
}

.styled-list li{
    list-style-type: square;
    font-family: var(--theme-found), sans-serif;
}

@media screen and (max-width: 991px){
    .h-100{
        height: auto !important;
    }
}

.service-image{
    aspect-ratio: 5/3;
    object-fit: cover;
}

.theme-btn-sm{
    padding: 5px 20px;
    width: fit-content;
}