/**
 * Custom Styles for Doctiplus Theme
 */

* {
	box-sizing: border-box;
}

:root {
	--color-primary: #2563eb;
	--color-primary-dark: #1d4ed8;
	--color-secondary: #10b981;
	--color-text: #1f2937;
	--color-text-light: #6b7280;
	--color-border: #e5e7eb;
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* Global Typography System */
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: #374151;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	letter-spacing: -0.02em;
}

h1 {
	font-size: 2.5rem;
	font-weight: 800;
}

h2 {
	font-size: 2rem;
	font-weight: 700;
}

h3 {
	font-size: 1.5rem;
	font-weight: 600;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

p {
	font-size: 1rem;
	line-height: 1.75;
	margin-bottom: 1.25rem;
	color: #4b5563;
}

@media (min-width: 768px) {
	h1 {
		font-size: 3rem;
	}
	
	h2 {
		font-size: 2.25rem;
	}
	
	h3 {
		font-size: 1.75rem;
	}
	
	p {
		font-size: 1.0625rem;
		line-height: 1.8;
	}
}

.container {
	max-width: 1280px;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.btn-primary {
	background-color: #2563eb;
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	transition: all 0.3s;
	font-weight: 500;
	display: inline-block;
	text-decoration: none;
}

.btn-primary:hover {
	background-color: #1d4ed8;
}

.btn-secondary {
	background-color: white;
	color: #2563eb;
	border: 2px solid #2563eb;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	transition: all 0.3s;
	font-weight: 500;
	display: inline-block;
	text-decoration: none;
}

.btn-secondary:hover {
	background-color: #eff6ff;
}

.section-title {
	font-size: 2.25rem;
	font-weight: bold;
	color: #111827;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.section-title {
		font-size: 2.5rem;
	}
}

.section-subtitle {
	font-size: 1.125rem;
	color: #4b5563;
	margin-bottom: 2rem;
}

.card {
	background-color: white;
	border-radius: 0.75rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	transition: all 0.3s;
}

.card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.specialty-card {
	background-color: white;
	border-radius: 0.5rem;
	padding: 1.5rem;
	text-align: center;
	transition: all 0.3s;
	border: 1px solid #f3f4f6;
}

.specialty-card:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.25rem);
}

