html{
    overflow-x: hidden;
}

nav, .navbar{
    max-width: 100%;
}

.nav-link-accent{
  box-sizing: content-box;
  border-radius: 2px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  background-color: #202fff;
}
#google-map-container iframe {
    width: 100%; /* Responsive width */
    height: 400px; /* Adjust as needed */
    border: none; /* Optional: removes default border */
    /* Add more styling as needed */
}

.footer{
    border-top: 10px solid #202fff;
}

#commercialServicesBtn{
    font-size: 1rem !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

#fiMasthead{
    box-sizing: content-box;
    width: 125px;
    height: 125px;
    padding-top: 30px;
}

#testimonials .container{
    padding-bottom: 20px;
}

.btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
}

.navbar-nav .nav-item .nav-link:hover{
    color: #ffffff !important;
}
h1:hover:after { transform: scaleX(1); }
.masthead-heading, .masthead-subheading{
    color: white;
}

/* Service Areas Display Styling */
.service-areas-display {
    background: rgba(32, 47, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    margin: 15px auto;
    max-width: 90%;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-areas-display:hover {
    background: rgba(32, 47, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.service-areas-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive design for service areas */
@media only screen and (max-width: 768px) {
    .service-areas-display {
        max-width: 95%;
        padding: 10px 15px;
        border-radius: 20px;
    }
    
    .service-areas-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 480px) {
    .service-areas-display {
        max-width: 98%;
        padding: 8px 12px;
        border-radius: 18px;
    }
    
    .service-areas-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Screen reader only class for SEO content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.navbar-nav .nav-item .nav-link::after{
    color: #ffffff !important;
    display:block;
    content: '';
    border-bottom: solid 2px #FFFFFF;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
}
.navbar-nav .nav-item .nav-link:hover:after{
    transform: scaleX(1);
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover{
    color: white;
}
header.masthead{
    /* background-image: url("../assets/img/header-bg-darker.jpg"); */
    background-image: url("../assets/img/header-bg-strait.jpg");
    background-position-y: top;
}
.servicePhoto{
    width: 225px;
    height: 225px;
    border-radius: 100%;
    box-shadow: 0 0 7.5px #000000;
}
.carousel-inner{
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.carousel-item{
    text-align: center;
}
.logoDivider{
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}
.logoDivider img{
    margin-left: 50%;
    max-width: 100%;
    transform: translateX(-50%);
}
@media only screen and (max-width: 992px) {
    .navbar-nav .nav-item .nav-link:hover:after{
        transform-origin:  0% 50%;
    }
}
@media only screen and (max-width: 400px) {
    .masthead-heading{
        font-size: 3rem !important;
    }
}
@media only screen and (max-width: 350px) {
    .masthead-heading{
        font-size: 2.5rem !important;
    }
}