/* 
   Access Financial Services - New Footer Styles
   All classes prefixed with 'new-' 
*/

:root {
    --new-access-red: #F42941;
    --new-access-navy: #051C2C;
    --new-access-navy-light: #0A2643;
    --new-white: #ffffff;
}

.new-footer-wrapper {
    position: relative;
    width: 100%;
    margin-top: 100px; /* Space for the overlapping CTA */
    font-family: 'Poppins', sans-serif;
}

/* --- TOP CTA SECTION --- */
.new-footer-cta-overlap {
    position: absolute;
    top: -75px; 
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 20px;
    overflow: visible;
}

.new-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.new-footer-cta-card {
    position: relative;
    background-color: var(--new-access-red);
    border-radius: 40px;
    height: 150px;
    display: flex;
    align-items: center;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.new-cta-bg-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.8;
    z-index: 0;
}

.new-cta-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 70%;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.new-cta-title {
    color: var(--new-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.new-cta-btn {
    display: inline-block;
    background-color: var(--new-white);
    color: var(--new-access-navy);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.new-cta-btn:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.new-cta-expert-img {
    position: absolute;
    right: 50px;
    bottom: 0;
    height: 300px;
    z-index: 20;
    pointer-events: none;
    overflow: visible;
}

.new-cta-expert-img img {
    height: 100%;
    width: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

/* --- MAIN FOOTER BODY --- */
.new-footer-body {
    background-color: var(--new-access-navy);
    color: var(--new-white);
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    overflow: hidden;
}

.new-footer-bg-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.new-footer-top-row {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 50px;
}

.new-footer-logo img {
    height: 50px;
    display: block;
}

.new-footer-nav-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 80px;
}

.new-nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.new-nav-main-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.new-nav-sub-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.new-nav-main-link:hover, .new-nav-sub-link:hover {
    color: var(--new-access-red);
}

/* --- CONTACT INFO CARD --- */
.new-footer-contact-info-box {
    position: relative;
    z-index: 10;
    background-color: rgba(10, 38, 67, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.new-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.new-contact-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.new-contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(244, 41, 65, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--new-access-red);
}

.new-contact-text h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
}

.new-contact-text p, .new-contact-text a {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;
}

.new-contact-text h5 + a {
    font-size: 18px;
    color: var(--new-white);
    font-weight: 600;
    border-bottom: 1px solid var(--new-white);
}

/* --- BOTTOM ROW --- */
.new-footer-bottom-row {
    position: relative;
    z-index: 10;
    text-align: center;
}

.new-footer-copyright {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 16px;
}

.new-footer-legal {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .new-cta-content { max-width: 100%; padding: 0 30px; flex-direction: column; justify-content: center; text-align: center; }
    .new-cta-title { font-size: 18px; }
    .new-cta-expert-img { display: none; }
    .new-footer-top-row { flex-direction: column; align-items: center; text-align: center; }
    .new-footer-nav-grid { gap: 40px; }
    .new-footer-contact-info-box { grid-template-columns: 1fr; border: none; }
    .new-contact-item:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
}
