/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

a.nav-back-link {
    display: inline-flex; /* gap only works on flex/grid */
    align-items: center;
    color: #fff !important;
    gap: 12px;
}



.service-box .wcf--image-box.style-3 .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Default gradient overlay (dark bottom to transparent top) */
  background: linear-gradient(to top, rgb(0 0 0 / 62%), rgb(0 0 0 / 0%));
  opacity: 1;
  transition: opacity 0.4s ease;
}


.service-box .wcf--image-box.style-3:hover .thumb::after {
  opacity: 1;
	background: rgb(0 0 0 / 80%);
}

form.driverSubmitForm {
    padding: 80px 20px;
}
.driverSubmitForm label {
       font-size: 15px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
    display: block;
}

.driverSubmitForm .form-group {
    margin-bottom: 25px;
}
.driver-featured-image {
   position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px; /* adjust as needed */
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center; /* horizontal center */
    text-align: center;
    color: #fff; /* text color */
    overflow: hidden;
	padding:20px;
}
.driver-featured-image {
    position: relative;
    background-color: var(--e-global-color-primary); 
    overflow: hidden; 
}
.driver-featured-image::before {
    content: "";
    position: absolute;
    inset: 0; 
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}
.driver-featured-image > * {
    position: relative;
    z-index: 2;
}
.driver-featured-image h1 {
    position: relative;
    z-index: 2;
    font-size: 50px; /* adjust */
    font-weight: 600;
    margin: 0;
}
.form-btn input[type="submit"] {
    background: #1c1d20;
    color: #fff;
    border: 1px solid #1c1d20;
    padding: 12px 35px;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    border-radius:10px;
    
}
.form-btn input[type="submit"]:hover {
    background: #fff;
    color: #1c1d20;
    border: 1px solid #1c1d20;
    padding: 12px 35px;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    box-shadow: 7px 7px 0 #1c1d20;
}
a#add-history,
a#add-accident
{
    color: #001225 !important;
    font-weight: 500;
}

a.remove-history.remove-item,
a.remove-accident.remove-item
{
    font-weight: 500;
    color: red;
    margin-right: 10px;
}
@media (max-width:767px){
	.driver-featured-image h1 {
    position: relative;
    z-index: 2;
    font-size: 35px; /* adjust */
    font-weight: 600;
    margin: 0;
}
}