/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header styles */
.header {
	text-align: center;
	padding: 40px 0 20px;
}

.logo h1 {
	font-size: 2.5rem;
	font-weight: 700;
	color: white;
	margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tagline {
	font-size: 1.1rem;
	color: rgba(255,255,255,0.9);
	font-weight: 300;
}

/* Main content */
.main-content {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	margin: 20px 0 40px;
	overflow: hidden;
}

.hero-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 60px 40px;
	text-align: center;
}

.hero-section h2 {
	font-size: 2.2rem;
	font-weight: 600;
	margin-bottom: 20px;
}

.hero-text {
	font-size: 1.2rem;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto;
}

/* Form styles */
.form-container {
	padding: 40px;
}

.appointment-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 25px;
}

.form-label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
	color: #374151;
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
	resize: vertical;
	min-height: 100px;
}

.submit-btn {
	width: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 18px;
	border-radius: 10px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
	transform: translateY(0);
}

.submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.btn-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.spinner {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top: 2px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Features section */
.features-section {
	background: #f9fafb;
	padding: 60px 40px;
	text-align: center;
}

.features-section h3 {
	font-size: 1.8rem;
	margin-bottom: 40px;
	color: #374151;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.feature {
	background: white;
	padding: 30px 20px;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	transition: transform 0.3s ease;
}

.feature:hover {
	transform: translateY(-5px);
}

.feature-icon {
	font-size: 3rem;
	margin-bottom: 20px;
}

.feature h4 {
	font-size: 1.2rem;
	margin-bottom: 15px;
	color: #374151;
}

.feature p {
	color: #6b7280;
	font-size: 0.95rem;
}

/* Footer */
.footer {
	text-align: center;
	padding: 30px 0;
	color: rgba(255,255,255,0.8);
}

/* Modal styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	backdrop-filter: blur(5px);
}

.modal-content {
	background-color: white;
	margin: 5% auto;
	padding: 0;
	border-radius: 20px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.25);
	animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	border-radius: 20px 20px 0 0;
	text-align: center;
}

.modal-header h3 {
	font-size: 1.5rem;
	font-weight: 600;
}

.modal-body {
	padding: 30px;
}

.modal-body p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	color: #374151;
}

.contact-info {
	background: #f3f4f6;
	padding: 20px;
	border-radius: 10px;
	margin-top: 20px;
}

.contact-info p {
	font-weight: 600;
	margin-bottom: 15px;
}

.contact-info ul {
	list-style: none;
	padding: 0;
}

.contact-info li {
	padding: 8px 0;
	color: #6b7280;
	position: relative;
	padding-left: 25px;
}

.contact-info li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

.modal-footer {
	padding: 20px 30px 30px;
	text-align: center;
}

.modal-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.6;
}

.privacy-content h2 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.privacy-content h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.privacy-content h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #555;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.privacy-content strong {
    color: #2c3e50;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Navigation active state for privacy policy */
nav a.active {
    background: #3498db;
    color: white;
    border-radius: 4px;
}

/* Terms of Service Page Styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.6;
}

.terms-content h2 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.terms-content h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-content h4 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.terms-content p {
    margin-bottom: 1rem;
    color: #555;
}

.terms-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.terms-content strong {
    color: #2c3e50;
}

/* Responsive design */
@media (max-width: 768px) {
	.container { padding: 0 15px; }
	.logo h1 { font-size: 2rem; }
	.hero-section { padding: 40px 20px; }
	.hero-section h2 { font-size: 1.8rem; }
	.form-container { padding: 30px 20px; }
	.features-section { padding: 40px 20px; }
	.features-grid { grid-template-columns: 1fr; gap: 20px; }
	.modal-content { margin: 10% auto; width: 95%; }
}

@media (max-width: 480px) {
	.logo h1 { font-size: 1.8rem; }
	.hero-section h2 { font-size: 1.5rem; }
	.hero-text { font-size: 1rem; }
	.form-container { padding: 20px 15px; }
	.features-section { padding: 30px 15px; }
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 1rem;
    }
    
    .privacy-content h2 {
        font-size: 1.8rem;
    }
    
    .privacy-content h3 {
        font-size: 1.2rem;
    }
    
    .privacy-content h4 {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

/* Responsive adjustments for terms of service */
@media (max-width: 768px) {
    .terms-content {
        padding: 1rem;
    }
    
    .terms-content h2 {
        font-size: 1.8rem;
    }
    
    .terms-content h3 {
        font-size: 1.2rem;
    }
    
    .terms-content h4 {
        font-size: 1rem;
    }
}
