/* Grouped values  */

.second-section p, .fourth-section h2, .values-title{
    margin-inline: clamp(5%, 17vw, 17%);  
}

.second-section h2, .third-section h2, .third-section p, .fourth-section ul {
    margin: 0 clamp(5%, 17vw, 17%);
}

/* HERO SECTION  */
.aboutUs-hero-section {
    background-image: url("../pictures/about-hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    position: relative;
}

.aboutUs-hero-section::before {
    content: '';
    position: absolute;
    min-height: 100vh;
    inset: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 30%);
    z-index: 1;
}

.about-us-content-limit {
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;     
}

.aboutUs-hero-content {
    margin-inline: clamp(5%, 17vw, 17%);
    color: #fff;
    text-align: left;
    z-index: 2;
    max-width: 550px; 
}

.aboutUs-hero-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 500;
    line-height: clamp(1.6rem, 3vw, 2rem);
    text-shadow: 0.12rem 0.12rem 0.25rem rgba(0, 0, 0, 0.8);
}


/* Second Section - EXPERTISE*/
.second-section h2,
.second-section p,
.second-section li {
    opacity: 0;
    transform: translateY(clamp(0.8rem, 1.5vw, 1.25rem));
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.second-section .visible {
    opacity: 1;
    transform: translateY(0);
}

.second-section h2.visible {
    transition-delay: 0s;
}

.second-section p.visible {
    transition-delay: 0.2s;
}

.second-section li.visible:nth-child(1) {
    transition-delay: 0.6s;
}

.second-section li.visible:nth-child(2) {
    transition-delay: 0.8s;
}

.second-section li.visible:nth-child(3) {
    transition-delay: 1.2s;
}

.second-section li.visible:nth-child(4) {
    transition-delay: 1.6s;
}

.second-section li.visible:nth-child(5) {
    transition-delay: 2s;
}

.second-section h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    text-align: left;
    line-height: clamp(2rem, 3vw, 4rem);
    padding-top: clamp(6rem, 10vw, 9.3rem);
    padding-bottom: clamp(1.5rem, 5vw, 3rem);
}

.second-section p {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    line-height: clamp(1.6rem, 3vw, 2rem);
    text-align: left;
}

.second-section ul {
    line-height: clamp(2rem, 2vw, 3rem);
    margin-inline: clamp(8%, 20vw, 20%);
    padding: clamp(0.5rem, 2vw, 0.9rem) 0 clamp(6rem, 10vw, 9.3rem);
}

.second-section li {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    list-style-type: disc;
}

.second-section li:not(:last-child) {
  margin-bottom: clamp(0.6rem, 1.3vw, 1.2rem);
}


/* Third Section - VISION */
.third-section {
    position: relative;
    background-image: url("../pictures/about-vision.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: clamp(6rem, 10vw, 9.3rem);
    min-height: clamp(18rem, 30vw, 25rem);
}

.third-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.third-section h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: clamp(2rem, 3vw, 4rem);
    text-align: left;
    padding-top: clamp(6rem, 10vw, 9.3rem);
    padding-bottom: clamp(1rem, 3vw, 3%);
    text-shadow: 0.12rem 0.12rem 0.25rem rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.third-section p {
    position: relative;
    color: #fff;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    text-align: left;
    font-weight: 500;
    line-height: clamp(1.6rem, 3vw, 2rem);
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* Fourth Section - DIFFERENTIATORS*/
/* ANIMATIONS */
.fourth-section h2,
.fourth-section li h3,
.fourth-section li p {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fourth-section .visible { opacity: 1; transform: translateY(0); }

.fourth-section h2.visible { transition-delay: 0s; } 
.fourth-section li:nth-child(1) h3.visible { transition-delay: 0.2s; } 
.fourth-section li:nth-child(1) p.visible { transition-delay: 0.4s; } 
.fourth-section li:nth-child(2) h3.visible { transition-delay: 0.6s; } 
.fourth-section li:nth-child(2) p.visible { transition-delay: 0.8s; } 
.fourth-section li:nth-child(3) h3.visible { transition-delay: 1.0s; } 
.fourth-section li:nth-child(3) p.visible { transition-delay: 1.2s; }

.fourth-section {
    background-color: #fff;
    padding-bottom: clamp(6rem, 10vw, 9.3rem);
}
.fourth-section h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: clamp(2rem, 5vw, 4%);
    padding-top: clamp(6rem, 10vw, 9.3rem);
}

.fourth-section .differentiators-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 3rem);
    padding: 0;
}

.fourth-section li {
    list-style: none;
    background-color: rgb(0, 119, 182);
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.2rem, 3vw, 1.8rem);
    border-radius: clamp(0.6rem, 2vw, 1.25rem);
    display: flex;
    width: 100%;
}

.fourth-section .box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.fourth-section h3 {
    display: flex;             
    align-items: center;        
    text-align: left;          
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: bold;
    color: #fff;
    padding-bottom: clamp(0.6rem, 2vw, 1.25rem);
    border-bottom: 0.06rem solid #fff;
    margin-bottom: clamp(0.6rem, 2vw, 1.25rem);
    line-height: clamp(1.6rem, 3vw, 2rem);
}

.fourth-section p {
    color: #fff;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    line-height: clamp(1.6rem, 3vw, 2rem);  
}

.fourth-section h3, .fourth-section p { word-break: break-word; }


/* Fifth Section - VALUES */
.fifth-section {
    position: relative;
    background-image: url("../pictures/about-values.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: clamp(6rem, 10vw, 9.3rem) 0;
}

.fifth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 70%);
    z-index: 1;
}

.values-title {
    position: relative;
    display: inline-block;
    margin-bottom: clamp(1rem, 3vw, 2%);
    z-index: 1;
}

.values-title h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight:bold;
    color: #fff;
    text-align: left;
    padding: clamp(0.3rem, 1vw, 0.6rem) clamp(1rem, 2vw, 3rem);
    position: relative;
    z-index: 2;
    text-shadow: 0.12rem 0.12rem 0.25rem rgba(0, 0, 0, 0.7);
}


.values-border-svg {
    z-index: 10000;
}

.values-border-rect {
    stroke-dasharray: 700; 
    stroke-dashoffset: 700;
    animation: drawValuesBorder 10s linear forwards; 
}

@keyframes drawValuesBorder {
    to {
        stroke-dashoffset: 0;
    }
}

.carousel {
    position: relative;
    width: 100%;
    max-width: clamp(60%, 71vw, 71%);
    margin: 0 clamp(8%, 14vw, 14%);
    overflow: hidden;
    z-index: 5;
}


.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0rem 3.75rem;
    border-radius: 1.25rem;
    box-sizing: border-box;
}

.carousel-item h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: bold;
    color: #ffffff;
    padding-bottom: 1.25rem;
    border-bottom: solid 0.06rem #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.7);
}

.carousel-item p {
    color: #fff;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 500;
    line-height: clamp(1.6rem, 3vw, 2rem);
    padding-top: 1.1rem;
    text-shadow: 0.12rem 0.12rem 0.25rem rgba(0, 0, 0, 0.);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 0.6rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 20%;
    z-index: 2;
}

.carousel-control.prev {
    left: 0.6rem;
}

.carousel-control.next {
    right: 0.6rem;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
}

.fifth-section .fa-handshake {
    font-size: 1.4rem;
    color: #fff;
    padding: 0; 
}

.fifth-section .fa-chess{
    padding-bottom: 5px;
}

 