
 :root {
	--white: #FFFFFF;
	--navy: #0B1D3A;
	--gold: #C5A253;
	--navy-light: #1A2B4A;
	--navy-lighter: #2A3B5A;
	--gray-light: #F8F9FA;
	--gray: #6C757D;
	--gray-dark: #495057;
	--text-dark: #212529;
	--text-light: #6C757D;
	
	/* Typography */
	--font-serif: 'Playfair Display', serif;
	--font-sans: 'Inter', sans-serif;
	
	/* Spacing */
	--section-padding: clamp(60px, 8vw, 120px);
	--container-padding: clamp(20px, 4vw, 40px);
	--card-padding: clamp(24px, 4vw, 40px);
	--button-padding: clamp(12px, 2.5vw, 16px) clamp(24px, 4vw, 32px);

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Prevent horizontal scroll */
html, body {
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

/* Ensure all elements fit within viewport */
* {
	max-width: 100%;
}

/* Fix common overflow causes */
img, video, iframe {
	max-width: 100%;
	height: auto;
}

/* Prevent text overflow */
pre, code {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

html {
	font-family: var(--font-sans);
	color: var(--text-dark);
	background: var(--white);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: clamp(1200px, 90vw, 1400px);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--white);
	border-bottom: 1px solid rgba(197, 162, 83, 0.2);
	box-shadow: 0 2px 20px rgba(11, 29, 58, 0.1);
	z-index: 1000;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - enhanced styling */
.site-header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 30px rgba(11, 29, 58, 0.15);
	border-bottom: 1px solid rgba(197, 162, 83, 0.3);
}

.site-header.scrolled .header-inner {
	height: 70px;
}

/* Optional: Hidden state for auto-hide behavior */
.site-header.hidden {
	transform: translateY(-100%);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	contain: layout;
}

/* Enhanced Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: modalFadeIn 0.3s ease-out;
}

.modal.open { 
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal .modal-content {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	margin: 20px;
	padding: 0;
	border: none;
	width: min(480px, 90%);
	border-radius: 20px;
	box-shadow: 
		0 25px 50px rgba(11, 29, 58, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.1);
	transform: scale(0.9);
	animation: modalSlideIn 0.3s ease-out forwards;
	overflow: hidden;
}

.modal .modal-content h3 {
	background: linear-gradient(135deg, #050505 0%, #808080 100%);
	color: white;
	padding: 24px 32px 20px;
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	position: relative;
}

/* Override for Create New Lawyer modal - remove blue headers */
#createLawyerModal .modal-content h3,
.create-lawyer-modal .modal-content h3 {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #000000 !important;
	padding: 0 !important;
	margin: 0 0 20px 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	display: block !important;
	position: relative !important;
	border-bottom: 2px solid rgba(197, 162, 83, 0.3) !important;
	padding-bottom: 12px !important;
}

.modal .modal-content h3::before {
	content: '✓';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--gold);
	border-radius: 50%;
	color: var(--navy);
	font-weight: bold;
	font-size: 18px;
	margin-right: 12px;
}

/* Override for Create New Lawyer modal - remove checkmark icons */
#createLawyerModal .modal-content h3::before,
.create-lawyer-modal .modal-content h3::before {
	display: none !important;
	content: none !important;
}

/* Left-align form labels in Create New Lawyer modal */
#createLawyerModal .modal-body,
.create-lawyer-modal .modal-body {
	text-align: left !important;
}

#createLawyerModal .form-group label,
.create-lawyer-modal .form-group label,
#createLawyerModal label,
.create-lawyer-modal label {
	text-align: left !important;
	display: block !important;
}

.modal .modal-content p {
	padding: 32px;
	font-size: 1.1rem;
	line-height: 1.6;
	color: #4a5568;
	margin: 0;
	text-align: center;
}

.modal .modal-content > div:last-child {
	padding: 0 32px 32px;
	text-align: center;
}

.modal .close {
	position: absolute;
	top: 20px;
	right: 24px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 24px;
	font-weight: normal;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	float: none;
}

.modal .close:hover,
.modal .close:focus { 
	color: white;
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.1);
}

.modal .btn-primary {
	background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
	color: var(--navy);
	border: none;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
	min-width: 120px;
}

.modal .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

@keyframes modalFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes modalSlideIn {
	from { 
		transform: scale(0.9) translateY(-20px);
		opacity: 0;
	}
	to { 
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.logo {
	color: var(--navy);
	text-decoration: none;
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: -0.5px;
	transition: color 0.3s ease;
}

.logo:hover {
	color: var(--gold);
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 10px;
	position: relative;
	z-index: 1002; /* Above mobile menu */
	border-radius: 8px;
	transition: background 0.3s ease;
}

.nav-toggle:hover {
	background: rgba(197, 162, 83, 0.1);
}

.nav-toggle span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--navy);
	margin: 5px 0;
	transition: all 0.3s ease;
	border-radius: 2px;
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px);
}

.nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Base navigation styles */
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Desktop navigation - only above 768px */
@media (min-width: 769px) {
	.nav-list {
		display: flex;
		gap: 8px;
		flex-direction: row;
		position: static;
		transform: none;
		background: transparent;
		box-shadow: none;
		border: none;
		width: auto;
		height: auto;
		align-items: center;
	}
	
	.nav-list li {
		display: flex;
		align-items: center;
	}
}

.nav-list a {
	text-decoration: none;
	color: var(--navy);
	font-weight: 500;
	padding: 12px 16px 10px 16px;
	border-radius: 8px;
	transition: color 0.3s ease, border-bottom-color 0.3s ease;
	font-size: 16px;
	position: relative;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	border-bottom: 2px solid transparent;
	height: 44px;
	vertical-align: top;
}

.nav-list a:hover {
	color: var(--gold);
	border-bottom-color: var(--gold);
}

/* Login Link Styling */
.login-link {
	background: var(--gold);
	color: var(--white) !important;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(176, 143, 66, 0.3);
	border-bottom: 2px solid transparent !important;
}

.login-link:hover {
	background: #B08F42;
	color: var(--white) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(176, 143, 66, 0.4);
	border-bottom-color: transparent !important;
}

/* Hero Section */
.hero {
	background: #000000;
	color: var(--white);
	padding: 100px 0 80px;
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('../img/insidealawyer-soffice-1920w.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.4;
	z-index: 1;
	transform: scaleX(-1);
}

.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.hero-container {
	position: relative;
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: left;
	max-width: 600px;
}

.hero-image {
	display: none;
}

.hero h1 {
	font-family: var(--font-serif);
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 700;
	margin: 0 0 24px 0;
	line-height: 1.2;
	color: var(--white);
	letter-spacing: -0.5px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
	font-size: clamp(16px, 2vw, 19px);
	margin: 0 0 40px 0;
	color: rgba(255, 255, 255, 0.95);
	font-weight: 400;
	line-height: 1.7;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	padding: 14px 32px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 15px;
	min-height: 50px;
	font-family: var(--font-sans);
	letter-spacing: 0.3px;
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary {
	background: #D4AF37;
	color: #000000;
	border-color: #D4AF37;
}

.btn-primary:hover {
	background: #B8860B;
	border-color: #B8860B;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--white);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.8);
	color: var(--white);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--white);
	transform: translateY(-2px);
}

.btn-disabled {
	background: var(--gray-light);
	color: var(--text-light);
	border-color: var(--gray-light);
	cursor: not-allowed;
	opacity: 0.6;
}

.btn-disabled:hover {
	background: var(--gray-light);
	color: var(--text-light);
	border-color: var(--gray-light);
	transform: none;
	box-shadow: none;
}

/* Sections */
.section {
	padding: var(--section-padding) 0;
	position: relative;
	scroll-margin-top: 90px;
}

.section.alt {
	background: var(--light-neutral);
}

.section-header {
	text-align: center;
	margin-bottom: clamp(40px, 6vw, 80px);
}

.section-header.text-left {
	text-align: left;
}

.section-header h2 {
	font-family: var(--font-serif);
	font-size: clamp(36px, 4.5vw, 52px);
	font-weight: 700;
	margin: 0 0 24px 0;
	line-height: 1.2;
	color: var(--charcoal);
	letter-spacing: -0.5px;
}

.section-header p {
	font-size: clamp(17px, 2.5vw, 19px);
	color: var(--text-light);
	margin: 0;
	max-width: 650px;
	margin: 0 auto;
	line-height: 1.7;
}

.section-header.text-left p {
	margin: 0;
}

/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 32px;
	margin-top: 60px;
}

