/* Regular (400) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/Montserrat-Regular.woff2') format('woff2'),
       url('/static/Montserrat-Regular.woff') format('woff'),
       url('/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (600) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/Montserrat-Bold.woff2') format('woff2'),
       url('/static/Montserrat-Bold.woff') format('woff'),
       url('/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/Montserrat-ExtraBold.woff2') format('woff2'),
       url('/static/Montserrat-ExtraBold.woff') format('woff'),
       url('/static/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Italic (400 italic) */
@font-face {
  font-family: 'Montserrat';
  src: url('/static/Montserrat-Italic.woff2') format('woff2'),
       url('/static/Montserrat-Italic.woff') format('woff'),
       url('/static/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Apply globally */
body {
  font-family: "Montserrat", sans-serif !important;
  overflow-x: hidden;
}

.top .container {
    padding-left: 0;
    padding-right: 0;
}
img {
    max-width: 100%;
}
.top {
    background: #0667c8;
    color: #fff;
    padding: 10px 0 0;
}
.top_text {
    font-size: 14px !important;
}
.top .text-center p {
    margin: 0;
    padding-left: 35px;
    line-height: 1;
}
.about-us h1{
    font-size: 33px;
    font-weight: 600;
}
.middle {
    position: relative;
    top: -70px;
}
.form_backflow h4 {
    color: #fff;
    padding: 20px 0 0;
}
.form_backflow input {
    width: 100%;
    padding: 6px;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    margin-bottom: 10px;
}
.form_backflow input[type="submit"] {
    background: #fff;
    color: #000;
    font-weight: 600;
}
::placeholder {
    color: #fff;
    opacity: 1;
}
textarea {
    width: 100%;
    height: 60px;
    color: #fff !important;
    background: none;
    border: 1px solid #fff;
    margin-bottom: 10px !important;
}
/* Add this to your CSS */
p {
  font-display: swap; /* Improves font loading behavior */
  min-height: [estimated height]em; /* Reserve space based on font size */
  contain-intrinsic-size: [estimated height]px; /* For content that might load later */
}   
.header {
    padding-top: 20px;
}
.header h5 {
    margin: 0;
}
.header h5 span {
    color: #0667c8;
}
.section {
    padding: 30px 0;
}
.section p {
    padding: 0 15px;
}
.services {
    background: #0667c8;
    color: #fff;
    padding-bottom: 5%;
}
.services h2 {
    margin: 0;
}
.services p {
    font-size: 20px !important;
}
.services ul {
    list-style: none;
    padding-left: 0;
}
.services li {
    font-size: 23px;
}
.services li:first-child {
    padding-top: 10px;
}
.services_inner {
    padding: 6% 0 0;
}
.box,
.box3,
.box5 {
    background-color: #f2f3f4;
}
.box2,
.box4 {
    background-color: #e8f2fe;
}
.box h5 {
    padding-top: 8%;
}
.box p {
    padding: 0 10% 0 0;
}
.box2 h5 {
    padding-top: 8%;
}
.box2 p {
    padding: 0 10% 0 0;
}
.box3 h5 {
    padding-top: 8%;
}
.box3 ul {
    list-style: none;
    padding-left: 0;
}
.box3 p {
    padding: 0 10% 0 0;
}
.box4 h5 {
    padding-top: 4%;
}
.box4 p {
    padding: 0 6% 0 0;
}
.box5 h5 {
    padding-top: 8%;
}
.box5 p {
    padding: 0 10% 0 0;
}
.box img {
    width: 100%;
}
.box2 img {
    width: 100%;
}
.box3 img {
    width: 100%;
}
.box4 img {
    width: 100%;
}
.box5 img {
    width: 100%;
}
.section2 {
    padding: 30px 0;
}
.info p {
    font-size: 20px;
    color: gray;
}
.info a {
    color: gray;
}
.footer {
    background: #0a74f5;
    color: #fff;
    margin-top: -6px;
}
.footer p {
    font-size: 12px;
}
.footer .col-sm-12 {
    line-height: 0.5em;
}
h2 {
    font-size: 32px !important;
    font-weight: 600 !important;
}
h4 {
    font-size: 24px !important;
    font-weight: 600 !important;
}
h5 {
    font-size: 20px !important;
    font-weight: 600 !important;
}
p {
    font-size: 15px;
}
.form_backflow .row {
    padding-bottom: 20px;
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
    .top {
        height: auto;
    }
    .top p {
        text-align: center;
    }
    .top {
        height: auto;
    }
    .header .logo {
        text-align: center !important;
    }
    .middle {
        margin-top: -10px;
    }
    .video {
        width: 100% !important;
    }
}
@media only screen and (max-width: 768px) {
    .top {
        height: auto;
    }
    .top p {
        text-align: center;
    }
    .top {
        height: auto;
    }
    .header .logo {
        text-align: center !important;
    }
    .header .col-sm-6 {
        text-align: center;
    }
    .services_inner h2 {
        padding-top: 10px;
    }
    .services_inner ul {
        padding: 10px;
    }
    .middle {
        margin-top: -10px;
    }
    .area {
        text-align: center;
    }
    .video {
        width: 100% !important;
    }
    .box p {
        padding: 0 10px !important;
    }
    .box .line {
        margin: 0 auto 15px !important;
    }
    .box2 p {
        padding: 0 10px !important;
    }
    .box2 img {
        margin-top: 15px;
    }
    .box2 .line {
        margin: 0 auto 15px !important;
    }
    .box3 p {
        padding: 0 10px !important;
    }
    .box3 .line {
        margin: 0 auto 15px !important;
    }
    .box4 p {
        padding: 0 10px !important;
    }
    .box4 img {
        margin-top: 15px;
    }
    .box4 .line {
        margin: 0 auto 15px !important;
    }
    .box5 p {
        padding: 0 10px !important;
    }
    .box5 .line {
        margin: 0 auto 15px !important;
    }
    .form_backflow .row {
        padding-bottom: 0;
    }
    .form_backflow input {
        margin-bottom: 10px;
    }
    .services li {
        font-size: 20px;
    }
    .services p {
        font-size: 18px !important;
    }
}
.inner {
    max-width: 1040px;
    margin: 20px auto;
    overflow: hidden;
    background: #fff;
}
.hero {
    background: #0f75bc;
    overflow: auto;
    margin-bottom: 30px;
    width: 100%;
    border-radius: 20px;
    padding: 0 20px;
    color: #fff;
}
.hero-title {
    color: #fff;
    font-size: 50px;
    margin-bottom: 30px;
    line-height: 1.3em;
    text-align: left;
}
.learn-more {
    color: #fff;
    text-decoration: underline;
}
.contact-box {
    padding: 10px;
    background: #333;
    border-radius: 6px;
    color: #fff;
}
.sidebar {
    margin-top: 15px;
}
.sidebar-inner {
    background: #0f75bc;
    border-radius: 8px;
    padding-top: 20px;
    color: #fff;
}
.brand-logo {
    display: inline;
    max-width: 100%;
    background: #fff;
}
.cta-box {
    margin: 20px auto;
    width: 238px;
    height: 70px;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
}
.cta-link {
    font-size: 26px;
    font-weight: 600;
    color: #28438d;
    text-decoration: none;
    display: block;
    line-height: 1;
}
.map-wrapper {
    padding: 0 5px;
}
.call-today {
    margin-top: 25px;
    font-size: 24px;
}
.primary-phone {
    color: #0f75bc;
    text-decoration: none;
}
.content .section-title {
    text-align: left;
    font-size: 36px !important;
    font-weight: normal !important;
}
.content h5{
    font-size: 15px !important;
}
.inner {
    padding: 0 15px;
}

.mj-experience-img {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    background-position: center;
    overflow: hidden;
    position: relative;
}
.mj-experience-img img{
    position: relative;
}
.mj-experience-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top:0;
    background-color: #000;
    opacity: 0.7;
    z-index: 1;
}
.mj-experience-img button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mj-experience-img button:hover svg{
    color: #fff;
}
.modal h5{
    color: #000;
}
.map-container{
    position: relative;
    width: 100%;
    height: 450px;
    background: #f0f0f0;
}
.map-container p{
    text-align: center;
    line-height: 450px;
    color: #666;
    margin: 0;
}
img {
  height: auto;
}
@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }
    .cta-box {
        width: 100%;
        height: auto;
    }
}
.font-bold-600 {
    font-weight: 600;
}
.divider-black {
    border-bottom: 2px solid #000;
    width: 10%;
    margin: 15px auto;
}
.bg-blue-padding {
    background: #0667c8;
    padding: 0 20px;
}
.hide-box {
    display: none;
    width: 100%;
    float: left;
    text-align: center;
    background: #fff;
    margin: 10px auto;
}
.hide-box img {
    width: 90px;
}
.line {
    border-bottom: 2px solid #000;
    width: 20%;
    margin: 15px 0;
}
.bg-light-gray {
    background: #f2f3f4;
    margin-top: 5%;
}
.section-divider {
    border-bottom: 2px solid #000;
    width: 8%;
    margin: 15px auto;
}
.pt-line {
    padding-top: 20px;
    line-height: 1em;
}
.pl-30 {
    padding-left: 30px;
}
.custom_container {
    max-width: 1350px;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
}
.pt-20 {
    padding-top: 20px;
}
.home_list li {
    position: relative;
    padding-left: 28px;
}
.home_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../../images-webp/tick.webp);
    background-size: contain;
    background-repeat: no-repeat;
}
.banner-wrapper {
    width: 100%;
    aspect-ratio: 1600 / 600;
    overflow: hidden;
}
.banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*video*/
  .video-wrapper {
    width: 100%;
    height: 400px; /* reserve exact height */
    background: #000; /* optional placeholder */
    display: block;
  }
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }