/* Service Single Page Styles */

/* Process Steps Section */
.process-steps {
    margin-top: 30px;
    padding: 0;
}

.process-step {
    background: #f8f9fa;
    border-left: 4px solid #006233;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 98, 51, 0.1);
    transform: translateX(5px);
}

.process-step h4 {
    color: #006233;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.process-step h4::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: #006233;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.process-steps {
    counter-reset: step-counter;
}

.process-step p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-left: 45px;
}

/* Service Content Cards */
.single-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.single-content h3 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #006233;
    position: relative;
}

.single-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #d21034;
}

/* Single Content List */
.single-content-list {
    padding-left: 0 !important;
}

.single-content-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.single-content-list li:last-child {
    border-bottom: none;
}

.single-content-list li:hover {
    padding-left: 40px;
    color: #006233;
}

.single-content-list li img {
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
}

/* Single Content Feature */
.single-content__feature {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.single-content-feature {
    transition: all 0.3s ease;
}

.single-content-feature:hover {
    transform: translateY(-5px);
}

.single-content-feature .xb-item--inner {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.single-content-feature .xb-item--inner:hover {
    background: #fff;
    border-color: #006233;
    box-shadow: 0 10px 30px rgba(0, 98, 51, 0.1);
}

.single-content-feature .xb-item--inner.color-2 {
    background: #fef5f5;
}

.single-content-feature .xb-item--inner.color-2:hover {
    border-color: #d21034;
}

.single-content-feature .xb-item--inner.color-3 {
    background: #f5fef9;
}

.single-content-feature .xb-item--inner.color-3:hover {
    border-color: #4a9d6f;
}

.single-content-feature .xb-item--inner.color-4 {
    background: #fffbf5;
}

.single-content-feature .xb-item--inner.color-4:hover {
    border-color: #ff9800;
}

.single-content-feature .xb-item--icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.single-content-feature .xb-item--icon i {
    font-size: 24px;
    color: #006233;
}

.single-content-feature .xb-item--icon img {
    width: 24px;
    height: 24px;
}

.single-content-feature .xb-item--title {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

/* Single Image */
.single-img {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.single-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.single-img:hover img {
    transform: scale(1.05);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006233;
}

/* Widget Category */
.widget-category li {
    margin-bottom: 10px;
}

.widget-category li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.widget-category li a:hover,
.widget-category li a.active {
    background: #006233;
    color: #fff;
    transform: translateX(5px);
}

.widget-category li a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.widget-category li a:hover span,
.widget-category li a.active span {
    transform: rotate(90deg);
}

.widget-category li a:hover span img,
.widget-category li a.active span img {
    filter: brightness(0) invert(1);
}

/* Widget Download */
.widget-download {
    padding: 0;
}

.widget-download li {
    margin-bottom: 15px;
}

.widget-download li:last-child {
    margin-bottom: 0;
}

.xb-download {
    transition: all 0.3s ease;
}

.xb-download:hover {
    transform: translateY(-3px);
}

.xb-download .xb-item--inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.xb-download:hover .xb-item--inner {
    border-color: #006233;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 98, 51, 0.1);
}

.xb-download .xb-item--icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xb-download .xb-item--icon img {
    width: 30px;
    height: 30px;
}

.xb-download .xb-item--title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
}

.xb-download .xb-item--size {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Widget Banner */
.widget-banner {
    padding: 40px 30px !important;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    overflow: hidden;
}

.widget-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 98, 51, 0.9);
    z-index: 1;
}

.widget-banner > * {
    position: relative;
    z-index: 2;
}

.widget-banner img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.widget-banner h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
}

.widget-banner .thm-btn {
    background: #fff;
    color: #006233;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.widget-banner .thm-btn:hover {
    background: #d21034;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(210, 16, 52, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .single-content {
        padding: 25px;
    }
    
    .single-content h3 {
        font-size: 22px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .process-step h4 {
        font-size: 16px;
    }
    
    .process-step p {
        padding-left: 0;
        margin-top: 10px;
    }
    
    .single-content__feature {
        grid-template-columns: 1fr;
    }
    
    .widget-banner h4 {
        font-size: 20px;
    }
}

/* Content Card Animation */
.content-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation-delay: 0.2s;
}

/* Custom Scrollbar for Sidebar */
.sidebar-widget::-webkit-scrollbar {
    width: 6px;
}

.sidebar-widget::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-widget::-webkit-scrollbar-thumb {
    background: #006233;
    border-radius: 10px;
}

.sidebar-widget::-webkit-scrollbar-thumb:hover {
    background: #004d26;
}