/* Layout that replaces Elementor containers for the Home template */

:root {
	--owl-font-display: "SF Pro", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.owl-section {
	width: 100%;
}

.owl-section-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 80px;
	width: 100%;
	box-sizing: border-box;
}

.hero-section {
	position: relative;
	z-index: 10;
	padding: 40px 0 0;
}

.hero-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1;
	max-width: 660px;
}

.hero-copy h1 {
	font-family: var(--owl-font-display);
	font-weight: 700;
	font-style: normal;
	font-size: 72px;
	line-height: 90px;
	letter-spacing: 0;
	margin: 0;
	color: #101828;
	vertical-align: middle;
}

.hero-content p {
	font-size: 18px;
	line-height: 1.6;
	color: #4A5565;
	margin: 0;
}

.hero-content strong {
	color: #101828;
}

.hero-form-col {
	flex: 0 1 460px;
	width: 100%;
	max-width: 460px;
}

.rainbow-section {
	padding: 100px 0 176px;
	background-image: url("https://owliver.ai/wp-content/uploads/2026/07/rainbow-lines.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

.rainbow-section .owl-section-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 1140px;
}

/* Welcome to Owliver */
.rainbow-section h2 {
	font-family: var(--owl-font-display);
	font-weight: 700;
	font-style: italic;
	font-size: 48px;
	line-height: 46px;
	letter-spacing: 0;
	margin: 0;
	color: #101828;
	text-align: center;
}

.rainbow-section > .owl-section-inner > p {
	font-size: 18px;
	color: #4A5565;
	margin: 0 0 16px;
}

.cq-wrap {
	max-width: 980px;
	width: 100%;
}

.feature-section {
	padding: 0 0 120px;
	text-align: center;
}

#practice.feature-section,
#ai-learn.feature-section {
	padding: 100px 0 120px;
}

#ask.ask-section {
	padding: 100px 0 184px;
}

.feature-section .section-badge,
.feature-section > .owl-section-inner > .icon-badge,
.feature-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

/* Section headings (Study / Practice / AI Learn / Ask / CTA) */
.feature-section h2,
.ask-section h2,
.cta-section h2 {
	font-family: var(--owl-font-display);
	font-weight: 700;
	font-style: italic;
	font-size: 60px;
	line-height: 60px;
	letter-spacing: 0;
	margin: 0;
	text-align: center;
	vertical-align: middle;
	max-width: 900px;
}

.feature-section h2 {
	color: #101828;
}

.feature-intro p,
.feature-lead {
	font-size: 18px;
	line-height: 1.6;
	color: #4A5565;
	margin: 0 auto 40px;
	max-width: 760px;
}

.icon-card-wrapper {
	display: flex;
	gap: 24px;
	margin-top: 54px;
	margin-bottom: 0;
	text-align: left;
}

/* Study Smarter panel — mirrors Elementor container ea2361f / e2bfb24 */
.study-smart-panel {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 80px;
	min-height: 400px;
	margin-top: 64px;
	padding: 30px 48px 0;
	border-radius: 24px;
	overflow: hidden;
	background-color: #111827;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	text-align: left;
	box-sizing: border-box;
	width: 100%;
}

.study-smart-copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 60%;
	flex: 0 0 60%;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

.study-smart-copy h3 {
	margin: 0;
	color: #FFFFFF;
	font-family: "Roboto", Sans-serif;
	font-weight: 700;
	/* original Elementor global c6dfc84 */
	font-size: 36px;
	line-height: 40px;
}

.study-smart-copy .text {
	margin: 0;
	color: #D1D5DC;
	font-family: "Roboto", Sans-serif;
	font-size: 18px;
	line-height: inherit;
	font-weight: 400;
}

.study-smart-copy .study-points {
	color: #D1D5DC;
}

.study-smart-copy .study-points p {
	margin: 0;
	margin-top: 16px;
}

/* Keep original style.css .study-points .point look — do not restyle */

