
/* Main hero section */
.main {
    width: 100%;
    height: 320px;
    background-image: linear-gradient(to right, #021b79 0%, #0575e6 100%);
    margin-top: 0;
    padding-top: 69px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .holder {
    margin-top: -60px;
    text-align: center;
}

.main .holder h2 {
    margin-top: 0;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 43px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main .holder p {
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.main:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 80px;
    background: #fff;
    bottom: -40px;
    display: block;
    transform: skewY(-2deg);
    z-index: 2;
}

@media only screen and (max-width: 991px) {
    .main:before {
        height: 60px;
        background: #fff;
        bottom: -40px;
    }
}

.main:after {
    content: "";
    background: url(../img/line_01.svg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

/* Navigation styles */
.navigation {
    position: fixed;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    z-index: 999;
    transition: 0.6s all;
    top: 0;
}

.navigation .logo {
    position: relative;
    margin-top: 2px;
    z-index: 999 !important;
}

.navigation .logo .blue {
    display: none;
}

.navigation .logo .normal {
    display: block;
}

.navigation.sticky .logo .blue {
    display: block;
}

.navigation.sticky .logo .normal {
    display: none;
}

.navigation .holder {
    display: flex;
    position: relative;
}

.navigation .holder .nav-right {
    margin-left: auto;
}

.navigation .main-nav {
    display: flex;
    justify-content: flex-end;
}

.navigation .main-nav ul {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 0;
}

.navigation .main-nav ul li {
    list-style: none;
    margin-right: 32px;
}

.navigation .main-nav ul li a {
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    text-transform: uppercase;
    transition: 0.6s all;
    padding: 10px 0;
    display: block;
    text-decoration: none;
}

.navigation .main-nav ul li a:hover {
    text-decoration: none;
    color: #ffffff;
}

.navigation .main-nav ul li:last-child {
    margin-right: 0;
}

.navigation .main-nav ul:last-child {
    display: flex;
    margin-left: 28px;
    position: relative;
}

.navigation .main-nav ul:last-child:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 24px;
    background-color: #ffffff;
    opacity: 0.3;
    left: -17px;
    top: 10px;
}

.navigation .main-nav ul:last-child li {
    list-style: none;
    margin-right: 32px;
}

.navigation .main-nav ul:last-child li a {
    display: block;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    padding: 10px 0;
    transition: 0.6s all;
    text-transform: none;
}

.navigation .main-nav ul:last-child li a:hover {
    text-decoration: none;
    color: #ffffff;
}

.navigation .main-nav ul:last-child li:first-child a {
    display: block;
    min-width: 120px;
    height: 39px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.navigation .main-nav ul:last-child li:first-child a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.navigation .main-nav ul:last-child li:last-child {
    margin-right: 0;
}

.navigation .main-nav ul:last-child li:last-child a {
    display: block;
    width: 90px;
    height: 39px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px;
    text-align: center;
}

.navigation .main-nav ul:last-child li:last-child a:hover {
    border: 1px solid #ffffff;
}

.navigation.sticky {
    width: 100%;
    position: fixed;
    background: #FFF;
    background-image: none;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.08);
}

.navigation.sticky .main-nav ul li a {
    color: #616161;
}

.navigation.sticky .main-nav ul li a:hover {
    color: #616161;
}

.navigation.sticky .main-nav ul:last-child:before {
    background-color: #1b62b7;
    opacity: 0.16;
}

.navigation.sticky .main-nav ul:last-child li a {
    color: #499bff;
}

.navigation.sticky .main-nav ul:last-child li a:hover {
    color: #499bff;
}

.navigation.sticky .main-nav ul:last-child li:first-child a {
    background-color: #499bff;
    color: #ffffff;
}

.navigation.sticky .main-nav ul:last-child li:first-child a:hover {
    background-color: #3a8ae6;
    color: #ffffff;
}

.navigation.sticky .main-nav ul:last-child li:last-child a {
    border: 1px solid #499bff;
}

.navigation.sticky .main-nav ul:last-child li:last-child a:hover {
    border: 1px solid #499bff;
}

.mobile-nav {
    position: absolute;
    cursor: pointer;
    display: inline-block;
    width: 50px;
    height: 50px;
    z-index: 999;
    vertical-align: middle;
    transition: 0.6s all;
    margin-left: auto;
    text-align: right;
    float: right;
    top: 15px;
    right: 0;
}

.mobile-nav span {
    transition: 0.6s all;
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ffffff;
    display: block;
}

.navigation.sticky .mobile-nav span {
    background: #1b62b7;
}

.mobile-nav span:first-child {
    top: -10px;
}

.mobile-nav span:last-child {
    top: 10px;
}

@media only screen and (max-width: 991px) {
    .navigation .main-nav {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        z-index: 99;
        top: 0;
        background-image: linear-gradient(147deg, #021b79, #0575e6);
        justify-content: flex-start;
        flex-direction: column;
        padding: 80px 25px;
        transform: translateX(-100%);
        transition: 0.6s all;
    }

    .navigation .main-nav.open {
        transform: translateX(0);
    }

    .navigation .main-nav ul {
        justify-content: flex-start;
        flex-direction: column;
    }

    .navigation .main-nav ul:last-child {
        margin-left: 0;
    }

    .navigation .main-nav ul:last-child:before {
        content: none;
    }

}

/* Content section styling */
.content {
    padding: 60px 0 80px;
    background: #ffffff;
}

.content .text {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8eaec;
}

.content .text:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content .text h2 {
    color: #2c2c2c;
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 15px;
    margin-top: 0;
}

.content .text p {
    color: #616161;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 0;
}

.content .text ul,
.content .text ol {
    color: #616161;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-top: 15px;
    padding-left: 20px;
}

.content .text li {
    margin-bottom: 8px;
}

.content .text a {
    color: #499bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content .text a:hover {
    color: #3a8ae6;
    text-decoration: underline;
}

.content .text strong,
.content .text b {
    font-weight: 700;
    color: #2c2c2c;
}

/* Footer styling */
.footer {
    border-top: 1px solid #e8eaec;
    padding: 25px 0 55px;
    background: #ffffff;
}

.footer_items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .footer_items {
        flex-direction: column;
        text-align: center;
    }
}

.footer .copyright {
    color: #616161;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.footer nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 768px) {
    .footer nav ul {
        flex-direction: column;
        margin-top: 15px;
    }
}

.footer nav ul li {
    margin-left: 30px;
}

@media only screen and (max-width: 768px) {
    .footer nav ul li {
        margin-left: 0;
        margin-top: 8px;
    }
}

.footer nav ul li:first-child {
    margin-left: 0;
}

.footer nav ul li a {
    color: #616161;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer nav ul li a:hover {
    color: #499bff;
}
