.science{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    padding: 30px;
    margin: 0 auto;
    box-sizing: border-box;
}

.science-span{
    color: #C18C5D;
    font-size: 31px;
}

.science-h3{
    font-size: 48px;
}

.science-p{
    text-align: center;
    font-size: 18px;
    margin: 15px 0 50px;
}

.tabs-nav {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid transparent;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    cursor: pointer;
    padding-bottom: 10px;
    position: relative;
    transition: color 0.2s;
}

.tab-btn:hover {
    color: #000;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
}

.content-container {
    width: 100%;
    max-width: 1200px;
}

.tab-content {
    display: none;
    align-items: center;
    gap: 60px;
}

.tab-content.active {
    display: flex;
}

.tab-image {
    width: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #f0f0f0;
}

.tab-text {
    width: 50%;
}

.tab-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.tab-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.highlight {
    font-weight: bold;
    color: #000;
}

@media (max-width: 1024px) {
    .science{
        padding: 20px 0;
    }

    .science-span{
        font-size: 21px;
        text-align: center;
    }

    .science-h3{
        font-size: 28px;
        text-align: center;
    }

    .science-p{
        text-align: center;
        font-size: 14px;
        margin: 15px 0 50px;
    }

    .tabs-nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 20px;
    }

    .tab-content.active {
        display: flex;
        flex-direction: column;
    }

    .tab-image {
        width: 100%;
    }

    .tab-text {
        width: 100%;
    }

    .tab-text h2 {
        font-size: 21px;
        margin-bottom: 10px;
    }
}