body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.g_container {
    max-width: 1050px;
    width: 95%;
    padding: 20px;
    border-radius: 8px;
    margin: 150px auto 0 auto;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-services {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

.services-content {
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.services-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #0077ff;
    padding: 1rem;
    margin: 1.5rem auto;
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.services-section {
    margin-bottom: 2.5rem;
    width: 100%;
}

h2 {
    color: #444;
    margin-bottom: 2rem;
}

h3 {
    color: #555;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

h4{
text-decoration: underline;
}


ul {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header_menu a {
    background-color : #ffffff00;
    color: white;
}

.companies-case {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    width: 100%;
    justify-items: center;
}

.companies-case li {
    background-color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    cursor: pointer;
}

.companies-case li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .g_container {
        margin-top: 120px;
        width: 100%;
        padding: 15px;
    }

    .services-content {
        padding: 1rem;
    }

    .companies-case {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .companies-case li {
        max-width: 150px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-height: 50px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .g_container {
        margin-top: 100px;
        padding: 10px;
    }

    .services-content {
        padding: 0.8rem;
    }

    .companies-case {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.8rem;
    }

    .companies-case li {
        max-width: 130px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-height: 45px;
    }

    .services-notice {
        margin: 1rem 0.5rem;
        padding: 0.8rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    h4 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .g_container {
        margin-top: 90px;
        padding: 5px;
    }

    .companies-case {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 0.6rem;
    }

    .companies-case li {
        max-width: 100%;
        padding: 0.8rem;
    }

    .services-content {
        padding: 0.5rem;
    }
}