html .et_pb_section_6 {
    min-height: auto;
}

/* Inclusive Working — new homepage Divi blocks (Block 1, 3, 4, 5) */

.iw-block {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.iw-block-inner {
    max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.iw-dino {
    font-family: "DINosaurBold", sans-serif !important;
}

/* Reset the theme's global forced typography (h1-h6 uppercase, thin weight,
   and font-family !important on p/a/div) so these blocks match the design. */
.iw-block h1,
.iw-block h2,
.iw-block h3,
.iw-block h4 {
	text-transform: none !important;
	line-height: 1.25em;
	margin: 0;
}

.iw-block p,
.iw-block div,
.iw-block a,
.iw-block li,
.iw-block span {
	font-weight: 400 !important;
	font-size: inherit;
	line-height: 1.5em;
}

.iw-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iw-block img {
	max-width: 100%;
	height: auto;
	display: block;
}

.iw-block a:hover {
	opacity: 0.85;
}

.iw-block a:hover * {
	filter: none !important;
}

/* Buttons shared between blocks */
.iw-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 700 !important;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.iw-btn:hover {
	transform: translateY(-2px);
}

.iw-btn-primary {
	background-color: #3fa562;
	color: #ffffff !important;
}

.iw-btn-secondary {
	background-color: transparent;
	border-color: #ee7455;
	color: #ee7455 !important;
}

/* ==========================================================================
   Block 1 — Hero + Video
   ========================================================================== */

.iw-hero {
	background-image: url("/wp-content/themes/divi-learndash-theme/assets/img/home_hero_bg.png");
    background-size: cover;
	padding: 70px 0;
}

.iw-hero-inner {
	display: flex;
	align-items: center;
	gap: 60px;
	max-width: 1200px;
}

.iw-hero-content {
	flex: 1 1 50%;
	min-width: 0;
}

.iw-hero-media {
	flex: 1 1 45%;
	min-width: 0;
}

.iw-hero-heading {
	font-size: 58px !important;
	font-weight: 700 !important;
	line-height: 1.25em;
	color: #ffffff !important;
	margin-bottom: 20px;
}

.iw-hero-heading-line {
	color: #ffffff !important;
	font-weight: 700 !important;
}

.iw-hero-heading-highlight {
	color: #ee7455 !important;
	font-weight: 700 !important;
	display: block;
}

.iw-hero-description {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 24px !important;
	max-width: 480px;
	margin-bottom: 30px;
}

.iw-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
}

.iw-hero-btn-img {
	display: inline-block;
	line-height: 0;
}

.iw-hero-btn-img img {
	height: 52px;
	width: auto;
	display: block;
}

.iw-hero-features {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}

.iw-hero-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 120px;
    text-align: center;
}

.iw-hero-feature img {
	max-height: 75px;
	width: auto;
}

.iw-hero-feature span {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 13px;
	line-height: 1.4em;
}

.iw-hero-video-wrap {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
}

.iw-laptop-frame {
	width: 100%;
	height: auto;
	display: block;
}

/* Overlay is sized/positioned as a percentage of the laptop image so it
   stays aligned with the screen cut-out in new_homepage/Block 1/laptop.png
   (screen occupies left 8.48% / top 6.78% / width 83.87% / height 75.93%
   of the source image, measured in pixels: 184,93 to 2004,1134 of 2170x1371). */
.iw-hero-video-screen-overlay {
	position: absolute;
	left: 8.48%;
	top: 6.78%;
	width: 83.87%;
	height: 75.93%;
	overflow: hidden;
	background-color: #f9fafa;
}

.iw-hero-video,
.iw-hero-video-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Block 3 — Testimonial + Stats
   ========================================================================== */

.iw-testimonial-stats {
	background-color: #ffffff;
	padding: 60px 0;
}

.iw-testimonial-stats-inner {
	display: flex;
	align-items: center;
	gap: 30px;
}

.iw-quote-card {
	flex: 1 1 42%;
	background-color: #3d4359;
	border-radius: 14px;
	padding: 30px 34px;
}

.iw-quote-text {
	color: #ffffff !important;
	font-style: italic;
	font-size: 16px;
	margin-bottom: 12px !important;
}

html .iw-quote-author {
	color: #ffffff !important;
	font-weight: 700 !important;
	margin-bottom: 0 !important;
}

.iw-badge {
	flex: 0 0 auto;
}

.iw-badge img {
	max-height: 96px;
	width: auto;
	border-radius: 10px;
}

.iw-stats-card {
	flex: 1 1 42%;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 10px;
	background-color: #f7f7fa;
	border: 1px solid #e7e8ee;
	border-radius: 14px;
	padding: 24px 20px;
	box-shadow: 0 10px 30px rgba(23, 27, 46, 0.06);
}

