/* Typography: the Figma design uses Plus Jakarta Sans throughout,
   replacing the template's Inter */
body,
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* Brand palette on top of the template's theme-1 scale */
.theme-1 {
	--primary: #243c56;
	--primary-hover: #16283a;
	--secondary: #fdce42;
	--secondary-hover: #f0bd28;
	--primary-transparent: #eef2f7;
	--primary-100: #0e1b28;
}

/* Logo sizing */
.header-logo .logo,
.menu-logo .img-fluid {
	max-height: 52px;
	width: auto;
}

/* Header (Figma node 1:509): active and hovered nav links in link blue.
   Selector depth matches the template's "header.fixed" variant so it
   wins in both the static and the scrolled state */
header.header-two .header-nav .main-menu-wrapper .main-nav > li.active > a,
header.header-two .header-nav .main-menu-wrapper .main-nav > li:hover > a {
	color: #3763c2;
}

/* Sign In pill: navy-900 fill, white label, radius 40. Hover lifts one
   step up the navy scale so the change is visible on a near-black chip. */
.btn-signin {
	background: #0e1b28;
	border: 1px solid #0e1b28;
	color: #fff !important;
	border-radius: 40px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}

.btn-signin:hover,
.btn-signin:focus {
	background: #16283a;
	border-color: #16283a;
	color: #fff !important;
}

.currency-dropdown > a {
	color: #232a39;
	font-size: 14px;
}

/* "Cursos destacados" underline: solid brand navy instead of the
   template's rainbow gradient */
.home-five-head h2:after {
	background: #243c56;
}

/* Course category tabs: navy active chip with white label; darker navy
   on hover */
.tablist-three .nav-tab.active {
	background: #243c56;
	border-color: #243c56;
	color: #fff;
}

.tablist-three .nav-tab:hover {
	background: #0b1930;
	color: #fff;
}

/* Hero (Figma node 58:1332). Height follows the 16:9 design but never
   exceeds the space left by the header (84px) and the announcement
   band (~80px), so header + hero + band fit one screen like the mock.
   The image anchors top-right: crops keep the subject's face in frame. */
.banner-section-four {
	background: url("../../img/opus/hero.eb165f120b49.webp") no-repeat right top / cover;
}

@media (min-width: 992px) {
	.banner-section-four {
		height: min(56.25vw, calc(100vh - 164px), 900px);
		min-height: 560px;
		display: flex;
		align-items: center;
		padding: 0;
	}

	/* The panel aligns with the site container (header logo, section
	   content) at every viewport */
	.banner-section-four .container {
		width: 100%;
	}
}

/* Frosted panel per Figma: 601px wide, navy tint, 40px blur (template
   uses plain black at 30px) */
.banner-section-four .banner-content {
	max-width: 601px;
	background: rgba(14, 27, 40, 0.3);
	backdrop-filter: blur(40px);
}

/* Hero announcement band: one straight line, no tilt */
.sliders-section .scholarship-slide.slide-two {
	transform: none;
	margin-top: 0;
}

/* Course cards: equal height per row, meta row pinned to the bottom */
.home-five-courses .all-course .row>[class*="col-"] {
	display: flex;
}

.home-five-courses .course-item-five {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.home-five-courses .course-item-five .course-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

/* Meta row replaces the removed price / instructor block */
.course-item-five .course-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	border-top: 1px solid var(--gray-100);
	padding-top: 16px;
	margin-top: auto;
}

.course-item-five .course-meta p {
	margin-bottom: 0;
}

.home-five-courses .course-item-five .course-three-text {
	margin-bottom: 16px;
}

/* Instructor section (Figma node 1:810): solid navy with one full-bleed
   contour-wave overlay exported from Figma — replaces the template's
   small repeating counter-bg.png tile */
.counter-section-four {
	background: url("../../img/opus/pattern-waves.d9d4f124f295.webp") no-repeat center center / cover, #243c56;
}

@media (min-width: 1200px) {
	.counter-section-four .section-title {
		font-size: 52px;
	}
}

.counter-section-four .section-header p {
	font-size: 18px;
}

/* Portrait photo in a white frame: outer 502x641 radius 12, 10px padding,
   inner radius 8; the landscape source crops from its left edge */
.instructor-photo-frame {
	background: #fff;
	border-radius: 12px;
	padding: 10px;
	max-width: 502px;
	aspect-ratio: 502 / 641;
}

.instructor-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	border-radius: 8px;
}

/* Client logos are single-colour assets: render them white over the navy band */
.company-slide img {
	max-height: 40px;
	width: auto;
	filter: brightness(0) invert(1);
}

/* FAQ section: the template's navy block spans the full section height;
   Figma insets it (55px above, 44px below) so it never touches the
   neighbouring sections */
.faq-banner-bg::before {
	top: 56px;
	height: calc(100% - 104px);
}

/* Final CTA (Figma node 1:1295): 480px-tall photo band, panel 640px wide
   offset 50px from the top */
.final-cta-section {
	position: relative;
	min-height: 480px;
	padding: 50px 0;
	background: url("../../img/opus/final-cta.05ad10483213.webp") no-repeat center center / cover;
}

.final-cta-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 27, 40, 0.32);
}

.final-cta-section .container {
	position: relative;
	z-index: 1;
}

.final-cta-panel {
	background: #0b1930;
	max-width: 640px;
	margin-left: auto;
	padding: 56px;
}

@media (max-width: 767.98px) {
	.final-cta-panel {
		padding: 24px;
	}
}

.final-cta-panel h2 {
	color: #fff;
	font-size: 34px;
	letter-spacing: -0.68px;
	margin-bottom: 18px;
}

.final-cta-panel p {
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 26px;
}

/* Figma accent button: 52px tall, 8px radius, dark ink label */
.final-cta-panel .btn {
	height: 52px;
	display: inline-flex;
	align-items: center;
	padding: 0 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
}

/* Footer announcement band: solid accent line, no text, no animation */
.footer-announcement-band {
	height: 16px;
	background: var(--secondary);
}

/* Footer logo exported from Figma: orange bird, white lettering */
.footer-four .footer-logo img {
	width: 186px;
	height: auto;
}

/* Figma caps the brand description narrower than the template's 500px */
.footer-four .footer-about p {
	max-width: 330px;
}
