body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .col-lg-20 {
        width: 20%;
    }
}

header {
    background: url("../img/postmortem.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
}

header:after {
    position: absolute;
    content: "";
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0,0,0,.3);
    z-index: 1;
}

header .brand {
    top: 40px;
    left: 40px;
    position: relative;
    z-index: 2;
}

header .headers {
    top: 20%;
    left: auto;
    right: 8%;
    z-index: 2;
}

header h1 {
    font-size: 46px;
    color: white;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out 0s forwards;
}

header h1 span{
    color: #27b0b6;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header h2 {
    font-size: 17px;
    color: #fdbe00;
}

header .subtitle {
    top: auto;
    bottom: 50px;
    left: 0;
    right: 0;
    background-color: #fcd903;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    z-index: 2;
}

@media (max-width: 991px) {
    header.ratio-21x9 {
        --bs-aspect-ratio: calc(100% * 4 /3) !important;
    }

    header:after {
        position: absolute;
        content: "";
        width: 100%;
        top: 0;
        left: 0;
        height: 100%;
        background: rgba(0,0,0,.5);
        z-index: 1;
    }

    header .headers {
        top: 220px;
        right: auto;
        left: 40px;
    }

    header h1 {
        font-size: 30px;
    }
}

#presentation {
    padding-top: 2%;
    background-image: linear-gradient(to bottom, #000314 0%, #040c1a 2%, #3bbbac 100%);
    padding-bottom: 2%;
}

#presentation .images {
    opacity: 0;
    left: -200px;
}

#presentation .images.active {
    animation: fadeInPresentation 1.5s ease-in-out 0s forwards;
}

@media (min-width: 992px) and (max-width: 1700px) {
    #presentation .images.active > div {
        position: relative;
    }

    #presentation .images.active > div:nth-child(2) {
        left: -20px;
        border-radius: 23px;
    }

    #presentation .images.active > div:before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.4);
        z-index: 10;
    }

    #presentation .images.active > div:nth-child(2):before {
        border-radius: 23px;
        background: none;
        background-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,0) 19px, rgba(0,0,0,.4) 20px);
    }
}

@keyframes fadeInPresentation {
    0% {
        opacity: 0;
        left: -200px;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

#presentation .images img {
    width: auto;
    height: 300px;
}

#presentation .images img.post-mortem {
    border-radius: 23px;
    position: relative;
    z-index: 1;
    left: -100px;
}

#presentation .texts, #presentation .subtext {
   font-size: 18px;
   color: white;
}

#presentation .texts {
    margin-bottom: 40px;
}

#presentation .texts h3 {
    font-size: 36px;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    left: -200px;
    opacity: 0;
    animation: fadeInPresentation 1.5s ease-in-out 0s forwards;
}

#presentation .texts h3 span {
    color: #00c3b3;
}

#presentation .btn, #capabilities .btn, #contact .info .principal .btn {
    background-color: #fdeb00;
    color: #000;
    text-decoration: underline;
    padding: 20px 30px;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    border: 0;
    border-radius: 38px;
    margin-left: -200px;
    opacity: 0;
    animation: fadeInPresentationButton 1.5s ease-in-out 0s forwards;
}

#contact .info .principal .btn {
    animation: none;
    margin-left: 0;
    opacity: 1;
}

  #presentation .btn:hover, #capabilities .btn:hover, #contact .info .principal .btn:hover  {
    text-decoration: none;
}

@keyframes fadeInPresentationButton {
    0% {
        opacity: 0;
        margin-left: -200px;
    }
    100% {
        opacity: 1;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    #presentation {
        padding-bottom: 7%;
    }

    #presentation .images{
        position: absolute;
        top: 8%;
        left: 0;
    }

    #presentation .texts{
        min-height: 300px;
    }
}

@media (max-width: 991px) {
    #presentation .images > div {
        width: 50%;
        overflow: hidden;
    }

    #presentation .images > div:nth-child(2) {
        left: -15px;
        position: relative;
        border-radius: 23px;
    }
}

