:root {
	--primary-color: #2e86ab;
	--secondary-color: #a23b72;
	--accent-color: #f18f01;
	--light-blue: #a8dadc;
	--text-dark: #2c3e50;
	--text-light: #7f8c8d;
	--bg-light: #f8f9fa;
	--white: #ffffff;
	--shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	--border-radius: 12px;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--white);
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--white);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	color: var(--white);
	padding: 10px 0;
	font-size: 0.85rem;
}

.top-bar .contact-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	color: #1a1a2e !important;
}

.top-bar .contact-info span {
	margin-right: 1rem;
	font-size: 0.8rem;
	color: #1a1a2e !important;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
	font-weight: 500;
}

.header .top-bar .contact-info span {
	color: #1a1a2e !important;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
	font-weight: 500;
}

.top-bar .contact-info i {
	margin-right: 8px;
	color: var(--light-blue);
	font-size: 0.9rem;
}

.whatsapp-top {
	background: #25d366;
	color: var(--white);
	padding: 8px 16px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
	transition: var(--transition);
}

.whatsapp-top:hover {
	background: #128c7e;
	color: var(--white);
	transform: translateY(-2px);
}

.whatsapp-top i {
	margin-right: 6px;
	font-size: 1rem;
}

/* Navigation */
.navbar {
	padding: 1.25rem 0;
	background: var(--white) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: var(--transition);
}

.navbar-brand:hover {
	transform: translateY(-1px);
}

.logo-img {
	height: 65px;
	width: auto;
	margin-right: 18px;
	transition: var(--transition);
}

.brand-text {
	line-height: 1.1;
}

.clinic-name {
	font-size: 1.6rem;
	font-weight: 800;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
	letter-spacing: -0.02em;
}

.clinic-tagline {
	font-size: 0.85rem;
	color: var(--text-light);
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.navbar-nav {
	align-items: center;
	gap: 0.5rem;
}

.navbar-nav .nav-link {
	font-weight: 600;
	color: var(--text-dark);
	padding: 0.8rem 1.5rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	font-size: 0.95rem;
	border-radius: 8px;
	letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
	color: var(--primary-color);
	background: rgba(46, 134, 171, 0.08);
	transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
	color: var(--primary-color);
	background: linear-gradient(
		135deg,
		rgba(46, 134, 171, 0.1),
		rgba(162, 59, 114, 0.1)
	);
	font-weight: 700;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
	content: "";
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border-radius: 1px;
}

.dropdown-menu {
	border: none;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	border-radius: 16px;
	padding: 1rem 0;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 0.5rem;
}

.dropdown-item {
	padding: 0.8rem 2rem;
	font-weight: 500;
	color: var(--text-dark);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	font-size: 0.9rem;
	border-radius: 0;
}

.dropdown-item:hover {
	background: linear-gradient(
		135deg,
		rgba(46, 134, 171, 0.1),
		rgba(162, 59, 114, 0.05)
	);
	color: var(--primary-color);
	transform: translateX(8px);
	padding-left: 2.5rem;
}

.dropdown-item:hover::before {
	content: "";
	position: absolute;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border-radius: 2px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: 1.5rem;
}

.header-actions .btn {
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	border-radius: 50px;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 2px solid transparent;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-actions .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.header-actions .btn-outline-primary {
	background: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.header-actions .btn-outline-primary:hover {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	color: var(--white);
	border-color: transparent;
}

.header-actions .btn-success {
	background: linear-gradient(135deg, #25d366, #128c7e);
	border: none;
	color: var(--white);
}

.header-actions .btn-success:hover {
	background: linear-gradient(135deg, #128c7e, #075e54);
	color: var(--white);
}

.navbar-toggler {
	border: none;
	padding: 0.5rem;
	border-radius: 12px;
	background: linear-gradient(
		135deg,
		rgba(46, 134, 171, 0.1),
		rgba(162, 59, 114, 0.1)
	);
	transition: var(--transition);
}

.navbar-toggler:hover {
	background: linear-gradient(
		135deg,
		rgba(46, 134, 171, 0.2),
		rgba(162, 59, 114, 0.2)
	);
	transform: scale(1.05);
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.25);
	outline: none;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2846, 134, 171, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer */
.footer {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	color: var(--white);
	padding: 3.5rem 0 1rem;
	margin-top: 4rem;
	position: relative;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}

.footer .container-fluid {
	padding-left: 3rem;
	padding-right: 3rem;
	max-width: none;
}

/* Fullwidth Layout */
.container-fluid {
	padding-left: 3rem;
	padding-right: 3rem;
}

.hero .container-fluid,
.section .container-fluid {
	padding-left: 3rem;
	padding-right: 3rem;
}

.top-bar .container-fluid,
.navbar .container-fluid {
	padding-left: 3rem;
	padding-right: 3rem;
}

/* Content sections with reasonable max-width for readability */
.section .container-fluid .row,
.hero .container-fluid .row {
	max-width: 1400px;
	margin: 0 auto;
}

.footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--secondary-color),
		var(--accent-color)
	);
}

.footer-brand {
	margin-bottom: 2rem;
}

.footer-logo {
	height: 80px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-clinic-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--white);
	margin: 1rem 0 0.5rem 0;
}

.footer-tagline {
	font-size: 1rem;
	color: var(--light-blue);
	margin-bottom: 1rem;
	font-weight: 500;
}

.footer-description {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	line-height: 1.5;
	margin-bottom: 1.2rem;
}

.footer-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--white);
	position: relative;
}