.service-card {
	background: var(--white);
	border-radius: 16px;
	padding: var(--card-padding);
	text-align: center;
	box-shadow: 0 4px 20px rgba(11, 29, 58, 0.08);
	transition: all 0.3s ease;
	border: 1px solid rgba(197, 162, 83, 0.1);
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(11, 29, 58, 0.15);
	border-color: var(--gold);
}

.service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--gold), #B08F42);
	border-radius: 50%;
	margin: 0 auto 24px;
	transition: all 0.3s ease;
}

.service-card:hover .service-icon {
	transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
	color: var(--white);
}

.service-card h3 {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 16px 0;
	color: var(--navy);
}

.service-card p {
	color: var(--text-light);
	margin: 0;
	line-height: 1.6;
}

/* About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.about-features {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 40px;
}

.feature-item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--gold);
	border-radius: 12px;
	flex-shrink: 0;
}

.feature-icon svg {
	color: var(--white);
	width: 24px;
	height: 24px;
}

.feature-item h4 {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--navy);
}

.feature-item p {
	color: var(--text-light);
	margin: 0;
	line-height: 1.6;
}

.about-image img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(11, 29, 58, 0.15);
}

/* Testimonials */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 32px;
	margin-top: 60px;
}

.testimonial-card {
	background: var(--white);
	border-radius: 16px;
	padding: var(--card-padding);
	box-shadow: 0 4px 20px rgba(11, 29, 58, 0.08);
	transition: all 0.3s ease;
	border: 1px solid rgba(197, 162, 83, 0.1);
}

.testimonial-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(11, 29, 58, 0.15);
	border-color: var(--gold);
}

/* Fix contact card hover - remove weird animation */
.contact-card {
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	transform: none !important;
}

.contact-card:hover {
	transform: none !important;
	box-shadow: 0 8px 24px rgba(11, 29, 58, 0.12);
	border-color: var(--gold);
}

.contact-item {
	transition: none !important;
	transform: none !important;
}

.contact-icon {
	transition: none !important;
	transform: none !important;
}

.contact-icon:hover {
	transform: none !important;
}

.contact-item:hover .contact-icon {
	transform: none !important;
}

.testimonial-content {
	margin-bottom: 24px;
}

.testimonial-content p {
	font-style: italic;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-dark);
	margin: 0;
}

.testimonial-author h4 {
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 4px 0;
	color: var(--navy);
}

.testimonial-author span {
	color: var(--text-light);
	font-size: 14px;
}

/* Loading and error states for dynamic content */
.loading-placeholder, .no-lawyers, .error-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

.loading-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

