/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #0056b3;
	--primary-dark: #004494;
	--primary-light: #e6f0ff;
	--secondary-color: #e74c3c;
	--secondary-dark: #c0392b;
	--text-color: #333;
	--text-light: #666;
	--background-color: #fff;
	--background-light: #f8f9fa;
	--border-color: #ddd;
	--success-color: #28a745;
	--warning-color: #ffc107;
	--danger-color: #dc3545;
	--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--background-color);
	overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 0.5em;
	font-weight: 600;
	line-height: 1.3;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

.section-title {
	text-align: center;
	margin-bottom: 2rem;
	font-size: 2.5rem;
	color: var(--primary-color);
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--secondary-color);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	border: none;
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--primary-color);
	color: white;
	margin: 0px 5px 5px 5px;
}

.btn-primary:hover {
	background-color: var(--primary-dark);
}

.btn-secondary {
	background-color: var(--secondary-color);
	color: white;
	margin: 0px 5px 5px 5px;
}

.btn-secondary:hover {
	background-color: var(--secondary-dark);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.875rem;
}

/* Header */
header {
	background-color: white;
	box-shadow: var(--box-shadow);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 40px;
	margin-right: 10px;
}

.logo h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin: 0;
}

nav {
	display: flex;
	align-items: center;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 30px;
}

.nav-links a {
	color: var(--text-color);
	font-weight: 500;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

.nav-links a:hover::after {
	width: 100%;
}

.mobile-menu {
	display: none;
	cursor: pointer;
}

.mobile-menu div {
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	margin: 5px;
	transition: var(--transition);
}

/* Mobile menu animation */
.mobile-menu.active .line1 {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active .line2 {
	opacity: 0;
}

.mobile-menu.active .line3 {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
	height: 50vh;
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/orgs/1/images/bg_1_1756447122.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	padding-top: 70px;
}

.hero-content {
	max-width: 800px;
	padding: 0 20px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 16px;
  color: white;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Services Section */
.services {
	padding: 80px 0;
	background-color: var(--background-light);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-icon {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}
/* Doctors Section */
.practitioners {
	padding: 80px 0;
}

.practitioners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.practitioner-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	max-width:400px;
	margin: auto;
}

.practitioner-card:hover {
	transform: translateY(-10px);
}

.practitioner-image {
	height: 250px;
	overflow: hidden;
}

.practitioner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.practitioner-card:hover .practitioner-image img {
	transform: scale(1.1);
}

.practitioner-card h3 {
	padding: 20px 20px 5px;
	font-size: 1.3rem;
	color: var(--primary-color);
}

.practitioner-specialty {
	padding: 0 20px;
	color: var(--secondary-color);
	font-weight: 500;
	margin-bottom: 10px;
}

.practitioner-bio {
	padding: 0 20px 20px;
	color: var(--text-light);
}

.practitioner-profile-btn {
	margin: 0 20px 20px;
}

/* Testimonials Section */
.testimonials {
	padding: 80px 0;
	background-color: var(--background-light);
}

.testimonial-slider {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
}

.testimonial-slide {
	display: none;
	animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.testimonial-content {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: var(--box-shadow);
}

.testimonial-quote {
	position: relative;
	padding: 20px 40px;
	text-align: center;
	font-style: italic;
	color: var(--text-light);
}

.testimonial-quote i {
	color: var(--primary-color);
	opacity: 0.3;
	font-size: 1.5rem;
}

.testimonial-quote i.fa-quote-left {
	position: absolute;
	top: 0;
	left: 0;
}

.testimonial-quote i.fa-quote-right {
	position: absolute;
	bottom: 0;
	right: 0;
}

.testimonial-author {
	display: flex;
	align-items: center;
	margin-top: 20px;
	padding: 0 20px;
}

.testimonial-author img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 15px;
	border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
	margin: 0;
	color: var(--primary-color);
}

.testimonial-author p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-light);
}

.testimonial-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
	padding: 0 15px;
}

.testimonial-dots {
	display: flex;
	gap: 10px;
}

.testimonial-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ccc;
	cursor: pointer;
	transition: var(--transition);
}

.testimonial-dot.active {
	background-color: var(--primary-color);
}

/* Patient Resources Section */
.resources {
	padding: 80px 0;
}

.resources-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.resource-card {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	border-top: 4px solid var(--primary-color);
}

