/* CSS by Ahmed for form*/

/* Style for the checkbox container */
.form-input-main {
    display: flex !important; /* Use flexbox for alignment */
    flex-direction: column !important; /* Stack checkboxes vertically */
}

/* Style for checkbox label */
.form-input-main label {
    display: flex !important; /* Flex display for alignment */
    align-items: center !important; /* Center items vertically */
    font-size: 0.9rem !important; /* Font size */
    color: #333 !important; /* Label color */
    margin-bottom: 10px !important; /* Spacing between labels */
}

/* Style for the checkbox input */
.form-input-main input[type="checkbox"] {
    margin-right: 8px !important; /* Space between checkbox and text */
    cursor: pointer !important; /* Pointer cursor for better UX */
}


/* Start Form */


.register-form {
	background: #FFFFFF;
	border-radius: 11px;
	padding: 50px 23px 25px 23px;
	-webkit-box-shadow: 5px 5px 15px 5px #000000;
	box-shadow: 5px 5px 15px 5px #000000;
}

.form-input-main {
	margin-bottom: 10px;
}

.form-input-main input,
.form-input-main select {
	font-family: 'Poppins', sans-serif;
	width: 100%;
	height: 44px;
	padding-left: 14px;
	background-color: #eeeeee;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 7px;
}

.form-input-main select {
	margin: 0;
	width: 100%;
}

.form-input-main input::placeholder,
.form-input-main select::placeholder {
	color: rgb(20, 20, 20) !important;
}


button[name="submitBtn"] {
	font-family: 'Poppins', sans-serif;
	width: 100%;
	text-align: center;
	font-weight: 500;
	font-size: 24px;
	color: #FFFFFF;
	background: #F05555;
	border: none;
	border-radius: 7px;
	padding: 11px 28px;
	transition: all .3s;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

button[name="submitBtn"]:hover {
	transition: all .3s;
	background: #0010DD;
	box-shadow: 2px 6px 4px 4px rgb(0 0 0 / 50%);
}

.form-header-text,
.form-footer-text {
	color: #000;
	font-size: 14px;
	text-align: center;
}

.form-header-text {
	margin-bottom: 20px;
}

.form-footer-text {
	margin-top: 20px;
}

.form-input-main label {
	display: flex;
	align-items: flex-start;
	flex-direction: unset;
	gap: 10px;
	font-size: 16px;
	line-height: 100%;
	color: #000;
}

.form-input-main label.checkbox--row {
	flex-direction: row;
}

.form-input-main label input[type="checkbox"] {
	width: 35px;
	height: 25px;
	padding: 0;
	margin: 0;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
	width: 100%;
	padding-left: 96px !important;
}

.iti__selected-dial-code,
.iti__arrow {
	color: #000 !important;
	border-top-color: #000 !important;
}

.iti {
	width: 100% !important;
}

.iti__country {
	color: #000 !important;
}

/* Hide arrows */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

@media screen and (max-width: 768px) {
	button[name="submitBtn"] {
		width: 100%;
	}
}

/* End Form */

.error {
	background: rgba(255, 0, 0, 0.52) !important;
	color: #fff !important;
}

.error::placeholder {
	color: #fff !important;
}

.valid {
	background-color: rgba(0, 255, 0, 0.52) !important;
}

.register-form {
	position: relative;
}

.modal_phone {
	opacity: 1;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 99999;
	display: none;
	outline: 0;
	padding-right: 15px;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.4);
	overflow-x: hidden;
	overflow-y: auto;
	color: #000;
}

.modal_phone.open_phone {
	display: flex;
}

.modal-open_phone {
	overflow: hidden;
}

.modal-dialog_phone {
	position: relative;
	width: 100%;
	max-width: 32rem;
	padding: 1rem;
	box-sizing: border-box;
}

.modal-content_phone {
	display: flex;
	flex-direction: column;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
}

.modal-header_phone {
	display: flex;
	align-items: center;
	padding: 1rem 1rem;
}

