/* Custom CSS for the Footer */

/* General Styling */
.footer-section {
    background-color: #021234; /* Dark blue background */
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-section .footer-inner-right-content{
    display: flex;
    justify-content: space-between;
    width: 50%;
}


/* Headings and Paragraphs */

.footer-section .certification-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #fff;
    line-height: 42px;
    font-family: 'Lexend Deca', sans-serif;
}

.footer-section .subscribe-text h3 {
        font-size: 18px;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 24px;
    color: #fff;
        font-family: 'Lexend Deca', sans-serif;
}
.footer-section .footer-col-about p{
    font-size: 14px;
    font-weight: 400;
    color: #E6E6E6;
        font-family: 'Anek Latin', sans-serif;        
}

.footer-section .footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
     font-family: 'Lexend Deca', sans-serif;
     color: #fff;    
}

.footer-section .certification-content p, .subscribe-text p {
font-size: 16px;
    color: #E6E6E6;
    line-height: 24px;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Anek Latin', sans-serif;        
}

/* --- Top Section: Certification & Logos --- */
.footer-section .footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #001f40; /* Subtle separator line */
}

.footer-section .certification-content {
    flex: 1;
    max-width: 40%;
}

.footer-section .certification-logos {
    display: flex;
    gap: 15px;
}

.footer-section .iso-logo {
    width: 100%; /* Adjust size to match the image */
    height: auto;
}



/* --- Subscribe Section --- */
.footer-section .footer-subscribe-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 40px 0;
}

.footer-section .subscribe-text {
    flex-shrink: 0;
    margin-right: 20px;
}
.social-icon img{
    max-width: 11%;
    width: 100%;
}
.social-icon a{
    color: transparent;
    margin: 10px;
}
.footer-section .subscribe-form {
    flex-grow: 1;
    display: flex;
    max-width: 400px; /* Limit max width of the form */
}

.footer-section .subscribe-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    color: #626262;
    font-weight: 400;
    height: 45px;
    margin: 0 10px;
    outline: none;
}

.footer-section .subscribe-form .subscribe input {
    background-color: #0276FD; /* Blue button color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    transition: background-color 0.3s;
    font-family: 'Anek Latin', sans-serif;        
}

.footer-section .subscribe-form .subscribe input:hover {
    background-color: #0056b3;
}

/* --- Main Content Row --- */
.footer-section .footer-main-content-row {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.footer-section .footer-col {
    width: 28%; /* Approximately 4 columns */
    margin-bottom: 30px;
}

.footer-section .footer-col-links a:hover{
    text-decoration: underline;
    color: #E6E6E6;
}
/* Column 1 (About/Traveltime) needs more space */
.footer-section .footer-col-about {
    width: 30%;
}

/* Links (Our Services) */
.footer-section .footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.email-footer{
    color: #E6E6E6 !important;
}

.legal-links{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
.footer-section .footer-col-links a {
    display: inline-block;
    color: #E6E6E6;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
    font-weight: 400;
    font-family: 'Anek Latin', sans-serif;    
    cursor: pointer;    
}

.footer-section .legal-links a:hover{
    text-decoration: underline;
}


/* Social Icons */
.footer-section .social-icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.footer-section .social-icons a {
    color: #ffffff;
    display: flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, color 0.2s;
}

.footer-section .social-icons a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Get in Touch / Contact */
.footer-section .contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
    color: #E6E6E6;
}

.footer-section .contact-info i {
    color: #0276FD; /* Blue icon color */
    font-size: 1rem;
    margin-right: 10px;
    margin-top: 3px; /* Align icon better with text */
    flex-shrink: 0;
}

.footer-section .contact-info a{
    color: #fff;
    text-decoration: none;
}

/* --- Separators --- */
.footer-section .footer-divider {
    border: 0;
    height: 1px;
    background-color: #fff;
    margin: 0;
    opacity: 0.2; /* Ensure visibility */
}

/* --- Bottom Row (Copyright & Legal) --- */
.footer-section .footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.footer-section .copyright-text {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Anek Latin', sans-serif;        
}

.footer-section .legal-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
    font-size: 16px;
    font-weight: 400;
     font-family: 'Anek Latin', sans-serif;        
}


/* ======================================= */
/* --- Responsive Adjustments (Mobile) --- */
/* ======================================= */

@media (max-width: 992px) {
    /* Adjust columns for tablet view */
    .footer-section .footer-main-content-row {
        gap: 20px; /* Add gap between columns */
    }

    .footer-section .footer-col {
        width: 48%; /* Two columns per row */
    }

    .footer-section .footer-col-about {
        width: 100%; /* About section takes full width */
        order: -1; /* Move to the top */
    }
    .footer-section .footer-inner-right-content{
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Adjust top row for mobile: stack content */
    .footer-section .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-section .certification-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Adjust subscribe row for mobile */
    .footer-section .footer-subscribe-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
    }

    .footer-section .subscribe-form {
        width: 100%;
        max-width: none;
        margin-top: 15px;
    }
    
    .footer-section .subscribe-form input[type="email"], .subscribe-form button {
        padding: 15px 10px; /* Slightly larger tap area */
    }

    /* Stack main content columns */
    .footer-section .footer-main-content-row {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .footer-section .footer-col {
        width: 100%; /* Full width for all columns */
        margin-bottom: 20px;
    }

    /* Stack bottom row content */
    .footer-section .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 15px;
        text-align: left;
    }

    .footer-section .copyright-text {
        margin-bottom: 10px;
    }
    
    .footer-section .legal-links {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 15px;
    }

    .footer-section .legal-links a {
        margin-left: 0;
    }
}