.services-main {
    padding-top: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.arbofarma-services,
.fda-services {
    flex-basis: calc(50% - 1rem);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.company-logo {
    text-align: center;
    margin-bottom: 2rem;
    max-height: 130px;
}

.logo-image {
    max-width: 200px;
    height: auto;
}

.arbofarma-logo {
    max-width: 300px;
}

.fda-logo {
    max-width: 150px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #64B2F4;
    margin-bottom: 2rem;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    flex-grow: 1;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #64B2F4;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}

tr:hover {
    background-color: #f0f0f0;
}

td {
    vertical-align: top;
}

ul {
    margin: 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 5px;
}

ul ul {
    margin-top: 5px;
}

@media screen and (max-width: 768px) {
    .services-main {
        padding: 1rem;
        flex-direction: column;
    }

    .arbofarma-services,
    .fda-services {
        flex-basis: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-image {
        max-width: 150px;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .logo-image {
        max-width: 120px;
    }

    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 6px;
    }
}

/* Animation for section entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arbofarma-services,
.fda-services {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.fda-services {
    animation-delay: 0.2s;
}
