/* Main Footer Setup */
.main-footer {
    background: linear-gradient(to right, #000000, #27282c);
    padding: 60px 5% 20px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 150vw; */
    /* height: 50vh; */
    min-height: auto;
    box-sizing: border-box;
    
    /* min-height: 48dvh; */
    box-shadow: 0 -2px 35px rgb(0, 0, 0);
    border-top: none;
}

/* CTA Styles */
.footer-cta {
    text-align: center;
    margin: 20px;
    /* margin-bottom: 50px; */
}

#contact-button{
    text-decoration: none;

}

.footer-cta h1 {
    font-size: 34px;
    color: white;
    /* margin-bottom: 20px; */
    font-weight: 350;
}


.footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

/* Left Section: Logo */
.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.footer-icon { width: 70px; opacity: .85; }
.footer-logo-text { width: 270px; opacity: .85;}

/* Center Section: Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    
}

.external-links {
    display: flex;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    gap: 30px;
    
}

.external-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 20px;
    text-decoration: underline;
    font-style: italic;
}

/* Right Section: Socials */
.external-links-img {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    gap: 20px;
    
}

.external-links-img img { 
    width: 27px; 
    cursor: pointer;

}

/* Divider and Bottom Links */
.footer-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px 0;
}

.copywright-container {
    text-align: center;
    color: white;
}
.copywright-container p {
    margin: 0; 
    padding-bottom: 5px;
}

.faq-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    /* margin-top: 10px; */
}

.faq-links a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary{

    border-radius: 20px;
    font-size: 20px;
    width: 175px;
    border: 1px solid white;

}

@media (max-width: 1300px) {
    /* Change the 3-column grid to a single column */
    .footer-bottom-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px; 
        text-align: center;
    }

    /* Group 1: Logo stays centered */
    .footer-logo-group {
        justify-content: center;
        flex-direction: column; 
        gap: 10px;
    }
    
    .footer-logo-text {
        width: 200px; 
    }

    /* Group 2: Nav Links stack vertically */
    .external-links {
        flex-direction: column;
        gap: 15px;
    }

    /* Group 3: Social Icons */
    .external-links-img {
        justify-content: center;
        gap: 25px;
    }

    /* Bottom Copyright Section */
    .faq-links {
        flex-direction: column;
        gap: 10px;
    }
}
