@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

body {
    font-family: Lato !important;
}

h1 {
    color: #ffffff !important;
    font-size: 60px !important;
    font-weight: 800 !important;
    line-height: 1.2em !important;
}

h2 {
    color: #001d48;
    font-size: 50px !important;
    font-weight: 800 !important;
    line-height: 1.2em !important;
}

p {
    font-size: 22px !important;
    line-height: 145.455% !important;
}

.btn {
    font-size: 20px !important;
    background-color: #ffffff !important;
    color: #01163d !important;
    padding: 14px 40px !important;
    font-weight: 700 !important;
}

/* Navbar CSS */
.padding-custom {
    padding: 20px 20px !important;
}

a.navbar-brand img {
    max-width: 100%;
}

.navbar-nav {
    gap: 13px;
}

.nav-link {
    color: #001d48;
    font-family: Lato;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.2222222222222223em;
}

    .nav-link.active,
    .nav-link:hover {
        background: linear-gradient(178deg, #1130c8 -19.13%, #1258d7 92.08%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

nav .btn {
    font-size: 18px !important;
    background-color: #1665f5 !important;
    padding: 12px 30px !important;
}

/* Hero CSS */
.hero {
    background-image: url("/assets/images/hero.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 649px;
    padding: 126px 0 62px 0;
}

    .hero .row .col {
        max-width: 485px;
    }

    .hero p {
        color: #d7dbea;
    }

/* Tools CSS */
.tools {
    padding: 113px 0 100px 0;
}

    .tools h2 {
        font-size: 30px !important;
    }

    .tools img {
        filter: grayscale(100%);
    }

/* Why Choose CSS */
.why-choose {
    padding-bottom: 120px;
}

.why-card {
    min-height: 303px;
    padding: 30px 20px 20px 20px;
    border-radius: 20px;
    background-image: url("/assets/images/card-bg.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.08);
}

.card-title {
    color: #001d48;
    font-size: 22px;
    font-weight: 700;
    line-height: 145.455%;
}

.card-paragraph {
    color: #30496e;
    font-size: 18px !important;
    line-height: 155.556% !important;
}

/* Who CSS */
.who {
    padding: 10px 0 130px 0;
}

    .who .row {
        gap: 80px !important;
    }

        .who .row .col:first-child {
            max-width: 585px !important;
        }

            .who .row .col:first-child img {
                max-width: 100%;
            }

.list-text {
    color: #30496e;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.5555555555555556em !important;
}

    .list-text span {
        color: #001d48;
        font-size: 20px !important;
        font-weight: 700;
        line-height: 140% !important;
    }

.who .btn {
    background-color: #1665f5 !important;
    color: #ffffff !important;
}

/* Invoicing Tools CSS */
.invoicing-tool {
    padding: 130px 0 130px 0;
    background-image: url("/assets/images/tools-bg.jpg");
    background-repeat: no-repeat;
    background-position: center center;
}

    .invoicing-tool h2 {
        color: #ffffff !important;
    }

    .invoicing-tool .tool-card {
        padding: 30px;
        border-radius: 20px;
        background-image: url("/assets/images/tools-item-bg.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% 100%;
        min-height: 303px;
    }

        .invoicing-tool .tool-card:last-child {
            min-height: 330px;
        }

    .invoicing-tool h3 {
        font-size: 22px !important;
        line-height: 145.455% !important;
        max-width: 310px;
    }

    .invoicing-tool p {
        color: #d7dbea;
        font-size: 18px !important;
        line-height: 155.556% !important;
        max-width: 347px;
    }

/* How To Work CSS */
.how-work {
    padding: 128px 0 130px 0;
}

    .how-work h2 {
        margin-bottom: 57px;
    }

.work-card {
    position: relative;
    background-image: url(/assets/images/work-card-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0px 4px 30px 0px rgba(19, 109, 245, 0.1);
}

    .work-card .number {
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.work-img {
    max-width: 100%;
}

.work-card-text {
    padding: 0 20px 20px 20px;
}

.work-card .work-card-text h3 {
    color: #001d48;
    font-size: 24px !important;
    line-height: 133.333% !important;
}

.work-card .work-card-text p {
    color: #30496e;
    font-size: 18px !important;
    line-height: 155.556% !important;
}

/* CTA CSS */
.cta {
    background-image: url(/assets/images/cta-section-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-bottom: 84px;
}

.cta-card {
    max-width: 1062px;
    border-radius: 40px;
    background-image: url(/assets/images/cta-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    padding: 66px 0 70px 0;
}

.cta .cta-card h2 {
    color: #ffffff;
}

.no-credit,
.free-trial,
.cta .cta-card p {
    color: #fff;
    font-size: 22px;
    line-height: 145.455%;
}

.no-credit,
.free-trial {
    padding: 10px 30px 10px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 70px;
}

.no-credit {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Why CSS */

.why {
    background-image: url(/assets/images/why-bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 35px;
    padding-bottom: 84px;
}

    .why .row .col p {
        color: #30496e !important;
        font-size: 18px !important;
        line-height: 155.556% !important;
    }

    .why .row .col #toggle-btn {
        margin-top: 16px;
        padding: 18px 40px !important;
        border: 1px solid #1665f5;
        border-radius: 40px;
        color: #1665f5;
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2em;
        background-color: #ffffff;
    }

    .why .row .col img {
        max-width: 100%;
    }

/* Slider CSS */
.slider {
    background-image: url("/assets/images/slider-section.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    padding-bottom: 117px;
}

/* FAQ CSS */
.faq {
    background-image: url("/assets/images/faq-section.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    padding-bottom: 130px;
}

.accordion-item {
    border: 1px solid #c2d7fe !important;
    border-radius: 20px !important;
    margin-bottom: 16px;
    border-radius: 20px !important;
    background: #fff;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.06);
}

.accordion-button {
    padding: 20px !important;
    border-radius: 20px !important;
    color: #001d48;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 150%;
    border: none !important;
}

    .accordion-button:not(.collapsed) {
        background-color: transparent !important;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }

    .accordion-button.collapsed {
        border-radius: 20px !important; /* All corners when closed */
    }

    .accordion-button:not(.collapsed) {
        background-color: transparent !important;
        border-radius: 0 0 20px 20px !important; /* Only bottom corners when open */
    }

.accordion-body {
    font-size: 18px !important;
    line-height: 1.5555555555555556em !important;
}

/* Invoicing Toay CSS */
.invoicing-today {
    background-image: url(/assets/images/today.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    padding: 22px 0 30px 0;
}

    .invoicing-today .row {
        gap: 70px;
    }

    .invoicing-today p,
    .invoicing-today h2 {
        color: #ffffff !important;
    }

/* Footer CSS */
footer {
    background-color: #0c2496;
    padding: 22px 0 20px 0;
}

    footer .d-flex {
        margin-bottom: 30px;
    }

    footer p {
        color: #ffffff;
        font-size: 18px !important;
        line-height: 1.6666666666666667em !important;
    }

.copyright {
    padding-top: 20px;
    border-top: 1px solid #243caf;
}

@media (max-width: 1399px) {
    .hero {
        background-image: url("/assets/images/hero-992.jpg");
        min-height: unset !important;
    }

    .invoicing-today .row,
    .who .row {
        gap: 40px !important;
    }
}

@media (max-width: 1199px) {
    h1 {
        font-size: 44px !important;
    }

    h2 {
        font-size: 36px !important;
    }

    p {
        font-size: 18px !important;
    }

    .btn {
        font-size: 18px !important;
        padding: 14px 30px !important;
    }

    .hero {
        padding: 80px 0 80px 0;
    }

    .tools {
        padding: 80px 0 80px 0;
    }

        .tools h2 {
            font-size: 26px !important;
        }

    .why-choose {
        padding-bottom: 80px;
    }

    .why-card {
        padding: 20px 20px 20px 20px;
        border-radius: 16px;
    }

    .who {
        padding: 0px 0 80px 0;
    }

        .who .row .col:first-child {
            max-width: 100% !important;
        }

    .list-text span {
        font-size: 18px !important;
    }

    .invoicing-tool {
        padding: 80px 0 80px 0;
    }

        .card-title,
        .work-card .work-card-text h3,
        .invoicing-tool h3 {
            font-size: 20px !important;
        }

    .how-work {
        padding: 80px 0 80px 0;
    }

    .work-card {
        border-radius: 22px;
    }

    .cta {
        padding-bottom: 80px;
    }

    .no-credit,
    .free-trial {
        font-size: 18px;
    }

    .why .row .col #toggle-btn {
        margin-top: 10px;
        padding: 15px 36px !important;
        font-size: 18px;
    }

    .slider {
        padding-bottom: 80px;
    }

    .invoicing-today {
        padding: 80px 0 80px 0 !important;
    }

        .invoicing-today img {
            max-width: 100%;
        }
}

@media (max-width: 991px) {
    h1 {
        font-size: 38px !important;
    }

    h2 {
        font-size: 32px !important;
    }

    p {
        font-size: 18px !important;
    }

    .btn {
        font-size: 18px !important;
        padding: 12px 30px !important;
    }

    nav > .container {
        max-width: 100% !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: white; /* or whatever background you want */
    }

    .nav-item .btn {
        font-size: 16px !important;
        background-color: #1665f5 !important;
        padding: 12px 30px !important;
    }

    .navbar-nav {
        gap: 6px;
    }

    .invoicing-today .row,
    .who .row {
        gap: 30px !important;
    }

    .tools,
    .hero {
        padding: 60px 0 60px 0;
    }

        .tools h2 {
            font-size: 24px !important;
        }

        .tools img {
            max-width: 100px;
        }

            .tools img:last-child {
                max-width: 60px;
            }

    .list-text span {
        font-size: 18px !important;
    }

    .why-choose {
        padding-bottom: 60px;
    }

    .who {
        padding: 0px 0 60px 0;
    }

    .invoicing-tool {
        padding: 60px 0 60px 0;
        background-size: 100% 100%;
    }

        .invoicing-tool h3 {
            font-size: 20px !important;
        }

    .how-work {
        padding: 60px 0 60px 0;
    }

    .work-card {
        border-radius: 22px;
    }

        .work-card .work-card-text h3 {
            font-size: 20px !important;
        }

    .slider,
    .cta {
        padding-bottom: 60px;
    }

    .cta-card {
        padding: 60px 0 60px 0;
    }

    .accordion-button {
        font-size: 18px !important;
    }

    .accordion-body {
        font-size: 16px !important;
    }

    .invoicing-today {
        padding: 60px 0 60px 0 !important;
    }
}

@media (min-width: 768px) {
    .tools .gap-md-5 {
        gap: 110px !important;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    p {
        font-size: 16px !important;
    }

    .btn {
        font-size: 16px !important;
        padding: 12px 30px !important;
    }

    a.navbar-brand {
        max-width: 54%;
    }

    .navbar-nav {
        gap: 5px;
    }

    .nav-link {
        font-size: 16px !important;
    }

    .hero {
        background-image: url("");
        background-color: #102aaa !important;
    }

    .tools,
    .hero {
        padding: 45px 0 45px 0;
    }

        .tools h2 {
            font-size: 18px !important;
        }

        .tools img:first-child {
            max-width: 80px;
        }

        .tools img:nth-child(2) {
            max-width: 60px;
        }

        .tools img:nth-child(3) {
            max-width: 60px;
        }

        .tools img:last-child {
            max-width: 44px;
        }

    .why-choose {
        padding-bottom: 45px;
    }

    .why-card {
        max-width: 360px;
        margin: auto;
        min-height: auto !important;
    }

    .who {
        padding: 0px 0 45px 0;
    }

    .list-text {
        font-size: 16px !important;
    }

    .invoicing-tool {
        padding: 45px 0 45px 0;
    }

        .invoicing-tool .tool-card {
            max-width: 420px;
            margin: auto;
        }

            .invoicing-tool .tool-card:last-child {
                min-height: auto;
            }

        .invoicing-tool h3 {
            font-size: 18px !important;
        }

        .invoicing-tool p {
            font-size: 16px !important;
        }

    .how-work {
        padding: 45px 0 45px 0;
    }

        .how-work h2 {
            margin-bottom: 40px;
        }

    img.number {
        max-width: 16%;
    }

    .work-card .work-card-text h3 {
        font-size: 18px !important;
    }

    .work-card .work-card-text p {
        font-size: 16px !important;
    }

    .work-card {
        max-width: 360px;
        margin: auto;
    }

    .cta-card {
        padding: 40px;
    }

    .no-credit,
    .free-trial {
        font-size: 16px;
        padding: 10px 20px 10px 10px;
    }

        .free-trial img,
        .no-credit img {
            width: 32px;
        }

    .why {
        padding-top: 0px;
        padding-bottom: 45px;
    }

    .faq,
    .slider,
    .cta {
        padding-bottom: 45px;
    }

    .invoicing-today {
        background-image: url();
        background-color: #102aaa;
        padding: 45px 0 45px 0 !important;
    }

    footer .d-flex {
        margin-bottom: 10px;
    }

    .footer-logo {
        max-width: 50%;
    }

    footer .footer-logo img {
        max-width: 100%;
    }

    footer p {
        font-size: 16px !important;
    }

    .copyright {
        padding-top: 15px;
    }
}

.industries-mega-menu {
    width: 100%;
    max-width: 960px;
    border-radius: 0.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

    .industries-mega-menu .row {
        display: flex;
        flex-wrap: wrap;
    }

    .industries-mega-menu h6 {
        font-size: 0.75rem;
        color: #1e40af;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
    }

    .industries-mega-menu .dropdown-item {
        font-size: 0.95rem;
        padding: 0.35rem 0;
        white-space: nowrap;
    }

    .industries-mega-menu .col-md-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

@media (max-width: 768px) {
    .industries-mega-menu {
        max-width: 100%;
    }

        .industries-mega-menu .col-md-6 {
            flex: 0 0 100%;
            max-width: 100%;
            padding-bottom: 1rem;
        }
}
