/* Register Page Styles - Motion Drivers Ed
   Optimized specifically for the booking/registration page
*/

/*****************************************
Colors:
- Black and White Alternating Sections
- Yellow Accents for Key Buttons (#ffbd50)
- Text: White on Black, Black on White
******************************************/

/******************************/
/*     General Styles         */
/******************************/
body,
html {
    width: 100%;
    /* height: 100%; */
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('../images/header-background.jpg') center center no-repeat;
    background-size: cover;
    scroll-behavior: smooth;
}

body,
p {
    color: #000;
    font: 400 1rem/1.625rem "Montserrat", sans-serif;
}

.p-small {
    font: 400 0.875rem/1.5rem "Montserrat", sans-serif;
}

h1 {
    color: #000;
    font: 700 2.75rem/3.375rem "Montserrat", sans-serif;
}

h2 {
    color: #000;
    font: 700 2.25rem/2.875rem "Montserrat", sans-serif;
}

h3 {
    color: #000;
    font: 700 1.625rem/2.125rem "Montserrat", sans-serif;
}

h4 {
    color: #000;
    font: 700 1.25rem/1.875rem "Montserrat", sans-serif;
}

h5 {
    color: #000;
    font: 700 1.125rem/1.75rem "Montserrat", sans-serif;
}

/* Text on black backgrounds */
.form-1 h1,
.form-1 h2,
.form-1 h3,
.form-1 h4,
.form-1 h5,
.form-1 h6 {
    color: #fff !important;
}

.form-1 p,
.form-1 .p-large,
.form-1 .p-heading {
    color: #fff !important;
}

.li-space-lg li {
    margin-bottom: 0.375rem;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #ffbd50;
    text-decoration: underline;
}

/* Links on black backgrounds */
.form-1 a {
    color: #fff;
}

.form-1 a:hover {
    color: #ffbd50;
}

/*************************/
/*     Preloader         */
/*************************/
.spinner-wrapper {
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3.75rem;
    height: 1.25rem;
    margin: -0.625rem 0 0 -1.875rem;
    text-align: center;
}

.spinner>div {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background-color: #ffbd50;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        -ms-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/**************************/
/*     Navigation         */
/**************************/
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 0.0625rem 0.375rem 0 rgba(0, 0, 0, 0.04);
    font: 600 0.875rem/0.875rem "Montserrat", sans-serif;
    transition: all 0.2s;
}

.navbar-custom .nav-item .nav-link {
    color: #000;
}

.navbar-custom .navbar-brand.logo-text {
    font: italic 600 2rem/1.5rem "Montserrat", sans-serif;
    color: #ffbd50;
    text-decoration: none;
}

