/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: var(--font-primary);

    font-size: var(--fs-sm);

    font-weight: var(--fw-regular);

    color: var(--color-body);

    background: var(--color-background);

    line-height: 1.7;

}

img {

    display: block;
    max-width: 100%;
    height: auto;

}

a {

    text-decoration: none;
    color: inherit;

}

ul {

    list-style: none;

}

p {
    margin-bottom: 1.5rem;
}
p:last-child {
    margin-bottom: 0;
}

h2 {
    line-height: 1.2;
    margin-bottom: .5rem;
}
/* ==================================================
   CONTAINER
================================================== */

.container {

    width: 100%;

    max-width: var(--container-width);

    margin-inline: auto;

    padding-inline: var(--space-lg);

}

/* ==================================================
   SECTION
================================================== */

.section {

    padding-block: var(--space-4xl);

}

.section-title {

    font-size: var(--fs-xl);

    color: var(--color-heading);

    font-weight: var(--fw-bold);

    margin-bottom: var(--space-xl);

}

.section-subtitle {

    color: var(--color-primary);

    font-weight: var(--fw-semibold);

    margin-bottom: var(--space-sm);

}

/* ==================================================
   GPS KNP
   FOOTER
================================================== */

.site-footer {
    background: var(--color-heading);
    color: var(--color-white);
}


/* ==================================================
   FOOTER MAIN
================================================== */

.site-footer-main {
    padding-block: var(--space-3xl);
    background: linear-gradient( 135deg, var(--color-heading) 0%, var(--color-primary-dark) 100% );
}


.site-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}


/* ==================================================
   FOOTER COLUMNS
================================================== */

.site-footer-column {
    flex: 1 1 220px;
}


.site-footer-brand {
    flex: 2 1 360px;
}


/* ==================================================
   SCHOOL NAME
================================================== */

.site-footer-brand-name {
    display: inline-block;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    line-height: 1.25;
    transition: var(--transition);
}


    .site-footer-brand-name:hover,
    .site-footer-brand-name:focus-visible {
        color: var(--color-accent);
    }


/* ==================================================
   DESCRIPTION
================================================== */

.site-footer-description {
    max-width: 480px;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--fs-sm);
    line-height: 1.8;
}


/* ==================================================
   FOOTER HEADINGS
================================================== */

.site-footer-title {
    position: relative;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    color: var(--color-white);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
}


    /* Small accent line */

    .site-footer-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 38px;
        height: 3px;
        border-radius: var(--radius-round);
        background: var(--color-accent);
    }


/* ==================================================
   FOOTER LINKS
================================================== */

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}


    .site-footer-links li {
        margin: 0;
    }


    .site-footer-links a {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        color: rgba(255, 255, 255, 0.72);
        font-size: var(--fs-sm);
        line-height: 1.5;
        transition: var(--transition);
    }


        .site-footer-links a i {
            color: var(--color-accent);
            font-size: 0.7rem;
            transition: var(--transition);
        }


        .site-footer-links a:hover,
        .site-footer-links a:focus-visible {
            color: var(--color-white);
            transform: translateX(4px);
        }


            .site-footer-links a:hover i,
            .site-footer-links a:focus-visible i {
                color: var(--color-white);
            }


/* ==================================================
   SOCIAL LINKS
================================================== */

.site-footer-social {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}


    .site-footer-social li {
        margin: 0;
    }


    .site-footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-round);
        background: rgba(255, 255, 255, 0.06);
        color: var(--color-white);
        font-size: 0.95rem;
        transition: var(--transition);
    }


        .site-footer-social a:hover,
        .site-footer-social a:focus-visible {
            border-color: var(--color-accent);
            background: var(--color-accent);
            color: var(--color-white);
            transform: translateY(-3px);
        }


/* ==================================================
   FOOTER BOTTOM
================================================== */

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
}


.site-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: var(--space-md);
}


/* ==================================================
   COPYRIGHT
================================================== */

.site-footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: var(--fs-xs);
    line-height: 1.5;
}


/* ==================================================
   ADMIN LOGIN
================================================== */

.site-footer-admin {
    flex-shrink: 0;
}


.site-footer-admin-link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font-family: inherit;
    font-size: var(--fs-xs);
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}


    .site-footer-admin-link:hover,
    .site-footer-admin-link:focus-visible {
        color: var(--color-accent);
    }


/* ==================================================
   LOGOUT FORM
================================================== */

.site-footer-logout-form {
    margin: 0;
}


/* ==================================================
   ACCESSIBILITY
================================================== */

.site-footer a:focus-visible,
.site-footer button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}


/* ==================================================
   TABLET
================================================== */

@media (min-width: 576px) {

    .site-footer-grid {
        gap: var(--space-3xl) var(--space-2xl);
    }
}


/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 992px) {

    .site-footer-main {
        padding-block: var(--space-4xl);
    }

    .site-footer-grid {
        align-items: flex-start;
        gap: var(--space-3xl);
    }

    .site-footer-brand {
        padding-right: var(--space-xl);
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 575px) {

    .site-footer-main {
        padding-block: var(--space-2xl);
    }

    .site-footer-grid {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .site-footer-brand {
        flex-basis: auto;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}