.footer-title::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 30px;
	height: 3px;
	background: var(--accent-color);
	border-radius: 2px;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--transition);
	font-size: 0.95rem;
}

.footer-links a:hover {
	color: var(--accent-color);
	padding-left: 8px;
}

.social-links-footer {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 0.8rem;
}

.social-links-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	justify-content: flex-end;
}

.social-links-footer a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-radius: 50%;
	transition: var(--transition);
	text-decoration: none;
	font-size: 1.1rem;
}

.social-links-footer a:hover {
	background: var(--accent-color);
	color: var(--white);
	transform: translateY(-2px);
}

.social-links-header a {
	width: 35px;
	height: 35px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	text-decoration: none;
	transition: var(--transition);
	font-size: 0.9rem;
}

.social-links-header a:hover {
	background: var(--accent-color);
	color: var(--white);
	transform: translateY(-2px);
}

.operating-hours {
	background: rgba(255, 255, 255, 0.1);
	padding: 1.5rem;
	border-radius: 12px;
	border-left: 4px solid var(--accent-color);
}

.schedule-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.6rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.schedule-item .day {
	font-weight: 500;
	color: var(--white);
}

.schedule-item .time {
	color: var(--light-blue);
	font-weight: 600;
}

.contact-footer {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.contact-item i {
	width: 20px;
	color: var(--accent-color);
	font-size: 1.1rem;
	margin-top: 2px;
}

.contact-item strong {
	color: var(--white);
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
	display: block;
}

.contact-item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	line-height: 1.4;
}

.contact-item a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--transition);
}

.contact-item a:hover {
	color: var(--accent-color);
}

.footer-divider {
	border-color: rgba(255, 255, 255, 0.1);
	margin: 3rem 0 1.5rem;
}

.copyright {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	margin: 0;
}

.footer-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.btn-whatsapp {
	background: #25d366;
	color: var(--white);
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: var(--transition);
	border: none;
	font-size: 0.9rem;
}

.btn-whatsapp:hover {
	background: #128c7e;
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.5rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.75rem;
}
h4 {
	font-size: 1.5rem;
}
h5 {
	font-size: 1.25rem;
}
h6 {
	font-size: 1rem;
}

.lead {
	font-size: 1.25rem;
	font-weight: 300;
	color: var(--text-light);
}

/* Layout */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.col-lg-6,
.col-lg-4,
.col-md-6 {
	padding: 0 15px;
}

.col-lg-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

