/*
Theme Name: motservicingrepairs
Theme URI: https://www.motservicingrepairs.co.uk/
Author: Patrick
Author URI: https://wppatrickk.com/
Description: Custom Theme for motservicingrepairs
Version: 1.0.0
Text Domain: msr
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/


* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

body {
	line-height: 1;
	color: black;
	background: white;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	text-align: left;
	font-weight: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

/*--------------------------------------------------------------
# WP Core Styles
--------------------------------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 25px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Predefined Styles
--------------------------------------------------------------*/

:root {
	--red: #AE0100;
    --yellow: #F2B504;
    --green: #198336;
}

body {
	background-color: #fff;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #111;
}

a {
	color: var(--blue);
	text-decoration: none;
	-webkit-transition: all 0.2s var(--transition) 0s;
	transition: all 0.2s var(--transition) 0s;
}

a:hover {
	text-decoration: none;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

hr {
	border: none 0;
	border-bottom: 1px solid #E0E0E0;
	height: 1px;
	margin: 10px 0;
}

.inner {
	width: 100%;
	max-width: 1400px;
    padding: 0 30px;
	margin: 0 auto;
}

.clear {
	clear: both;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
    line-height: 1.2;
	margin-bottom: 15px;
    text-transform: uppercase;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 48px;
}

h3 {
	font-size: 32px;
}

h4 {
	font-size: 24px;
}

p {
	line-height: 1.5;
	margin-bottom: 20px;
}

p:last-child {
	margin-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

input[type="text"], input[type="email"], textarea, select {
	background-color: #fff;
    border: 0;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    font-family: "Poppins", sans-serif;
}

.button,
input[type="submit"] {
	background-color: var(--yellow);
    padding: 20px 80px;
    border-radius: 5px;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
}

.form-clear {
    background-color: #fff;
}

.form-submit span:before {
    width: 20px;
    height: 20px;
    content: "";
    background: url('images/search-icon.png') no-repeat center / contain;
    display: inline-block;
}

.form-clear span:before {
    width: 20px;
    height: 20px;
    content: "";
    background: url('images/clear-icon.png') no-repeat center / contain;
    display: inline-block;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex-middle {
    align-items: center;
}

.flex-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
    margin: 0 -25px;
    justify-content: start;
}

.col {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 0 25px;
}

.col3 {
    flex: 1 1 33.33%;
    max-width: 33.33%;
    padding: 0 25px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.center {
    text-align: center;
}

/*--------------------------------------------------------------
# Loader Styles
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/

.site-header {
    padding: 15px;
}

.site-branding img {
    max-width: 148px;
}

.site-menu .menu {
    display: flex;
    gap: 20px;
}

.site-menu ul li {
    position: relative;
    padding-left: 20px;
}

.site-menu ul li:first-child {
    padding-left: 0;
}

.site-menu ul li:before {
    width: 2px;
    height: 100%;
    background-color: var(--red);
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.site-menu ul li:first-child:before {
    display: none;
}

.site-menu ul li a {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
}

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/

.mobile-slide {
	position: relative;
	height: 18px;
	display: none;
	float: right;
	top: 2px;
	cursor: pointer;
}

.mobile-slide span {
	background-color: #cf2228;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 25px;
	top: 7px;
	transition: all .3s ease-out;
}

.mobile-slide span::before,
.mobile-slide span::after {
	background: #cf2228;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}

.mobile-slide span::before {
	top: 8px;
}

.mobile-slide span::after {
	top: -8px;
}

.menu-opened .mobile-slide span {
    background: transparent;
}

.menu-opened .mobile-slide span:before,
.menu-opened .mobile-slide span:after {
	background: #cf2228;
	top: 0;
}

.menu-opened .mobile-slide span:before {
	transform: rotate(-45deg);
}

.menu-opened .mobile-slide span:after {
	transform: rotate(45deg);
}

/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/

.banner {
    padding-top: 80px;
    position: relative;
}

.banner-bg,
.reviews-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
}

.banner:before,
.reviews:before {
    width: 100%;
    height: 720px;
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.banner .inner {
    position: relative;
    z-index: 2;
}

.banner-form {
    background-color: var(--red);
    padding: 40px 40px 100px;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.banner-form form {
    padding: 12px 0;
}

.banner h1 {
    margin-bottom: 5px;
}

.form-row {
    text-align: left;
    gap: 10px;
}

.form-field {
    flex-grow: 1;
}

.form-row:nth-child(2) {
    justify-content: center;
    padding: 12px 0 20px;
}

.form-row:nth-child(2) .form-field {
    flex-grow: 0;
}

.form-field button span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-form p a {
    text-decoration: underline;
}

.banner-image {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -120px;
}

.section {
    padding: 40px 0;
}

.logos {
    gap: 20px;
    padding-top: 24px;
}

.features {
    border-top: 4px solid #D9D9D9;
    padding-top: 60px;
    margin-top: 60px;
}

.feature-icon {
    margin-bottom: 24px;
    height: 80px;
}

.latest-blogs .col {
    padding-top: 20px;
    padding-bottom: 20px;
}

.blog-card a {
    display: block;
    color: #fff;
}

.blog-image {
    display: block;
    position: relative;
    padding: 32px 32px 48px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.blog-image:before {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.blog-image h3 {
    font-size: 28px;
    text-transform: none;
}

.blog-image h3,
.blog-image p {
    position: relative;
    z-index: 2;
}

.blog-date {
    color: var(--yellow);
}

.blog-link {
    background-color: var(--green);
    padding: 16px 32px;
}

.blog-link span {
    font-weight: 700;
    text-transform: uppercase;
}

.blog-link img {
    max-width: 42px;
}

.benefits-wrap {
    background-color: #FFF9EA;
    padding: 60px 100px;
    border-radius: 10px;
}

.benefit {
    padding: 20px 0;
}

.benefit-icon {
    width: 104px;
}

.benefit-text {
    width: calc(100% - 104px);
    padding-left: 60px;
}

.benefit-text h3 {
    text-transform: none;
    font-size: 32px;
}

.reviews {
    position: relative;
    padding-bottom: 120px;
}

.reviews-bg,
.reviews:before {
    height: 100%;
}

.reviews .inner {
    position: relative;
    z-index: 1;
}

.reviews-wrap .slick-track {
    margin: 0 -10px;
}

.reviews-wrap .slick-slide {
    padding: 0 10px;
}

.reviews-slide {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
}

.review-text {
    font-size: 18px;
    padding-top: 24px;
}

.review-name {
    color: var(--green);
    font-weight: 700;
    margin-bottom: 2px;
}

.slick-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 32px;
}

.slick-dots button {
    background: none;
    border: 2px solid #fff;
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 50%;
    text-indent: -9999px;
}

.slick-dots .slick-active button {
    background-color: #fff;
}

/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/

.site-subscribe {
    margin-top: -58px;
    position: relative;
    z-index: 1;
}

.subscribe {
    background-color: var(--green);
    padding: 24px 40px;
    border-radius: 10px;
}

.subscribe-text p {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.subscribe-form input {
    border-radius: 5px 0 0 5px;
}

.subscribe-form .button {
    border-radius: 0 5px 5px 0;
    padding-left: 30px;
    padding-right: 30px;
    white-space: nowrap;
}

.site-footer {
    background-color: var(--red);
    padding: 160px 0 40px;
    color: #fff;
    margin-top: -80px;
}

.site-footer h3 {
    font-size: 28px;
}

.site-footer ul li {
    line-height: 1.8;
    margin-bottom: 2px;
}

.site-footer ul li:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #fff;
}

.payment-icons {
    gap: 12px;
}

.payment-icons img {
    max-width: 180px;
    max-height: 40px;
}

.social-icons {
    gap: 12px;
}

.social-icons img {
    max-width: 42px;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/

@media screen and (max-width : 900px) {
	.mobile-slide {
		display: block;
	}
}