/* Custom CSS for Mobile Sidebar */

/* Ensure sidebar content is visible on mobile */
.dz-offcanvas .widget {
    margin-bottom: 30px;
}

.dz-offcanvas .widget-title {
    margin-bottom: 15px;
}

.dz-offcanvas .widget-title .title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.dz-offcanvas .list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dz-offcanvas .list-check li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    font-size: 14px;
}

.dz-offcanvas .list-check li i {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Ensure sidebar is scrollable if content is long */
.dz-offcanvas .offcanvas-body {
    overflow-y: auto;
    padding: 20px;
}

/* Service menu styling */
.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 10px;
}

.service-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-menu li a:hover,
.service-menu li.active a {
    background: var(--bs-primary);
    color: #fff;
    transform: translateX(5px);
}

.service-menu li a i {
    margin-right: 10px;
    font-size: 12px;
}

/* Service sidebar menu in contact info boxes */
.service-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.service-sidebar-menu li {
    margin-bottom: 8px;
}

.service-sidebar-menu li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-sidebar-menu li a:hover,
.service-sidebar-menu li.active a {
    color: var(--bs-primary);
    transform: translateX(5px);
}

.service-sidebar-menu li a i {
    margin-right: 8px;
    font-size: 10px;
}

/* Contact info boxes styling */
.contact-info .icon-bx-wraper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info .icon-bx-wraper .icon-content p,
.contact-info .icon-bx-wraper .icon-content a {
    margin-bottom: 0;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .dz-offcanvas .widget {
        margin-bottom: 25px;
    }
    
    .dz-offcanvas .sidebar-header {
        margin-bottom: 20px !important;
    }
    
    .dz-offcanvas .sidebar-header img {
        max-width: 150px;
    }
}

/* Service Single Page Sidebar */
.service-single .side-bar {
    position: sticky;
    top: 100px;
}

.service-single .side-bar .widget {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Service Menu Widget */
.service-single .side-bar .service_menu_nav .widget-title {
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.service-single .side-bar .service_menu_nav .widget-title .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-single .side-bar .service_menu_nav .widget-title .title i {
    color: var(--bs-primary);
}

.service-single .side-bar .service_menu_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-single .side-bar .service_menu_nav ul li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-single .side-bar .service_menu_nav ul li:last-child {
    border-bottom: none;
}

.service-single .side-bar .service_menu_nav ul li a {
    display: block;
    padding: 15px 20px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.service-single .side-bar .service_menu_nav ul li a:hover {
    background: #f8f9fa;
    color: var(--bs-primary);
    padding-left: 25px;
}

.service-single .side-bar .service_menu_nav ul li.active a {
    background: var(--bs-primary);
    color: #fff;
    padding-left: 25px;
}

.service-single .side-bar .service_menu_nav ul li.active a:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
}

/* Contact Widget */
.service-single .side-bar .widget_contact {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
}

.service-single .side-bar .widget_contact .widget-content-i {
    width: 70px;
    height: 70px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-single .side-bar .widget_contact .widget-content-i i {
    font-size: 32px;
    color: #fff;
}

.service-single .side-bar .widget_contact .title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.service-single .side-bar .widget_contact .phone-number,
.service-single .side-bar .widget_contact .email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.service-single .side-bar .widget_contact .phone-number i,
.service-single .side-bar .widget_contact .email i {
    color: var(--bs-primary);
    font-size: 16px;
}

.service-single .side-bar .widget_contact .phone-number a,
.service-single .side-bar .widget_contact .email a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-single .side-bar .widget_contact .phone-number a:hover,
.service-single .side-bar .widget_contact .email a:hover {
    color: var(--bs-primary);
}

.service-single .side-bar .widget_contact .link-btn {
    margin-top: 25px;
}

.service-single .side-bar .widget_contact .link-btn .btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
}

/* Single media image styling */
.service-single .single-media {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-single .single-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-single .single-media.height-sm {
    max-height: 400px;
}

.service-single .content-item {
    margin-bottom: 30px;
}

.service-single .content-item h2,
.service-single .content-item h3 {
    margin-bottom: 20px;
    color: #333;
}

.service-single .content-item p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.service-single .content-item ul.list-style-1 {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-single .content-item ul.list-style-1 li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.service-single .content-item ul.list-style-1 li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--bs-primary);
}

/* Sticky sidebar */
.service-single .side-bar.sticky-top {
    top: 100px;
}

@media (max-width: 991px) {
    .service-single .side-bar.sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* Testimonial Slider Styles */
.urja-testimonial-modern {
    background: #f8f9fa;
    overflow: hidden;
    padding: 80px 0;
}

.urja-testimonial-modern .container-fluid {
    padding: 0 !important;
}

.urja-testimonial-modern .swiper {
    padding: 20px 15px 60px;
    overflow: visible;
}

.urja-testimonial-modern .swiper-wrapper {
    align-items: stretch;
}

.urja-testimonial-modern .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.testimonial-glass {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    width: 100%;
}

.testimonial-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-glass .quote-icon {
    font-size: 40px;
    color: #667eea;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-glass p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.testimonial-glass .stars {
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 16px;
}

.testimonial-glass h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-glass span {
    font-size: 14px;
    color: #999;
}

.urja-testimonial-modern .swiper-pagination {
    bottom: 20px;
}

.urja-testimonial-modern .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #667eea;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.urja-testimonial-modern .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .urja-testimonial-modern .swiper {
        padding: 20px 10px 60px;
    }
    
    .testimonial-glass {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .testimonial-glass p {
        font-size: 14px;
    }
}