.error-message {
    color: var(--danger);
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.no-lawyers {
    background: var(--gray-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Lawyers Section */
.lawyer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	align-items: start;
	margin-left: auto;
	margin-right: auto;
}

/* Carousel container fixes */
.carousel-container {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	margin: 0 auto;
}

.carousel {
	width: 100%;
	max-width: 100%;
}

.carousel-inner {
	width: 100%;
	max-width: 100%;
}

/* Ensure Bootstrap row doesn't cause overflow */
.carousel-item .container {
	max-width: 100%;
	padding: 0;
}

.carousel-item .row {
	margin: 0;
	width: 100%;
	max-width: 100%;
}

.carousel-item .col-md-6 {
	padding: 0 15px;
	height: 680px;
}

.carousel-item .col-md-4 {
	padding: 0 8px;
	height: 680px;
}

/* ============================================================================
   APPOINTMENT SECTION - Compact & Balanced Design
   ============================================================================ */

.appointment-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
	margin-top: 50px;
}

.appointment-form-container {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(197, 162, 83, 0.2);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.appointment-calendar {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(197, 162, 83, 0.2);
	display: flex;
	flex-direction: column;
}

/* Form Styles - Optimized Spacing */
.form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: relative;
	z-index: 1;
	flex: 1;
}

.form-row {
	display: grid;
	gap: 8px;
	position: relative;
}

.form-row label {
	font-weight: 600;
	color: #000000;
	font-size: 14px;
	letter-spacing: 0.3px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.form-row input,
.form-row textarea,
.form-row select {
	background: #ffffff;
	color: #000000;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14px;
	font-family: var(--font-sans);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: auto !important;
	position: relative;
	z-index: 1;
	font-weight: 500;
}

.form-row textarea {
	min-height: 100px;
	resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
	outline: none;
	border-color: #C5A253;
	background: #faf7f0;
	box-shadow: 
		0 0 0 3px rgba(197, 162, 83, 0.1),
		0 2px 8px rgba(197, 162, 83, 0.15);
	transform: translateY(-1px);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
	color: #999999;
	font-weight: 400;
}

.required-asterisk {
	color: #C5A253;
	font-weight: 700;
	font-size: 14px;
}

.date-selection-info {
	background: linear-gradient(135deg, #faf7f0 0%, #ffffff 100%);
	border: 2px solid rgba(197, 162, 83, 0.2);
	border-radius: 10px;
	padding: 16px 18px;
	margin-top: 8px;
	position: relative;
}

.date-selection-info p {
	margin: 0;
	color: #333333;
	font-size: 14px;
	line-height: 1.6;
	font-weight: 500;
}

.form-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 8px;
}

.form-actions .btn {
	width: 100%;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-actions .btn-primary {
	background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
	color: #C5A253;
	border: 2px solid #C5A253;
	box-shadow: 0 4px 16px rgba(197, 162, 83, 0.3);
}

.form-actions .btn-primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: radial-gradient(circle, rgba(197, 162, 83, 0.3) 0%, transparent 70%);
	transform: translate(-50%, -50%);
	transition: all 0.5s ease;
	border-radius: 50%;
}

.form-actions .btn-primary:hover::before {
	width: 300px;
	height: 300px;
}

.form-actions .btn-primary:hover {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #000000;
	border-color: #C5A253;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(197, 162, 83, 0.5);
}

.form-validation-note {
	color: #666666;
	font-size: 12px;
	font-weight: 600;
	margin-top: 0;
	padding: 10px 14px;
	background: #f5f5f5;
	border-radius: 8px;
	text-align: center;
	font-style: italic;
	transition: all 0.3s ease;
	border-left: 3px solid #999999;
}

.form-validation-note.valid {
	color: #000000;
	background: linear-gradient(135deg, #faf7f0 0%, #ffffff 100%);
	border-left-color: #C5A253;
	box-shadow: 0 2px 8px rgba(197, 162, 83, 0.2);
}

.form-note {
	color: #666666;
	margin: 12px 0 0 0;
	font-size: 13px;
	text-align: center;
	font-weight: 500;
}

/* Calendar Styles - Default Size, Clean Design */
.calendar {
	display: grid;
	gap: 20px;
	background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
	padding: 24px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(197, 162, 83, 0.2);
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
	padding: 16px 24px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #C5A253;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.5px;
}

.cal-nav {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	border: none;
	color: #ffffff;
	border-radius: 10px;
	height: 40px;
	width: 40px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(197, 162, 83, 0.4);
}

.cal-nav:hover {
	background: linear-gradient(135deg, #d4b36a 0%, #C5A253 100%);
	color: #ffffff;
	transform: scale(1.08) translateY(-2px);
	box-shadow: 0 4px 16px rgba(197, 162, 83, 0.6);
}

.calendar-grid {
	border: 2px solid rgba(197, 162, 83, 0.3);
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
	border-bottom: 2px solid rgba(197, 162, 83, 0.3);
}

.calendar-weekdays span {
	padding: 12px 8px;
	text-align: center;
	color: #C5A253;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.calendar-body {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: #ffffff;
}

.calendar-day {
	padding: 6px;
	border-right: 1px solid rgba(197, 162, 83, 0.15);
	border-bottom: 1px solid rgba(197, 162, 83, 0.15);
	min-height: 60px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	position: relative;
	background: #ffffff;
	transition: background 0.2s ease;
}

.calendar-day:hover {
	background: #fafafa;
}

.calendar-day:nth-child(7n) {
	border-right: none;
}

.calendar-day button {
	position: absolute;
	inset: 4px;
	border-radius: 10px;
	background: #ffffff;
	border: 2px solid rgba(0, 0, 0, 0.1);
	color: #000000;
	text-align: center;
	padding: 8px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-day button:hover {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #000000;
	border-color: #C5A253;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(197, 162, 83, 0.4);
}

.calendar-day button.selected {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #000000;
	border-color: #C5A253;
	box-shadow: 0 4px 16px rgba(197, 162, 83, 0.5);
	transform: scale(1.05);
	font-weight: 700;
}

/* Feature: Calendar availability states - Black, Gold & White Theme */
.calendar-day.available button {
	background: linear-gradient(135deg, #faf7f0 0%, #f5f1e8 100%);
	color: #000000;
	border: 2px solid rgba(197, 162, 83, 0.4);
}

.calendar-day.available button:hover {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #000000;
	border-color: #C5A253;
	box-shadow: 0 4px 12px rgba(197, 162, 83, 0.5);
}

.calendar-day.unavailable button {
	background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
	color: #666666;
	border: 2px solid #d0d0d0;
	cursor: not-allowed;
	opacity: 0.6;
}

.calendar-day.unavailable button:hover {
	transform: none;
	box-shadow: none;
}

.calendar-day.past button {
	background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
	color: #999999;
	border: 2px solid #e0e0e0;
	cursor: not-allowed;
	opacity: 0.5;
}

.calendar-day.past button:hover {
	transform: none;
	box-shadow: none;
}

.calendar-note {
	color: #333333;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 500;
	padding: 10px 14px;
	background: linear-gradient(135deg, #faf7f0 0%, #f5f1e8 100%);
	border-radius: 8px;
	border-left: 3px solid #C5A253;
}

.calendar-required {
	color: #000000;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	font-style: italic;
	padding: 8px 14px;
	background: linear-gradient(135deg, #faf7f0 0%, #f5f1e8 100%);
	border-radius: 8px;
	border-left: 3px solid #C5A253;
}

.calendar.no-date-selected {
	border: 2px solid #666666;
	border-radius: 16px;
	padding: 6px;
	box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

.calendar.date-selected {
	border: 2px solid #C5A253;
	border-radius: 16px;
	padding: 6px;
	box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.2);
}

/* Contact Section */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	margin-top: 60px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.contact-card {
	background: var(--white);
	border-radius: 16px;
	padding: var(--card-padding);
	box-shadow: 0 4px 20px rgba(11, 29, 58, 0.08);
	border: 1px solid rgba(197, 162, 83, 0.1);
}

.contact-card h3 {
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 24px 0;
	color: var(--navy);
}

.contact-item {
	display: flex;
	gap: 32px;
	margin-bottom: 20px;
	text-align: justify;
	padding-left: 32px;
}

.contact-item:last-child {
	margin-bottom: 0;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent; /* remove box background */
    border-radius: 0; /* no rounded box */
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--gold); /* show only the icon in gold */
    width: 20px;
    height: 20px;
}


.contact-item strong {
	display: block;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 4px;
	text-align: justify;
}

.contact-item span {
	color: var(--text-light);
	font-size: 14px;
	text-align: justify;
}

.hours-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid var(--gray-light);
	border-radius: 8px;
	margin: 4px 0;
	transition: all 0.3s ease;
	cursor: pointer;
}

.hours-item:hover {
	background: rgba(197, 162, 83, 0.1);
	border: 2px solid var(--gold);
	border-radius: 12px;
	padding: 14px 18px;
	transform: translateX(8px);
	box-shadow: 0 4px 12px rgba(197, 162, 83, 0.2);
}

.hours-item:last-child {
	border-bottom: 1px solid var(--gray-light);
}

.hours-item:last-child:hover {
	border: 2px solid var(--gold);
}

.hours-item .day {
	font-weight: 600;
	color: var(--navy);
	transition: color 0.3s ease;
}

.hours-item:hover .day {
	color: var(--gold);
	font-weight: 700;
}

.hours-item .time {
	color: var(--text-light);
	transition: color 0.3s ease;
}

.hours-item:hover .time {
	color: var(--navy);
	font-weight: 600;
}

.contact-map {
	background: var(--white);
	border-radius: 16px;
	padding: var(--card-padding);
	box-shadow: 0 4px 20px rgba(11, 29, 58, 0.08);
	border: 1px solid rgba(197, 162, 83, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-placeholder,
.map-container {
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	min-height: 600px;
	height: auto;
	background: var(--white);	
	border-radius: 16px;
	overflow: hidden;
}

.map-container iframe {
	width: 100%;
	height: 450px;
	min-height: 360px;
	border: none;
	border-radius: 0;
	box-shadow: none;
	transition: none;
	flex-shrink: 0;
	display: block;
}

.map-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 30px 20px 20px;
	background: var(--white);
	text-align: center;
}

.map-placeholder h3,
.map-container h3,
.map-info h3 {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 12px 0;
	color: var(--navy);
}

.map-placeholder p,
.map-container p,
.map-info p {
	color: var(--text-light);
	margin: 0 0 20px 0;
	line-height: 1.6;
	font-size: 16px;
}

.map-actions {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.map-actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	background: var(--gold);
	color: var(--white);
	border: 2px solid var(--gold);
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(197, 162, 83, 0.3);
}

.map-actions .btn:hover {
	background: var(--white);
	color: var(--gold);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(197, 162, 83, 0.4);
}

.map-actions .btn svg {
	margin-right: 8px;
	flex-shrink: 0;
}

/* Footer */
.site-footer {
	background: #3A3A3A;
	color: var(--white);
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	margin: 0 0 20px 0;
	color: #D4AF37;
}

.footer-section h3 {
	font-size: 24px;
}

.footer-section h4 {
	font-size: 18px;
}

.footer-section p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 12px 0;
	line-height: 1.6;
}

.footer-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-section ul li {
	margin-bottom: 8px;
}

.footer-section ul li a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: #D4AF37;
}

.footer-bottom {
	border-top: 1px solid rgba(212, 175, 55, 0.2);
	padding-top: 20px;
	text-align: center;
}

.footer-bottom p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hero {
		padding: 120px 0 80px;
		min-height: auto;
	}
	
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	
	.hero-content {
		text-align: center;
		max-width: 100%;
	}
	
	.hero-image {
		justify-content: center;
	}
	
	.hero-actions {
		justify-content: center;
	}
	
	.about-content {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	
	.contact-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.appointment-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	/* Center appointment section on mobile */
	#appointment {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 60px 10px;
	}
	
	#appointment .container {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.appointment-form-container,
	.appointment-calendar {
		width: 100%;
		max-width: 500px; /* Optimal width for mobile */
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	/* Navigation */
	.nav-toggle {
		display: block;
	}
	
	/* Only apply mobile nav styles to header navigation */
	.site-header .nav-list {
		position: fixed;
		right: 0;
		top: 0;
		bottom: 0;
		height: 100vh;
		width: 280px;
		max-width: 80vw;
		background: #FFFFFF;
		border-left: 1px solid rgba(197, 162, 83, 0.2);
		padding: 100px 20px 20px;
		display: flex;
		flex-direction: column;
		gap: 8px;
		box-shadow: -5px 0 30px rgba(11, 29, 58, 0.15);
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 1001;
		overflow-y: auto;
		overflow-x: hidden;
	}
	
	.site-header .nav-list.open {
		transform: translateX(0) !important;
	}
	
	.site-header .nav-list li {
		display: block;
		width: 100%;
		list-style: none;
	}
	
	.site-header .nav-list a {
		display: block;
		padding: 16px 20px;
		color: #0B1D3A;
		text-decoration: none;
		font-size: 16px;
		font-weight: 500;
		border-radius: 8px;
		transition: background 0.3s ease;
		border-bottom: none !important;
		margin-bottom: 0;
	}
	
	.site-header .nav-list a:hover,
	.site-header .nav-list a:active {
		background: rgba(197, 162, 83, 0.1);
	}
	
	/* Mobile menu overlay */
	.nav-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.3);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		z-index: 999;
		opacity: 0;
		transition: opacity 0.4s ease;
	}
	
	.nav-overlay.active {
		display: block;
		opacity: 1;
	}
	
	/* Grid layouts */
	.services-grid {
		grid-template-columns: 1fr;
	}
	
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
	
	.lawyer-grid {
		grid-template-columns: 1fr;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}
	
	/* Center footer navigation on mobile */
	.footer-section .nav-list {
		display: flex;
		justify-content: center;
	}
	
	/* Hero mobile styles */
	.hero {
		padding: 120px 0 60px;
		min-height: auto;
	}
	
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.hero-content {
		text-align: center;
		max-width: 100%;
	}
	
	.hero-image {
		justify-content: center;
		order: -1;
	}
	
	.hero-image img {
		max-width: 100%;
	}
	
	.hero h1 {
		font-size: clamp(28px, 7vw, 40px);
	}
	
	.hero-tagline {
		font-size: clamp(15px, 4vw, 17px);
		margin-bottom: 32px;
	}
	
	.hero-actions {
		justify-content: center;
		flex-direction: column;
		gap: 12px;
	}
	
	/* Touch improvements */
	.btn {
		min-height: 50px;
		min-width: 48px;
		padding: 14px 28px;
		width: 100%;
		max-width: 300px;
	}
	
	/* Form inputs */
	.form-row input,
	.form-row textarea,
	.form-row select {
		font-size: 16px; /* Prevents zoom on iOS */
		padding: 18px 16px;
		min-height: 48px;
	}
	
	/* Form centering within containers */
	.form {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}
	
	.form-row {
		width: 100%;
		margin: 0 auto;
	}
	
	/* Calendar - Mobile Optimized with Responsive Scaling */
	.calendar {
		margin: 0 -1vw; /* Use more screen width on mobile */
		width: calc(100% + 2vw);
		max-width: calc(100% + 2vw);
	}
	
	.calendar-grid {
		border-radius: clamp(6px, 1.5vw, 12px);
		border-width: 1px;
	}
	
	.calendar-day {
		padding: clamp(2px, 0.8vw, 4px); /* Responsive padding */
		min-height: clamp(42px, 11vw, 56px); /* Scales with viewport */
		aspect-ratio: 1; /* Keep days square */
		border-width: 1px;
	}
	
	.calendar-day button {
		min-height: clamp(36px, 9vw, 48px); /* Responsive button size */
		min-width: clamp(36px, 9vw, 48px);
		font-size: clamp(13px, 3.2vw, 16px); /* Scales with screen */
		font-weight: 600;
		border-radius: clamp(4px, 1vw, 8px);
		inset: clamp(1px, 0.4vw, 3px); /* Responsive spacing */
		display: flex;
		align-items: center;
		justify-content: center;
		/* Better touch targets */
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	/* Improve touch feedback */
	.calendar-day button:active {
		transform: scale(0.95);
		transition: transform 0.1s ease;
	}
	
	/* Calendar weekday headers - Responsive */
	.calendar-weekdays span {
		padding: clamp(6px, 2vw, 12px) clamp(2px, 1vw, 6px);
		font-size: clamp(10px, 2.8vw, 14px);
		font-weight: 700;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	/* Calendar navigation - Responsive */
	.calendar-header {
		padding: clamp(8px, 2.5vw, 16px) clamp(4px, 1.5vw, 12px);
		margin-bottom: clamp(4px, 1.5vw, 12px);
	}
	
	.calendar-header h3 {
		font-size: clamp(16px, 4.5vw, 22px);
	}
	
	.cal-nav {
		width: clamp(32px, 8vw, 44px);
		height: clamp(32px, 8vw, 44px);
		font-size: clamp(14px, 4vw, 20px);
	}
	
	/* Modal */
	.modal .modal-content {
		width: 95%;
		margin: 10px;
		max-height: 90vh;
		overflow-y: auto;
		border-radius: 16px;
	}
	
	.modal .modal-content h3 {
		padding: 20px 24px 16px;
		font-size: 1.2rem;
	}
	
	.modal .modal-content h3::before {
		width: 28px;
		height: 28px;
		font-size: 16px;
		margin-right: 10px;
	}
	
	.modal .modal-content p {
		padding: 24px;
		font-size: 1rem;
	}
	
	.modal .modal-content > div:last-child {
		padding: 0 24px 24px;
	}
	
	.modal .close {
		top: 16px;
		right: 20px;
		width: 28px;
		height: 28px;
		font-size: 20px;
	}
	
	/* Card interactions for mobile */
	.service-card,
	.testimonial-card,
	.lawyer-card {
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}
	
	.service-card:active,
	.testimonial-card:active,
	.lawyer-card:active {
		transform: scale(0.98);
	}
	
	/* Hours item responsive enhancements */
	.hours-item {
		padding: 14px 12px;
		margin: 6px 0;
		border-radius: 10px;
	}
	
	.hours-item:hover {
		padding: 16px 14px;
		transform: translateX(4px);
		border-radius: 14px;
	}
	
	.hours-item .day {
		font-size: 15px;
	}
	
	.hours-item .time {
		font-size: 14px;
	}
	
	/* Touch-friendly hover effects for mobile */
	.hours-item:active {
		background: rgba(197, 162, 83, 0.15);
		border: 2px solid var(--gold);
		transform: translateX(2px) scale(0.98);
	}
	
	/* Map responsive adjustments */
	.map-container {
		min-height: auto;
		height: auto;
		position: relative;
	}
	
	.map-container iframe {
		height: 300px;
		min-height: 300px;
	}
	
	.map-info {
		padding: 24px 20px;
	}
	
	.map-info h3 {
		font-size: 20px;
		margin-bottom: 12px;
	}
	
	.map-info p {
		font-size: 14px;
		margin-bottom: 16px;
	}
	
	.map-actions {
		width: 100%;
	}
	
	.map-actions .btn {
		width: 100%;
		justify-content: center;
	}
	
	/* Prevent horizontal scroll on mobile */
	body {
		overflow-x: hidden;
	}
	
	.container {
		padding: 0 20px;
		max-width: 100vw;
	}
	
	/* Ensure sections don't overflow */
	.section {
		padding-left: 20px;
		padding-right: 20px;
		max-width: 100vw;
		overflow-x: hidden;
	}
	
	/* Fix wide elements */
	.hero,
	.services,
	.about,
	.testimonials,
	.lawyers,
	.appointment,
	.footer {
		max-width: 100vw;
		overflow-x: hidden;
	}
	
	/* Fix form elements */
	.form-row {
		max-width: 100%;
	}
	
	.form-row input,
	.form-row textarea,
	.form-row select {
		max-width: 100%;
		width: 100%;
	}
	
	/* Fix calendar container */
	.calendar-container {
		max-width: 100%;
		overflow-x: auto;
	}
	
	/* Fix any tables */
	table {
		max-width: 100%;
		overflow-x: auto;
		display: block;
		white-space: nowrap;
	}
	
	/* Fix lawyers carousel on mobile - CENTERED */
	.carousel-container {
		margin: 0 auto;
		padding: 0 20px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.carousel {
		width: 100%;
		max-width: 400px; /* Limit width on mobile for better centering */
		margin: 0 auto;
	}
	
	/* Ensure carousel controls are visible */
	.carousel-control-prev,
	.carousel-control-next {
		width: 45px;
		height: 45px;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(11, 29, 58, 0.8);
		border-radius: 50%;
		border: none;
		opacity: 0.9;
	}
	
	.carousel-control-prev {
		left: 5px;
	}
	
	.carousel-control-next {
		right: 5px;
	}
	
	/* Center lawyer cards in carousel on mobile */
	.carousel-item {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 15px 10px; /* Extra padding for shadows while maintaining centering */
	}
	
	.carousel-item .container {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		max-width: 100%;
		padding: 0;
	}
	
	.carousel-item .row {
		margin: 0;
		width: 100%;
		display: flex;
		justify-content: center !important;
		align-items: center;
	}
	
	.carousel-item .col-md-6 {
		flex: 0 0 auto;
		width: 100%;
		max-width: 350px; /* Optimal card width on mobile */
		margin: 0 auto;
		display: flex;
		justify-content: center;
	}
	
	.carousel-item .lawyer-card {
		margin: 0 auto;
		width: 100%;
		max-width: clamp(280px, 85vw, 350px); /* Responsive card width */
		min-height: clamp(450px, 60vh, 500px); /* Use viewport height instead of width */
		height: auto; /* Allow unlimited growth for content */
		max-height: none; /* Remove any height restrictions */
		display: flex;
		flex-direction: column;
		justify-content: flex-start; /* Start from top, don't force space-between */
		padding: clamp(16px, 4vw, 24px); /* Responsive padding */
		box-sizing: border-box;
		overflow: visible; /* Ensure content isn't hidden */
	}
	
	/* Responsive lawyer card content */
	.carousel-item .lawyer-card .lawyer-image {
		flex-shrink: 0;
		margin-bottom: clamp(12px, 3vw, 20px);
	}
	
	.carousel-item .lawyer-card .lawyer-info {
		flex-grow: 1;
		display: flex;
		flex-direction: column;
		justify-content: flex-start; /* Don't force spacing */
		margin-bottom: clamp(16px, 4vw, 20px); /* Space before contact */
	}
	
	.carousel-item .lawyer-card .lawyer-info h3 {
		font-size: clamp(18px, 4.5vw, 24px);
		margin-bottom: clamp(8px, 2vw, 12px);
	}
	
	.carousel-item .lawyer-card .lawyer-info p {
		font-size: clamp(13px, 3vw, 16px);
		line-height: 1.5; /* Better line spacing for readability */
		margin-bottom: clamp(12px, 3vw, 16px);
		word-wrap: break-word; /* Handle long words */
		overflow-wrap: break-word;
		hyphens: auto; /* Better text wrapping */
		flex-grow: 1; /* Allow description to expand */
	}
	
	.carousel-item .lawyer-card .lawyer-contact {
		flex-shrink: 0;
		margin-top: auto;
	}
	
	.carousel-item .lawyer-card .lawyer-contact div {
		font-size: clamp(12px, 2.8vw, 14px);
		margin-bottom: clamp(6px, 1.5vw, 8px);
	}
	
	.carousel-item .lawyer-card .book-btn {
		margin-top: clamp(12px, 3vw, 16px);
		padding: clamp(10px, 2.5vw, 14px) clamp(16px, 4vw, 20px);
		font-size: clamp(13px, 3vw, 16px);
		position: relative;
		z-index: 10;
		cursor: pointer;
		pointer-events: auto;
	}
	
	/* Center single cards on mobile */
	.carousel-item .row .col-md-6:only-child {
		justify-content: center;
		display: flex;
	}
	
	/* Ensure carousel animation works properly */
	.carousel-inner {
		overflow: hidden; /* Keep hidden for proper slide transitions */
	}
	
	/* Carousel items already have padding defined above for mobile */
	
	#lawyers .section {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 36px;
	}
	
	.hero-tagline {
		font-size: 18px;
	}
	
	/* Enhanced centering for small devices (iPhone SE, Galaxy S8+) */
	#appointment {
		padding: 40px 5px; /* Tighter padding for small screens */
	}
	
	.appointment-form-container,
	.appointment-calendar {
		max-width: 95vw; /* Use more screen width */
		margin: 0 auto;
		padding: clamp(16px, 4vw, 24px); /* Responsive padding */
	}
	
	/* Calendar specific centering for small screens */
	.calendar {
		margin: 0 -2vw; /* Use even more screen width on small devices */
		width: calc(100% + 4vw);
		max-width: calc(100% + 4vw);
	}
	
	.calendar-grid {
		width: 100%;
		max-width: 100%;
	}
	
	/* Further optimize lawyers carousel for small screens */
	.carousel-container {
		padding: 0 15px;
	}
	
	.carousel {
		max-width: 350px; /* Smaller on very small screens */
	}
	
	.carousel-control-prev,
	.carousel-control-next {
		width: 40px;
		height: 40px;
	}
	
	.carousel-control-prev {
		left: 2px;
	}
	
	.carousel-control-next {
		right: 2px;
	}
	
	.carousel-item .lawyer-card {
		margin: 0 auto;
		max-width: clamp(260px, 90vw, 320px); /* Extra responsive for small screens */
		min-height: clamp(420px, 50vh, 480px); /* Use viewport height for better scaling */
		height: auto; /* Allow unlimited height growth */
		max-height: none; /* Remove height restrictions */
		padding: clamp(12px, 3vw, 20px); /* Tighter padding for small screens */
		overflow: visible; /* Ensure all content is visible */
		justify-content: flex-start; /* Start from top */
	}
	
	/* Adjust text sizes for very small screens */
	.carousel-item .lawyer-card .lawyer-info h3 {
		font-size: clamp(16px, 4vw, 20px);
	}
	
	.carousel-item .lawyer-card .lawyer-info p {
		font-size: clamp(12px, 2.8vw, 14px);
		line-height: 1.4; /* Better readability */
		word-wrap: break-word;
		overflow-wrap: break-word;
		hyphens: auto;
		flex-grow: 1; /* Allow text to expand */
	}
	
	.carousel-item .lawyer-card .lawyer-contact div {
		font-size: clamp(11px, 2.5vw, 13px);
	}
	
	.carousel-item .lawyer-card .book-btn {
		padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
		font-size: clamp(12px, 2.8vw, 14px);
	}
	
	.carousel-item .col-md-6 {
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
		display: flex;
		justify-content: center;
	}
	
	/* Reduce card content for small screens */
	.carousel-item p-body {
		padding: 1rem;
	}
	
	.carousel-item .lawyer-desc {
		max-height: 3.6em; /* 2 lines on small screens */
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	
	/* Reduce container padding on very small screens */
	.container {
		padding: 0 15px;
	}
	
	#lawyers .container {
		padding: 0 10px;
	}
	
	/* Ensure carousel indicators are visible on mobile */
	.carousel-indicators {
		bottom: -50px;
		margin-bottom: 0;
	}
	
	.carousel-indicators button {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background-color: var(--gold);
		border: 2px solid var(--navy);
		opacity: 0.5;
	}
	
	.carousel-indicators button.active {
		opacity: 1;
		background-color: var(--navy);
	}
	
	.hero-actions {
		flex-direction: column;
		width: 100%;
	}
	
	.btn {
		width: 100%;
	}
	
	.section {
		padding: 60px 0;
	}
	
	.section-header h2 {
		font-size: 28px;
	}
}

/* Calendar Legend Styles - Compact Design */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 16px 0 0;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 8px;
    border: 2px solid rgba(197, 162, 83, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #000000;
    font-weight: 500;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-color.available {
    background: linear-gradient(135deg, #faf7f0 0%, #f5f1e8 100%);
    border-color: rgba(197, 162, 83, 0.5);
}

.legend-color.unavailable {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-color: #d0d0d0;
}

.legend-color.past {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    border-color: #e0e0e0;
}

/* =============================================================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================================================= */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for keyboard navigation */
*:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--navy);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }
    
    .service-card,
    .testimonial-card {
        border: 2px solid var(--navy);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Universal responsive calendar scaling handles all devices automatically */

/* Mobile and Touch Enhancements - Consolidated above in main @media (max-width: 768px) block */

/* Touch device specific styles */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(11, 29, 58, 0.08);
    }
    
    /* Add active states for touch */
    .service-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(11, 29, 58, 0.15);
    }
    
    /* Improve button feedback */
    .btn:active {
        transform: scale(0.95);
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: clamp(28px, 4vw, 40px);
    }
    
    .hero-tagline {
        font-size: clamp(16px, 2.5vw, 20px);
    }
}

/* ============================================================================
   PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

/* Hardware acceleration for smooth animations */
.site-header,
.nav-list,
.carousel-item,
.modal,
.service-card,
.testimonial-card {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize animations for better performance */
* {
    will-change: auto;
}

/* Reduce repaints on hover effects */
.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px) translateZ(0);
    will-change: transform;
}

/* Optimize font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Contain layout for better performance - excluding hero */
.section:not(.hero) {
    contain: layout style;
}

.service-card,
.testimonial-card {
    contain: layout style;
}

/* Optimize scroll performance */
.section:not(.hero) {
    will-change: scroll-position;
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {
    .hero {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Reduce paint areas */
.btn,
.nav-list a,
.service-card {
    isolation: isolate;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

/* Toast icon */
.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Toast content */
.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
}

.toast-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Toast close button */
.toast-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Toast types */
.toast.toast-success {
    border-left-color: #28a745;
}

.toast.toast-success .toast-icon {
    color: #28a745;
}

.toast.toast-error {
    border-left-color: #dc3545;
}

.toast.toast-error .toast-icon {
    color: #dc3545;
}

.toast.toast-warning {
    border-left-color: #ffc107;
}

.toast.toast-warning .toast-icon {
    color: #ffc107;
}

.toast.toast-info {
    border-left-color: #17a2b8;
}

.toast.toast-info .toast-icon {
    color: #17a2b8;
}

/* Progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    border-radius: 0 0 12px 12px;
    animation: toast-progress 5s linear forwards;
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 90px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Card Lift Animation */
.service-card,
.testimonial-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Animations on Hover */
.service-icon,
.contact-icon {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon,
.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Bounce animation for icons */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card:hover .service-icon svg,
.contact-card:hover .contact-icon svg {
    animation: bounce 0.6s ease;
}

/* Button Hover Glow Effect */
.btn-primary {
    position: relative;
    box-shadow: 0 4px 15px rgba(197, 162, 83, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(197, 162, 83, 0.5);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(197, 162, 83, 0.3);
}

/* Success Checkmark Animation */
.checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #28a745;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #28a745;
    animation: fill 0.4s ease-in-out 0.4s forwards, 
               scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0 0 0 30px #28a745; }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(197, 162, 83, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-large {
    width: 60px;
    height: 60px;
    border-width: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse Animation for Loading States */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Shake Animation for Errors */
.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

/* Fade In Scale Animation */
.fade-in-scale {
    animation: fadeInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide Up Animation */
.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Focus Glow */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.1);
    transition: all 0.3s ease;
}

/* Link Hover Underline Animation */
a:not(.btn) {
    position: relative;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Number Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-up {
    animation: countUp 0.6s ease-out;
}

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Wiggle Animation */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.wiggle {
    animation: wiggle 0.5s ease-in-out;
}

/* Success Flash */
.success-flash {
    animation: successFlash 0.6s ease;
}

@keyframes successFlash {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(40, 167, 69, 0.1); }
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(0.9); }
    20%, 40% { transform: scale(1.1); }
}

.heartbeat {
    animation: heartbeat 1.3s ease-in-out infinite;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Fade in from bottom animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animation (no movement) */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays for multiple items */
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }
.fade-in-up:nth-child(5) { transition-delay: 0.5s; }
.fade-in-up:nth-child(6) { transition-delay: 0.6s; }

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Optimize font loading */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* =============================================================================
   LOGIN PAGE STYLES
   ============================================================================= */

/* Login Page Layout */
.login-page {
    font-family: 'Inter', sans-serif;
    background: #45423D;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Login Card Fort Container */
.login-page {
    display: flex;
    justify-content: center;
    gap: 0; /* No gap between cards */
}

.login-image {
    background: white;
    border-radius: 20px 0 0 20px; /* Rounded left corners only */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 680px;
	max-height: 768px;
    flex: 1;
    max-width: 680px;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.login-container {
    background: white;
    padding: 1.8rem;
    border-radius: 0 20px 20px 0; /* Rounded right corners only */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
    margin: 0; /* Remove margin to stick together */
    min-height: 680px;
	max-height: 768px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    color: #0b1d3a;
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
    font-family: 'Playfair Display', serif;
}

.login-header p {
    color: #6c757d;
    font-size: 1rem;
}

.login-form-group {
    margin-bottom: 1.2rem;
}

.login-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
}

.login-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form-group input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    background: #6F6754;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.login-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 0.875rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #f5c6cb;
    font-size: 0.9rem;
}

.login-success-message {
    background: #d4edda;
    color: #155724;
    padding: 0.875rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #c3e6cb;
    font-size: 0.9rem;
}

.login-back-link {
    text-align: center;
    margin-top: 1.2rem;
}

.login-back-link a {
    color: #0b1d3a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-back-link a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.login-role-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

/* Mobile Responsive for Login */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
        padding: 1rem;
    }
    
    .login-image {
        border-radius: 20px 20px 0 0; /* Rounded top corners only on mobile */
        max-width: 100%;
        min-height: 200px;
        max-height: 250px;
    }
    
    .login-container {
        border-radius: 0 0 20px 20px; /* Rounded bottom corners only on mobile */
        max-width: 100%;
        min-height: auto;
        padding: 2rem;
    }
}

/* ============================================
   TIME SLOT PICKER STYLES - ENHANCED
   ============================================ */

/* Modal Enhancements */
.time-slot-modal {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Modal centering and width improvements */
#timeSlotModal.modal {
    pointer-events: none;
}

#timeSlotModal.modal.show {
    pointer-events: auto;
}

/* Make modal much wider and properly centered */
#timeSlotModal .modal-dialog {
    max-width: 90vw;
    width: 900px;
    margin: 0.5rem auto;
}

#timeSlotModal .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 3.5rem);
    justify-content: center;
}

