html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Lato', Arial, sans-serif;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: #f7f7f5;
    scroll-behavior: smooth;
    color: #2d3748;
}

*, *::before, *::after {
    box-sizing: inherit;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    margin-top: 110px;
}

.about-us {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Heading Container */
.heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 44px;
}

.about-us h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.2em;
    margin-bottom: 0;
    color: #003366;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2px;
}

/* Animated Separation Line */
.separation-line {
    width: 56px;
    height: 3px;
    background-color: #b8983a;
    margin: 20px auto 0;
    display: block;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.9s ease-in-out;
}

.separation-line.animate {
    transform: scaleX(1);
}

@keyframes line-grow {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.about-us .content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

.about-us .text {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    margin: 0 auto;
}

.about-us .text p {
    font-size: 1.05em;
    line-height: 1.85;
    color: #3d4a5c;
    margin-bottom: 22px;
}

.about-us .text p:last-child {
    margin-bottom: 0;
}

.about-us .image {
    flex: 1;
    min-width: 300px;
}

.about-us .image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #003366;
}

@media (max-width: 768px) {
    main {
        margin-top: 100px;
        padding: 36px 0;
    }

    .about-us {
        padding: 0 18px;
    }

    .about-us .content {
        flex-direction: column;
        gap: 28px;
    }

    .about-us h2 {
        font-size: 1.8em;
    }

    .about-us .text p {
        font-size: 1em;
    }
}