.our-branches-section {
	padding: 30px 20px;
}

.our-branches-section .container {
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	text-align: center;
	font-size: 42px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 50px;
	font-family: 'Inter', sans-serif;
}

.branches-carousel-wrapper {
	position: relative;
	overflow: hidden;
	padding: 20px 0;
	background-color: #004b8d;
	border-radius: 12px;
	cursor: grab;
	user-select: none;
}

.branches-carousel-wrapper:active {
	cursor: grabbing;
}

.branches-carousel-track {
	display: flex;
	gap: 15px;
	transition: transform 0.5s ease;
	will-change: transform;
}

.branch-card {
	flex: 0 0 calc(25% - 22.5px);
	min-width: 300px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

.branch-card-image-wrapper {
	position: relative;
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.branch-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.branch-card:hover .branch-card-image {
	transform: scale(1.05);
}

.branch-card-icons {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 2;
}

.branch-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #1e3a5f;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.branch-icon:hover {
	background-color: #2c5a8a;
	transform: scale(1.1);
}

.branch-icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.branch-card-content {
	padding: 20px;
	background-color: #e8f4f8;
}

.branch-school-name {
	font-size: 15px;
	color: rgb(134, 0, 0);
	margin-bottom: 4px;
	font-weight: 800;
	font-family: 'Inter', sans-serif;
	text-align: center;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.3;
}

.branch-location {
	font-size: 24px;
	color: #1e3a5f;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	text-align: center;
}

.branch-apply-btn {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #005daa;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.branch-apply-btn:hover {
	background: #003f77;
	color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.branch-card {
		flex: 0 0 calc(33.333% - 20px);
	}
}

@media (max-width: 768px) {
	.branch-card {
		flex: 0 0 calc(50% - 10px);
		min-width: 0;
	}

	.branches-carousel-wrapper {
		padding: 15px 10px;
	}

	.branches-carousel-track {
		gap: 10px;
	}

	.section-title {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.branch-card-image-wrapper {
		height: 200px;
	}

	.branch-school-name {
		font-size: 14px;
	}

	.branch-location {
		font-size: 20px;
	}

	.branch-icon {
		width: 35px;
		height: 35px;
	}

	.branch-icon svg {
		width: 16px;
		height: 16px;
	}

	.branch-card-content {
		padding: 15px;
	}

	.branch-apply-btn {
		margin-top: 12px;
		padding: 9px 16px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.branch-card {
		flex: 0 0 100%;
		min-width: 0;
	}

	.branches-carousel-wrapper {
		padding: 15px 5px;
	}

	.branches-carousel-track {
		gap: 8px;
	}

	.our-branches-section {
		padding: 50px 10px;
	}

	.our-branches-section .container {
		max-width: 100%;
	}

	.section-title {
		font-size: 28px;
		margin-bottom: 25px;
	}

	.branch-card-image-wrapper {
		height: 280px;
	}

	.branch-school-name {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.branch-location {
		font-size: 20px;
	}

	.branch-icon {
		width: 36px;
		height: 36px;
	}

	.branch-icon svg {
		width: 16px;
		height: 16px;
	}

	.branch-card-icons {
		gap: 12px;
		bottom: 15px;
	}

	.branch-card-content {
		padding: 18px;
	}

	.branch-apply-btn {
		margin-top: 12px;
	}
}

.our-branches-section {
	overflow: hidden;
}

.branches-carousel-wrapper {
	max-width: 100%;
}