@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
    --mig-color-1: #165341;
    --mig-color-2: #B3903E;
    --klms-color-1: #F17609;
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}

body {
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 5rem;
    align-items: center;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 10;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: "";
    width: 0;
    height: 2px;
    background-color: var(--mig-color-1);
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: 0.4s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li .login-btn {
    background-color: var(--mig-color-1);
    padding: 0.5rem 1.5rem;
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links li .login-btn:hover {
    background-color: var(--mig-color-2);
    transform: translateY(-3px);
}

.logo {
    max-width: 100px;
}

/* MAIN */
main {
    background-color: white;
    display: flex;
    justify-content: space-between;
    padding: 4rem 4rem;
    align-items: center;
    min-height: 70vh;
}

.desc {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.desc h3 {
    color: var(--mig-color-2);
    font-size: 1.4rem;
}

.desc h1 {
    color: var(--mig-color-1);
    font-size: 2rem;
}

.klms-desc-container h2 {
    font-size: 2rem;
    color: var(--dark-color);
}

.klms-desc-container h5 {
    color: var(--klms-color-1);
    font-weight: 400;
    margin-top: 0.5rem;
}

.main-logo-container {
    text-align: center;
}

.main-logo {
    width: 550px;
    transition: transform 0.5s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

/* ENTRANCE ANIMATIONS */
.animate-top {
    animation: animateTop 1s ease-out forwards;
    opacity: 0;
}

.animate-left {
    animation: animateLeft 1.2s ease-out forwards;
    opacity: 0;
}

.animate-right {
    animation: animateRight 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes animateTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animateLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes animateRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    justify-content: center;
    padding: 5rem 1rem;
}

.box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.box-content {
    padding: 1rem;
}

.box-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.box-desc {
    font-size: 0.8rem;
    color: #555;
    text-align: justify;
}

footer{
    width: 100%;
    height: 20vh;
    background-color: var(--dark-color);
    color: var(--light-color);

    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0px;
    gap: 1rem;
}
.platform-container{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    color: white;
    font-size: 1.2rem;
}
.footer-title{
    padding-top: 10px;
}
.platform-container a{
    text-decoration: none;
    color: var(--light-color);
    font-size: 1.5rem;
}
.copyright{
    font-size: 0.7rem;
}

@media (max-width: 992px) {
    main {
        flex-direction: column;
        text-align: center;
        margin: 2rem;
    }

    .main-logo {
        width: 350px;
        margin-top: 2rem;
    }
}