/* ==========================================================================
   EcoPro Builders - Our Projects UI Revamp
   ========================================================================== */

/* 1. Page Title Fixes */
body.page-template-our-project .page-title {
    display: none !important;
}

body.page-template-our-project .projects-section {
    padding-top: 150px !important;
}

/* 2. Video Testimonial Slider (.gallery-block) */
.project-carousel .gallery-block .inner-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    margin: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-carousel .gallery-block .inner-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(252,120,3,0) 0%, rgba(252,120,3,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-carousel .gallery-block .inner-box:hover::before {
    opacity: 1;
}

.project-carousel .gallery-block .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252,120,3,0.15);
}

.project-carousel .gallery-block .add_po156 {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-carousel .gallery-block .add_po156::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.project-carousel .gallery-block .add_po156:hover::before {
    background: rgba(0,0,0,0.4);
}

.project-carousel .gallery-block .add_po156 i {
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-carousel .gallery-block .add_po156:hover i {
    transform: scale(1.1) translate(-50%, -50%);
}

.project-carousel .gallery-block .vedio_contant54 {
    padding-top: 25px;
}

.project-carousel .gallery-block .vedio_contant54 p {
    font-size: 16px;
    line-height: 1.8;
    color: #5a5a5a;
    font-style: italic;
    margin-bottom: 15px;
    margin-top: 15px;
}

.project-carousel .gallery-block .vedio_contant54 div {
    font-weight: 700;
    color: #111111;
    font-size: 18px;
    border-top: 1px solid #eeeeee;
    padding-top: 15px;
}

/* 3. Project Grid Filter Buttons */
.mixitup-gallery .filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.mixitup-gallery .filter-tabs .filter {
    background: #ffffff;
    color: #555555;
    border: 1px solid #dddddd;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.mixitup-gallery .filter-tabs .filter:hover,
.mixitup-gallery .filter-tabs .filter.active {
    background: #fc7803 !important;
    color: #ffffff !important;
    border-color: #fc7803 !important;
    box-shadow: 0 8px 20px rgba(252, 120, 3, 0.3);
    transform: translateY(-2px);
}

/* 4. Project Grid Cards (.news-block-four) */
.gallery-block-two .news-block-four .inner-box {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 30px;
    border: 1px solid #f5f5f5;
}

.gallery-block-two .news-block-four .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-block-two .news-block-four .project_bgimg76 {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-block-two .news-block-four .inner-box:hover .project_bgimg76 {
    transform: scale(1.05);
}

.gallery-block-two .news-block-four .lower-content {
    padding: 25px;
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.gallery-block-two .news-block-four .lower-content h5 a {
    color: #fc7803;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-block-two .news-block-four .lower-content p a {
    color: #111111;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.gallery-block-two .news-block-four .lower-content p a:hover {
    color: #fc7803;
}

.gallery-block-two .news-block-four .bb-project-more-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.gallery-block-two .news-block-four .bb-project-more-details .detail {
    font-size: 14px;
    color: #777777;
    position: relative;
}

.gallery-block-two .news-block-four .bb-project-more-details .detail::before {
    content: '•';
    color: #fc7803;
    margin-right: 5px;
}

/* 5. Contact Form Section (.contact_usform87) */
.page-template-our-project .secpadd9183 {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.page-template-our-project .contact_usform87 {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 50px;
    margin-top: 30px;
}

.page-template-our-project .head_h2 h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111111;
    text-align: center;
    margin-bottom: 20px;
}
