/* Footer Styles */
.hrau-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top footer section with columns */
.footer-top {
    margin-bottom: 40px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover, .footer-links a.active {
    color: #ffdf00;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.jobs-btn {
    display: inline-block;
    background-color: #d85050;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 14px;
    text-transform: uppercase;
}

.jobs-btn:hover {
    background-color: #c82333;
    color: #ffffff;
}

/* Horizontal separator */
.footer-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}

/* Bottom footer section */
.footer-bottom {
    font-size: 14px;
}

.legal-links {
    margin-bottom: 15px;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s;
    font-size: 14px;
}

.legal-links a:hover, .legal-links a.active {
    color: #ffdf00;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.social-section {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-end;
}

.follow-text {
    margin-right: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 1;
}

/* Social icon backgrounds */
.social-icon.facebook {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="white"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>');
}

.social-icon.instagram {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="white"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
}

.social-icon.twitter {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg>');
}

.social-icon.tiktok {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="white"><path d="M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"/></svg>');
}

.social-icon.youtube {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" fill="white"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>');
}

.social-icon.linkedin {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="white"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"/></svg>');
}

.developer-credit {
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
}

.credit-name {
    color: #ffdf00;
    font-weight: 700;
}

/* Mobile collapsible sections */
.collapse-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: none;
}

.collapse-indicator::before,
.collapse-indicator::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    transition: transform 0.3s;
}

.collapse-indicator::before {
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
}

.collapse-indicator::after {
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
}

.footer-heading.collapsed .collapse-indicator::after {
    transform: rotate(90deg);
}

.footer-links.collapsed {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Responsive styles */
@media (max-width: 992px) {
    .social-section {
        justify-content: flex-start;
        margin-top: 20px;
    }
    
    .developer-credit {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .hrau-footer {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        font-size: 16px;
        cursor: pointer;
        padding-right: 30px; /* Space for the indicator */
    }
    
    .collapse-indicator {
        display: block;
    }
    
    .footer-links a, 
    .footer-text, 
    .legal-links a,
    .copyright,
    .follow-text,
    .developer-credit {
        font-size: 13px;
    }
    
    .legal-links {
        display: flex;
        flex-wrap: wrap;
    }
    
    .legal-links a {
        margin-bottom: 8px;
    }
    
    .social-section {
        flex-wrap: wrap;
    }
    
    .follow-text {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .social-icons {
        justify-content: flex-start;
        margin-bottom: 10px;
    }
    
    .social-icon {
        margin-left: 0;
        margin-right: 15px;
    }
    
    /* Exception for WORK WITH US section which shouldn't be collapsible */
    .footer-column:nth-child(5) .footer-heading {
        cursor: default;
    }
    
    .footer-column:nth-child(5) .footer-heading .collapse-indicator {
        display: none;
    }
}

/* Latest posts in footer */
.footer-subheading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.latest-posts-footer {
    margin-top: 20px;
}

.latest-post-item {
    margin-bottom: 15px;
    overflow: hidden;
}

.latest-post-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.latest-post-link:hover {
    color: #ffdf00;
}

.latest-post-image {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

.latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-post-content {
    flex-grow: 1;
}

.latest-post-title {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 3px;
    line-height: 1.3;
}

.latest-post-date {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .latest-post-item {
        margin-bottom: 12px;
    }
    
    .latest-post-image {
        width: 35px;
        height: 35px;
    }
    
    .latest-post-title {
        font-size: 12px;
    }
} 