/* Smooth entrance animation */
#timeSlotModal.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

#timeSlotModal.modal.show .modal-dialog {
    transform: translate(0, 0);
}

/* Responsive width adjustments */
@media (max-width: 992px) {
    #timeSlotModal .modal-dialog {
        width: 95vw;
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    #timeSlotModal .modal-dialog {
        width: 98vw;
        max-width: 98vw;
        margin: 0.5rem auto;
    }
}

.time-slot-modal .modal-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    color: #c5a253;
    border-bottom: 3px solid #c5a253;
    padding: 24px 32px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.time-slot-modal .modal-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c5a253 0%, #d4af37 50%, #c5a253 100%);
}

.time-slot-modal .modal-header .btn-close {
    filter: brightness(0) saturate(100%) invert(73%) sepia(18%) saturate(1015%) hue-rotate(8deg) brightness(91%) contrast(85%);
    opacity: 0.9;
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.time-slot-modal .modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1) rotate(90deg);
    filter: brightness(0) saturate(100%) invert(73%) sepia(18%) saturate(1015%) hue-rotate(8deg) brightness(100%) contrast(95%);
}

.time-slot-modal .modal-title {
    font-weight: 700;
    font-size: 1.35rem;
    color: #c5a253;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.time-slot-modal .modal-title i {
    color: #c5a253;
}