.app-image {
	display: block;
	width: 28%;
	flex: 0 0 28%;
	height: 370px;
	background-image: url("https://owliver.ai/wp-content/uploads/2026/07/Ask_Reference.png");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	border-radius: 10px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-sizing: border-box;
}

.study-points-desktop {
	display: block;
}

.study-points-mobile {
	display: none;
}

.practice-cards-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	text-align: left;
}

.reinforcement-stats {
	display: flex;
	gap: 24px;
	padding: 48px;
	margin-top: 40px;
	color: #fff;
	text-align: center;
}

/* AI Learn / Mentorship
   Desktop + Laptop: side by side
   Tablet + Mobile: stacked (one below another) */
#ai-learn.mentorship-section {
	overflow: visible;
	position: relative;
}

#ai-learn .owl-section-inner {
	max-width: 1440px;
	overflow: visible;
}

.mentorship-section .feature-intro {
	max-width: 768px;
	margin: 0 auto;
	gap: 12px;
}

.mentorship-content-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-height: 540px;
	margin-top: 50px;
	text-align: left;
	overflow: visible;
}

.mentorship-points {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 50%;
	flex: 0 0 50%;
	z-index: 2;
}

.mentorship-content-wrapper .study-points {
	padding: 24px;
	align-items: flex-start;
	font-family: "Roboto", Sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 30px;
	box-sizing: border-box;
}

.mentorship-content-wrapper .study-points .content {
	flex: 1;
	min-width: 0;
}

.mentorship-content-wrapper .study-points .content p {
	margin: 0;
	font-size: 18px;
	line-height: 30px;
	color: #4A5565;
}

/* Desktop / laptop: image sits beside cards (matches design) */
.web-app-image {
	width: 58%;
	flex: 0 0 58%;
	aspect-ratio: 2 / 1.15;
	position: relative;
	right: auto;
	bottom: auto;
	z-index: 1;
	background-image: url("https://owliver.ai/wp-content/uploads/2026/07/web-app-screenshot.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center right;
	border-radius: 10px;
	align-self: center;
}
@media (min-width: 1023px) {
	.mentorship-content-wrapper {
		gap: 80px;
	}

	.web-app-image {
		width: 66%;
		flex: 0 0 66%;
		position: absolute;
		right: -180px;
		bottom: 50%;
        background-position: center center;
        transform: translateY(76%);
	}
}
/* Large desktop: allow slight overflow like original absolute layout */
@media (min-width: 1280px) {
	.mentorship-points {
		width: 46%;
		flex: 0 0 48%;
	}
	.web-app-image {
		width: 58%;
		flex: 0 0 58%;
		position: absolute;
		right: -180px;
		bottom: 50%;
        background-position: center center;
        transform: translateY(76%);
	}
}

.ask-section {
	text-align: center;
}

.ask-section .owl-section-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.ask-section h2 {
	color: #101828;
}

.ask-section .ask-lead {
	font-size: 18px;
	line-height: 1.6;
	color: #4A5565;
	max-width: 700px;
	margin: 0;
}

.cta-section {
	padding: 96px 0;
	background-image: url("https://owliver.ai/wp-content/uploads/2026/07/cta-section-bg.jpg");
	background-size: cover;
	background-position: center;
	text-align: center;
	color: #fff;
}

.cta-section .owl-section-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.cta-section .cta-logo {
	width: 168px;
	margin: 0 auto;
}

.cta-section h2 {
	color: #fff;
}

.cta-section p {
	font-size: 18px;
	line-height: 1.6;
	max-width: 640px;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

.hidden-desktop {
	display: none !important;
}

.hidden-mobile {
	display: block;
}

@media (max-width: 1024px) {
	.owl-section-inner {
		padding: 0 40px;
	}

	.hero-section {
		padding: 44px 0;
	}

	.hero-grid {
		flex-direction: column;
		text-align: center;
	}

	.hero-copy {
		align-items: center;
		max-width: 100%;
	}

	.hero-copy h1 {
		text-align: center;
	}

	.hero-form-col {
		max-width: 100%;
	}

	.rainbow-section {
		padding: 44px 0;
	}

	.feature-section,
	#practice.feature-section,
	#ai-learn.feature-section {
		padding: 44px 0;
	}

	#ask.ask-section {
		padding: 44px 0 80px;
	}

	.cta-section {
		padding: 80px 0;
	}

	.icon-card-wrapper {
		flex-wrap: wrap;
	}

	.icon-card-wrapper .icon-card {
		flex-basis: calc(50% - 10px);
	}

	/* tablet overrides from Elementor */
	.study-smart-panel {
		align-items: flex-end;
		gap: 50px;
		margin-top: 36px;
		padding: 24px 24px 0;
	}

	.study-smart-copy {
		width: 50%;
		flex: 0 0 50%;
		padding-bottom: 24px;
	}

	.app-image {
		width: 44%;
		flex: 0 0 44%;
		border-radius: 12px 12px 0 0;
	}

	.practice-cards-row {
		flex-wrap: wrap;
	}

	.practice-cards-row .icon-card {
		flex: 1 1 calc(50% - 10px);
	}

	/* Tablet: stack cards then laptop */
	.mentorship-content-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		margin-top: 24px;
		min-height: 0;
	}

	.mentorship-points {
		width: 100%;
		flex: 0 0 auto;
		gap: 16px;
	}

	.web-app-image {
		width: 140%;
        flex: 1 0 auto;
        position: relative;
        right: -60px;
        bottom: unset;
		margin: 0;
		aspect-ratio: 2 / 1.15;
		background-position: center center;
		background-size: contain;
	}
}

