/**
 * Why Students Choose Us Section Styles
 * Remote Madam Design System
 */

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us {
	position: relative;
	background: linear-gradient(180deg, var(--bg) 0%, rgba(9, 9, 9, 0.98) 100%);
	padding: 140px 0 120px;
	overflow: hidden;
}

.why-us__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ============================================
   WHY US HEADER
   ============================================ */

.why-us__header {
	text-align: center;
	margin-bottom: 70px;
}

.why-us__title {
	font-size: 48px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: var(--text);
	margin: 0 0 20px;
	line-height: 1.2;
}

.why-us__subtitle {
	font-size: 18px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	max-width: 650px;
	margin: 0 auto;
	line-height: 1.7;
}

/* ============================================
   WHY US GRID
   ============================================ */

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

/* ============================================
   WHY US CARD
   ============================================ */

.why-us__card {
	background: rgba(17, 17, 17, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 24px;
	padding: 40px;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.6s ease forwards;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.why-us__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}

.why-us__card:hover {
	transform: translateY(-6px);
	border-color: rgba(245, 93, 174, 0.3);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	background: rgba(17, 17, 17, 0.8);
}

.why-us__card:hover::before {
	transform: scaleX(1);
}

/* ============================================
   WHY US ICON
   ============================================ */

.why-us__icon-wrapper {
	width: 88px;
	height: 88px;
	background: linear-gradient(135deg, rgba(245, 93, 174, 0.15) 0%, rgba(108, 99, 255, 0.1) 100%);
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 28px;
	color: var(--primary);
}

.why-us__icon-wrapper svg {
	width: 52px;
	height: 52px;
}

/* ============================================
   WHY US CARD CONTENT
   ============================================ */

.why-us__card-title {
	font-size: 22px;
	font-weight: 600;
	font-family: var(--font-heading);
	color: #fff;
	margin: 0 0 16px;
	line-height: 1.3;
}

.why-us__card-description {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
	margin: 0;
	flex: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* fadeUp keyframe defined in animations.css */

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
	.why-us__container {
		padding: 0 40px;
	}

	.why-us__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.why-us__title {
		font-size: 40px;
		margin-bottom: 18px;
	}

	.why-us__subtitle {
		font-size: 17px;
		max-width: 600px;
	}

	.why-us__card {
		padding: 32px;
	}

	.why-us__icon-wrapper {
		width: 80px;
		height: 80px;
		margin-bottom: 24px;
	}

	.why-us__icon-wrapper svg {
		width: 48px;
		height: 48px;
	}

	.why-us__card-title {
		font-size: 20px;
		margin-bottom: 14px;
	}

	.why-us__card-description {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	.why-us {
		padding: 100px 0 80px;
	}

	.why-us__container {
		padding: 0 24px;
	}

	.why-us__header {
		margin-bottom: 50px;
	}

	.why-us__title {
		font-size: 32px;
		margin-bottom: 16px;
	}

	.why-us__subtitle {
		font-size: 16px;
		max-width: 100%;
	}

	.why-us__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.why-us__card {
		padding: 28px;
	}

	.why-us__icon-wrapper {
		width: 72px;
		height: 72px;
		margin-bottom: 20px;
		border-radius: 18px;
	}

	.why-us__icon-wrapper svg {
		width: 44px;
		height: 44px;
	}

	.why-us__card-title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.why-us__card-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.why-us {
		padding: 80px 0 60px;
	}

	.why-us__container {
		padding: 0 20px;
	}

	.why-us__header {
		margin-bottom: 40px;
	}

	.why-us__title {
		font-size: 28px;
		margin-bottom: 14px;
	}

	.why-us__subtitle {
		font-size: 15px;
	}

	.why-us__grid {
		gap: 20px;
	}

	.why-us__card {
		padding: 24px;
		border-radius: 20px;
	}

	.why-us__icon-wrapper {
		width: 64px;
		height: 64px;
		margin-bottom: 18px;
		border-radius: 16px;
	}

	.why-us__icon-wrapper svg {
		width: 40px;
		height: 40px;
	}

	.why-us__card-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.why-us__card-description {
		font-size: 13px;
		line-height: 1.6;
	}
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
	.why-us__card {
		animation: none;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.why-us__card:hover {
		transform: none;
	}

	.why-us__card::before {
		transition: none;
	}
}
