/*Theme Name: DB Logistics*/

/*Reset*/
* {
    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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
}

/*Flexbox*/
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.col {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}
.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}
.col-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-auto {
    margin-top: auto;
}
.ml-auto {
    margin-left: auto;
}
.text-center {
    text-align: center;
}

/*General Styles*/
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}

/*Layout*/
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}

/*Main*/
body {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.52;
    background: #ffffff;
    color: #000000;
}
html,
body {
    height: 100%;
}

/*SEARCH POPUP*/
.search-popup {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99;
    background-color: #fff;
}

body.admin-bar .search-popup {
    top: 32px;
}

body.search-open .search-popup {
    display: block;
}

.search-popup-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 40px;
    color: #000;
    cursor: pointer;
}

.search-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 25px;
}

.search-form {
    width: 85%;
    margin: 0 auto;
}

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

.search-form input[type="text"],
.search-form button {
    padding: 0;
    border: 0;
    margin: 0;
    outline: none;
    background: none;
    color: #000;
}

.search-form input[type="text"] {
    width: 80%;
    margin-right: 10%;
    font-size: 120px;
    font-weight: 500;
}

.search-form input[type="text"]::placeholder {
    color: #000;
}

.search-form button {
    font-size: 120px;
    cursor: pointer;
}

.search-item {
    margin-bottom: 60px;
}

.search-item-title{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.search-item-text {
    margin-bottom:1.2em;
}

/*Header*/
#site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo .logo {
    height: 45px;
    width: auto;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.header-search {
    flex: 0 0 auto;
}

.header-search-toggle {
    font-size: 21px;
    color: #000000;
    cursor: pointer;
}

.header-search-toggle:hover {
    color: #ff5122;
}

/*Main Menu*/
.main-menu {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    justify-content: space-evenly;
    font-size: 21px;
    font-weight: 500;
}

.main-menu > li {
    position: relative;
    margin: 0 20px;
}

.main-menu > li > a {
    display: block;
    padding: 10px 0;
    color: #000000;
    transition: color 0.3s;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a,
.main-menu > li.current-menu-parent > a {
    color: #ff5122;
    text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
}

.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a,
.main-menu > li.current-menu-parent > a {
    color: #ff5122;
    border-bottom: none;
}

.main-menu > li > a::after {
    content: "";
    display: block;
    height: 2px;
    background-color: transparent;
}

.main-menu > li.current-menu-item > a::after,
.main-menu > li.current_page_item > a::after,
.main-menu > li.current-menu-parent > a::after {
    background-color: #000000;
}

/*Menu - Sub Menu*/
.main-menu li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: #ffffff;
    min-width: 180px;
    padding: 0 20px 12px;
    text-align: center;
}

.main-menu li:hover .sub-menu {
    display: block;
}

.main-menu li .sub-menu li a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #000;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
}

.main-menu li .sub-menu li.current-menu-item a {
    text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
    border-color: #ff5122;
}

.main-menu li .sub-menu li:last-child a {
    border-bottom: 0;
}

.main-menu li .sub-menu li a:hover {
    color: #ff5122;
    text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
}

/*Responsive Nav*/
.responsive-nav-container {
    display: none;
}

.responsive-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
}

#responsive-nav {
    display: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

#responsive-nav .responsive-nav-menu {
    display: none;
}

#responsive-nav .responsive-nav-menu li a {
    display: block;
    padding: 10px 0;
    color: #000000;
}

#responsive-nav .responsive-nav-menu li a:hover {
    color: #ff5122;
}

#responsive-nav .responsive-nav-menu > li:last-child{
    padding-bottom: 20px;
}

#responsive-nav .sub-menu {
    margin-left: 16px;
}

/*Hero Section*/
.hero-section {
    position: relative;
    height: 637px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 128px solid #ff5122;
    border-left: 128px solid transparent;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 128px solid #ff5122;
    border-left: 128px solid transparent;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 50px 40px;
}

.hero-heading {
    font-size: 75px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
    text-transform: uppercase;
}

/*Intro Section*/
.intro-section {
    padding: 60px 0 70px;
}

.intro-heading {
    font-size: 61px;
    font-weight: 700;
    color: #ff5122;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.intro-text {
    font-size: 21px;
    font-weight: 500;
    color: #000000;
    line-height: 1.52;
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    margin-bottom: 1.4em;
}

.intro-text h1,
.intro-text h2,
.intro-text h3,
.intro-text h4,
.intro-text h5,
.intro-text h6 {
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.1;
	margin-top: 1.5em;
	margin-bottom: 0.8em;
}

.intro-text ul,
.intro-text ol {
	margin-bottom: 1.4em;
}

.intro-text ul,
.intro-text ol {
    padding-left: 0;
    margin-bottom: 1.4em;
    list-style-position: inside;
}

.intro-text ul {
    list-style-type: disc !important;
}

.intro-text ol {
    list-style-type: decimal !important;
}

.intro-text li {
    display: list-item !important;
    margin-bottom: 0.6em;
    line-height: 1.5;
}

.intro-text strong, .intro-text b {
    font-weight:700;
}

.intro-text table {
    border: 1px solid #d9d9d9;
    margin: 2.5rem 0;
    text-align: left;
    width: 100%;
    font-size: 18px;
}

