/* Footer Styles */
.footer-section {
    background-color: #2c5282;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-heading {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.company-name-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    padding-left: 0;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
}

.contact-info li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    color: #2c5282;
}

.footer-form-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: white;
    padding: 12px 15px;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form .btn {
    background-color: white;
    color: #2c5282;
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-form .btn:hover {
    background-color: #f0f0f0;
}

.join-link {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.join-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright, .designer {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 5px;
    text-align: center;
}

/* Map container */
.map-container {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        text-align: left; /* Changed from center to left */
        padding: 30px 0 15px;
    }
    
    .footer-heading {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 10px;
        text-align: left; /* Explicitly set to left */
    }
    
    .company-name-footer {
        font-size: 1rem;
        text-align: left; /* Explicitly set to left */
    }
    
    .social-links {
        justify-content: flex-start; /* Changed from center to flex-start */
        margin-bottom: 15px;
    }
    
    .footer-form .form-control {
        padding: 10px;
    }
    
    .map-container {
        margin-top: 15px;
        height: 200px;
    }
    
    .map-container iframe {
        height: 200px;
    }
    
    .contact-info {
        text-align: left;
        padding-left: 0;
    }
    
    .contact-info li {
        margin-bottom: 8px;
        text-align: left;
    }
    
    .footer-form-text {
        text-align: left;
    }
    
    .footer-text {
        text-align: left;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        text-align: center; /* Keep copyright centered */
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .footer-heading {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .footer-form .btn {
        width: auto; /* Changed from 100% to auto for left alignment */
        margin-top: 5px;
    }
    
    .map-container {
        height: 180px;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    /* Force text alignment for all footer elements on smallest screens */
    .footer-section h3,
    .footer-section ul,
    .footer-section li,
    .footer-section .company-name-footer,
    .footer-form-text,
    .footer-text {
        text-align: left !important;
    }
    
    /* Always keep copyright and designer text centered */
    .footer-bottom p.copyright,
    .footer-bottom p.designer {
        text-align: center !important;
    }
}
