﻿/**
 * Home Sections Styles - Clean Code Architecture
 * All CSS extracted from blade files
 */


/* ==================== main-slider ==================== */

    /* Main Slider Enhanced Styles */
    .rs-slider.main-home {
        position: relative;
        overflow: hidden;
    }

    .slider-content {
        position: relative;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 600px;
        display: flex;
        align-items: center;
    }

    .slider-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(224, 48, 50, 0.85) 0%, rgba(0, 120, 191, 0.75) 100%);
        z-index: 1;
    }

    .slider-content .container {
        position: relative;
        z-index: 2;
    }

    .content-part {
        max-width: 700px;
        padding: 60px 0;
    }

    .sl-sub-title {
        font-size: 18px;
        color: #ffffff;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 20px;
        display: inline-block;
        padding: 8px 20px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .sl-title {
        font-size: 56px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.2;
        margin-bottom: 30px;
        text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    }

    .sl-btn .readon {
        display: inline-block;
        padding: 15px 40px;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        border-radius: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.4s ease;
        box-shadow: 0 10px 30px rgba(224, 48, 50, 0.4);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .sl-btn .readon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
        transition: all 0.4s ease;
        z-index: -1;
    }

    .sl-btn .readon:hover::before {
        left: 0;
    }

    .sl-btn .readon:hover {
        color: #E03032;
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(224, 48, 50, 0.6);
        border-color: #ffffff;
    }

    /* Owl Carousel Custom Navigation */
    .rs-slider .owl-nav button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
        border-radius: 50%;
        font-size: 24px;
        color: #fff !important;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .rs-slider .owl-nav button:hover {
        background: rgba(224, 48, 50, 0.9) !important;
        border-color: #ffffff;
        transform: translateY(-50%) scale(1.1);
    }

    .rs-slider .owl-nav .owl-prev {
        left: 30px;
    }

    .rs-slider .owl-nav .owl-next {
        right: 30px;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .sl-title {
            font-size: 42px;
        }
        
        .slider-content {
            min-height: 500px;
        }
    }

    @media (max-width: 767px) {
        .sl-title {
            font-size: 32px;
        }
        
        .sl-sub-title {
            font-size: 14px;
        }
        
        .slider-content {
            min-height: 450px;
        }
        
        .rs-slider .owl-nav button {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }
    }


/* ==================== partners ==================== */

    /* Enhanced Partners Section */
    .rs-partner {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-top: 1px solid rgba(224, 48, 50, 0.1);
        border-bottom: 1px solid rgba(0, 120, 191, 0.1);
        position: relative;
        overflow: hidden;
    }

    .rs-partner::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(224, 48, 50, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .rs-partner::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0, 120, 191, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .rs-partner .container {
        position: relative;
        z-index: 1;
    }

    .rs-partner .sec-title3 {
        margin-bottom: 60px;
    }

    .rs-partner .sec-title3 .sub-title {
        color: #E03032;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
        padding-bottom: 10px;
    }

    .rs-partner .sec-title3 .sub-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #E03032, transparent);
        border-radius: 2px;
    }

    .rs-partner .sec-title3 .title {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 42px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    /* Partner Item Card */
    .partner-item {
        background: #ffffff;
        padding: 30px 20px;
        border-radius: 15px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .partner-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(224, 48, 50, 0.05), transparent);
        transition: left 0.6s ease;
    }

    .partner-item:hover::before {
        left: 100%;
    }

    .partner-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(224, 48, 50, 0.2);
        border-color: rgba(224, 48, 50, 0.3);
    }

    .partner-item img.partner-logo {
        max-height: 80px;
        width: auto;
        margin: 0 auto;
        transition: all 0.4s ease;
        filter: grayscale(100%);
        opacity: 0.7;
        display: block;
    }

    .partner-item:hover img.partner-logo {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1);
    }

    /* Partner Item Link */
    .partner-item a {
        display: block;
        text-decoration: none;
    }

    /* Owl Carousel Custom Styles for Partners */
    .rs-partner .owl-carousel .owl-stage {
        display: flex;
        align-items: center;
    }

    /* Empty State */
    .rs-partner .text-muted {
        font-size: 16px;
        padding: 60px 0;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .rs-partner .sec-title3 .title {
            font-size: 36px;
        }

        .partner-item {
            padding: 25px 15px;
        }

        .partner-item img.partner-logo {
            max-height: 70px;
        }
    }

    @media (max-width: 767px) {
        .rs-partner .sec-title3 .title {
            font-size: 28px;
        }

        .rs-partner .sec-title3 .sub-title {
            font-size: 14px;
        }

        .partner-item {
            padding: 20px 10px;
        }

        .partner-item img.partner-logo {
            max-height: 60px;
        }
    }


