/* Header and Footer Styles */

.main-header {
    background: linear-gradient(to right, #cff1ff 0%, #ffffff 10%, #ffffff 40%, #cff1ff 100%);
    color: #cff1ff;
    padding: var(--padding-small);
    border-bottom: var(--border-standard);
}


.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--margin-large);
    align-items: center;
}

.nav-item a {
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-logo a {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: var(--light-bg-color);
    background-color: var(--secondary-color);
    transform: none;
    box-shadow: var(--shadow-small);
}

.nav-logo {
    margin: 0;
}

.nav-logo a:hover {
    color: var(--secondary-color); /* This will now be applied */
    background-color: transparent; /* Override the background change */
    box-shadow: none; /* Remove the shadow */
}

/*? ↓  Start Footer ↓ */
footer {
    background: url("/images/footer-background.svg");
    border-top: var(--border-standard);
    margin-top: var(--margin-medium);
    padding: var(--padding-small) var(--padding-large);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer ul {
    list-style: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--margin-large);
    padding: 0;
    margin: var(--margin-medium) 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--margin-large);
    margin-top: var(--margin-small);
}

.social-links a,
.footer-links a {
    font-size: 1.1em;
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.social-links a:hover,
.footer-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1) translateY(-2px);
}

.copyright {
    margin: var(--margin-medium) 0 0;
    font-size: 0.9em;
    color: var(--dark-gray-color);
}