.time-slot-modal .modal-body {
    padding: 24px 40px;
    background: #fafbfc;
}

.time-slot-modal .modal-footer {
    background: linear-gradient(to bottom, #fafafa 0%, white 100%);
    border-top: 2px solid #C5A253;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* Modal Footer Buttons */
.time-slot-modal .modal-footer .btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    min-width: 140px;
}

/* Confirm Button - Gold */
.time-slot-modal .modal-footer .btn-primary {
    background: #c5a253;
    color: white;
    box-shadow: 0 4px 12px rgba(197, 162, 83, 0.3);
}

.time-slot-modal .modal-footer .btn-primary:hover {
    background: #b08f42;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 143, 66, 0.4);
}

.time-slot-modal .modal-footer .btn-primary:disabled {
    background: #c5a253;
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Cancel Button - Black outline */
.time-slot-modal .modal-footer .btn-secondary {
    background: white;
    color: #000000;
    border: 2px solid #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.time-slot-modal .modal-footer .btn-secondary:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Appointment Info Card - Bigger Version */
.appointment-info-card-compact {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-radius: 14px;
    padding: 24px 32px;
    border: 2px solid #b8dae8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.info-item-compact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0;
}

.info-item-compact i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: #C5A253;
    flex-shrink: 0;
}

.info-item-compact strong {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 65px;
}

.info-item-compact .text-muted {
    font-weight: 600;
    font-size: 15px;
    color: #333333;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Legacy support for old appointment info card */
.appointment-info-card {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-radius: 16px;
    padding: 28px 36px;
    border: 2px solid #b8dae8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    min-width: 0;
    gap: 16px;
}

.info-item i {
    font-size: 20px;
    width: 28px;
    text-align: center;
    color: #C5A253;
}

.info-item strong {
    color: #000000;
    font-size: 15px;
    min-width: 70px;
    flex-shrink: 0;
    font-weight: 700;
}

.info-item .text-muted {
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    flex: 1;
    min-width: 0;
}

.info-item span {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Loading Container */
.loading-container {
    background: white;
    border-radius: 12px;
    border: 2px solid #C5A253;
    padding: 24px;
    text-align: center;
}

.loading-container i {
    color: #C5A253;
}

/* Time Slot Dropdown Container */
.time-slot-dropdown-container {
    margin-top: 16px;
}

.time-slot-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot-select:hover {
    border-color: #C5A253;
    box-shadow: 0 2px 8px rgba(197, 162, 83, 0.2);
}

.time-slot-select:focus {
    outline: none;
    border-color: #C5A253;
    box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.15);
}

.time-slot-select option {
    padding: 12px;
    font-size: 15px;
}

.time-slot-info-display {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #faf7f0 0%, #fff9e6 100%);
    border-radius: 10px;
    border: 2px solid #C5A253;
    color: #000000;
    font-weight: 600;
    font-size: 15px;
}

.time-slot-info-display i {
    font-size: 18px;
    color: #C5A253;
    margin-right: 8px;
}

/* Modal Body Text Elements */
.time-slot-modal .modal-body h6 {
    color: #000000;
    font-weight: 700;
    font-size: 16px;
}

.time-slot-modal .modal-body .text-primary {
    color: #C5A253 !important;
}

.time-slot-modal .modal-body .text-muted {
    color: #666666 !important;
}

.time-slot-modal .modal-body .text-warning {
    color: #C5A253 !important;
}

.time-slot-modal .modal-body .text-success {
    color: #C5A253 !important;
}

.time-slot-modal .modal-body small {
    color: #666666;
}

.time-slot-modal .modal-body small i {
    color: #C5A253;
}

/* Spinner color */
.time-slot-modal .spinner-border {
    color: #C5A253 !important;
    border-color: #C5A253 transparent #C5A253 transparent !important;
}

/* Available slots count */
#availableSlotsCount {
    color: #666666 !important;
    font-weight: 500;
}

/* Legacy Time Slots Grid - Single column layout */
.time-slots-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    max-width: 100%;
}

.time-slot-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    min-height: 60px;
    position: relative;
    overflow: hidden;
    gap: 16px;
    width: 100%;
}

