body, html {
	background-color: #F7F7F7;
}

.col-1, .col-2, .col-3, .col-4 {
    width: calc(100% - 0px); /* Full width minus gap on smallest screens */
}

@media (max-width: 990px) {
    #booking_progress {
        display: none;
    }
}

/* Small Screens (576px and up) */
@media (min-width: 576px) {
    .col-2 {
        width: calc(50% - 20px);
    }
    .col-3 {
        width: calc(100% - 0px);
    }
    .col-4 {
        width: calc(50% - 0px);
    }
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) {
    .col-2 {
        width: calc(50% - 20px);
    }
    .col-3 {
        width: calc(50% - 10px);
    }
    .col-4 {
        width: calc(33.33% - 15px);
    }
}

/* Large Screens (992px and up) */
@media (min-width: 992px) {
    .col-2 {
        width: calc(50% - 20px);
    }
    .col-3 {
        width: calc(50% - 10px);
    }
    .col-4 {
        width: calc(25% - 15px);
    }
}

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .col-1 {
        width: calc(100% - 0px);
    }
    .col-2 {
        width: calc(50% - 20px);
    }
    .col-3 {
        width: calc(33.33% - 14px);
    }
    .col-4 {
        width: calc(25% - 15px);
    }
}

h3.title {
	font-weight: bold;
	font-size: 40px;
    margin: 0 auto 40px auto;
	text-align: center;
}

h3.title > small {
	font-weight: normal;
	font-size: 20px;
	display: block;
	margin-top: 10px;
}

a.next, input[type=button].next, input[type=submit].next {
	border-radius: 15px;
	padding: 10px;
	width: auto;
	height: auto;
}

input[type=text], input[type=tel], input[type=email], select {
	height: auto;
	width: 100%;
	text-align: center;
	font-size: 22px;
	color: #000000;
	padding: 10px;
}

input[type=submit], button[type=submit], input[type=button] {
	background-color: #dd3939;
	color: #ffffff;
	font-size: 20px;
	height: 35px;
	width: 100%;
	width: auto;
	min-width: 200px;
	margin: 10px;
	border: 0;
}

input[type=submit]:hover, button[type=submit]:hover, input[type=button]:hover {
	background-color: #2995b6;
}

button:disabled, button:disabled:hover, button[disabled], button[disabled]:hover, input:disabled, input:disabled:hover, input[disabled], input[disabled]:hover {
	background-color: #cccccc;
}

::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}

input.uppercase {
	text-transform:uppercase;
}

.step-box {
	text-align:center;
}

.step-box .row {
	text-align:center;
}

.step-box h2,
.step-box h3,
.step-box p,
.step-box small {
	text-align:center;
}

.container > .step-box:not(:first-child) {
    display: none; 
}

.progress_line {
	width: 18%;
	border-bottom: 3px solid #999999;
	display: inline-block;
	margin-right: 3px;
}

.progress_car {
	width: 20%;
	margin-left: -2%;
	margin-bottom: -17px;
}

.finish_flag {
	display: inline-block;
	width: 30px;
	margin-top: -36px;
    margin-left: -3px;
}

/* Time Slots */
.time-slots-container, .price-options-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f5f8fa;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.time-slots-container .date {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-left: 20px;
    text-align: left;
    width: 100%;
}

.time-slots-box {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
}

.time-slots-box:hover {
    transform: translateY(-5px);
}

.time-slots-box .time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.time-slots-box .time .label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0;
    flex-grow: 0;
    white-space: nowrap;
}

.time-slots-box .time .value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: right;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.time-slots-box .instructor {
    color: #e74c3c;
    font-weight: 700;
    font-size: 16px;
}

.time-slots-box .description {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 10px;
}

/* Pricing Boxes */
.price-options-box {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
    min-height: 280px;
}

.price-options-box .text {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1000;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
}

.price-options-box .text p {
    font-size: 12px !important;
}

.price-options-box .text h2 {
    font-size: 22px !important;
    font-weight: bold !important;
    margin: 5px;
}

.price-options-box .btn {
    position: absolute;
	color: #ffffff;
	font-size: 20px;
    right: 15px;
    bottom: 20px;
}

.price-options-box .btn:hover {
	background-color: #ffffff;
	color: #dd3939;
	text-decoration: none;
}

/* Pill box styling */
.price-options-box .pill-box {
    position: absolute;
    bottom: 10px;
    left: 0; /* Align the text to start from the left edge */
    background-color: #66b266;
    color: white;
    padding: 8px 60px;
    padding-left: 50px; /* Extra padding on the left to make text visible */
    border-radius: 25px;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: -30px; /* Offset the pill shape to the left */
    opacity: 0.9;
}

.price-options-box .pill-box h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.price-options-box .pill-box p {
    margin: 0;
    font-size: 14px;
}

/* Booking Confirmation Popup */
.booking_confirmation_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.booking_confirmation_popup .popup-container {
    background-color: #2A2D6C;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 40%;
    max-width: 600px;
    text-align: center;
    color: white;
}

