/**
 * Our Courses Template Styles
 *
 * @package ceron
 */

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

.page-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(24, 10, 44, 0.6);
	z-index: 1;
}

.page-banner h1 {
	font-size: 60px;
	line-height: 72px;
	color: #ffffff;
	margin: 0;
}

/* Disciplines Section */
.disciplines-section {
	background: #ffffff;
	padding: 100px 0;
}

.disciplines-section-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.disciplines-header {
	text-align: center;
	margin-bottom: 60px;
}

.disciplines-header h2 {
	font-size: 50px;
	line-height: 60px;
	color: #180a2c;
	margin: 0 0 8px 0;
}

.disciplines-header .subheading {
	font-size: 22px;
	line-height: 34px;
	color: #666666;
	margin: 0;
}

/* Disciplines Grid */
.disciplines-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.discipline-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	text-decoration: none;
	cursor: pointer;
}

.discipline-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	position: relative;
}

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

.discipline-card:hover .discipline-card-image img {
	transform: scale(1.08);
}

.discipline-card-content {
	background: linear-gradient(180deg, rgba(245, 245, 245, 0) 22.747%, #f5f5f5 100%);
	padding: 28px 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 239px;
}

.discipline-card-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.age-group-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.age-group-tag {
	background: #2a596b;
	color: #ffffff;
	font-size: 14px;
	line-height: 26px;
	padding: 0 8px;
	display: inline-block;
}

/* Different colors for age groups */
.age-group-tag:nth-child(2) {
	background: #441c27;
}

.age-group-tag:nth-child(3) {
	background: #111e60;
}

.discipline-card h3 {
	font-size: 36px;
	line-height: 1.2;
	color: #180a2c;
	margin: 6px 0 0 0;
}

.discipline-card-info p {
	font-size: 16px;
	line-height: 26px;
	color: rgba(26, 26, 26, 0.7);
	margin: 0;
}

.discipline-card-link {
	display: flex;
	justify-content: flex-end;
	margin-top: auto;
}

.discipline-card-link svg {
	display: block;
	transition: transform 0.3s;
}

.discipline-card:hover .discipline-card-link svg {
	transform: translateX(5px);
}

/* Responsive Design for Disciplines Section */
@media (max-width: 1200px) {
	.disciplines-section-inner {
		padding: 0 40px;
	}
}

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

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

	.disciplines-header h2 {
		font-size: 40px;
		line-height: 50px;
	}

	.disciplines-header .subheading {
		font-size: 20px;
		line-height: 30px;
	}

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

@media (max-width: 768px) {
	.disciplines-section {
		padding: 60px 0;
	}

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

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

	.disciplines-header .subheading {
		font-size: 18px;
		line-height: 28px;
	}

	.disciplines-grid {
		grid-template-columns: 1fr;
	}

	.discipline-card h3 {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.disciplines-section {
		padding: 50px 0;
	}

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

	.disciplines-header {
		margin-bottom: 40px;
	}

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

	.disciplines-header .subheading {
		font-size: 16px;
		line-height: 26px;
	}

	.discipline-card h3 {
		font-size: 28px;
	}

	.discipline-card-info p {
		font-size: 15px;
		line-height: 24px;
	}
}

/* Responsive Design for Page Banner */
@media (max-width: 768px) {
	.page-banner {
		height: 400px;
		max-height: 400px;
		background-position: center;
	}

	.page-banner h1 {
		font-size: 48px;
		line-height: 58px;
	}
}

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

	.page-banner h1 {
		font-size: 36px;
		line-height: 44px;
	}
}

/* Language Section */
.language-section {
	background: #f5f5f5;
	padding: 100px 119px;
}

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

.language-content {
	flex: 0 0 710px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.language-content h2 {
	font-size: 50px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
	white-space: nowrap;
}

.language-text {
	font-size: 18px;
	line-height: 30px;
	color: #666666;
	width: 100%;
}

.language-text p {
	margin: 0 0 16px 0;
}

.language-text p:last-child {
	margin-bottom: 0;
}

.language-features {
	flex: 0 0 382px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.language-feature-item {
	display: flex;
	gap: 24px;
	align-items: center;
	width: 100%;
}

.feature-icon {
	width: 38.52px;
	height: 40px;
	flex-shrink: 0;
}

.feature-icon svg,
.feature-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.feature-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.feature-text h4 {
	font-size: 28px;
	line-height: normal;
	color: #180a2c;
	margin: 0;
	width: 100%;
}

.feature-text p {
	font-size: 16px;
	line-height: 26px;
	color: #666666;
	margin: 0;
	width: 100%;
}

/* Responsive Design for Language Section */
@media (max-width: 1400px) {
	.language-section {
		padding: 80px 60px;
	}
}

@media (max-width: 1200px) {
	.language-section {
		padding: 80px 40px;
	}

	.language-content {
		flex: 0 0 55%;
	}

	.language-features {
		flex: 0 0 40%;
	}
}

@media (max-width: 992px) {
	.language-section {
		padding: 60px 30px;
	}

	.language-section-inner {
		flex-direction: column;
		gap: 50px;
	}

	.language-content {
		flex: 1 1 auto;
		width: 100%;
	}

	.language-content h2 {
		font-size: 40px;
		white-space: normal;
	}

	.language-features {
		flex: 1 1 auto;
		width: 100%;
	}
}

@media (max-width: 768px) {
	.language-section {
		padding: 50px 20px;
	}

	.language-content h2 {
		font-size: 36px;
	}

	.language-text {
		font-size: 16px;
		line-height: 26px;
	}

	.feature-text h4 {
		font-size: 24px;
	}

	.feature-text p {
		font-size: 15px;
		line-height: 24px;
	}
}

@media (max-width: 480px) {
	.language-section {
		padding: 40px 16px;
	}

	.language-content h2 {
		font-size: 32px;
	}

	.language-feature-item {
		gap: 16px;
	}

	.feature-icon {
		width: 32px;
		height: 33px;
	}

	.feature-text h4 {
		font-size: 22px;
	}
}

/* Begin Journey Section */
.begin-journey-courses {
	padding: 60px 119px;
	background-color: #000000;
}

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

.begin-journey-courses-content {
	color: white;
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: flex-start;
	justify-content: center;
}

.begin-journey-courses-image {
	width: 100%;
	height: 100%;
}

.begin-journey-courses-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.begin-journey-courses-content h2 {
	font-size: 50px;
	line-height: 60px;
	margin: 0;
	white-space: nowrap;
}

.begin-journey-courses-content p {
	font-size: 18px;
	line-height: 30px;
	margin: 0;
	width: 100%;
}

.begin-journey-courses-content .cta-button {
	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;
}

.begin-journey-courses-content .cta-button:hover {
	background: #ffffff;
	color: #180a2c;
}

/* Responsive Design for Begin Journey Section */
@media (max-width: 1400px) {
	.begin-journey-courses {
		padding: 60px 60px;
	}
}

@media (max-width: 1200px) {
	.begin-journey-courses {
		padding: 60px 40px;
	}
}

@media (max-width: 992px) {
	.begin-journey-courses {
		padding: 50px 30px;
	}

	.begin-journey-courses-inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.begin-journey-courses-content h2 {
		font-size: 40px;
		line-height: 50px;
		white-space: normal;
	}
}

@media (max-width: 768px) {
	.begin-journey-courses {
		padding: 50px 20px;
	}

	.begin-journey-courses-content h2 {
		font-size: 36px;
		line-height: 44px;
	}

	.begin-journey-courses-content p {
		font-size: 16px;
		line-height: 26px;
	}

	.begin-journey-courses-content .cta-button {
		font-size: 16px;
		padding: 8px 32px 10px 32px;
	}
}

@media (max-width: 480px) {
	.begin-journey-courses {
		padding: 40px 16px;
	}

	.begin-journey-courses-content h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.begin-journey-courses-content p {
		font-size: 15px;
		line-height: 24px;
	}

	.begin-journey-courses-content .cta-button {
		font-size: 15px;
		padding: 8px 28px 10px 28px;
	}
}
