

/* Hide default checkboxes */
.btn-check {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}

/* Ensure equal-width buttons */
.btn-group {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}

.btn-group label {
flex: 1 1 180px; /* Ensures buttons stay equal width */
max-width: 220px; /* Adjust as needed */
text-align: center;
padding: 14px 20px;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
border: 2px solid #5f5f5f; /* Original button border */
color: #1a1a1a; /* Original text color */
background: #ffffffad; /* Keeps default background */
}

/* Keep selected checkboxes highlighted with original colors */
.btn-check:checked + .btn {
background-color: #1f1f1f; /* Keep original highlight color */
color: white; /* Keep original text color when selected */
border-color: #5f5f5f; /* Keep original border */
box-shadow: 0 0 8px rgb(105 105 105);
}

/* Hover effect (matches original color scheme) */
.btn:hover {
background-color: white;
color: #5f5f5f;
box-shadow: 0 0 8px rgb(105 105 105);
}

/* Hover effect (matches original color scheme) */
.btn:selection {
background-color: white;
color: #5f5f5f;
box-shadow: 0 0 8px rgb(105 105 105);
}

/* Slider Styling (Exact Color Match) */
.range-slider {
width: 100%;
max-width: 750px;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
}

.range-slider input {
width: 100%;
appearance: none;
height: 8px;
background: #ddd;
border-radius: 5px;
outline: none;
}

.range-slider output {
font-size: 22px;
font-weight: bold;
color: #181818;
margin-bottom: 10px;
}

/* Style the range slider */
.range-slider input {
    width: 100%;
    appearance: none;
    height: 8px;
    border-radius: 5px;
    outline: none;
    background: linear-gradient(to right, white 0%, #ffffff66 0%);
    transition: background 0.2s ease-in-out;
}

/* Webkit Browsers (Chrome, Safari) */
.range-slider input::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: transparent;
}

/* Webkit Slider Thumb */
.range-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin-top: -6px; /* Centers the thumb */
}

/* Firefox */
.range-slider input::-moz-range-track {
    height: 8px;
    background: transparent;
    border-radius: 5px;
}

/* Edge */
.range-slider input::-ms-track {
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}


@media (max-width: 768px) { /* Apply only for mobile screens */
    .background-holder {
        background-position: 65% top !important; /* Aligns image to the right */
        height: 100vh !important; /* Ensures it takes full screen height */
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* Ensures all cards stretch to the same height */
    gap: 20px; /* Adjusts spacing between cards */
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is distributed evenly */
    height: 100%; /* Makes all cards the same height */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow */
    border-radius: 8px; /* Optional: Rounds corners for a smoother look */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition effect */
}

.card:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25); /* Enhances shadow on hover */
}


.feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}


.owl-carousel {
    overflow: hidden; /* Ensures no content overflows */
    width: 100%; /* Prevents it from extending beyond its parent */
}

.owl-stage-outer {
    overflow: hidden !important; /* Prevents horizontal scroll */
}

.owl-stage {
    display: flex; /* Ensures items are properly aligned */
}

.owl-item {
    min-width: 0; /* Prevents items from forcing a horizontal scroll */
}


.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch;
}

.owl-carousel .item {
    display: flex;
    height: auto; /* Adjust dynamically */
}

.owl-carousel .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
	background-color: #ffffffe8;
    color: #595959;
}


.owl-carousel .card {
    min-height: 170px; /* Adjust to match the tallest card */
}

.owl-carousel .owl-item {
    overflow: visible !important;
}



@media (max-width: 768px) { /* Adjust the max-width as needed for your breakpoint */
    .background-holder video {
	position: absolute;
	display: block;
	z-index: -1;
	top: 0;
	left: -100%;
	-o-object-fit: cover;
	object-fit: cover;
	height: 100%;
	min-width: 100%;
    }
}



/* Popup Modal Styling */
#policyModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    text-align: center;
    margin: 10% auto;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    padding: 10px 15px;
	width:150px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
	margin:25px;
}

.btn-accept {
    background: #28a745;
    color: white;
}

.btn-decline {
    background: #dc3545;
    color: white;
}