.resource-card:hover {
	transform: translateY(-10px);
}

.resource-icon {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.resource-card h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

.resource-card p {
	color: var(--text-light);
	margin-bottom: 20px;
}

/* Locations Section */
.locations {
	padding: 80px 0;
	background-color: var(--background-light);
}
.locations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 30px;
}
.location-card {
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: white;
	box-shadow: var(--box-shadow);
	margin: auto;
	
}

.location-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
.location-image {
	height: 200px;
	overflow: hidden;
}
.location-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.location-card h3 {
	padding: 20px 20px 10px;
	font-size: 1.5rem;
	color: var(--primary-color);
}
.location-card p {
	padding: 0 20px;
	margin-bottom: 10px;
	line-height: 1.2rem;
	font-weight: 400 !important;
	color: #666;
}
.location-card i {
	color: var(--primary-color);
	margin-right: 10px;
}
.location-directions-btn {
	margin: 5px 10px 5px 10px;
	padding: 5px 5px 5px 5px;
	border: none;
	border-radius: 8px;
	font-size: 0.8rem;
	text-decoration: none;
	font-weight: 400;
}
.location-select-btn {
	width: 95%;
}
.location-options {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-height: 800px;
	overflow-y: auto;
}
.location-option-card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.location-option-card h4 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 18px;
}
.location-option-card p {
	margin: 8px 0;
	color: #666;
	line-height: 1.2;
	margin-bottom: 20px;
}
.location-option-card .select-location {
	margin-top: 15px;
	width: 100%;
}
.location-selection{
	min-height: 800px;
}
.location-content {
	padding: 25px;
}
.location-name {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin: 0 0 20px 0;
}
.location-details {
	margin-bottom: 25px;
}
.location-details > div {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}
.location-details i {
	color: #007bff;
	margin-right: 12px;
	margin-top: 3px;
	min-width: 16px;
}
.location-details p {
	margin: 0;
	color: #666;
	line-height: 1.2;
}
.hours-content {
	
}
.location-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}
.location-actions .btn {
	flex: 1;
	min-width: 120px;
	padding: 8px 24px 8px 24px
}
.book-at-location{
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 600;
}

/* Insurance Section */
.insurance {
	padding: 80px 0;
	background-color: var(--background-light);
}

.insurance-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.insurance-text {
	padding-right: 20px;
}

.insurance-text p {
	margin-bottom: 20px;
	color: var(--text-light);
}

.insurance-logos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.insurance-logo {
	background-color: white;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--box-shadow);
}

.insurance-logo img {
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
}

