/* Stiluri pentru slider */
.home-slider {
    position: relative;
    z-index: 1;
    height: auto;
    margin-bottom: 100px !important;
}

.slider-item {
    height: 500px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Ascunde overlay-ul */
.slider-item .overlay {
    display: none !important;
}

/* Container și text pentru slider */
.slider-text {
    height: auto;
    display: flex;
    align-items: flex-start !important;
    justify-content: flex-start;
    padding-top: 60px !important;
    width: 45% !important;
    margin-left: 52% !important;
    padding-left: 0 !important;
}

.slider-text .text {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    margin: 0;
    text-align: left;
}

.slider-text h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.slider-text h1 span {
    font-size: 1.5rem !important;
}

.slider-text .subheading {
    font-size: 1.2rem !important;
}

/* Stiluri îmbunătățite pentru formular */
.request-quote {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 15px 50px 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin: 0 auto;
}

.request-quote .bg-primary {
    background: #fda729 !important;
    padding: 1.5rem;
    border-radius: 15px 50px 0 0;
    text-align: center;
}

.request-quote .bg-primary h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.devis-form {
    flex: 1 1 100%;
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.devis-form .form-group {
    flex: 1 1 calc(50% - 10px);
    margin-bottom: 1.5rem;
}

.devis-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.devis-form .form-control {
    height: 52px;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.devis-form .form-control:focus {
    border-color: #fda729;
    box-shadow: 0 0 0 0.2rem rgba(253, 167, 41, 0.1);
}

.devis-form textarea.form-control {
    height: 120px;
    resize: vertical;
}

.devis-form button[type="submit"] {
    flex: 1 1 100%;
    background: #fda729;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.devis-form button[type="submit"]:hover {
    background: #e89718;
    transform: translateY(-2px);
}

/* Text adițional din dreapta formularului */
.request-quote .additional-text {
    flex: 1 1 100%;
    margin-top: 20px;
    text-align: justify;
    font-size: 1rem;
    color: #333;
}
/*BANDA LOGO*/
/* Stiluri generale pentru secțiune */
.logo-marquee {
    overflow: hidden; /* Ascunde partea din afara secțiunii */
    width: 100%;
    background-color: #fff; /* Fundal alb */
    padding: 20px 0;
}

.logos-container {
    display: flex;
    animation: marquee 30s linear infinite; /* Viteza de rulare ajustată */
    align-items: center;
}

.logo {
    margin: 0 15px;
    height: 80px; /* Ajustează înălțimea logo-urilor */
    width: auto;
    object-fit: contain; /* Asigură că logourile nu sunt distorsionate */
}

/* Animația pentru mișcarea continuă a logo-urilor */
@keyframes marquee {
    0% {
        transform: translateX(0); /* Începe de la stânga */
    }
    100% {
        transform: translateX(-50%); /* Mișcă logourile până la sfârșit */
    }
}
/* Stiluri generale pentru secțiune */
.ftco-section {
    padding: 4em 0;
   
}

.heading-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.heading-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Cardurile */
.card {
    min-height: 400px; /* Înălțime minimă pentru card */
    margin-bottom: 20px; /* Spațiu între carduri */
    perspective: 1000px;
    width: 100%;
    height: 350px;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, 
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.card-front h5 {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.card-back {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transform: rotateY(180deg);
}

.card-back p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsivitate */
@media (max-width: 768px) {
    .card {
        height: 280px;
    }

    .card-front h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .card {
        height: 250px;
    }

    .card-front h5 {
        font-size: 1rem;
    }
}

/* Responsive - Mobil */
@media (max-width: 767px) {
    .logo {
        height: 50px; /* Logo-uri mai mici pe dispozitivele mobile */
    }
}

/* Responsive - Tablete */
@media (min-width: 768px) and (max-width: 991px) {
    .logo {
        height: 60px; /* Logo-uri ușor mai mari pe tablete */
    }
}

/* Responsive - Laptopuri și desktop */
@media (min-width: 992px) {
    .logo {
        height: 80px; /* Logo-uri mai mari pe dispozitivele mari */
    }
}


/* Media Queries */
@media (min-width: 992px) {
    .slider-item {
        background-size: 50% 100% !important;
        background-position: left center !important;
    }

    .slider-text {
        height: 100%;
        display: flex;
        align-items: flex-start !important;
        padding-top: 60px !important;
        width: 50% !important;
        margin-left: 50% !important;
    }

    .slider-text .text {
        background: rgba(255, 255, 255, 0.95);
        padding: 2rem;
        border-radius: 10px;
        width: 100%;
        max-width: 550px;
        margin-left: 20px;
    }

    .slider-text h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }

    .slider-text h1 span {
        font-size: 1.8rem !important;
    }

    .slider-text .subheading {
        font-size: 1.4rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }

    .slider-text {
        width: 40% !important;
        margin-left: 60% !important;
    }
}

@media (max-width: 767px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }

    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }

    .slider-text .text {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .slider-text h1 {
        font-size: 1.4rem !important;
    }

    .slider-text h1 span {
        font-size: 1.2rem !important;
    }

    .slider-text .subheading {
        font-size: 1rem !important;
    }

    .devis-form .form-group {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Stiluri pentru desktop */
@media (min-width: 1200px) {
    .slider-item {
        background-size: 50% 100% !important;
        background-position: left center !important;
    }

    .slider-text {
        height: 100%;
        display: flex;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: 60px !important;
        width: 50% !important;
        margin-left: 50% !important;
        padding-left: 150px !important;
    }

    .slider-text .text {
        background: rgba(255, 255, 255, 0.95);
        padding: 2.5rem;
        border-radius: 10px;
        width: 100%;
        max-width: 600px;
        margin: 0 !important;
    }

    .row.no-gutters.slider-text {
        justify-content: flex-start !important;
    }

    .col-md-6.text.ftco-animate.pl-md-5 {
        padding-left: 0 !important;
    }

    .slider-text h1 {
        font-size: 2.4rem !important;
        margin-bottom: 1.2rem !important;
        text-align: left !important;
    }

    .slider-text h1 span {
        display: block;
        font-size: 2rem !important;
        margin-top: 10px;
        text-align: left !important;
    }

    .slider-text .subheading {
        font-size: 1.6rem !important;
        display: block;
        margin-top: 15px;
        text-align: left !important;
    }
}

/* Stiluri pentru iPad Air */
@media (min-width: 768px) and (max-width: 991px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }

    .slider-text {
        width: 40% !important;
        margin-left: 60% !important;
    }
    .ftco-section .container {
        max-width: 95%;
        padding-top: 40px;
    }

    .col-md-4 {
        flex: 0 0 45% !important;
        max-width: 45% !important;
        margin-top: 30px;
    }

    .col-md-7 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-top: -5px;
    }
     
    
}

/* Stiluri pentru iPad Pro */
@media (min-width: 992px) and (max-width: 1199px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }

    .slider-text {
        width: 40% !important;
        margin-left: 60% !important;
    }

    .ftco-section .container {
        max-width: 95%;
        padding-top: 40px;
    }

    .col-md-4 {
        flex: 0 0 45% !important;
        max-width: 45% !important;
        margin-top: 30px;
    }

    .col-md-7 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-top: -5px;
    }
}

/* Stiluri pentru tablete */
@media (min-width: 768px) and (max-width: 1199px) {
    .ftco-section .container {
        max-width: 95%;
        padding-top: 40px;
    }

    .row.justify-content-between {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .col-md-4 {
        flex: 0 0 45% !important;
        max-width: 45% !important;
        margin-top: 30px;
    }

    .col-md-7 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .request-quote {
        width: 100%;
        max-width: none;
    }

    .devis-form {
        padding: 1.5rem;
    }

    .devis-form .form-group {
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }

    .wrap-about {
        height: auto;
        padding: 20px;
    }

    .heading-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .wrap-about p,
    .wrap-about ul {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Ajustări pentru inputuri */
.devis-form .form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
}

.devis-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Media Queries pentru Samsung Galaxy S8+ (360x740) */
@media screen and (width: 360px) and (height: 740px) {
    .slider-text h1 {
        font-size: 1.4rem !important;
    }

    .slider-text h1 span {
        font-size: 1.2rem !important;
    }

    .slider-text .subheading {
        font-size: 0.9rem !important;
    }

    .slider-text .text {
        padding: 1.5rem;
    }
}

/* iPhone XR (414x896) */
@media screen and (width: 414px) and (height: 896px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 374px;
        margin: 0 auto;
    }
    .request-quote .additional-text {
        flex: 1 1 100%;
        margin-top: 20px;
        text-align: justify;
        font-size: 1rem;
        color: #333;
    }
    
}

/* Pixel 7 (412x915) */
@media screen and (width: 412px) and (height: 915px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 372px;
        margin: 0 auto;
    }
}

/* Samsung Galaxy S20 Ultra (412x915) */
@media screen and (width: 412px) and (height: 915px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 372px;
        margin: 0 auto;
    }
    .request-quote .additional-text {
        flex: 1 1 100%;
        margin-top: 20px;
        text-align: justify;
        font-size: 1rem;
        color: #333;
        margin-right: -10px;
        margin-left: -10px;
    }
    

}