.time-slot-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C5A253 0%, #B08F42 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.time-slot-button > * {
    position: relative;
    z-index: 1;
}

.time-slot-button:hover {
    border-color: #C5A253;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 162, 83, 0.25);
}

.time-slot-button.selected {
    border-color: #C5A253;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 162, 83, 0.35);
}

.time-slot-button.selected::before {
    opacity: 1;
}

.time-slot-button.unavailable {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot-button.unavailable:hover {
    transform: none;
    box-shadow: none;
    border-color: #d0d0d0;
    background: #f5f5f5;
}

.time-slot-time {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    flex: 1 1 auto;
    white-space: nowrap;
    color: #000000;
    min-width: 0;
    overflow: visible;
}

.time-slot-button.selected .time-slot-time {
    color: white;
}

.time-slot-info {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #C5A253 0%, #B08F42 100%);
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 2px 8px rgba(197, 162, 83, 0.2);
}

.time-slot-button.selected .time-slot-info {
    background: white;
    color: #C5A253;
    font-weight: 700;
}

.time-slot-button.unavailable .time-slot-info {
    background: #d0d0d0;
    color: #666666;
    box-shadow: none;
}

/* No Slots Container */
.no-slots-container {
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 32px;
    text-align: center;
}

.no-slots-icon {
    opacity: 0.5;
    color: #999999;
    font-size: 48px;
    margin-bottom: 16px;
}

.no-slots-message {
    color: #666666;
    font-size: 16px;
    font-weight: 500;
}

/* Footer Enhancements */
.footer-info {
    display: none;
}

.footer-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer-buttons .btn {
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-buttons .btn-primary {
    background: #c5a253;
    border: none;
    box-shadow: 0 4px 12px rgba(197, 162, 83, 0.3);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 32px;
    color: white;
}

.footer-buttons .btn-primary:hover {
    background: #b08f42;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 143, 66, 0.4);
}

.footer-buttons .btn-primary:disabled {
    background: #c5a253;
    opacity: 0.5;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.footer-buttons .btn-outline-secondary {
    border: 2px solid #000000;
    color: #000000;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 32px;
    background: white;
}

.footer-buttons .btn-outline-secondary:hover {
    background: #000000;
    color: white;
    border-color: #000000;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-slot-modal .modal-body {
        padding: 16px;
    }
    
    .time-slot-modal .modal-footer {
        padding: 16px;
        flex-direction: column;
        gap: 10px;
    }
    
    .time-slot-modal .modal-footer .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 8px;
    }
    
    .time-slot-modal .modal-footer .btn-primary {
        order: 1; /* Confirm button first */
    }
    
    .time-slot-modal .modal-footer .btn-secondary {
        order: 2; /* Cancel button second */
    }
    
    .time-slot-modal .modal-title {
        font-size: 1.1rem;
    }
    
    .time-slot-modal .modal-header {
        padding: 16px;
    }
    
    .footer-info {
        order: 2;
    }
    
    .footer-buttons {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .footer-buttons .btn {
        flex: 1;
        max-width: 140px;
    }
    
    .appointment-info-card {
        padding: 16px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .time-slot-button {
        padding: 14px 12px;
        min-height: 70px;
        border-radius: 10px;
    }
    
    .time-slot-time {
        font-size: 14px;
        font-weight: 600;
    }
    
    .time-slot-button .time-slot-info {
        font-size: 11px;
        margin-top: 4px;
    }
    
    .time-slot-select {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .time-slot-info-display {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .loading-container {
        padding: 32px 16px !important;
    }
}

@media (max-width: 576px) {
    .time-slot-modal .modal-dialog {
        margin: 10px;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .time-slot-button {
        padding: 14px 10px;
        min-height: 75px;
    }
    
    .time-slot-time {
        font-size: 14px;
    }
}

}


/* ============================================================================
   ENHANCED CALENDAR ANIMATIONS & INTERACTIONS
   ============================================================================ */

/* Smooth fade-in animation for calendar */
@keyframes calendarFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar {
    animation: calendarFadeIn 0.5s ease-out;
}

/* Pulse animation for selected date */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(212, 175, 55, 0.6);
    }
}

.calendar-day button.selected {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Smooth slide-in for calendar days */
@keyframes slideInDay {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-day {
    animation: slideInDay 0.3s ease-out;
    animation-fill-mode: both;
}

/* Stagger animation for calendar days */
.calendar-day:nth-child(1) { animation-delay: 0.02s; }
.calendar-day:nth-child(2) { animation-delay: 0.04s; }
.calendar-day:nth-child(3) { animation-delay: 0.06s; }
.calendar-day:nth-child(4) { animation-delay: 0.08s; }
.calendar-day:nth-child(5) { animation-delay: 0.10s; }
.calendar-day:nth-child(6) { animation-delay: 0.12s; }
.calendar-day:nth-child(7) { animation-delay: 0.14s; }

/* Smooth color transitions */
.calendar-day button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple effect on click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.calendar-day button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.calendar-day button:active::after {
    animation: ripple 0.6s ease-out;
}

/* Smooth legend fade-in */
@keyframes legendFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-legend {
    animation: legendFadeIn 0.6s ease-out 0.3s both;
}

/* Hover effect for legend items */
.legend-item {
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
}

/* Smooth transitions for calendar state changes */
.calendar.no-date-selected,
.calendar.date-selected {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced button press effect */
.calendar-day button:active {
    transform: scale(0.95);
}

/* Smooth color transition for availability states */
.calendar-day.available button,
.calendar-day.unavailable button,
.calendar-day.past button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glow effect for available dates */
@keyframes availableGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(102, 187, 106, 0.2);
    }
    50% {
        box-shadow: 0 0 16px rgba(102, 187, 106, 0.4);
    }
}

.calendar-day.available button:hover {
    animation: availableGlow 1.5s ease-in-out infinite;
}

/* Smooth header navigation transitions */
.calendar-header {
    transition: all 0.3s ease;
}

.cal-nav {
    position: relative;
    overflow: hidden;
}

.cal-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cal-nav:hover::before {
    width: 100%;
    height: 100%;
}

/* Responsive calendar animations */
@media (max-width: 768px) {
    .calendar-day {
        animation-duration: 0.2s;
    }
    
    /* Reduce stagger delay on mobile */
    .calendar-day:nth-child(n) {
        animation-delay: 0s;
    }
}


/* ============================================================================
   MULTI-STEP FORM STYLES
   ============================================================================ */

/* Progress Indicator */
.form-progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
	padding: 0 20px;
}

.progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	position: relative;
	z-index: 2;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #666666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s ease;
	border: 3px solid #e0e0e0;
}

.step-label {
	font-size: 11px;
	font-weight: 600;
	color: #666666;
	text-align: center;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.progress-step.active .step-number {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #ffffff;
	border-color: #C5A253;
	box-shadow: 0 4px 12px rgba(197, 162, 83, 0.4);
	transform: scale(1.1);
}

.progress-step.active .step-label {
	color: #C5A253;
	font-weight: 700;
}

.progress-step.completed .step-number {
	background: #ffffff;
	color: #C5A253;
	border-color: #C5A253;
	box-shadow: 0 2px 8px rgba(197, 162, 83, 0.3);
}

.progress-step.completed .step-label {
	color: #C5A253;
}

.progress-line {
	flex: 1;
	height: 3px;
	background: #e0e0e0;
	position: relative;
	margin: 0 8px;
	transition: all 0.3s ease;
}

.progress-step.completed + .progress-line {
	background: linear-gradient(90deg, #C5A253 0%, #d4b36a 100%);
}

/* Multi-step form adjustments for equal height */
.multi-step-form {
	position: relative;
	min-height: 450px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.form-step {
	display: none;
	animation: fadeIn 0.4s ease-in-out;
	flex: 1;
}

.form-step.active {
	display: flex;
	flex-direction: column;
}

.step-title {
	font-family: var(--font-serif);
	font-size: 22px;
	font-weight: 700;
	color: #000000;
	margin: 0 0 24px 0;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(197, 162, 83, 0.3);
}

/* Form Navigation Buttons */
.form-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 2px solid rgba(197, 162, 83, 0.2);
}

.btn-prev,
.btn-next,
.btn-submit {
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-prev {
	background: transparent;
	color: #000000 !important;
	border: 2px solid #e0e0e0;
}

.btn-prev:hover {
	background: #f5f5f5;
	border-color: #C5A253;
	color: #000000 !important;
	transform: translateX(-3px);
}

.btn-prev:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none;
}

.btn-prev:disabled:hover {
	background: transparent;
	border-color: #e0e0e0;
	color: #000000 !important;
}

.btn-next {
	background: #C5A253;
	color: #ffffff;
	border: none;
	box-shadow: 0 2px 8px rgba(176, 143, 66, 0.3);
	margin-left: auto;
}

.btn-next:hover {
	background: #B08F42;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(176, 143, 66, 0.4);
}

.btn-submit {
	background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
	color: #C5A253;
	border: 2px solid #C5A253;
	box-shadow: 0 4px 16px rgba(197, 162, 83, 0.3);
	margin-left: auto;
}

.btn-submit:hover {
	background: linear-gradient(135deg, #C5A253 0%, #d4b36a 100%);
	color: #000000;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(197, 162, 83, 0.5);
}

/* Fade in animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.form-progress {
		padding: 0 10px;
	}
	
	.step-number {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
	
	.step-label {
		font-size: 10px;
	}
	
	.progress-line {
		margin: 0 4px;
	}
	
	.step-title {
		font-size: 18px;
	}
	
	.form-navigation {
		flex-direction: column;
	}
	
	.btn-prev,
	.btn-next,
	.btn-submit {
		width: 100%;
		justify-content: center;
	}
	
	.btn-next,
	.btn-submit {
		margin-left: 0;
		order: -1;
	}
}

/* Practice Area Modal Styles */
.practice-area-btn {
	background: white;
	border: 1px solid #ddd;
	padding: 12px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	width: 100%;
	font-size: 16px;
	color: #333;
}

.practice-area-btn:hover:not(:disabled) {
	border-color: var(--gold);
	box-shadow: 0 2px 8px rgba(197, 162, 83, 0.2);
	background: #fafafa;
}

.practice-area-btn:disabled {
	background: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.6;
	color: #999;
}

#practiceAreaModal .modal-content {
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	margin: auto;
}

#practiceAreaModal .modal-header {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: white;
	border-radius: 12px 12px 0 0;
	padding: 20px 24px;
	border-bottom: none;
}

#practiceAreaModal .modal-title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.25rem;
}

#practiceAreaModal .btn-close {
	filter: brightness(0) invert(1);
	opacity: 0.8;
}

#practiceAreaModal .btn-close:hover {
	opacity: 1;
}

