/**
 * Modern Page Styles
 */

/* Page Hero Section */
.modern-page .page-hero {
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	padding: 80px 0 60px;
	position: relative;
	overflow: hidden;
	margin-bottom: 60px;
}

.modern-page .page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
	            radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.modern-page .page-hero-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
	position: relative;
	z-index: 1;
}

.modern-page .page-title {
	font-size: 48px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	text-align: center;
}

/* Page Container */
.modern-page .page-container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 32px 80px;
}

.modern-page .page-content-wrapper {
	background: #fff;
	border-radius: 16px;
	padding: 60px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-page .modern-page-content {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modern-page .entry-content {
	font-size: 16px;
	line-height: 1.8;
	color: #334155;
}

.modern-page .entry-content h1,
.modern-page .entry-content h2,
.modern-page .entry-content h3,
.modern-page .entry-content h4,
.modern-page .entry-content h5,
.modern-page .entry-content h6 {
	color: #0f172a;
	font-weight: 700;
	margin: 32px 0 16px;
	line-height: 1.3;
}

.modern-page .entry-content h2 {
	font-size: 32px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
}

.modern-page .entry-content h3 {
	font-size: 24px;
}

.modern-page .entry-content h4 {
	font-size: 20px;
}

.modern-page .entry-content p {
	margin: 0 0 20px;
}

.modern-page .entry-content ul,
.modern-page .entry-content ol {
	margin: 0 0 24px;
	padding-left: 28px;
}

.modern-page .entry-content li {
	margin-bottom: 12px;
	line-height: 1.7;
}

.modern-page .entry-content a {
	color: #3b82f6;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.modern-page .entry-content a:hover {
	color: #2563eb;
	text-decoration: underline;
}

.modern-page .entry-content strong {
	color: #1e293b;
	font-weight: 600;
}

.modern-page .entry-content blockquote {
	margin: 32px 0;
	padding: 24px 32px;
	background: #f8fafc;
	border-left: 4px solid #3b82f6;
	font-style: italic;
	color: #475569;
}

.modern-page .entry-content code {
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'Monaco', 'Courier New', monospace;
	color: #e11d48;
}

.modern-page .entry-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 24px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 24px 0;
}

.modern-page .entry-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.modern-page .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
}

.modern-page .entry-content table th,
.modern-page .entry-content table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}

.modern-page .entry-content table th {
	background: #f8fafc;
	font-weight: 600;
	color: #0f172a;
}

.modern-page .entry-content table tr:hover {
	background: #f8fafc;
}

.modern-page .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 24px 0;
}

.modern-page .entry-content .wp-block-image {
	margin: 32px 0;
}

.modern-page .page-links {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	gap: 12px;
	align-items: center;
	font-weight: 500;
}

.modern-page .page-links a {
	display: inline-block;
	padding: 8px 16px;
	background: #f1f5f9;
	border-radius: 6px;
	color: #334155;
	text-decoration: none;
	transition: all 0.2s ease;
}

.modern-page .page-links a:hover {
	background: #3b82f6;
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	.modern-page .page-hero {
		padding: 60px 0 40px;
		margin-bottom: 40px;
	}
	
	.modern-page .page-title {
		font-size: 36px;
	}
	
	.modern-page .page-content-wrapper {
		padding: 32px 24px;
	}
	
	.modern-page .entry-content {
		font-size: 15px;
	}
	
	.modern-page .entry-content h2 {
		font-size: 28px;
	}
	
	.modern-page .entry-content h3 {
		font-size: 22px;
	}
}

/* ============================================================================
   Contact Page - Enhanced Styles
   ========================================================================== */

/* Contact Hero */
.contact-hero {
	position: relative;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	padding: 120px 0 80px;
	overflow: hidden;
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	opacity: 0.5;
}

.contact-hero-content {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
	z-index: 1;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	padding: 8px 20px;
	border-radius: 50px;
	color: white;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-hero .page-title {
	font-size: 56px;
	font-weight: 800;
	color: white;
	margin: 0 0 16px;
	line-height: 1.2;
}

.contact-hero .page-subtitle {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.95);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Quick Contact Grid */
.quick-contact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: -60px 0 80px;
	position: relative;
	z-index: 10;
}

.quick-contact-card {
	background: white;
	padding: 32px 24px;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-contact-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.qc-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: white;
}

