/* Footer Styling */
footer {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

/* Footer Social Links - Match navbar social styling */
.footer-social-links {
    /* display: flex; */
    align-items: center;
    gap: 0.5rem;
}

.footer-social-links a {
    color: #999999;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    color: #0D1756;
}

/* Footer Links */
.footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0D1756;
}

/* Section Headers */
footer h6 {
    font-weight: 600;
    color: #333;
}

/* Contact Info Icons */
footer .fas {
    color: #0D1756;
    width: 16px;
}

/* Two-column layout for footer navigation */
.footer-nav-two-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-column ul {
    margin: 0;
}

/* UWI Logo Icon Styling */
.uwi-logo-icon {
    height: 1.2rem; /* Match the size of font icons */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: grayscale(100%); /* Make it grayscale by default to match other icons */
    opacity: 0.8; /* Slightly transparent to match icon appearance */
}

/* Navbar UWI Logo */
.navbar .uwi-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .uwi-logo-link:hover .uwi-logo-icon {
    transform: scale(1.1);
    filter: grayscale(0%); /* Show color on hover */
    opacity: 1;
}

/* Footer UWI Logo */
.footer-social-links .uwi-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-links .uwi-logo-link:hover .uwi-logo-icon {
    transform: scale(1.1);
    filter: grayscale(0%); /* Show color on hover */
    opacity: 1;
}

.copyright{
    font-size: 0.75rem !important
}

.admin-link a{
    color: #8e8e8e; 
    text-decoration: none; 
    font-size: .75rem;
}

/* Developer Signature Styling */
.developer-signature {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 0.5rem;
    /* padding: 0.75rem 0; */
    font-size: 0.5rem;
    color: #c4c4c4;
}

.signature-text {
    font-style: italic;
}

.cdt-logo-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    /* background: rgba(0, 0, 0, 0.02); */
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
    transition: all 0.3s ease;
}

.cdt-logo-container:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.cdt-logo {
    height: 25px;
    width: auto;
    object-fit: contain;
    border-radius: 2px;
    opacity: .75;
}

.cdt-text {
    font-weight: 800;
    /* color: #495057; */
    /* font-size: 0.4rem; */
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .uwi-logo-icon {
        height: 1rem; /* Slightly smaller on mobile */
    }
}

@media (max-width: 992px) {
    #footer-links{
        display: none;
    }
}

/* Responsive adjustments for developer signature */
@media (max-width: 768px) {
    .developer-signature {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.4rem;
    }
    
    .cdt-logo {
        height: 16px;
    }
    
    .cdt-text {
        font-size: 0.4rem;
    }
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-nav-two-columns {
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .nav-column {
        gap: 0.25rem;
    }
    
    .footer-contact-social {
        align-items: flex-start;
    }
    
    .footer-contact-info {
        align-items: flex-start;
    }
    
    footer .col-md-6{
        text-align: center !important;
        margin: .5rem 0 !important;
    }
    
    footer .me-3 {
        margin-right: 1rem !important;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .footer-contact-row {
        justify-content: center;
        margin: 0 2.5rem;
    }

    .footer-contact-row span {
        text-align: center;
    }
    
    /* Mobile footer bottom section reordering and centering */
    .row.align-items-center {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .row.align-items-center .col-md-4:nth-child(1) {
        order: 2; /* Developer signature moves to second position */
    }
    
    .row.align-items-center .col-md-4:nth-child(2) {
        order: 1; /* Copyright moves to first position */
    }
    
    .row.align-items-center .col-md-4:nth-child(3) {
        order: 3; /* Admin panel stays in third position */
    }
    
    .developer-signature {
        justify-content: center; /* Center the developer signature */
    }
    
    .admin-link {
        text-align: center !important; /* Override text-end for mobile */
    }
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footer-contact-row .fas {
    margin-top: 6px;
    flex-shrink: 0;
}