/* ===== FOOTER STYLES ===== */

.site-footer {
    background: linear-gradient(180deg, rgba(211, 239, 255, 0.36) 0%, rgba(141, 195, 255, 0.6) 100%), #ffffff;
    padding: 60px 0 0;
    border-top: 3px solid #a78bfa;
    font-family: "Montserrat", sans-serif;
}

.footer-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== MAIN CONTENT GRID ===== */
.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr 0.8fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
}

/* ===== BRAND SECTION ===== */
.footer-brand-section {
    max-width: 360px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.3px;
}

.brand-tagline {
    font-size: 14px;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0 0 20px;
    font-weight: 400;
}

/* ===== FOOTER NEWSLETTER ===== */
.footer-newsletter-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-newsletter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-newsletter-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.footer-newsletter-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.footer-newsletter-input {
    width: 100%;
    padding: 11px 14px 11px 36px;
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255,255,255,0.7);
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease;
}

.footer-newsletter-input:focus {
    border-color: #0C3365;
    background: #ffffff;
}

.footer-newsletter-input::placeholder {
    color: #94a3b8;
}

.footer-newsletter-btn {
    padding: 11px 18px;
    background: #0C3365;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(12, 51, 101, 0.2);
}

.footer-newsletter-btn:hover {
    box-shadow: 0 6px 18px rgba(12, 51, 101, 0.35);
    transform: translateY(-1px);
}

.footer-newsletter-btn i {
    transition: transform 0.3s ease;
    font-size: 13px;
}

.footer-newsletter-btn:hover i {
    transform: translateX(3px);
}

/* Newsletter inside CONTACT office card */
.office-newsletter {
    margin-top: 14px;
}

.office-newsletter .footer-newsletter-row {
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
}

.office-newsletter .footer-newsletter-input-wrap {
    flex: 1;
    min-width: 0;
}

.office-newsletter .footer-newsletter-input {
    width: 100%;
}

.office-newsletter .footer-newsletter-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.certification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(197, 227, 237, 0.4);
    padding: 12px;
    border-radius: 8px;
    align-items: center;
}

.badge-item {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.badge-item:hover {
    opacity: 1;
}

/* ===== NAV COLUMNS ===== */
.footer-nav-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-column .nav-link {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    padding: 0;
}

.footer-nav-column .nav-link:hover {
    color: #0C3365;
    transform: translateX(3px);
}

/* ===== TRUSTED COMPANIES STRIP ===== */
.footer-trusted-strip {
    padding: 24px 0;
    margin-bottom: 36px;
    text-align: center;
}

.footer-trusted-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 18px;
}

.footer-logos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.footer-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    flex: 1;
    max-width: 120px;
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* ===== OFFICE LOCATIONS ===== */
.office-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 36px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-bottom: 36px;
}

.office-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-title {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.office-address,
.office-phone {
    font-size: 13px;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-weight: 400;
}

.office-address i,
.office-phone i {
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.office-address span,
.office-phone span {
    flex: 1;
}

/* ===== FOOTER BOTTOM BAR ===== */
.footer-bottom-bar {
    background: #d7eaff;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 14px 0;
}

.footer-bottom-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.copyright-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.3px;
    font-weight: 400;
}

.social-media-links {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.social-icon {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #0C3365;
    color: #0C3365;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.social-icon i {
    font-size: 15px;
}

/* ===== TABLET (768px - 991px) ===== */
@media (max-width: 991px) {
    .site-footer {
        padding: 48px 0 0;
    }

    .footer-wrapper {
        padding: 0 16px;
    }

    /* Brand full width, centered */
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
        margin-bottom: 36px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .brand-header {
        justify-content: center;
    }

    .brand-tagline {
        margin-bottom: 0;
        text-align: center;
    }

    .certification-badges {
        justify-content: center;
    }

    /* Nav columns centered */
    .footer-nav-column {
        align-items: center;
        text-align: center;
    }

    .nav-list {
        align-items: center;
    }

    .office-locations {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 40px;
        padding-top: 28px;
        margin-bottom: 28px;
    }

    /* USA + UK: centered as normal */
    .office-card {
        align-items: center;
        text-align: center;
    }

    .office-address,
    .office-phone {
        justify-content: center;
    }

    /* CONTACT card — full width row, info left + newsletter right */
    .office-card:last-child {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        text-align: left;
        padding-top: 20px;
        border-top: 1px solid rgba(148, 163, 184, 0.25);
    }

    .office-card:last-child .office-contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-shrink: 0;
        padding-left: 100px;
        text-align: center;
        align-items: center;
    }

    .office-card:last-child .office-contact-info .office-title {
        margin-bottom: 4px;
        text-align: center;
    }

    .office-card:last-child .office-contact-info .office-address,
    .office-card:last-child .office-contact-info .office-phone {
        justify-content: center;
    }

    .office-card:last-child .office-newsletter {
        margin-top: 0;
        flex: 1;
        max-width: 420px;
    }

    .office-card:last-child .office-newsletter .footer-newsletter-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .footer-bottom-content {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .social-media-links {
        justify-content: center;
    }
}

/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-wrapper {
        padding: 0 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-brand-section {
        grid-column: auto;
        display: block;
        max-width: 100%;
        text-align: center;
    }

    .brand-header {
        justify-content: center;
    }

    .certification-badges {
        justify-content: center;
    }

    .footer-nav-column {
        text-align: left;
    }

    .office-locations {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
        margin-bottom: 24px;
    }

    .office-card {
        align-items: center;
        text-align: center;
    }

    .office-address,
    .office-phone {
        justify-content: center;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Reset last-child row layout from tablet */
    .office-card:last-child {
        grid-column: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
        padding-top: 0;
        border-top: none;
    }

    .office-card:last-child .office-contact-info {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .office-card:last-child .office-newsletter {
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
    }

    .office-card:last-child .office-newsletter .footer-newsletter-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .footer-trusted-strip {
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .footer-logos-row {
        gap: 12px 16px;
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .footer-logo {
        height: 28px;
        flex: 0 0 calc(25% - 12px);
        max-width: 80px;
    }

    .footer-bottom-bar {
        padding: 16px 0;
    }

    .footer-bottom-content {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .social-media-links {
        justify-content: center;
    }
}

/* ===== SMALL MOBILE (max-width: 575px) ===== */
@media (max-width: 575px) {
    .site-footer {
        padding: 32px 0 0;
    }

    .footer-wrapper {
        padding: 0 16px;
    }

    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-logo {
        height: 28px;
    }

    .brand-tagline {
        font-size: 13px;
    }

    .certification-badges {
        padding: 10px;
        gap: 8px;
    }

    .badge-item {
        height: 34px;
    }

    .column-title {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .footer-nav-column .nav-link {
        font-size: 14px;
    }

    .nav-list {
        gap: 10px;
    }

    .office-locations {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .office-title {
        font-size: 10px;
    }

    .office-address,
    .office-phone {
        font-size: 12px;
    }

    .copyright-text {
        font-size: 11px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon i {
        font-size: 14px;
    }
}



