:root {
    --navbar-height: 100px;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    font-family: 'Century Gothic', Arial, sans-serif;
    background-color: #1E2A38;
    color: #222c3a;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ccc white;
    overflow-x: hidden;
}

.navbar {
    width: 100vw;
    min-height: var(--navbar-height);
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    max-width: 98vw;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 100px;
    padding-right: 100px;
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-item {
    margin-left: 24px;
    font-weight: 550;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item:first-child {
    margin-left: 0;
}

.navbar-nav .nav-link {
    font-size: 1.2rem;
    color: #0047ab !important;
    border-radius: 25px;
    padding-left: 48px;
    padding-right: 48px;
    margin-left: 0;
    margin-right: 0;
    background-color: transparent;
    transition: background 0.2s, color 0.2s, border 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    text-align: center;
    text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: #0047ab !important;
    border-radius: 25px;
}

.navbar-nav .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    margin-top: 8px;
    min-width: 200px;
    padding: 0;
}

.navbar-nav .dropdown-item,
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active,
.navbar-nav .dropdown-item:hover {
    color: #001f3f !important;
    background-color: transparent;
    border-radius: 25px;
    padding-left: 48px;
    padding-right: 48px;
    min-width: 120px;
    text-align: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active,
.navbar-nav .dropdown-item:hover {
    background-color: #04346e !important;
    color: #fff !important;
    border-radius: 25px;
}

/* Custom color for Bootstrap 5 hamburger icon */
.navbar-light .navbar-toggler-icon {
    background-image: none !important;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.navbar-light .navbar-toggler-icon span {
    display: block;
    width: 1.5em;
    height: 3px;
    background-color: #0047ab;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Hamburger to X animation - Perfect X */
.navbar-toggler .navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    height: 1.5em;
    padding: 0;
}

.navbar-toggler .navbar-toggler-icon span {
    display: block;
    width: 1.5em;
    height: 3px;
    background-color: #14B8A6;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4, 2, .6, 1);
    position: relative;
}

/* When expanded (no .collapsed), turn into X */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.process-content {
    background: #3B82F6;
    padding: 68px 48px;
    height: 310px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    width: 100vw;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.process-content .row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding-left: 140px;
    padding-right: 440px;
}

.process-content .col-md-6 {
    padding-left: 0;
    padding-right: 0;
    flex: 1 1 0;
    min-width: 0;
}

.process-content .col-md-6:first-child h1 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
}

.quarter-circle-top-left {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 310px;
    height: 100%;
    background: transparent;
    z-index: 1;
    overflow: hidden;
    rotate: 90deg;
}

.quarter-circle-top-left::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 310px;
    height: 100%;
    background: #1E2A38;
    border-bottom-left-radius: 310px;
    display: block;
}

.donut-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 155px;
    height: 50%;
    background: transparent;
    z-index: 1;
    overflow: hidden;
    rotate: 90deg;
}

.donut-shape::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 155px;
    height: 100%;
    background: #3B82F6;
    border-bottom-left-radius: 155px;
    display: block;
}

.navbar-img-wrapper {
    width: 100vw;
    margin-top: 100px;
    overflow: hidden;
}

.navbar-img {
    width: 100vw;
    height: 800px;
    display: block;
    border-top-left-radius: 250px;
    border-top-right-radius: 250px;
    object-fit: cover;
    object-position: top;
}

.offwhite-section {
    background: #F9FAFB;
    width: 100vw;
    padding-top: 70px;
}

