.footer {
    width: 100%;
    height: auto;
    padding: 0px 8px 8px 8px;
    display: flex;
    flex-direction: column;
}

.footer-cta {
    width: 100%;
    height: fit-content;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.footer-cta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-position: center bottom;
    filter: saturate(110%) contrast(105%);
}

.footer-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.32);
    z-index: 2;
}

.footer-cta-content {
    width: 90%;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 200px 0 200px 0;
    gap: 37px;
    z-index: 3;
    position: relative;
}

.footer-cta-content h2 {
    font-family: var(--font1);
    color: #DFEBFF;
    font-size: 60px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.85;
    max-width: 750px;
}

.footer-cta-content p {
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: rgb(227, 227, 227);
    width: 90%;
    max-width: 450px;
    text-align: center;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6), 0px 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.footer-cta-content a {
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 500;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.footer-cta-content a:hover {
    background-color: white;
    color: #0f0f0f;
}

.footer-main {
    position: relative;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    padding: 50px 0 27px 0;
    background-color: var(--sigcolor);
    color: #fff;
}

.footer-first-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-pad {
    width: 100%;
    padding: 18px 0;
}

.newsletter-pad {
    min-width: 500px;
    padding: 18px 30px 18px 0;
}

.footer-pad h2 {
    font-family: var(--font2);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
}

.footer-pad p {
    font-family: var(--font1);
    font-size: 13px;
    font-weight: 500;
    width: 90%;
    max-width: 450px;
    line-height: 1.5;
    color: rgb(210, 210, 210);
}

.footer-newsletter-form {
    margin-top: 37px;
    width: 100%;
    height: auto;
    border-radius: 11px;
    background-color: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.37);
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.footer-newsletter-form form {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.footer-newsletter-form form input {
    width: 100%;
    height: 45px;
    padding: 15px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font1);
    font-weight: 400;
    color: #000;
    background-color: transparent;
    color: white;
    transition: background-color 0.2s ease;
}

.footer-newsletter-form form input::placeholder {
    color: rgb(210, 210, 210);
}

.footer-newsletter-form form button {
    border: none;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
    height: 45px;
    padding: 0px 20px;
    white-space: nowrap;
    border-radius: 8px;
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-newsletter-form form button:hover {
    transform: scale(1.02);
}

.footer-newsletter-form form button:active {
    transform: scale(0.98);
}

.footer-newsletter-form form button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================================
   GLOBAL NOTIFICATION ALERT TOAST (Top Right, Montserrat)
   ======================================================== */
.custom-alert-container {
    position: fixed;
    top: 75px;
    right: 30px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-alert-toast {
    pointer-events: auto;
    font-family: var(--font1, 'Montserrat', sans-serif);
    background: #ffffff;
    color: var(--text-primary-color, #1e293b);
    padding: 14px 18px 14px 16px;
    border-radius: 12px;
    box-shadow: 0 16px 36px -4px rgba(1, 70, 97, 0.18), 0 4px 14px -2px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(1, 70, 97, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    max-width: 420px;
    will-change: transform, opacity;
    position: relative;
    overflow: hidden;
}

.custom-alert-toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--sigcolor, #014661);
    border-radius: 12px 0 0 12px;
}

.custom-alert-toast.is-success::before {
    background: #10b981;
}

.custom-alert-toast.is-error::before {
    background: #ef4444;
}

.custom-alert-toast.is-info::before {
    background: var(--accent-gold, #c5a880);
}

.custom-alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sigcolor, #014661);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(1, 70, 97, 0.25);
}

.custom-alert-toast.is-success .custom-alert-icon {
    background: #10b981;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.custom-alert-toast.is-error .custom-alert-icon {
    background: #ef4444;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.custom-alert-toast.is-info .custom-alert-icon {
    background: var(--accent-gold, #c5a880);
    box-shadow: 0 3px 10px rgba(197, 168, 128, 0.3);
}

.custom-alert-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.8;
}

.custom-alert-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.custom-alert-title {
    font-family: var(--font1, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--sigcolor, #014661);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.custom-alert-subtitle {
    font-family: var(--font1, 'Montserrat', sans-serif);
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

.custom-alert-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.custom-alert-close:hover {
    color: var(--text-primary-color, #1e293b);
    background: #f1f5f9;
}

@keyframes alertToastIn {
    0% {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
    }

    70% {
        opacity: 1;
        transform: translateX(-6px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes alertToastOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
    }
}

.custom-alert-toast.custom-alert-enter {
    animation: alertToastIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-alert-toast.custom-alert-exit {
    animation: alertToastOut 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.footer-pad ul {
    width: 100%;
    height: auto;
    list-style-type: none;
}

.footer-pad ul li {
    width: fit-content;
    height: auto;
}

.footer-pad ul li a {
    color: rgb(210, 210, 210);
    line-height: 1.7;
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font1);
    font-weight: 500;
    text-transform: capitalize;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-pad ul li a svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.footer-pad ul li a:hover {
    color: rgb(255, 255, 255);
}

.support-pad {
    padding: 18px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: fit-content;
}

.footer-main .in-footer-divider {
    margin: 75px 0 45px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-pad {
    min-width: 370px;
}

.brand-pad p {
    font-size: 12px;
    width: 90%;
    color: rgb(215, 215, 215);
    line-height: 1.5;
}

.brand-pad img {
    width: 127px;
    height: auto;
    display: block;
    margin-bottom: 27px;
}

.footer-copyright-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 37px;
}

.footer-copyright-section p {
    font-family: var(--font1);
    font-size: 14px;
    font-weight: 400;
    color: rgb(210, 210, 210);
}

.footer-copyright-section p a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.footer-copyright-section p a::after {
    content: '';
    position: absolute;
    top: 137%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(210, 210, 210);
    z-index: 2;
    transition: all 0.5s ease-in-out;
}

.footer-copyright-section p a:hover::after {
    width: 0%;
}

.in-footer-divider {
    width: 100%;
    height: 1px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.37);
}

@media (max-width: 1280px) {
    .newsletter-pad {
        min-width: 370px;
        padding: 18px 27px 18px 0;
    }

    .brand-pad {
        min-width: 320px;
    }

}

@media (max-width: 1150px) {
    .footer-cta-content {
        padding: 175px 0 175px 0;
    }

    .footer-cta-content h2 {
        font-size: 50px;
        max-width: 650px;
    }

    .footer-first-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-pad {
        grid-area: 1/1 / 2/4;
    }

    .brand-pad {
        grid-area: 1/1 / 2/3;
    }
}

@media (max-width: 900px) {
    .footer-cta-content h2 {
        font-size: 45px;
    }

    .footer-cta-content p {
        font-size: 14px;
    }

    .footer-first-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-pad {
        grid-area: 1/1 / 2/3;
    }

    .brand-pad {
        grid-area: 1/1 / 2/3;
    }

    .footer-cta-content {
        padding: 165px 0 165px 0;
    }
}

@media (max-width: 640px) {
    .footer-cta-content {
        padding: 150px 0 150px 0;
    }

    .footer-cta-content h2 {
        font-size: 27px;
    }

    .footer-cta-content p {
        font-size: 13px;
    }

    .footer-cta-content a {
        font-size: 14px;
    }

    .footer-first-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .newsletter-pad {
        grid-area: 1/1 / 2/2;
        min-width: 0;
    }

    .brand-pad {
        grid-area: 1/1 / 2/2;
        min-width: 0;
    }

    .support-pad {
        margin-top: 27px;
    }

    .footer-copyright-section {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0px 4px 4px 4px;
    }

    .footer-cta-content {
        padding: 137px 0 137px 0;
    }

    .newsletter-pad {
        padding: 18px 0px 18px 0;
    }

    .footer-newsletter-form {
        padding: 4px;
    }

    .footer-newsletter-form form {
        flex-direction: column;
    }

    .footer-newsletter-form form input {
        font-size: 13px;
    }

    .footer-newsletter-form form button {
        width: 100%;
    }

    .footer-pad h2 {
        width: 90%;
        font-size: 14px;
    }

    .footer-pad p {
        font-size: 12px;
        width: 90%;
        max-width: auto;
    }

    .footer-newsletter-form form button {
        padding: 0px 18px;
        font-size: 13px;
    }

    .footer-pad ul li a {
        font-size: 12px;
    }

    .footer-pad ul li a svg {
        width: 16px;
        height: 16px;
    }

    .brand-pad img {
        width: 100px;
    }

    .footer-copyright-section p {
        font-size: 12px;
    }

    .footer-copyright-section p a::after {
        top: 127%;
    }
}