:root {
    --primary-color: #0b8f78;
    --primary-dark: #075f54;
    --font-color: #56636c;
    --heading-color: #102a35;
    --bg-grey: #f2f7f6;
    --bg-lightgrey: #f7faf9;
    --border-color-light: #dce8e5;
    --border-radius: 16px;
    --border-radius-full: 30px;
    --box-shadow: 0 18px 50px rgb(16 42 53 / 10%);
    --layer: rgb(8 31 39 / 56%);
    --layer-2: rgb(8 31 39 / 66%);
    --footer-bg: #102a35;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--font-color);
    font-family: "Poppins", sans-serif;
    background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

a {
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

#site-header {
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 2px 18px rgb(16 42 53 / 7%);
    backdrop-filter: blur(12px);
}

.navbar .navbar-brand {
    color: var(--heading-color);
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: 700;
    letter-spacing: -.6px;
    text-transform: none;
}

.navbar .navbar-brand i {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link {
    color: #52646b;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 13px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.btn-style {
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 8px 18px rgb(11 143 120 / 20%);
    font-weight: 600;
    padding: 12px 25px;
}

.btn-style:hover,
.btn-style:focus {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.nav-convert {
    white-space: nowrap;
}

h3.title-style,
h2.title-style {
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -.8px;
    line-height: 1.2;
}

h5.small-title {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.slider,
.slide {
    min-height: min(780px, 88vh);
}

.slide:first-child {
    background-image: url("../images/currency-market.jpg");
}

.slide:nth-child(2) {
    background-image: url("../images/rate-dashboard.jpg");
}

.slide:nth-child(3) {
    background-image: url("../images/travel-money.jpg");
}

.slide:nth-child(4) {
    background-image: url("../images/currency-planning.jpg");
}

.slide {
    background-position: center;
    background-size: cover;
}

.slide:before {
    display: none;
}

.bg-layer {
    background: linear-gradient(90deg, rgb(8 31 39 / 72%), rgb(8 31 39 / 30%) 68%, rgb(8 31 39 / 8%));
}

.slide .content {
    top: 50%;
    bottom: auto;
    left: max(7%, calc((100vw - 1200px) / 2));
    width: min(640px, 84%);
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 22px;
    background: rgb(13 37 45 / 66%);
    box-shadow: 0 24px 70px rgb(0 0 0 / 18%);
    color: #fff;
    opacity: 0;
    transform: translateY(-42%);
    backdrop-filter: blur(10px);
}

.slide.current .content {
    opacity: 1;
    transform: translateY(-50%);
}

.slide .content h3,
.slide .content h6 {
    color: #fff;
}

.slide .content h3 {
    max-width: 600px;
    font-size: clamp(36px, 5.4vw, 66px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.08;
}

.slide .content h6 {
    color: #a8e6d8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.buttons button {
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 50%;
    background: rgb(16 42 53 / 68%);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}

.buttons button:hover {
    background: var(--primary-color);
    transform: scale(1.06);
}

.currency-section {
    background: linear-gradient(180deg, #f3f8f6, #fff);
}

.rate-note {
    color: #60727a;
    font-size: 13px;
    line-height: 1.8;
}

.currency-tool,
.contact-message-box {
    border: 1px solid #e0ebe8;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--box-shadow);
    padding: clamp(24px, 4vw, 42px);
}

.converter-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.converter-topline h3 {
    margin: 5px 0 0;
    font-size: 25px;
    font-weight: 700;
}

.converter-kicker {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #47716a;
    font-size: 11px;
    font-weight: 600;
}

.live-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20aa80;
    box-shadow: 0 0 0 4px rgb(32 170 128 / 13%);
}

.currency-fields label {
    display: block;
    margin: 0 0 8px;
    color: #52646b;
    font-size: 13px;
    font-weight: 600;
}

.currency-input-row {
    display: flex;
    min-height: 62px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce8e5;
    border-radius: 12px;
    background: #f8fbfa;
}

.currency-input-row:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(11 143 120 / 10%);
}

.currency-input-row input,
.currency-input-row output {
    flex: 1;
    min-width: 0;
    padding: 15px 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--heading-color);
    font-size: 21px;
    font-weight: 600;
}

.currency-input-row select {
    align-self: stretch;
    min-width: 96px;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid #dce8e5;
    outline: 0;
    background: #eff6f4;
    color: var(--heading-color);
    font-weight: 700;
}

.swap-currencies {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 13px auto;
    border: 1px solid #cce2dc;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    transition: transform .2s ease, background .2s ease;
}

.swap-currencies:hover {
    background: #e7f5f1;
    transform: rotate(180deg);
}

.convert-button {
    width: 100%;
    margin-top: 23px;
}

.rate-status {
    min-height: 22px;
    margin: 14px 0 0;
    color: #687b82;
    font-size: 12px;
    text-align: center;
}

.box-wrap,
.bottom-block,
.blog-card-single,
.contact-address {
    border: 1px solid #e7efed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(16 42 53 / 5%);
}

.box-wrap {
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.box-wrap:hover,
.bottom-block:hover,
.blog-card-single:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow);
}

.box-wrap .icon,
.bottom-block > a > i {
    color: var(--primary-color);
}

.w3l-homeblock3 .top-pic1 {
    background-image: url("../images/rate-dashboard.jpg");
}

.w3l-homeblock3 .top-pic2 {
    background-image: url("../images/travel-money.jpg");
}

.w3l-homeblock3 .top-pic3 {
    background-image: url("../images/currency-planning.jpg");
}

.w3l-content1 {
    background-image: url("../images/travel-money.jpg");
}

.w3l-index4 {
    background-image: url("../images/currency-market.jpg");
}

.w3l-progress,
.w3l-servicesblock {
    background-color: #f5f9f8;
}

.radius-image {
    border-radius: 22px;
}

.imginfo__box {
    border-radius: 14px;
    box-shadow: var(--box-shadow);
}

.inner-banner {
    background-image: url("../images/currency-planning.jpg");
    background-position: center 45%;
}

.inner-banner::before {
    background: linear-gradient(90deg, rgb(8 31 39 / 76%), rgb(8 31 39 / 34%));
}

.inner-text-title,
.breadcrumbs-custom-path li,
.breadcrumbs-custom-path a {
    color: #fff;
}

.contact-address {
    box-shadow: none;
}

.contact-message-box {
    height: 100%;
}

.contact-message-box .title-style {
    font-size: clamp(24px, 3vw, 34px);
}

.map-contact {
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.w3l-footer {
    background: #102a35;
}

.w3l-footer .sub-one-left h6,
.w3l-footer .sub-two-right h6 {
    color: #c5eee4;
}

.w3l-footer .copyright-footer {
    border-top: 1px solid rgb(255 255 255 / 16%);
}

.w3l-footer .social li a:hover,
.w3l-footer a:hover {
    color: #9ce2d3;
}

#movetop {
    border-radius: 50%;
    background: var(--primary-color);
}

@media (max-width: 991px) {
    .navbar .navbar-brand {
        max-width: calc(100% - 140px);
        font-size: 18px;
    }

    .nav-convert {
        margin: 12px 0;
    }

    .slider,
    .slide {
        min-height: 76vh;
    }

    .slide .content {
        left: 6%;
        width: 88%;
    }
}

@media (max-width: 575px) {
    .slider,
    .slide {
        min-height: 72vh;
    }

    .slide .content {
        top: 53%;
        left: 5%;
        width: 90%;
        padding: 25px 22px;
    }

    .slide .content h3 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .converter-topline {
        display: block;
    }

    .live-indicator {
        margin-top: 16px;
    }

    .currency-input-row input,
    .currency-input-row output {
        padding: 13px 12px;
        font-size: 18px;
    }

    .currency-input-row select {
        min-width: 82px;
        padding: 0 8px;
    }
}
