/* --- Galaxy Industrial Equipments Footer Styling --- */

/* Replicating the typography and color hierarchy from image_17.png */
.site-footer {
    background-color: #030812;
    /* Dark background as requested */
    color: #94A3B8;
    /* Muted text color for main description */
    padding: 3rem 8rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle top edge */
}

.footer-container {
    max-width: 1400px;
    /* Standard wide container */
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 1. Newsletter --- */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
}

.newsletter-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 370px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Premium depth */
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 1.25rem;
    font-size: 0.95rem;
    color: #1E293B;
}

.newsletter-input::placeholder {
    color: #94A3B8;
}

.newsletter-btn {
    background-color: #0056F6;
    /* Bright brand blue */
    color: #FFFFFF;
    border: none;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.newsletter-btn:hover {
    background-color: #0045c7;
}

/* --- 2. Grid & Links --- */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    /* Subtle lines */
}

.footer-grid {
    display: grid;
    /* Custom ratios for perfect alignment with image structure */
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
    gap: 50px;
    padding: 60px 0 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-logo-img {
    height: 38px;
    width: auto;
    min-width: 140px;
    /* Replicating logo size from reference */
    background-color: rgba(255, 255, 255, 0.05);
    /* Grey placeholder background */
    border-radius: 4px;
    display: block;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    text-align: start;
    color: #8A99AD;
    max-width: 340px;
}

/* Headings & Lines */
.footer-heading {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.heading-underline {
    width: 32px;
    /* Fixed underline width from design */
    height: 2px;
    background-color: #0056F6;
    margin-bottom: 1.25rem;
}

/* Links List */
.footer-links-list,
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list a,
.contact-list a,
.address-text {
    font-size: 0.9rem;
    color: #A0AEC0;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.footer-links-list a:hover,
.contact-list a:hover {
    color: #FFFFFF;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    color: #0056F6;
    /* Icons are bright blue from design */
    flex-shrink: 0;
}

/* Address & Socials */
.address-text {
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-circle-btn {
    width: 38px;
    height: 38px;
    background-color: #0056F6;
    /* Solid bright blue from reference */
    color: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.social-circle-btn:hover {
    transform: translateY(-3px);
    background-color: #0045c7;
}

/* --- 3. Bottom Copyright --- */
.footer-bottom {
    padding-top: 25px;
    font-size: 0.85rem;
    color: #64748B;
}

/* --- 4. Responsive Breakpoints --- */

/* Laptops & Tablets */
@media (max-width: 1199px) {
    .footer-container {
        padding: 0 30px;
    }

    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {

    /* Change grid to 2x2 for better reflow */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .brand-col {
        grid-column: span 2;
        /* Brand description spans full width */
        margin-bottom: 20px;
    }

    .footer-desc {
        max-width: 100%;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 15px;
    }

    /* Change Newsletter to vertical stack */
    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 30px;
    }

    .newsletter-form {
        max-width: 100%;
        border-radius: 4px;
    }

    /* Stack links to single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .brand-col {
        grid-column: span 1;
    }
}