.footer-top-section {
    background-color: #f5f2ed;
    padding-top: 160px;
    padding-bottom: 0px;
    position: relative;
    font-family: inherit;
    overflow: hidden;
}


.footer-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px 160px 40px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 100px;
}

.footer-bottom {
    background-color: #0b1c1e;
    color: #fff;
    padding: 30px 0;
    margin-top: 0;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation */
}

.footer-right-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.footer-about .footer-logo {
    max-width: 280px;
    margin-bottom: 25px;
}

.footer-about .footer-desc {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 450px;
}

.footer-contact-info {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #ff5c2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover .contact-icon-circle {
    transform: rotate(15deg) scale(1.1);
}

.contact-info-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 2px;
}

.contact-info-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0b1c1e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value:hover {
    color: #005cb9;
}

.footer-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 110px);
    gap: 15px;
    margin-top: 40px;
}

.footer-grid-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-grid-img:hover {
    transform: scale(1.05);
}

.footer-column-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0b1c1e;
    margin-bottom: 30px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 15px;
}

.footer-links-list a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #005cb9;
    transform: translateX(5px);
}


.newsletter-section {
    margin-top: 80px;
}

.newsletter-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #0b1c1e;
    margin-bottom: 30px;
}

.newsletter-form-container {
    position: relative;
    max-width: 100%;
}

.newsletter-input-wrapper {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    /* Added to keep button contained */
}

.newsletter-input {
    flex-grow: 1;
    border: none;
    padding: 15px 30px;
    outline: none;
    font-size: 16px;
    color: #4a4a4a;
    border-radius: 40px;
    min-width: 0;
    /* Changed from 280px to prevent overflow */
}

.newsletter-submit-btn {
    background: #005cb9;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.newsletter-submit-btn:hover {
    background: #004a96;
    transform: scale(1.02);
}

.plane-animation-path {
    position: absolute;
    top: 0px;
    right: -130px;
    pointer-events: none;
    z-index: 10;
}

.footer-plane-img {
    width: 240px;
    position: relative;
    top: -80px;
    left: 40px;
    height: auto;
    animation: floatPlane 4s ease-in-out infinite;
}

@keyframes floatPlane {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating Widgets Globally Fixed */
.floating-widgets {
    position: fixed;
    bottom: 40px;
    left: 40px;
    right: 0px;
    /* Attached to the right edge */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1000;
}

.float-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: auto;
}

.float-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: auto;
    align-items: flex-end;
    /* Align elements to the right edge */
}

.widget-weather {
    background: #005cb9;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 92, 185, 0.3);
    cursor: pointer;
}

.widget-whatsapp {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
}

.widget-enquire {
    background: #005cb9;
    color: white;
    padding: 15px 25px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 92, 185, 0.4);
    cursor: pointer;
}

/* Plane Decorative Path SVG */
.plane-path {
    stroke-dasharray: 5, 5;
    fill: none;
    stroke: #888;
    stroke-width: 1.5;
}

.plane-icon {
    font-size: 18px;
    color: #005cb9;
}

/* Validation Messages */
.newsletter-message {
    font-size: 12px;
    margin-top: 8px;
    padding: 0 15px;
}

.newsletter-message.error {
    color: #d32f2f;
}

.newsletter-message.success {
    color: #388e3c;
}

/* Footer Bottom Bar Container */

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    /* Transparent pill look */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-links a:hover {
    background-color: #005cb9;
    transform: translateY(-3px) scale(1.1);
}

/* Media Queries (REORGANIZED TO END TO ENSURE OVERRIDE) */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 25px 80px 25px !important;
        justify-content: flex-start;
        gap: 60px;
    }

    .footer-top-section {
        padding-top: 80px;
        padding-bottom: 0px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-about {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-about .footer-logo {
        max-width: 220px;
        margin-bottom: 30px;
    }

    .footer-about .footer-desc {
        font-size: 16px;
        max-width: 100%;
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-icon-circle {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }

    .contact-info-value {
        font-size: 19px;
    }

    .footer-image-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        margin-top: 50px;
        max-width: 340px;
    }

    .footer-grid-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        border-radius: 15px;
    }

    .footer-column-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .footer-links-list a {
        font-size: 17px;
    }

    .newsletter-section {
        margin-top: 70px;
    }

    .newsletter-title {
        font-size: 26px;
    }

    .newsletter-input-wrapper {
        flex-direction: row;
        padding: 5px;
        border-radius: 50px;
        min-height: 60px;
        background: white;
    }

    .newsletter-input {
        padding: 10px 15px;
        font-size: 15px;
    }

    .newsletter-submit-btn {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Hide the path and only show the plane near the button */
    .plane-animation-path {
        top: -45px;
        right: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-plane-img {
        width: 130px;
        left: 30% !important;
        top: 0 !important;
    }

    .plane-path {
        display: none !important;
    }

    .plane-icon {
        display: none !important;
    }

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

    .footer-bottom-right {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px 80px 20px !important;
    }

    @media (max-width: 360px) {
        .newsletter-input-wrapper {
            flex-direction: column;
            background: transparent;
            box-shadow: none;
            gap: 15px;
            padding: 0;
        }

        .newsletter-input {
            background: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            height: 55px;
            border-radius: 40px;
        }

        .newsletter-submit-btn {
            width: 100%;
            height: 55px;
            justify-content: center;
        }
    }

    .floating-widgets {
        bottom: 12px;
        left: 12px;
        right: 0;
    }

    .widget-weather {
        font-size: 12px;
        padding: 6px 15px;
    }

    .widget-enquire {
        padding: 12px 20px;
        font-size: 12px;
    }
}