/* ===== HOME PAGE ===== */

/* Shared Container */
.idx-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Shared Buttons */
.idx-btn {
	display: inline-block;
	padding: 10px 26px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.idx-btn-primary {
	background: #0d9faa;
	color: #fff;
	border: 2px solid #0d9faa;
	width: 200px;
	text-align: center;
}

.idx-btn-primary:hover {
	background: #0b8a96;
	border-color: #0b8a96;
}

.idx-btn-outline {
	background: transparent;
	color: #0d9faa;
	border: 2px solid #0d9faa;
	width: 120px;
	text-align: center;
}

.idx-btn-outline:hover {
	background: #0d9faa;
	color: #fff;
}

.idx-btn-pink {
	background: #e0196e;
	color: #fff;
	border: 2px solid #e0196e;
}

.idx-btn-pink:hover {
	background: #c4155f;
	border-color: #c4155f;
}

/* ===== SECTION 1: HERO ===== */
.idx-hero {
	width: 100%;
	line-height: 0;
}

.idx-hero-banner {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* ===== SECTION 2: ABOUT ===== */
.idx-about {
	padding: 60px 40px;
	background: #fff;
}

.idx-about-grid {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 56px;
	align-items: start;
}

.idx-about-left img {
	width: 100%;
	height: 450px;
	border-radius: 12px;
	display: block;
	object-fit: contain;
	max-width: 300px;
	max-height: 300px;
	margin: auto;
}

.idx-about-right {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.idx-about-title {
	color: #0d9faa;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.idx-about-subtitle {
	color: #333;
	font-size: 0.93rem;
	font-weight: 700;
	margin: 0;
}

.idx-about-right p {
	color: #444;
	font-size: 0.92rem;
	line-height: 1.75;
	margin: 0;
}

/* ===== SECTION 3: SPECIALTIES ===== */
.idx-specialties {
	background: #e8f4fd;
	padding: 60px 40px;
}

.idx-section-title {
	color: #e0196e;
	font-size: 1.7rem;
	font-weight: 700;
	text-align: center;
	margin: 0 0 36px 0;
}

.idx-spc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.idx-spc-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}

.idx-spc-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.idx-spc-img {
	overflow: hidden;
}

.idx-spc-img img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.idx-spc-card:hover .idx-spc-img img {
	transform: scale(1.04);
}

.idx-spc-body {
	padding: 16px 18px 20px;
	flex: 1;
}

.idx-spc-body h3 {
	color: #0d9faa;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 8px 0;
	text-align: center;
}

.idx-spc-body p {
	color: #444;
	font-size: 0.86rem;
	line-height: 1.6;
	margin: 0;
	text-align: center;
}

.idx-spc-more {
	text-align: center;
	margin-top: 32px;
}

/* ===== SECTION 4: PHARMACY ===== */
.idx-pharmacy {
	background-image: url(https://kpsmedicare.com/wp-content/uploads/2025/07/Banner_Pharmacy-scaled.jpg);
	background-size: cover;
	background-position: center;
	padding: 60px 40px;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.idx-pharmacy::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 45%;
	height: 100%;
	background: rgba(255, 255, 255, 0.05);
	clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
	pointer-events: none;
}

.idx-pharmacy-inner {
	position: relative;
	z-index: 1;
	max-width: 520px;
}

.idx-pharmacy-number {
	color: #e0196e;
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 1;
	margin: 0 0 4px 0;
}

.idx-pharmacy-title {
	color: #127494;
	font-size: 1.7rem;
	font-weight: 700;
	margin: 0 0 18px 0;
}

.idx-pharmacy-desc {
	color: #444444;
	font-size: 0.93rem;
	line-height: 1.75;
	margin: 0;
}

/* ===== SECTION 5: WHY CHOOSE US ===== */
.idx-why {
	background-color: #0b2a3a;
	background-image: url("https://kpsmedicare.com/wp-content/uploads/2025/07/Building-Photo.jpg");
	background-size: cover;
	background-position: center right;
	position: relative;
	margin-top: 20px;
}

.idx-why-overlay {
	background: linear-gradient(to right, rgba(11, 42, 58, 0.95) 55%, rgba(11, 42, 58, 0.7) 100%);
	padding: 60px 40px;
	border-radius: 20px;
}

.idx-why-header {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.idx-why-title {
	color: #fff;
	font-size: 1.7rem;
	font-weight: 700;
	margin: 0;
	flex: 1;
}

.idx-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.idx-why-card {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.idx-why-num img {
	width: 54px;
	height: 54px;
	object-fit: contain;
	display: block;
}

.idx-why-card h3 {
	color: #fff;
	font-size: 0.98rem;
	font-weight: 700;
	margin: 0;
}

.idx-why-card p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.88rem;
	line-height: 1.65;
	margin: 0;
}

/* ===== SECTION 6: VISIT ===== */
.idx-visit {
	padding: 60px 40px;
	background: #fff;
}

.idx-visit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.idx-visit-left img {
	width: 100%;
	max-width: 420px;
	border-radius: 12px;
	display: block;
	object-fit: cover;
	height: 480px;
}

.idx-visit-right {
	display: flex;
	align-items: center;
	justify-content: center;
}

.idx-visit-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.idx-visit-content img {
	width: 80px;
	height: auto;
}

.idx-visit-title {
	color: #222;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

	.idx-about-grid,
	.idx-visit-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.idx-spc-grid,
	.idx-why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.idx-visit-left img {
		max-width: 100%;
		height: 320px;
	}
}

@media (max-width: 640px) {

	.idx-about-left img {
		width: 100%;
	}

	.idx-pharmacy {
		padding: 40px 20px;
		border-radius: 14px;
		background-position: left;
	}

	.idx-about,
	.idx-specialties,
	.idx-visit {
		padding: 40px 20px;
	}

	.idx-why-overlay {
		padding: 40px 20px;
	}

	.idx-pharmacy-number {
		font-size: 3.5rem;
	}

	.idx-pharmacy-title {
		font-size: 1.3rem;
	}

	.idx-spc-grid,
	.idx-why-grid {
		grid-template-columns: 1fr;
	}

	.idx-why-header {
		flex-direction: column;
		align-items: flex-start;
	}
}