/* ================================================================
   Contact Page Modern Styling
   ================================================================ */

/* Contact Form Styling */
.contact-form {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
	border: 1px solid #e5e7eb;
}

.contact-form h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0a0a0a;
	margin: 0 0 20px;
}

/* Form fields */
.form-validate .control-group {
	margin-bottom: 16px;
}

.form-validate .control-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	margin-bottom: 6px;
}

.form-validate input[type="text"],
.form-validate input[type="email"],
.form-validate textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1rem;
	color: #0a0a0a;
	background: #fff;
	transition: outline .15s, border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}

.form-validate input[type="text"]:focus,
.form-validate input[type="email"]:focus,
.form-validate textarea:focus {
	outline: none;
	border-color: transparent;
	box-shadow: 0 0 0 2px #FE5001;
}

.form-validate textarea {
	resize: vertical;
	min-height: 112px;
}

/* Form validation styles */
.form-validate .control-group.required .control-label::after {
	content: ' *';
	color: #ef4444;
}

/* Submit button */
.form-validate .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 16px;
	background: #FE5001;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s;
	white-space: nowrap;
}

.form-validate .btn-primary:hover {
	background: #E54801;
}

/* Contact Details Styling */
.contact-miscinfo {
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e5e7eb;
}

.contact-miscinfo dl {
	margin: 0;
}

.contact-miscinfo dt {
	font-weight: 600;
	color: #0a0a0a;
	margin-bottom: 4px;
}

.contact-miscinfo dd {
	color: #6b7280;
	margin: 0 0 8px 0;
}

/* Contact Position */
.contact-position {
	background: #f3f4f6;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e5e7eb;
}

.contact-position dd {
	color: #0a0a0a;
	font-weight: 500;
	margin: 0;
}

/* Contact Image */
.contact-image {
	text-align: center;
	margin: 16px 0;
}

.contact-image img {
	max-width: 200px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Contact Links */
.contact-links {
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e5e7eb;
}

.contact-links a {
	color: #FE5001;
	text-decoration: none;
	font-weight: 500;
	transition: color .2s;
}

.contact-links a:hover {
	color: #E54801;
	text-decoration: underline;
}

/* VCARD Link */
.vcard-link {
	display: inline-block;
	padding: 8px 16px;
	background: #FE5001;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	transition: background .2s;
}

.vcard-link:hover {
	background: #E54801;
	color: #fff;
}

/* Bootstrap Tabs Styling */
.nav-tabs {
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 20px;
}

.nav-tabs > li > a {
	color: #6b7280;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	font-weight: 600;
	padding: 12px 16px;
	transition: all .2s;
}

.nav-tabs > li > a:hover {
	color: #FE5001;
	border-bottom-color: #FE5001;
	background: transparent;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
	color: #FE5001;
	background: transparent;
	border-bottom-color: #FE5001;
	cursor: default;
}

/* Bootstrap Panels Styling */
.panel-default {
	border: none;
	box-shadow: none;
}

.panel-default > .panel-heading {
	background: #fff;
	border: none;
	padding: 0;
}

.panel-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0a0a0a;
}

.accordion-toggle {
	color: #374151;
	text-decoration: none;
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
	transition: color .2s;
}

.accordion-toggle:hover {
	color: #FE5001;
}

.accordion-toggle.collapsed {
	color: #6b7280;
}

/* Contact Category */
.contact-category {
	display: inline-block;
	padding: 6px 12px;
	background: #FE5001;
	color: #fff;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
}

.contact-category a {
	color: #fff;
	text-decoration: none;
}

/* Page Header */
.page-header {
	margin-bottom: 24px;
}

.page-header h2 {
	font-size: 1.875rem;
	font-weight: 700;
	color: #0a0a0a;
	margin: 0;
}

/* Form Title */
.form-title {
	margin-bottom: 20px;
}

.form-title span {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.form-title h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0a0a0a;
	margin: 4px 0 0;
}

/* Address Section */
.address-top {
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid #e5e7eb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.contact-form {
		padding: 16px;
	}
	
	.form-validate input[type="text"],
	.form-validate input[type="email"],
	.form-validate textarea {
		padding: 10px 12px;
		font-size: 0.95rem;
	}
	
	.form-validate .btn-primary {
		padding: 12px 14px;
		font-size: 0.85rem;
	}
}

/* Accessibility improvements */
.form-validate input[type="text"]:focus,
.form-validate input[type="email"]:focus,
.form-validate textarea:focus {
	outline: 2px solid #FE5001;
	outline-offset: 2px;
}

/* Print styles */
@media print {
	.contact-form {
		box-shadow: none;
		border: 1px solid #000;
	}
	
	.form-validate .btn-primary {
		display: none;
	}
}

/* Target all contact containers */
.com_contact .container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Then undo for containers inside section */
.com_contact section .container {
    max-width: revert;
    overflow-x: revert;
}


/* Hide plain style sections if needed */
.contact .plain-style,
.contact .container.content-wrapper {
	display: none;
}
