/**
 * Single Teacher Styles
 *
 * @package ceron
 */

/* Teacher Hero Section */
.teacher-hero {
	background: #ffffff;
	padding: 100px 0;
}

.teacher-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.teacher-hero-content {
	width: 692px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.teacher-hero-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.teacher-hero h1 {
	font-size: 50px;
	line-height: 60px;
	color: #180a2c;
	margin: 0;
	white-space: nowrap;
}

.teacher-occupation {
	font-size: 22px;
	line-height: 34px;
	color: #666666;
	margin: 0;
	width: 100%;
}

.teacher-description {
	font-size: 18px;
	line-height: 30px;
	color: #666666;
	width: 644.95px;
}

.teacher-description p {
	margin: 0 0 16px 0;
}

.teacher-description p:last-child {
	margin-bottom: 0;
}

.teacher-hero-image {
	width: 488px;
	height: 488px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.teacher-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s ease;
}

.teacher-hero-image:hover img {
	transform: scale(1.08);
}

/* Career Path Section */
.teacher-career {
	background: #f5f5f5;
	padding: 100px 119px;
	position: relative;
}

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

.teacher-career-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	text-align: center;
}

.teacher-career h2 {
	font-size: 50px;
	line-height: 60px;
	color: #180a2c;
	margin: 0;
	white-space: nowrap;
}

.career-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1042px;
	margin: 0 auto;
	width: 100%;
}

.career-timeline-line {
	position: absolute;
	left: 203px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #180a2c;
	z-index: 0;
}

.career-item {
	display: flex;
	gap: 44px;
	align-items: center;
	justify-content: flex-end;
	position: relative;
	z-index: 1;
}

.career-year {
	font-family: var(--font-headline);
	font-size: 36px;
	line-height: normal;
	color: #180a2c;
	white-space: nowrap;
	text-align: right;
	flex-shrink: 0;
}

.career-description {
	font-size: 18px;
	line-height: 30px;
	color: #666666;
	width: 815.191px;
	flex-shrink: 0;
}

/* Bottom Section */
.teacher-bottom-section {
	background: #000000;
    padding: 60px 0;
    position: relative;
}

.teacher-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 22px;
	align-items: center;
}

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

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

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

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

.teacher-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 !important;
	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 !important;
}

.button-outline-white:visited {
	color: #ffffff !important;
}

.button-outline-white:visited:hover {
	color: #180a2c !important;
}

.teacher-bottom-image {
	width: 387.591px;
	height: 346.975px;
	overflow: hidden;
}

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

.teacher-bottom-image:hover img {
	transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 1400px) {
	.teacher-career {
		padding: 100px 60px;
	}

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

@media (max-width: 1200px) {
	.teacher-hero {
		padding: 80px 20px;
	}

	.teacher-hero-content {
		width: 55%;
	}

	.teacher-hero-image {
		width: 40%;
		height: auto;
		aspect-ratio: 1;
	}

	.teacher-description {
		width: 100%;
	}

	.teacher-career {
		padding: 80px 40px;
	}

	.career-timeline-line {
		left: 150px;
	}

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

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

	.teacher-bottom-image {
		width: 300px;
		height: 270px;
	}
}

@media (max-width: 992px) {

	.teacher-hero-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.teacher-hero-content {
		width: 100%;
	}

	.teacher-hero h1 {
		font-size: 40px;
		line-height: 50px;
		white-space: normal;
	}

	.teacher-hero-image {
		width: 100%;
		max-width: 488px;
	}

	.teacher-career {
		padding: 60px 30px;
	}

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

	.career-timeline-line {
		/* left: 50%;
		transform: translateX(-50%); */
		display: none;
	}

	.career-item {
		flex-direction: column;
		gap: 16px;
		align-items: center;
		text-align: center;
	}

	.career-year {
		text-align: center;
	}

	.career-description {
		width: 100%;
		text-align: left;
	}

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

	.teacher-bottom-inner {
		grid-template-columns: 1fr;
	}

	.teacher-bottom-content {
		width: 100%;
		align-items: flex-start;
		text-align: left;
	}

	.teacher-bottom-content h2 {
		font-size: 40px;
		line-height: 50px;
		white-space: normal;
		text-align: left;
	}

	.teacher-bottom-image {
		width: 100%;
		max-width: 488px;
		height: auto;
	}

	.teacher-bottom-image img {
		height: auto;
	}
}

@media (max-width: 768px) {
	.teacher-hero h1 {
		font-size: 36px;
		line-height: 44px;
	}

	.teacher-occupation {
		font-size: 20px;
		line-height: 30px;
	}

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

	.teacher-career {
		padding: 50px 20px;
	}

	.teacher-career h2 {
		font-size: 36px;
		line-height: 44px;
	}

	.career-year {
		font-size: 32px;
	}

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

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

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

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

	.teacher-bottom-buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.button-outline-white {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.teacher-hero h1 {
		font-size: 32px;
		line-height: 40px;
	}

	.teacher-occupation {
		font-size: 18px;
		line-height: 28px;
	}

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

	.teacher-career {
		padding: 40px 16px;
	}

	.teacher-career h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.career-year {
		font-size: 28px;
	}

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

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

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

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