/* ==================== system-features-section ==================== */

    /* Enhanced System Features Section */
    .features-section.rs-services {
        background: #ffffff;
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }

    .features-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 300px;
        background: linear-gradient(180deg, rgba(224, 48, 50, 0.02) 0%, transparent 100%);
        pointer-events: none;
    }

    .features-section .section-title {
        margin-bottom: 60px;
        position: relative;
        z-index: 1;
    }

    .features-section .sub-title {
        color: #E03032;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
    }

    .features-section .sub-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #E03032, transparent);
        border-radius: 2px;
    }

    .features-section .title {
        font-size: 42px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.3;
        margin-bottom: 0;
    }

    /* Feature Card */
    .feature-item {
        background: #ffffff;
        border-radius: 20px;
        padding: 40px 30px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .feature-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #E03032, #0078BF);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .feature-item:hover::before {
        transform: scaleX(1);
    }

    .feature-item::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(224, 48, 50, 0.05);
        transform: translate(-50%, -50%);
        transition: all 0.6s ease;
    }

    .feature-item:hover::after {
        width: 500px;
        height: 500px;
    }

    .feature-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(224, 48, 50, 0.2);
        border-color: rgba(224, 48, 50, 0.2);
    }

    /* Feature Icon */
    .services-icons {
        width: 90px;
        height: 90px;
        margin: 0 auto 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        border-radius: 20px;
        position: relative;
        z-index: 1;
        transition: all 0.4s ease;
    }

    .services-icons::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(135deg, #E03032, #0078BF);
        border-radius: 22px;
        opacity: 0.2;
        z-index: -1;
        transition: all 0.4s ease;
    }

    .feature-item:hover .services-icons {
        transform: rotateY(360deg);
        box-shadow: 0 10px 30px rgba(224, 48, 50, 0.4);
    }

    .feature-item:hover .services-icons::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        opacity: 0.3;
    }

    .services-icons i {
        font-size: 42px;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .feature-item:hover .services-icons i {
        transform: scale(1.1);
    }

    /* Feature Text */
    .services-text {
        position: relative;
        z-index: 1;
    }

    .services-title {
        margin-bottom: 15px;
    }

    .services-title .title {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a1a;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
    }

    .feature-item:hover .services-title .title {
        color: #E03032;
    }

    .services-text .text {
        font-size: 15px;
        line-height: 1.7;
        color: #666;
        margin: 0;
        transition: color 0.3s ease;
    }

    .feature-item:hover .services-text .text {
        color: #555;
    }

    /* Empty State */
    .no-features {
        padding: 80px 20px;
    }

    .no-features i {
        font-size: 80px;
        color: #E03032;
        margin-bottom: 20px;
    }

    .no-features h4 {
        font-size: 24px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 10px;
    }

    .no-features p {
        font-size: 16px;
        color: #999;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .features-section {
            padding: 70px 0;
        }

        .features-section .title {
            font-size: 36px;
        }

        .feature-item {
            padding: 35px 25px;
        }

        .services-icons {
            width: 80px;
            height: 80px;
        }

        .services-icons i {
            font-size: 36px;
        }
    }

    @media (max-width: 767px) {
        .features-section {
            padding: 60px 0;
        }

        .features-section .title {
            font-size: 28px;
        }

        .features-section .sub-title {
            font-size: 14px;
        }

        .feature-item {
            padding: 30px 20px;
            margin-bottom: 20px;
        }

        .services-icons {
            width: 70px;
            height: 70px;
            margin-bottom: 20px;
        }

        .services-icons i {
            font-size: 32px;
        }

        .services-title .title {
            font-size: 20px;
        }

        .services-text .text {
            font-size: 14px;
        }
    }


