/* Contact page specific styles */
.hide-conact{
    display: none;
}
.content-wrap{
    padding-bottom: 0;
}
.footer-top .overlay-text{
    color: #fff!important;
}
.text-stranga { display: grid;}
/* Background image for contact footer top */

/* Brought from home.css as requested */
.box-culoare-fundal-text{
    background: var(--text);
    color: #fff;
}


.box-culoare-fundal-text a{ color:#fff; }

/* Partners section styles (copied from home.css) */
/* Background image box with parallax and subtle zoom */
.box-bg-img{
    position: relative;
    background-image: url('../img/bloc-mare.jpg');
    background-size: 110%; /* slight zoom feel */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* parallax */
    overflow: hidden; /* keep overlay within */
}
.box-bg-img::before{
    content: '';
    position: absolute; inset: 0;
    background: var(--text);
    opacity: 0.5; /* transparent overlay using the same --text color */
    pointer-events: none;
}
/* ensure content above overlay */
.box-bg-img > *{ position: relative; z-index: 1; }

/* Partners row */
.parteneri{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 30px; /* horizontal 30, vertical 20; we also add bottom margin per item */
    margin-top: 20px;
}
.parteneri-item{ display: inline-flex; align-items: center; justify-content: center; margin-bottom: 30px; max-width: 150px; }
.parteneri-item img{ display:block; max-height: 60px; width: auto; height: auto; object-fit: contain; }

.img-forme-center{
    max-width: 280px;
    margin: 30px auto;
}

/* Button under partners */
.btn-parteneri{
    display: inline-block;
    padding: 10px 18px;
    background: var(--text);
    color: #fff;
    border: 1px solid var(--accent-soft);
    border-radius: 10px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; /* smooth effect */
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.btn-parteneri:hover{
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    text-decoration: none;
}
.btn-parteneri:active{
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,.16);
}

.media-float {
    margin-left: 63px;
}

@media (max-width: 991px){ .media-float{ margin: 0 !important; } }
