/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Ubuntu, serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

/* Header Styles */
header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 45px;
    width: auto;
}

/* Main Content */
main {
    min-height: 300px;
    background-color: #f8f9fa;
}

/* Footer Styles */
footer {
    background-color: #e0e0e0 !important;
    border-top: 1px solid #ccc;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-heading {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0px;
    margin-top: 20px;
    color: #000;
}

/* Footer Links Background - Full Width */
.footer-links-bg {
    background-color: #e5e3df;
    width: 100%;
    padding: 30px 0;
}

/* Footer Links Container */
.footer-links-container {
    padding: 0;
}

/* Social Icons */
.footer-socials {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-socials a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
}

.footer-socials {
    margin-bottom: 15px;
    padding: 0;
}

.social-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    display: block;
    width: 32px;
    height: 32px;
    background: #fff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background-image: url('/assets/images/social-icons/grey/facebook.svg');
}

.social-icon.youtube {
    background-image: url('/assets/images/social-icons/grey/youtube.svg');
}

.social-icon.x {
    background-image: url('/assets/images/social-icons/grey/x.svg');
}

.social-icon.linkedin {
    background-image: url('/assets/images/social-icons/grey/linkedin.svg');
}

.social-icon.instagram {
    background-image: url('/assets/images/social-icons/grey/instagram.svg');
}

/* Hover effects - red background with white icons */
.footer-socials a:hover .social-icon {
    background-color: #d51801;
    border-radius: 4px;
}

.footer-socials a:hover .social-icon.facebook {
    background-image: url('/assets/images/social-icons/white/facebook.svg');
}

.footer-socials a:hover .social-icon.youtube {
    background-image: url('/assets/images/social-icons/white/youtube.svg');
}

.footer-socials a:hover .social-icon.x {
    background-image: url('/assets/images/social-icons/white/x.svg');
}

.footer-socials a:hover .social-icon.linkedin {
    background-image: url('/assets/images/social-icons/white/linkedin.svg');
}

.footer-socials a:hover .social-icon.instagram {
    background-image: url('/assets/images/social-icons/white/instagram.svg');
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-link:hover {
    color: #666;
    text-decoration: underline;
}

/* Footer Legal Background - Full Width */
.footer-legal-bg {
    background-color: #ffffff;
    width: 100%;
    padding: 20px 0;
}

/* Footer Legal Container */
.footer-legal-container {
    padding: 0;
}

/* Disclaimer and Copyright */
.disclaimer-text {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 10px;
}

.copyright-text {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .disclaimer-text {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .logo,
    .footer-logo {
        height: 35px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .footer-link {
        font-size: 13px;
    }
}

/* Validation Error Styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-danger strong {
    font-weight: 600;
}

.alert-danger ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.alert-danger li {
    margin-bottom: 0.25rem;
}