.intro-text tr td, .intro-text tr th {
    border-top: 1px solid #d9d9d9;
    padding: 6px 24px;
    vertical-align: middle;
}

.intro-text tr th {
    font-weight:600;
}

.intro-text a{
    color: #ff5122
}

.intro-text a:hover{
    color: #E6481E;
    text-decoration: underline;
}

.intro-text *:last-child {
    margin-bottom: 0;
}

/*Forms*/
/*Forms*/
.frm_forms {
  
}
.frm_error_style {
  margin-bottom: 1.52em;
  color: red;
}
.frm_error {
  margin-top: 0.25em;
  color: red;
  text-align: left;
}
.form-field {
  margin-bottom: 1.52em;
}
.form-field label {
  display: block;
  margin-bottom: 0.25em;
  font-size: inherit;
  font-weight: 600;
  color: inherit;
  text-align: left;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  display: block;
  width: 100%;
  background: none;
  padding: 0.5em;
  border: 0;
  border: 1px solid #000;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  outline: none !important;
}

.form-field textarea {
}

.frm_button_submit {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #ff5122;
    border-radius: 50px;
    font-size: 21px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.frm_button_submit:hover {
    background-color: #ff5122;
    color: #ffffff;
}


/*Services Grid Section*/
.services-grid-section {
    overflow: hidden;
}

.services-grid {
    display: flex;
}

.service-block {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.service-block::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 128px solid #ff5122;
    border-left: 128px solid transparent;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 128px solid #ff5122;
    border-left: 128px solid transparent;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-block:hover::before,
.service-block:hover::after {
    transition:none;
    opacity: 1;
}

.service-block:hover {
    outline: 8px solid #ff5122;
    outline-offset: -8px;
}

.service-image {
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.service-title {
    position: absolute;
    bottom: 25px;
    left: 40px;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

/*CTA Section*/
.cta-section {
    padding: 70px 0 80px;
}

.cta-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ff5122;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-text {
    font-size: 21px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 36px;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #ff5122;
    border-radius: 50px;
    font-size: 21px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #ff5122;
    color: #ffffff;
}

/*Footer*/
#site-footer {
    position: relative;
    overflow: hidden;
    background-color: #000000;
    padding: 34px 0;
}

#site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: calc(50% - 628px);
    height: 100%;
    aspect-ratio: 4 / 3;
    background: url('images/footer-bg.jpg') no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
}

.footer-logo{
    flex: 0 0 690px;
}

.footer-logo-img {

}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    font-size: 17px;
    font-weight: 400;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff5122;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-left: auto;
    padding-right: 160px;
}

.footer-social a {
    font-size: 26px;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ff5122;
}

/* Tablet + Mobile */
@media only screen and (max-width: 1170px) {
    html {
        margin-top: 0 !important;
    }

    html #wpadminbar {
        display: none !important;
    }

    .container {
        padding: 0 20px;
    }

    .hero-heading {
        font-size: 55px;
    }

    .intro-heading {
        font-size: 45px;
    }

    .cta-heading {
        font-size: 38px;
    }

    #site-footer::after {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        flex: 0 0 auto;
    }

    .footer-links {
        align-items: center;
    }

    .footer-social {
        margin-left: 0;
        padding-right: 0;
        justify-content: center;
    }

    .search-popup {
        top: 0px !important;
    }

    .search-form {
        width: 75%;
    }

    .search-form input[type="text"] {
        font-size: 90px;
    }

    .search-form button {
        font-size: 90px;
    }

}

/* Tablet Portrait */
@media only screen and (min-width: 750px) and (max-width: 900px) {
    .services-grid {
        flex-wrap: wrap;
    }

    .service-block {
        flex: 0 0 100%;
        height: 300px;
    }

    .service-block + .service-block {
        border-left: none;
    }
}

/* Mobile */
@media only screen and (min-width: 280px) and (max-width: 750px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .header-nav {
        display: none;
    }

    #responsive-nav {
        display: block;
    }

    .responsive-nav-container {
        display: block;
    }

    .responsive-nav-toggle {
        display: flex;
    }

    .hero-section {
        height: 350px;
    }

    .hero-heading {
        font-size: 40px;
    }

    .intro-section {
        padding: 40px 0;
    }

    .intro-heading {
        font-size: 32px;
    }

    .intro-text {
        font-size: 16px;
    }

    .intro-text h1,
    .intro-text h2,
    .intro-text h3,
    .intro-text h4,
    .intro-text h5,
    .intro-text h6 {
        font-size: 24px;
    }

    .intro-text table {
        font-size: 15px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-block {
        height: 250px;
    }

    .service-block + .service-block {
        border-left: none;
    }

    .service-title {
        font-size: 28px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-heading {
        font-size: 30px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .search-form {
        width: 70%;
    }

    .search-form input[type="text"] {
        font-size: 40px;
    }

    .search-form button {
        font-size: 40px;
    }

}

/* Small Mobile */
@media only screen and (max-width: 600px) {
    .hero-heading {
        font-size: 32px;
    }

    .intro-heading {
        font-size: 26px;
    }

    .cta-heading {
        font-size: 24px;
    }

    .intro-text h1,
    .intro-text h2,
    .intro-text h3,
    .intro-text h4,
    .intro-text h5,
    .intro-text h6 {
        font-size: 21px;
    }

    .intro-text table {
        font-size: 14px;
    }

}