.about-img-left {
    display: block;
    width: 50%;
    max-width: 100%;
    height: 700px;
    object-fit: cover;
    margin-left: 0;
    margin-right: 80px;
    border-top-right-radius: 250px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.about-img-text {
    flex: 1;
    min-width: 220px;
    max-width: 700px;
    color: #222c3a;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.blue-section-about {
    width: 50vw;
    max-width: 50vw;
    min-width: 320px;
    height: 700px;
    background: #3B82F6;
    border-bottom-right-radius: 250px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.about-title-blue-section {
    color: #fff;
    font-size: 5rem;
    font-weight: 800;
    text-align: left;
    line-height: 1.1;
    letter-spacing: -1px;
    width: 90%;
    max-width: 900px;
    display: block;
    margin-left: 10vw;
    margin-right: auto;
}

.blue-section-paragraph {
    width: 50vw;
    max-width: 50vw;
    min-width: 320px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
}

.blue-section-paragraph .about-paragraph {
    font-size: 1.3rem;
    color: #222;
    text-align: left;
    margin: 0;
}

.blue-section-row {
    width: 100vw;
    max-width: 100vw;
}

.blue-section-paragraph-col {
    width: 50vw;
    max-width: 50vw;
    min-width: 320px;
    background: #1E2A38;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-section-paragraph-text {
    font-size: 1.3rem;
    color: #fff;
    max-width: 700px;
    margin: 0 40px;
    text-align: left;
}

.white-block-contactus {
    width: 100%;
    height: 708px;
    background: #f4f6fb;
    position: relative;
    z-index: 1;
    border-radius: 0 !important;
}

.contact-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto 40px auto;
    gap: 120px;
    width: 100%;
}

.contact-left {
    flex: 0 0 320px;
    min-width: 30vw;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-start; */
    align-items: flex-start;
}

.contact-header {
    font-size: 5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0;
    text-align: left;
}

.contact-subheader {
    font-size: 1.5rem;
    color: #444e5e;
    margin-bottom: 0;
    margin-top: 24px;
}

.contact-us-form {
    max-width: 80vw;
    flex: 1 1 480px;
    padding: 48px 32px;
    background: transparent;
    font-size: 1.25rem;
}

.contact-btn {
    background-color: #0047ab;
    color: #fff;
    border-radius: 999px;
    border: 2px solid #0047ab;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 1.25rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.contact-btn:hover,
.contact-btn:focus {
    background-color: transparent;
    color: #0047ab;
    border: 2px solid #0047ab;
}



.dark-block-under-white {
    width: 100%;
    height: auto;
    background: #2C3E50;
    position: relative;
    z-index: 1;
    border-radius: 0 !important;
}


.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #222c3a;
    color: #fff !important;
    font-size: 1.3rem;
    transition: background 0.2s, color 0.2s;
    margin-right: 4px;
    margin-bottom: 2px;
    text-decoration: none;
}

.footer-social:hover {
    background: #14B8A6;
    color: #fff !important;
    text-decoration: none;
}

.footer-arrow {
    font-weight: bold;
    color: #14B8A6;
    margin-right: 8px;
    font-size: 1.15em;
    display: inline-block;
    transition: color 0.2s;
}

a:hover .footer-arrow {
    color: #fff;
}

#emailLoadingOverlay {
    display: none;
}