#why-degradation {
    padding-top: 2%;
    background-image: linear-gradient(to bottom, #3bbbac 0%, #fdffff 100%);
    padding-bottom: 2%;
}

#why-degradation .intro {
    font-size: 18px;
    color: #030c1a;
}

#why-degradation .intro h3 {
    position: relative;
    left: -200px;
    font-size: 48px;
    font-weight: normal;
    font-style: italic;
    color: #030c1a;
    opacity: 0;
    animation: fadeInPresentation 1.5s ease-in-out 0s forwards;
    margin-bottom: 30px;
}

#why-degradation .highlight {
    padding: 20px 40px;
    background: #FFF;
    border: 1px solid #007073;
    border-radius: 10px;
    margin: 30px 10px 0 10px;
    max-width: calc(100% - 20px);
}

@media (min-width: 992px) {
    #why-degradation {
        padding-top: 7%;
        padding-bottom: 7%;
        position: relative;
        z-index: 2;
    }
    #why-degradation:before {
        content: "";
        position: absolute;
        top: 2%;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../img/sodium-icon.png") no-repeat 0 0;
    }

    #why-degradation .highlight {
        margin-right: 0;
        margin-left: 0;
        max-width: 60%;
        align-self: end;
    }
}

#value-proposition {
    padding-top: 2%;
    padding-bottom: 2%;
    background: #fdffff;
}

#value-proposition .leading-container {
    background-image: linear-gradient(to bottom, #007073 0%, #00c3b3 100%);
    border-radius: 25px;
    color: white;
}

#value-proposition .leading-container h3 {
    font-size: 41px;
    max-width: 50%;
    font-style: italic;
    margin-bottom: 30px;
}

#value-proposition .leading-container .intro {
    max-width: 50%;
    font-size: 17px;
}

#value-proposition .leading-container .intro span {
    color: #000;
}

#value-proposition .leading-container > ul > li {
    position: relative;
}

#value-proposition .leading-container > ul > li .img {
    position: relative;
    border-radius: 25px;
}

#value-proposition .leading-container > ul > li .img:before {
    content: "";
    display: block;
    padding-top: calc(100% * 4 / 3);
}

#value-proposition .leading-container > ul > li img {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 1.5rem);
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    z-index: 1;
}

#value-proposition .leading-container .text {
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: .75rem;
    right: 2.25rem;
    padding: 1.5rem 3rem;
    border-radius: 25px;
    background: rgba(0,0,0,.3);
    font-size: 17px;
    font-weight: bold;
}

@media (min-width: 992px) {
    #value-proposition {
        padding-top: 0;
        padding-bottom: 7%;
    }
}

@media (max-width: 991px) {
    #value-proposition .leading-container h3, #value-proposition .leading-container .intro {
        max-width: 100%;
    }
}

#capabilities {
    padding-top: 2%;
    padding-bottom: 2%;
    background-image: linear-gradient(to bottom, #fdffff 0%, #4eb3a7 100%);
}

#capabilities h3 {
    font-size: 33px;
    color: #030c1a;
}

#capabilities h3 span{
    color: #007073;
}

#capabilities .items-container:before {
    z-index: 1;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    border-radius: 10px;
    border-width: 15px;
    border-style: solid;
    border-color: #007073 #007073 #ffffff #ffffff;
}

#capabilities .items-container .item {
    position: relative;
    overflow: hidden;
    z-index: 2;
    left: -30px;
    opacity: 0;
}

#capabilities .items-container .item.active {
    animation: slideInLeft 1s ease-in-out 0s forwards;
}

@keyframes slideInLeft {
    0% {
        left: -30px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

#capabilities .items-container .item:before {
    content: "";
    display: block;
    padding-top: calc(100% * 327 / 262);
}

#capabilities .items-container .item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 1.5rem;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 4;
}

#capabilities .items-container .item img {
    position: absolute;
    top: 50%;
    left: calc(50% - 1.5rem);
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 3;
}

