/* Reset */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&family=Quicksand:wght@300;400;500;700&family=Lato:wght@300;400;700;900&family=Nunito:wght@300;400;600;700;800&display=swap");


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	   font-family: 'Poppins', sans-serif;
  	background: #efefef;
}

.container {
    width: 97%;
    max-width: 1500px;
    margin: auto;
}

.top-bar {
    background: #fff; /* Dark blue */
    text-align: right;
    padding: 12px;
	position:sticky;
	position:relative;
	  display: flex;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 5px;
  justify-content: center;
  align-items: center;
  height: auto;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index:5;
}

.top-bar .btn {
    background: #004080; /* Light blue */
    color: #fff;
    padding: 5px 8px;
    text-decoration: none;
    border-radius: 3px;
	font-size:20px;
	transition: background 0.6s ease;
	transition: transform 0.6s ease;
}

.top-bar .btn .fas{
	color:#fff;
	font-stretch:expanded;
}

.top-bar .btn:hover .fas{
	color:#ffbf00;
}

.top-bar .btn:hover {
    background: #003060;
	transform:scale(1.03);
}

header {
    background: #FFBF00; /* Dark blue */
    color: #fff;
    padding-top: 5px;
	margin:0;
    display: flex;
    align-items: center;
	position:relative;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
	padding:0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

.business-name {
    font-size: 30px;
    margin-left: 15px;
    color: #004080;
	font-weight:bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 37px 10px;
    transition: border-bottom 0.3s ease-in-out;
	font-size:19px;
	font-weight:bold;
	text-transform:uppercase;
}

.contact-info a{
    font-size: 18px;
	color:#004080;
	font-weight:bold;
	text-decoration:none;
    padding: 37px 0px;
}

nav ul li a:hover {
	border-bottom:#004080 6px solid;
	cursor:pointer;
}

.contact-info a:hover {
	border-bottom:#fff 6px solid;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle i {
    font-size: 24px;
    color: #fff;
}

.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the transparency as needed */
    z-index: 1; /* Ensure the overlay is above the slides but below the text */
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0; /* Ensure the slides are below the overlay */
}

.slide.active {
    opacity: 1;
}

.slide-text {
    color: #fff;
    text-align: left;
background: linear-gradient(to top left, rgba(0, 25, 80, 0.45), rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(50%);
    opacity: 0;
    transition: transform 3.5s ease-in-out, opacity 3.5s ease-in-out;
    position: relative; /* Ensure text is above the overlay */
}

.slide-text h2 {
	font-size:36px;
	line-height:1;
		    font-family: 'Roboto', sans-serif;
		font-weight:500;
		text-transform:uppercase;
}

.slide-text h3 {
	font-size:24px;
	line-height:2.65;
	    font-family: 'Lato', sans-serif;
		font-weight:700;
}

.slide-text h4 {
	font-size:18px;
	line-height:1.75;
	    font-family: 'Lato', sans-serif;
		font-weight:700;
}

.slide.active .slide-text {
    transform: translateY(90%);
    opacity: 1;
}

.loader-container {
    position: absolute;
    bottom: 40px;
    left: 15%;
    transform: translateX(-50%);
    display: flex;
}

.loader {
    width: 25px;
    height: 5px;
    background: #FFF;
    margin: 0 6px;
    border-radius: 2px;
    opacity: 0.5;
    transition: opacity 0.8s, transform 0.8s;
}

.loader.active {
    opacity: 1;
    transform: scale(1.35);
}

.works {
  background: #ffbf00;
}

.how-it-works {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
	margin:0;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
    flex: 1;
    max-width: 23%;
    text-align: center;
	color:#004080;
	line-height:2;
	transition: transform 0.6s ease;
}

.step:hover {
	transform:scale(1.04);
}

.step-number {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #004080;
    color: #FB0;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(255, 255, 0, 0.2), /* Main shadow */
                0 6px 20px rgba(0, 0, 0, 0.19); /* Larger shadow */
    transition: transform 0.2s ease-in-out;
}


.step-content h3 {
    margin: 10px 0;
	font-size:24px;
}

.step-content p a{
	color:#c30;
	font-weight:400;
}

.arrow {
    font-size: 3.2em;
	font-weight:bold;
    color: #004080;
}

@media (max-width: 768px) {
    .how-it-works {
        flex-direction: column;
    }

    .arrow {
        display: block;
        content: '\2193'; /* Unicode for downward arrow */
        transform: rotate(90deg);
    }

    .step {
        margin-bottom: 15px;
    max-width: 94%;
    }

}

.service {
  	background: #fff;
}
        .service-areas {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 20px 0;
            background-color: #fff;
        }

        .service-areas .column {
    width: calc(50% - 10px); /* 50% width minus padding */
            max-width: 50%;
            padding: 20px;
            box-sizing: border-box;
        }

        .service-areas .column h3{
			line-height:2;
			margin-left:-10px;
			font-weight:normal;
		}
		
        .service-areas .map {
            width: 100%;
            height: 500px;
            background-color: #ccc;
        }

        .service-areas ul {
            list-style-type: disc;
            padding: 0;
            margin: 0;
        }

        .service-areas li {
            padding: 10px 0;
            font-size: 18px;
        }

        @media (max-width: 768px) {
            .service-areas .column {
                max-width: 100%;
                flex: 1 1 100%;
            }
            .service-areas .column:last-of-type {
				margin:0 10px;
			}

            .service-areas .map {
                height: 300px;
            }
        }

.social-media a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #0080FF; /* Light blue */
}

