/* New Footer Styles - LANDSPECT SG Design */
.new-landspect-footer {
    background: linear-gradient(135deg, #0a2e5c 0%, #1a4d8f 100%);
    color: white;
    padding: 20px 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.new-landspect-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-landspect-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 10px;
}

.new-landspect-footer .footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.new-landspect-footer .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ff6b35;
}

/* Ensure footer container has proper positioning context */
.new-landspect-footer {
    position: relative;
    z-index: 100;
}

.new-landspect-footer .footer-container {
    position: relative;
    z-index: 101;
}

.new-landspect-footer .footer-grid {
    position: relative;
    z-index: 102;
}

.new-landspect-footer .footer-section {
    position: relative;
    z-index: 103;
}

/* Ensure all footer links are clickable and above any overlays */
.new-landspect-footer .footer-links a,
.new-landspect-footer .quote-button,
.new-landspect-footer .contact-item .text,
.new-landspect-footer .social-links a,
.new-landspect-footer .designer {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 9999 !important;
    cursor: pointer !important;
}

/* Company Info Section */
.new-landspect-footer .company-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.new-landspect-footer .company-logo .logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.new-landspect-footer .company-logo .logo-text span:first-child {
    color: #4a90e2;
}

.new-landspect-footer .company-logo .logo-text span:last-child {
    color: #ff6b35;
}

/* Default Logo Style */
.custom-logo {
    width: 300px;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .custom-logo {
        width: 220px;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .custom-logo {
        width: 280px;
    }
}

.new-landspect-footer .company-description {
    color: #b8d4f1;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.new-landspect-footer .social-links {
    display: flex;
    gap: 15px;
}

.new-landspect-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.new-landspect-footer .social-links a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

/* Quick Links & Services */
.new-landspect-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-landspect-footer .footer-links li {
    margin-bottom: 12px;
    pointer-events: none !important;
    /* Allow clicks to pass through to the anchor tags */
}

.new-landspect-footer .footer-links a,
.new-landspect-footer .footer-links a:visited,
.new-landspect-footer .footer-links a:active {
    color: #b8d4f1 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: color 0.3s ease;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10000 !important;
}


/* Services section - single line display */
.new-landspect-footer .footer-section:nth-child(3) .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.new-landspect-footer .footer-section:nth-child(3) .footer-links li {
    margin-bottom: 0;
}

.new-landspect-footer .footer-section:nth-child(3) .footer-links a {
    white-space: nowrap;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .new-landspect-footer .footer-section:nth-child(3) .footer-links {
        display: block;
    }

    .new-landspect-footer .footer-section:nth-child(3) .footer-links li {
        margin-bottom: 12px;
    }
}

.new-landspect-footer .footer-links a::before {
    content: '>';
    margin-right: 10px;
    color: #ff6b35;
    font-weight: bold;
}

.new-landspect-footer .footer-links a:hover {
    color: #ffffff !important;
}

/* Contact Section */
.new-landspect-footer .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b8d4f1;
    font-size: 14px;
}

.new-landspect-footer .contact-item .icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #ff6b35;
    flex-shrink: 0;
}

.new-landspect-footer .contact-item .text {
    line-height: 1.4;
}

.new-landspect-footer .quote-button {
    display: inline-flex;
    align-items: center;
    background: #ff6b35;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.new-landspect-footer .quote-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.new-landspect-footer .quote-button .arrow {
    margin-left: 8px;
}

/* Copyright */
.new-landspect-footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #b8d4f1;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-landspect-footer .copyright .designer {
    color: #4a90e2;
    text-decoration: none;
}

.new-landspect-footer .copyright .designer:hover {
    color: #ff6b35;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-buttons .fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.floating-buttons .fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-buttons .whatsapp {
    background: #25d366;
}

.floating-buttons .chat {
    background: #0084ff;
}

.floating-buttons .scroll-top {
    background: #c01300;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    position: fixed;
    right: 20px;
    bottom: 35px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-buttons .scroll-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-buttons .scroll-top:hover {
    background: #a01000;
    transform: translateY(-5px);
}

.floating-buttons .scroll-top svg {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .new-landspect-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .new-landspect-footer .copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .floating-buttons {
        right: 15px;
        bottom: 30px;
    }

    .floating-buttons .scroll-top {
        right: 15px;
        bottom: 160px;
        width: 50px;
        height: 50px;
    }

    .floating-buttons .fab {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .new-landspect-footer {
        padding: 40px 0 15px;
    }

    .new-landspect-footer .footer-container {
        padding: 0 15px;
    }
}

/* Global Page Carousel Overrides */
@media (min-width: 992px) {
    .oga-hero-banner-ev-container .oga-hero-banner-ev-text-area.slick-initialized .slick-dots {
        bottom: 7.375rem !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .oga-hero-banner-ev-container .oga-hero-banner-ev-text-area.slick-initialized .slick-dots li {
        display: inline-block !important;
    }

    .oga-metrics-ev__category {
        width: 11.75rem !important;
    }
}