.col-lg-4 {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

.col-md-6 {
	flex: 0 0 50%;
	max-width: 50%;
}

@media (max-width: 768px) {
	.col-lg-6,
	.col-lg-4,
	.col-md-6 {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 2rem;
	}
}

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

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

.btn-primary:hover {
	background-color: #1d5f7a;
	transform: translateY(-2px);
}

.btn-light {
	background-color: var(--white);
	color: var(--primary-color);
	border: 2px solid var(--white);
}

.btn-light:hover {
	background-color: transparent;
	color: var(--white);
}

.btn-outline-light {
	background-color: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-outline-light:hover {
	background-color: var(--white);
	color: var(--primary-color);
}

.btn-outline-primary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

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

.btn-lg {
	padding: 15px 30px;
	font-size: 1.125rem;
}

/* Hero Section */
.hero {
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	padding: 100px 0;
	color: var(--white);
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.hero-content h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--white);
}

.hero-content .lead {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
	font-size: 1.125rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
	margin-top: 2rem;
}

.hero-image img {
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

/* Sections */
.section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.section-title .lead {
	font-size: 1.25rem;
	max-width: 800px;
	margin: 0 auto;
}

/* Services */
.services {
	background-color: var(--bg-light);
}

.service-card {
	background: var(--white);
	padding: 2.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	text-align: center;
	transition: var(--transition);
	height: 100%;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--white);
	font-size: 2rem;
}

.service-card h4 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.service-card p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

/* About */
.about-content {
	padding: 2rem 0;
}

/* Team */
.team-card {
	background: var(--white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.team-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.team-info {
	padding: 1.5rem;
	text-align: center;
}

.team-info h4 {
	margin-bottom: 0.5rem;
}

.team-info .position {
	color: var(--primary-color);
	font-weight: 500;
	margin-bottom: 1rem;
}

.team-info p {
	color: var(--text-light);
	font-size: 0.9rem;
}

/* Contact */
.contact {
	background-color: var(--bg-light);
}

.contact-info {
	background: var(--white);
	padding: 2.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	opacity: 0.9;
}

/* Maps */
.location-map {
	background-color: var(--bg-light);
}

.map-container {
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	margin-bottom: 2rem;
}

#homepage-map {
	width: 100%;
	height: 400px;
	border: none;
	border-radius: var(--border-radius);
}

.location-info {
	height: 100%;
}

.contact-card {
	background: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	height: 100%;
}

.contact-card h4 {
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	margin-top: 1.5rem;
}

.contact-card h4:first-child {
	margin-top: 0;
}

.contact-card p {
	color: var(--text-light);
	margin-bottom: 1rem;
}

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

.contact-card a:hover {
	color: var(--secondary-color);
}

.text-success {
	color: #28a745 !important;
}

.text-success:hover {
	color: #218838 !important;
}

/* Map Error Handling */
.map-error {
	background: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	text-align: center;
	color: var(--text-light);
}

.map-fallback {
	background: var(--bg-light);
	padding: 3rem 2rem;
	border-radius: var(--border-radius);
	text-align: center;
	border: 2px dashed var(--text-light);
}

.map-fallback i {
	font-size: 3rem;
	color: var(--text-light);
	margin-bottom: 1rem;
}

/* Leaflet Map Customization */
.leaflet-container {
	border-radius: var(--border-radius);
	font-family: "Inter", sans-serif;
}

.leaflet-popup-content-wrapper {
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.leaflet-popup-tip {
	background: var(--white);
}

.custom-marker {
	background: transparent !important;
	border: none !important;
}

/* Map responsiveness */
@media (max-width: 768px) {
	#homepage-map {
		height: 300px;
	}

	.map-container {
		margin-bottom: 1rem;
	}

	.contact-card {
		padding: 1.5rem;
	}
}

/* Floating Buttons */
.whatsapp-float {
	position: fixed;
	bottom: 120px;
	right: 20px;
	z-index: 1000;
}

.whatsapp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: #25d366;
	color: var(--white);
	border-radius: 50%;
	text-decoration: none;
	font-size: 1.5rem;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	transition: var(--transition);
	animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
	background: #128c7e;
	color: var(--white);
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1000;
	transition: var(--transition);
	box-shadow: var(--shadow);
}

.back-to-top:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
	0% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6),
			0 0 0 10px rgba(37, 211, 102, 0.1);
	}
	100% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
}

/* Utilities */
.text-center {
	text-align: center;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 1rem;
}

.mb-4 {
	margin-bottom: 1.5rem;
}

.me-3 {
	margin-right: 1rem;
}