.booking_confirmation_popup h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.booking_confirmation_popup .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

.booking_confirmation_popup .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4CAF50; /* Green checkmark */
}

.booking_confirmation_popup hr {
    border: none;
    border-top: 1px solid #FFF;
    margin: 15px 0;
}

.booking_confirmation_popup .requirements {
    background-color: #3A3D7C;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 20px;
}

.booking_confirmation_popup .requirements p {
    margin-bottom: 5px;
}

.booking_confirmation_popup .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.booking_confirmation_popup .has-requirement-button,
.booking_confirmation_popup .confirm-button {
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    width: 48%;
}

.booking_confirmation_popup .has-requirement-button {
    background-color: #FFF;
    color: #2A2D6C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.booking_confirmation_popup .confirm-button {
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.booking_confirmation_popup .has-requirement-button:hover {
    background-color: #eee;
}

.booking_confirmation_popup .confirm-button:hover {
    background-color: #45a049;
}

/* Payment Page */
.lesson-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.lesson-container h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.lesson-container .lesson-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.lesson-container .detail-item {
    background-color: #f7f7f7;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: center;
}

.lesson-container .detail-item.full-width {
    width: 100%;
}

.lesson-container .gearbox-container .text-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.lesson-container .gearbox-container .text-inline p {
    font-size: 18px;
    font-weight: bold;
    color: #ff5733;
    margin: 0;
    flex: 1; /* Occupies the left half */
}

.lesson-container .icon {
    font-size: 24px;
    margin-right: 10px;
}

.lesson-container .text p {
    font-size: 18px;
    color: #ff5733;
    font-weight: bold;
}

.lesson-container .text-inline p {
    font-size: 14px;
    color: #ff5733;
    font-weight: bold;
    margin: 0;
}

.lesson-container .text span {
    display: block;
    font-size: 18px;
    color: #555;
}

.lesson-container .gearbox-type {
    padding: 15px 15px; /* Slightly larger padding */
    background-color: #2A2D6C;
    color: white;
    border-radius: 5px;
    font-size: 18px; /* Increased font size */
    text-align: center;
    flex: 1; /* Occupies the right half */
}

.lesson-container .payment-option {
    width: 100%;
    text-align: left;
    margin-top: 10px;
}

.lesson-container .payment-option p {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.lesson-container .payment-option select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

.lesson-container .details-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
}

.lesson-container .details-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    color: #555;
}

.lesson-container h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.lesson-container .confirmation {
    text-align: left;
    margin-top: 10px;
}

.lesson-container .confirmation label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.lesson-container .confirmation input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #4CAF50;
}

.lesson-container .pay-button {
    margin-top: 20px;
    cursor: pointer;
}

.lesson-container .pay-button .pay-now {
    display: block;
    width: 100%;
    background-color: #D9534F;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
}

.lesson-container .pay-button .pay-now span {
    display: block;
    font-size: 12px;
    font-weight: normal;
}

.lesson-container .pay-button .pay-now:hover {
    background-color: #c03e3a;
}






.lesson_type_box {
	display:inline-block;
	width:100%;
	height:150px;
	padding-top:30px;
	margin-right:10px;
	color:#ffffff;
	border-radius:35px;
}

.lesson_type_box:hover {
	transform: scale(0.96); 
	box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24); 
} 

.lesson_type_box:active {
	transform: scale(0.92); 
	box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24); 
}






.instructor-intro-card {
	background:#ffffff;
	border-radius:28px;
	padding:25px 25px 30px 25px;
	margin:0 auto 15px auto;
	max-width:1100px;
	text-align:center;
	box-shadow:0 2px 14px rgba(0,0,0,0.06);
}

.instructor-intro-trustpilot {
	margin-bottom:15px;
}

.instructor-intro-trustpilot img {
	max-width:140px;
	width:100%;
	height:auto;
}

.instructor-intro-top {
	font-size:20px;
	font-weight:700;
	color:#31466f;
	margin:0 0 5px 0;
}

.instructor-intro-name {
	font-size:58px;
	line-height:1;
	font-weight:900;
	color:#cf3b2f;
	text-transform:uppercase;
	margin:0 0 12px 0;
	letter-spacing:1px;
}

.instructor-intro-subtitle {
	font-size:18px;
	line-height:1.4;
	font-weight:600;
	color:#31466f;
	margin:0 0 20px 0;
}

.instructor-intro-footer {
	max-width:850px;
	margin:20px auto 0 auto;
	font-size:14px;
	line-height:1.45;
	font-weight:600;
	color:#31466f;
}

.lesson_type_box.selected {
	outline:4px solid rgba(49,70,111,0.18);
}

@media(max-width:767px) {
	.instructor-intro-card {
		border-radius:20px;
		padding:20px 15px 24px 15px;
	}

	.instructor-intro-name {
		font-size:32px;
	}

	.instructor-intro-subtitle {
		font-size:15px;
	}
}