/* Service Section */
.service {
    padding: 120px 0;
    background-color: #000000;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (max-width: 1024px) {
        padding: 100px 0;
    }

    @media (max-width: 425px) {
        padding: 120px 0 60px;
    }
}

.service-container {
    max-width: 1280px;
    width: 100%;
    padding: 0 64px;

    @media (max-width: 425px) {
        padding: 0 24px;
    }
}

.service-title {
    font-weight: 700;
    font-size: 72px;
    line-height: 86px;
    letter-spacing: -1.44px;
    color: #F2F2F2;
    text-align: center;
    margin-bottom: 40px;

    @media (max-width: 1024px) {
        font-size: 42px;
        line-height: 50px;
        letter-spacing: -0.84px;
    }

    @media (max-width: 425px) {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -0.64px;
    }
}

.service-tabs {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 24px;
   margin-bottom: 40px;

   @media (max-width: 1024px) {
        flex-wrap: wrap;
   }

   @media (max-width: 425px) {
        flex-direction: column;
   }
}

.service-tab {
    background: #333333;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media (max-width: 425px) {
        width: 100%;
        text-align: left;
        padding: 24px;
        max-width: 300px;
    }
}

.service-tab-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 0;

    @media (max-width: 425px) {
        flex-direction: row-reverse;
        justify-content: flex-end;
        width: 100%;
    }
}

.service-tab.active {
    background: linear-gradient(180deg, #93B3E9 0%, #EFC081 44.23%, #FBA61C 71.63%, #FF6B51 100%);
    border: none;
    position: relative;
    border-radius: 16px;
    padding: 1px;
}

.service-tab.active .service-tab-content {
    padding: 24px 16px;
    position: relative;
    z-index: 1;
}

.service-tab.active::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: #333333;
    border-radius: 16px;
    z-index: 0;
}

.service-tab h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: -0.4px;
    color: #828282;

    @media (max-width: 1024px) {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: -0.36px;
    }
}

.service-tab.active h3 {
    color: #F2F2F2;
}

.service-icon {
    display: flex;
    justify-content: center;

    @media (max-width: 425px) {
       img {
        width: 42px !important;
        height: 42px !important;
       }
    }
}

.service-icon img {
    width: 100px;
    height: 100px;
}

.service-tab.active .service-icon {
    opacity: 1;
}

.service-content {
    background: #040404;
    padding: 44px 64px;
    display: none; /* Hide all service contents by default */

    @media (max-width: 425px) {
        padding: 44px 32px;
    }
}

.service-content:first-child {
    display: block; /* Show the first service content by default */
}

.service-content-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.96px;
    color: #F2F2F2;
    margin-bottom: 32px;

    @media (max-width: 1024px) {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -0.64px;
    }

    @media (max-width: 425px) {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: -0.48px;
        text-align: center;
    }
}

.service-content-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.09px;
    color: #F2F2F2;
    margin-bottom: 32px;

    @media (max-width: 425px) {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.08px;
    }
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-row {
    display: flex;
    justify-content: center;
    gap: 32px;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
    }
}

.feature-card {
    background: #333333;
    border: 1px solid #BDBDBD;
    border-radius: 16px;
    padding: 32px 31px;
    backdrop-filter: blur(200px);
    transition: transform 0.3s ease;
    width: 320px;
    height: 240px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0.9;

    @media (max-width: 425px) {
        padding: 32px 26px;
    }
}

.feature-card:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.feature-card h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: -0.08px;
    color: #FFFFFF;
}

.feature-card p {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: -0.07px;
    color: #F2F2F2;
}
