/* SECTION BACKGROUND */
.footer-section {
    font-family: 'Satoshi', sans-serif;
    position: relative;
    padding: 50px 5%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Blur Background Effects */
.footer-section-blur1,
.footer-section-blur2,
.footer-section-blur3,
.footer-section-blur4,
.footer-section-blur5 {
    position: absolute;
    border-radius: 50%;
    filter: blur(250px);
    z-index: 0;
}

.footer-section-blur1 {
    width: 600px;
    height: 600px;
    background: #CFE8FF;
    top: 100px;
    left: -100px;
}

.footer-section-blur2 {
    width: 600px;
    height: 600px;
    background: #CEFDFF;
    top: 100px;
    right: -100px;
}

.footer-section-blur3 {
    width: 600px;
    height: 300px;
    background: #CEE5FE;
    bottom: 0;
    left: -100px;
}

.footer-section-blur4 {
    width: 600px;
    height: 300px;
    background: #D0F4FF;
    bottom: 0;
    right: -100px;
}

.footer-section-blur5 {
    width: 800px;
    height: 200px;
    background: #ffffff;
    opacity: 0.7;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* CONTENT */
.footer-section-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.footer-section-content h1 {
    font-size: 42px;
    font-weight: 600;
    color: #01284d;
    margin-bottom: 20px;
}

.footer-section-content p {
    font-size: 18px;
    color: #65737E;
    max-width: 500px;
    margin: auto;
}

/* INPUT BOX */
.footer-section-subscribe-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.footer-section-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(150, 220, 221, 0.3);
    width: 100%;
    max-width: 440px;
    padding-left: 25px;
    /* Space for the icon */
}

/* Mail Icon styling */
.footer-section-input-wrapper i {
    color: #90a0ac;
    font-size: 18px;
}

.footer-section-input-wrapper input {
    border: none;
    padding: 14px 15px;
    flex-grow: 1;
    font-size: 16px;
    outline: none;
    background: transparent;
    min-width: 0;
    /* Prevents input from breaking flex layout on small screens */
}

.footer-section-input-wrapper button {
    background: #013A70;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 100%;
}

.footer-section-input-wrapper button:hover {
    background: #01284d;
}

/* FOOTER CARD */
.footer-section-card {
    position: relative;
    margin: 80px auto 0;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    z-index: 2;
    /* max-width: 1200px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* GRID */
.footer-section-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* LOGO */
.footer-section-logo {
    margin-bottom: 15px;
}

.footer-section-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.footer-section-text {
    font-size: 14px;
    color: #65737E;
    max-width: 250px;
    line-height: 1.6;
}

/* SOCIAL ICONS */
.footer-section-social {
    margin-top: 20px;
    display: flex;
}

.footer-section-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background: rgba(1, 58, 112, 0.05);
    border-radius: 50%;
    text-decoration: none;
    color: #013A70;
    transition: background 0.3s, color 0.3s;
}

.footer-section-social a:hover {
    background: #013A70;
    color: #fff;
}

.footer-section-social i {
    font-size: 14px;
}

/* LINKS */
.footer-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #013A70;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-section-links a {
    display: block;
    width: fit-content;
    text-decoration: none;
    color: #65737E;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
    transition: color 0.3s;
    position: relative;
}

/* underline */
.footer-section-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 80%;
    height: 2px;
    background: #013A70;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover effect */
.footer-section-links a:hover {
    color: #013A70;
    font-weight: 700;
}

.footer-section-links a:hover::after {
    transform: scaleX(1);
}

/* DIVIDER */
.footer-section-divider {
    margin: 40px 0 20px;
    border-top: 1px solid #e2e8ea;
}

/* COPYRIGHT */
.footer-section-copyright {
    text-align: center;
    font-size: 14px;
    color: #65737E;
}

/* =========================================
           RESPONSIVE MEDIA QUERIES
           ========================================= */

/* Tablets */
@media (max-width: 1024px) {
    .footer-section-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-section-card {
        padding: 40px 30px;
    }

    .footer-section-blur1,
    .footer-section-blur2,
    .footer-section-blur3,
    .footer-section-blur4 {
        width: 400px;
        height: 400px;
    }
}

/* Mobile & Small Tablets */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 5%;
    }

    .footer-section-content h1 {
        font-size: 32px;
    }

    .footer-section-content p {
        font-size: 16px;
        padding: 0 10px;
    }

    .footer-section-card {
        margin-top: 50px;
    }
}

/* Smaller Mobile Phones */
@media (max-width: 480px) {
    .footer-section-content h1 {
        font-size: 26px;
    }

    .footer-section-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
    }

    .footer-section-input-wrapper {
        flex-direction: row;
        max-width: 100%;
    }

    .footer-section-input-wrapper i {
        font-size: 14px;
    }

    .footer-section-input-wrapper input {
        padding: 12px 10px;
        font-size: 12px;
    }

    .footer-section-input-wrapper button {
        padding: 12px 20px;
        font-size: 12px;
        font-weight: 500;
    }

    .footer-section-card {
        padding: 30px 20px;
    }

    .footer-section-logo {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .footer-section-text {
        max-width: 100%;
    }

    .footer-section-social {
        justify-content: flex-start;
    }

    .footer-section-blur1,
    .footer-section-blur2,
    .footer-section-blur3,
    .footer-section-blur4 {
        width: 300px;
        height: 300px;
    }
}

/* Extra small devices to prevent button from crushing */
@media (max-width: 360px) {
    .footer-section-input-wrapper button {
        padding: 12px 15px;
    }


}