/* Enhanced responsive text and spacing */
@media (max-width: 768px) {
	.section { padding: 40px 0 !important; }
	.container-fluid { padding-left: 15px; padding-right: 15px; }
	.feature-box .fbox-icon { margin-bottom: 15px; }
	.iconlist li { padding: 8px 0; }
}

/* Better text contrast on dark background */
.text-on-dark {
	color: #ffffff !important;
}

.text-on-dark h1, .text-on-dark h2, .text-on-dark h3,
.text-on-dark h4, .text-on-dark h5, .text-on-dark h6 {
	color: #ffffff !important;
}

.text-on-dark p, .text-on-dark .text-muted {
	color: #ffffff !important;
}

/* Improved icon spacing */
.feature-box .fbox-icon {
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.iconlist li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
	padding: 10px 0;
}

.iconlist li i {
	margin-left: 15px;
	margin-top: 2px;
	flex-shrink: 0;
}

/* Better card styling */
.card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Improved responsive images */
.img-fluid {
	max-width: 100%;
	height: auto;
}

/* Better spacing for sections */
.section {
	padding: 80px 0;
}

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

/* Enhanced Services Section Styles */
.service-category-header {
	text-align: center;
	margin-bottom: 40px;
}

.service-divider {
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #a2e562, #4CAF50);
	margin: 20px auto 0;
	border-radius: 2px;
}

.service-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 30px;
	transition: all 0.3s ease;
	height: 100%;
	backdrop-filter: blur(10px);
}

.service-card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(162, 229, 98, 0.3);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	gap: 15px;
}

.service-icon {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.service-card:hover .service-icon {
	background: rgba(162, 229, 98, 0.2);
	transform: scale(1.1);
}

.service-title {
	color: #ffffff;
	margin: 0;
	font-weight: 600;
	font-size: 1.2rem;
}

.service-card-body {
	flex-grow: 1;
}

.service-description {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin-bottom: 20px;
}

.service-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.feature-badge {
	background: rgba(162, 229, 98, 0.2);
	color: #a2e562;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	border: 1px solid rgba(162, 229, 98, 0.3);
	transition: all 0.3s ease;
}

.service-card:hover .feature-badge {
	background: rgba(162, 229, 98, 0.3);
	transform: scale(1.05);
}

.pharmacy-card .service-icon {
	background: rgba(76, 175, 80, 0.1);
}

.pharmacy-card:hover .service-icon {
	background: rgba(76, 175, 80, 0.2);
}

.treatment-card .service-icon {
	background: rgba(33, 150, 243, 0.1);
}

.treatment-card:hover .service-icon {
	background: rgba(33, 150, 243, 0.2);
}

.service-cta {
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(162, 229, 98, 0.3);
	border-radius: 15px;
	padding: 40px 30px;
	margin-top: 50px;
	backdrop-filter: blur(10px);
}

.service-cta h4 {
	color: #a2e562;
	font-weight: 600;
	margin-bottom: 15px;
}

.service-cta p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 25px;
}

/* Service Card List Styles */
.service-card .list-unstyled {
	margin-top: 20px;
}

.service-card .list-unstyled li {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card .list-unstyled li:last-child {
	border-bottom: none;
}

.service-card .list-unstyled li i {
	margin-left: 15px;
	font-size: 18px;
	flex-shrink: 0;
}

.service-card .list-unstyled li strong {
	color: #a2e562;
}

.service-card .list-unstyled li span {
	color: rgba(255, 255, 255, 0.9);
	margin-right: 10px;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
	.service-card {
		padding: 25px 20px;
		margin-bottom: 20px;
	}

	.service-card-header {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}

	.service-icon {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}

	.service-title {
		font-size: 1.1rem;
	}

	.service-features {
		justify-content: center;
	}

	.feature-badge {
		font-size: 0.75rem;
		padding: 3px 10px;
	}

	.service-cta {
		padding: 30px 20px;
		margin-top: 30px;
	}

	.service-cta h4 {
		font-size: 1.3rem;
	}

	.service-cta p {
		font-size: 1rem;
	}
}

@media (max-width: 576px) {
	.service-category-header h3 {
		font-size: 1.1rem;
	}

	.service-divider {
		width: 60px;
	}

	.service-card {
		padding: 20px 15px;
	}

	.service-title {
		font-size: 1rem;
	}

	.service-description {
		font-size: 0.9rem;
	}
}

/* Animation for service cards */
.service-card {
	animation: fadeInUp 0.6s ease forwards;
	opacity: 0;
	transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Enhanced hover effects */
.service-card:hover .service-icon i {
	transform: scale(1.1);
	transition: transform 0.3s ease;
}

/* Better contrast for accessibility */
.service-card:focus-within {
	border-color: #a2e562;
	box-shadow: 0 0 0 3px rgba(162, 229, 98, 0.3);
}

/* Hero Section Animations */
@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

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

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.3;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 0.6;
		transform: translate(-50%, -50%) scale(1.1);
	}
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

/* Enhanced Button Hover Effects */
.hero-buttons .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 35px rgba(162, 229, 98, 0.4);
}

.hero-buttons .button:last-child:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(162, 229, 98, 0.5);
	color: #a2e562;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
	.hero-content h1 {
		font-size: 2rem !important;
	}

	.hero-content h1 span {
		font-size: 1.5rem !important;
	}

	.hero-buttons {
		justify-content: center;
	}

	.hero-buttons .button {
		font-size: 0.9rem !important;
		padding: 12px 25px !important;
	}

	.hero-stats {
		justify-content: center;
		gap: 20px;
	}

	.hero-image .floating-card {
		display: none;
	}
}

@media (max-width: 576px) {
	.hero-content h1 {
		font-size: 1.8rem !important;
	}

	.hero-content h1 span {
		font-size: 1.3rem !important;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.hero-stats {
		gap: 15px;
	}

	.stat-item div:first-child {
		font-size: 1.3rem !important;
	}
}

/* Table Styles */
.table th, .table td {
	border-color: rgba(255, 255, 255, 0.1);
	text-align: center;
	vertical-align: middle;
}

.table tbody tr:hover {
	background: rgba(162, 229, 98, 0.1);
	transform: scale(1.02);
	transition: all 0.3s ease;
}

.table {
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.table {
		font-size: 0.85rem;
	}
}
