/* ------------------------------ */
/* 8. Footer                      */
/* ------------------------------ */
footer {
    background: #f9f9f9;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    margin-top: auto;
}

/* Footer Grid Layout for Structured Content */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Quick Links Styling */
.quick-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Social Icons Styling */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.1);
}

/* Responsive adjustments for social icons */
@media screen and (max-width: 768px) {
    .social-icons {
        margin: 20px 0;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .social-icons i {
        font-size: 18px;
    }
}

/* Newsletter Form Styling */
.newsletter input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 70%;
    margin-right: 10px;
}

.newsletter button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #bac11b;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background-color: #ff8c00;
}

/* Contact Information Styling */
.contact-info {
    text-align: center;
    margin: 10px 0;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ------------------------------ */
/* 9. Responsive Footer Styles    */
/* ------------------------------ */

/* For Tablets & Small Desktop Screens */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Two columns layout */
    }
    
    .contact-info {
        margin: 15px 0;
    }
    
    .contact-info p {
        font-size: 14px;
    }
}

/* For Mobile Devices */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    
    .newsletter input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        width: 100%;
    }
}
