/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Mulish;
    src: url('../assets/Mulish-Regular.woff2');
    font-display: swap;
}



body {
    font-family: Mulish, 'Arial', sans-serif;
    line-height: 1.6;
}

h1 {
	color: #ffffff;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.9rem);
	color: #ffffff;
}

h2 span {
    font-weight: 400;
}

h3 {
	font-size: clamp(1rem, 2.5vw, 1.4rem);
}

.subtitle {
	color: #00A6FF;
}

p {
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.container {
	max-width: 1440px;
	margin: auto;
	width: 100%;
}

header {
    text-align: center;
    padding: 1rem 0 0 0;
}

.button1 {
    background-color: #6A2763;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px 50px !important;
}

.button2 {
    background-color: #ffffff;
    color: #283B7C;
    border-radius: 5px;
    padding: 5px 50px;
    border: 0px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-height: 70px;
    max-width: 1200px;
    margin: auto;
}

.navbar img {
    max-width: 100%;
    height: 100%;
	max-height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    display:none !important;
}

.menu-toggle {
    display: none;
}


#banner {
	background-color: #00A6FF;
	color: white;
    
}

.banner {
	display:flex;
	justify-content: space-between;
	max-width: 1400px;
	align-items: center;
	padding: .5rem 0;
	margin: auto;
}

main section:not(#solution):not(#offer) {
	padding: 5%;
}

#hero {
	display: flex;
	min-height: 400px;
	background-image: url('../images/hero.webp');
	background-size: cover;
	background-position: left center;
	
}



.herotext {
	max-width:530px;
}



.heroright img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#buttons {
    display:flex;
    padding-top: 50px;
    gap: 10px;
}

#buttons .button1, #buttons .button2 {
    padding: 10px 50px !important;
    border: none;
}

.button1 svg {
    padding-left: 10px;
    margin-right: 15px;
    margin-bottom: -4px;
    height: 16px;
    width: 50px;
    position: absolute;
}

#buttons .button2 svg {
    padding-right: 6px;
    margin-bottom: -4px;
    height: 16px;
    width: 22px;    
}

#painpoints {
	background-image: url('../images/know_whats_working.webp');
	background-size: cover;
	background-position: top center;
	overflow: hidden;
	max-height: 750px;
	height:750px;
	display: flex;
}

.painpointstext {
	max-width:600px;	
}

#painpoints h2 span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.solutioncontainer{
	display: flex;
	max-width: 1440px;
	margin: auto;
	width: 100%;	
}

#solution {
	background-position: 1100% 0;
	overflow: hidden;	
    background: linear-gradient(
    to right,
    white 0%,
    white 60%,
    #283B7C 60%,
    #283B7C 100%
    );	
}

#solution h2 span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.solutionleft {
	display: flex;
	flex-direction: column;
	flex: 3;
	justify-content: space-between;
	padding: 110px 2%;
}

.numbers {
	display: flex;
	gap: 20px;	
	align-items: top;
	justify-content: center;
}

.solutionleft p {
	color: #6C757D;
	font-size: clamp(1rem, 1.2vw, 1rem);
	
}

#solution h3 {
	font-size: 24px;	
	line-height: 1em;
	padding-bottom: 10px;
	font-weight: 500;
}

.number {
	background-color: rgba(106, 39, 99, 0.1);
	border: 1px solid rgba(106, 39, 99, 0.2);
	min-height: 80px;
	max-height: 80px;
	min-width: 80px;	
	align-items: center;
	justify-content: center;
	display: flex;	
	flex: 2;
	color: #6A2763;
	font-size: 30px;
}

.solutionmiddle {
	position: relative;
	flex: 3;
}

.solutionmiddle::before {
	display:block;
	content: "";
	position: absolute;
	top: -1px; left: 1px;
	width: 100%; height: 100%;
	background: #283B7C; /* top-left color */
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	
}

.solutionright {
	flex: 5;
	text-align: center;
	padding: 110px 2%;
	background: #283B7C;
}

.quote {
	margin-top: 60px;
	border: 1px solid #00A6FF;
	padding: 20px 15px 20px 50px;
	text-align: left;
	position: relative;
}

.quote::before {
	content:'“';
	position: absolute;
	top:-25px;
	left: 10px;
	font-size: 95px;
	max-height: 20px;
	color: #00A6FF;
}


.quote::after {
	content:'-Brian Helton Mercer Transportation';
	position: absolute;
	bottom:0px;
	right: 10px;
	font-size: 12px;
	max-height: 30px;
	color: #00A6FF;
	font-weight: 600;
}


