/* About Us Section Styles */
.about-us-section {}

.container {

    margin: 0 auto;

}


/* Full width sections */
.full-width-section,
.card {

    background: white;
    border-radius: 8px;
    overflow: visible;
    position: relative;
}

h1.subtitle {
    font-size: 35px;
}

.subtitle {

    font-weight: normal;

}

.section-header,
.card-header {
    text-align: right;
    position: relative;

    transform: translateY(-26px);
    max-width: 100%;
}




.full-width-section p {
    margin-bottom: 0 !important;
}

.section-header h2,
.card-header h3 {

    font-weight: bold;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline-block;
    background: #fff;
    padding: 5px 7px;
    letter-spacing: -.5px;
    text-align: right;

}

.card-header h3 {
    max-width: 68%;
}

.content-with-image,
.card {
    padding: 10px 17px;
    border: 3px solid #c4cd26;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.content-with-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.section-image {
    width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;

}

.text-content {
    line-height: 1.6;
    font-size: 14px;
}

.text-content p {
    margin: 0 0 20px 0;

}

/* Masonry Grid */
.masonry-grid {
    display: flex;
    margin-bottom: 50px;
}

.left-column {
    flex: 1;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.masonry-grid>.right-column {
    margin-right: 0;
}

/* Cards */
.card {

    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}


.content-with-image h2 {
    font-size: 21px;
}


.content-with-image p,
.card-content p,
.content-with-image .text-content p {
    transform: translateY(-13px);
}

.card-content p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-size: 14px;


}

.card-content p:last-child {
    margin-bottom: 0;
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 6px;

}



/* Video section */
.video-section {
    text-align: center;
    padding: 20px 0 40px;
    border-radius: 8px;

}

.video-section h4 {
    margin: 0 0 30px 0;
    font-size: 22px;
    font-weight: 600;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.full-width-section {
    margin-bottom: 30px;
}

    .card.cooperation-card .card-header ,
    .card.balanced-body-card .card-header:not(.single-line)
    {
        transform: translateY(-37px);
        max-width: 80%;
        justify-self: right;
        
    }

/* Responsive Design */
@media (max-width: 768px) {
    .subtitle.two-line {
        transform: none;
    }

    .full-width-section {
        margin-bottom: 35px;
    }

    .full-width-section:not(.environmental-section) .section-header
{
        transform: translateY(-49px);

    }
.full-width-section.environmental-section .section-header
{
    transform: translateY(-37px);
}
    .card.cooperation-card .card-header,
    .card.balanced-body-card .card-header:not(.single-line) {
        transform: translateY(-42px);
    }

    .section-header h2,
    .card-header h3 {
        padding: 5px;
    }


    .masonry-grid {
        flex-direction: column;
        gap: 35px;
    }

    .left-column {
        margin-right: 0;
    }

    .content-with-image {
        padding: 20px;
    }



    .card-header h3 {
        max-width: 100%;
    }





    .video-section h4 {

        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {

    .masonry-grid
{
    margin-bottom: 30px;
}

    .card.cooperation-card .card-header ,
    .card.balanced-body-card .card-header:not(.single-line)
    {
        transform: translateY(-37px);
        max-width: 80%;
        justify-self: right;
    }
.section-header, .card-header
{

}
    .full-width-section:not(.environmental-section) .section-header
        {
            transform: translateY(-47px);
        }
}

.section-header h2,
.card-header h3 {

    display: inline;
}

.content-with-image p {
    transform: translateY(-24px);
}

.content-with-image h2,
h1.subtitle,
.card-header h3 {
    font-size: 18px;
}





}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.full-width-section {
    animation: fadeInUp 0.6s ease-out;
}