.iw-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.iw-stat-icon {
	max-height: 150px;
	width: auto;
	margin: 0 auto;
}

html .iw-stat-number {
	font-weight: 700 !important;
	font-size: 22px;
	color: #3d4359 !important;
}

html .iw-stat-label {
	font-size: 18px;
	color: #6b6f80 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Block 4 — How It Works
   ========================================================================== */

.iw-how-it-works {
    font-weight: 700 !important;
	background-color: #f4f5f7;
	padding: 70px 0;
}

.iw-how-it-works-inner {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.iw-how-it-works-main {
	flex: 1 1 68%;
	min-width: 0;
}

.iw-how-it-works-heading {
	font-size: 40px;
	font-weight: 700 !important;
	color: #454D61 !important;
	text-align: center;
}

.iw-steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
}

.iw-step {
	flex: 1 1 0;
	text-align: center;
	max-width: 350px;
}

.iw-step-icon {
	max-height: 150px;
	width: auto;
	margin: 0 auto 16px;
}

.iw-step-title {
	font-size: 16px;
	font-weight: 700 !important;
	color: #3d4359 !important;
	margin-bottom: 8px !important;
}

.iw-step-text {
	font-size: 14px;
	color: #6b6f80 !important;
}

.iw-step-arrow {
	flex: 0 0 auto;
	align-self: center;
	width: 22px;
	height: 22px;
	margin-top: 40px;
	border-top: 4px solid #ee7455;
	border-right: 4px solid #ee7455;
	transform: rotate(45deg);
}

.iw-quote-button-wrap {
	width: 275px;
	height: auto;
	margin: 30px auto 0;
}

.iw-quote-button-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

.iw-sidebar-card {
	flex: 1 1 28%;
	background-color: #3d4359;
	border: 2px solid #ee7455;
	border-radius: 14px;
	padding: 30px;
    max-width: 300px
}

.iw-sidebar-heading {
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 18px;
	margin-bottom: 18px !important;
}

.iw-sidebar-list li {
	position: relative;
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 14px;
	padding-left: 18px;
	margin-bottom: 12px;
}

.iw-sidebar-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #ee7455;
}

/* ==========================================================================
   Block 5 — Learning Goals
   ========================================================================== */

.iw-learning-goals {
	background: linear-gradient(135deg, #2f3448 0%, #3d4359 45%, #565c86 100%);
	padding: 70px 0;
}

html .iw-learning-goals-heading {
	font-size: 40px;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-align: center;
	margin-bottom: 40px;
}

.iw-goal-cards {
	display: flex;
	align-items: stretch;
	gap: 26px;
}

.iw-goal-card {
	flex: 1 1 0;
	background-color: #f7f7fa;
	border: 2px solid #ee7455;
	border-radius: 14px;
	padding: 28px;
}

.iw-goal-icon {
	max-height: 130px;
	width: auto;
	margin: 0 auto 14px;
}

.iw-goal-title {
	font-size: 17px;
	font-weight: 700 !important;
	color: #3d4359 !important;
	text-align: center;
	margin-bottom: 16px !important;
}

.iw-goal-list li {
	position: relative;
	color: #4a4f63 !important;
	font-size: 19px;
	padding-left: 16px;
	margin-bottom: 8px;
}

.iw-goal-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #6b6f80;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
	.iw-hero-inner {
		flex-direction: column;
	}

	.iw-hero-content {
		text-align: center;
	}

	.iw-hero-description {
		margin-left: auto;
		margin-right: auto;
	}

	.iw-hero-buttons,
	.iw-hero-features {
		justify-content: center;
	}

	.iw-hero-feature {
		align-items: center;
		text-align: center;
	}

	.iw-hero-media {
		width: 100%;
	}

	.iw-testimonial-stats-inner {
		flex-direction: column;
	}

	.iw-quote-card,
	.iw-stats-card {
		width: 100%;
		flex: 1 1 auto;
	}

	.iw-how-it-works-inner {
		flex-direction: column;
	}

	.iw-steps {
		flex-wrap: wrap;
	}

	.iw-goal-cards {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.iw-hero,
	.iw-testimonial-stats,
	.iw-how-it-works,
	.iw-learning-goals {
		padding: 45px 0;
	}

	.iw-hero-heading {
		font-size: 38px !important;
	}

	.iw-how-it-works-heading,
	.iw-learning-goals-heading {
		font-size: 26px;
	}

	.iw-steps {
		flex-direction: column;
		align-items: center;
	}

	.iw-step {
		max-width: 100%;
	}

	.iw-step-arrow {
		transform: rotate(135deg);
		margin: 4px 0;
        border-radius: 4px 5px;
	}

	.iw-stats-card {
		flex-direction: column;
	}

	.iw-badge {
		order: -1;
	}
}