/* Mobile navbar styles */
@media (max-width: 767px) {
    :root {
        --navbar-height: 70px;
    }

    .imageButton {
        height: 50px !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .navbar-collapse {
        width: 100vw !important;
        left: 0;
        right: 0;
        position: absolute !important;
        top: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        padding: 0;
        margin: 0;
    }

    .navbar-nav {
        width: 100vw !important;
        background: transparent;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        align-items: flex-start !important;
    }

    .navbar-nav .nav-item {
        margin-left: 0 !important;
        display: block;
        align-items: stretch;
    }

    .navbar-nav .nav-link,
    .navbar-nav .dropdown-item {
        display: block;
        width: 90vw !important;
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        border-radius: 0;
        padding-left: 16px;
        padding-right: 16px;
        min-width: unset;
        height: unset;
        text-align: left;
        box-sizing: border-box;
        background-color: transparent;
        color: #0047ab !important;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link:hover,
    .navbar-nav .dropdown-item.active,
    .navbar-nav .dropdown-item:active,
    .navbar-nav .dropdown-item:hover {
        background-color: #336699 !important;
        color: #fff !important;
        border-radius: 0 !important;
    }

    .navbar-nav .dropdown-menu {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        position: static !important;
    }

    .navbar-nav .dropdown-item,
    .navbar-nav .dropdown-item.active,
    .navbar-nav .dropdown-item:active,
    .navbar-nav .dropdown-item:hover {
        display: block;
        width: 100%;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 32px;
        padding-right: 16px;
        background-color: transparent;
        color: #0047ab !important;
        text-align: left;
        box-sizing: border-box;
    }

    .navbar-nav .dropdown-item.active,
    .navbar-nav .dropdown-item:active,
    .navbar-nav .dropdown-item:hover {
        background-color: #336699 !important;
        color: #fff !important;
        border-radius: 0 !important;
        width: 90vw !important;
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        box-sizing: border-box;
    }

    .process-content {
        margin-top: 70px;
        padding: 40px;
        height: 450px;
    }

    .quarter-circle-top-left,
    .quarter-circle-top-left::before {
        width: 450px !important;
        height: 450px !important;
        max-width: 450px !important;
        max-height: 450px !important;
        border-bottom-left-radius: 450px;

    }

    .donut-shape,
    .donut-shape::before {
        width: 225px !important;
        height: 225px !important;
        max-width: 225px !important;
        max-height: 225px !important;
        border-bottom-left-radius: 450px;
    }

    .process-content .row {
        flex-direction: column !important;
        padding: 40px 40px;
        align-items: left;
        text-align: left;
        position: relative;
        z-index: 1 !important;
        overflow-x: hidden;
    }

    .process-content .col-md-6 {
        width: 100%;
    }

    .process-content .col-md-6:first-child h1 {
        font-size: 42px;
        text-align: left;
    }

    .process-content .col-md-6 h3 {
        font-size: 1rem;
    }

    .navbar-img-wrapper {
        margin-top: 60px;
    }

    .navbar-img {
        height: 240px;
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
    }

    .offwhite-section {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 32px !important;
        /* padding-bottom: 24px !important; */
        width: 100vw !important;
    }

    .about-img-text {
        order: 1 !important;
        max-width: 85vw !important;
        margin: 0 auto 20px auto !important;
        padding: 0 8px !important;
        text-align: center !important;
    }

    .about-img-left {
        order: 2 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 300px !important;
        margin: 0 !important;
        border-top-right-radius: 120px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
        display: block !important;
    }

    .about-title {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
        text-align: center !important;
        font-weight: bold;
    }

    .about-paragraph {
        font-size: 1rem !important;
        text-align: left !important;
    }

    .blue-section-row {
        flex-direction: column !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    .blue-section-about {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: unset !important;
        height: 300px !important;
        border-bottom-right-radius: 220px !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 32px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .about-title-blue-section {
        font-size: 3rem !important;
        width: 90% !important;
        max-width: 90% !important;
        text-align: left !important;
    }

    .blue-section-paragraph-col {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: unset !important;
        background: #1E2A38 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 24px 12px !important;
    }

    .blue-section-paragraph-text {
        font-size: 1rem !important;
        color: #fff !important;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        max-width: 80vw !important;
        text-align: left !important;
    }

    .white-block-contactus {
        width: 100%;
        height: 1250px;
        background: #f4f6fb;
        position: relative;
        z-index: 1;
        border-radius: 0 !important;
    }

    .contact-row {
        flex-direction: column !important;
        gap: 0 !important;
        width: 80vw !important;
        margin: 0 auto 0 auto !important;
        padding: 0 !important;
        align-items: stretch !important;
    }

    .contact-left {
        min-width: 0 !important;
        align-items: flex-start !important;
        padding: 0 !important;
    }

    .contact-header {
        font-size: 4rem !important;
        line-height: 1.1 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    .contact-subheader {
        font-size: 1rem !important;
        color: #444e5e !important;
        text-align: left !important;
    }

    .contact-us-form {
        padding: 0 0 0 0 !important;
        font-size: 1rem !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .contact-us-form .row.g-2 {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .contact-us-form .col-md-6,
    .contact-us-form .col-md-12 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .contact-btn {
        width: 60% !important;
        padding: 12px 0 !important;
        font-size: 1.1rem !important;
    }

    .dark-block-under-white {
        position: absolute !important;
        width: 100vw !important;
        height: 800px !important;
        z-index: -1;
        overflow: hidden !important;
        border-radius: 0 !important;
        background: #2C3E50 !important;
        padding: 0 !important;
        margin-top: 10px !important;
    }

    .dark-block-under-white .footer-logo {
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -30px !important;
        margin-bottom: 8px !important;
        max-width: 100px !important;
        height: auto !important;
    }

    .footer-social {
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
        margin-right: 6px !important;
        margin-bottom: 4px !important;
    }

    .footer-social i {
        font-size: 1rem !important;
    }

    .dark-block-under-white .col-md-3,
    .dark-block-under-white .col-12 {
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 12px !important;
        padding: 0 !important;
    }

    .dark-block-under-white ul {
        text-align: left !important;
        align-items: flex-start !important;
        padding-left: 0 !important;
    }

    .dark-block-under-white .footer-text-col {
        margin-left: 24px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .footer-text-col .list-unstyled {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0 12px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-text-col .list-unstyled li {
        width: 100% !important;
        margin-bottom: 6px !important;
    }

    .dark-block-under-white .text-center {
        text-align: center !important;
        font-size: 0.95rem !important;
        padding: 8px 0 !important;
        margin: 0 !important;
    }

    #emailLoadingOverlay {
        display: none;
    }
}