﻿.contact-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 170%;
	margin: 0;
	direction: rtl;
}

.contact-left {
	width: 60%;
	background-color: #f4f4f4;
	padding: 3rem;
}

.contact-title {
	color: #005AA9;
	font-weight: 400;
	font-size: 50px;
	margin-bottom: 0.5rem;
	margin-right: 230px;
}

.contact-subtitle {
	font-size: 65px;
	color: #005AA9;
	font-weight: 700;
	margin-bottom: 1rem;
	margin-right: 210px;
}

.contact-desc {
	color: #444;
	font-size: 24px;
	line-height: 1.7;
	margin-bottom: 2rem;
	margin-right: 210px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-right: 110px;
	margin-left: 100px;
	text-align: right;
}

.form-group {
	display: flex;
	flex-direction: column;
	text-align: right;
}

	.form-group label {
		margin-bottom: 5px;
		font-weight: 500;
		font-size: 14px;
		color: #333;
	}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #3CA4DB;
	border-radius: 5px;
	font-size: 15px;
	text-align: right;
}

.contact-form textarea {
	resize: none;
	height: 150px;
}

.form-btn {
	display: flex;
	justify-content: flex-start;
}

.contact-form button {
	background-color: #1D75B3;
	color: white;
	border: none;
	padding: 10px 30px;
	border-radius: 20px;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

	.contact-form button:hover {
		background-color: white;
		color: #0056b3;
	}

.contact-right {
	width: 40%;
	background-color: #1D75B3;
	color: white;
	padding: 3rem;
	transition: background-color 0.3s ease;
	text-align: right;
}

	.contact-right h4 {
		font-size: 22px;
		margin-bottom: 10px;
	}

	.contact-right h5 {
		font-size: 18px;
		margin-bottom: 20px;
	}

.contact-map {
	position: relative;
	width: 100%;
}

	.contact-map img {
		width: 100%;
		height: auto;
	}

.visit-btn {
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	background-color: #005AA9;
	color: white;
	padding: 12px 24px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
	font-size: 1.2rem;
	z-index: 10;
	display: inline-block;
	white-space: nowrap; 
	max-width: 90vw; 
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

	.visit-btn:hover {
		background-color: #B1C732;
		color: #fff;
	}

@media (max-width: 992px) {
	.contact-wrapper {
		flex-direction: column;
		width: 100%;
		padding: 0 20px;
	}

	.contact-left,
	.contact-right {
		width: 100%;
		padding: 2rem;
		margin: 0 auto;
	}

	.contact-form {
		margin-right: 0;
		margin-left: 0;
	}

	.form-btn {
		justify-content: center;
	}

	.contact-form button {
		width: 100%;
		padding: 12px 0;
	}
}

@media (max-width: 768px) {
	.contact-title {
		font-size: 40px !important;
		margin-right: 0 !important;
		text-align: center;
	}

	.contact-subtitle {
		font-size: 45px !important;
		margin-right: 0 !important;
		text-align: center;
	}

	.contact-desc {
		font-size: 18px !important;
		margin-right: 0 !important;
		text-align: center;
	}

	.contact-form {
		margin: 0 auto;
		padding: 0 15px;
	}

	.contact-right {
		padding: 2rem 1rem;
		text-align: center;
	}

	.visit-btn {
		position: absolute; 
		top: 50%;
		right: 50%;
		transform: translate(50%, -50%);
		padding: 10px 20px;
		font-size: 1rem;
		max-width: 90vw;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
		white-space: nowrap;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.visit-btn {
		font-size: 1.5rem;
		padding: 16px 32px;
	}
}

@media (max-width: 480px) {
	.contact-title {
		font-size: 30px !important;
	}

	.contact-subtitle {
		font-size: 32px !important;
	}

	.contact-desc {
		font-size: 16px !important;
	}

	.contact-form button {
		font-size: 14px;
		padding: 10px 0;
	}

	.visit-btn {
		padding: 8px 16px;
		font-size: 0.9rem;
	}
}
