/**
 * Contact Page Styles - Beevora Theme
 *
 * @package beevora
 */

/* ========================================================================
   Hero Banner
   ======================================================================== */
.contact-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 70px 0;
	min-height: 380px;
	display: flex;
	align-items: center;
}

.contact-hero-content {
	max-width: 700px;
	margin: 0 auto;
}

.contact-hero-title {
	color: #72461f;
	font-size: 42px;
	font-weight: 700;
	margin: 0 0 12px;
	text-align: center;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.contact-hero-subtitle {
	color: #3a2713;
	font-size: 17px;
	font-weight: 400;
	margin: 0 0 40px;
	line-height: 1.6;
	text-align: center;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.contact-hero-actions {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
}

.hero-action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: #3a2713;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 15px;
}

.hero-action-item:hover {
	color: #72461f;
}

.hero-action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ce9f47;
}

.hero-action-icon svg,
.hero-action-icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.hero-action-text {
	font-size: 20px;
	font-weight: 500;
	color: #3a2713;
}

.hero-action-item:hover .hero-action-text {
	color: #72461f;
}

/* Live Chat Button Style */
.hero-action-chat .hero-action-text {
	background-color: #5d3615;
	color: #fff;
	padding: 6px 22px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s ease;
}

.hero-action-chat:hover .hero-action-text {
	background-color: #72461f;
	color: #fff;
}

/* ========================================================================
   Contact Form Section
   ======================================================================== */
.contact-form-section {
	padding: 60px 0;
	background-color: #fff;
}

.contact-form-wrapper {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	padding: 45px;
	box-shadow: 0 4px 24px rgba(93, 54, 21, 0.06);
}

.contact-form-header {
	text-align: center;
	margin-bottom: 35px;
}

