body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #272727;
    background-color: #f4f4f4;
    padding-top: 70px;
    box-sizing: border-box;
}

.container-max {
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
}

.efx-green {
    color: #28b34c;
}

.em-navbar-wrap .navbar {
    padding-top: 20;
    padding-bottom: 20;
    transition: height 0.3s ease-in-out;
    position: fixed;
    width: 100%;
    z-index: 1030;
}

.em-brand img {
    height: auto;
    transition: height 0.3s ease-in-out;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.085em;
    font-size: larger;
    color: #999999;
    padding-top: 37px;
    padding-bottom: 37px;
    height: 90px;
    transition: padding 0.3s ease-in-out;
}

.navbar-nav .nav-item:hover .nav-link,
.navbar-nav .nav-item.active .nav-link {
    color: #272727;
    box-shadow: inset 0 -4px 0 0 #28a745;
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding-top: 20px;
        padding-bottom: 20px;
        height: auto;
    }
}

.em-navbar-wrap .navbar.scrolled {
    padding-top: 0;
    padding-bottom: 0;
    height: 70px;
}

.em-brand img.scrolled-logo {
    height: 30px;
}

.navbar.scrolled .nav-link {
    padding-top: 25px;
    padding-bottom: 25px;
}

.navbar-toggler {
    outline: none !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
}

/* Ensures the hover effect is applied even when the element is focused */
.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler.active {
    outline: none;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

/* Hover effect: inverse shadow and darker background */
.navbar-toggler:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) inset; /* "Pressed in" look */
    background-color: #e2e6ea;
}

/* Hero Image Styling */
.hero-image-home {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-image-compliance {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-image-compliance img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Currency Expert Box Styling */
.currency-expert-box {
    position: absolute;
    top: 30%;
    left: 10%;
    transform: translateX(-50%, -50%);
    background-color: rgba(246, 246, 246, 0.9);
    padding: 20px;
    width: 30%;
    max-width: 400px;
    z-index: 2;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .currency-expert-box {
        width: 80%; /* Adjust width for smaller screens */
    }
}

@media (max-width: 576px) {
    .currency-expert-box {
        width: 90%; /* Adjust width for even smaller screens */
        padding: 15px; /* Adjust padding for smaller screens */
    }
}

/* Content Section Styling */
.content-section {
    position: relative;
    z-index: 10;
    background: #FFF;
    margin-top: -2rem;
}

blockquote {
    margin-top: 1em;
    font-style: italic;
}

.middle-subtitle {
    font-size: medium;
    font-weight: bold;
}

.container.mt-5 {
    margin-top: calc(5rem + 90px) !important;
}

.location-info {
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
}

.location-info h3 {
    margin-bottom: .5rem;
}

.location {
    display: flex;
    align-items: start; /* Aligns the icon with the top of the text */
    margin-bottom: 1rem; /* Spacing between locations */
}

.location i.fas {
    margin-top: 0.25rem; /* Adjust this value to fine-tune vertical alignment with h4 */
}

.location > div {
    margin-left: 0.5rem; /* Space between icon and text */
}

.hours-box h3 {
    margin-bottom: 1rem; /* Space below the section title */
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

/* SPINNER */
.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28b34c;
    margin: -5px 0 0 -5px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
