
/* Gallery Section */
.gallery_section {
    position: relative;
}

/* Slider Container */
.featured_projects_slider {
    position: relative;
}

/* Slide Items */
.featured_projects_slider .item {
    position: relative;
    overflow: hidden;
}

.project_slide_item {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.project_slide_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
}

.project_caption h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

/* Navigation Arrows - On the edges of the slider */
.featured_projects_slider .owl-nav button.owl-prev,
.featured_projects_slider .owl-nav button.owl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    z-index: 100 !important;
    border: none !important;
    outline: none !important;
}

.featured_projects_slider .owl-nav button.owl-prev {
    left: -200px !important;
}

.featured_projects_slider .owl-nav button.owl-next {
    right: -200px !important;
}

.featured_projects_slider .owl-nav button:hover {
    background: white !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Dots - Below Slider */
.featured_projects_slider .owl-dots {
    text-align: center;
    margin-top: 30px;
    position: relative;
}

.featured_projects_slider .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #d16e02;
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured_projects_slider .owl-dot.active {
    background: #d16e02;
    width: 35px;
    border-radius: 6px;
}

.featured_projects_slider .owl-dot:hover {
    background: #d16e02;
}

/* Responsive */
@media (max-width: 991px) {
    .project_slide_item {
        height: 350px;
    }
    
    /* Move arrows closer on tablet */
    .featured_projects_slider .owl-nav button.owl-prev {
        left: -60px !important;
    }
    
    .featured_projects_slider .owl-nav button.owl-next {
        right: -60px !important;
    }
}

@media (max-width: 767px) {
    .project_slide_item {
        height: 300px;
    }
    
    .project_caption h3 {
        font-size: 20px;
    }
    
    .featured_projects_slider .owl-nav button.owl-prev,
    .featured_projects_slider .owl-nav button.owl-next {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
    }
    
    /* Move arrows inside on mobile */
    .featured_projects_slider .owl-nav button.owl-prev {
        left: 10px !important;
    }
    
    .featured_projects_slider .owl-nav button.owl-next {
        right: 10px !important;
    }
}

@media (max-width: 575px) {
    .project_slide_item {
        height: 250px;
    }
    
    .project_caption h3 {
        font-size: 18px;
    }
}
