/* SRPL Global Footer v1 - Custom Modern Styling */

.srpl-footer-wrap {
    font-family: inherit;
    color: #ffffff;
    position: relative;
    z-index: 99; /* Ensure footer content is above background overlays */
}

/* Fix for theme background blocking clicks */
.footer-bg {
    pointer-events: none !important;
}

/* Pre-Footer CTA */
.pre-footer-cta {
    background: linear-gradient(135deg, #0B1C2C 0%, #112B3C 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.pre-footer-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pre-footer-cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.pre-footer-cta .cta-buttons {
    display: flex;
    gap: 15px;
}

/* Main Footer Section */
.main-footer-section {
    background-color: #0B1C2C;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #e66445; /* Site Accent Color */
}

.footer-column p {
    color: #B0BEC5;
    line-height: 1.8;
    font-size: 15px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.srpl-footer-wrap .footer-column ul li a {
    color: #B0BEC5 !important;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 15px;
    display: inline-block;
}

.srpl-footer-wrap .footer-column ul li a:hover {
    color: #e66445 !important; /* Secondary color for links on hover */
    padding-left: 8px;
    transform: translateX(2px);
}

/* Click effect for links */
.srpl-footer-wrap .footer-column ul li a:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
    display: block;
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-info div {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #B0BEC5;
}

.footer-contact-info .icon {
    color: #e66445;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Trust Strip */
.trust-strip {
    background-color: #112B3C;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-item .icon {
    font-size: 24px;
    color: #e66445;
    margin-bottom: 5px;
}

.trust-item span {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

/* Bottom Bar */
.bottom-bar {
    background-color: #081520;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bottom-bar .copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.bottom-bar .bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-bar .bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.bottom-bar .bottom-links a:hover {
    color: #ffffff;
}

/* Click effect for bottom bar links */
.srpl-footer-wrap .bottom-bar .bottom-links a:active {
    transform: scale(0.92);
}

/* General Buttons */
.srpl-btn {
    box-sizing: border-box;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

/* Finalized Hover States for All Buttons */
.srpl-footer-wrap .btn-primary {
    background-color: #e66445 !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(230, 100, 69, 0.3);
}

.srpl-footer-wrap .btn-primary:hover {
    background-color: #ffffff !important;
    color: #e66445 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(255, 58, 45, 0.4);
}

.srpl-footer-wrap .btn-outline {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.srpl-footer-wrap .btn-outline:hover {
    background-color: #e66445 !important;
    border-color: #e66445 !important;
    color: #ffffff !important;
    transform: translateY(-5px) !important;
}

/* Tactile Click Effect for All Buttons */
.srpl-footer-wrap .srpl-btn:active {
    transform: scale(0.94) translateY(2px) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    transition: all 0.1s ease;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .pre-footer-cta .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .bottom-links {
        justify-content: center;
    }
    .pre-footer-cta .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .srpl-footer-wrap .srpl-btn {
        width: 100%;
        display: block;
    }
}

/* Keyboard Focus States for Accessibility */
.srpl-footer-wrap a:focus-visible,
.srpl-footer-wrap .srpl-btn:focus-visible {
    outline: 3px solid #e66445 !important;
    outline-offset: 4px;
    box-shadow: none !important;
}

.srpl-footer-wrap .footer-column h5:focus {
    outline: none;
}