.qc-icon.phone {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.qc-icon.email {
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.qc-icon.whatsapp {
	background: linear-gradient(135deg, #25d366, #128c7e);
}

.qc-icon.location {
	background: linear-gradient(135deg, #f59e0b, #d97706);
}

.quick-contact-card h3 {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 8px;
}

.quick-contact-card p {
	font-size: 15px;
	color: #64748b;
	margin: 0 0 8px;
	word-break: break-word;
}

.quick-contact-card p a {
	color: #3b82f6;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.quick-contact-card p a:hover {
	color: #2563eb;
}

.qc-label {
	display: block;
	font-size: 13px;
	color: #94a3b8;
	font-weight: 500;
}

/* Main Contact Grid */
.contact-main-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	margin-bottom: 80px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
	background: white;
	padding: 48px;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header {
	margin-bottom: 40px;
}

.section-badge {
	display: inline-block;
	background: linear-gradient(135deg, #eff6ff, #f5f3ff);
	color: #3b82f6;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
	border: 1px solid #e0e7ff;
}

.section-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 12px;
}

.section-header p {
	font-size: 16px;
	color: #64748b;
	margin: 0;
	line-height: 1.6;
}

/* Modern Contact Form */
.modern-contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.modern-contact-form .form-group {
	margin-bottom: 24px;
}

.modern-contact-form label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 10px;
}

.modern-contact-form label svg {
	color: #94a3b8;
	flex-shrink: 0;
}

.modern-contact-form .required {
	color: #ef4444;
	margin-left: 2px;
}

.modern-contact-form input[type="text"],
.modern-contact-form input[type="email"],
.modern-contact-form input[type="tel"],
.modern-contact-form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	font-family: inherit;
	color: #1e293b;
	transition: all 0.2s ease;
	background: white;
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
	color: #94a3b8;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modern-contact-form textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.6;
}

.modern-contact-form .btn-submit {
	width: 100%;
	padding: 16px 32px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}

.modern-contact-form .btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.modern-contact-form .btn-submit:active {
	transform: translateY(0);
}

.modern-contact-form .btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Contact Sidebar */
.contact-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-info-box {
	background: white;
	padding: 32px;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-box-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f1f5f9;
}

.info-box-header svg {
	color: #3b82f6;
	flex-shrink: 0;
}

.info-box-header h3 {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

/* Office Hours */
.office-hours {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hour-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #f8fafc;
	border-radius: 10px;
	transition: background 0.2s ease;
}

.hour-row:hover {
	background: #f1f5f9;
}

.hour-row.closed {
	opacity: 0.6;
}

.hour-row .day {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.hour-row .time {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
}

/* Social Links Grid */
.social-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.social-link.facebook {
	background: #eff6ff;
	color: #1877f2;
}

.social-link.facebook:hover {
	background: #1877f2;
	color: white;
	border-color: #1877f2;
	transform: translateY(-2px);
}

.social-link.twitter {
	background: #f0f9ff;
	color: #1da1f2;
}

.social-link.twitter:hover {
	background: #1da1f2;
	color: white;
	border-color: #1da1f2;
	transform: translateY(-2px);
}

.social-link.instagram {
	background: #fdf2f8;
	color: #e4405f;
}

.social-link.instagram:hover {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: white;
	transform: translateY(-2px);
}

.social-link.linkedin {
	background: #eff6ff;
	color: #0077b5;
}

.social-link.linkedin:hover {
	background: #0077b5;
	color: white;
	border-color: #0077b5;
	transform: translateY(-2px);
}

/* Map Box */
.map-box {
	padding: 24px;
}

.map-placeholder {
	margin-bottom: 16px;
	border-radius: 12px;
	overflow: hidden;
}

.btn-directions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 20px;
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
	color: #334155;
	text-decoration: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 1px solid #cbd5e1;
}

.btn-directions:hover {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: white;
	border-color: #3b82f6;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

/* Form Message */
.form-message {
	padding: 16px 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 500;
}

.form-message.success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.form-message.error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.contact-hero .page-title {
		font-size: 44px;
	}
	
	.quick-contact-grid {
		grid-template-columns: repeat(2, 1fr);
		margin: -40px 0 60px;
	}
	
	.contact-main-grid {
		grid-template-columns: 1fr;
	}
	
	.contact-form-wrapper {
		padding: 36px;
	}
}

@media (max-width: 768px) {
	.contact-hero {
		padding: 80px 0 60px;
	}
	
	.contact-hero .page-title {
		font-size: 36px;
	}
	
	.contact-hero .page-subtitle {
		font-size: 18px;
	}
	
	.quick-contact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin: -30px 0 40px;
	}
	
	.quick-contact-card {
		padding: 24px 20px;
	}
	
	.contact-form-wrapper {
		padding: 28px 20px;
	}
	
	.section-header h2 {
		font-size: 26px;
	}
	
	.modern-contact-form .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.social-links-grid {
		grid-template-columns: 1fr;
	}
	
	.contact-info-box {
		padding: 24px 20px;
	}
}

/* Legacy Contact Page Styles (keeping for backward compatibility) */
.contact-page .page-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	margin-top: 12px;
	text-align: center;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	margin-bottom: 60px;
}

.contact-info-section {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-info-card {
	background: #fff;
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-info-card .icon-box {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: #fff;
}

.contact-info-card h3 {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 8px;
}

.contact-info-card p {
	color: #64748b;
	margin: 0;
	font-size: 15px;
}

.contact-info-card a {
	color: #3b82f6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.contact-info-card a:hover {
	color: #2563eb;
}

.contact-form-section {
	background: #fff;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-card h2 {
	font-size: 28px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}

.contact-form-card .form-description {
	color: #64748b;
	margin: 0 0 32px;
}

.general-contact-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.general-contact-form .form-group {
	margin-bottom: 20px;
}

.general-contact-form label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	margin-bottom: 8px;
}

.general-contact-form .required {
	color: #ef4444;
}

.general-contact-form input[type="text"],
.general-contact-form input[type="email"],
.general-contact-form input[type="tel"],
.general-contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.general-contact-form input:focus,
.general-contact-form textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.general-contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.general-contact-form .btn-submit {
	width: 100%;
	padding: 14px 32px;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.general-contact-form .btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.general-contact-form .btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.general-contact-form .form-message {
	margin: 15px 0;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.general-contact-form .form-message.success {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #fff;
}

.general-contact-form .form-message.error {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: #fff;
}

@media (max-width: 992px) {
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.general-contact-form .form-row {
		grid-template-columns: 1fr;
	}
	
	.contact-form-section {
		padding: 32px 24px;
	}
}

