.project-detail-description .row { 
    padding: 2% 7%;
}

.project-detail-description .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
}

.project-detail-description h2 {
    color:rgb(97, 97, 97);
    color: var(--olive);
}

.project-detail-description .img-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px; 
    border-radius: 10px;
}

.project-detail-description .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.project-detail-description .img-wrapper:hover img {
    transform: scale(1.05);
    border-radius: 10px;
}

.container h2 {
    color:rgb(97, 97, 97);
    margin-top: 2rem;
}

.container .img-wrapper-p {
    position: relative;
    overflow: hidden;
    height: 450px; 
    transition: transform 0.3s ease-in-out;
    border-radius: 5px;
    object-fit: cover;
}

.container .img-wrapper-p img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease-in-out;
}

.container .img-wrapper-p:hover img {
    transform: scale(1.05);
}

.custom-prev, .custom-next {
    font-size: 20px; 
    color: white; 
    background-color: rgba(112, 140, 124, 0.8); 
    padding: 7px 12px;
    border-radius: 50%; 
    transition: background-color 0.3s ease;
}

.custom-prev:hover, .custom-next:hover {
    background-color: var(--aloe); 
}

.custom-prev {
    position: absolute;
    left: -60px;
    top: 40%;
    transform: translateY(-50%);
}

.custom-next {
    position: absolute;
    right: -60px;
    top: 40%;
    transform: translateY(-50%);
}

.container  .btn {
    position: relative;
    padding: 10px 30px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 50px; 
    overflow: hidden; 
    background-color: #92c0b1; 
    color: white;
    transition: background-color 0.7s ease;
    margin-bottom: 2rem;
}
  
.container  .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%;
    width: 180%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(60deg);
    transition: left 0.7s ease;
}

.container  .btn:hover::before {
    left: 100%;
}

.container  .btn:hover {
    background-color: var(--olive); 
}


@media (max-width: 992px) {
    .container .img-wrapper-p {
        height: 250px; 
    }
}

@media (max-width: 990px) {
    .container {
        max-width: 700px;
    }
    .project-detail-description h2 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .project-detail-description .img-wrapper {
        margin-top: 1rem;
    }
    .container h2 {
        margin-top: 20px;
    }
    .container .img-wrapper-p {
        height: 300px; 
    }
    .custom-prev, .custom-next {
        font-size: 15px; 
        padding: 7px 12px;
    }
    .custom-prev {
        left: -50px;
    }
    
    .custom-next {
        right: -50px;
    }
}

@media (max-width: 576px) {
    .container {
       padding: 0 15px;
    }
    .project-detail-description h2 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    .project-detail-description .img-wrapper {
        height: 300px; 
        margin-top: 1rem;
    }
    .container h2 {
        margin-top: 20px;
    }
    .container .img-wrapper-p {
        height: 300px; 
    }
    .custom-prev, .custom-next {
        display: none;
    }
}