/* FAQ Section */
.faq {
	padding: 80px 0;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.faq-question {
	background-color: white;
	padding: 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question h3 {
	margin: 0;
	font-size: 1.1rem;
	color: var(--primary-color);
}

.faq-toggle {
	color: var(--primary-color);
	transition: var(--transition);
	flex-shrink: 0;
	margin-left: 10px;
}

.faq-item.active .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	background-color: white;
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 0 20px 20px;
	max-height: 1000px;
}

.faq-more {
	text-align: center;
	margin-top: 30px;
}

/* Blog Preview Section */
.blog-preview {
	padding: 80px 0;
	background-color: var(--background-light);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.blog-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.blog-card:hover {
	transform: translateY(-10px);
}

.blog-image {
	height: 200px;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.blog-card:hover .blog-image img {
	transform: scale(1.1);
}

.blog-content {
	padding: 20px;
}

.blog-date {
	color: var(--text-light);
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.blog-date i {
	margin-right: 5px;
}

.blog-content h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.blog-content p {
	color: var(--text-light);
	margin-bottom: 15px;
}

.blog-link {
	color: var(--primary-color);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
}

.blog-link i {
	margin-left: 5px;
	transition: var(--transition);
}

.blog-link:hover i {
	transform: translateX(5px);
}

.blog-more {
	text-align: center;
	margin-top: 30px;
}

/* Contact Section */
.contact-section {
	padding: 80px 0;
	background-color: var(--background-light);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

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

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.contact-item i {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-top: 5px;
}

.contact-item h3 {
	margin-bottom: 5px;
	color: var(--primary-color);
}

.contact-form {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: var(--box-shadow);
}

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

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}

/* Footer */
footer {
	background-color: #333;
	color: white;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-logo {
	height: 40px;
	margin-bottom: 15px;
}

.social-icons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	transition: var(--transition);
}

.social-icons a:hover {
	background-color: var(--primary-color);
	transform: translateY(-5px);
}

footer h3 {
	color: white;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

footer h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--primary-color);
}

footer ul {
	list-style: none;
}

footer ul li {
	margin-bottom: 10px;
}

footer ul a {
	color: #ccc;
	transition: var(--transition);
}

footer ul a:hover {
	color: white;
	padding-left: 5px;
}

.footer-contact p {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.footer-contact i {
	margin-right: 10px;
	color: var(--primary-color);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links a {
	color: #ccc;
	margin-left: 20px;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 5% auto;
	padding: 30px;
	border-radius: 8px;
	width: 90%;
	max-width: 800px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 1.5rem;
	cursor: pointer;
}

.booking-step {
	display: none;
}

.booking-step.active {
	display: block;
}

.booking-step h3 {
	color: var(--primary-color);
	margin-bottom: 20px;
}

.form-toggle {
	margin-top: 20px;
	text-align: center;
}

.form-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

/* Patient Type Selection */
.patient-type-selection {
	text-align: center;
	padding: 30px 0;
}

.patient-type-options {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 30px;
}

.patient-type-btn {
	padding: 20px 40px;
	font-size: 1.2rem;
	min-width: 200px;
}

/* Calendar Styles */
.calendar {
	margin-top: 20px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background-color: var(--primary-color);
	color: white;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
	padding: 10px;
	text-align: center;
	font-weight: bold;
	background-color: var(--primary-light);
}

.calendar-day {
	padding: 10px;
	text-align: center;
	border: 1px solid var(--border-color);
	cursor: pointer;
	transition: var(--transition);
}

.calendar-day:hover {
	background-color: var(--primary-light);
}

.calendar-day.selected {
	background-color: var(--primary-color);
	color: white;
}

.calendar-day.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.calendar-day.unavailable {
	background-color: #f8f9fa;
	color: #6c757d;
	border-color: #dee2e6;
	opacity: 0.6;
	cursor: not-allowed;
}

.calendar-day.unavailable:hover {
	background-color: #f8f9fa;
	color: #6c757d;
}

/* Time Slots */
.time-slots {
	margin-top: 30px;
	display: none;
}

.time-slots.active {
	display: block !important;
}

.time-slots-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 10px;
	margin-top: 15px;
}

.time-slot {
	padding: 10px;
	text-align: center;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	cursor: pointer;
	transition: var(--transition);
}

.time-slot:hover {
	background-color: var(--primary-light);
}

.time-slot.selected {
	background-color: var(--primary-color);
	color: white;
}

.time-slot.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f5f5f5;
}

/* Appointment Summary */
.appointment-summary {
	background-color: var(--primary-light);
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.summary-item {
	margin-bottom: 10px;
}

.summary-label {
	font-weight: 600;
	margin-right: 10px;
}

/* Payment Info */
.payment-info {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.payment-notice {
	font-size: 0.9rem;
	color: var(--text-light);
	background-color: #fff3cd;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-group.half {
	flex: 1;
}

/* Success Message */
.success-message {
	text-align: center;
	margin-bottom: 30px;
}

.success-message i {
	font-size: 4rem;
	color: var(--success-color);
	margin-bottom: 20px;
}

.next-steps {
	background-color: var(--primary-light);
	padding: 20px;
	border-radius: 8px;
}

.next-steps h4 {
	color: var(--primary-color);
	margin-bottom: 15px;
}

.next-steps ul {
	padding-left: 20px;
}

.next-steps li {
	margin-bottom: 10px;
}

/* Booking Options */
.booking-options {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 20px;
}

.practitioner-selection {
	padding: 20px;
	background-color: var(--background-light);
	border-radius: 8px;
}

.practitioner-selection select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	margin-top: 10px;
}

/* Alert Messages */
.alert {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.alert-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.alert-danger {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.alert-warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeeba;
}

.alert-info {
	background-color: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

/* Loading Spinner */
.spinner-container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	border-top: 4px solid var(--primary-color);
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#generalInfoPopup {
	position: fixed; left: 0; top: 0; width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.5);
}
 
 
/* Main Content */
.main-content {
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Profile Section */
.profile-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.profile-header h2 {
    margin-bottom: 0;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.profile-detail-item {
    margin-bottom: 15px;
}

.profile-detail-label {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.profile-detail-value {
    font-size: 1.1rem;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Appointments */
.appointment-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.appointment-card:hover {
    transform: translateY(-5px);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.appointment-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.appointment-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-confirmed {
    background-color: var(--success-color);
    color: white;
}

.status-pending {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.status-cancelled {
    background-color: var(--danger-color);
    color: white;
}

.appointment-details {
    margin-bottom: 15px;
}

.appointment-detail-item {
    display: flex;
    margin-bottom: 5px;
}

.appointment-detail-label {
    font-weight: 500;
    width: 120px;
    color: var(--text-light);
}

.appointment-actions {
    display: flex;
    gap: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Fix for phone number input field layout */
.phone-input-container {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.phone-input-container select,
.phone-input-container span {
	margin-right: 5px;
	padding: 10px;
	background-color: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	width: auto;
	flex-shrink: 0;
}

.phone-input-container input[type="tel"] {
	border-radius: 0 4px 4px 0;
	flex: 1;
	min-width: 200px;
}

.phone-help-text {
	margin-top: 5px;
	color: #6c757d;
	font-size: 0.875rem;
}

/* Modal height adjustments for location selection */
#bookingModal .modal-content {
	max-height: 95vh !important;
	/* min-height: 600px; */
}


/* Mobile Responsive formatting */

@media (max-width: 1200px) {
	.container {
		padding: 0 30px;
	}
}

@media (max-width: 992px) {
	.hero h1 {
		font-size: 2.5rem;
	}
	
	.booking-options {
		grid-template-columns: 1fr;
	}
	
	.insurance-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.insurance-text {
		padding-right: 0;
	}

	.section-title {
		font-size: 2.2rem;
	}
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
	
	.hero h1 {
		font-size: 2rem;
	}
	
	.hero p {
		font-size: 1rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-bottom-links {
		margin-top: 15px;
	}
	
	.footer-bottom-links a {
		margin: 0 10px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	
	.insurance-logos {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.testimonial-content {
		padding: 20px;
	}
	
	.testimonial-quote {
		padding: 10px 30px;
	}

	.cta-button {
		display: none; /* Hide the header CTA on mobile */
	}

	header .container {
		padding: 10px 20px;
	}

	.practitioner-card, .location-card, .blog-card {
		max-width: 400px;
		margin: 0 auto;
	}

	.patient-type-options {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	
	.locations-grid {
		grid-template-columns: 1fr;
	}
	
	.location-actions {
		flex-direction: column;
	}
	
	.location-actions .btn {
		width: 100%;
	}

}

/* Mobile format */
@media (max-width: 576px) {
	.hero h1 {
		font-size: 1.8rem;
	}
	
	.modal-content {
		margin: 0;
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
		padding: 20px;
	}
	
	.time-slots-container {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	}
	
	.testimonial-author {
		flex-direction: column;
		text-align: center;
	}
	
	.testimonial-author img {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.service-card, .resource-card {
		padding: 20px;
	}

	.service-icon, .resource-icon {
		font-size: 2.2rem;
	}

	.form-actions {
		flex-direction: column;
		gap: 10px;
	}

	.form-actions button {
		width: 100%;
	}

	.calendar-day-header, .calendar-day {
		padding: 8px 5px;
		font-size: 0.9rem;
	}

	.close-modal {
		top: 10px;
		right: 10px;
	}

	.logo h1 {
		font-size: 1.2rem;
	}

	.logo img {
		height: 30px;
	}

	.container {
		padding: 0 15px;
	}
}

@media (max-width: 400px) {
	.hero h1 {
		font-size: 1.5rem;
	}

	.hero p {
		font-size: 0.9rem;
	}

	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.service-card h3, .resource-card h3 {
		font-size: 1.2rem;
	}

	.practitioner-card h3 {
		font-size: 1.1rem;
	}

	.calendar-day-header, .calendar-day {
		padding: 5px 3px;
		font-size: 0.8rem;
	}

	.testimonial-quote {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.faq-question h3 {
		font-size: 1rem;
	}
}

/* Touch-friendly improvements */
@media (hover: none) {
	.service-card:hover, .practitioner-card:hover, .resource-card:hover, .blog-card:hover {
		transform: none;
	}

	.btn, .nav-links a, .social-icons a, .blog-link, .time-slot, .calendar-day {
		cursor: default;
	}
}