#capabilities .items-container .item .text {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 1.5rem;
    padding: 20px;
}

#capabilities .items-container .item .text h4 {
    font-size: 16px;
}

#capabilities .items-container .item .text p {
    font-size: 14px;
}

#capabilities .items-container .last {
    margin-bottom: 6rem;
}

@media (min-width: 992px) {
    #capabilities {
        padding-top: 7%;
        padding-bottom: 7%;
    }
}

@media (max-width: 991px) {
    #capabilities .items-container .item::after {
        right: 0;
    }

    #capabilities .items-container .item img {
        left: .75rem;
        transform: translate(0, -50%);
        width: calc(100% - 1.5rem);
    }
    #capabilities .items-container .item::after{
        left: .75rem;
        width: calc(100% - 1.5rem);
    }
    #capabilities .items-container:before {
        display: none;
    }
}

#offer {
    padding-top: 2%;
    padding-bottom: 2%;
    background: #fdffff;
}

#offer h3 {
    font-size: 48px;
    margin-bottom: 0;
    color: #030c1a;
}

#offer h3 span {
    color: #007073;
}

#offer .highlight .item {
    padding: 40px;
    border-radius: 25px;
}

#offer .highlight .item.first {
    background: #000;
    width: 100%;
}

#offer .highlight .item.second {
    background: #163233;
    width: 100%;
}

#offer .highlight .item.third {
    background: #007073;
    width: 100%;
}

#offer .highlight .item.fourth {
    background: #487370;
    width: 100%;
}

#offer .highlight .item.fifth {
    background: #00c3b3;
    width: 100%;
}

@media (min-width: 992px) {
    #offer {
        padding-top: 10%;
        padding-bottom: 10%;
    }

    #offer:before {
        content: "";
        position: absolute;
        top: 1%;
        right: 0;
        width: 100%;
        height: 100%;
        background: url("../img/offer-top-icon.png") no-repeat top right;
        z-index: 0;
    }

    #offer:after {
        content: "";
        position: absolute;
        bottom: 5%;
        right: 0;
        width: 100%;
        height: 100%;
        background: url("../img/offer-bottom-icon.png") no-repeat bottom left;
        z-index: 0;
    }

    #offer .title {
        min-height: 480px;
    }

    #offer .highlight {
        position: absolute;
        top: 30%;
        right: -4rem;
        opacity: 0;
    }

    #offer .highlight.active {
        animation: slideInRight 1s ease-in-out 0s forwards;
    }

    #offer .highlight .item {
        border-radius: 25px 0 0 25px;
    }

    #offer .highlight .item.first {
        width: 50%;
    }

    #offer .highlight .item.second {
        width: 60%;
    }

    #offer .highlight .item.third {
        width: 70%;
    }

    #offer .highlight .item.fourth {
        width: 80%;
    }

    #offer .highlight .item.fifth {
        width: 90%;
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        right: -4rem;
    }
    100% {
        opacity: 1;
        right: -1.5rem;
    }
}



#partners {
    padding-top: 2%;
    padding-bottom: 2%;
    background: #f1f1f1;
}

#partners h3 {
    font-size: 35px;
    color: #030c1a;
}

#partners h3 span {
    color: #007073;
}

#partners .items {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

#partners .items > div{
    margin-bottom: 1rem;
}

#partners .items > div img {
    mix-blend-mode:multiply;
}

#team {
    padding-top: 2%;
    padding-bottom: 2%;
}

#team .presentation h3 {
    font-size: 48px;
}

#team .presentation h3 span{
    color: #007073;
}

#team .presentation p .green {
    color: #007073;
}

#team .people {
    background: #00c3b3;
    position: relative;
}

#team .people:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0), #ffffff 50%);
}

#team .people .item {
    opacity: 0;
    top: -100px;
}

#team .people .item.active {
    animation: slideInUp 1s ease-in-out 0s forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        top: -100px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

#team .people .item .border {
    border: 10px solid #007073 !important;
}

