/* ----------------------------------------------------------------
Certificates Page - Modern UI/UX Styles
-----------------------------------------------------------------*/

/* Intro Section */
.cert-intro-section {
	display: flex;
	gap: 35px;
	margin: 0 0 40px 0;
	align-items: flex-start;
	flex-wrap: wrap;
}

.cert-image-wrapper {
	flex: 0 0 280px;
	max-width: 280px;
}

.cert-image-wrapper img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cert-intro-text {
	flex: 1;
	min-width: 300px;
}

.lead-text {
	font-size: 16px;
	line-height: 1.8;
	color: #2d3748;
	margin: 0 0 20px 0;
	font-weight: 500;
}

.cert-intro-text p:last-child {
	font-size: 14px;
	line-height: 1.7;
	color: #4a5568;
	margin: 0;
}

/* Section Headers */
.certification-bodies h2,
.fire-classes h2 {
	font-size: 32px;
	color: #1a1a1a;
	margin: 40px 0 15px;
	font-weight: 700;
	border-bottom: 3px solid #bba43f;
	padding-bottom: 10px;
}

.section-intro {
	font-size: 16px;
	color: #555;
	margin-bottom: 30px;
	line-height: 1.6;
}

/* Certification Badges Grid */
.cert-badges-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin: 30px 0 50px;
}

.cert-badge {
	background: white;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px 15px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cert-badge:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	border-color: #bba43f;
}

.cert-badge-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #bba43f 0%, #e6c84d 100%);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: bold;
	margin: 0 auto 15px;
}

.cert-badge h3 {
	font-size: 20px;
	color: #1a1a1a;
	margin: 10px 0 5px;
	font-weight: 700;
}

.cert-badge p {
	font-size: 13px;
	color: #666;
	margin: 0;
	line-height: 1.4;
}

/* Fire Class Cards */
.fire-class-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin: 30px 0;
}

.fire-class-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.fire-class-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.fire-class-header {
	padding: 20px;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.fire-class-header.b-class {
	background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.fire-class-header.a-class {
	background: linear-gradient(135deg, #e2694a 0%, #bd5a35 100%);
}

.fire-class-header.h-class {
	background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.fire-class-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
}

.fire-time {
	font-size: 14px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.2);
	padding: 5px 12px;
	border-radius: 20px;
}

.fire-class-body {
	padding: 25px;
}

.fire-class-body p {
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	margin: 0 0 20px;
}

.rating-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0;
}

.rating-badge {
	background: #f5f5f5;
	border: 2px solid #ddd;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	color: #333;
	transition: all 0.2s ease;
}

.rating-badge:hover {
	background: #bba43f;
	border-color: #bba43f;
	color: white;
}

.rating-note {
	font-size: 13px !important;
	color: #777 !important;
	font-style: italic;
	margin: 15px 0 0 !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.cert-intro-section {
		flex-direction: column;
	}

	.cert-image-wrapper {
		flex: 1 0 100%;
		max-width: 100%;
	}

	.cert-badges-grid {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 15px;
	}

	.cert-badge {
		padding: 20px 10px;
	}

	.fire-class-cards {
		grid-template-columns: 1fr;
	}

	.certification-bodies h2,
	.fire-classes h2 {
		font-size: 24px;
	}
}

@media screen and (max-width: 480px) {
	.lead-text {
		font-size: 16px;
	}

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

	.rating-badges {
		justify-content: center;
	}
}