/* ==================== system-modules-section ==================== */

    /* Enhanced System Modules Section */
    .modules-section.rs-services {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }

    .modules-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(224, 48, 50, 0.03) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .modules-section .section-title {
        margin-bottom: 60px;
        position: relative;
        z-index: 1;
    }

    .modules-section .sub-title {
        color: #E03032;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
    }

    .modules-section .sub-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #E03032, transparent);
        border-radius: 2px;
    }

    .modules-section .title {
        font-size: 42px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.3;
    }

    /* Module Card */
    .module-item {
        background: #ffffff;
        border-radius: 25px;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .module-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #E03032, #0078BF, #00A0E3);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
        border-radius: 25px 25px 0 0;
    }

    .module-item:hover::before {
        transform: scaleX(1);
    }

    .module-item:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 50px rgba(224, 48, 50, 0.25);
        border-color: rgba(224, 48, 50, 0.2);
    }

    /* Module Header */
    .module-header {
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        padding: 40px 30px 30px;
        border-radius: 25px 25px 0 0;
        position: relative;
        overflow: hidden;
    }

    .module-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .module-header::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

    .module-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        position: relative;
        z-index: 1;
        transition: all 0.4s ease;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .module-item:hover .module-icon {
        transform: rotateY(360deg) scale(1.1);
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .module-icon i {
        font-size: 40px;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .module-title {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        text-align: center;
        position: relative;
        z-index: 1;
        line-height: 1.4;
    }

    /* Module Body */
    .module-body {
        padding: 30px;
        flex-grow: 1;
    }

    .module-description {
        font-size: 15px;
        line-height: 1.7;
        color: #666;
        margin-bottom: 25px;
        text-align: center;
    }

    /* Module Features */
    .module-features {
        margin-top: 25px;
        background: rgba(224, 48, 50, 0.03);
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(224, 48, 50, 0.1);
    }

    .features-title {
        font-size: 17px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 15px;
        text-align: center;
        position: relative;
        padding-bottom: 12px;
    }

    .features-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: linear-gradient(90deg, #E03032, #0078BF);
        border-radius: 2px;
    }

    .module-properties {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .property-item {
        margin-bottom: 10px;
        transition: all 0.3s ease;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .property-item:hover {
        background: rgba(224, 48, 50, 0.05);
        transform: translateX(5px);
    }

    .property-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .property-icon {
        font-size: 16px;
        color: #E03032;
        flex-shrink: 0;
        margin-top: 3px;
    }

    .property-text {
        font-size: 14px;
        color: #333;
        line-height: 1.7;
        font-weight: 500;
    }

    /* Module Footer */
    .module-footer {
        padding: 0 30px 30px;
        margin-top: auto;
    }

    .module-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 25px;
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        color: #ffffff;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.4s ease;
        border: 2px solid transparent;
    }

    .module-btn:hover {
        background: #ffffff;
        color: #E03032;
        border-color: #E03032;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(224, 48, 50, 0.3);
    }

    .module-btn i {
        transition: transform 0.3s ease;
    }

    .module-btn:hover i {
        transform: translateX(-5px);
    }

    /* Empty State */
    .no-modules {
        padding: 80px 20px;
    }

    .empty-state i {
        font-size: 80px;
        color: #E03032;
        margin-bottom: 20px;
    }

    .empty-state h4 {
        font-size: 24px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 10px;
    }

    .empty-state p {
        font-size: 16px;
        color: #999;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .modules-section {
            padding: 70px 0;
        }

        .modules-section .title {
            font-size: 36px;
        }

        .module-header {
            padding: 35px 25px 25px;
        }

        .module-icon {
            width: 70px;
            height: 70px;
        }

        .module-icon i {
            font-size: 36px;
        }

        .module-title {
            font-size: 20px;
        }

        .module-body {
            padding: 25px;
        }

        .module-features {
            padding: 18px;
        }

        .features-title {
            font-size: 16px;
        }

        .property-text {
            font-size: 13px;
        }
    }

    @media (max-width: 767px) {
        .modules-section {
            padding: 60px 0;
        }

        .modules-section .title {
            font-size: 28px;
        }

        .modules-section .sub-title {
            font-size: 14px;
        }

        .module-item {
            margin-bottom: 30px;
        }

        .module-header {
            padding: 30px 20px 20px;
        }

        .module-icon {
            width: 60px;
            height: 60px;
        }

        .module-icon i {
            font-size: 32px;
        }

        .module-title {
            font-size: 18px;
        }

        .module-body {
            padding: 20px;
        }

        .module-description {
            font-size: 14px;
        }

        .property-text {
            font-size: 13px;
        }

        .module-footer {
            padding: 0 20px 20px;
        }

        .module-features {
            padding: 15px;
            margin-top: 20px;
        }

        .features-title {
            font-size: 15px;
            margin-bottom: 12px;
            padding-bottom: 10px;
        }

        .property-item {
            padding: 6px 8px;
            margin-bottom: 8px;
        }

        .property-icon {
            font-size: 14px;
        }

        .property-text {
            font-size: 13px;
            line-height: 1.6;
        }
    }


/* ==================== statistics ==================== */

    /* Enhanced Statistics Section */
    .rs-statistics.main-home {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        position: relative;
        overflow: hidden;
        padding: 100px 0;
    }

    .rs-statistics::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(224, 48, 50, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(0, 120, 191, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

    .rs-statistics .container {
        position: relative;
        z-index: 1;
    }

    .rs-statistics .sec-title {
        margin-bottom: 60px;
    }

    .rs-statistics .sub-title {
        color: #0078BF;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
    }

    .rs-statistics .sub-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #0078BF, transparent);
        border-radius: 2px;
    }

    .rs-statistics .title {
        color: #ffffff;
        font-size: 42px;
        font-weight: 700;
        line-height: 1.3;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    /* Statistic Card */
    .statistic-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 40px 30px;
        border: 2px solid rgba(224, 48, 50, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .statistic-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(224, 48, 50, 0.1) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .statistic-card:hover::before {
        opacity: 1;
    }

    .statistic-card:hover {
        transform: translateY(-15px);
        border-color: rgba(224, 48, 50, 0.5);
        box-shadow: 0 20px 50px rgba(224, 48, 50, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Background Circles */
    .card-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
    }

    .bg-circle-1,
    .bg-circle-2 {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(224, 48, 50, 0.2) 0%, transparent 70%);
    }

    .bg-circle-1 {
        width: 150px;
        height: 150px;
        top: -50px;
        right: -50px;
        animation: float 6s ease-in-out infinite;
    }

    .bg-circle-2 {
        width: 100px;
        height: 100px;
        bottom: -30px;
        left: -30px;
        animation: float 8s ease-in-out infinite reverse;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    /* Icon Wrapper */
    .statistic-icon-wrapper {
        position: relative;
        width: 90px;
        height: 90px;
        margin: 0 auto 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-background {
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        border-radius: 20px;
        transition: all 0.4s ease;
    }

    .statistic-card:hover .icon-background {
        transform: rotate(10deg) scale(1.1);
        box-shadow: 0 10px 30px rgba(224, 48, 50, 0.5);
    }

    .icon-pulse {
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 22px;
        background: linear-gradient(135deg, #E03032, #0078BF);
        opacity: 0.3;
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.3;
        }
        50% {
            transform: scale(1.1);
            opacity: 0.1;
        }
    }

    .icon_style {
        font-size: 42px;
        color: #ffffff;
        position: relative;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .statistic-card:hover .icon_style {
        transform: scale(1.1);
    }

    /* Counter Wrapper */
    .counter-wrapper {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-bottom: 15px;
    }

    .rs-count {
        font-size: 48px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1;
        background: linear-gradient(135deg, #ffffff 0%, #0078BF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .counter-suffix {
        font-size: 36px;
        font-weight: 700;
        color: #E03032;
        margin-left: 5px;
    }

    /* Statistic Title */
    .statistic-title {
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .statistic-desc {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.6;
        margin: 0;
    }

    /* Card Hover Effect */
    .card-hover-effect {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #E03032, #0078BF, #00A0E3);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .statistic-card:hover .card-hover-effect {
        transform: scaleX(1);
    }

    /* Responsive */
    @media (max-width: 991px) {
        .rs-statistics.main-home {
            padding: 70px 0;
        }

        .rs-statistics .title {
            font-size: 36px;
        }

        .statistic-card {
            padding: 35px 25px;
            margin-bottom: 30px;
        }

        .statistic-icon-wrapper {
            width: 80px;
            height: 80px;
        }

        .icon_style {
            font-size: 36px;
        }

        .rs-count {
            font-size: 42px;
        }

        .counter-suffix {
            font-size: 32px;
        }
    }

    @media (max-width: 767px) {
        .rs-statistics.main-home {
            padding: 60px 0;
        }

        .rs-statistics .title {
            font-size: 28px;
        }

        .rs-statistics .sub-title {
            font-size: 14px;
        }

        .statistic-card {
            padding: 30px 20px;
            margin-bottom: 20px;
        }

        .statistic-icon-wrapper {
            width: 70px;
            height: 70px;
            margin-bottom: 20px;
        }

        .icon_style {
            font-size: 32px;
        }

        .rs-count {
            font-size: 36px;
        }

        .counter-suffix {
            font-size: 28px;
        }

        .statistic-title {
            font-size: 18px;
        }

        .statistic-desc {
            font-size: 13px;
        }
    }


/* ==================== common_questions ==================== */

    /* Enhanced FAQ Section */
    .rs-faq-part.style1 {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        position: relative;
        overflow: hidden;
    }

    .rs-faq-part::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, rgba(224, 48, 50, 0.02) 0%, transparent 100%);
        pointer-events: none;
    }

    .rs-faq-part .main-part {
        padding: 40px;
        position: relative;
        z-index: 1;
    }

    .rs-faq-part .main-part {
        padding: 40px 30px;
    }

    .rs-faq-part .title {
        margin-bottom: 40px;
    }

    .rs-faq-part .text-part {
        font-size: 36px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.3;
        position: relative;
        padding-bottom: 20px;
    }

    /* Underline decoration - RTL/LTR Support */
    .rs-faq-part .text-part::after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #E03032 0%, #0078BF 100%);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* LTR (English) - Line from left */
    [dir="ltr"] .rs-faq-part .text-part::after {
        left: 0;
        right: auto;
        background: linear-gradient(90deg, #E03032 0%, #0078BF 100%);
    }

    /* RTL (Arabic) - Line from right */
    [dir="rtl"] .rs-faq-part .text-part::after {
        right: 0;
        left: auto;
        background: linear-gradient(270deg, #E03032 0%, #0078BF 100%);
    }

    /* Hover effect */
    .rs-faq-part .text-part:hover::after {
        width: 120px;
        box-shadow: 0 2px 10px rgba(224, 48, 50, 0.4);
    }

    /* Accordion Enhanced */
    .accordion .card {
        border: none;
        background: #ffffff;
        margin-bottom: 20px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .accordion .card:hover {
        transform: translateX(10px);
        box-shadow: 0 8px 25px rgba(224, 48, 50, 0.15);
    }

    .accordion .card-header {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border: none;
        padding: 0;
        position: relative;
    }

    .accordion .card-header::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(180deg, #E03032, #0078BF);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .accordion .card-header:hover::before {
        opacity: 1;
    }

    .accordion .card-link {
        display: block;
        padding: 20px 60px 20px 25px;
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
    }

    .accordion .card-link:hover {
        color: #E03032;
        padding-left: 35px;
    }

    .accordion .card-link::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #E03032;
        transition: transform 0.3s ease;
    }

    .accordion .card-link:not(.collapsed)::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .accordion .card-link.collapsed {
        color: #555;
    }

    .accordion .card-body {
        padding: 25px;
        font-size: 15px;
        line-height: 1.8;
        color: #666;
        background: #ffffff;
        border-top: 1px solid #f0f0f0;
    }

    /* Video Section - Perfect Centering Solution */
    .rs-faq-part .faq-video-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-height: 550px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0 20px 20px 0;
        overflow: hidden;
    }

    /* Apply background from data attribute using JavaScript or keep inline if needed */
    .rs-faq-part .faq-video-container[data-style*="background-image"] {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .rs-faq-part .faq-video-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(224, 48, 50, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
        z-index: 1;
        transition: all 0.3s ease;
    }

    .rs-faq-part .faq-video-container:hover::before {
        background: linear-gradient(135deg, rgba(224, 48, 50, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .rs-faq-part .faq-video-container .popup-videos {
        position: relative;
        z-index: 10;
        width: 140px;
        height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border-radius: 50%;
        border: 4px solid rgba(255, 255, 255, 0.6);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        animation: pulse-ring 2.5s ease-in-out infinite;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7),
                    0 20px 50px rgba(0, 0, 0, 0.3);
    }

    @keyframes pulse-ring {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7),
                        0 20px 50px rgba(0, 0, 0, 0.3);
        }
        50% {
            box-shadow: 0 0 0 25px rgba(255, 255, 255, 0),
                        0 20px 50px rgba(224, 48, 50, 0.5);
        }
    }

    .rs-faq-part .faq-video-container .popup-videos:hover {
        transform: scale(1.15);
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        border-color: #ffffff;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0),
                    0 25px 60px rgba(224, 48, 50, 0.7);
        animation: none;
    }

    /* Inner Gradient Circle */
    .rs-faq-part .faq-video-container .popup-videos::after {
        content: '';
        position: absolute;
        inset: 0;
        margin: auto;
        width: 95px;
        height: 95px;
        background: linear-gradient(135deg, #E03032 0%, #0078BF 100%);
        border-radius: 50%;
        z-index: -1;
        transition: all 0.4s ease;
    }

    .rs-faq-part .faq-video-container .popup-videos:hover::after {
        width: 105px;
        height: 105px;
        background: linear-gradient(135deg, #00A0E3 0%, #E03032 100%);
    }

    /* Ripple Effect */
    .rs-faq-part .faq-video-container .popup-videos::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.4);
        animation: ripple-effect 2s ease-out infinite;
        z-index: -2;
    }

    @keyframes ripple-effect {
        0% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 1;
        }
        100% {
            transform: translate(-50%, -50%) scale(1.3);
            opacity: 0;
        }
    }

    .rs-faq-part .faq-video-container .popup-videos:hover::before {
        animation: ripple-fast 1s ease-out infinite;
    }

    @keyframes ripple-fast {
        0% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 1;
        }
        100% {
            transform: translate(-50%, -50%) scale(1.4);
            opacity: 0;
        }
    }

    .rs-faq-part .faq-video-container .popup-videos i {
        position: relative;
        z-index: 10;
        margin: 0;
        padding-left: 5px;
        color: #ffffff;
        font-size: 50px;
        line-height: 1;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rs-faq-part .faq-video-container .popup-videos:hover i {
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }

    /* Empty State */
    .faq-content .text-muted {
        padding: 40px 20px;
        text-align: center;
        font-size: 16px;
        color: #999;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .rs-faq-part .main-part {
            padding: 30px 15px;
        }

        .rs-faq-part .text-part {
            font-size: 30px;
        }

        .accordion .card-link {
            font-size: 16px;
            padding: 18px 50px 18px 20px;
        }

        .accordion .card-link::after {
            right: 20px;
            font-size: 18px;
        }

        .accordion .card-body {
            padding: 20px;
            font-size: 14px;
        }

        .rs-faq-part .faq-video-container {
            min-height: 450px;
            border-radius: 20px;
            margin-top: 30px;
        }

        .rs-faq-part .faq-video-container .popup-videos {
            width: 110px;
            height: 110px;
            border-width: 3px;
        }

        .rs-faq-part .faq-video-container .popup-videos::after {
            width: 75px;
            height: 75px;
        }

        .rs-faq-part .faq-video-container .popup-videos::before {
            width: 140px;
            height: 140px;
        }

        .rs-faq-part .faq-video-container .popup-videos i {
            font-size: 42px;
        }
    }

    @media (max-width: 767px) {
        .rs-faq-part .main-part {
            padding: 20px 10px;
        }

        .rs-faq-part .title {
            margin-bottom: 30px;
        }

        .rs-faq-part .text-part {
            font-size: 24px;
        }

        .accordion .card {
            margin-bottom: 15px;
        }

        .accordion .card-link {
            font-size: 15px;
            padding: 15px 45px 15px 15px;
        }

        .accordion .card-link::after {
            right: 15px;
            font-size: 16px;
        }

        .accordion .card-body {
            padding: 15px;
            font-size: 13px;
        }

        .rs-faq-part .faq-video-container {
            min-height: 400px;
        }

        .rs-faq-part .faq-video-container .popup-videos {
            width: 100px;
            height: 100px;
            border-width: 3px;
        }

        .rs-faq-part .faq-video-container .popup-videos::after {
            width: 65px;
            height: 65px;
        }

        .rs-faq-part .faq-video-container .popup-videos::before {
            width: 130px;
            height: 130px;
        }

        .rs-faq-part .faq-video-container .popup-videos i {
            font-size: 36px;
        }
    }


/* ==================== testimonial ==================== */

    /* Enhanced Testimonials Section */
    .rs-testimonial.main-home {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        position: relative;
        overflow: hidden;
    }

    .rs-testimonial::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 25% 25%, rgba(224, 48, 50, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(0, 120, 191, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

    .rs-testimonial .container {
        position: relative;
        z-index: 1;
    }

    .rs-testimonial .sec-title3 {
        margin-bottom: 60px;
    }

    .rs-testimonial .sub-title {
        color: #0078BF;
        font-weight: 600;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
    }

    .rs-testimonial .sub-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #0078BF, transparent);
        border-radius: 2px;
    }

    .rs-testimonial .title {
        color: #ffffff;
        font-size: 42px;
        font-weight: 700;
        line-height: 1.3;
    }

    /* Testimonial Card */
    .testi-item {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 25px;
        padding: 40px;
        border: 2px solid rgba(224, 48, 50, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .testi-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(224, 48, 50, 0.05) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .testi-item:hover::before {
        opacity: 1;
    }

    .testi-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #E03032, #0078BF, #00A0E3);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .testi-item:hover::after {
        transform: scaleX(1);
    }

    .testi-item:hover {
        transform: translateY(-10px);
        border-color: rgba(224, 48, 50, 0.5);
        box-shadow: 0 20px 50px rgba(224, 48, 50, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Author Description */
    .author-desc {
        position: relative;
        margin-bottom: 30px;
    }

    .author-desc .desc {
        position: relative;
        padding: 35px 30px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .author-desc .desc .quote {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
        opacity: 0.2;
        filter: brightness(0) invert(1);
    }

    .author-desc .desc p,
    .author-desc .desc {
        font-size: 16px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
        position: relative;
        z-index: 1;
        text-align: center;
        font-weight: 400;
    }

    .author-desc .desc * {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    /* Author Part - Contains Image and Info */
    .author-part {
        text-align: center;
        position: relative;
        margin-top: 30px;
    }

    /* Author Image - Now inside author-part */
    .author-part .author-img {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .author-part .author-img img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 6px solid rgba(224, 48, 50, 0.6);
        box-shadow: 0 10px 35px rgba(224, 48, 50, 0.4),
                    0 0 0 0 rgba(224, 48, 50, 0.4);
        transition: all 0.4s ease;
        object-fit: cover;
        background: #ffffff;
        animation: author-pulse 3s ease-in-out infinite;
    }

    @keyframes author-pulse {
        0%, 100% {
            box-shadow: 0 10px 35px rgba(224, 48, 50, 0.4),
                        0 0 0 0 rgba(224, 48, 50, 0.4);
        }
        50% {
            box-shadow: 0 15px 45px rgba(224, 48, 50, 0.5),
                        0 0 0 10px rgba(224, 48, 50, 0);
        }
    }

    .testi-item:hover .author-part .author-img img {
        transform: scale(1.1);
        border-color: #E03032;
        box-shadow: 0 20px 50px rgba(224, 48, 50, 0.6),
                    0 0 0 15px rgba(224, 48, 50, 0);
        animation: none;
    }

    .author-part .name {
        display: block;
        font-size: 20px;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        margin-bottom: 5px;
        transition: color 0.3s ease;
    }

    .author-part .name:hover {
        color: #E03032;
    }

    .author-part .designation {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
    }

    /* Owl Carousel Dots */
    .rs-testimonial .owl-dots {
        text-align: center;
        margin-top: 40px;
    }

    .rs-testimonial .owl-dot {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        margin: 0 5px;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .rs-testimonial .owl-dot.active {
        width: 30px;
        border-radius: 10px;
        background: linear-gradient(90deg, #E03032, #0078BF);
    }

    .rs-testimonial .owl-dot:hover {
        background: rgba(224, 48, 50, 0.5);
    }

    /* Empty State */
    .rs-testimonial .text-muted {
        color: rgba(255, 255, 255, 0.5) !important;
        padding: 60px 20px;
        text-align: center;
        font-size: 16px;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .rs-testimonial .title {
            font-size: 36px;
        }

        .testi-item {
            padding: 35px 30px;
        }

        .author-desc .desc {
            padding: 30px 25px;
            min-height: 180px;
        }

        .author-desc .desc .quote {
            width: 40px;
            height: 40px;
        }

        .author-desc .desc p,
        .author-desc .desc {
            font-size: 15px;
            line-height: 1.8;
        }

        .author-part .author-img img {
            width: 90px;
            height: 90px;
            border-width: 5px;
        }

        .author-part .name {
            font-size: 18px;
        }

        .author-part .designation {
            font-size: 14px;
        }
    }

    @media (max-width: 767px) {
        .rs-testimonial .title {
            font-size: 28px;
        }

        .rs-testimonial .sub-title {
            font-size: 14px;
        }

        .testi-item {
            padding: 30px 20px;
        }

        .author-desc {
            margin-bottom: 25px;
        }

        .author-desc .desc {
            padding: 30px 20px;
            min-height: 160px;
        }

        .author-desc .desc .quote {
            width: 35px;
            height: 35px;
            top: 12px;
            left: 12px;
        }

        .author-desc .desc p,
        .author-desc .desc {
            font-size: 14px;
            line-height: 1.7;
        }

        .author-part .author-img img {
            width: 80px;
            height: 80px;
            border-width: 5px;
        }

        .author-part .name {
            font-size: 17px;
        }

        .author-part .designation {
            font-size: 13px;
        }

        .rs-testimonial .owl-dots {
            margin-top: 30px;
        }
    }