.navbar-custom .navbar-nav {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.navbar-custom .nav-item .nav-link {
    padding: 0.625rem 0.75rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.navbar-custom .nav-item .nav-link:hover,
.navbar-custom .nav-item .nav-link.active {
    color: #ffbd50;
}

.navbar-custom .dropdown:hover>.dropdown-menu {
    display: block;
    min-width: auto;
    animation: fadeDropdown 0.2s;
}

@keyframes fadeDropdown {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.navbar-custom .dropdown-toggle:focus {
    outline: 0;
}

.navbar-custom .dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0.25rem;
    background-color: #fff;
}

.navbar-custom .dropdown-item {
    color: #333;
    text-decoration: none;
}

.navbar-custom .dropdown-item:hover {
    background-color: #fff;
}

.navbar-custom .dropdown-item .item-text {
    font: 600 0.875rem/0.875rem "Montserrat", sans-serif;
}

.navbar-custom .dropdown-item:hover .item-text {
    color: #ffbd50;
}

.navbar-custom .dropdown-divider {
    width: 100%;
    height: 1px;
    margin: 0.75rem auto 0.725rem auto;
    border: none;
    background-color: #c4d8dc;
    opacity: 0.2;
}

.navbar-custom .social-icons {
    display: none;
}

.navbar-custom .navbar-toggler {
    padding: 0;
    border: none;
    color: #333;
    font-size: 2rem;
}

.navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-times {
    display: none;
}

.navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-bars {
    display: inline-block;
}

.navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-bars {
    display: none;
}

.navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-times {
    display: inline-block;
    margin-right: 0.125rem;
}

/****************************/
/*     Form Section         */
/****************************/
.form-1 {
    padding-top: 6rem;
    padding-bottom: 6.25rem;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/header-background.jpg') center center no-repeat;
}

.form-1 h2 {
    margin-bottom: 1.25rem;
    color: white;
}

.form-1 h3 {
    color: white;
}

.form-1 p,
.form-1 .list-unstyled,
.form-1 .help-block,
.form-1 .checkbox,
.form-1 .checkbox a {
    color: white;
}

.form-1 p {
    margin-bottom: 1.9rem;
}

.form-1 .list-unstyled .fas {
    /* color: #333; */
    font-size: 0.5rem;
    line-height: 1.5rem;
}

.form-1 .list-unstyled .media-body {
    margin-left: 0.625rem;
}

/****************************/
/*     Form Controls        */
/****************************/
.form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-group.has-error.has-danger {
    margin-bottom: 0.625rem;
}

.form-group.has-error.has-danger .help-block.with-errors ul {
    margin-top: 0.375rem;
}

.label-control {
    position: absolute;
    top: 0.87rem;
    left: 1.375rem;
    /* color: #555; */
    opacity: 1;
    font: 400 0.875rem/1.375rem "Montserrat", sans-serif;
    cursor: text;
    transition: all 0.2s ease;
}

.form-control-input:focus+.label-control,
.form-control-input.notEmpty+.label-control,
.form-control-textarea:focus+.label-control,
.form-control-textarea.notEmpty+.label-control {
    top: 0.125rem;
    opacity: 1;
    font-size: 0.75rem;
    font-weight: 700;
}

.form-control-input,
.form-control-select {
    display: block;
    width: 100%;
    padding-top: 1.0625rem;
    padding-bottom: 0.0625rem;
    padding-left: 1.3125rem;
    /* border: 1px solid #ffedd0; */
    border-radius: 0.25rem;
    /* background-color: #ffedd0; */
    color: #555;
    font: 400 0.875rem/1.875rem "Montserrat", sans-serif;
    transition: all 0.2s;
    -webkit-appearance: none;
}

.form-control-select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 3rem;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url('../images/down-arrow.png');
    background-position: 96% 50%;
    background-repeat: no-repeat;
    outline: none;
}

select::-ms-expand {
    display: none;
}

.form-control-textarea {
    display: block;
    width: 100%;
    height: 8rem;
    padding-top: 1.25rem;
    padding-left: 1.3125rem;
    border: 1px solid #ffedd0;
    border-radius: 0.25rem;
    /* background-color: #ffedd0; */
    /* color: #555; */
    font: 400 0.875rem/1.75rem "Montserrat", sans-serif;
    transition: all 0.2s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
    border: 1px solid #fff;
    outline: none;
}

.form-control-input:hover,
.form-control-select:hover,
.form-control-textarea:hover {
    border: 1px solid #fff;
}

.checkbox {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

input[type='checkbox'] {
    vertical-align: -15%;
    margin-right: 0.375rem;
}

.form-control-submit-button {
    display: inline-block;
    width: 100%;
    height: 3.125rem;
    border: 0.125rem solid #ffbd50;
    border-radius: 1.5rem;
    background-color: #ffbd50;
    color: #000;
    font: 700 0.875rem/0 "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.form-control-submit-button:hover {
    border: 0.125rem solid #e6a845;
    background-color: #e6a845;
    color: #000;
}

.help-block.with-errors .list-unstyled {
    font-size: 0.75rem;
    line-height: 1.125rem;
    text-align: left;
}

.help-block.with-errors ul {
    margin-bottom: 0;
}

/****************************/
/*     Service Banner       */
/****************************/
.service-banner {
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('../images/header-background.jpg') center center no-repeat;
    background-size: cover;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.service-banner h2 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.service-banner .price {
    color: #ffbd50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-banner .description {
    color: #fff;
    font-size: 1rem;
}

/****************************/
/*     Payment Options      */
/****************************/
.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
}

.payment-option:hover {
    border-color: #ffbd50;
    transform: translateX(5px);
}

.payment-option.selected {
    border-color: #ffbd50;
    background: #fff4e0;
    transform: translateX(5px);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 0.5rem;
    font-size: 1.5rem;
}

.payment-details {
    flex: 1;
}

.payment-name {
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}

.payment-description {
    font-size: 0.85rem;
    color: #000;
}

.payment-info-box {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.5rem;
    border-left: 4px solid #ffbd50;
}

.payment-info-box.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-info-box h4 {
    color: #000;
    margin-bottom: 1rem;
}

.payment-info-box p {
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.payment-info-box strong {
    color: #ffbd50;
}

.stripe-element {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    background: white;
}

/****************************/
/*     Order Summary        */
/****************************/
.order-summary {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    border: 2px solid #ffbd50;
}

.order-summary h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #000;
}

.summary-total {
    border-top: 2px solid #ffbd50;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
}

/****************************/
/*     Success Message      */
/****************************/
.success-message {
    display: none;
}

.success-message.show {
    display: block;
    background: #4caf50;
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 2rem;
    animation: slideDown 0.5s ease;
}

.success-message h3 {
    color: white;
    margin-bottom: 1rem;
}

.success-message p {
    color: white;
    margin-bottom: 0.5rem;
}

.booking-reference {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 1.25rem;
}

.booking-reference strong {
    font-size: 1.5rem;
}

/**********************/
/*     Footer         */
/**********************/
.footer {
    padding-top: 4.75rem;
    padding-bottom: 2rem;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('../images/header-background.jpg') center center no-repeat;
    background-size: cover;
}

.footer .footer-col {
    margin-bottom: 2.25rem;
}

.footer h5 {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
}

.footer h5,
.footer p,
.footer a {
    color: #bbb;
}

.footer .list-unstyled .fas {
    color: #bbb;
    font-size: 0.5rem;
    line-height: 1.375rem;
}

.footer .list-unstyled .media-body {
    margin-left: 0.625rem;
}

.footer .fab {
    margin-bottom: 0.75rem;
    margin-right: 1rem;
    color: #ccc;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.footer .fab:hover {
    /* color: #ffbd50; */
}

/*************************/
/*     Copyright         */
/*************************/
.copyright {
    padding-top: 1.5rem;
    padding-bottom: 0.375rem;
    background-color: #000;
    text-align: center;
}

.copyright .p-small {
    color: #999;
    font-size: 0.75rem;
    line-height: 1.375rem;
}

.copyright a {
    color: #999;
}

/*****************************/
/*     Media Queries         */
/*****************************/
/* Tablets and up (min-width: 768px) - layout changes only, colors unchanged */
@media (min-width: 768px) {
    .form-1 {
        padding-top: 9rem;
    }
}

/* Laptops and up (min-width: 992px) - layout changes only, colors unchanged */
@media (min-width: 992px) {
    .navbar-custom {
        padding: 2.125rem 1.5rem 2.125rem 2rem;
        background: transparent;
        box-shadow: none;
    }

    .navbar-custom .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar-custom .nav-item .nav-link {
        padding: 0.25rem 0.75rem;
        color: var(--text-light);
    }

    .navbar-custom.top-nav-collapse {
        padding: 0.5rem 1.5rem 0.5rem 2rem;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 0.0625rem 0.375rem 0 rgba(0, 0, 0, 0.05);
    }

    .navbar-custom.top-nav-collapse .nav-item .nav-link {
        color: var(--text-dark);
    }

    .navbar-custom.top-nav-collapse .nav-item .nav-link:hover,
    .navbar-custom.top-nav-collapse .nav-item .nav-link.active {
        /* color: #ffbd50; */
    }

    .navbar-custom .dropdown-menu {
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top: 0.75rem solid rgba(0, 0, 0, 0);
        border-radius: 0.25rem;
    }

    .navbar-custom.top-nav-collapse .dropdown-menu {
        border-top: 0.5rem solid rgba(0, 0, 0, 0);
        box-shadow: 0 0.375rem 0.375rem 0 rgba(0, 0, 0, 0.02);
    }

    .navbar-custom .dropdown-item {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .navbar-custom .dropdown-divider {
        width: 84%;
    }

    .navbar-custom .social-icons {
        display: block;
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }

    .navbar-custom .fa-stack {
        width: 2em;
        margin-left: 0.25rem;
        font-size: 0.75rem;
    }

    .navbar-custom .fa-stack-2x {
        /* color: #ffbd50; */
        transition: all 0.2s ease;
    }

    .navbar-custom .fa-stack-1x {
        color: var(--text-dark);
        transition: all 0.2s ease;
    }

    .navbar-custom .fa-stack:hover .fa-stack-2x {
        /* color: #ee832b; */
    }

    .navbar-custom .fa-stack:hover .fa-stack-1x {
        /* color: #fff; */
    }

    .form-1 {
        padding-top: 10rem;
    }
}

/* Large screens and monitors (min-width: 1200px) - layout changes only, colors unchanged */
@media (min-width: 1200px) {
    .form-1 {
        padding-top: 12rem;
    }

    .form-1 .text-container {
        margin-top: 1rem;
        margin-right: 3.5rem;
    }

    .form-1 form {
        margin-left: 1.5rem;
    }

    .footer .footer-col.first {
        margin-right: 1.5rem;
    }

    .footer .footer-col.second {
        margin-left: 3rem;
    }

    .footer .footer-col.third {
        margin-left: 2.75rem;
    }

    .footer .footer-col.fourth {
        margin-left: 1.5rem;
    }
}

#register {
    background-color: white;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/header-background.jpg');
}

.container {}