/* Footer fixes to improve alignment and consistency - New version 2 */
body footer {
    background-color: #f0f5f3;
    color: #333333;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

body footer .footer-content {
    display: grid !important;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr !important;
    gap: 30px !important;
    margin-bottom: 50px;
    align-items: start;
    flex-wrap: nowrap !important;
}

body footer .footer-logo {
    grid-column: 1 !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
}

body footer .footer-links {
    grid-column: 2 !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
}

body footer .footer-contact {
    grid-column: 3 !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

body footer .footer-social-media {
    grid-column: 4 !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    justify-self: end !important;
}

body footer .footer-logo h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    white-space: nowrap !important;
    line-height: 1.2;
}

body footer .footer-logo p {
    font-size: 1rem;
    color: #555;
    font-style: italic;
}

/* Common footer heading styles */
body footer .footer-links h3,
body footer .footer-contact h3,
body footer .footer-social-media h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

body footer .footer-links h3:after,
body footer .footer-contact h3:after,
body footer .footer-social-media h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

/* Common list styles */
body footer .footer-links ul,
body footer .footer-contact ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

body footer .footer-links ul li,
body footer .footer-contact ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

body footer .footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

body footer .footer-links ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

body footer .footer-links ul li a:hover {
    color: var(--primary-color);
}

body footer .footer-contact ul li {
    color: var(--text-color);
    white-space: nowrap;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    pointer-events: auto !important;
    cursor: text !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

body footer .footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    display: inline-block;
    flex-shrink: 0;
}

body footer .footer-social-media .social-icons {
    display: flex;
    gap: 15px;
}

body footer .footer-social-media .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(12, 80, 62, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

body footer .footer-social-media .social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

body footer .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(12, 80, 62, 0.2);
}

body footer .footer-bottom p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    body footer .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    body footer .footer-logo {
        grid-column: 1 !important;
    }
    
    body footer .footer-links {
        grid-column: 2 !important;
    }
    
    body footer .footer-contact {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    body footer .footer-social-media {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }
}

@media (max-width: 576px) {
    body footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    body footer .footer-logo,
    body footer .footer-links,
    body footer .footer-contact,
    body footer .footer-social-media {
        grid-column: 1 !important;
        justify-self: start !important;
    }
    
    body footer .footer-links {
        grid-row: 2 !important;
    }
    
    body footer .footer-contact {
        grid-row: 3 !important;
    }
    
    body footer .footer-social-media {
        grid-row: 4 !important;
    }
}

 