/* ==========================================================================
   Custom Footer Styles
   ========================================================================== */

.custom-footer {
    background-color: var(--footer-bg-color) !important;
    font-family: var(--proxima-nova-font) !important;
    padding: 48px 0 32px 0 !important;
    margin-top: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.custom-footer__container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 120px !important;
    width: 100% !important;
}

/* Main Footer Layout */
.custom-footer__main {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
    align-items: flex-start !important;
}

/* Footer Columns */
.custom-footer__column {
    flex: 1 !important;
    min-width: 200px !important;
}

.custom-footer__column--brand {
    flex: 0 0 510px !important;
    max-width: 510px !important;
}

.custom-footer__column--nav {
    flex: 1 !important;
    min-width: 118px !important;
}

.custom-footer__column--contact {
    flex: 0 0 184px !important;
    max-width: 184px !important;
}

/* Navigation Container */
.custom-footer__navigation {
    display: flex !important;
    gap: 36px !important;
    flex: 1 !important;
    justify-content: flex-start !important;
}

/* Brand Section */
.custom-footer__brand {
    margin-bottom: 36px !important;
}

.custom-footer__logo {
    width: 200px !important;
    height: 35px !important;
    object-fit: contain !important;
    margin-bottom: 16px !important;
}

.custom-footer__site-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--footer-text-color) !important;
    margin: 0 0 16px 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

.custom-footer__description {
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: var(--footer-text-secondary) !important;
    margin: 0 !important;
    font-family: var(--proxima-nova-font) !important;
    max-width: 510px !important;
}

/* Social Media Icons */
.custom-footer__social {
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
}

.custom-footer__social-link {
    color: var(--footer-icon-color) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    cursor: pointer !important;
}

.custom-footer__social-link:hover {
    color: var(--footer-icon-color) !important; /* Keep same color on hover */
}

.custom-footer__social-link svg {
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
}

/* Navigation Sections */
.custom-footer__nav-title,
.custom-footer__contact-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--footer-text-color) !important;
    margin: 0 0 16px 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

.custom-footer__nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-footer__nav-list li {
    margin-bottom: 16px !important;
}

.custom-footer__nav-list li:last-child {
    margin-bottom: 0 !important;
}

.custom-footer__nav-link {
    color: var(--footer-text-color) !important;
    text-decoration: none !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-family: var(--proxima-nova-font) !important;
    transition: color 0.3s ease, text-decoration 0.3s ease !important;
    display: inline !important; /* Inline to fit text width only */
}

.custom-footer__nav-link:hover {
    color: var(--footer-link-hover) !important; /* Use blue hover color */
    text-decoration: underline !important; /* Underline only covers text length */
}

/* Contact Section */
.custom-footer__contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.custom-footer__contact-item {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

.custom-footer__contact-link {
    color: var(--footer-text-color) !important;
    text-decoration: none !important;
    font-family: var(--proxima-nova-font) !important;
    transition: color 0.3s ease !important;
}

.custom-footer__contact-link:hover {
    color: var(--footer-link-hover) !important;
}

/* Separator */
.custom-footer__separator {
    border: none !important;
    height: 1px !important;
    background-color: var(--footer-separator-color) !important;
    margin: 0 0 32px 0 !important;
    width: 100% !important;
}

/* Bottom Section */
.custom-footer__bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 32px !important;
}

.custom-footer__location {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.custom-footer__location-icon {
    width: 24px !important;
    height: 24px !important;
    color: var(--footer-text-color) !important;
    flex-shrink: 0 !important;
}

.custom-footer__location-text {
    font-size: 16px !important;
    color: var(--footer-text-color) !important;
    font-family: var(--proxima-nova-font) !important;
    line-height: 1.2 !important;
}

.custom-footer__aws-badge {
    flex-shrink: 0 !important;
}

.custom-footer__aws-logo {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
}

/* ==========================================================================
   Responsive Design for Custom Footer
   ========================================================================== */

/* Tablet styles */
@media (max-width: 1024px) {
    .custom-footer__container {
        padding: 0 60px !important;
    }
    
    .custom-footer__main {
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .custom-footer__column--brand {
        flex: 1 !important;
        max-width: 100% !important;
    }
    
    .custom-footer__navigation {
        justify-content: flex-start !important;
        gap: 60px !important;
    }
    
    .custom-footer__column--contact {
        flex: 1 !important;
        max-width: 100% !important;
    }
    
    .custom-footer__bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .custom-footer {
        padding: 32px 0 24px 0 !important;
    }
    
    .custom-footer__container {
        padding: 0 24px !important;
    }
    
    .custom-footer__main {
        gap: 24px !important;
        margin-bottom: 24px !important;
    }
    
    .custom-footer__navigation {
        flex-direction: column !important;
        gap: 24px !important;
    }
    
    .custom-footer__brand {
        margin-bottom: 24px !important;
    }
    
    .custom-footer__logo {
        width: 160px !important;
        height: 28px !important;
    }
    
    .custom-footer__description {
        font-size: 14px !important;
    }
    
    .custom-footer__nav-title,
    .custom-footer__contact-title {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .custom-footer__nav-link,
    .custom-footer__contact-link {
        font-size: 14px !important;
    }
    
    .custom-footer__location-text {
        font-size: 14px !important;
    }
    
    .custom-footer__aws-logo {
        width: 40px !important;
        height: 40px !important;
    }
    
    .custom-footer__separator {
        margin: 0 0 24px 0 !important;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .custom-footer__container {
        padding: 0 16px !important;
    }
    
    .custom-footer__social {
        gap: 16px !important;
    }
    
    .custom-footer__bottom {
        gap: 12px !important;
    }
    
    .custom-footer__location {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .custom-footer__location-text {
        font-size: 12px !important;
    }
}
