* {
    font-family: 'Poppins', sans-serif;
}

html {
    margin: 0 !important;
}

.logo {
    max-width: 170px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Global Styles */
/*  https://prismic.io/blog/css-hover-effects*/
button,
.button, 
.btn {
    padding: 0.85rem 1.9rem;
    background: #ffba01;
    color: #fff;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 0px 51px 0px rgba(103, 167, 220, 0.6);
    transition: 0.2s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

button:hover::before,
.button:hover::before, 
.btn:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(300%);
}

.button:hover,
.button:active,
.button:focus,
.btn:hover,
.btn:active,
.btn:focus  {
    color: #fff;
    background: #edae04;
    text-decoration: none;

    transform: scale(1.05);
}

button::before,
.button::before, 
.btn::before {
  z-index: 1;
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

/* Header Styles */
.header .button {
    margin-left: 1rem;
    margin-right: 1rem;
    box-shadow: none;
}

.header .logo {
    width: 170px;
    transition: 0.2s ease;
}

.phone-link {
    margin-left: 1rem;
    margin-right: 1rem;
    color: #505050;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.phone-link:hover,
.phone-link:active,
.phone-link:focus {
    color: #3b3b3b;
    text-decoration: none;
}

/* Navigation Styles */
.header {
    z-index: 2;
    position: sticky;
    top: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header .navbar-collapse {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    flex-grow: 1;
}

.header .navbar-nav {
    flex-grow: 1;
    justify-content: space-around;
    transition: 0.2s ease;
}

.header .nav-link {
    color: #505050;
    font-weight: 300;
    font-size: 1.25rem;
}

/*  Smaller Header on Scroll */
.header.smaller {
    background: rgba(255,255,255,0.9);
    box-shadow: 0px 0px 51px 0px rgba(103, 167, 220, 0.6);
}

.header.smaller .logo {
    width: 100px;
}

.header.smaller .nav-link,
.header.smaller .phone-link,
.header.smaller .button {
    font-size: 1rem;
}

.crop-hero-card {
    position: relative;
    box-shadow: 0px 0px 51px 0px rgba(103, 167, 220, 0.6);
    margin:15px 0;
    display:block;
    border-radius: 16px;
    border: 2px solid #fff;
    overflow: hidden;
}

.crop-hero-card-image {
    width: 100%;
    height: 30vw;
    max-height: 440px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
    display:flex;
    background-color: #000;
}

.crop-hero-card-image::before {
  z-index: 1;
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.crop-hero-card:hover .crop-hero-card-image {
  transform: scale(1.05);
  /*box-shadow: 0 0 20px rgba(103, 167, 220, 0.5) */
}

.crop-hero-card:hover .crop-hero-card-image::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(220%);
}

    .crop-hero-card-image img {
        position: absolute; /* or block */
        left: 0px; /* shift to reveal the area you want */
        bottom: 0px;
    }

    .crop-hero-card:hover img {
        opacity: 0.6;
    }

.hero-card-text {
    display: flex;
    flex-direction: column; /* stack titles vertically */
    align-items: center;    /* center horizontally */
    justify-content: center; /* optional: center vertically if height is set */
    text-align: center;      /* ensure text inside divs is centered */
    margin-top: 10px;        /* spacing from image */
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.hero-card-text .main-title a,
.hero-card-text .main-title a:link,
.hero-card-text .main-title a:active,
.hero-card-text .main-title a:hover,
.hero-card-text .main-title a:focus {
    color: #fff;
}


.hero-card-text .main-title {
    font-size: 72px;
    color: white;
    line-height: 1em;
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 1);
    padding-top: 30px;
}

.hero-card-text .secondary-title {
    font-size: 27px;
    color: white;
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 1);
}

/* Content Styles */
.article-title {
    font-size: 72px;
    color: #505050;
    font-weight: 500;
}

.article-sub-title {
     font-size: 30px;
    color: #505050;
    font-weight: 400;
    padding: 0 0 40px 6vw;
}

.article-text {
    font-size: 20px;
    color: #505050;
    font-weight: 300;
    line-height: 2;
}

.article-text ul li {
    list-style-type: none;
}

.article-text ul li strong {
    font-weight: 600;
}

.article-text ul li:before  {
    font-family: 'Font Awesome 7 Free';
    content: '\f058';
    margin:0 5px 0 -32px;
    color: #88c54a;
    font-weight: 700;
}

.banner {
    text-align: center;
}

.banner-title {
    font-size: 40px;
    color: #fff;
    font-weight: 500;
    padding: 50px 0 30px 0;
    line-height: 2;
}

.banner-text {
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    line-height: 2;
}

.contact-us-container {
    color:#fff;
    background-color:#ebab00; 
    border-radius:16px; 
    width:100%; 
    min-height:800px; 
}

.contact-us-title {
    font-size:40px; 
    font-weight:500;
}

.contact-us-subtitle {
    font-size:30px; 
    font-weight:500;
}

.contact-us-text {
    font-size:18px;
}

.contact-us-text a:link,
.contact-us-text a:active,
.contact-us-text a:visited,
.contact-us-text a:hover {
    color:#fff;
}

.contact-form legend {
    font-size: 40px;
    padding: 2rem 0;
    color: #505050;
    font-weight: 500;
}

.contact-form button {
    margin-top: 2rem;
}

.contact-form .nav-tabs {
    font-size: 2em;
}

.contact-form .nav-tabs .nav-item:first-child {
    margin-left:15px
}

.contact-form .nav-tabs .nav-item .nav-link.active {
    color: #505050;
}

.contact-form .nav-tabs .nav-item .nav-link {
    color: #ebab00;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.outer-map-container {
  /* Set a border and rounded corners on the outer container */
  border: 2px solid #fff;
  border-radius: 16px;
  overflow: hidden; /* This is what clips the iframe's corners */
  position: relative;
  height: 480px; /* Adjust as needed */
}

.inner-map-container {
  /* This container pushes the iframe up to hide the banner */
  position: absolute;
  top: -60px; /* Moves the iframe up by 50px to hide the banner */
  width: 100%;
  height: calc(100% + 60px); /* iframe's height is extended to fill the space */
  border: none;
}

.inner-map-container iframe {
  /* The iframe itself should fill its parent container */
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Styles */
.footer-container {
    background-color: #06597e;
    color: #fff;
}

.footer-container ul {
    list-style-type: none;
    padding-inline-start: 0;
}

.footer-container ul li {
    line-height: 2em;
}

.footer-container ul li svg {
    padding-inline-end: 10px;
}

.footer-container .footer-service-area ul li {
    line-height: 2em;
    font-size: 18px;
}

.footer-container .footer-location ul li {
    line-height: 2.5em;
    font-size: 18px;
}

.footer-container h4 {
    margin-block-start: 2em;
    margin-block-end: 0.5em;
}

.footer-container a:link,
.footer-container a:active,
.footer-container a:visited,
.footer-container a:hover  {
    color:#fff;
    font-weight: 300;
}

.footer-container a:hover {
    text-decoration: underline;
}

.footer-menu {
    font-size: 14px;
}

.footer-logo {
    margin-block-start: 1em;
    color:#fff;
    font-weight: 700;
    font-size: 20px;
}
.footer-logo a:link,
.footer-logo a:hover,
.footer-logo a:active,
.footer-logo a:visited {
    font-weight: 700;
}

.footer-container .copyright {
    border-top: 1px solid #2b7291;
    padding-block-start: 2em;
    padding-block-end: 1em;
}

.footer-follow-us ul > li {
    display: inline-block;
    font-size: 22px;
    padding-inline-end: 0.3em;
}


/* Media Queries */
@media (max-width: 1600px) {
    .header .nav-link,
    .header .button,
    .phone-link {
        font-size: 1rem;
    }

    .header.smaller .logo {
        width: 80px;
    }
}

@media (min-width: 992px) and (max-width: 1600px) {
    .header .logo {
        width: 105px;
    }

    .phone-link {
        margin: 0;
    }

    .header .button {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1rem;
    }

    .header.smaller .navbar-nav {
        padding-right: 2.5rem;
    }

    .header.smaller .nav-link,
    .header.smaller .phone-link,
    .header.smaller .button {
        font-size: 0.85rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header .logo {
        width: 100px;
    }

    .header .navbar {
        width: 80%;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .header .button {
        margin: 0;
    }

    .header.smaller .navbar-nav {
        padding-right: 1rem;
    }

    .phone-link {
        margin-right: 1rem;
    }

    .header .nav-link, .header .button, .phone-link {
        font-size: 0.8em;
    }
}

@media (min-width: 1200px) {
    .header.smaller .navbar-nav {
        padding-right: 4.5rem;
    }
}

@media (max-width: 991px) {
    .header .navbar {
        justify-content: flex-start;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .header .logo {
        width: 130px;
    }

  
    .header .navbar-collapse {
        margin: 1rem -1.875rem 0 0;
    }

    .header .nav-link {
        display: inline-block;
    }

    .header-links {
        height: 156px;
        transition: 0.2s ease;
    }

    .header.smaller .header-links {
        height: 106px;
    }
}

@media (max-width: 767px) {
    .header-links {
        flex-direction: column;
        justify-content: center;
    }

    .phone-link {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        margin-right: auto;
        margin-left: auto;
    }

    .header .navbar {
        padding-left: 0;
        padding-right: 0;
        width: 130px;
    }
    
    .header .navbar-collapse {
        margin-right: -4rem;
    }
    
    .header .logo {
        width: 120px;
    }
    
    .header-links {
        flex-direction: column;
        justify-content: center;
    }

    .phone-link,
    .header .button {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .header .navbar-toggler {
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
}



/* About Us Styles */
.about-us-inner .article-sub-title {
    padding-left: 65px;
}

.about-us-inner .second-sub-title {
    padding-left: 130px;
}

.about-services-section .article-sub-title {
    padding-left: 0;
}

.boxes-container {
    margin-top: 55px;
    margin-bottom: 90px;
}

.boxes {
    z-index: 1;
    position: relative;
}

.boxes:before {
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1px;
    background: #ffba01;
    content:'';
}

.boxes .box {
    margin: 0 auto;
    width: 490px;
    background:linear-gradient(187deg, #ffba01, #ff9000);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0px 0px 24px 0px rgba(35, 31, 32, 0.18);
}

.boxes .logo-box {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background:linear-gradient(0deg, #55a778, #0094d3);
    box-shadow: 0px 0px 24px 0px rgba(35, 31, 32, 0.18);
}

.boxes h2 {
    margin-bottom: 20px;
    color: #07598c;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.6;
}

.boxes h2 svg {
    margin: 8px 20px 0 0;
    font-size: 30px;
}

.boxes p {
    margin-bottom: 0;
    color: #07598c;
    font-weight: 300;
    font-size: 1rem;
    line-height: 2;
}


@media (min-width: 992px) {
    .boxes .center-row,
    .boxes-container {
        z-index: 1;
        position: relative;
    }

    .boxes .box {
        max-width: 29vw;
        min-height: 300px;
    }

    .boxes-container::before,
    .boxes-container::after {
        z-index: -1;
        position: absolute;
        top: 0;
        bottom: 0;
        margin-top: auto;
        margin-bottom: auto;
        border-top: 1px solid #ffba01;
        border-bottom: 1px solid #ffba01;
        width: 28vw;
        height: 40%;
        content: '';
    }

    .boxes-container::before {
        left: 15vw;
        border-right: 1px solid #ffba01;
    }

    .boxes-container::after {
        right: 15vw;
        border-left: 1px solid #ffba01;
    }

    .boxes .center-row:before,
    .boxes .center-row:after {
        z-index: -1;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 80vw;
        height: 1px;
        background: #ffba01;
        content:'';
    }
    
    .boxes .center-row .box {
        margin-top: 2.02vw;
        margin-bottom: 2.02vw;
    }

    .boxes .logo-box {
        width: 25vw;
        height: 25vw;
    }

    .boxes .second-row {
        margin-top: -11vw;
    }

    .boxes .fourth-row {
        margin-bottom: -11vw;
    }

    .second-row .box:first-child,
    .fourth-row .box:first-child {
        margin-right: 16.5vw;
    }

    .second-row .box:last-child,
    .fourth-row .box:last-child {
        margin-left: 16.5vw;
    }

    .boxes .center-row .box:first-child {
        margin-right: 6.5vw;
    }

    .boxes .center-row .box:last-child {
        margin-left: 6.5vw;
    }
    
}

@media (min-width: 992px) and (max-width: 1200px) {
    .boxes h2 {
        font-size: 19px;
    }

    .boxes h2 svg {
    font-size: 25px;
    }

    .boxes p {
        font-size: 15px;
    }
    
    .boxes .logo-box img {
        max-width: 130px;
    }

}

@media (min-width: 1200px) {
    .boxes .second-row {
        margin-top: -9vw;
    }

    .boxes .fourth-row {
        margin-bottom: -9vw;
    }

    .boxes .box {
        padding: 40px 35px;
    }

    .boxes-container::before,
    .boxes-container::after {
        height: 570px;
    }

    .boxes .center-row .box {
        margin-top: 2.86vw;
        margin-bottom: 2.86vw;
    }


    .boxes .center-row .box:first-child {
        margin-right: 7vw;
    }

    .boxes .center-row .box:last-child {
        margin-left: 7vw;
    }

    .second-row .box:first-child, 
    .fourth-row .box:first-child {
        margin-right: 17vw;
    }

    .second-row .box:last-child, 
    .fourth-row .box:last-child {
        margin-left: 17vw;
    }  

    .boxes .center-row .box {
        margin-top: 2.5vw;
        margin-bottom: 2.5vw;
    }
}

@media (min-width: 1400px) {
    .boxes .second-row {
        margin-top: -6vw;
    }

    .boxes .fourth-row {
        margin-bottom: -6vw;
    }

    .boxes .box {
        max-width: 26vw;
    }

    .boxes .logo-box {
        width: 20.31vw;
        height: 20.31vw;
    }

    .second-row .box:first-child,
    .fourth-row .box:first-child {
        margin-right: 15.63vw;
    }

    .second-row .box:last-child,
    .fourth-row .box:last-child {
        margin-left: 15.63vw;
    }

    .boxes .center-row .box:first-child {
        margin-right: 8.5vw;
    }

    .boxes .center-row .box:last-child {
        margin-left: 8.5vw;
    }

}

@media (min-width: 1640px) {
    .boxes .second-row {
        margin-top: -2.34vw;
    }

    .boxes .fourth-row {
        margin-bottom: -2.34vw;
    }

    .boxes .center-row {
        z-index: 1;
        position: relative;
        margin-top: -20px;
        margin-bottom: -20px;
    }   

    .boxes-container::before,
    .boxes-container::after {
        height: 480px;
    }
    .boxes .center-row .box {
        margin-top: 3.9vw;
        margin-bottom: 3.9vw;
    }
}

@media (min-width: 1921px) {
    .boxes .box {
        max-width: 100%;
    }
        
    .boxes .logo-box {
        width: 390px;
        height: 390px;
    }
    
    .second-row .box:first-child,
    .fourth-row .box:first-child {
        margin-right: 300px;
    }

    .second-row .box:last-child,
    .fourth-row .box:last-child {
        margin-left: 300px;
    }

    .boxes .center-row .box:first-child {
        margin-right: 250px;
    }

    .boxes .center-row .box:last-child {
        margin-left: 250px;
    }

    .boxes .second-row {
        margin-top: -45px;
    }

    .boxes .center-row {
        margin-top: -54px;
        margin-bottom: -54px;
    }

    .boxes .fourth-row {
        margin-bottom: -45px;
    }
}


@media (max-width: 991px) {
    .boxes .box {
        margin-top: 55px;
        max-width: 90%;
    }

    .boxes .logo-box {
        margin: auto;
    }
}