* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f7fb;
    color: #172033;
}

/* Pushes the footer to the bottom */
.page-content {
    flex: 1;
}

/* MAIN FOOTER */

.site-footer {
    width: 100%;
    margin-top: auto;
    padding: 60px 0 0;
     font-weight: bold;   
    background-color: #1f3554;
    color: #ffffff;
}

.footer-container {
    width: min(1100px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;
}

/* FOOTER BRAND */

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;
}

.footer-logo img {
    width: 58px;
    height: 58px;

    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.footer-logo span {
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-brand p {
    max-width: 290px;
    margin-top: 20px;

    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* FOOTER LINKS */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-column h2 {
    margin-bottom: 8px;
    font-weight: bolder;
    text-decoration: underline;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: orange;
    font-size: 17px;
}

.footer-column a {
    position: relative;

    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;

    transition: 0.25s ease;
}

.footer-column a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

/* BOTTOM SECTION */

.footer-bottom {
    width: min(1100px, 92%);
    margin: 50px auto 0;
    padding: 22px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    color: #cbd5e1;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* SYSTEM STATUS */

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #bbf7d0;
    font-weight: 600;
    font-weight: bold;
}

.status-dot {
    width: 9px;
    height: 9px;

    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

/* TABLET */

@media (max-width: 850px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
      
        gap: 38px;
    }
    .footer-column h2{
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 40px;
        flex-direction: column;
        text-align: center;
    }
}