.main-header .logo{
    background-image: url("/img/logo-2.png");
}

.first-section, .additional-info-section{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    text-align: center;
}

.first-section{
    background-image: url('/img/about-background.jpeg');
}

.first-section h1, .first-section p{
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    color: white;
}

.first-section h1{
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.firt-section p{
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

.section{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.section-content {
    text-align: justify;
    height: 90%;
    width: 95%;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(46, 125, 50, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.second-section:hover .section-content, .third-section:hover .section-content,
.fourth-section:hover .section-content, .fifth-section:hover .section-content, .sixth-section:hover .section-content {
    opacity: 1;
}

.second-section-left, .second-section-right,
.third-section-left, .third-section-right,
.fourth-section-left, .fourth-section-right
{
    width: 50%;
    height: 100%;
}

.content-section{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('/img/about-background-2.png');
    border-bottom: 2px solid #2E7D32;
    background-color: rgba(255, 255, 255, 0.7); 
    background-blend-mode: lighten;
}

body::-webkit-scrollbar {
    display: none;
}

body{
    overflow-x: hidden;
}

.second-section-right, .third-section-left, .fourth-section-right{
    display: flex;
    align-items: center;
    justify-content: center;
}

.second-section-right img, .fourth-section-right img {
    width: 70% !important;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: right 0.5s ease-out, opacity 0.5s ease-out;
    object-fit: cover !important;
    right: -100%;
    position: relative;
    opacity: 0;
}

.third-section-left img{
    width: 70% !important;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.5s ease-out, opacity 0.5s ease-out;
    object-fit: cover !important;
    left: -100%;
    position: relative;
    opacity: 0;
}

.second-section-left p, .fourth-section-left p{
    text-align: justify;
    font-size: 1.4rem;
    position: relative;
    left: -100%;
    opacity: 0;
    transition: left 0.5s ease-out, opacity 0.5s ease-out;
}

.third-section-right p {
    text-align: justify;
    font-size: 1.4rem;
    position: relative;
    right: -100%;
    opacity: 0;
    transition: right 0.5s ease-out, opacity 0.5s ease-out;
}

.third-section-right h2, .fourth-section-left h2, .sixth-section h2 {
    opacity: 0;
    transition: opacity 0.5s ease-out;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    color: #2E7D32;
}

.third-section-right h2::after, .fourth-section-left h2::after, .sixth-section h2::after {
    content: "";
    display: block;
    width: 40%;
    height: 3px;
    background: #4CAF50;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.third-section:hover h2::after{
    width: 100%;
}

.fourth-section:hover h2::after{
    width: 100%;
}
.sixth-section:hover h2::after{
    width: 100%;
}

.third-section:hover .third-section-right h2, .fourth-section:hover .fourth-section-left h2, .sixth-section:hover h2 {
    opacity: 1;
}

.second-section:hover .second-section-right img {
    right: 0;
    opacity: 1;
}

.fourth-section:hover .fourth-section-right img {
    right: 0;
    opacity: 1;
}

.third-section:hover .third-section-left img {
    left: 0;
    opacity: 1;
}

.second-section:hover .second-section-left p {
    left: 0;
    opacity: 1;
}

.fourth-section:hover .fourth-section-left p {
    left: 0;
    opacity: 1;
}

.third-section:hover .third-section-right p {
    right: 0;
    opacity: 1;
}

.second-section-right img, 
.third-section-left img,
.fourth-section-right img,
.sixth-section-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.fifth-section .section-content, .additional-info-section .section-content {
    width: 95%;
    height: 90%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
}

.fifth-section .goals-list{
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fifth-section h2{
    margin-bottom: 15px;
    position: relative;
    color: #2E7D32;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fifth-section h2::after{
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #4CAF50;
    margin: 10px auto 0;
    transition: width 0.3s ease-in-out;
}

.fifth-section:hover h2::after{
    width: 100%; 
}

.fifth-section:hover .goals-list, .fifth-section:hover h2{
    opacity: 1;
}

.goals-list li{
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    position: relative;
    padding-left: 1.5rem;
}

.goals-list li::before {
    content: '✔';
    color: #27ae60;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.sixth-section .section-content {
    flex-direction: column;
}

.sixth-section h2{
    margin-bottom: 20px;
}

.sixth-section h3{
    color: #2E7D32;
}

.sixth-section-top, .sixth-section-bottom{
    display: flex;
    height: 40%;
    width: 100%;
    justify-content: space-between;
}

.sixth-section-top{
    position: relative;
    left: -100%;
    opacity: 0;
    transition: left 0.5s ease-out, opacity 0.5s ease-out;
}

.sixth-section:hover .sixth-section-top{
    left: 0;
    opacity: 1;
}

.sixth-section-bottom{
    position: relative;
    right: -100%;
    opacity: 0;
    transition: right 0.5s ease-out, opacity 0.5s ease-out;
}

.sixth-section:hover .sixth-section-bottom{
    right: 0;
    opacity: 1;
}

.sixth-section-img {
    width: 25%;
    height: 100%;
}

.sixth-section-text{
    width: 70%;
    height: 100%;
}

.sixth-section-text p{
    font-size: 0.9rem;
}

.item-container{
    display: flex;
    gap: 5px;
}

.item-container label{
    display: flex;
    align-items: center;
    font-weight: 600;
}

.additional-info-section .section-content {
    background-color: transparent;
    opacity: 1;
    box-shadow: none;
}

.additional-info-section {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/about-goals-background.jpeg');
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.additional-info-section h3 {
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.additional-info-section h3::after {
    content: "";
    display: block;
    height: 3px;
    background-color: white;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .first-section-content {
        position: absolute;
        top: 30%;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .second-section-left, .second-section-right, .third-section-left, .third-section-right, .fourth-section-left, .fourth-section-right {
        width: 100%;
    }

    .section-content{
        flex-direction: column;
        opacity: 1;
        height: auto;
    }

    .second-section-left p, 
    .fourth-section-left p,
    .third-section-left img,
    .sixth-section-top
    {
        opacity: 1;
        left: 0;
    }

    .second-section-right img,
    .third-section-right p, 
    .fourth-section-right img,
    .sixth-section-bottom{
        opacity: 1;
        right: 0;
    }

    .third-section-right h2, .fourth-section-left h2{
        opacity: 1;
        width: 100%;
        text-align: center;
    }

    .third-section-right h2::after, .fourth-section-left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .fifth-section h2, .fifth-section .goals-list, .sixth-section h2{
        opacity: 1;
    }

    .fifth-section h2{
        width: 100%;
    }

    .fifth-section .section-content{
        justify-content: space-around;
    }

    .sixth-section-top, .sixth-section-bottom {
        flex-direction: column;
    }

    .sixth-section-text, .sixth-section-img {
        width: 100%;
        height: auto;
    }

    .sixth-section{
        height: auto;
    }

    .section{
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .additional-info-section{
        height: 100vh;
    }

    .item-container{
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .item-container label{
        text-align: right;
    }

    .item-container p{
        text-align: left;
    }
}