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;
}
