.about-section {
    background-size: cover; 
    background-position: center;
    width: 100%;
    padding: 50px 0; 
    background-image: url('../slike/backgroundhero.png');
}

.about-text {
    color: black;
    line-height: 1.6;
    padding: 0; 
    font-size: 30px;
    margin-bottom: 10%;
    margin-top: 10%;
    text-align: justify;
}

.about-container {
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    align-items: center;
    padding: 40px 0;
}


.custom-square {
    background-image: url('../slike/korisno.jpeg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    width: 45%; 
    padding: 20px;
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    display: flex; 
    align-items: center;
    justify-content: center; 
    height: 356px; 
}

.custom-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 150, 87, 0.6); 
    z-index: 0;
}
.square-text {
    position: relative;
    color: #FDFBE2; 
    font-size: 20px; 
    line-height: 1.8;
    z-index: 1; 
    text-align: justify;
    padding: 10px;
}


.section-info-divider {
    position: relative;
    display: flex;
    background-color: rgba(35, 31, 32, 0.1);
    height: 50px;
    font-size: 30px;
    margin-bottom: 5%;
    padding-left: 10%;
    align-items: center;
}

.fa-arrow-right {
    margin-right: 2%;
    color: #FF6F61;
}

@media (min-width: 998px) and (max-width: 1189px){



    .custom-square {
        width: 400px; 
        height: 250px; 
        margin: 10px; 
    }

    .square-text {
        font-size: 18px;
        padding: 10px; 
    }
}


@media (min-width: 992px) {
    .row {
        display: flex; 
    }
    .col-md-6 {
        width: 50%; 
    }
}

@media (max-width: 998px) {
    .custom-square {
        width: 100%; 
        height: 200px; 
        margin-bottom: 20px;
    }
    .square-text{
        font-size: 14px;
        
    }
}


@media (max-width: 768px) {
    .about-text {
        font-size: 18px; 
        padding: 0 10px; 
    }
}

@media (max-width: 576px) {
    .about-text {
        font-size: 14px; 
    }
}
