/* General Styling */
.section-services {
    padding-top: 110px;
    padding-bottom: 120px;
    font-family: "Poppins", sans-serif;
    background-color: #211f24;
    color: #fff;
    text-align: center;
}

.section-services h2.title {
    color: #f70037;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #212428;
    overflow-x: clip;
}

.title {
    font-size: 40px;
}

ul {
    list-style: none;
}

.tabs {
    width: 80%;
    height: 100px;
    margin: auto;
    margin-top: 50px;
    display: flex;
    align-items: center;
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    overflow: hidden;
    border-radius: 10px;
}

.tabs li {
    background-color: #212327;
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4cfde;
    font-family: 'Poppins', sans-serif;
    transition: .5s;
    cursor: pointer;
}

.tabs li:hover {
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    color: #f9004d;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.active {
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    color: #f9004d !important;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.contents {
    width: 80%;
    margin: auto;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.box {
    gap: 20px;
    background: linear-gradient(145deg, #1e2024, #23272b);
    box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #262a2e;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    animation: moving 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.box img {
    width: 50%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.box h3 {
    color: #c4cfde;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.box p {
    color: #c4cfde;
    opacity: .5;
    font-family: 'Poppins', sans-serif;
}

.show {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hide {
    display: none;
}

@keyframes moving {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0px);
        opacity: 1;
    }
}

.btn-primary {
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #f70037;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #ff4766;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        height: auto;
    }

    .tabs li {
        width: 100%;
        height: 50px;
    }

    .contents {
        flex-direction: column;
        gap: 20px;
    }

    .box img {
        width: 100%;
    }

    .box {
        padding: 15px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .header-section .title {
        font-size: 30px;
    }

    .box h3 {
        font-size: 1.5rem;
    }

    .tabs li {
        height: 40px;
        font-size: 14px;
    }

    .btn-primary {
        font-size: 12px;
        padding: 6px 12px;
    }
}
