/*
Theme Name: Custom

*/
/* Variables */
:root {
  --font-sans: "Inter", Helvetica, sans-serif;
  --font-serif: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman,
    Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol;
  --font-size: 18px;
  --color1: #0f55dc;
  --color2: #ffd600;
  --color3: #25272a;
  --color4: #13171b;
  --color-dark: #333;
  --color-light: #eee;
  --transition-dur: 0.3s;
}
html{scroll-behavior: smooth;}
body{font-family: "Poppins", sans-serif;color:var(--color4);;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-weight: 700;color:var(--color4);}
p:empty{margin:0;}
a{color:var(--color1);}
a:hover{color:inherit;}


.top-bar{background:var(--color-light);padding:15px 0;}
.top-txt{font-size:18px;}
.top-bar *{color:var(--color4);}
.navbar-bg{background:#fff;padding:20px 0;}
.navbar-bg *{color:var(--color4);}

.hp-slider .slide {
background-repeat: no-repeat;
background-size: cover;
height: 633px;
background-position: center bottom;
padding: 50px 0;
margin: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
}
.hp-slider .slide-1 {background-image: url(https://rapid-transport.uk/wp-content/uploads/2025/09/hp-slide1.jpg);}
.banner-box h1{font-size:60px;}
.banner-box p{font-size:30px;}
.banner-box *{color:#fff;}

.txtc1{color:var(--color1) !important;}
.txtc2{color:var(--color2) !important;}
.hp-title{font-size:40px;}
.sub-title{font-size:28px;color:var(--color2) !important;}
.txti{font-size:3rem;}

.btn-primary,.send{background-color:var(--color1) !important;border-color:var(--color1) !important;color:#fff !important;}
.btn-secondary{background-color:var(--color2) !important;border-color:var(--color2) !important;color:#000 !important;}
.btn-white,.send-white{background-color:#fff !important;border-color:#fff !important;color:var(--color1) !important;}
.btn,.send,.send-white{border-radius:0 !important;}
.btn:hover,.send:hover,.send-white:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
}

.hpsec1{padding:100px 0;}
.hpsec2{padding:100px 0;background: url(imgs/rapid-transport-bg.jpg) no-repeat center;background-size:cover;}
.hpsec3{padding:100px 0;background: url(imgs/uk-services.jpg) no-repeat center;background-size:cover;}
.hpsec3 *{color:#fff;}
.hpsec4{margin-top: 100px;}
.hpsec4 .row{padding:50px;background:var(--color-light);}
.our-clients img{height:90px;width:auto;}
.hpnews-box {padding: 20px;background: #fff;box-shadow: 0 0px 15px rgba(0,0,0,.1);}



.footer {padding: 20px 0 50px;background: #25272a;}
.footer h5 {margin: 30px 0 15px;font-size: 22px;}
.footer *{color: #fff;}
.foot-social a{display:inline-block;margin:0 5px;font-size:22px;}
.footer-bottom {background: #13171b;padding: 20px 0;}
.footer-bottom *{color: #fff;}
.footer-bottom p {margin-bottom: 0;}
.section-white {background: #fff;padding: 50px 0;}
.section-primary {background:var(--color1);padding: 50px 0;}
.section-primary * {color: #fff;}
.section-secondary {background:var(--color2);padding: 50px 0;}
.section-secondary *,.inner-bg *{color: #fff;}
.section-lightgrey {background: #eee;padding: 50px 0;}
.inner-bg {background: var(--color1);padding: 50px 0;}
.inner-bg h1{font-size:2rem;}

.wpcf7-submit{width:auto !important;}
.g-recaptcha {display: inline-block;transform: scale(0.77);-webkit-transform: scale(0.77);transform-origin: 0 0; -webkit-transform-origin: 0 0;}
.wrapper {padding: 50px 0;}
.updated {display: none;}
.published.updated {display: inline;}
#recent-posts-2 a,#categories-2 a,h2.entry-title a {color: inherit;}
.txtarea-field{height:100px;}
.txt20{font-size:20px;}
.mb30{margin-bottom:30px;}
.ewd-ufaq-faq-title-text h4 {font-size: 18px;}
#right-sidebar aside {padding: 15px;background: #eee;margin-bottom: 30px;}
.page-item.active .page-link{background-color:var(--color1) !important;border-color:var(--color1) !important;color:#fff !important;}
.page-link{color:var(--color1) !important;}

.banner-box { padding: 30px; }

/***************************** MEDIA *******************************/
@media screen and (min-width: 992px) {
.hpsec3{padding-bottom:280px;}
.hpsec4{margin-top: -180px;}
.imgfit{height:100%;object-fit:cover;}
.simple-sitemap-page.main {column-count: 3;}
}

@media screen and (max-width: 991px) {
.banner-box h1,.hp-title{font-size:32px;}
.banner-box p{font-size:20px;}
.banner-box,.hpsec2{text-align:center;}
.simple-sitemap-page.main {column-count: 2;}
.hp-slider .slide { background-position: center left;}
.hp-slider .slide { height: auto;}
}

@media screen and (max-width: 767px) {
.top-bar,.footer{text-align:center;}
.footer ul{margin:0;}
.footer .fa-li {position: relative;left: 0;top: 0;}
.simple-sitemap-page.main {column-count: 1;}
.hp-slider .slide { background-position: center left;}
}