/* =========================================
   CTA SECTION
========================================= */

.cta-section {
    padding: 120px 0;
    background: #fff;
}

.cta-section .cta-box {
    min-height: 450px;
    height: auto;
    margin: auto;
    background:
        radial-gradient(circle at top left, #0d3c8d 0%, transparent 45%),
        linear-gradient(135deg, #041d49, #062e82);
    border-radius: 30px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(6, 46, 130, .18);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* CTA Glow */

.cta-section .cta-box::before {
    content: "";
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    position: absolute;
    top: -180px;
    left: -150px;
    pointer-events: none;
}

.cta-section .cta-box::after {
    content: "";
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    position: absolute;
    bottom: -140px;
    right: -120px;
    pointer-events: none;
}

.cta-section .cta-box > * {
    position: relative;
    z-index: 2;
}


/* CTA Content */

.cta-section .cta-box p {
    color: rgba(255, 255, 255, .85);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-size: 16px;
}


/* CTA Buttons */

.cta-section .cta-box .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .cta-box .cta-buttons .primary-btn,
.cta-section .cta-box .cta-buttons .secondary-btn {
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: .35s;
}

.cta-section .cta-box .cta-buttons .primary-btn {
    background: #fff;
    color: #002964;
}

.cta-section .cta-box .cta-buttons .secondary-btn {
    background: #ff3b30;
    color: #fff;
}

.cta-section .cta-box .cta-buttons .primary-btn:hover,
.cta-section .cta-box .cta-buttons .secondary-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: linear-gradient(135deg, #031a3d, #062e82);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.footer .footer-top-shape {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.footer .footer-top-shape svg {
    width: 100%;
    height: 90px;
    display: block;
}


/* =========================================
   NEWSLETTER
========================================= */

.footer .newsletter-box {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer .newsletter-box h3 {
    font-size: 34px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.footer .newsletter-box p {
    color: #d8e5ff;
    margin: 0;
    line-height: 1.6;
}

.footer .newsletter-box form {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.footer .newsletter-box input {
    width: 320px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.footer .newsletter-box button {
    padding: 16px 28px;
    background: #ff3b30;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    white-space: nowrap;
}

.footer .newsletter-box button:hover {
    transform: translateY(-4px);
}


/* =========================================
   FOOTER GRID
========================================= */

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.footer .footer-grid .footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.footer .footer-grid .footer-about {
    line-height: 1.8;
    color: #d5def3;
    max-width: 360px;
    margin-bottom: 0;
}


/* Footer Titles */

.footer .footer-grid h4 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.3;
}

.footer .footer-grid h4::after {
    content: "";
    width: 45px;
    height: 2px;
    background: #ff3b30;
    display: block;
    margin-top: 12px;
}


/* Footer Lists */

.footer .footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-grid ul li {
    margin-bottom: 16px;
    line-height: 1.4;
}

.footer .footer-grid ul a {
    text-decoration: none;
    color: #d5def3;
    transition: .3s;
}

.footer .footer-grid ul a:hover {
    padding-left: 8px;
    color: #fff;
}


/* Contact */

.footer .footer-grid .contact-list li {
    color: #d5def3;
}


/* =========================================
   SOCIAL ICONS
========================================= */

.footer .footer-grid .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.footer .footer-grid .social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    transition: .35s;
}

.footer .footer-grid .social-icons a:hover {
    background: #ff3b30;
    transform: translateY(-6px);
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer .footer-bottom p {
    margin: 0;
    color: #cfdaf5;
    line-height: 1.5;
}

.footer .footer-bottom div {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer .footer-bottom a {
    color: #cfdaf5;
    text-decoration: none;
    transition: .3s;
}

.footer .footer-bottom a:hover {
    color: #fff;
}


/* =========================================
   LARGE TABLET
   992px - 1199px
========================================= */

@media (max-width: 1199px) {

    /* CTA */

    .cta-section {
        padding: 100px 0;
    }

    .cta-section .cta-box {
        padding: 70px 50px;
        min-height: 420px;
        border-radius: 25px;
    }

    /* Newsletter */

    .footer .newsletter-box {
        padding: 35px;
        gap: 25px;
    }

    .footer .newsletter-box h3 {
        font-size: 30px;
    }

    .footer .newsletter-box input {
        width: 260px;
    }

    /* Footer */

    .footer .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        gap: 35px 25px;
    }

    .footer .footer-grid > div:first-child {
        grid-column: span 4;
    }

}


/* =========================================
   TABLET
   768px - 991px
========================================= */

@media (max-width: 991px) {

    /* ================= CTA ================= */

    .cta-section {
        padding: 80px 0;
    }

    .cta-section .cta-box {
        padding: 65px 40px;
        min-height: 400px;
    }

    .cta-section .cta-box p {
        max-width: 600px;
        font-size: 15px;
    }


    /* ================= FOOTER ================= */

    .footer {
        padding-top: 50px;
    }

    .footer .footer-top-shape svg {
        height: 70px;
    }

    /* Newsletter */

    .footer .newsletter-box {
        padding: 30px;
        margin-bottom: 60px;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer .newsletter-box form {
        width: 100%;
    }

    .footer .newsletter-box input {
        width: 100%;
        flex: 1;
    }

    /* Grid */

    .footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 30px;
        padding-bottom: 55px;
    }

    .footer .footer-grid > div:first-child {
        grid-column: span 2;
    }

    .footer .footer-grid .footer-about {
        max-width: 600px;
    }

    /* Bottom */

    .footer .footer-bottom {
        align-items: flex-start;
    }

}


/* =========================================
   MOBILE
   576px - 767px
========================================= */

@media (max-width: 767px) {

    /* ================= CTA ================= */

    .cta-section {
        padding: 55px 15px;
    }

    .cta-section .cta-box {
        min-height: auto;
        padding: 55px 25px;
        border-radius: 20px;
    }

    .cta-section .cta-box::before {
        width: 280px;
        height: 280px;
        top: -130px;
        left: -120px;
    }

    .cta-section .cta-box::after {
        width: 230px;
        height: 230px;
        bottom: -110px;
        right: -100px;
    }

    .cta-section .cta-box p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .cta-section .cta-box .cta-buttons {
        width: 100%;
        gap: 12px;
    }

    .cta-section .cta-box .cta-buttons .primary-btn,
    .cta-section .cta-box .cta-buttons .secondary-btn {
        padding: 12px 20px;
        font-size: 13px;
    }


    /* ================= FOOTER ================= */

    .footer {
        padding-top: 40px;
    }

    .footer .footer-top-shape svg {
        height: 50px;
    }

    /* Newsletter */

    .footer .newsletter-box {
        padding: 25px 20px;
        border-radius: 15px;
        margin-bottom: 45px;
        gap: 20px;
    }

    .footer .newsletter-box h3 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .footer .newsletter-box p {
        font-size: 13px;
        line-height: 1.5;
    }

    .footer .newsletter-box form {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .footer .newsletter-box input {
        width: 100%;
        padding: 14px;
        font-size: 13px;
    }

    .footer .newsletter-box button {
        width: 100%;
        padding: 14px;
        font-size: 13px;
    }


    /* Footer Grid */

    .footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
        padding-bottom: 45px;
    }

    .footer .footer-grid > div:first-child {
        grid-column: span 2;
    }

    .footer .footer-grid .footer-logo {
        width: 160px;
        margin-bottom: 18px;
    }

    .footer .footer-grid .footer-about {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer .footer-grid h4 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .footer .footer-grid h4::after {
        width: 35px;
        margin-top: 8px;
    }

    .footer .footer-grid ul li {
        margin-bottom: 11px;
        font-size: 13px;
    }

    /* Social */

    .footer .footer-grid .social-icons {
        gap: 10px;
        margin-top: 22px;
    }

    .footer .footer-grid .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }


    /* Bottom */

    .footer .footer-bottom {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer .footer-bottom p {
        font-size: 11px;
        line-height: 1.6;
    }

    .footer .footer-bottom div {
        gap: 18px;
    }

    .footer .footer-bottom a {
        font-size: 12px;
    }

}


/* =========================================
   SMALL MOBILE
   Up to 575px
========================================= */

@media (max-width: 575px) {

    /* ================= CTA ================= */

    .cta-section {
        padding: 45px 12px;
    }

    .cta-section .cta-box {
        padding: 45px 18px;
        border-radius: 17px;
    }

    .cta-section .cta-box p {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 25px;
    }

    .cta-section .cta-box .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-section .cta-box .cta-buttons .primary-btn,
    .cta-section .cta-box .cta-buttons .secondary-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 12px 18px;
    }


    /* ================= FOOTER ================= */

    .footer {
        padding-top: 35px;
    }

    .footer .footer-top-shape svg {
        height: 40px;
    }

    /* Newsletter */

    .footer .newsletter-box {
        padding: 22px 16px;
        border-radius: 13px;
        margin-bottom: 40px;
    }

    .footer .newsletter-box h3 {
        font-size: 23px;
    }

    .footer .newsletter-box p {
        font-size: 12px;
    }


    /* Footer Grid */

    .footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer .footer-grid .footer-logo {
        width: 150px;
    }

    .footer .footer-grid .footer-about {
        font-size: 12px;
    }

    .footer .footer-grid h4 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer .footer-grid ul li {
        font-size: 12px;
        margin-bottom: 9px;
    }

    /* Bottom */

    .footer .footer-bottom {
        gap: 12px;
    }

    .footer .footer-bottom p {
        font-size: 10px;
    }

    .footer .footer-bottom div {
        gap: 15px;
    }

    .footer .footer-bottom a {
        font-size: 11px;
    }

}


/* =========================================
   EXTRA SMALL MOBILE
   Up to 400px
========================================= */

@media (max-width: 400px) {

    .cta-section .cta-box {
        padding: 40px 15px;
    }

    .cta-section .cta-box p {
        font-size: 12px;
    }

    .footer .newsletter-box {
        padding: 20px 14px;
    }

    .footer .newsletter-box h3 {
        font-size: 21px;
    }

    .footer .footer-grid .footer-logo {
        width: 140px;
    }

    .footer .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }

}