/* ABOUT SECTION */

.section-title {
  margin: 15px;
  color: #FFF;
  font-weight:550;
  font-size: 26px;
  padding-left:5px;
  background:#00A0D0;
}

.service-title {
  margin: auto;
  color: #004080;
  font-weight:550;
  padding:15px 0 0 0;
  font-size: 28px;
  text-align:center;
  text-transform:uppercase;
}

.row-about {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.divide {
    padding: 10px;
    box-sizing: border-box; /* Include padding in the width */
}

.divide:first-of-type {
    width: calc(35% - 20px); /* 50% width minus padding */
}

.divide:last-of-type {
    width: calc(65% - 15px);
	margin-right:10px;
}

.card-about {
    position: relative;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    margin: 10px auto;
    width: calc(50% - 10px); /* 50% width minus margin */
    transition: background-color 0.3s ease; /* Smooth background color transition on hover */
}

.card-about::before, .card-about::after {
    content: '';
    position: absolute;
    left: 55px;
    width: 1px;
    height: 160px;
    background-color: #004080;
	transition:opacity 0.3s ease;
}

.far {
	color:#004080;
}

.fas {
	color:#004080;
}

.card-about::before {
    top: 30px;
}

.card-about::after {
    bottom: 30px;
}

.card-about:hover::before, .card-about:hover::after {
    opacity: 0; /* Hide lines on hover */
}

.card-about:hover .far {
	color:#FFF;
}

.card-about:hover .fas {
	color:#FFF;
}

.iconbox {
    display: flex;
    align-items: center;
}

.iconbox .icon {
width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px; /* Adjust size as needed */
    margin-right: 10px;
	background:#f8f9fa;
	border:1px solid #004080;
	z-index:2;
	transition:height 0.3s ease;
}

.card-about:hover .iconbox .icon {
	border:none;
	background:#004080;
	height:150px;
}

.iconbox .text {
    flex: 1;
	margin-left:15px;
	text-align:left;
	line-height:2;
	color:#444;
}

/* For two cards per row in the second column */
.divide:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.iconbox .text h2{
	font-size:26px;
	font-weight:550;
	margin-bottom:20px;
	color:#004080;
}

.iconbox .text h3 {
    font-size: 16px;
    font-weight: normal;
    color: #111;
    padding: 12px 0;
    display: inline-block;
    transition: transform 1s ease;
    vertical-align: middle; /* Ensures the h3 and ::before are aligned */
}

.iconbox .text a{
	color:#111;
	text-decoration:none;
}

.iconbox .text h3::before {
    content: ">>>";
    display: inline-block;
    width: 0;
    overflow: hidden;
    transition: width 1.5s ease;
    white-space: nowrap;
    vertical-align: middle; /* Ensures the h3 and ::before are aligned */
}

.boxed {
	margin:12px;
}

.card-about:hover .iconbox .text h3::before {
    width: 25px; /* Adjust this value based on the width of your content */
}

.card-about:hover .iconbox .text h3 {
    transform: translateX(25px); /* Adjust this value to match the width of the ::before element */
}

/*FORMS*/

.rows{
	padding:8px;
}

input[type=text], input[type=email], input[type=tel], input[type=datetime-local], select, textarea{
  width: 100%;
  padding: 9px;
  border: 1px solid #004080;
  border-radius: 5px;
  box-sizing: border-box;
  resize: vertical;
  font-size:16px;
  color:#004080;
  transition:0.5s ease-in-out;
  background:#fff;
}

input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover, select:hover, textarea:hover{
	border:solid 2px #004080;
}


/* Style the submit button */
input[type=submit] {
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  top:10px;
  position:relative;
  font-size:22px;
  background:#004080;
  transition:0.5s ease-in-out;
  width:100%;
  display:flex;
  align-items: center;
  justify-content: center;
  margin:auto;
}

input[type=submit]:hover {
	transform:scale(1.05);
}
/* Style the container */
.containers {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 100%;
  margin: 0px auto;
}

/* Clear floats after the columns */
.rows:after {
  content: "";
  display: table;
  clear: both;
}

.review-section {
    text-align: center;
  background: linear-gradient(225deg, #ffbf00, transparent, transparent, transparent);
    position: relative;
}

.review-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #004080;
}

.review-slider {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.review-slide {
    display: none;
    padding: 50px;
    box-sizing: border-box;
    color: #222;
    font-size: 1.2em;
	line-height:1.85;
}

.review-slide.active {
    display: block;
}

.review-slide a{
	color:#c30;
	text-decoration:none;
}

.review-rating {
    margin-top: 15px;
    color: #004080;
}

.stars {
    color: #fb0;
    font-size: 1.85em;
}

.reviewer {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 8px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
	border:none;
    transition: 1.2s ease-in-out;
    user-select: none;
    background-color: #004080;
    transform: translateY(-50%); /* Vertically center the arrows */
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,1);
}

    .suggestions-list {
      max-height: 150px;
      overflow-y: auto;
      position: absolute;
      z-index: 1000;
      background-color: #fff;
      width: 95%;
    }
    .suggestions-item {
      padding: 10px;
      cursor: pointer;
    }
    .suggestions-item:hover {
      background-color: #e9e9e9;
    }

.footer {
    background: linear-gradient(225deg, #111, #222, #111, #333);
    color: #fff;
    padding: 20px 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-social-media ul {
    list-style: none;
    padding: 0;
}

.footer-social-media ul li {
    line-height: 2.45;
    font-size: 20px;
}

.footer-social-media ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
	transition:color 0.6s ease;
}

.footer-social-media ul li a:hover {
	color:#ffbf00;
}

.footer-social-media ul li a i {
    margin-right: 10px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px 0;
}

.footer-column p {
    font-size: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    line-height: 2.65;
    font-size: 20px;
}

.footer-column ul li .fas {
    color: #fff;
    font-size: 20px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
	transition:color 0.6s ease;
}

.footer-column ul li a:hover {
	color:#ffbf00;
}

.footer-heading {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #fb0;
    text-transform: uppercase;
    font-weight: 400;
}

.footer-column-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column-image img {
    max-width: 100%;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
    padding-bottom: 22px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-social-media a {
    text-decoration: none;
    color: #fff;
    font-size: 22px;
}

.footer-social-media .fab {
    font-size: 32px;
    color: #fff;
}

.footer-copyright p {
    line-height: 2;
}

.footer-copyright p a {
    color: #ffbf00;
    display: block;
    text-align: center;
    line-height: 2.75;
	font-weight:500;
    font-size: 20px;
    text-decoration: none;
	transition:color 0.6s ease;
}

.footer-copyright p a:hover {
	color:#fff;
}

.shortline {
    height: 2px;
    width: 60px;
    background: #fb0;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        margin: 10px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-media {
        align-items: flex-start;
    }

    .footer-social-media ul {
        display: flex;
        flex-direction: column;
    }

    .footer-social-media ul li {
        text-align: left;
    }
}

.success {
	width:35%;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin: 30px auto;
    padding: 30px;
	position:relative;	
}

  .phone-button {
    position: fixed;
    bottom: 8px; /* Adjust as needed */
    right: 8px;
    display: flex;
    align-items: center;
	z-index:9999;
	visibility:hidden;
}

.phone-text{
    background: #004080;
    padding: 5px 8px;
    border-radius: 10px; /* Overall border radius */
    color: #fff; /* Text color */
    font-size: 16px; /* Adjust as needed */
    font-weight: bold;
	z-index:+1;
	transition:transform 0.6s ease;
	cursor:pointer;
	text-decoration:none;
}

.phone-text a{
	text-decoration:none;
	color:#fff;
}

.phone-text .fas {
	color:#fff;
	margin-left:2px;
}

.phone-text a:hover {
	transform:scale(1.1);
}

.success h2 {
	font-size:26px;
	font-weight:bold;
	margin:30px auto;
	text-align:center;
}

.tick {
	font-size:80px;
	text-align:center;
	color:#004080;
	margin:20px 0;
}

.success h3{
	font-size:21px;
	color:#222;
	    font-family: 'Poppins', sans-serif;
		line-height:1.85;
		font-weight:400;
		text-align:center;
		padding:20px;
}

.success a {
	font-size:24px;
	font-weight:500;
	color:#FFF;
	text-align:center;
	text-decoration:none;
	background:#004080;
	padding:10px 5px;
	border-radius:3px;
	margin:20px auto;
  width: fit-content;
  display:block;
}

/* Media Queries for responsiveness */

/* Stacking the .divide sections on top of each other */
@media (max-width: 1200px) {
  .row-about {
    flex-direction: column;
	width:100%;
  }

  .divide {
    width: 100%;
    margin-bottom: 20px; /* Add some space between stacked items */
  }
  
  .divide:first-of-type {
    width: 100%;
    margin-bottom: 20px; /* Add some space between stacked items */
  }

  .divide:last-of-type {
    width: 100%;
	margin:15px 15px 15px 15px;
  }

}

/* Making .card-about full-width on smaller screens */
@media (max-width: 700px) {
  .card-about {
    width: 100%;
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
.loader-container {
	left:27%;
}

.success {
	width:95%;
	margin:30px auto;
	align-items: center;
	justify-content: center;
    padding: 30px 0;
}

  .phone-button {
	  visibility:visible;
  }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 800px) {
  .col-25, .col-75 {
    width: 100%;
    margin-top: 0;
	max-width:100%;
	left:0;
  }
  
  input[type=submit]
  {
	  width:88%;
	  margin:auto;
  }
  
}

/*END OF FORMS*/

@media (max-width: 1200px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
}

 nav ul {
    display: none;
    background: #ffbf00; /* Dark blue */
    position: absolute;
    top: 100%;
	border-top: solid 1px #004080;
    left: 0;
    width: 100%;
    z-index: 9999; /* Ensure dropdown is above all other elements */
    transform: translateX(100%);
    transition: transform 0.8s ease-in-out; /* Smooth transition */
}

.slide-text {
    transform: translateY(20%);
    transition: transform 3.5s ease-in-out, opacity 3.5s ease-in-out;
}

.slide.active .slide-text {
    transform: translateY(60%);
}

nav ul.active {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    z-index: 9999; /* Ensure it matches or is higher */
}


    nav ul li {
        margin: 10px 0;
}

nav ul li a {
    padding: 12px 10px;
}

nav ul li a:hover {
	border-bottom: none;
	background:#004080;
	color:#fff;
}

    .hero {
        height: 60vh;
}

    .contact-info {
        display: none;
}

.business-name {
    font-size: 28px;
    margin-left: -12px;
	font-weight:bold;
	text-align:center;
	line-height:1.25;
}
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 525px; /* Fixed height for larger screens */
}

.text-container {
    flex: 1;
  background: linear-gradient(45deg, #ffbf00, transparent, rgba(0, 64, 128, 0.5), transparent);
    padding: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Match container height */
    z-index: 2; /* Ensure text stays above images */
}

.text-box {
    font-size: 1.65em;
    line-height: 2.15;
    color: #111;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slideshow {
    flex: 1;
    position: relative;
    height: 100%; /* Match container height */
    z-index: 1; /* Ensure slides are behind text */
}

.myslide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}

.myslide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .slideshow-container {
        flex-direction: column;
        height: auto; /* Allow height to adjust */
        position: relative;
    }

    .text-container {
        position: absolute;
        height: 34%; /* Position text at the bottom */
        left: 0%;
        background: rgba(0, 0, 0, 0.5); /* Background color behind text */
        padding: 16px;
		border-top: 3px solid #F90;
		border-bottom: 3px solid #F90;
        width: 100%; /* Adjust width for smaller screens */
        z-index: 2; /* Ensure text is on top */
    }

    .text-box {
        color: #fff;
    font-size: 1.2em;
    line-height: 1.6;
	text-align:center;
    }


    .slideshow {
        position: relative;
        width: 100%;
        height: auto; /* Let the image adjust its height */
    }

    .myslide img {
        width: 100%;
        height: auto; /* Ensure proper scaling for images */
    }
    
    .myslide {
        position: relative; /* Ensure slides align properly */
    }

    /* Ensure text is centered vertically */
    .text-container {
        top: 50%;
        transform: translateY(-50%);
    }
}