.service-item {
      /* background-color: #ddd;  */
      padding: 20px; 
      text-align: center; 
      transition: background-color 0.3s;
      cursor: pointer;
    }

    .service-item:hover {
      background-color: #aaa; 
    }

    .service-item h4.title {
      margin: 0; 
    }

    /* Specific override for the no-border class */
    .features-item .no-border {
        border: none !important;
    }

    .services-section {
        padding: 80px 0;
        background: #ffffff;
    }

    .service-card {
        background: white;
        border-radius: 25px;
        padding: 30px;
        margin-bottom: 30px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        position: relative;
        overflow: hidden;
        border: 2px solid #800000;
        z-index: 1;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,rgb(59, 12, 12),rgb(59, 5, 5),rgb(36, 1, 1));
        background-size: 200% 100%;
        z-index: -1;
        transition: all 0.5s ease;
        opacity: 0;
    }

    .service-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        border-radius: 23px;
        z-index: -1;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(128, 0, 0, 0.2);
        border-color: transparent;
    }

    .service-card:hover::before {
        opacity: 1;
        animation: borderFlow 2s linear infinite;
    }

    @keyframes borderFlow {
        0% {
            background-position: 0% 0%;
        }
        100% {
            background-position: 200% 0%;
        }
    }

    .service-icon {
        width: 100%;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .service-icon img {
        width: 200px;
        height: auto;
        object-fit: contain;
    }

    .service-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: #800000;
        text-align: center;
    }

    .service-description {
        color: #6c757d;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .service-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .service-list li {
        padding: 8px 0;
        color: #495057;
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }

    .service-list li i {
        color: #800000;
        margin-right: 10px;
        font-size: 1.1rem;
    }

    .section-title {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    /* .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #800000;
    } */

    .features-item {
        margin-bottom: 60px;
    }

    .image-stack {
        position: relative;
        padding: 20px;
    }

    .stack-front {
        position: relative;
        z-index: 2;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .stack-back {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        transform: translate(20px, 20px);
        border-radius: 15px;
        opacity: 0.7;
    }

    @media (max-width: 768px) {
        .service-card {
            margin-bottom: 20px;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
        
        .service-icon img {
            width: 150px;
        }
    }