/* iPhone 12 Pro (390x844) */
@media screen and (width: 390px) and (height: 844px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Surface Pro 7 (912x1368) */
@media screen and (width: 912px) and (height: 1368px) {
    .slider-item {
        background-size: 50% 100% !important;
        background-position: left center !important;
    }
    
    .slider-text {
        width: 50% !important;
        margin-left: 50% !important;
        padding-left: 30px !important;
    }
    
    .slider-text .text {
        max-width: 400px;
    }
}

/* Nest Hub (1024x600) */
@media screen and (width: 1024px) and (height: 600px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 40% !important;
        margin-left: 60% !important;
    }
    
    .slider-text .text {
        max-width: 450px;
    }
}

/* Surface Duo (540x720) */
@media screen and (width: 540px) and (height: 720px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 500px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Surface Pro (912x1368) */
@media screen and (width: 912px) and (height: 1368px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 40% !important;
        margin-left: 60% !important;
        padding: 30px !important;
    }
    
    .slider-text .text {
        max-width: 400px;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Samsung Galaxy S21/S22/S23 (412x915) */
@media screen and (width: 412px) and (height: 915px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
        height: 100vh !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
        align-items: center !important;
    }
    
    .slider-text .text {
        max-width: 370px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Samsung Galaxy S21+/S22+/S23+ (384x854) */
@media screen and (width: 384px) and (height: 854px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
        height: 100vh !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
        align-items: center !important;
    }
    
    .slider-text .text {
        max-width: 344px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Samsung Galaxy S21 Ultra/S22 Ultra/S23 Ultra (412x915) */
@media screen and (width: 412px) and (height: 915px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
        height: 100vh !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
        align-items: center !important;
    }
    
    .slider-text .text {
        max-width: 370px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Nest Hub Max (1280x800) */
@media screen and (width: 1280px) and (height: 800px) {
    .slider-item {
        background-size: 50% 100% !important;
        background-position: left center !important;
    }
    
    .slider-text {
        width: 50% !important;
        margin-left: 50% !important;
        padding-left: 40px !important;
    }
    
    .slider-text .text {
        max-width: 500px;
    }
}

/* Surface Duo (540x720) */
@media screen and (width: 540px) and (height: 720px) {
    .slider-item {
        background-size: cover !important;
        background-position: center !important;
    }
    
    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }
    
    .slider-text .text {
        max-width: 500px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* iPad Mini (768x1024) */
@media only screen and (width: 768px) and (height: 1024px) {
    .home-slider {
        height: auto !important;
        margin-bottom: 100px !important;
    }

    .slider-item {
        height: auto !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .slider-text {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px !important;
    }

    .slider-text .text {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Media Queries pentru Nest Hub (1280x800) */
@media screen and (width: 1280px) and (height: 800px) {
    .slider-text h1 {
        font-size: 1.2rem !important;
    }

    .slider-text h1 span {
        font-size: 1rem !important;
    }

    .slider-text .subheading {
        font-size: 0.9rem !important;
    }

    .slider-text .text {
        padding: 1.5rem;
    }
}

/* Media Queries pentru Nest Hub (1024x600) */
@media screen and (width: 1024px) and (height: 600px) {
    .slider-text h1 {
        font-size: 1.8rem !important;
    }

    .slider-text h1 span {
        font-size: 1.6rem !important;
    }

    .slider-text .subheading {
        font-size: 1rem !important;
    }

    .slider-text .text {
        padding: 1.5rem;
    }
}

/* Media Queries 14 Pro Max (430*932) */
@media only screen and (width: 430px) and (height: 932px) {
    .request-quote .additional-text {
        flex: 1 1 100%;
        margin-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        text-align: justify;
        font-size: 1rem;
        color: #333;
    } 
}

.ftco-footer {
    background: #141313 !important;
    color: #fff;
}

.service-item {
    display: flex; /* Folosește flexbox pentru a alinia conținutul */
    flex-direction: column; /* Aliniază conținutul pe verticală */
    justify-content: space-between; /* Distribuie spațiul între elemente */
    height:400px; /* Înălțimea fixă pentru carduri */
    border: 1px solid #ddd; /* Bordură pentru carduri */
    border-radius: 5px; /* Colțuri rotunjite */
    padding: 15px; /* Spațiu interior */
    transition: transform 0.2s; /* Efect de tranziție la hover */
    margin-bottom: 20px; /* Spațiu între carduri */
    overflow: hidden; /* Ascunde orice conținut care depășește cardul */
}

.service-item:hover {
    transform: scale(1.05); /* Mărire la hover */
}

.service-title {
    font-size: 1.5rem; /* Dimensiunea titlului */
    margin-top: 10px; /* Spațiu deasupra titlului */
    font-weight: bold; /* Font îngroșat pentru titlu */
    margin: 15px 0; /* Margine între titlu și buton */
}

.service-description {
    font-size: 16px; /* Dimensiunea fontului */
    line-height: 1.5; /* Înălțimea liniei */
    margin: 10px 0; /* Margini */
}

.btn {
    
    margin-bottom: 20px; /* Spațiu între buton și footer */
}

.btn-primary, .btn-secondary {
    background-color: #fda729 !important; /* Culoarea de fundal a butonului */
    border-color: #fda729 !important; /* Culoarea bordurii butonului */
    color: #fff !important; /* Culoarea textului butonului */
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #e6a600 !important; /* Culoarea de fundal la hover */
    border-color: #e6a600 !important; /* Culoarea bordurii la hover */
    color: #fff !important; /* Culoarea textului la hover */
}

.service-item img {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: 200px; /* Înălțimea fixă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru un aspect mai plăcut */
}

.row {
    display: flex; /* Folosește flexbox pentru a alinia cardurile */
    flex-wrap: wrap; /* Permite cardurilor să se înfășoare pe rânduri */
}

.service-item .btn {
    margin-top: auto; /* Asigură că butonul este împins la baza cardului */
    width: 100%; /* Lățimea butonului să fie 100% din card */
    box-sizing: border-box; /* Asigură că padding-ul și marginile sunt incluse în dimensiuni */
    padding: 12px; /* Adaugă padding pentru a face butonul mai mare */
    margin-bottom: 0; /* Elimină marginea de jos pentru a evita tăierea */
}

.service-description img {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: 300px; /* Înălțimea fixă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru un aspect mai plăcut */
    margin-bottom: 20px; /* Spațiu între imagine și descriere */
}

.project-item {
    display: flex; /* Folosește flexbox pentru a alinia conținutul */
    flex-direction: column; /* Aliniază conținutul pe verticală */
    justify-content: space-between; /* Distribuie spațiul între elemente */
    height: auto; /* Permite cardurilor să se extindă în funcție de conținut */
    min-height: 350px; /* Înălțime minimă pentru carduri */
    border: 1px solid #ddd; /* Bordură pentru carduri */
    border-radius: 5px; /* Colțuri rotunjite */
    padding: 15px; /* Spațiu interior */
    margin-bottom: 20px; /* Spațiu între carduri */
    transition: transform 0.3s, box-shadow 0.3s; /* Efect de tranziție pentru transformare și umbră */
}

.project-item:hover {
    transform: scale(1.05); /* Mărește cardul la hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Adaugă umbră la hover */
}

.project-item img {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: 200px; /* Înălțimea fixă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru imagini */
}

.project-item .btn {
    margin-top: auto; /* Asigură că butonul este împins la baza cardului */
    width: 100%; /* Lățimea butonului să fie 100% din card */
    box-sizing: border-box; /* Asigură că padding-ul și marginile sunt incluse în dimensiuni */
    padding: 12px; /* Adaugă padding pentru a face butonul mai mare */
    margin-bottom: 0; /* Elimină marginea de jos pentru a evita tăierea */
}

.project-details {
    display: flex; /* Folosește flexbox pentru a alinia imaginea și descrierea */
    flex-direction: column; /* Pe mobil, elementele vor fi una sub alta */
}

.image-container {
    flex: 1; /* Permite imaginii să ocupe spațiu */
}

.description-container {
    flex: 2; /* Permite descrierii să ocupe mai mult spațiu */
}

@media (min-width: 768px) { /* Pe tabletă și desktop */
    .project-details {
        flex-direction: row; /* Aliniază imaginea și descrierea pe orizontală */
    }

    .image-container {
        margin-right: 20px; /* Spațiu între imagine și descriere */
    }
}

.project-details img {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: 300px; /* Înălțimea fixă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru imagini */
    margin-bottom: 20px; /* Spațiu între imagine și alte elemente */
}

.service-details {
    display: flex; /* Folosește flexbox pentru a alinia imaginea și descrierea */
    flex-direction: column; /* Pe mobil, elementele vor fi una sub alta */
}

.icon-container {
    flex: 1; /* Permite imaginii să ocupe spațiu */
}

.service-description {
    flex: 2; /* Permite descrierii să ocupe mai mult spațiu */
}

@media (min-width: 768px) { /* Pe tabletă și desktop */
    .service-details {
        flex-direction: row; /* Aliniază imaginea și descrierea pe orizontală */
    }

    .icon-container {
        margin-right: 20px; /* Spațiu între imagine și descriere */
        flex: 0 0 300px; /* Lățimea fixă pentru imagine pe desktop */
    }
}

.service-details img {
    max-width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: 400px; /* Înălțime fixă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru imagini */
}

.icon-container {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    height: auto; /* Înălțimea să se ajusteze automat */
}

.icon-container img {
    width: 100%; /* Lățimea imaginii să fie 100% din container */
    max-height: 350px; /* Înălțime maximă pentru a menține dimensiunea uniformă */
    object-fit: cover; /* Asigură-te că imaginea se potrivește în dimensiunile specificate */
    border-radius: 5px; /* Colțuri rotunjite pentru imagini */
}

@media (min-width: 768px) { /* Pe tabletă și desktop */
    .icon-container {
        margin-bottom: 20px; /* Spațiu între imagine și descriere */
    }
}

