/* ==========================================================================
   FOOTER STYLES
   Matches footer.php HTML structure
   ========================================================================== */

/* Main Footer */
.footer {
    background-color: #ffffff;
    color: #000000;
    padding: 40px 0 0;
    font-family: 'Montserrat', sans-serif;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px 25px;
}

/* Footer Columns */
.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Company Column */
.footer-company {
    flex: 1.5;
    min-width: 300px;
}

/* Logo Box */
.footer-logo-box {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.footer-company-name {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Description */
.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 18px;
    text-align: justify;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: #ffffff;
    background: #1e285d;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Column Headings */
.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #1e285d;
}

/* Lists */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #1e285d;
    padding-left: 5px;
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-item i {
    color: #1e285d;
    width: 15px;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
    color: #000000;
}

.contact-item a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1e285d;
}

/* Footer Bottom */
.footer-bottom {
    background: #f5f5f5;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.footer-bottom-container p {
    margin: 5px 0;
}

.footer-bottom-container a {
    color: #1e285d;
    text-decoration: none;
}

.footer-bottom-container a:hover {
    text-decoration: underline;
}

/* Footer SEO */
.footer-seo {
    text-align: center;
    padding: 8px;
    font-size: 12px;
    background: #f0f0f0;
}

.footer-seo a {
    color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.footer-seo a:hover {
    color: rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESPONSIVE FOOTER STYLES
   ========================================================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .footer {
        padding: 35px 0 0;
    }

    .footer-container {
        flex-direction: column;
        padding: 0 20px 20px;
    }

    .footer-column {
        min-width: 100%;
        margin-bottom: 18px;
        padding: 0;
        text-align: center;
    }

    .footer-company {
        min-width: 100%;
    }

    .footer-logo-box {
        align-items: center;
    }

    .footer-description {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column h3 {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-container {
        padding: 0 15px 25px;
    }

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

    .footer-logo {
        height: 55px;
    }

    .footer-company-name {
        height: 28px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .contact-item {
        font-size: 13px;
        gap: 12px;
    }

    .contact-item i {
        width: 12px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .footer-bottom-container {
        font-size: 12px;
    }

    .footer-seo {
        font-size: 11px;
    }
}

/* Extra Small Mobile (400px and below) */
@media (max-width: 400px) {
    .footer {
        padding: 25px 0 0;
    }

    .footer-container {
        padding: 0 12px 15px;
    }

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

    .footer-logo {
        height: 50px;
    }

    .footer-company-name {
        height: 24px;
    }

    .footer-description {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }

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

    .footer-column ul li a {
        font-size: 12px;
    }

    .contact-item {
        font-size: 12px;
        margin-bottom: 15px;
        gap: 10px;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom-container {
        font-size: 11px;
    }

    .footer-seo {
        padding: 8px;
        font-size: 10px;
    }
}