#site-footer {
    background-color: var(--primary-color);
    padding: 1rem;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Adds space between the logo image and text */
}

.footer-logo img {
    height: 2.5rem; /* Converted from 40px */
    width: auto;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: bold;
    display: block; /* Ensures the image doesn’t have extra space below it */
    margin-bottom: 0;
    line-height: 1.5; /* Adjusts line height for better text readability */
}

.footer-title-part {
    color: #666666; /* Lighter gray for better contrast (~5.5:1) */
}

.footer-title-part-highlight {
    color: var(--secondary-color); /* Highlight color for "Study" */
}

.footer-text {
    font-size: 1rem;
    color: var(--secondary-text-color);
    text-align: center;
}

.footer-text p {
    margin: 0;
    line-height: 1.5; /* Adjusts line height for better text readability */
}

.footer-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--secondary-text-color);
}

.footer-links a:focus {
    outline: 0.125rem solid var(--secondary-color);
    outline-offset: 0.125rem;
}

@media (prefers-reduced-motion: reduce) {
    /* Disable transitions for users who prefer reduced motion */
    * {
        transition: none !important;
    }
}

@media (max-width: 48rem) { /* Converted from 768px */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    
}}