
/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
    font-size: 0.95rem;
    transition: var(--transition);
}

footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.footer-logo img {
    width: 60px;
    height: auto;
}

.footer-logo h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--white);
}

.footer-column p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info li, .school-hours li {
    display: flex;
    justify-content: flex-start;
}

.contact-info i, .school-hours i {
    color: var(--primary-color);
    min-width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.newsletter button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Dark Mode Styles */
body.dark-mode footer {
    background-color: #181c22;
}

body.dark-mode .footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
}

body.dark-mode .footer-social a {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .newsletter input {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

body.dark-mode .newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    .footer-social{
        justify-content: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info li, .school-hours li {
        justify-content: center;
        text-align: center;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: var(--border-radius);
    }
    
    .newsletter button {
        border-radius: var(--border-radius);
        padding: 12px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 0;
    }
}