#practiceAreaModal .modal-body {
	padding: 24px;
}

.practice-area-list {
	max-height: 400px;
	overflow-y: auto;
	padding-right: 8px;
}

.practice-area-list::-webkit-scrollbar {
	width: 8px;
}

.practice-area-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.practice-area-list::-webkit-scrollbar-thumb {
	background: var(--gold);
	border-radius: 4px;
}

.practice-area-list::-webkit-scrollbar-thumb:hover {
	background: #B8860B;
}

.practice-area-item {
	padding: 14px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: white;
	display: flex;
	align-items: center;
	font-size: 15px;
	color: #333;
}

.practice-area-item:hover {
	background: #f8f9fa;
	border-color: var(--gold);
	transform: translateX(4px);
	box-shadow: 0 2px 8px rgba(197, 162, 83, 0.15);
}

.practice-area-item.selected {
	background: #fff8e1;
	border-color: var(--gold);
	border-width: 2px;
	font-weight: 600;
}

.practice-area-item i {
	color: var(--gold);
	margin-right: 12px;
	font-size: 18px;
}

#practiceAreaSearch {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 15px;
	transition: all 0.3s ease;
}

#practiceAreaSearch:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(197, 162, 83, 0.1);
	outline: none;
}

.input-group-text {
	background: white;
	border: 2px solid #e0e0e0;
	border-right: none;
	border-radius: 8px 0 0 8px;
	color: var(--gold);
}

#practiceAreaSearch {
	border-left: none;
	border-radius: 0 8px 8px 0;
}

#noPracticeAreasMessage {
	padding: 40px 20px;
}

#noPracticeAreasMessage i {
	font-size: 3rem;
	color: #ccc;
}

#noPracticeAreasMessage p {
	margin-top: 16px;
	font-size: 16px;
	color: #999;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	#practiceAreaModal .modal-dialog {
		margin: 10px;
	}
	
	.practice-area-item {
		padding: 12px 14px;
		font-size: 14px;
	}
	
	.practice-area-item i {
		font-size: 16px;
		margin-right: 10px;
	}
}