#reversal {
    background-image: url('../images/background.webp');
	background-size: cover;
	background-position: top center;
    text-align: center;
    padding-bottom: 150px !important;
}

#reversal H2, #reversal p {
    color: #000000;
}

#reversal H2 span {
    font-weight: 400;
}

#reversal .reversaltop {
    padding-bottom: 2% !important;
}

.ctabutton {
    padding-top: 40px;
}

.listcontainer {
    display: flex;
    text-align: left;
    gap: 30px;
    padding-top: 5%;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-items: center;
    max-width: 1440px;
    margin: auto;
}

.listitem {
    max-width: 250px;
}

#reversal .listcontainer p {
 color: #6C757D;
}

#reversal .listcontainer img {
    margin-left: -15px;
    
}

#testimonials .quote {
    border: none;
    max-width: 700px;
    margin: auto;
}

#offer {
	background-position: 1100% 0;
	overflow: hidden;
    margin-top:-100px;
    background: linear-gradient(
    to right,
    #283B7C 0%,
    #283B7C 30%,
    transparent 30%,
    transparent 100%
    );	
}

.offercontainer {
	display: flex;
	max-width: 1440px;
	margin: auto;
	width: 100%;
}

.offerleft {
	flex: 3;
	padding: 110px 2%;   
	background: #283B7C;     
}

.offermiddle {
	position: relative;
	flex: 2;
}

.offermiddle::before {
	display:block;
	content: "";
	position: absolute;
	top: 0; 
    left: -1px;
	width: 100%; 
    height: 100%;
	background: #283B7C; 
	clip-path: polygon(100% 100%, 0 0, 0 100%);
	
}

.offerright {
	flex: 3;
	padding: 110px 2%;   
}

.offerright p {
    color: #000000;
}

#cta {
    margin-top:-1px;
    background-image: url('../images/contactBackground.webp');
	background-size: cover;
	background-position: top center;
}

#cta h2 span {
    color:rgba(255, 255, 255, 0.7);

}

.ctacontainer {
	display: flex;
	max-width: 1440px;
	margin: auto;
	width: 100%;
    gap: 5%;
}

.ctaleft {
	flex: 5;
    border: 2px rgba(106, 39, 99, 0.2) solid;
    border-radius: 10px;
    background: white;
    padding: 25px 40px;
}

.ctaleft p {
   color: #6C757D; 
}

.ctaleft h2 {
    color: black;
    font-weight: 400;
    font-size: 2.25rem;
    text-align: center;

}

.divider {
    max-width: 100px;
    height:1px;
    border: 2px solid #00A6FF;
    margin: 20px auto;
}

#cta ul {
    padding:25px;
}

#cta .ctabutton {
    margin:auto;
    max-width: 218px;
}

.ctaright {
	flex: 5;
    display:flex;
    align-items: center;
}

@media only screen  
and (max-device-width : 786px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        max-height: unset;
    }
    .banner {
        flex-direction: column;
        gap: 15px;
    }
    #hero {
        display: flex;
        min-height: 400px;
        background-color: #283B7C;
        background-image: unset;
        background-size: cover;
        background-position: left center;
        text-align: center;        
    }

    .herotext {
        max-width: unset;
    }

    #buttons {
        justify-content: space-around;
    }
    #painpoints {
        min-height: 300px;
        height: unset;
    }
    .container {
        text-align: center;
    }
    .solutioncontainer{
        display: flex;
        flex-direction:column-reverse;
        max-width: 1440px;
        margin: auto;
        width: 100%;	
    }    
    #solution {
        background: unset;	
    }
    .solutionleft {
        gap: 30px;
    }
    .solutionmiddle {
        display:none;
    }
    .numbers {
        justify-content: unset;
    }
    .number {
        max-width: 78px;
    }
    #offer {
        background-color: #283B7C;	
        text-align: center;        
    }
    .offerleft {
        padding-bottom: unset;
    }
    .offerright {
        padding-top:unset;
    }
    .offerright p {
        color: #ffffff;
    }
    .offercontainer {

        flex-direction:column;
        
    }
    .ctacontainer {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
}

@media only screen  
and (max-device-width : 550px) {
    #buttons {
        flex-direction: column;
    }
    .links {
        flex-direction: column;
    }
}

@media only screen  
and (max-device-width : 1345px) {

    .listcontainer {
        max-width: 772px;
    }

}

@media only screen  
and (max-device-width : 654px) {

    .listcontainer {
        text-align: center;
    }

}