.doctor-card {
	background-color: white;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.doctor-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
	background-color: white;
	border-radius: 0.75rem;
	padding: 2rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-card {
	background-color: white;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.blog-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	background-color: white;
	border-radius: 0.5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.feature-box:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.icon-box {
	width: 3rem;
	height: 3rem;
	background-color: #dbeafe;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2563eb;
	flex-shrink: 0;
}

.faq-item {
	border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-question {
	width: 100%;
	text-align: left;
	padding: 1rem 1.5rem;
	font-weight: 600;
	color: #111827;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	cursor: pointer;
}

.faq-question:hover {
	color: #2563eb;
}

.faq-answer {
	padding: 0 1.5rem 1rem;
	color: #4b5563;
	line-height: 1.75;
}

.hero-section {
	background: linear-gradient(to bottom right, #eff6ff, white);
	padding-top: 4rem;
}


.stats-box {
	text-align: center;
	padding: 1.5rem;
}

.stats-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: #2563eb;
	margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
	.stats-number {
		font-size: 3rem;
	}
}

.stats-label {
	color: #4b5563;
	font-weight: 500;
}

.breadcrumbs a {
	color: #2563eb;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.wp-block-image img {
	border-radius: 0.5rem;
}

.entry-content {
	max-width: none;
	line-height: 1.75;
}

.entry-content h2 {
	font-size: 1.875rem;
	font-weight: bold;
	color: #111827;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.entry-content h3 {
	font-size: 1.5rem;
	font-weight: bold;
	color: #111827;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.entry-content h4 {
	font-size: 1.25rem;
	font-weight: bold;
	color: #111827;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

.entry-content p {
	color: #374151;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
	color: #374151;
}

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

.entry-content a:hover {
	color: #1d4ed8;
}

.entry-content blockquote {
	border-left: 4px solid #2563eb;
	padding-left: 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: #374151;
	background-color: #eff6ff;
}

.entry-content img {
	border-radius: 0.5rem;
	margin: 1.5rem 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.entry-content th {
	background-color: #f3f4f6;
	border: 1px solid #d1d5db;
	padding: 1rem;
	font-weight: 600;
	text-align: left;
}

.entry-content td {
	border: 1px solid #d1d5db;
	padding: 1rem;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.pagination a,
.pagination span {
	padding: 0.5rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.25rem;
	transition: all 0.3s;
	text-decoration: none;
}

.pagination a:hover {
	background-color: #2563eb;
	color: white;
	border-color: #2563eb;
}

.pagination .current {
	background-color: #2563eb;
	color: white;
	border-color: #2563eb;
}

.widget {
	background-color: white;
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget li {
	border-bottom: 1px solid #f3f4f6;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}

.widget li:last-child {
	border-bottom: none;
}

.widget a {
	color: #374151;
	text-decoration: none;
	transition: color 0.3s;
}

.widget a:hover {
	color: #2563eb;
}

.search-form {
	display: flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	overflow: hidden;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 0.5rem 1rem;
	border: none;
	outline: none;
}

.search-form button {
	background-color: #2563eb;
	color: white;
	padding: 0.5rem 1.5rem;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
}

.search-form button:hover {
	background-color: #1d4ed8;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	background-color: #f9fafb;
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.comment-author {
	font-weight: 600;
	color: #111827;
	margin-bottom: 0.5rem;
}

.comment-meta {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 0.75rem;
}

.comment-content {
	color: #374151;
	line-height: 1.75;
}

.comment-reply-link {
	color: #2563eb;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.comment-reply-link:hover {
	color: #1d4ed8;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.5rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	outline: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form textarea {
	min-height: 8rem;
}

.comment-form input[type="submit"] {
	background-color: #2563eb;
	color: white;
	padding: 0.75rem 2rem;
	border-radius: 0.5rem;
	border: none;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s;
}

.comment-form input[type="submit"]:hover {
	background-color: #1d4ed8;
}

@media (max-width: 768px) {
	.section-title {
		font-size: 1.5rem;
	}
	
	.hero-section {
		padding: 3rem 0;
	}
}

.smooth-scroll {
	scroll-behavior: smooth;
}

.fade-in {
	animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide-in-left {
	animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.slide-in-right {
	animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Pagination Styles */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4b5563;
	background-color: white;
	border: 2px solid #e5e7eb;
	border-radius: 0.5rem;
	transition: all 0.2s;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	color: #2563eb;
	border-color: #2563eb;
	background-color: #eff6ff;
}

.pagination .page-numbers.current {
	color: white;
	background-color: #2563eb;
	border-color: #2563eb;
}

.pagination .page-numbers.dots {
	border: none;
	background: none;
}

.pagination .prev,
.pagination .next {
	font-weight: 600;
}

/* Forminator Contact Form Styling */
.forminator-contact-wrapper .forminator-ui {
	margin: 0 !important;
}

.forminator-contact-wrapper .forminator-row {
	margin-bottom: 1.5rem !important;
}

.forminator-contact-wrapper .forminator-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.5rem;
}

.forminator-contact-wrapper .forminator-input,
.forminator-contact-wrapper .forminator-textarea {
	width: 100% !important;
	padding: 0.75rem 1rem !important;
	border: 2px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	font-size: 1rem !important;
	transition: all 0.2s !important;
	background: white !important;
}

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

.forminator-contact-wrapper .forminator-textarea {
	resize: none !important;
	min-height: 150px !important;
}

.forminator-contact-wrapper .forminator-button {
	width: 100% !important;
	background: #3dbdec !important;
	color: white !important;
	font-weight: 700 !important;
	padding: 1rem 1.5rem !important;
	border-radius: 0.5rem !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
	font-size: 1rem !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.forminator-contact-wrapper .forminator-button:hover {
	background: #2da5d2 !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.forminator-contact-wrapper .forminator-error {
	color: #dc2626 !important;
	font-size: 0.875rem !important;
	margin-top: 0.25rem !important;
}

.forminator-contact-wrapper .forminator-success {
	background: #d1fae5 !important;
	color: #065f46 !important;
	padding: 1rem !important;
	border-radius: 0.5rem !important;
	margin-top: 1rem !important;
}

/* Doctor Profile Short Description Styling */
.doctor-short-desc p {
	margin-bottom: 1.25rem;
	line-height: 1.75;
	color: #374151;
}

.doctor-short-desc strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #3dbdec;
	margin-bottom: 0.5rem;
	margin-top: 1.25rem;
}

.doctor-short-desc strong:first-child {
	margin-top: 0;
}

.doctor-short-desc p:last-child {
	margin-bottom: 0;
}