.align-items-center {
	align-items: center;
}

.h-100 {
	height: 100%;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}

.fw-bold {
	font-weight: 700;
}

.display-4 {
	font-size: 3.5rem;
	font-weight: 300;
	line-height: 1.2;
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

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

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
	animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
	animation: fadeInRight 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}

	.display-4 {
		font-size: 2.5rem;
	}

	.section-title h2 {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	/* Header Mobile */
	.top-bar {
		padding: 8px 0;
		font-size: 0.8rem;
	}

	.top-bar .col-md-8 {
		text-align: left !important;
	}

	.top-bar .contact-info {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.3rem;
		text-align: left !important;
		justify-content: flex-start !important;
	}

	.top-bar .contact-info span {
		margin-right: 0 !important;
		margin-left: 0 !important;
		margin-inline-start: 0 !important;
		font-size: 0.8rem;
		color: #1a1a2e !important;
		text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
		font-weight: 500;
		text-align: left !important;
		display: block !important;
		width: 100% !important;
	}

	.top-bar .contact-info span.ms-4 {
		margin-left: 0 !important;
		margin-inline-start: 0 !important;
	}

	.whatsapp-top {
		padding: 6px 12px;
		font-size: 0.8rem;
	}

	.navbar {
		padding: 0.75rem 0;
	}

	.logo-img {
		height: 45px;
	}

	.clinic-name {
		font-size: 1.25rem;
	}

	.clinic-tagline {
		font-size: 0.8rem;
	}

	.navbar-nav .nav-link {
		padding: 0.75rem 1rem;
		border-bottom: 1px solid #f8f9fa;
		font-size: 0.95rem;
	}

	.navbar-nav .nav-link:last-child {
		border-bottom: none;
	}

	.header-actions {
		margin-left: 0;
		margin-top: 1rem;
		justify-content: center;
		flex-wrap: wrap;
	}

	.header-actions .btn {
		font-size: 0.85rem;
		padding: 0.5rem 0.75rem;
	}

	/* Hero Mobile */
	.hero {
		padding: 60px 0;
		text-align: center;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content .lead {
		font-size: 1.25rem;
	}

	.section {
		padding: 60px 0;
	}

	.section-title h2 {
		font-size: 1.75rem;
	}

	.service-card {
		padding: 2rem;
	}

	.contact-info {
		padding: 2rem;
	}
}

/* Large Desktop Responsive */
@media (min-width: 1200px) {
	.container-fluid,
	.hero .container-fluid,
	.section .container-fluid,
	.top-bar .container-fluid,
	.navbar .container-fluid,
	.footer .container-fluid {
		padding-left: 5rem;
		padding-right: 5rem;
	}

	.footer .col-lg-3,
	.footer .col-lg-2 {
		margin-bottom: 2rem;
	}

	.footer-links {
		font-size: 0.95rem;
	}

	.contact-item {
		gap: 0.8rem;
	}

	.social-links-footer {
		gap: 1rem;
	}

	.social-links-header a {
		width: 36px;
		height: 36px;
	}
}

/* Tablet Responsive */
@media (max-width: 991.98px) and (min-width: 768px) {
	/* Footer Tablet - Layout Horizontal */
	.footer {
		padding: 2.5rem 0 1.5rem;
	}

	.container-fluid,
	.hero .container-fluid,
	.section .container-fluid,
	.top-bar .container-fluid,
	.navbar .container-fluid,
	.footer .container-fluid {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.footer .col-lg-3,
	.footer .col-lg-2 {
		margin-bottom: 1.5rem;
	}

	.footer-brand {
		text-align: left;
	}

	.footer-logo {
		height: 45px;
	}

	.footer-clinic-name {
		font-size: 1.15rem;
		margin-bottom: 0.5rem;
	}

	.footer-tagline {
		font-size: 0.9rem;
		margin-bottom: 0.8rem;
	}

	.footer-description {
		font-size: 0.8rem;
		margin-bottom: 1rem;
	}

	.footer-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
	}

	.footer-title::after {
		left: 0;
		transform: none;
	}

	.footer-links {
		font-size: 0.9rem;
	}

	.social-links-footer {
		justify-content: flex-start;
		gap: 0.7rem;
		margin-top: 0.7rem;
	}

	.social-links-header {
		gap: 0.6rem;
	}

	.social-links-header a {
		width: 33px;
		height: 33px;
		font-size: 0.9rem;
	}

	.operating-hours {
		padding: 1rem;
	}

	.schedule-item {
		margin-bottom: 0.5rem;
		padding: 0.3rem 0;
		font-size: 0.9rem;
	}

	.contact-footer {
		gap: 0.5rem;
	}

	.contact-item {
		gap: 0.5rem;
	}

	.contact-item i {
		width: 18px;
		font-size: 1rem;
	}

	.contact-item strong {
		font-size: 0.85rem;
	}

	.contact-item p {
		font-size: 0.85rem;
	}

	.footer-actions {
		justify-content: flex-end;
	}
}

/* Small Mobile Only */
@media (max-width: 767.98px) {
	/* Footer Mobile */
	.footer {
		padding: 2.5rem 0 1rem;
		text-align: center;
	}

	.container-fluid,
	.hero .container-fluid,
	.section .container-fluid,
	.top-bar .container-fluid,
	.navbar .container-fluid,
	.footer .container-fluid {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.footer-brand {
		text-align: center;
		margin-bottom: 1.5rem;
	}

	.footer-logo {
		height: 50px;
	}

	.footer-clinic-name {
		font-size: 1.2rem;
	}

	.footer .col-lg-3,
	.footer .col-lg-2 {
		margin-bottom: 2rem;
	}

	.footer-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
	}

	.footer-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.social-links-footer {
		justify-content: center;
		gap: 0.75rem;
	}

	.social-links-header {
		justify-content: center;
		margin-top: 0.5rem;
		gap: 0.6rem;
	}

	.social-links-header a {
		width: 32px;
		height: 32px;
		font-size: 0.85rem;
	}

	.operating-hours {
		text-align: left;
		padding: 1rem;
	}

	.contact-footer {
		text-align: left;
		gap: 0.5rem;
	}

	.contact-item {
		gap: 0.5rem;
	}

	.contact-item i {
		width: 18px;
		font-size: 1rem;
	}

	.footer-actions {
		justify-content: center;
		margin-top: 1rem;
	}

	/* Floating Buttons Mobile */
	.whatsapp-float {
		bottom: 100px;
		right: 15px;
	}

	.whatsapp-btn {
		width: 55px;
		height: 55px;
		font-size: 1.3rem;
	}

	.back-to-top {
		bottom: 15px;
		right: 15px;
		width: 45px;
		height: 45px;
	}
}

/* Tablet Design */
@media (max-width: 992px) and (min-width: 769px) {
	.logo-img {
		height: 55px;
	}

	.clinic-name {
		font-size: 1.4rem;
	}

	.header-actions .btn {
		font-size: 0.9rem;
		padding: 0.5rem 0.75rem;
	}

	.footer {
		padding: 3.5rem 0 1rem;
	}
}

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

	.row {
		margin: 0 -10px;
	}

	.col-lg-6,
	.col-lg-4,
	.col-md-6,
	.col-lg-3,
	.col-lg-2 {
		padding: 0 10px;
	}

	/* Header Extra Small */
	.top-bar .col-md-8 {
		text-align: left !important;
	}

	.top-bar .contact-info {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.5rem;
		text-align: left !important;
		justify-content: flex-start !important;
	}

	.top-bar .contact-info span {
		margin-right: 0 !important;
		margin-left: 0 !important;
		margin-inline-start: 0 !important;
		color: #1a1a2e !important;
		text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
		font-weight: 500;
		text-align: left !important;
		display: block !important;
		width: 100% !important;
	}

	.top-bar .contact-info span.ms-4 {
		margin-left: 0 !important;
		margin-inline-start: 0 !important;
	}

	.navbar-brand {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.logo-img {
		height: 40px;
		margin-right: 0;
		margin-bottom: 0.5rem;
	}

	.clinic-name {
		font-size: 1.1rem;
	}

	.clinic-tagline {
		font-size: 0.75rem;
	}

	.hero-content h1 {
		font-size: 1.75rem;
	}

	.hero-content .lead {
		font-size: 1.125rem;
	}

	.section-title h2 {
		font-size: 1.5rem;
	}

	.service-card {
		padding: 1.5rem;
	}

	.team-info {
		padding: 1rem;
	}

	.contact-info {
		padding: 1.5rem;
	}

	/* Footer Extra Small */
	.footer {
		padding: 2.5rem 0 1rem;
	}

	.footer-logo {
		height: 50px;
	}

	.footer-clinic-name {
		font-size: 1.1rem;
	}

	.footer-tagline {
		font-size: 0.9rem;
	}

	.social-links-footer a {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.operating-hours {
		padding: 1rem;
	}

	.contact-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		margin-bottom: 1rem;
	}

	.contact-item i {
		margin-top: 0;
	}
}

/* =========================
   SLIDER (HERO SECTION)
========================= */
.hero-slider {
	position: relative;
	width: 100%;
	height: 90vh;
	overflow: hidden;
}

.slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Tombol navigasi slider */
.slider-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 2rem;
	border: none;
	padding: 0.5rem 1rem;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3s ease;
	z-index: 10;
}

