/* Homepage Features Section - Compact Design */

.features-section {
    position: relative;
    overflow: hidden;
    padding: 20px 0 !important;
    margin-bottom: 20px !important;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
}

.features-wrapper .swiper-slide {
    height: auto;
}

.features-section .tf-icon-box {
    background: #ffffff;
    
    border-radius: 12px;
      padding: 10px 12px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.features-section .tf-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
    transition: left 0.5s ease;
}

.features-section .tf-icon-box:hover::before {
    left: 100%;
}

.features-section .tf-icon-box:hover {
    transform: translateY(-4px);
   
    border-color: #000000;
    background: #ffffff;
}

.features-section .tf-icon-box.style-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}

.features-section .tf-icon-box .icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: #fc27798a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-section .tf-icon-box .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #fc27798a;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.features-section .tf-icon-box:hover .icon::after {
    width: 150px;
    height: 150px;
}

.features-section .tf-icon-box:hover .icon {
    transform: rotate(3deg) scale(1.05);
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.features-section .tf-icon-box .icon i {
    color: #ffffff !important;
    font-size: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.features-section .tf-icon-box .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.features-section .tf-icon-box:hover .icon img {
    transform: scale(1.08);
}

.features-section .tf-icon-box .content {
    flex: 1;
}

.features-section .tf-icon-box .content .title {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.features-section .tf-icon-box:hover .content .title {
    color: #000000;
}

.features-section .tf-icon-box .content p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.features-section .tf-icon-box:hover .content p {
    color: #333333;
}

/* Pagination Dots Styling */
.features-section .sw-dots.style-2 {
    margin-top: 20px;
}

.features-section .sw-dots.style-2 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cccccc;
    border: 2px solid #000000;
    opacity: 1;
    transition: all 0.3s ease;
}

.features-section .sw-dots.style-2 .swiper-pagination-bullet-active {
    background: #000000;
    width: 24px;
    border-radius: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: 18px 0 !important;
        margin-bottom: 18px !important;
    }
    
    .features-section .tf-icon-box {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .features-section .tf-icon-box .icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .features-section .tf-icon-box .icon i {
        font-size: 20px;
    }
    
    .features-section .tf-icon-box .icon img {
        width: 28px;
        height: 28px;
    }
    
    .features-section .tf-icon-box .content .title {
        font-size: 14px;
    }
    
    .features-section .tf-icon-box .content p {
        font-size: 11px;
    }
    
    .features-section .tf-icon-box.style-row {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 15px 0 !important;
        margin-bottom: 15px !important;
    }
    
    .features-section .tf-icon-box {
        padding: 15px 12px;
    }
    
    .features-section .tf-icon-box .icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .features-section .tf-icon-box .icon i {
        font-size: 18px;
    }
    
    .features-section .tf-icon-box .content .title {
        font-size: 13px;
    }
    
    .features-section .tf-icon-box .content p {
        font-size: 10px;
    }
}

