.bg-light {
    background-color: #f8f9fa;
}

.link-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
}

.link-card:hover .link-card-inner {
    background-color: #007bff;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.link-card-inner {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.link-card-inner h6 {
    font-weight: 500;
    font-size: 1rem;
    color: inherit;
    transition: color 0.3s ease;
}

.section-heading .sub-heading .heading-icon {
    color: #007bff;
    margin-right: 10px;
}

.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}
/*  Footer Styles */
.premium-footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #1a202c 100%);
    position: relative;
    color: #e2e8f0;
    overflow: hidden;
}

.premium-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

/* University Header */
.footer-header {
    position: relative;
    z-index: 3;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.university-name {
    color: #f7fafc;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.university-subtitle {
    color: #cbd5e0;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.divider-gold {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d69e2e, #f6e05e, #d69e2e);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(214, 158, 46, 0.4);
}

/* Section Titles */
.section-title {
    color: #f7fafc;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d69e2e;
    border-radius: 1px;
}

.section-title i {
    color: #d69e2e;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    background: linear-gradient(135deg, #d69e2e, #f6e05e);
    color: #1a202c;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details h6 {
    color: #f7fafc;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details p {
    color: #cbd5e0;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Methods */
.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: #d69e2e;
    color: #f7fafc;
}

.method-icon {
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.method-value {
    font-size: 1rem;
    font-weight: 600;
}

/* Social & Stats */
.social-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link.facebook {
    background: linear-gradient(135deg, #4267b2, #6fa8dc);
    color: white;
}

.social-link.line {
    background: linear-gradient(135deg, #00c300, #00ff00);
    color: white;
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.visit-stats {
    text-align: center;
    padding: 1rem;
    background: rgba(214, 158, 46, 0.1);
    border-radius: 8px;
    color: #f7fafc;
    border: 1px solid rgba(214, 158, 46, 0.2);
}

.counter {
    color: #d69e2e;
    font-size: 1.25rem;
    margin: 0 0.25rem;
}

/* Footer Links */
.links-section {
    padding: 0 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #f7fafc;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    padding-left: 1rem;
}

.footer-links a i {
    color: #d69e2e;
    font-size: 0.85rem;
}

/* Social Feed */
.social-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.social-feed-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.responsive-iframe {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.facebook-widget:hover .responsive-iframe {
    transform: scale(1.02);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.copyright-text p {
    margin: 0;
    color: #cbd5e0;
}

.copyright-text strong {
    color: #f7fafc;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(214, 158, 46, 0.2);
    color: #d69e2e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(214, 158, 46, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(214, 158, 46, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .university-name {
        font-size: 1.5rem;
    }

    .contact-section,
    .social-section {
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }

    .university-name {
        font-size: 1.25rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-icon {
        margin: 0 0 1rem 0;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .method-icon {
        margin: 0 0 1rem 0;
    }

    .footer-badges {
        flex-direction: column;
        align-items: center;
    }

    .social-feed-container {
        padding: 0.5rem;
    }

    .social-feed-container iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .footer-header {
        margin-bottom: 2rem;
    }

    .footer-logo {
        height: 50px;
    }

    .contact-section,
    .social-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
        justify-content: center;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animation Effects */
.premium-footer * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-header {
    animation-delay: 0.1s;
}

.contact-section {
    animation-delay: 0.2s;
}

.links-section {
    animation-delay: 0.3s;
}

.social-section {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #d69e2e, #f6e05e);
    color: #1a202c;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.6);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
