* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #ffffff;
	font-family: "Poppins", sans-serif;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

  .logo{
	margin-left: 20px;
	max-height: 50px;
	vertical-align: middle;
}

.navbar-brand {
	display: inline-flex;
  }

.company-name{
	margin-top: 12px;
	display: inline-flex;
    margin-left: 10px;
	color: #fff;
}


h1 {
	margin: 0px;
}

h2 {
	margin: 0px;
}

header {
	width: 100%;
}

header div {
	display: flex;
	gap: 10px
}

#bgimg{
	position: relative;
	background-image: url('assets/idf.jpg');
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* z-index: -2; */
}

#bgimg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(129, 101, 101, 0.6);
	z-index: 1;
  }

#form {
	background: rgba(255, 255, 255, 0.6);
	margin: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 22px;
	font-weight: 600;
	width: 100%;
	max-width: 500px;
	border-radius: 10px;
	z-index: 2;
}

.formQuestion{
	position: relative;
	padding: 10px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid #ccc;
	border-radius: 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
}


#form input[type="text"],
select {
	width: 100%;
	border: none;
	background: none;
	font-size: 16px;
}

input[type="submit"] {
	background-color: #a32121;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 22px;
	font-weight: 600;
}

.buttonsForm{
	display: flex;
	gap: 10px;
}

.btnForm{
	flex: 1;
}

.callFrom{
	text-decoration: none;
	background-color: #2b2b2b;
	display: flex;
	gap : 5px;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 400;
	align-items: center;
	justify-content: center;
}

input[type="text"]:focus,
select:focus {
	border: none;
	/* Remove border on focus */
	outline: none;
	/* Remove outline on focus */
	box-shadow: none;
	/* Remove box-shadow on focus */
}

input[type="submit"]:hover {
	background-color: #7d1d1d;
}

.datetime-inputs {
	display: none;
}

.toggle-btns {
	display: flex;
	margin-bottom: 10px;
	gap : 5px;
}

.toggle-btn {
	flex-grow: 1;
	padding: 10px;
	text-align: center;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.radio-label {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
}


.radio-input {
	width: 18px;
	height: 18px;
	cursor: pointer;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	position: relative;
	background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.radio-input:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #7d1d1d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }


.loader {
	border: 16px solid #f3f3f3;
	border-top: 16px solid #7d1d1d;
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
	display: none; /* Hidden by default */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5); /* Light black */
	display: none; /* Hidden by default */
	z-index: 10; /* Behind the loader */
}

.description{
	margin: 40px;
	display: flex;
	gap: 20px;
	align-items: center;
	max-width: 800px;
}

.details{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	justify-content: center;
}

.elementImg{
	height: 70px;
}

#map{
	margin: 0;
	/* flex: 1; */
	height: 100%;
	width: auto;
	object-fit:contain;
	max-height: 500px;
}

.description .title{
	color: #a32121;
	text-align: center;
}

.elements{
	display: flex;
	flex-direction: column;

	gap: 10px;
}

.element{
	display: flex;
	align-items: center;
	gap: 20px;
}

.element h4{
	font-size: 16px;
	font-weight: 400;
}

.timeQuestion{
	display: flex;
	flex-direction: column;
	margin-bottom: 6px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@media (max-width: 700px) {
	header {
		flex-direction: column;
		font-size: 24px;
	}

	#form {
		font-size: 18px;

	}

	input[type="submit"] {
		font-size: 18px;
	}
	.description{
		flex-direction: column;
	}
}
@media (max-width: 480px){
	.buttonsForm{
		flex-direction: column;
	}
	#form{
		background: transparent;
	}
}

.suggestions {
	max-height: 150px;
	overflow-y: auto;
	background: white;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 1000;
}

.suggestions div {
	font-size: 16px;
	border: 1px solid #ccc;
	padding: 8px;
	cursor: pointer;
}

.suggestions div:hover {
	background: #eee;
}