.slider-nav-btn:hover {
	background: rgba(255, 255, 255, 0.5);
}

.slider-prev {
	left: 20px;
}
.slider-next {
	right: 20px;
}

/* =========================
   LAYANAN SECTION
========================= */
.layanan-section {
	position: relative;
	padding: 5rem 2rem;
	color: white;
	overflow: hidden;
}

.layanan-bg {
	position: absolute;
	inset: 0;
	background: url("https://cdn.kliniklalita.id/public/landing/Layanan/Terapi_Perilaku.webp")
		center/cover no-repeat;
	filter: brightness(0.4) contrast(0.8);
	z-index: -1;
}

.layanan-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
	max-width: 1300px;
	margin: auto;
}

@media (min-width: 1024px) {
	.layanan-content {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.layanan-text {
	flex: 1;
	text-align: center;
	max-width: 600px;
}

@media (min-width: 1024px) {
	.layanan-text {
		text-align: left;
	}
}

.layanan-text h2 {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1rem;
	color: #fff;
}

.layanan-text p {
	font-size: 1.25rem;
	line-height: 1.6;
	color: #e7e7e7;
	margin-bottom: 1.5rem;
}

.btn-layanan {
	display: inline-block;
	background: #3cb371;
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-layanan:hover {
	background: #2e8b57;
	transform: translateY(-2px);
}

/* Carousel Layanan */
.layanan-carousel {
	flex: 2;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.layanan-carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.layanan-item {
	flex: 0 0 33.333%;
	text-align: center;
	transition: transform 0.3s ease;
	padding: 1rem;
}

.layanan-item img {
	width: 100%;
	border-radius: 1rem 1rem 0 0;
	max-height: 270px;
	object-fit: cover;
}

.layanan-item p {
	background: #fff8ec;
	color: #3cb371;
	font-weight: 600;
	font-size: 1.1rem;
	border-radius: 0 0 1rem 1rem;
	padding: 0.75rem;
	margin-top: -5px;
}

.layanan-item:hover {
	transform: scale(1.05);
}

/* Tombol carousel */
.layanan-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 2rem;
	border: none;
	border-radius: 50%;
	padding: 0.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.layanan-carousel-btn:hover {
	background: rgba(255, 255, 255, 0.5);
}

.layanan-carousel-btn.left {
	left: 10px;
}
.layanan-carousel-btn.right {
	right: 10px;
}

/* Mobile Responsiveness for Slider and Layanan */
@media (max-width: 768px) {
	.hero-slider {
		height: 70vh;
	}

	.slider-nav-btn {
		font-size: 1.5rem;
		padding: 0.25rem 0.5rem;
	}

	.slider-prev {
		left: 10px;
	}
	.slider-next {
		right: 10px;
	}

	.layanan-section {
		padding: 3rem 1rem;
	}

	.layanan-text h2 {
		font-size: 2rem;
	}

	.layanan-text p {
		font-size: 1.1rem;
	}

	.layanan-item {
		flex: 0 0 80%;
	}

	.layanan-carousel-btn {
		font-size: 1.5rem;
	}
}