#team .people .item span {
    left: 0;
    right: 0;
    bottom: 1rem;
    text-align: center;
    padding: .1rem;
    color: white;
    background-image: linear-gradient(to bottom, #007073 0%, #00c3b3 100%);
    border-radius: 50rem;
    font-size: 12px;
}

#team .people .item span strong {
    font-size: 13px;
}

@media (min-width: 992px) {
    #team {
        padding-top: 7%;
        padding-bottom: 7%;
    }

    #team:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("../img/team-bottom-icon.png") no-repeat bottom 25% left 0;
    }
}

@media(max-width: 991.99px) {
    #team .people .item .rounded-circle{
        min-width: 100%;
    }
}

#benefits {
    background-image: linear-gradient(to right, #00c3b3 0%, #00c3b3 25%, #fff 25.1%);
    margin-bottom: 2%;
}

#benefits .intro {
    padding-top: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background: #00c3b3;
}

#benefits .texts {
    padding-top: 50px;
    padding-left: 5rem;
}

#benefits .texts h3 {
    font-size: 35px;
    color: #030c1a;
    margin-bottom: calc(3rem + 25px);
}

#benefits .texts h3 span {
    color: #007073;
}

#benefits .services {
    background: #f1f1f1;
    border-radius: 25px;
}

@media (min-width: 992px) {
    #benefits {
        margin-bottom: 7%;
    }
    #benefits .texts .photos {
        position: relative;
        left: -100px;
        width: calc(100% + 125px);
        margin-bottom: calc(3rem + 25px) !important;
    }

    #benefits .texts .photos > div {
        position: relative;
        top: 25px;
    }

    #benefits .texts .photos > div:nth-child(2n-1) {
        top: -25px;
    }

    #benefits .services h4 {
        position: absolute;
        top: 50%;
        left: -21%;
        background: #000;
        color: #fff;
        padding: 10px 20px;
        transform: translateY(-50%);
        border-radius: 10px;
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    #benefits {
        background-image: none;
    }

    #benefits .intro {
        margin-left: .75rem;
        width: calc(100% - 1.5rem);
        border-radius: 25px;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    #benefits .texts {
        padding-left: .75rem;
    }

    #benefits .texts h3 {
        margin-bottom: 3rem;
    }

    #benefits .services {
        margin-left: .75rem;
        margin-right: .75rem;
        width: calc(100% - 1.5rem);
    }
}

/*
#highlights .item{
    text-decoration: none;
}

#highlights .item h3{
    font-size: 18px;
    color: #27b0b6;
}

#highlights .item:hover img {
    opacity: 0.8;
}

#highlights .item:hover h3 {
    color: var(--bs-body-color);
} */

#contact .info {
    padding: 90px 45px 50px 30px;
    background-color: #000000;
    background-image: url("../img/cic-energigune.svg");
    background-repeat: no-repeat;
    background-position: right 45px top 90px;
    background-size: 105px;
}

#contact .info .principal {
    padding-right: 160px;
    color: #ffffff;
    font-size: 18px;
}

#contact .info .principal h4 {
    font-size: 46px;
    line-height: 48px;
    font-weight: normal;
    color: #ffffff;
}

#contact .info .principal h4 span {
    display: block;
    color: #27b0b6;
}

#contact .info .principal .contact-data .name{
    color: #27b0b6;
}

#contact .info .principal .contact-data .email{
    font-size: 15px;
}

#contact .info .principal .contact-data .email a{
    color: #FFF;
    text-decoration: none;
}

#contact .info .links {
    background: url("../img/contact-icon.png") no-repeat right bottom;
    background-size: 506px 124px;
    min-height: 124px;
    padding-bottom: 15px;
}

#contact .info .links a{
    color: #ffffff;
    text-decoration: none;
}

#contact .info .links a:hover{
    color: rgba(255, 255, 255,.7);
}

@media (max-width: 991px) {
    #contact .info .links {
        background: none;
        min-height: 1px;
        padding-bottom: 0;
    }
}