/**
 * Teachers Template Styles
 *
 * @package ceron
 */

/* Page Banner */
.teachers-banner {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	height: 500px;
	max-height: 500px;
	margin-bottom: 0;
}

.page-banner-overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 19, 56, 0.6);
	z-index: 1;
}

/* Teachers Sections */
.teachers-section {
	padding: 100px 0;
}

.teachers-section.bg-white {
	background: #ffffff;
}

.teachers-section.bg-lightgrey {
	background: #f5f5f5;
}

.teachers-section-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

/* Teachers Header */
.teachers-header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	text-align: center;
	max-width: 838px;
	margin: 0 auto;
}

.teachers-header h2 {
	font-size: 50px;
	line-height: 38px;
	color: #180a2c;
	margin: 0;
	white-space: nowrap;
}

.teachers-description {
	font-size: 20px;
	line-height: 28px;
	color: #666666;
	width: 100%;
}

.teachers-description p {
	margin: 0;
}

/* Teachers Grid - All teacher card styles moved to custom.css for consistency */

/* Bottom Section */
.teachers-bottom-section {
	background: #000000;
	padding: 70px 119px;
	position: relative;
}

.teachers-bottom-inner {
	max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
}

.teachers-bottom-content {
	max-width: 740px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: baseline;
}

.teachers-bottom-content h2 {
	font-size: 50px;
	line-height: 60px;
	color: #ffffff;
	margin: 0;
	text-align: center;
	white-space: nowrap;
}

.teachers-bottom-description {
	font-size: 18px;
	line-height: 30px;
	color: #ffffff;
	width: 100%;
}

.teachers-bottom-description p {
	margin: 0;
}

.teachers-bottom-buttons {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	justify-content: center;
}

.button-outline-white {
	display: inline-block;
	border: 1px solid #ffffff;
	color: #ffffff;
	font-weight: 300;
	font-size: 18px;
	line-height: normal;
	padding: 8px 40px 10px 40px;
	border-radius: 100px;
	text-decoration: none;
	transition: all 0.3s;
}

.button-outline-white:hover {
	background: #ffffff;
	color: #180a2c;
}

.teachers-bottom-image {
position: absolute;
    right: 0;
    width: 387.591px;
}

.teachers-bottom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

/* Responsive Design */
@media (max-width: 1400px) {
	.teachers-section-inner {
		padding: 0 60px;
	}

	.teachers-bottom-section {
		padding: 60px 60px;
	}

	.teachers-bottom-image {
		right: 60px;
	}
}

@media (max-width: 1200px) {
	.teachers-section-inner {
		padding: 0 40px;
	}

	.teachers-bottom-section {
		padding: 60px 40px;
	}

	.teachers-bottom-content {
		width: 55%;
	}

	.teachers-bottom-image {
		right: 40px;
		width: 300px;
		height: 270px;
	}
}

@media (max-width: 992px) {
	.teachers-section {
		padding: 80px 0;
	}

	.teachers-section-inner {
		padding: 0 30px;
	}

	.teachers-header h2 {
		font-size: 40px;
		line-height: 50px;
		white-space: normal;
	}

	.teachers-description {
		font-size: 18px;
		line-height: 26px;
	}

	.teachers-bottom-section {
		padding: 50px 30px;
	}

	.teachers-bottom-content {
		width: 100%;
	}

	.teachers-bottom-content h2 {
		font-size: 40px;
		line-height: 50px;
		white-space: normal;
	}

	.teachers-bottom-image {
		display: none;
	}
}

@media (max-width: 768px) {
	.teachers-banner {
		height: 400px;
		max-height: 400px;
	}

	.teachers-section {
		padding: 60px 0;
	}

	.teachers-section-inner {
		padding: 0 20px;
	}

	.teachers-header h2 {
		font-size: 36px;
		line-height: 44px;
	}

	.teachers-description {
		font-size: 16px;
		line-height: 24px;
	}

	.teachers-bottom-section {
		padding: 50px 20px;
	}

	.teachers-bottom-content h2 {
		font-size: 36px;
		line-height: 44px;
	}

	.teachers-bottom-description {
		font-size: 16px;
		line-height: 26px;
	}

	.teachers-bottom-buttons {
		flex-direction: column;
		gap: 16px;
	}

	.button-outline-white {
		font-size: 16px;
		padding: 8px 32px 10px 32px;
	}
}

@media (max-width: 480px) {
	.teachers-banner {
		height: 300px;
		max-height: 300px;
	}

	.teachers-section {
		padding: 50px 0;
	}

	.teachers-section-inner {
		padding: 0 16px;
	}

	.teachers-header h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.teachers-description {
		font-size: 15px;
		line-height: 22px;
	}

	.teachers-bottom-section {
		padding: 40px 16px;
	}

	.teachers-bottom-content h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.teachers-bottom-description {
		font-size: 15px;
		line-height: 24px;
	}

	.button-outline-white {
		font-size: 15px;
		padding: 8px 28px 10px 28px;
		width: 100%;
		text-align: center;
	}
}