.modal-header_phone {
	justify-content: space-between;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

.modal-body_phone {
	position: relative;
	flex: 1 1 auto;
	padding: 1rem;
}

.modal-title_phone {
	font-size: 1.25rem;
	font-weight: 600;
}

.close-button_phone {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	opacity: 0.5;
	background-color: transparent;
	border: 0;
	cursor: pointer;
	padding: 1rem 1rem;
	margin: -1rem -1rem -1rem auto;
}

/* Loader */

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(37, 44, 51, .5)
}

.loader-element {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00faaa;
    -webkit-animation: 2s linear infinite spin;
    animation: 2s linear infinite spin
}

.loader-element::before {
    position: absolute;
    content: "";
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f70044;
    -webkit-animation: 3s linear infinite spin;
    animation: 3s linear infinite spin
}

.loader-element::after {
    position: absolute;
    content: "";
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00faaa;
    -webkit-animation: 1.5s linear infinite spin;
    animation: 1.5s linear infinite spin
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}



/* basic CSS font  */

h1 {
    color: #333;
    margin: 40px 0 20px 0; /* Top margin 40px, bottom margin 20px */
    font-size: 2.5rem; /* Size for the <h1> */
    line-height: 1.2; /* Adjust line height for better spacing */
}

strong {
    color: #333;
    font-size: 1.5rem; /* Size for the <strong> */
    margin: 10px 0; /* Top and bottom margin for spacing */
    display: inline-block; /* Allow margin to apply properly */
}
p{
	font-weight: 300;
	font-size:14px;
}

/* Basic Header Layout */
.header {
    display: flex !important;
    align-items: center !important; /* Center items vertically */
    justify-content: space-between !important; /* Space between logo and nav */
    padding: 20px !important;
    background-color: #333 !important; /* Menu background color */
}

/* Logo Positioning */
.header__logo {
    flex: 0 0 auto !important; /* Fixed width for logo */
}

/* Navigation Menu Positioning */
.header__nav {
    flex: 1 !important; /* Allow nav to occupy space on the right */
    display: flex;
    justify-content: flex-end !important; /* Align menu items to the right */
}

/* Menu List Styling */
.header__nav .nav__list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header__nav .nav__list li {
    margin-left: 0 !important;
    padding: 2px 10px;
    position: relative !important;
}

/* Menu Item Styling */
.header__nav .nav__list li a {
    text-decoration: none !important;
    color: #333 !important; /* Change to black for menu items */
    font-weight: 500 !important;
    padding: 8px 12px !important;
    transition: color 0.3s ease, background-color 0.3s ease !important;
}

/* Hover effect for main nav links */
.header__nav .nav__list li a:hover {
    color: #fff !important; /* White text on hover */
    background-color: red !important; /* Red background on hover */
    border-radius: 4px !important;
}

/* Dropdown Menu Styling */
.nav__item--dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: white !important; /* Set dropdown background color to white */
    border-radius: 4px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    list-style: none !important;
    padding: 10px 0 !important;
    margin: 8px 0 0 !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
}

/* Dropdown Items */
.dropdown-menu li {
    margin: 0 !important;
}

.dropdown-menu li a {
    color: #333 !important; /* Set dropdown text color to black */
    text-decoration: none !important;
    padding: 8px 20px !important;
    display: block !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* Hover effect for dropdown links */
.dropdown-menu li a:hover {
    background-color: red !important; /* Red background on hover */
    color: #fff !important; /* White text on hover */
}

/* footer menu css */


.footer__nav-list {
    display: flex; /* Flexbox for horizontal layout */
    justify-content: center; /* Center the links */
    list-style: none; /* Remove list styles */
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
}

.footer__nav-list li {
    margin: 0 5px; /* Space between links */
    position: relative; /* Position for the dot */
}


.footer__nav-list li a {
    color: #333; /* Link color set to light grey */
    text-decoration: none; /* Remove underline */
    font-weight: 500; /* Font weight */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Hover effect for footer links */
.footer__nav-list li a:hover {
    color: red; /* Change color on hover */
}

