/*!
Theme Name: C-Academy
Theme URI: http://underscores.me/
Author: Creativeans
Author URI: https://www.creativeans.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: c-academy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

C-Academy is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%!important;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

/* ===============================
   BESELY — NORMAL
================================ */
@font-face {
  font-family: "Besley";
  src:
    url("fonts/Besley-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/Besley-VariableFont_wght.woff") format("woff-variations"),
    url("fonts/Besley-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   BESELY — ITALIC
================================ */
@font-face {
  font-family: "Besley";
  src:
    url("fonts/Besley-Italic-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/Besley-Italic-VariableFont_wght.woff") format("woff-variations"),
    url("fonts/Besley-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ===============================
   HANKEN GROTESK — NORMAL
================================ */
@font-face {
  font-family: "HankenGrotesk";
  src:
    url("fonts/HankenGrotesk-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/HankenGrotesk-VariableFont_wght.woff") format("woff-variations"),
    url("fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   HANKEN GROTESK — ITALIC
================================ */
@font-face {
  font-family: "HankenGrotesk";
  src:
    url("fonts/HankenGrotesk-Italic-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/HankenGrotesk-Italic-VariableFont_wght.woff") format("woff-variations"),
    url("fonts/HankenGrotesk-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}


body,
button,
input,
select,
optgroup,
textarea {
	color: #020617;
	font-family: "HankenGrotesk", sans-serif;
	font-size: clamp(14px, 1.05vw, 28px);
	line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "Besley", sans-serif;
}

.font-besley {
	font-family: "Besley", sans-serif;
}

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

.text-14,
.text-14 * {
	font-size: clamp(12px, 0.73vw, 20px);
}

.text-20,
.text-20 * {
	font-size: clamp(14px, 3vw, 30px);
}

.text-22,
.text-22 * {
	font-size: clamp(14px, 3.2vw, 30px);
}

.text-25,
.text-25 * {
	font-size: clamp(16px, 3.5vw, 30px);
}

.text-30,
.text-30 * {
	font-size: clamp(18px, 4.2vw, 36px);
}

.text-35,
.text-35 * {
	font-size: clamp(18px, 4.5vw, 42px);
}

.text-45,
.text-45 * {
	font-size: clamp(20px, 5.15vw, 56px);
}

.text-70,
.text-70 * {
	font-size: clamp(28px, 7vw, 92px);
}

.text-85,
.text-85 * {
	font-size: clamp(36px, 8vw, 120px);
	line-height: 1.2;
}

.text-120,
.text-120 * {
	font-size:  clamp(48px, 17.25vw, 150px);
	line-height: 1;
}

.text-130 {
	font-size: clamp(28px, 6.78vw, 180px);
}

.text-180 {
	font-size: clamp(30px, 9.4vw, 240px);
}

@media screen and (min-width: 750px) {
	.text-14,
	.text-14 * {
		font-size: clamp(12px, 0.73vw, 20px);
	}

	.text-20,
	.text-20 * {
		font-size: clamp(14px, 1.05vw, 30px);
	}
	
	.text-22,
	.text-22 * {
		font-size: clamp(14px, 1.15vw, 30px);
	}

	.text-25,
	.text-25 * {
		font-size: clamp(14px, 1.3vw, 30px);
	}
	.text-30,
	.text-30 * {
		font-size: clamp(18px, 1.567vw, 36px);
	}

	.text-35,
	.text-35 * {
		font-size: clamp(18px, 1.825vw, 42px);
	}
	
	.text-45,
	.text-45 * {
		font-size: clamp(20px, 2.345vw, 56px);
	}
	
	.text-70,
	.text-70 * {
		font-size: clamp(28px, 3.65vw, 92px);
	}
	
	.text-85,
	.text-85 * {
		font-size: clamp(36px, 4.3vw, 120px);
	}
	
	.text-120,
	.text-120 * {
		font-size:  clamp(48px, 6.25vw, 150px);
	}
}

.weight-300,
.weight-300 * {
	font-weight: 300;
}

.weight-400,
.weight-400 * {
	font-weight: 400;
}

.weight-500,
.weight-500 * {
	font-weight: 500;
}

.weight-700,
.weight-700 * {
	font-weight: 700;
}

.heading-0 {
	margin: 0;
}

.italic {
	font-style: italic;
}

.lines-fade p {
	margin: 0;
}

.lines-fade:has(p) {
	margin: 1em 0;
}

.p-margin {
	margin-top: 1em;
	margin-bottom: 1em;
}

@media screen and (min-width: 750px) {
	.text-container-60 {
		width: 60%;
		margin: 0 auto;
	}
	.text-container-65 {
		width: 65%;
		margin: 0 auto;
	}
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 2.2em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
/* a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
} */

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

html, body {
/*     overflow-x: hidden; */
}

.overflow-hidden {
	position: relative;
	overflow-x: hidden;
}

@media screen and (min-width: 750px) {
	.width-65 {
		max-width: 65%;
	}
	.width-75 {
		max-width: 75%;
	}
	.width-85 {
		max-width: 85%;
	}
	
	.width-65.text-center,
	.width-75.text-center {
		margin: 0 auto;
	}
}


section.section {
	padding: clamp(40px, 8vw, 120px) 10%;
}

section.section-med {
	padding: clamp(40px, 8vw, 120px) 7%;
}

section.section-wide {
	padding: clamp(40px, 8vw, 120px) 5%;
}

section.top-margin {
	margin-top: clamp(50px, 10vw, 150px);
}

@media screen and (min-width: 750px) {
	section.section-wide {
		padding: clamp(40px, 8vw, 120px) 2.5%;
	}
	
	section.section-wide .inner-section {
		padding: 0 7%;
	}
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: 5vw;
}

.grid > p {
	grid-column: span 12;
}

@media screen and (min-width: 750px) {
	.grid {
		grid-gap: 2.5vw;
	}
}

.grid .grid-item {
	grid-column: span 12;
}

@media screen and (min-width: 750px) {
	.grid .grid-item.grid-item-4 {
		grid-column: span 4;
	}
	
	.grid .grid-item.grid-item-3 {
		grid-column: span 3;
	}
	
	.grid .grid-item.grid-item-5 {
		grid-column: span 5;
	}
	
	.grid .grid-item.grid-item-6 {
		grid-column: span 6;
	}
	
	.grid .grid-item.grid-item-7 {
		grid-column: span 7;
	}
}

.bg-yellow {
	background-color: #FBE056;
}

.bg-cream {
	background-color: #F7F1E8;
}

.bg-gray {
	background-color: #9E9D9B;
}

.absolute-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.margin-bottom-small {
	margin-bottom: clamp(20px, 3vw, 70px);
}

.margin-bottom {
	margin-bottom: clamp(25px, 4vw, 100px);
}

.margin-bottom-full {
	margin-bottom: clamp(40px, 8vw, 120px);
}

.margin-top {
	margin-top: clamp(25px, 4vw, 100px);
}

.padding-top {
	padding-top: clamp(25px, 4vw, 100px);
}

.padding-bottom {
	padding-bottom: clamp(25px, 4vw, 100px);
}

section.top-0 {
	padding-top: 0;
}

section.bottom-0 {
	padding-bottom: 0;
}

@media screen and (min-width: 750px) {
	div.inner-section.padding-top {
		padding-top: clamp(25px, 4vw, 100px);
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.button-container.button-container-center {
	display: flex;
	justify-content: center;
}

.button-container .button {
	background-color: transparent;
	padding: clamp(5px, 0.6vw, 12px) clamp(10px, 1.2vw, 20px);
	border: 1.5px solid #020617;
	border-radius: clamp(5px, 0.5vw, 12px);
	font-size: clamp(14px, 1.15vw, 30px);
	font-weight: 500;
	display: flex;
	align-items: center;
	cursor: pointer;
	color: #020617;
	text-decoration: none;
	width: fit-content;
	transition: background-color 0.5s ease;
}

.button-container .button.button-arrow {
	display: flex;
	align-items: center;
}

.button-container .button.button-arrow span {
	white-space: nowrap;
	display: block;
	margin-right: clamp(10px, 0.7vw, 20px);
}

.button-container .button.button-arrow .arrow {
	flex-shrink: 0;
	width: clamp(20px, 1.5vw, 50px);
	object-fit: contain;
	transform: rotate(135deg);
}

.button-container .button:hover {
	background-color: #FBE056;
}

.button-container .button.button-invert {
	background-color: #FBE056;
}

.button-container .button.button-bg,
.button-container .button.button-invert:hover {
	background-color: #F7F9FB;
}

.button-container .button:hover,
.button-container .button.button-bg:hover {
	background-color: #FBE056;
}

.lines-fade-wrapper,
.lines-fade-wrapper-auto {
	opacity: 0;
}

.lines-fade .sup-lock {
	display: inline-block;
	white-space: nowrap;
}

.cursor-trail {
	width: clamp(80px, 6vw, 120px);
	height: clamp(80px, 6vw, 120px);
	object-fit: contain;
	position: absolute;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: opacity 0.3s ease;
	z-index: 9;
}

section.banner.banner-padding {
	padding: clamp(80px, 5vw, 120px) 5%;
}

@media screen and (min-width: 750px) {
	section.banner.banner-padding {
		padding: clamp(80px, 8vw, 150px) 2.5%;
	}
}

.banner.banner-home {
	height: 100vh;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Heading styles unchanged */
.banner .banner-heading {
	line-height: 1.2;
}
.banner.banner-home .banner-heading > span {
	display: block;
}
.banner .banner-heading > span {
	opacity: 0;
}
.banner.banner-home .banner-heading > span.bottom-text {
	transform: translate(10vw, 0);
}

.banner.banner-home .banner-heading .rainbow-text-inner {
	display: inline-block;

	background-image: linear-gradient(
		90deg,
		#000000 0%,
		#000000 33%,
		#c679c4 40%,
		#fa3d1d 45%,
		#ffb005 50%,
		#e1e1fe 55%,
		#0358f7 60%,
		transparent 67%
	);

	background-size: 300% 100%;
	background-position: 100% 0%;  /* ✅ IMPORTANT: START AT 100% */

	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;

	will-change: background-position;
}

/* STARTING STATE — small image matching text height */
.expand-media-wrapper {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	border-radius: clamp(5px, 1vw, 20px);
	display: flex;
	transform: translate(22vw, 50.5vh);
	opacity: 0;

	/* Width + height will be set by JS */
}

@media screen and (min-width: 750px) {
	.expand-media-wrapper {
		transform: translate(22vw, 52vh);
	}
}

.full-expand-wrapper {
	width: 100%;
	padding-top: 80%;
	position: relative;
	overflow: hidden;
	border-radius: clamp(5px, 1vw, 20px);
	transform: scale(0.4);
	transform-origin: top center;
	margin-top: clamp(25px, 4vw, 80px);
}

.expand-media-wrapper .expand-media,
.full-expand-wrapper .expand-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.equip .equip-slider .equip-image-container .equip-image-container-inner {
	position: relative;
	width: 100%;
	padding-top: 70%;
	overflow: hidden;
	border-radius: clamp(10px, 1vw, 30px);
}

.equip .equip-slider .equip-image-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.equip .equip-slider .owl-item:nth-child(even) .equip-image-container .equip-image-container-inner {
	width: 90%;
	padding-top: 110%;
}

.equip .equip-slider .equip-image-container .equip-image-container-inner img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonials {
	display: flex;
	flex-direction: column;
	position: relative;
}

.testimonials-main {
	position: relative;
	display: flex;
	flex-wrap: wrap-reverse;
	width: 100%;
	height: 100%;
}

.testimonials .testimonials-main .addtoany_content {
	display: none;
}

.testimonials-left-track,
.testimonials-right-track {
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	position: relative;
}

.testimonials-left-track .testimonials-text-container {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 90%;
	left: 5%;
}

@media screen and (min-width: 750px) {
	.testimonials-left-track .testimonials-text-container {
		width: 95%;
		left: 2.5%;
	}
}

.testimonials-left-track .testimonials-text-container .testimony-text p {
	margin-top: 0;
}

.testimonials-left-track .testimonials-text-container .testimony-source {
	line-height: 1.6;
}

.testimonials-left-track .testimonials-text-container .school-logo-container {
    position: relative;
    width: 20%;
    padding-top: 20%;
    margin-bottom: 1em;
}

.testimonials-left-track .testimonials-text-container .school-logo-container img {
	object-fit: contain;
}

.testimonials-right-track {
  position: relative;
  overflow: hidden;
}

.testimonials .testimonials-controls {
	position: absolute;
    z-index: 2;
    bottom: clamp(20px, 2vw, 50px);
    left: 5%;
	display: flex;
	align-items: center;
}

@media screen and (min-width: 750px) {
	.testimonials .testimonials-controls {
		left: 2.5%;
	}
}

.testimonials .testimonials-controls button {
	background-color: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	width: clamp(30px, 2vw, 60px);
	display: flex;
	margin-right: 15px;
}

.testimonials .testimonials-controls button img {
	width: 100%;
	object-fit: contain;
	transform: none;
	transition: transform 0.5s ease;
}

.testimonials .testimonials-controls button.testimonial-next {
	transform: rotate(180deg);
}

.testimonials .testimonials-controls button.testimonial-prev:hover img {
	transform: translate(-10px, 0);
}

.testimonials .testimonials-controls button.testimonial-next:hover img {
	transform: translate(-10px, 0);
}

@media screen and (min-width: 750px) {
	.testimonials-left-track,
	.testimonials-right-track {
		width: 50%;
		padding-top: 50%;
	}
	
	.testimonials-left-track .testimonials-text-container {
		width: 88%;
		left: 5%;
	}
}

.testimonials-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
	height: 100%;
	overflow: hidden;
}

.testimonials-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-box-grid .hover-box-item {
	position: relative;
	overflow: hidden;
	border-radius: clamp(10px, 1vw, 30px);
}

.hover-box-grid .hover-box-item:after {
	content: "";
	width: 100%;
	height: 50%;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0));
	opacity: 0;
}

.hover-box-grid .hover-box-item:hover:after {
	opacity: 1;
}

.hover-box-grid .hover-box-item:first-child,
.hover-box-grid .hover-box-item:nth-child(4) {
	background-color: #020617;
}

.hover-box-grid .hover-box-item:nth-child(2),
.hover-box-grid .hover-box-item:nth-child(5) {
	background-color: #9E9D9B;
}

.hover-box-grid .hover-box-item:nth-child(3),
.hover-box-grid .hover-box-item:nth-child(6) {
	background-color: #F7F1E8;
}

.hover-box-grid .hover-box-item:first-child .hover-box-item-text,
.hover-box-grid .hover-box-item:nth-child(2) .hover-box-item-text,
.hover-box-grid .hover-box-item:nth-child(4) .hover-box-item-text,
.hover-box-grid .hover-box-item:nth-child(5) .hover-box-item-text {
	color: #F7F9FB;
	transition: color 0.5s ease;
}

.hover-box-grid .hover-box-item:nth-child(3):hover .hover-box-item-text,
.hover-box-grid .hover-box-item:nth-child(6):hover .hover-box-item-text {
	color: #F7F9FB;
}

@media screen and (min-width: 750px) {
	.hover-box-grid .hover-box-item:first-child,
	.hover-box-grid .hover-box-item:nth-child(5) {
		background-color: #020617;
	}

	.hover-box-grid .hover-box-item:nth-child(2),
	.hover-box-grid .hover-box-item:nth-child(6) {
		background-color: #9E9D9B;
	}

	.hover-box-grid .hover-box-item:nth-child(3),
	.hover-box-grid .hover-box-item:nth-child(4) {
		background-color: #F7F1E8;
	}

	.hover-box-grid .hover-box-item:first-child .hover-box-item-text,
	.hover-box-grid .hover-box-item:nth-child(2) .hover-box-item-text,
	.hover-box-grid .hover-box-item:nth-child(5) .hover-box-item-text,
	.hover-box-grid .hover-box-item:nth-child(6) .hover-box-item-text {
		color: #F7F9FB;
		transition: color 0.5s ease;
	}
	
	.hover-box-grid .hover-box-item:nth-child(3) .hover-box-item-text,
	.hover-box-grid .hover-box-item:nth-child(4) .hover-box-item-text {
		color: #020617;
	}

	.hover-box-grid .hover-box-item:nth-child(3):hover .hover-box-item-text,
	.hover-box-grid .hover-box-item:nth-child(4):hover .hover-box-item-text {
		color: #F7F9FB;
	}
}

.hover-box-grid .hover-box-item .hover-box-item-text {
	position: relative;
	padding: clamp(15px, 1.3vw, 30px);
}

.hover-box-grid .hover-box-item .hover-box-item-text .title {
	line-height: 1.1;
	max-width: 100%;
	transition: font-size 0.5s ease, max-width 0.5s ease;
	will-change: font-size, max-width;
	position: relative;
	z-index: 2;
}

.hover-box-grid:not(.different-items) .hover-box-item:hover .hover-box-item-text .title {
	font-size: clamp(18px, 2.345vw, 56px);
	max-width: 60%;
}

@media screen and (max-width: 749px) {
	.hover-box-grid .hover-box-item .hover-box-item-text .title {
		font-size: clamp(36px, 10vw, 120px);
	}
	
	.hover-box-grid .hover-box-item:hover .hover-box-item-text .title {
		font-size: clamp(18px, 7.5vw, 56px);
	}
}

@media screen and (min-width: 750px) {
	.learning-outcomes-items.hover-box-grid .hover-box-item .hover-box-item-text .title,
	.different-items.hover-box-grid .hover-box-item .hover-box-item-text .title{
		font-size: clamp(24px, 3.3vw, 120px);
	}
	
	.learning-outcomes-items.hover-box-grid .hover-box-item:hover .hover-box-item-text .title,
	.different-items.hover-box-grid .hover-box-item:hover .hover-box-item-text .title {
		font-size: clamp(18px, 2.345vw, 56px);
		max-width: 70%;
	}
}

.hover-box-grid .hover-box-item .hover-box-item-text .text-container {
	opacity: 1;
	transition: opacity 0.5s ease;
	margin-top: 2em;
}

.hover-box-grid .hover-box-item .hover-box-item-image {
	opacity: 0;
	transition: opacity 0.5s ease;
}

.hover-box-grid .hover-box-item:hover .hover-box-item-text .text-container {
	opacity: 0;
}

.hover-box-grid .hover-box-item:hover .hover-box-item-image {
	opacity: 1;
}

.edit-design-thinking .edit-main {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.edit-design-thinking {
	position: relative;
	overflow: hidden;
}


.edit-design-thinking .edit-main .image-container,
.edit-design-thinking .edit-main .edit-text-wrapper {
	width: 100%;
}

.edit-design-thinking .edit-main .image-container .image-container-inner {
	max-height: 100vh;
	width: 100%;
	padding-top: 100%;
	position: relative;
	overflow: hidden;
}

@media screen and (min-width: 750px) {
	
}

.edit-design-thinking .edit-main .image-container img {
	position: absolute;
	width: 90%;
	height: 100%;
	object-fit: contain;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.edit-design-thinking .edit-main .edit-text-wrapper .edit-item .tag {
    border: 1.5px solid #020617;
    border-radius: clamp(5px, 0.7vw, 10px);
    padding: clamp(7px, 0.7vw, 10px) clamp(10px, 1vw, 20px);
    width: fit-content;
	margin-top: 1.5em;
	margin-bottom: 1em;
	transition: background-color 0.5s ease;
}

.edit-design-thinking .edit-main .edit-text-wrapper .edit-item {
	opacity: 0.4;
	transition: opacity 0.5s ease;
}

.edit-design-thinking .edit-main .edit-text-wrapper .edit-item.is-active {
	opacity: 1;
}

.edit-design-thinking .edit-main .edit-text-wrapper .edit-item:nth-child(2) .tag {
	margin-top: 0;
}

.edit-design-thinking .edit-main .edit-text-wrapper .edit-item.is-active .tag {
	background-color: #FBE056;
}

@media screen and (min-width: 750px) {
	.edit-design-thinking .edit-main .image-container,
	.edit-design-thinking .edit-main .edit-text-wrapper {
		width: 48%;
	}
}

/* .schools .school-container {
	opacity: 1;
	transition: opacity 0.5s ease;
}

.schools:has(.school-container:hover) .school-container {
	opacity: 0.5;
}

.schools:has(.school-container:hover) .school-container:hover {
	opacity: 1;
} */

.schools .section-heading {
	padding: 0 5%;
}

.schools .schools-slider {
	padding: clamp(25px, 2vw, 40px) 0 clamp(40px, 8vw, 120px) 0;
	margin-bottom: 1.5em;
}

.schools .schools-slider .school-container .logo-container {
	width: 80%;
	padding-top: 80%;
	position: relative;
	margin: 0 auto;
}

.schools .schools-slider .school-container .logo-container img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

/* .schools .school-container .school-name {
	opacity: 0;
	transition: opacity 0.5s ease;
	width: 90%;
	margin: 0.5em auto;
}

.schools .school-container:hover .school-name {
	opacity: 1;
} */

.creativity {
	position: relative;
	overflow: hidden;
}

.creativity .creativity-text-container {
	position: relative;
}

.creativity .creativity-text-container .svg-wrapper {
	position: absolute;
    top: 0;
    left: 15%;
    width: 35%;
    transform: translate(-5%, -55%);
}

@media screen and (min-width: 750px) {
	.creativity .creativity-text-container .svg-wrapper {
		left: 0;
	}
}

.creativity .creativity-text-container .svg-wrapper svg {
	display: block;
	width: 100%;
}

.creativity .creativity-items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: clamp(60px, 8vw, 150px) 0;
	position: relative;
	will-change: transform;
}

.creativity .creativity-items .creativity-item {
	width: 50%;
	perspective: 1000px;
	will-change: transform;
}

@media screen and (min-width: 750px) {
	.creativity .creativity-items .creativity-item {
		width: 20%;
	}
}

.creativity .creativity-items .creativity-item .creativity-item-inner {
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1.3;
    perspective: 1000px; /* move here or keep outside — both work */
	will-change: transform;
}

.creativity-3d-wrapper {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.creativity .creativity-items .creativity-item .card-unflipped,
.creativity .creativity-items .creativity-item .card-flipped {
	padding: clamp(15px, 1vw, 25px);
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
    backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: clamp(10px, 1vw, 20px);
	overflow: hidden;
}

.creativity .creativity-items .creativity-item .card-unflipped {
    backface-visibility: hidden;
    transform: rotateY(0deg);
}

.creativity .creativity-items .creativity-item .card-unflipped:after {
	content: "";
	width: 100%;
	height: 50%;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0));
}

.creativity .creativity-items .creativity-item .card-flipped {
	display: block;
	backface-visibility: hidden;
    transform: rotateY(180deg);
	color: #020617;
	text-decoration: none;
}

.creativity .creativity-items .creativity-item .card-flipped .creativity-arrow-container {
	width: 15%;
	aspect-ratio: 1/1;
	border-radius: 50%;
	border: 1px solid #020617;
	position: absolute;
	transform: rotate(135deg);
	right: clamp(15px, 1vw, 25px);
	bottom: clamp(15px, 1vw, 25px);
}

.creativity .creativity-items .creativity-item .card-flipped .creativity-arrow-container img {
	width: 60%;
	object-fit: contain;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.creativity .creativity-items .creativity-item:nth-child(odd) .creativity-item-inner{
	transform: scale(1.2) rotate(-5deg);
}

.creativity .creativity-items .creativity-item:nth-child(even) .creativity-item-inner{
	transform: scale(1.2) rotate(5deg) translateY(15%);
}

.creativity .creativity-items .creativity-item .creativity-text-container .title,
.creativity .creativity-items .creativity-item .title-unflipped {
	transform: scale(calc(100 / 120));
	transform-origin: top left;
	font-size: clamp(18px, 5.15vw, 56px);
}

@media screen and (min-width: 750px) {
	.creativity .creativity-items .creativity-item .creativity-text-container .title,
	.creativity .creativity-items .creativity-item .title-unflipped {
		font-size: clamp(18px, 2.345vw, 56px);
	}
}

.creativity .creativity-items .creativity-item .creativity-text-container .main-text p {
	margin-top: 0;
	font-size: clamp(12px, 1.05vw, 30px);
}

.creativity .creativity-items .creativity-item .title-unflipped {
	position: relative;
	color: #F7F9FB;
	z-index: 2;
}

.creativity .creativity-items .creativity-item .creativity-image {
	backface-visibility: hidden;
}

.statistics .statistics-items {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.statistics .statistics-items .statistics-item {
	width: 100%;
	margin: 2.5vw 0;
}

/* Added for the arrow */
/* .statistics .statistics-items .statistics-item .number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.statistics .statistics-items .statistics-item .stat-arrow {
    display: block;
    height: auto;
    width: 30px; 
} */

@media screen and (min-width: 750px) {
	.statistics .statistics-items .statistics-item {
		width: 30%;
	}
}

.great-learning .icon-container {
	width: 60%;
	padding-top: 40%;
	position: relative;
	margin-bottom: 1em;
	display: flex;
}

.great-learning .icon-container .icon-container-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	
}

.great-learning .icon-learning-by-doing {
	display: flex;
	align-items: flex-end;
}

.great-learning .icon-learning-by-doing img {
	transform-origin: 50% 100%;
	width: 80%;
	object-fit: contain;
}

.great-learning .icon-empathy-first {
	display: flex;
	align-items: flex-end;
}

.great-learning .icon-empathy-first .icon-group {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}

.great-learning .icon-empathy-first .icon-group img:first-child {
	width: 51%;
	transform-origin: center center;
}

.great-learning .icon-empathy-first .icon-group img:last-child {
	width: 47%;
	transform-origin: center center;
}

.great-learning .icon-empathy-first > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: translate(10%, 0);
	width: 15%;
	object-fit: contain;
}

.great-learning .icon-collaboration-over-competition .icon-group {
	position: absolute;
	width: 100%;
	top: 0;
	display: flex;
	justify-content: center;
}

.great-learning .icon-collaboration-over-competition .icon-group img:first-child {
	width: 10%;
}

.great-learning .icon-collaboration-over-competition .icon-group img:nth-child(2) {
	width: 7%;
	transform: translate(0, -20%);
}

.great-learning .icon-collaboration-over-competition .icon-group img:last-child {
	width: 15%;
}

.great-learning .icon-container .icon-collaboration-over-competition.icon-container-inner {
	display: flex;
	align-items: flex-end;
	width: 75%;
}

.great-learning .icon-collaboration-over-competition > img {
	width: 100%;
	object-fit: contain;
}

.great-learning .icon-design-for-positive-impact {
	display: flex;
	justify-content: space-between;
	width: 45%;
	align-items: flex-end;
}

.great-learning .icon-design-for-positive-impact img {
	flex-shrink: 0;
}

.great-learning .icon-design-for-positive-impact img:first-child {
	width: 47%;
}

.great-learning .icon-design-for-positive-impact img:last-child {
	width: 44%;
}

.school-outcomes .book {
	width: 45%;
	aspect-ratio: 3/4.2;
	perspective: 1800px;
	transition: transform 0.6s ease;
	cursor: pointer;
	position: relative;
	z-index: 1;
	margin: clamp(20px, 2vw, 50px) auto;
}

.school-outcomes .book .book-inner {
	transition: transform 0.5s ease;
}

.school-outcomes .book:first-child .book-inner {
	transform: rotate(-10deg);
	transform-origin: bottom right;
}

.school-outcomes .book:nth-child(2) .book-inner {
	transform: rotate(10deg);
	transform-origin: bottom left;
}

.school-outcomes .book:first-child:hover .book-inner {
	transform: rotate(-10deg) scale(1.05);
}

.school-outcomes .book:nth-child(2):hover .book-inner {
	transform: rotate(10deg) scale(1.05);
}

.school-outcomes .book.is-open .book-inner,
.school-outcomes .book.is-open:hover .book-inner {
	transform: rotate(0) scale(1.05);
}

.school-outcomes .book .book-inner .click-to-explore {
	position: absolute;
	width: 35%;
	padding-top: 28%;
	z-index: 5;
}

.school-outcomes .book:first-child .book-inner .click-to-explore {
	background-image: url("images/c-academy-click-to-explore1.svg");
    background-size: contain;
	background-repeat: no-repeat;
    top: 0;
    left: 60%;
    transform: translate(0, -50%);
}

.school-outcomes .book:nth-child(2) .book-inner .click-to-explore {
	background-image: url("images/c-academy-click-to-explore2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 20%;
    left: 0;
    transform: translate(-70%, 0) rotate(-10deg);
}

.school-outcomes .book.is-open .book-inner .click-to-explore {
	display: none;
}

@media screen and (min-width: 750px) {
	.school-outcomes .book-stage {
		display: flex;
		justify-content: center;
		gap: 60px;
	}
	
	.school-outcomes .book {
		margin: 0;
		width: 28%;
	}
}

.school-outcomes .book::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: 2px;
}

.school-outcomes .book {
	--open-shift: 0px;
	transform: translateX(var(--open-shift));
	transition: transform 0.6s ease;
}

.school-outcomes .book.is-open {
	/* value set dynamically via JS */
}

.school-outcomes .book-inner {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}

.school-outcomes .page {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transform-origin: left center;
	background: #fff;
}

.school-outcomes .page .front,
.school-outcomes .page .back {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
}

.school-outcomes .page .back {
	transform: rotateY(180deg);
}

.school-outcomes .page img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	backface-visibility: hidden;
}

/* =========================
   BOOK SEAMS (ABOVE IMAGE)
========================= */

.school-outcomes .page .front,
.school-outcomes .page .back {
	position: absolute;
	overflow: hidden;
}

/* FRONT seam (left side) */
.school-outcomes .page .front::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 12%;
	height: 100%;
	pointer-events: none;

	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.20),
		rgba(0, 0, 0, 0.10),
		rgba(0, 0, 0, 0)
	);
}

/* BACK seam (right side) */
.school-outcomes .page .back::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 12%;
	height: 100%;
	pointer-events: none;

	background: linear-gradient(
		to left,
		rgba(0, 0, 0, 0.20),
		rgba(0, 0, 0, 0.10),
		rgba(0, 0, 0, 0)
	);
}

.programme-outline .programme-tags {
	display: flex;
	flex-wrap: wrap;
    gap: clamp(10px, 1vw, 25px);
}

.programme-outline .programme-tags .tag {
	border: 1.5px solid #020617;
    border-radius: clamp(5px, 0.7vw, 10px);
    padding: clamp(7px, 0.7vw, 10px) clamp(10px, 1vw, 20px);
    width: fit-content;
	background-color: #FBE056;
}

.programme-outline .programme-outline-main {
	position: relative;
}

.programme-outline .programme-outline-path {
	display: none;
    position: absolute;
    top: calc(clamp(25px, 4vw, 100px) + 2.5vw);
    left: 0;
    transform: translate(-15%, 0);
    height: 85%;
    width: fit-content;
    z-index: 2;
}

.programme-outline .programme-outline-path svg.path {
	display: block;
	height: 100%;
	width: auto;
}

.programme-outline .programme-outline-path svg.arrowhead {
	display: block;
    width: 5%;
    transform: translate(290%, -80%) rotate(-20deg);
}

.programme-outline .programme-outline-path svg.c {
	display: block;
    width: 5%;
    transform: translate(305%, 10%);
}

.programme-outline .programme-outline-item {
	display: flex;
	flex-wrap: wrap-reverse;
	gap: 3%;
	margin: 2.5vw 0;
}

.programme-outline .programme-outline-item .image-wrapper,
.programme-outline .programme-outline-item .text-wrapper {
	width: 100%;
}

.programme-outline .programme-outline-item .image-wrapper .image-wrapper-inner {
	width: 100%;
	padding-top: 65%;
	position: relative;
	overflow: hidden;
	border-radius: clamp(10px, 1vw, 25px);
}

.programme-outline .programme-outline-item .session-tag {
    border: 1.5px solid #020617;
    border-radius: clamp(5px, 0.7vw, 10px);
    padding: clamp(7px, 0.7vw, 10px) clamp(10px, 1vw, 20px);
    width: fit-content;
	margin-top: 1.5em;
	margin-bottom: 1em;
	transition: background-color 0.5s ease;
}

.programme-outline .programme-outline-item:nth-child(2) .session-tag {
	margin-top: 0;
}

.programme-outline .programme-outline-item.is-active .session-tag {
	background-color: #FBE056;
}

@media screen and (min-width: 750px) {
	.programme-outline .programme-outline-item .image-wrapper {
		width: 40%;
		will-change: width;
		transition: width 0.5s ease;
	}
	.programme-outline .programme-outline-item .text-wrapper {
		width: 42%;
	}
	
	.programme-outline .programme-outline-item.is-active .image-wrapper {
		width: 55%;
	}
	
	.programme-outline .programme-outline-item .session-tag {
		margin-top: 0;
	}
	
	.programme-outline .programme-outline-path {
		display: block;
	}
}

.disclaimer {
	background-color: #FBE056;
    padding: clamp(5px, 0.7vw, 15px);
    display: flex;
	justify-content: center;
	border-radius: clamp(5px, 0.5vw, 10px);
}

/* .disclaimer .disclaimer-content {
	display: inline-flex;
	align-items: center;
	gap: 6px;
} */

.disclaimer .disclaimer-icon {
	height: 0.9em;
	width: auto;
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
}

.past-projects .past-projects-main .past-project-item {
	display: flex;
	cursor: pointer;
}

.past-projects .past-projects-main .past-project-item .text-wrapper {
	width: 100%;
	padding-top: clamp(25px, 2vw, 50px);
	padding-bottom: clamp(25px, 2vw, 50px);
}

.past-projects .past-projects-main .past-project-item .text-wrapper .image-container {
	width: 100%;
	padding-top: 60%;
	position: relative;
	overflow: hidden;
}

.past-projects .past-projects-main .past-project-item .text-wrapper .main-text ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
	display: flex;
	gap: clamp(10px, 1vw, 30px);
	
}

/* .past-projects .past-projects-main .past-project-item .text-wrapper .title {
	padding-bottom: clamp(25px, 2vw, 50px);
} */

.past-projects .past-projects-main .past-project-item .image-wrapper {
	display: none;
}

.past-projects .past-projects-main .past-project-item .text-wrapper .main-text ul li {
	border: 1.5px solid #FFFEFC;
	border-radius: clamp(5px, 0.7vw, 10px);
	padding: clamp(5px, 0.7vw, 10px) clamp(10px, 1vw, 20px);
	font-family: "Besley", sans-serif;
	font-weight: 500;
	font-size: clamp(14px, 3vw, 30px);
	text-align: center;
}

@media screen and (min-width: 750px) {
	.past-projects .past-projects-main .past-project-item .text-wrapper .main-text ul li {
		font-size: clamp(14px, 1.05vw, 30px);
	}
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+1) .text-wrapper {
	background-color: #9E9D9B;
	color: #FFFEFC;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+1) .text-wrapper .main-text ul li {
	color: #9E9D9B;
	background-color: #FFFEFC;
	border: 1.5px solid #FFFEFC;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+2) .text-wrapper {
	background-color: #FBE056;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+2) .text-wrapper .main-text ul li {
	color: #FBE056;
	background-color: #020617;
	border: 1.5px solid #020617;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+3) .text-wrapper {
	background-color: #020617;
	color: #FFFEFC;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+3) .text-wrapper .main-text ul li {
	color: #020617;
	background-color: #FFFEFC;
	border: 1.5px solid #FFFEFC;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+4) .text-wrapper {
	background-color: #F7F1E8;
}

.past-projects .past-projects-main .past-project-item:nth-child(4n+4) .text-wrapper .main-text ul li {
	color: #F7F1E8;
	background-color: #020617;
	border: 1.5px solid #020617;
}

@media screen and (min-width: 750px) {
	.past-projects .past-projects-main .past-project-item .image-wrapper {
		display: flex;
	}
	
	.past-projects .past-projects-main .past-project-item .image-wrapper img {
		object-position: top left;
	}
	
	.past-projects .past-projects-main .past-project-item .image-wrapper .image-wrapper-inner {
		width: 100%;
		height: 100%;
		position: relative;
	}
	
	.past-projects .past-projects-main .past-project-item .text-wrapper,
	.past-projects .past-projects-main .past-project-item .image-wrapper {
		width: 50%;
	}
	
	.past-projects .past-projects-main .past-project-item .text-wrapper .image-container {
		display: none;
	}
}

.makes-us-different .different-text-wrapper .circle-text {
	position: relative;
}

.makes-us-different .different-text-wrapper .circle-text svg {
    display: block;
    width: 115%;
    height: 125%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-5%, -15%);
}
.rotating-text {
  position: relative;
}

.rotating-text .text-wrapper {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rotating-text .text-wrapper:first-child {
  position: relative;
}

.logo-diagram-wrapper {
	position: relative;
}

.logo-diagram-wrapper .logo-sketch-wrapper {
	width: 50%;
	margin: 0 auto;
}

.logo-diagram-wrapper .logo-components {
	position: relative;
	opacity: 0;
}

.logo-diagram-wrapper .logo-components .arrow,
.logo-diagram-wrapper .logo-components .component-main {
	opacity: 0;
}

.logo-diagram-wrapper .logo-components .component {
	position: relative;
	text-align: center;
}

.logo-diagram-wrapper .logo-components .component .icon-container {
	width: 100%;
	padding-top: 25%;
	position: relative;
	margin-bottom: 1em;
}

.logo-diagram-wrapper .logo-components .component .icon-container img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	width: auto;
	max-width: 45%;
	object-fit: contain;
}

.logo-diagram-wrapper .logo-components .component .arrow {
	display: none;
}

/* @media screen and (min-width: 750px) { */
	
	.logo-diagram-wrapper .logo-sketch-wrapper {
		position: absolute;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		width: 30%;
		display: flex;
	}

@media screen and (min-width: 750px) {
	.logo-diagram-wrapper .logo-sketch-wrapper {
		width: 20%;
	}
}
	
	.logo-diagram-wrapper .logo-components .component {
		text-align: left;
	}
	
	.logo-diagram-wrapper .logo-components .component .arrow {
		position: absolute;
		width: 100%;
		display: block;
	}
	.logo-diagram-wrapper .logo-components .component:first-child {
		grid-column: 1 / span 4;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(2) {
		grid-column: 9 / span 4;
		transform: translate(10%, 35%);
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(3) {
		grid-column: 4 / span 4;
		margin-top: clamp(20px, 5vw, 100px);
		transform: translate(-15%, 0);
	}
@media screen and (min-width: 750px) {
	.logo-diagram-wrapper .logo-components .component:first-child {
		grid-column: 2 / span 3;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(2) {
		grid-column: 9 / span 3;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(3) {
		grid-column: 5 / span 3;
	}
}
	
	.logo-diagram-wrapper .logo-components .component:first-child .arrow {
		left: 80%;
		top: 10%;
	}
	
	.logo-diagram-wrapper .logo-components .component:first-child .arrow img {
		width: 60%;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(2) .arrow {
		left: -50%;
		top: 8%;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(2) .arrow img {
		width: 30%;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(3) .arrow {
		top: 0;
		left: 50%;
	}
	
	.logo-diagram-wrapper .logo-components .component:nth-child(3) .arrow img {
		width: 40%;
	}
	
	.logo-diagram-wrapper .logo-components .component .icon-container {
		padding-top: 40%;
	}
	
	.logo-diagram-wrapper .logo-components .component .icon-container img {
		top: 0;
		left: 0;
		right: unset;
		margin-left: unset;
		margin-right: unset;
	}

.logo-diagram-wrapper .logo-components .component .title {
	font-size: clamp(14px, 2.345vw, 56px);
}

.logo-diagram-wrapper .logo-components .component .text-container * {
	font-size: clamp(10px, 1.3vw, 30px);
}
/* } */

.leadership {
	color: #FFFEFC;
}

.leadership .leadership-main {
	padding-top: clamp(25px, 2vw, 50px);
}

.leadership .leadership-item {
	margin: clamp(25px, 2vw, 50px) 0;
}

.leadership .leadership-item .image-container .image-container-inner {
	width: 100%;
	border-radius: clamp(10px, 1.5vw, 30px);
	padding-top: 125%;
	position: relative;
	overflow: hidden;
}


.leadership .leadership-item .quote-container {
	line-height: 1.2;
}

.leadership .leadership-item .source-container .source-top-flex {
	display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 20px);
}

.leadership .leadership-item .links {
	display: flex;
    gap: clamp(8px, 1vw, 18px);
}

.leadership .leadership-item .links .link-item {
	background-color: transparent;
	transition: background-color 0.5s ease;
	display: flex;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	width: fit-content;
	border-radius: clamp(5px, 0.5vw, 10px);
}

.leadership .leadership-item .links .link-item img {
	filter: none;
	-webkit-filter: none;
/* 	transform: scale(1.2); */
	width: clamp(30px, 3vw, 60px);
	transition: filter 0.5s ease, -webkit-filter 0.5s ease;
}

.leadership .leadership-item .links .link-item:hover {
	background-color: #FBE056;
}

.leadership .leadership-item .links .link-item:hover img {
	filter: invert(1);
	-webkit-filter: invert(1);
}

.leadership .leadership-item .source-container .source-title-inner {
	margin: 0.5em 0;
}

/* Make stage align bottom edges */
.partners .partners-slider .owl-stage {
    display: flex;
}

/* Make OWL items auto-height so they adapt to content */
.partners .partners-slider .owl-item {
    height: auto;
	padding-top: clamp(30px, 4vw, 120px); /* default taller padding */
	transition: padding 0.5s ease, transform 0.5s ease;
	padding-left: 20px;
}

@media screen and (min-width: 1024px) {
	.partners .partners-slider .owl-item {
		padding-left: 40px;
	}
}

.partners .partners-slider {
	margin-top: clamp(30px, 4vw, 120px);
}

.partners .partners-slider .partner-item {    
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partners .partners-slider .owl-item.is-first-visible {
    padding-top: 0;
}

.partners .partners-slider .partner-item {
	padding: clamp(20px, 2vw, 50px);
	border-radius: clamp(7px, 1vw, 15px);
}

.partners .partners-slider .partner-item .partner-thumb {
	width: 100%;
	padding-top: 35%;
	position: relative;
	overflow: hidden;
}

.partners .partners-slider .partner-item .partner-thumb img {
	object-fit: contain;
	object-position: top;
}

.partners .partners-slider .partner-item .partner-details {
	line-height: 1.4;
}

.trainers .trainers-main {
	margin-top: clamp(30px, 3.5vw, 70px);
}

.trainers .trainer-item .trainer-photo {
	width: 100%;
	padding-top: 120%;
	position: relative;
	overflow: hidden;
	border-radius: clamp(10px, 1vw, 25px);
}

.trainers .trainer-item .trainer-info {
	margin-top: 1em;
}

.trainers .trainer-item .title-wrapper {
	margin-top: 0.25em;
}

.trainers .trainer-item .trainer-details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.trainers .trainer-item .trainer-details ul li {
	margin: 0.5em 0;
}

.main-posts .toggle-and-search {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap-reverse;
}

.main-posts .toggle-and-search .search-form-container {
	width: 100%;
}

.main-posts .toggle-and-search .search-form-container form {
	display: flex;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    background-color: #F7F1E8;
}

.main-posts .toggle-and-search .search-form-container form input {
	width: calc(100% - 44px);
    border: none;
    border-radius: 8px;
    padding: 10px;
	background-color: transparent;
}

.main-posts .toggle-and-search .search-form-container form button {
	background-color: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.main-posts .category-filter-buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(2px, 2.5vw, 50px);
	margin-top: clamp(20px, 2vw, 40px);
}

@media screen and (min-width: 1024px) {
	.main-posts .toggle-and-search .search-form-container {
		width: 31.5%;
	}
	
	.main-posts .category-filter-buttons {
		width: 50%;
		margin-top: 0;
	}
}

.main-posts .category-filter-buttons .category-button {
	padding: clamp(3px, 0.5vw, 8px) 0;
	background: transparent;
	background-color: transparent;
	border: none;
	cursor: pointer;
	position: relative;
}

.main-posts .category-filter-buttons .category-button:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 1.5px;
	background-color: #020617;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease, transform-origin 0s;
}

.main-posts .category-filter-buttons .category-button:hover:before,
.main-posts .category-filter-buttons .category-button.active:before {
  transform: scaleX(1);
  transform-origin: left;
}

.main-posts .category-filter-buttons .category-button:not(:hover):before {
  transform-origin: right;
}

.posts-grid .post-link {
	color: #020617;
	text-decoration: none;
}

.posts-grid .post-link .post-thumbnail {
	width: 100%;
	padding-top: 65%;
	position: relative;
	overflow: hidden;
	border-radius: clamp(10px, 0.7vw, 25px);
	margin-bottom: 0.75em;
}

.posts-grid .post-link .post-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: none;
	transition: transform 0.5s ease;
}

.posts-grid .post-link .post-thumbnail .post-category {
	position: absolute;
    top: clamp(15px, 1vw, 20px);
    left: clamp(15px, 1vw, 20px);
    background-color: rgba(255, 254, 252, 0.8);
    backdrop-filter: blur(3px) brightness(1);
    -webkit-backdrop-filter: blur(3px) brightness(1);
    padding: clamp(5px, 0.6vw, 12px) clamp(10px, 1.2vw, 20px);
    border-radius: clamp(3px, 0.6vw, 12px);
}

.posts-grid .post-link:hover .post-thumbnail img {
	transform: scale(1.1);
}

.posts-grid .post-link .post-title {
	line-height: 1.4;
}

.main-posts .pagination-wrapper {
	display: flex;
	justify-content: center;
}

.main-posts .pagination-wrapper .pagination {
	width: fit-content;
}

.main-posts .pagination-wrapper .pagination .nav-links {
	display: flex;
	align-items: center;
}

.main-posts .pagination-wrapper .pagination .nav-links .page-numbers {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 7px;
	color: #020617;
	transition: background-color 0.5s ease;
}

.nav-links .page-numbers:not(.next):not(.prev):not(.dots) {
    border-radius: 50%;
	border: 1.5px solid #020617;
    width: clamp(30px, 2.2vw, 50px);
    height: clamp(30px, 2.2vw, 50px);
}

.nav-links .page-numbers:not(.next):not(.prev):not(.dots):hover,
.nav-links .page-numbers.current {
	background-color: #FBE056;
}

.page-numbers.disabled {
	opacity: 0.3;
	pointer-events: none;
}

.main-posts .pagination-wrapper .pagination .nav-links .pagination-arrow {
	position: relative;
}

.main-posts .pagination-wrapper .pagination .nav-links .pagination-arrow:after {
	content: "";
    width: clamp(20px, 1.6vw, 30px);
    height: clamp(20px, 1.6vw, 30px);
    background-size: 100% auto;
    background-repeat: no-repeat;
	background-position: center;
    display: flex;
}

.main-posts .pagination-wrapper .pagination .nav-links .pagination-arrow-prev:after {
	background-image: url("images/c-academy-arrow1.svg");
}

.main-posts .pagination-wrapper .pagination .nav-links .pagination-arrow-next:after {
	background-image: url("images/c-academy-arrow1.svg");
	transform: rotate(180deg);
}

.main-posts .pagination-wrapper .pagination .nav-links .pagination-arrow {
	transform: none;
	transition: transform 0.5s ease;
}

.main-posts .pagination-wrapper .pagination .nav-links a:hover .pagination-arrow-next {
	transform: translate(25%, 0);
}

.main-posts .pagination-wrapper .pagination .nav-links a:hover .pagination-arrow-prev {
	transform: translate(-25%, 0);
}

.article-wrapper .sticky-sidebar .table-of-contents {
	padding: clamp(20px, 1.75vw, 40px);
	border-radius: clamp(8px, 0.8vw, 20px);
}

.article-wrapper .sticky-sidebar .table-of-contents .toc-list {
	padding-left: 0;
	margin-left: 0;
	margin-top: 1em;
	list-style: none;
}
.article-wrapper .sticky-sidebar .table-of-contents .toc-list li {
	margin: 0.5em 0;
}

.article-wrapper .sticky-sidebar .table-of-contents .toc-list li a {
	font-size: clamp(14px, 1.3vw, 30px);
	font-weight: 400;
	color: #020617;
	text-decoration: none;
	display: block;
	transition: font-weight 0.5s ease;
}

.article-wrapper .sticky-sidebar .table-of-contents .toc-list li a.active {
	font-weight: 700;
}

.article-wrapper .sticky-sidebar .table-of-contents .toc-list li a.level-3 {
	padding-left: 2em;
}

@media screen and (min-width: 750px) {
	.article-wrapper .sticky-sidebar .sticky-sidebar-inner {
		position: sticky;
		-webkit-position: sticky;
		top: clamp(80px, 8vw, 150px);
		width: 95%;
	}
	
	.article-wrapper .sticky-sidebar .table-of-contents .toc-list li a {
		font-size: clamp(14px, 0.94vw, 30px);
	}
}

.article-wrapper .sticky-sidebar .progress-bar {
	background-color: #D6D6D6;
	width: 100%;
	height: 6px;
	border-radius: 5vw;
	margin: 1em 0 1.5em 0;
	overflow: hidden;
}

.article-wrapper .sticky-sidebar .progress-bar-inner {
	height: 100%;
	width: 100%;
	background-color: #020617;
	transform: scaleX(0);
	transform-origin: left center;
	border-radius: 5vw;
}

.article-wrapper .article-cta {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap-reverse;
	padding: clamp(20px, 1.75vw, 40px);
	border-radius: clamp(8px, 0.8vw, 20px);
	color: #020617;
	text-decoration: none;
	margin-top: 2.5em;
}

.article-wrapper .article-cta .image-container,
.article-wrapper .article-cta .text-container {
	width: 100%;
}

.article-wrapper .article-cta .image-container {
	position: relative;
	overflow: hidden;
	border-radius: clamp(8px, 0.8vw, 20px);
}

.article-wrapper .article-cta .image-container .image-container-inner {
	width: 100%;
	padding-top: 60%;
}

.article-wrapper .article-cta .text-container {
	margin-top: 1em;
}

.article-wrapper .article-cta .text-container .arrow {
    display: inline-block;
    vertical-align: baseline;
    width: 1em;
    margin-left: 0.25em;
    transform: rotate(140deg);
	transition: transform 0.5s ease;
}

.article-wrapper .article-cta:hover .text-container .arrow  {
	transform: rotate(140deg) translate(-20%);
}

@media screen and (min-width: 650px) {
	.article-wrapper .article-cta .image-container {
		width: 42%;
	}
	.article-wrapper .article-cta .text-container {
		width: 55%;
		margin-top: 0;
	}
}

.similar-articles .similar-articles-top .button-container {
	margin-top: 1em;
}

@media screen and (min-width: 750px) {
	.similar-articles .similar-articles-top {
		display: flex;
		justify-content: space-between;
	}
	
	.similar-articles .similar-articles-top .button-container {
		margin-top: 0;
	}
}

.banner-post .back-button {
	display: flex;
	align-items: center;
	width: fit-content;
	color: #020617;
	text-decoration: none;
	padding: clamp(10px, 1vw, 20px) 0;
}

.banner-post .back-button .arrow-back {
	display: block;
	width: clamp(20px, 1.75vw, 30px);
	object-fit: contain;
	margin-right: clamp(5px, 0.7vw, 12px);
	transform: none;
	transition: transform 0.5s ease;
}

.banner-post .back-button:hover .arrow-back {
	transform: translate(-15%, 0);
}

.banner-post .post-categories {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(5px, 0.7vw, 12px);
}

.banner-post .post-categories .post-category {
	background-color: #FBE056;
	padding: clamp(5px, 0.6vw, 12px) clamp(10px, 1.2vw, 20px);
	border: 1.5px solid #020617;
	border-radius: clamp(3px, 0.5vw, 12px);
	display: flex;
	align-items: center;
	color: #020617;
	width: fit-content;
}

.article-wrapper .main-article .entry-content {
	font-size: clamp(14px, 1.3vw, 30px);
}

.article-wrapper .main-article figure {
	width: 100%!important;
}

.article-wrapper .main-article figure img {
	width: 100%;
	object-fit: contain;
	border-radius: clamp(8px, 0.8vw, 15px);
}

.article-wrapper .main-article figure figcaption {
	font-style: italic;
	font-size: clamp(14px, 0.94vw, 24px);
	margin-top: 1.5em;
}

.article-wrapper .main-article p {
	margin: 0;
}

.article-wrapper .main-article h2,
.article-wrapper .main-article h3,
.article-wrapper .main-article h4,
.article-wrapper .main-article h5,
.article-wrapper .main-article h6 {
	font-weight: 500;
	margin: 1.5em 0;
}

.article-wrapper .main-article h2 {
	font-size: clamp(20px, 5.35vw, 56px);
}

.article-wrapper .main-article h3 {
	font-size: clamp(18px, 4.5vw, 42px);
}

@media screen and (min-width: 750px) {
	.article-wrapper .main-article h2 {
		font-size: clamp(20px, 2.345vw, 56px);
	}
	
	.article-wrapper .main-article h2:first-child {
		margin-top: 0;
	}
	
	.article-wrapper .main-article h3 {
		font-size: clamp(18px, 1.825vw, 42px);
	}
}

.article-wrapper .share {
	display: flex;
	align-items: center;
	align-items: center;
	gap: clamp(6px, 0.8vw, 15px);
}

.article-wrapper .share .share-text {
	margin: 0.75em 0;
}

.article-wrapper .share .share-icons .addtoany_shortcode .addtoany_list {
	display: flex;
	gap: clamp(3px, 0.5vw, 8px);
}

.article-wrapper .share .share-icons a,
.article-wrapper .share .share-icons a:focus,
.article-wrapper .share .share-icons a:hover {
	border: 1.5px solid #020617!important;
	border-radius: clamp(5px, 0.5vw, 10px);
	background-color: transparent;
	transition: background-color 0.5s ease;
	padding: 0;
	display: flex;
	width: clamp(32px, 2.5vw, 56px);
	height: clamp(32px, 2.5vw, 56px);
}

.article-wrapper .share .share-icons a:hover {
	background-color: #FBE056;
	background: #FBE056!important;
}

.article-wrapper .addtoany_list a:hover img,
.article-wrapper .addtoany_list a:hover span {
	opacity: 1;
}

.banner-post .lines-fade .line-group {
	margin: 1em 0;
}

.form-section .form-section-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.form-section .form-section-left,
.form-section .form-section-right {
	width: 100%;
}

.form-section .form-section-left {
	position: relative;
	overflow: hidden;
}

.form-section .form-section-left .image-container {
	width: 100%;
	padding-top: 100%;
}

.form-section form .form-field {
	margin: clamp(10px, 1.5vw, 35px) 0;
}

.form-section form .form-field br {
	display: none;
}

.form-section form .form-field p {
	margin: 0;
}

.form-section form .form-field label {
	font-size: clamp(16px, 1.3vw, 30px);
	margin-right: clamp(10px, 1vw, 30px);
	margin-top: 10px;
	margin-bottom: 10px;
}

.form-section form .form-field.form-field-select p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.form-section form .form-field.form-field-select .wpcf7-form-control-wrap {
	width: 100%;
	position: relative;
}

@media screen and (min-width: 750px) {
	.form-section form .form-field.form-field-select .wpcf7-form-control-wrap {
		flex-grow: 1;
		width: fit-content;
	}
	
	.form-section form .form-field label {
		margin-bottom: 0;
		margin-top: 0;
	}
}

.form-section form .form-field.form-field-select select {
	width: 100%;
	background-color: transparent;
	padding: 10px;
	border: 1px solid #020617;
	border-radius: clamp(5px, 0.7vw, 12px);
	appearance: none;        /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

.form-section form .form-field.form-field-select .wpcf7-form-control-wrap:after {
	content: "";
	position: absolute;
	right: 10px;
    top: clamp(5px, 0.4vw, 10px);
    width: clamp(20px, 1.2vw, 30px);
    height: 30px;
	background-image: url("images/c-academy-arrow2.svg");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform: rotate(90deg);
}

.form-section form .form-field:not(.form-field-select) label {
	display: none;
}

.form-section form .form-field.form-field-select option {
    background-color: #F7F1E8;
}

.form-section form .form-field.form-field-select option:hover {
    background-color: #9E9D9B;
}

.form-section form .form-field input,
.form-section form .form-field textarea {
	width: 100%;
	padding: 10px 0;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #020617;
	border-radius: 0;
	font-size: clamp(14px, 1.3vw, 30px);
}

.form-section form input:focus-visible,
.form-section form textarea:focus-visible {
	outline: none;
	border: none;
	border-bottom: 1px solid #020617;
}

.form-section form select:focus-visible {
	outline: none;
	border: 1px solid #020617;
}

.form-section form input::-webkit-input-placeholder,
.form-section form textarea::-webkit-input-placeholder,
.form-section form select::-webkit-input-placeholder {
	color: #9E9D9B;
	font-size: clamp(14px, 1.3vw, 30px);
}

.form-section form input:-ms-input-placeholder,
.form-section form textarea:-ms-input-placeholder,
.form-section form select:-ms-input-placeholder {
	color: #9E9D9B;
	font-size: clamp(14px, 1.3vw, 30px);
}

.form-section form input:-moz-placeholder,
.form-section form textarea:-moz-placeholder,
.form-section form select:-moz-placeholder {
	color: #9E9D9B;
	font-size: clamp(14px, 1.3vw, 30px);
}

.form-section form input::-moz-placeholder,
.form-section form textarea::-moz-placeholder,
.form-section form select::-moz-placeholder {
	color: #9E9D9B;
	font-size: clamp(14px, 1.3vw, 30px);
}

.form-section form .form-field-submit p {
	margin: 0;
}

.form-section form .form-field-submit button {
	background-color: transparent;
	padding: 15px 20px;
	border: 1.5px solid #020617;
	border-radius: clamp(5px, 0.7vw, 12px);
	font-size: clamp(14px, 1.3vw, 30px);
	font-weight: 500;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.5s ease;
}

.form-section form .form-field-submit button:hover {
	background-color: #FBE056;
}

.form-section form .form-field-submit button .form-button-arrow {
	transform: rotate(145deg);
    width: clamp(20px, 1.2vw, 40px);
	object-fit: contain;
	flex-shrink: 0;
	margin-left: clamp(5px, 0.6vw, 10px);
}

@media screen and (min-width: 750px) {
	.form-section .form-section-left,
	.form-section .form-section-right {
		width: 50%;
	}
}

footer {
	padding: clamp(20px, 3vw, 70px) 5%;
	background-color: #020617;
	color: #F9F9F6;
	position: relative;
	overflow: hidden;
}

@media screen and (min-width: 750px) {
	footer {
		padding: clamp(20px, 3vw, 70px) 2.5%;
	}
}

#footer-chalk-canvas {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none; /* Don't block clicks */
	z-index: 0;
}

footer * {
	position: relative;
	z-index: 1;
}

footer .footer-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: clamp(25px, 2vw, 40px);
}

@media screen and (min-width: 750px) {
	footer .grid .footer-flex {
		grid-column: span 11;
	}
}

footer .footer-logo-container {
	display: flex;
	width: clamp(180px, 13.65vw, 400px);
}

footer .footer-logo-container img {
	width: 100%;
	object-fit: contain;
}

footer .footer-contact {
	margin: 2.5em 0 1.5em 0;
}

footer .footer-contact .footer-contact-item {
	display: flex;
	align-items: flex-start;
	margin: clamp(8px, 1vw, 20px) 0;
}

footer .footer-contact .footer-contact-item .icon-container {
	display: flex;
	flex-shrink: 0;
	width: clamp(25px, 1.8vw, 45px);
	margin-right: clamp(5px, 0.7vw, 15px);
}

footer .footer-contact .footer-contact-item .icon-container img {
	width: 100%;
	object-fit: contain;
}

footer .footer-contact .footer-contact-item .text-wrapper {
	line-height: 1.5;
}

footer .footer-contact .footer-contact-item a {
	color: #F9F9F6;
	text-decoration: none;
}

footer .footer-contact .footer-contact-item p {
	margin: 0;
}

footer .footer-right {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(15px, 4vw, 70px);
	width: 100%;
}

footer .footer-right section {
	margin-bottom: 0;
	width: 100%;
}

footer .footer-right section .widget-title {
	font-family: "HankenGrotesk", sans-serif;
	font-weight: 800;
	font-size: clamp(14px, 0.94vw, 20px);
	margin-bottom: 1em;
}

footer .footer-right section ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

footer .footer-right section ul li {
	font-size: clamp(14px, 0.94vw, 20px);
	margin: 8px 0;
}

footer .footer-right section ul li a {
	text-decoration: none;
}

footer .footer-copyright {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(15px, 2vw, 40px);
}

footer .footer-copyright .footer-item {
	width: 100%;
}

@media screen and (min-width: 650px) {
	footer .footer-right section {
		width: fit-content;
	}
}

@media screen and (min-width: 750px) {
	footer .footer-right {
		width: fit-content;
	}
	footer .footer-copyright {
		justify-content: center;
	}
	
	footer .footer-copyright .footer-item {
		width: fit-content;
	}
}

footer .footer-copyright p {
	margin: 0;
}

footer a {
	color: #F9F9F6;
}

footer .creativeans a {
	text-decoration: none;
}

/* Navigation
--------------------------------------------- */

.site-header {
	position: fixed;
	width: 100%;
	z-index: 20;
	padding: clamp(8px, 0.8vw, 15px) 5%;

	backface-visibility: hidden;
	transform: translateZ(0);
}

.site-header .site-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.site-header .mega-menu {
	display: block;          /* keep it block for measurement */
	opacity: 0;              /* hidden by default */
	pointer-events: none;    /* can't interact */
	transition: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 20px 2.5%;
	box-sizing: border-box;
	background: transparent;
	z-index: 10;
}

.site-header.mega-open .mega-menu {
	opacity: 1;             /* fade in */
	pointer-events: auto;   /* now interactive */
}

.site-header-bg {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 254, 252, 0);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	height: 100%;
	transition: height 0.5s ease, background-color 0.5s ease, backdrop-filter 0.5s ease;
	z-index: -1;
	transform: translateZ(0);
	will-change: height, backdrop-filter, background-color;
	overflow: hidden;
}

.site-header.scrolled .site-header-bg,
.site-header.mega-open .site-header-bg {
	background-color: rgba(255, 254, 252, 0.8);
	backdrop-filter: blur(12px) brightness(1);
	-webkit-backdrop-filter: blur(12px) brightness(1);
	box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}

/* When mobile menu is open */
.site-header.mobile-open .site-header-bg {
/*     height: calc(100% + var(--mobile-menu-height)); */
	height: 100dvh;
    background-color: rgba(255, 254, 252, 0.8);
    backdrop-filter: blur(12px) brightness(1);
    -webkit-backdrop-filter: blur(12px) brightness(1);
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}


.site-header.mega-open .site-header-bg {
	height: calc(100% + var(--mega-height))!important;
}

.site-header .mega-menu .mega-menu-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.site-header .mega-menu .mega-menu-flex .mega-menu-text,
.site-header .mega-menu .mega-menu-flex .mega-menu-items {
	width: 100%;
}

@media screen and (min-width: 750px) {
	.site-header {
		padding: clamp(5px, 0.8vw, 15px) 2.5%;
	}
}


.main-navigation {
	display: block;
	width: fit-content;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
/* 	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left; */
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul {
	padding-left: 1.5em;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
	position: relative;
}

.main-navigation li {
	position: relative;
	margin: 5px 0;
	width: fit-content;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #020617;
	font-size: clamp(16px, 1.05vw, 28px);
	font-weight: 500;
	position: relative;
	padding: clamp(3px, 0.5vw, 8px) 0;
}

/* .main-navigation li a:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #020617;
	
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease, transform-origin 0s;
}

.main-navigation li a:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.main-navigation li a:not(:hover):before {
  transform-origin: right;
} */

.main-navigation li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	height: 6px;

	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: left center;

	background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'>\
<path d='M1 3 Q50 0 99 3' stroke='%23020617' stroke-width='1.2' fill='none' stroke-linecap='round'/>\
</svg>");

	/* MASK (this replaces scaleX) */
	-webkit-mask-image: linear-gradient(#000 0 0);
	mask-image: linear-gradient(#000 0 0);

	-webkit-mask-size: 0% 100%;
	mask-size: 0% 100%;

	-webkit-mask-position: left center;
	mask-position: left center;

	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;

	transition:
		mask-size 0.4s ease,
		-webkit-mask-size 0.4s ease;
}

/* DRAW: left → right */
.main-navigation li a:hover::before {
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;

	-webkit-mask-position: left center;
	mask-position: left center;
}

/* ERASE: left → right (by switching origin) */
.main-navigation li a:not(:hover)::before {
	-webkit-mask-size: 0% 100%;
	mask-size: 0% 100%;

	-webkit-mask-position: right center;
	mask-position: right center;
}
.main-navigation li.menu-item-has-children > a {
	display: flex;
	align-items: center;
}

.main-navigation li.menu-item-has-children > a:after {
	content: "";
	width: 1.25em;
	height: 1em;
	background-image: url("images/c-academy-arrow2.svg");
	background-size: 100% auto;
	background-repeat: no-repeat;
	flex-shrink: 0;
	transform: rotate(90deg);
	margin-left: clamp(5px, 0.5vw, 10px);
	transition: transform 0.5s ease;
}

.main-navigation li.menu-item-has-children > a:hover:after {
	transform: rotate(90deg) translate(15%, 0);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.main-navigation.toggled ul {
	flex-flow: column;
	align-items: center;
}

button.menu-toggle {
	background: transparent;
	border: none;
	padding: 0;
	flex-flow: column;
	justify-content: center;
	height: 100%;
}

.menu-toggle div {
	width: 20px;
	height: 3px;
	background-color: #020617;
	border-radius: 5px;
}

.menu-toggle div:first-child {
	margin-bottom: 0;
	transform: rotate(0);
	transition: all .3s;
}

.menu-toggle div:last-child {
	margin-top: 0;
	transform: rotate(0);
	transition: all .3s;
}

.menu-toggle div:nth-child(2) {
	margin: 3px 0;
	transform: rotate(0);
	opacity: 1;
	transition: all .3s;
}

.menu-menu-1-container {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.main-navigation.toggled .menu-menu-1-container {
	opacity: 1;
	transition-delay: 0.25s;
}

.main-navigation #primary-menu {
	padding: clamp(25px, 2vw, 50px) 0;
}

.main-navigation.toggled .menu-toggle div:first-child {
	margin-bottom: -6px;
	transform: rotate(-45deg);
}

.main-navigation.toggled .menu-toggle div:last-child {
	margin-top: -6px;
	transform: rotate(45deg);
}

.main-navigation.toggled .menu-toggle div:nth-child(2) {
	opacity: 0;
	transform: rotate(270deg);
}

.main-navigation .nav-menu > li:last-child a {
	position: relative;
}

.main-navigation .nav-menu > li:last-child a:after {
	content: "";
	width: clamp(20px, 1.5vw, 30px);
	height: clamp(20px, 1.5vw, 30px);
	background-image: url("images/whatsapp.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-left: clamp(5px, 0.7vw, 10px);
	transform: translate(0, -5%);
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}
	
	.main-navigation {
		width: fit-content;
	}

	.main-navigation ul#primary-menu {
		display: flex;
		align-items: center;
		gap: clamp(25px, 3vw, 60px);
	}
	
	.main-navigation li {
		margin: 0;
	}
	
	.main-navigation li ul.sub-menu {
		display: none;
	}
	
	.site-header .mega-menu {
		padding-top: clamp(25px, 2vw, 50px);
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-text {
		width: 27%;
	}
	.site-header .mega-menu .mega-menu-flex .mega-menu-items {
		width: 70%;
		display: flex;
		justify-content: space-between;
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item {
		display: block;
		width: 18%;
		text-decoration: none;
		color: #020617;
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item .icon-container {
		width: 60%;
        padding-top: 54%;
        position: relative;
        overflow: hidden;
        margin: 0 auto;
		transform: scale(0.9);
		transition: transform 0.5s ease;
		
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item:hover .icon-container {
		transform: scale(1);
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item .icon-container img {
		filter: grayscale(1) brightness(0);
		-webkit-filter: grayscale(1) brightness(0);
		transition: filter 0.5s ease, -webkit-filter 0.5s ease;
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item:hover .icon-container img {
		filter: none;
		-webkit-filter: none;
	}
	
	.site-header .mega-menu .mega-menu-flex .mega-menu-items .mega-menu-item p {
		margin-top: 0.5em;
	}
	
	.main-navigation .nav-menu > li:last-child a {
		background-color: transparent;
		padding: clamp(5px, 0.6vw, 12px) clamp(10px, 1.2vw, 20px);
		border: 1.5px solid #020617;
		border-radius: clamp(3px, 0.6vw, 12px);
		font-weight: 500;
		display: flex;
		align-items: center;
		cursor: pointer;
		transition: background-color 0.5s ease;
	}
	
	.main-navigation .nav-menu > li:last-child a:before {
		display: none;
	}

	.main-navigation .nav-menu > li:last-child a:hover {
		background-color: #FBE056;
	}
	
	.menu-menu-1-container {
		position: relative;
		opacity: 1;
	}
	
	.main-navigation.toggled ul {
		flex-flow: row;
	}
	
	.menu-menu-1-container #primary-menu {
		padding: 0;
	}
	
	.site-header.mobile-open .site-header-bg {
		height: 100%;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

/* .post,
.page {
	margin: 0 0 1.5em;
} */

.updated:not(.published) {
	display: none;
}

/* .page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
} */

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: flex;
	width: clamp(100px, 8.5vw, 200px);
}

.custom-logo-link img {
	width: 100%;
	object-fit: contain;
}

/* Captions
--------------------------------------------- */
.wp-caption {
/* 	margin-bottom: 1.5em; */
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