@media (max-width: 767px) {
	.owl-section-inner {
		padding: 0 16px;
	}

	.hero-section {
		padding: 44px 0;
	}

	.hero-copy h1 {
		font-family: var(--owl-font-display);
		font-weight: 700;
		font-style: normal;
		font-size: 36px;
		line-height: 38px;
		letter-spacing: 0;
		text-align: center;
		vertical-align: middle;
	}

	.rainbow-section {
		padding: 0 0 44px;
	}

	.rainbow-section h2,
	.feature-section h2,
	.ask-section h2,
	.study-smart-copy h3,
	.cta-section h2 {
		font-family: var(--owl-font-display);
		font-weight: 700;
		font-style: italic;
		font-size: 36px;
		line-height: 38px;
		letter-spacing: 0;
		text-align: center;
		vertical-align: middle;
		max-width: 88%;
	}
	.ask-section h2{
		max-width: 90%;
	}

	.feature-intro p,
	.feature-lead {
		margin: 0;
	}

	.study-points .point {
		margin-right: 8px;
	}

	/* Mobile section paddings (match Elementor) */
	#study.feature-section {
		padding: 44px 0;
	}

	#practice.feature-section {
		padding: 16px 0 44px;
	}

	#ai-learn.feature-section {
		padding: 16px 0 44px;
	}

	/* Mobile: keep stacked, full-width image */
	.mentorship-content-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		margin-top: 24px;
	}

	.mentorship-points {
		width: 100%;
		flex: 0 0 auto;
	}

	#ask.ask-section {
		padding: 20px 0 44px;
	}

	.cta-section {
		padding: 56px 0;
	}

	.study-smart-panel {
		flex-wrap: wrap;
		gap: 24px;
		margin-top: 44px;
		padding: 36px 16px 0;
	}

	.study-smart-copy {
		width: 100%;
		flex: 0 0 100%;
		padding-bottom: 0;
	}

	.study-smart-copy h3 {
		font-style: normal;
		color: #fff;
		text-align: left;
	}

	.app-image {
		width: 100%;
		flex: 0 0 100%;
		height: 390px;
	}

	.icon-card-wrapper {
		margin-top: 8px;
	}

	.icon-card-wrapper .icon-card,
	.practice-cards-row .icon-card {
		flex-basis: 100%;
	}

	.reinforcement-stats {
		flex-direction: column;
		padding: 32px 20px;
	}

	.hidden-desktop {
		display: block !important;
	}

	.hidden-mobile {
		display: none !important;
	}

	.search-points {
		flex-wrap: wrap;
	}
}