.section-title {
	color: var(--beevora-brown, #5d3615);
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 10px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.section-subtitle {
	color: rgba(93, 54, 21, 0.6);
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.contact-form .form-group {
	display: flex;
	flex-direction: column;
}

.contact-form .form-group-full {
	margin-bottom: 20px;
}

.contact-form label {
	color: var(--beevora-brown, #5d3615);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.contact-form label .required {
	color: #dc3545;
}

.contact-form .form-control {
	border: 1px solid rgba(93, 54, 21, 0.15);
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	color: var(--beevora-brown, #5d3615);
	background-color: #faf8f5;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
	border-color: var(--beevora-gold, #ce9f47);
	box-shadow: 0 0 0 3px rgba(206, 159, 71, 0.15);
	outline: none;
	background-color: #fff;
}

.contact-form .form-control::placeholder {
	color: rgba(93, 54, 21, 0.35);
}

.contact-form .form-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d3615' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	background-size: 12px;
	padding-left: 40px;
}

[dir="ltr"] .contact-form .form-select {
	background-position: right 16px center;
	padding-left: 16px;
	padding-right: 40px;
}

.contact-form textarea.form-control {
	resize: vertical;
	min-height: 130px;
}

.form-submit {
	text-align: center;
	margin-top: 10px;
}

.btn-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--beevora-gold, #ce9f47);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 14px 50px;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-contact-submit:hover {
	background-color: var(--beevora-brown, #5d3615);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(93, 54, 21, 0.2);
}

.btn-contact-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.btn-loader svg {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Form Messages */
.form-messages {
	margin-top: 20px;
}

.form-message {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.form-message-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Validation */
.contact-form .form-control.is-invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}



/* ========================================================================
   Contact Info Cards
   ======================================================================== */
.contact-info-section {
	padding: 60px 0;
	background-color: #ead1b0;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
}

.info-card {
	text-align: center;
	padding: 35px 25px;
	border-radius: 16px;
	background-color: #fff;
	border: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card-icon {
	width: 50px;
	height: 50px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 0;
	color: #5d3615;
}

.info-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.info-card-icon svg {
	width: 42px;
	height: 42px;
}

.info-card-title {
	color: #1e1d1c;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.info-card-text {
	color: #7c7c7a;
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	line-height: 1.6;
}

a.info-card-text {
	text-decoration: none;
	display: block;
	margin-top: 15px;
	transition: color 0.3s ease;
}

a.info-card-text:hover {
	color: var(--beevora-gold, #ce9f47);
}

p.info-card-text {
	margin-top: 15px;
}

.info-card-image {
	margin-top: 18px;
}

.info-card-image img {
	width: 100%;
	height: 100px;
	object-fit: contain;
	border-radius: 10px;
}

/* ========================================================================
   FAQ & Community - Side by Side
   ======================================================================== */
.contact-faq-community {
	display: flex;
	min-height: 500px;
}

.faq-community-row {
	display: flex;
	width: 100%;
}

/* --- FAQ Column --- */
.faq-col {
	flex: 1;
	background-color: #fff;
	padding: 50px 40px;
}

.faq-title {
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 38px;
	font-weight: 700;
	color: #1e1d1c;
	margin: 0 0 30px;
	text-align: center;
}

.faq-col .accordion {
	border: none;
	width: 50%;
	margin: 0 auto;
}

.faq-col .accordion-item {
	border: none;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 0 !important;
	background: transparent;
}

.faq-col .accordion-item:last-child {
	border-bottom: 1px solid #e5e5e5;
}

.faq-col .accordion-button {
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 18px;
	font-weight: 600;
	color: #1e1d1c;
	padding: 16px 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.faq-col .accordion-button:not(.collapsed) {
	color: #1e1d1c;
	background-color: transparent;
	box-shadow: none;
}

.faq-col .accordion-button:focus {
	box-shadow: none;
	border-color: transparent;
}

.faq-col .accordion-button::after {
	content: '+';
	background-image: none !important;
	font-size: 20px;
	font-weight: 400;
	width: auto;
	height: auto;
	color: #efb86b;
	transform: none;
}

.faq-col .accordion-button:not(.collapsed)::after {
	content: '\2212';
	transform: none;
	color: #efb86b;
}

.faq-col .accordion-body {
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 13px;
	color: #7c7c7a;
	line-height: 1.7;
	padding: 0 0 16px;
}

/* --- Community Column --- */
.community-col {
	flex: 1;
	background-color: #9d642c;
	padding: 50px 40px;
	display: flex;
	flex-direction: column;
}

.community-title {
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 38px;
	font-weight: 700;
	color: #efb86b;
	margin: 0 0 25px;
	text-align: center;
}

.community-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	width: 60%;
	margin: 0 auto 20px;
}

.community-grid-item {
	display: block;
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.community-grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.community-grid-item:hover img {
	transform: scale(1.08);
}

.community-footer {
	text-align: center;
	margin-top: auto;
}

.community-follow-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	margin: 0 0 4px;
}

.community-followers {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	margin: 0 0 15px;
}

.community-social {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.community-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 0;
	background: transparent;
	padding: 0;
	color: #fff;
	transition: all 0.3s ease;
}

.community-social-link:hover {
	color: #efb86b;
	transform: translateY(-3px);
}

.community-social-link svg {
	width: 100%;
	height: 100%;
}

/* ========================================================================
   Google Maps
   ======================================================================== */
.contact-map-section {
	width: 100%;
}

.contact-map-wrapper {
	width: 100%;
	height: 400px;
}

.contact-map-wrapper iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* ========================================================================
   Responsive - Tablet (max-width: 991.98px)
   ======================================================================== */
@media (max-width: 991.98px) {
	.contact-hero {
		padding: 50px 0;
		min-height: 300px;
	}

	.contact-hero-content {
		padding: 0 15px;
	}

	.contact-hero-title {
		font-size: 34px;
	}

	.contact-hero-subtitle {
		font-size: 15px;
		margin-bottom: 30px;
	}

	.contact-hero-actions {
		gap: 25px;
	}

	.hero-action-icon svg,
	.hero-action-icon img {
		width: 44px;
		height: 44px;
	}

	.hero-action-text {
		font-size: 16px;
	}

	.contact-form-wrapper {
		padding: 35px 30px;
	}

	.section-title {
		font-size: 26px;
	}

	.contact-info-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	/* FAQ & Community stack on tablet */
	.faq-community-row {
		flex-direction: column;
	}

	.faq-col {
		padding: 40px 30px;
	}

	.community-col {
		padding: 40px 30px;
	}

	.faq-title,
	.community-title {
		font-size: 30px;
	}

	.faq-col .accordion {
		width: 70%;
	}

	.faq-col .accordion-button {
		font-size: 16px;
	}

	.community-grid {
		width: 50%;
	}

	.contact-map-wrapper {
		height: 350px;
	}
}

/* ========================================================================
   Responsive - Small Tablet (max-width: 767.98px)
   ======================================================================== */
@media (max-width: 767.98px) {
	.contact-hero {
		padding: 45px 0;
		min-height: auto;
	}

	.contact-hero-title {
		font-size: 30px;
	}

	.contact-hero-subtitle {
		font-size: 14px;
		margin-bottom: 25px;
	}

	.hero-action-icon svg,
	.hero-action-icon img {
		width: 36px;
		height: 36px;
	}

	.hero-action-text {
		font-size: 14px;
	}

	.hero-action-chat .hero-action-text {
		font-size: 12px;
		padding: 5px 16px;
	}

	.contact-form-section {
		padding: 40px 0;
	}

	.contact-form-wrapper {
		padding: 30px 20px;
		border-radius: 12px;
	}

	.contact-form .form-row {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-bottom: 15px;
	}

	.section-title {
		font-size: 24px;
	}

	.faq-col .accordion {
		width: 90%;
	}

	.community-grid {
		width: 70%;
	}

	.contact-map-wrapper {
		height: 300px;
	}
}

/* ========================================================================
   Responsive - Mobile (max-width: 575.98px)
   ======================================================================== */
@media (max-width: 575.98px) {
	.contact-hero {
		padding: 35px 0;
	}

	.contact-hero-title {
		font-size: 26px;
	}

	.contact-hero-subtitle {
		font-size: 13px;
		margin-bottom: 20px;
	}

	.contact-hero-actions {
		gap: 15px;
	}

	.hero-action-icon svg,
	.hero-action-icon img {
		width: 28px;
		height: 28px;
	}

	.hero-action-text {
		font-size: 12px;
	}

	.hero-action-chat .hero-action-text {
		font-size: 11px;
		padding: 4px 14px;
	}

	.contact-form-section {
		padding: 30px 0;
	}

	.contact-form-wrapper {
		padding: 20px 15px;
	}

	.section-title {
		font-size: 22px;
	}

	.section-subtitle {
		font-size: 14px;
	}

	.contact-form label {
		font-size: 13px;
	}

	.contact-form .form-control {
		padding: 10px 14px;
		font-size: 13px;
	}

	.btn-contact-submit {
		width: 100%;
		padding: 12px 30px;
		font-size: 15px;
	}

	.contact-info-section {
		padding: 30px 0;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.info-card {
		padding: 25px 20px;
	}

	.info-card-title {
		font-size: 20px;
	}

	.info-card-text {
		font-size: 14px;
	}

	.faq-col {
		padding: 30px 15px;
	}

	.community-col {
		padding: 30px 15px;
	}

	.faq-title,
	.community-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.faq-col .accordion {
		width: 100%;
	}

	.faq-col .accordion-button {
		font-size: 14px;
		padding: 14px 0;
	}

	.faq-col .accordion-body {
		font-size: 12px;
	}

	.community-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
		width: 100%;
	}

	.community-grid-item {
		border-radius: 8px;
	}

	.community-follow-text {
		font-size: 13px;
	}

	.community-followers {
		font-size: 18px;
	}

	.contact-map-wrapper {
		height: 250px;
	}

	.form-message {
		font-size: 13px;
		padding: 12px 15px;
	}
}

/* ========================================================================
   WhatsApp CTA Button (Contact Hero)
   ======================================================================== */
.bv-whatsapp-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #25d366;
	color: #fff;
	padding: 16px 36px;
	border-radius: 50px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	margin: 20px 0 10px;
	transition: background 0.3s, transform 0.2s;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.bv-whatsapp-cta:hover {
	background: #1ebe5d;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.bv-whatsapp-cta svg {
	fill: #fff;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.bv-whatsapp-cta {
		font-size: 15px;
		padding: 12px 28px;
	}
}
