/**
 * Professional Footer Stylesheet
 * 100% Responsive and Optimized
 */

.main-footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 60px 0 30px;
    margin-top: 50px;
    border-top: 4px solid #0d47a1; /* Shorthand border */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #0d47a1;
}

.footer-widget p {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #a0aec0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

/* Social Media Icons Placeholder */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #0d47a1;
}

/* Bottom Copyright Bar */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #2d3748; /* Shorthand border */
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

.footer-bottom a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Mobile Adjustments */
@media screen and (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
}