/* =========================================================
   DXX BANK HOMEPAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-width: 320px;
}


/* =========================================================
   TOP LOGIN BAR
   ========================================================= */

.top-login {
    height: 38px;
    background: #fff;
    border-bottom: 1px solid #d8d8d8;
}

.top-inner {
    width: 1094px;
    max-width: calc(100% - 30px);
    height: 38px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;

    width: 75px;
    height: 30px;

    text-decoration: none;
    overflow: visible;
}

.brand img {
    display: block;

    width: 75px;
    height: 30px;

    object-fit: contain;
    object-position: left center;
}


/* LOGIN AREA */

.login-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-links a {
    color: #111;
    font-size: 10px;
    text-decoration: underline;
    white-space: nowrap;
}

.login-form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.login-form input {
    width: 126px;
    height: 23px;

    border: none;
    border-radius: 4px;

    background: #eeeeee;

    padding: 0 9px;

    font-size: 9px;
    color: #555;

    outline: none;
}

.login-form input::placeholder {
    color: #999;
}

.login-form button {
    width: 66px;
    height: 23px;

    border: none;
    border-radius: 4px;

    background: #970900;

    color: #fff;

    font-size: 9px;
    font-weight: bold;

    cursor: pointer;
}

.profile-icon {
    width: 17px;
    height: 17px;

    border: 1px solid #24395f;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #24395f;

    font-size: 12px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-header {
    height: 33px;

    background: #fff;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);

    position: relative;
    z-index: 10;
}

.main-nav {
    width: 1080px;
    max-width: 100%;

    height: 33px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav a {
    height: 19px;

    padding: 0 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111;

    text-decoration: none;

    font-size: 9px;
    font-weight: 400;

    border-right: 1px solid #999;

    white-space: nowrap;
}

.main-nav a:last-child {
    border-right: none;
}

.main-nav a:hover {
    color: #555;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

#home {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   QUICK ACCESS ICONS
   ========================================================= */

.quick-links {
    width: 760px;
    max-width: 100%;

    height: 196px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 45px;

    padding-top: 10px;
}

.quick-item {
    width: 49px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #000;

    text-decoration: none;

    font-size: 13px;
    line-height: 13px;

    text-align: center;
}

.quick-icon {
    width: 43px;
    height: 43px;

    margin-bottom: 8px;

    border: 1px solid #dedede;
    border-radius: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    color: #1670ff;
}


/* SVG ICONS */

.quick-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* BAR CHART */

.quick-item:nth-child(2) svg rect {
    fill: none;
}


/* PAYPAL */

.paypal-icon {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 28px;

    font-style: italic;

    font-weight: 400;

    color: #1670ff;
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
    position: relative;

    width: 1093px;
    max-width: calc(100% - 30px);

    height: 204px;

    margin: 0 auto;

    border-radius: 11px;

    overflow: hidden;

    background: #111;
}


/* IMAGE */

.hero-photo {
    position: absolute;

    inset: 0;

    background-image: url("../img/hero_2.jpg");

    background-position: left center;

    background-size: 42% 100%;

    background-repeat: no-repeat;

    background-color: #111;
}


/* DARK RIGHT SIDE */

.hero-card::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 72%;

    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.95) 15%,
        #111 40%
    );

    z-index: 1;
}


/* HERO CONTENT */

.hero-content {
    position: absolute;

    z-index: 2;

    left: 36%;

    top: 31px;

    color: #fff;

    font-size: 38px;

    line-height: 1.25;

    font-weight: 300;

    letter-spacing: -1px;
}

.hero-content strong {
    color: #287cff;

    font-weight: 700;
}


/* HERO ARROW */

.hero-card > .round-arrow {
    position: absolute;

    z-index: 3;

    right: 21px;
    bottom: 22px;
}


/* =========================================================
   ROUND ARROWS
   ========================================================= */

.round-arrow {
    width: 25px;
    height: 25px;

    border: 1px solid #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    text-decoration: none;

    font-size: 22px;

    line-height: 1;

    font-weight: 300;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    width: 1093px;
    max-width: calc(100% - 30px);

    margin: 30px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 23px;
}

.feature-card {
    position: relative;

    display: block;

    height: 155px;

    border-radius: 10px;

    overflow: hidden;

    text-decoration: none;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;
}


/* PERSONAL IMAGE */

.feature-card.personal {
    background-image: url("../img/hero_1.jpg");
}


/* OFFSHORE IMAGE */

.feature-card.offshore {
    background-image: url("../img/8069144.jpg");
}


/* BUSINESS IMAGE */

.feature-card.business {
    background-image: url("../img/hero_2.jpg");
}


/* CARD OVERLAY */

.feature-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.12),
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.18)
    );
}


/* CARD TITLE */

.feature-card h2 {
    position: absolute;

    z-index: 2;

    top: 18px;
    left: 62px;

    margin: 0;

    color: #fff;

    font-size: 23px;

    line-height: 1;

    font-weight: 400;
}


/* CARD ARROW */

.feature-card > .round-arrow {
    position: absolute;

    z-index: 3;

    right: 22px;
    bottom: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .top-inner {
        width: calc(100% - 30px);
    }

    .main-nav a {
        padding: 0 18px;
    }

    .quick-links {
        gap: 28px;
    }

    .hero-content {
        font-size: 31px;
    }
}


@media (max-width: 750px) {

    .login-links {
        display: none;
    }

    .main-header {
        display: none;
    }

    .quick-links {
        width: 100%;

        height: auto;

        padding: 30px 20px;

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 25px 20px;
    }

    .hero-card {
        height: 190px;
    }

    .hero-content {
        left: 35%;

        top: 30px;

        font-size: 22px;
    }

    .feature-grid {
        grid-template-columns: 1fr;

        margin-top: 20px;
    }

    .feature-card {
        height: 170px;
    }
}


@media (max-width: 430px) {

    .login-form input {
        width: 90px;
    }

    .login-form input:first-child {
        display: none;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        left: 32%;

        font-size: 18px;
    }
}