/* --- Footer Redesign --- */
.main-footer {
    background-color: #0a3d62; /* Primary Blue */
    color: #ffffff;
    padding: 60px 5% 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr; /* 3 Column layout */
    gap: 40px;
}

.footer-column h3 {
    color: #f39c12; /* Accent Gold */
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #f39c12;
}

/* Newsletter Column */
.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #d1d8e0;
}

.footer-subscribe-form {
    display: flex;
    gap: 0;
}

.footer-subscribe-form input {
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 100%;
    outline: none;
}

.footer-subscribe-form button {
    padding: 12px 20px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.footer-subscribe-form button:hover {
    background: #e67e22;
}

/* Quick Links Column (2 Line Grid) */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates the 2 lines/columns */
    gap: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #d1d8e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #f39c12;
    padding-left: 5px;
}

/* Social Column */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

/* Copyright Section */
.footer-copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #a5b1c2;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .quick-links-grid {
        justify-content: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-subscribe-form {
        max-width: 400px;
        margin: 0 auto;
    }
}