/* General Settings */
header {
    color : var(--text-color-dark);
}

main {
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color-light);
    --smooth-color: var(--primary-color);/*#CEffED;*/
    --hero-svg-white : var(--primary-color);
    --accent-color: #00A19D;/*#F78F00 ;/*#71C15A; /*#F5BBBB;/*#F3B304;*/
    --accent-active: var(--primary-color); /*#F78F00; /*#875E00 ; /*#284221; /*#A74602;/*#59221D;*/
}

/* General Styles */
a {
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-active);
}



/* Hero Section */
.hero {
    font-family: 'Orbitron', sans-serif;

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
    padding-top: var(--header-size);
    padding-right: 2%;
    padding-left: 2%;
    min-height: 100vh;
    text-align: center;
    background-color: var(--smooth-color);
    overflow: hidden;
}

.hero-title {
    text-align: left;
    margin: 10px 10px;
    line-height: 1;
    color: var(--text-color-dark);
    letter-spacing: -.04em;
    max-width : 34rem;
}

.hero-title h1 {
    font-size: 6em;
    font-weight: 500;
}

.hero-title p {
    font-size: 2.1rem;
    max-width : 45rem;
}

.hero img {
    max-width: 80%;
    max-height: 80vh;
    margin-right: 0;
    border-radius: 4em;
    object-fit: contain;
    overflow: hidden;
    animation: slideInY 0.8s ease-out;
}


@media (max-width: 1200px) {
    .hero {
        flex-direction: column-reverse;
        height: auto;
    }

    .hero img {
        max-width: 100%;
        border-radius: 0px;
        padding-left: 0;
    }

    .hero h1 {
        margin: 20px 0;
        max-width: 80%;
    }
    .hero-title {
    max-width : 100%;
    }

    .hero-title h1 {
        font-size: 4.3em;
        font-weight: 500;
    }
}

@media (max-width: 40em) {
    .hero-title h1 {
        font-size: 3.5em;
        font-weight: 500;
    }

    .hero-title p {
        font-size: 2.1rem;
        max-width : 45rem;
    }
}
@media (max-width: 35em) {
    .hero-title h1 {
        font-size: 3em;
    }

    .hero-title p {
        font-size: 2.1rem;
    }
}
@media (max-width: 25em) {
    .hero-title h1 {
        font-size: 2.5em;
    }

    .hero-title p {
        font-size: 1.2rem;
    }
}


/* clients grid */

.clients-grid {
    /*border : none 5px var(--accent-color);*/
    margin-top : 1em;
    padding : 5% 15%;

    display : grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 100fr));
    gap : 5px;
    align-items:center;
}
.clients-grid a {
    /*padding : 2em;*/
    text-align: center;
    align-content: center;
    height : 100%;
    width : 100%;
}
.clients-grid img {
    margin : auto;
    max-width : 100%;
    max-height : 100%;
}
.clients-grid a:hover {
    background-color : var(--accent-color);
    transition: all 0.85s ease;


}
@media (max-width: 80em) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(15em, 100fr));
    }
}
@media (max-width: 40em) {
    .clients-grid {
        padding : 20px;
        display : grid;
        grid-template-columns: repeat(auto-fill, minmax(10em, 100fr));
    }

}



/* Clients Details */
.details-global-container {
    padding: 0;
    --bg-color : var(--accent-color);
}

.clients-details-title {
    margin: 7rem auto 2rem auto;
    padding: 5%;
    max-width: 70%;
    font-size: 2em;
    text-align: center;
    border: solid 10px var(--bg-color);
    color : var(--bg-color);
    border-radius: 5px;
}

@media (max-width: 40em) {
    .clients-details-title {
        font-size: 1.4em;
    }
}

.clients-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3em;
    border-radius:  3em 3em 0px 0px;
    background: url("../../img/services/light-noise.94af877bf6d1.png") var(--bg-color);
    margin-bottom: 0;
    padding: 5em 40px;
}

@media (max-width: 968px) {
    .clients-details {
        padding: 5em 20px;
    }
}

.client-card-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: none;
    border-radius: 5px;
    width: 1200px;
    max-width: 80%;
    justify-content: center;
    background-color: var(--background-color-light);
    color: var(--text-color-light);
    transition: all 0.3s ease-out;
}
.client-card-detail:hover{
    border : solid 5px var(--accent-active);
    /*border-radius : 0;*/
    transition : border 0s, transform 0.5s ease;
    transform : scale(1.05);
}

@media (max-width: 40em) {
    .client-card-detail {
        max-width: 100%;
    }
}

.client-detail-header {
    display: flex;
    flex-direction: row;
    gap: 10%;
    width: 100%;
    align-items: center;
    padding: 1em;
}

.client-detail-header a {
    max-width: 40%;
}

.client-detail-header .client-image {
    max-width: 100%;
    max-height: 100%;
    margin-left : 10px;
}

.client-detail-header .client-name {
    font-size: 2rem;
    font-weight: 500;
    color: inherit;
}

.client-description {
    margin: 0 0 0 0;
    padding: 1em;
    font-size: 1.4em;
    line-height: 1.6;
    color: inherit;
    text-align: justify;
    background-color: var(--background-color-light);
}

@media (max-width: 80em) {
    .client-description {
        font-size: 1.2em;
    }
}

@media (max-width: 40em) {
    .client-description {
        font-size: 1.1em;
    }
}

.know-more {
    text-decoration : none;

    background : var(--accent-color);
    color : var(--accent-active);

    font-size : 1.25em;
    border-radius : 5px;

    padding : 0.5em;
    margin : 0 auto;
    width : calc(100% - 1.9em);


    text-align : center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.4s ease;;
}

.client-card-detail:hover .know-more {
    opacity: 1;
    visibility: visible;
}
.know-more:hover {
    background-color : var(--accent-active);
    color: var(--text-color-dark);
}