.site-footer {
    color: white;
    margin-top: auto;
    position: relative;
}

.footer-background {
    position: relative;
    background-color: #276135;
    padding: 50px 0 30px;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 97, 53, 0.85); /* Green overlay with 85% opacity */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
}

/* University Info Section */
.university-info {
    display: flex;
    flex-direction: column;
}

.university-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.university-logo img {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.footer-logo {
    width: 70px;
    height: auto;
    margin-right: 15px;
}

.university-title {
    display: flex;
    flex-direction: column;
    color: #f9c90e;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.university-title h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #f9c90e; 
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    border: none;
    padding: 0;
}

.university-title .philippines {
    font-size: 15px;
    font-weight: 700;
}

.university-info p {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
    text-align: justify;
}

/* Contact Details Section */
.contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #f9c90e; 
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    border: none;
    padding: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-family: 'Lexend', sans-serif;
}

.contact-item span {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
}

.contact-icon {
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.contact-icon i {
    color: #f9c90e;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Map Section */
.map-container {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #f9c90e;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer Copyright Section */
.footer-copyright {
    background-color: #222121; 
    padding: 10px 0;
    color: #ffffff;
    border-top: none
}

.yellow-accent-bar {
    height: 5px; 
    background-color: #f9c90e; 
    display: block;
    width: 100%;
}

.copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright-left, .copyright-right {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.powered-by {
    font-weight: 600;
}

/* Footer Links */
.footer-section a {
    color: white;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f9c90e;
}

/* Responsive Styles */
@media only screen and (max-width: 1100px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .location-map {
        grid-column: span 2;
        margin-top: 20px;
    }
    
    .map-container {
        height: 250px;
    }
}

@media only screen and (max-width: 992px) {
    .social-icons {
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .footer-background {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .location-map {
        grid-column: span 1;
    }
    
    .university-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-heading {
        text-align: center;
        font-size: 24px;
    }
    
    .contact-list {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        align-items: center;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        margin-bottom: -10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-icon i {
        color: #f9c90e;
        font-size: 18px;
    }
    
    .contact-item span {
        font-size: 16px;
        font-weight: 300;
    }

    .copyright-row {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

@media only screen and (max-width: 480px) {
    .university-info {
        text-align: center;
    }
    
    .university-logo {
        flex-direction: column;
    }

    .university-title {
        align-items: center;
    }

    .university-title h2,
    .university-title h3 {
        text-align: center;
    }

    .university-title h3 {
        font-size: 16px;
    }
    
    .university-title .philippines {
        font-size: 19px;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
        width: 60px;
    }
    
    .contact-heading {
        margin-bottom: 20px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        background-color: rgba(255, 255, 255, 0.15);
    }

    .contact-item {
        width: 100%;
        margin-bottom: 5px;
    }

    .contact-item i {
        font-size: 14px;
    }
    
    .contact-item span {
        font-size: 14px;
    }

    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 40px; 
        height: 40px;
        font-size: 20px;
    }
}