:root {
    --iiser-red: #A51C30;
    --dark-bg: #1a1a1a;
    --text-muted: #bbbbbb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 70px 0 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Footer Typography */
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--iiser-red);
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.footer-logo span {
    color: var(--iiser-red);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--iiser-red);
    padding-left: 8px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--iiser-red);
    margin-top: 4px;
}

/* Social Icons */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--iiser-red);
    transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 25px 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Alignment Fixes */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-col h4::after {
        left: 0;
    }
    
    .main-footer {
        padding: 50px 0 20px;
    }
}