/* ==========================================================================
   EduVibes — main stylesheet
   ========================================================================== */

:root {
	--ev-primary: #1a5fb4;
	--ev-primary-dark: #163e82;
	--ev-primary-soft: #e8f3fc;
	--ev-sky: #4fb3e8;
	--ev-sky-soft: #eaf6fd;
	--ev-accent: #f5a524;
	--ev-ink: #0f2350;
	--ev-text: #4a5470;
	--ev-muted: #7a839c;
	--ev-line: #e6e9f2;
	--ev-bg: #ffffff;
	--ev-bg-soft: #f5f7fc;
	--ev-navy: #0c2148;
	--ev-radius: 16px;
	--ev-radius-sm: 10px;
	--ev-shadow: 0 10px 30px -12px rgba(16, 32, 90, .18);
	--ev-shadow-lg: 0 24px 60px -20px rgba(16, 32, 90, .28);
	--ev-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ev-container: 1200px;
	--ev-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	font-family: var(--ev-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ev-text);
	background: var(--ev-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ev-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ev-primary-dark); }
h1, h2, h3, h4, h5 { color: var(--ev-ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 9999; top: 8px; left: 8px;
	background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--ev-shadow);
}

.ev-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.ev-container { width: 100%; max-width: var(--ev-container); margin: 0 auto; padding: 0 20px; }
.ev-container--narrow { max-width: 820px; }
.ev-center { text-align: center; margin-top: 40px; }
.ev-muted { color: var(--ev-muted); }
.ev-lead { font-size: 1.1rem; color: var(--ev-ink); font-weight: 500; }
.ev-empty { text-align: center; padding: 40px; background: var(--ev-bg-soft); border-radius: var(--ev-radius); }

/* Section & heading ------------------------------------------------------- */
.ev-section { padding: 100px 0; position: relative; }

.ev-heading { margin-bottom: 48px; max-width: 680px; }
.ev-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.ev-heading__title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: .4em; }
.ev-heading__sub { color: var(--ev-muted); font-size: 1.05rem; margin: 0; }
.ev-highlight { color: var(--ev-primary); display: inline; }

/* Section label: no background, dot after the text (vertically centred).
   Alignment follows the section heading (left / centre). */
.ev-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ev-primary); background: none;
	padding: 0; margin-bottom: 14px; line-height: 1;
}
.ev-eyebrow::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ev-heading--center .ev-eyebrow { justify-content: center; }
.ev-eyebrow--light { color: #fff; }
.ev-eyebrow--light::after { background: var(--ev-accent); }

/* Buttons ----------------------------------------------------------------- */
.ev-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
	padding: 14px 24px; border-radius: 99px; border: 2px solid transparent;
	cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.ev-btn:hover { transform: translateY(-2px); }
.ev-btn .ev-icon { transition: transform .2s; }
.ev-btn:hover .ev-icon { transform: translateX(3px); }
.ev-btn--primary { background: var(--ev-primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(26, 95, 180, .7); }
.ev-btn--primary:hover { background: var(--ev-primary-dark); color: #fff; }
.ev-btn--orange { background: #ef9e27; color: var(--ev-navy); box-shadow: 0 10px 24px -10px rgba(239, 158, 39, .8); }
.ev-btn--orange:hover { background: #dd8a14; color: var(--ev-navy); }
.ev-btn--orange .ev-icon { color: currentColor; }
.ev-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.ev-btn--ghost:hover { background: #fff; color: var(--ev-ink); }
.ev-btn--outline { color: var(--ev-primary); border-color: var(--ev-primary); background: transparent; }
.ev-btn--outline:hover { background: var(--ev-primary); color: #fff; }
.ev-btn--sm { padding: 10px 18px; font-size: .85rem; }
.ev-btn--lg { padding: 17px 30px; font-size: 1rem; }
.ev-btn--block { width: 100%; }

.ev-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.ev-link:hover .ev-icon { transform: translateX(3px); }
.ev-link .ev-icon { transition: transform .2s; }

.ev-card {
	background: #fff; border: 1px solid var(--ev-line); border-radius: var(--ev-radius);
	box-shadow: var(--ev-shadow); transition: transform .25s, box-shadow .25s;
}

/* Header ------------------------------------------------------------------ */
.ev-header { position: sticky; top: 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
.admin-bar .ev-header { top: 32px; }

.ev-topbar {
	background: linear-gradient(90deg, var(--ev-primary), var(--ev-sky));
	color: #fff; font-size: .8rem; font-weight: 600; text-align: center; padding: 7px 0;
}
.ev-topbar .ev-container { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ev-topbar .ev-icon { color: var(--ev-accent); width: 14px; height: 14px; }

.ev-navbar { background: #fff; border-bottom: 1px solid var(--ev-line); transition: background .3s, border-color .3s; }
.ev-navbar__inner { display: flex; align-items: center; gap: 24px; min-height: var(--ev-header-h); }

.ev-brand { flex: 1 1 0; min-width: 0; }
.ev-brand img { max-height: 54px; width: auto; }
.ev-brand__link { display: flex; align-items: center; gap: 10px; color: var(--ev-ink); }
.ev-brand__mark {
	width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--ev-primary), var(--ev-sky)); color: #fff;
}
.ev-brand__mark .ev-icon { width: 22px; height: 22px; }
.ev-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ev-brand__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.ev-brand__text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ev-primary); font-weight: 700; }

/* Nav: centred between logo and actions, no item backgrounds,
   dot after the active item (current page or section in view). */
.ev-nav { flex: 0 1 auto; }
.ev-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.ev-menu li { position: relative; }
.ev-menu a {
	position: relative; display: inline-block; padding: 10px 12px 8px;
	color: var(--ev-ink); font-weight: 600; font-size: .92rem; background: none;
}
/* Active dot: centred above the text */
.ev-menu a::after {
	content: ""; position: absolute; top: 2px; left: 50%;
	width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: currentColor;
	transform: scale(0); opacity: 0; transition: transform .25s, opacity .25s;
}
.ev-menu a:hover,
.ev-menu .is-active > a,
.ev-menu .current-menu-item > a:not([href*="#"]) { color: var(--ev-primary); }
.ev-menu .is-active > a::after,
.ev-menu .current-menu-item > a:not([href*="#"])::after { transform: scale(1); opacity: 1; }
.ev-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 200px;
	background: #fff; border-radius: 12px; box-shadow: var(--ev-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.ev-menu li:hover > .sub-menu, .ev-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ev-nav__mobile-cta { display: none; }

.ev-navbar__actions { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.ev-navbar__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ev-ink); font-size: .9rem; }
.ev-navbar__phone .ev-icon { color: var(--ev-primary); }

.ev-burger {
	display: none; background: var(--ev-primary-soft); color: var(--ev-primary);
	border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; place-items: center;
}
.ev-burger__close { display: none; }
.ev-nav-open .ev-burger__open { display: none; }
.ev-nav-open .ev-burger__close { display: inline; }

/* Overlay header on hero pages */
.ev-overlay-header .ev-header { position: fixed; left: 0; right: 0; }
.ev-overlay-header:not(.ev-scrolled) .ev-navbar { background: transparent; border-color: rgba(255, 255, 255, .12); }
.ev-overlay-header:not(.ev-scrolled) .ev-brand__link,
.ev-overlay-header:not(.ev-scrolled) .ev-navbar__phone,
.ev-overlay-header:not(.ev-scrolled) .ev-menu > li > a { color: #fff; }
.ev-overlay-header:not(.ev-scrolled) .ev-brand__text small { color: #bfe3f8; }
.ev-overlay-header:not(.ev-scrolled) .ev-menu > li > a:hover,
.ev-overlay-header:not(.ev-scrolled) .ev-menu > .is-active > a { color: var(--ev-accent); }
.ev-overlay-header:not(.ev-scrolled) .ev-navbar__phone .ev-icon { color: #fff; }
.ev-overlay-header:not(.ev-scrolled) .ev-burger { background: rgba(255, 255, 255, .15); color: #fff; }
.ev-scrolled .ev-navbar { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -16px rgba(16, 32, 90, .35); }

/* Hero slider ------------------------------------------------------------- */
.ev-hero { position: relative; height: 100vh; min-height: 560px; background: var(--ev-navy); overflow: hidden; }
@supports (height: 100svh) { .ev-hero { height: 100svh; } }
.ev-hero__swiper { height: 100%; }
.ev-hero__slide { position: relative; height: 100vh; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
@supports (height: 100svh) { .ev-hero__slide { height: 100svh; } }
.ev-hero .swiper-wrapper { height: 100%; }
.ev-hero__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	background-color: var(--ev-navy); transform: scale(1.12); transition: transform 7s ease-out;
}
.swiper-slide-active .ev-hero__bg { transform: scale(1); }
.ev-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(8, 24, 60, .92) 0%, rgba(14, 40, 95, .78) 45%, rgba(26, 95, 180, .25) 100%);
}
.ev-hero__content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 90px; }
.ev-hero__content > * { max-width: 720px; }
.ev-hero__content > .ev-hero__title { max-width: 980px; }
.ev-hero__title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.05; margin-bottom: 22px; letter-spacing: -.035em; }
.ev-hero__title span { display: block; color: #7cc8f0; background: linear-gradient(90deg, #7cc8f0, var(--ev-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-hero__text { color: rgba(255, 255, 255, .85); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 600px; margin-bottom: 34px; }
.ev-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* slide-in animation */
.ev-hero__content > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.swiper-slide-active .ev-hero__content > * { opacity: 1; transform: none; }
.swiper-slide-active .ev-hero__content > *:nth-child(2) { transition-delay: .12s; }
.swiper-slide-active .ev-hero__content > *:nth-child(3) { transition-delay: .24s; }
.swiper-slide-active .ev-hero__content > *:nth-child(4) { transition-delay: .36s; }
.elementor-editor-active .ev-hero__content > * { opacity: 1; transform: none; }

.ev-hero__nav {
	position: absolute; left: 0; right: 0; bottom: 40px; z-index: 5;
	display: flex; align-items: center; gap: 16px;
}
.ev-hero__arrow {
	width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center;
	cursor: pointer; transition: .2s; backdrop-filter: blur(6px);
}
.ev-hero__arrow:hover { background: #fff; color: var(--ev-primary); }
.ev-hero__pagination { display: flex; gap: 8px; width: auto !important; position: static !important; }
.ev-hero__pagination .swiper-pagination-bullet {
	width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); opacity: 1; margin: 0 !important; transition: .3s;
}
.ev-hero__pagination .swiper-pagination-bullet-active { width: 56px; background: #fff; }

.ev-hero__scroll {
	position: absolute; right: 40px; bottom: 44px; z-index: 5;
	width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.ev-hero__scroll span {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
	background: #fff; border-radius: 2px; animation: ev-scroll 1.8s infinite;
}
@keyframes ev-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Ticker ------------------------------------------------------------------ */
.ev-ticker { background: var(--ev-primary); color: #fff; overflow: hidden; padding: 14px 0; }
.ev-ticker__track { display: flex; width: max-content; animation: ev-marquee 40s linear infinite; }
.ev-ticker:hover .ev-ticker__track { animation-play-state: paused; }
.ev-ticker__group { display: flex; flex-shrink: 0; }
.ev-ticker__item { font-weight: 600; font-size: .9rem; white-space: nowrap; padding: 0 28px; position: relative; }
.ev-ticker__item::after { content: "✦"; position: absolute; right: -6px; color: var(--ev-accent); }
@keyframes ev-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About ------------------------------------------------------------------- */
.ev-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ev-about__media { position: relative; }
.ev-about__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; box-shadow: var(--ev-shadow-lg); }
.ev-about__media::before {
	content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 26px;
	background: linear-gradient(135deg, var(--ev-primary-soft), #fff3df); z-index: -1;
}
.ev-about__badge {
	position: absolute; right: -14px; bottom: 28px; display: flex; align-items: center; gap: 10px;
	background: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--ev-shadow-lg);
	font-weight: 800; color: var(--ev-ink);
}
.ev-about__badge .ev-icon { color: var(--ev-accent); width: 28px; height: 28px; }
.ev-about .ev-heading { margin-bottom: 20px; }

.ev-checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ev-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ev-ink); }
.ev-checklist .ev-icon {
	width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--ev-primary-soft); color: var(--ev-primary);
}

/* Programs ---------------------------------------------------------------- */
.ev-programs { background: linear-gradient(180deg, var(--ev-bg-soft), #fff); }
.ev-programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ev-programs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.ev-programs__head .ev-heading { margin-bottom: 0; }
.ev-programs__swiper { padding: 10px 4px 50px !important; margin: -10px -4px 0 !important; }
.ev-programs__swiper .swiper-slide { height: auto; }
.ev-programs__swiper .ev-program { height: 100%; }
.ev-programs__pagination { bottom: 0 !important; }
.ev-programs__pagination .swiper-pagination-bullet { background: var(--ev-primary); }
.ev-program { padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ev-program::before {
	content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--ev-primary), var(--ev-sky)); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.ev-program:hover { transform: translateY(-6px); box-shadow: var(--ev-shadow-lg); }
.ev-program:hover::before { transform: scaleX(1); }
.ev-program__badge {
	align-self: flex-start; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em;
	color: var(--ev-primary); background: var(--ev-primary-soft); padding: 8px 18px; border-radius: 12px; margin-bottom: 18px;
}
.ev-program__title { font-size: 1.2rem; }
.ev-program__text { color: var(--ev-muted); font-size: .95rem; }
.ev-program__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-primary); margin: 6px 0 10px; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tag { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--ev-bg-soft); border: 1px solid var(--ev-line); color: var(--ev-ink); }

.ev-programs__cta {
	margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 22px 28px; border-radius: var(--ev-radius); background: #fff; border: 1px dashed #b9dcf5;
}
.ev-programs__cta p { margin: 0; font-weight: 600; color: var(--ev-ink); }

/* Speciality -------------------------------------------------------------- */
.ev-speciality__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: start; }
.ev-speciality__intro { position: sticky; top: 120px; }
.ev-speciality .ev-heading { margin-bottom: 20px; }
.ev-speciality .ev-heading__title .ev-highlight { display: block; }
.ev-speciality__btn { margin-top: 8px; }
.ev-speciality__media { margin-top: 28px; }
.ev-speciality__media img { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: var(--ev-shadow-lg); }
.ev-speciality__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ev-feature {
	display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--ev-radius);
	background: var(--ev-bg-soft); border: 1px solid transparent; transition: .25s;
}
.ev-feature:hover { background: #fff; border-color: var(--ev-line); box-shadow: var(--ev-shadow); transform: translateY(-4px); }
.ev-feature__icon {
	width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--ev-primary), var(--ev-sky)); color: #fff;
	box-shadow: 0 10px 20px -10px rgba(26, 95, 180, .8);
}
.ev-feature__icon .ev-icon { width: 26px; height: 26px; }
.ev-feature__title { font-size: 1.05rem; margin: 0 0 6px; }
.ev-feature__text { font-size: .92rem; color: var(--ev-muted); margin: 0; }

/* Gallery ----------------------------------------------------------------- */
.ev-gallery { background: var(--ev-bg-soft); }
.ev-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-gallery__item { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--ev-line); }
.ev-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ev-gallery__item::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 18, 48, .55));
	opacity: 0; transition: opacity .3s;
}
.ev-gallery__item:hover img { transform: scale(1.07); }
.ev-gallery__item:hover::after { opacity: 1; }
.ev-gallery__item { display: block; cursor: zoom-in; }
.ev-gallery__item--video { cursor: pointer; background: #0a1230; }
.ev-gallery__item video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ev-gallery__item--video::after { opacity: 1; background: rgba(10, 18, 48, .25); }
.ev-gallery__play {
	position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px;
	display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ev-primary);
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .3s;
}
.ev-gallery__play .ev-icon { width: 26px; height: 26px; margin-left: 3px; stroke: none; }
.ev-gallery__item--video:hover .ev-gallery__play { transform: scale(1.12); }
.ev-gallery__item:focus-visible { outline: 3px solid var(--ev-primary); outline-offset: 3px; }

/* Lightbox popup ---------------------------------------------------------- */
.ev-lightbox-open { overflow: hidden; }
.ev-lightbox {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	background: rgba(6, 10, 28, .92); opacity: 0; transition: opacity .25s;
}
.ev-lightbox[hidden] { display: none; }
.ev-lightbox.is-open { opacity: 1; }
.ev-lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 70px 80px; }
.ev-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.ev-lightbox__video { max-width: 100%; max-height: 100%; border-radius: 10px; background: #000; }
.ev-lightbox__frame { width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; }
.ev-lightbox__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; }
.ev-lightbox__btn {
	position: absolute; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s;
}
.ev-lightbox__btn[hidden] { display: none; }
.ev-lightbox__btn:hover, .ev-lightbox__btn:focus-visible { background: var(--ev-primary); border-color: var(--ev-primary); outline: none; }
.ev-lightbox__btn svg { width: 24px; height: 24px; }
.ev-lightbox__close { top: 16px; right: 16px; }
.ev-lightbox__prev { left: 16px; top: 50%; margin-top: -25px; }
.ev-lightbox__next { right: 16px; top: 50%; margin-top: -25px; }
.ev-lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .9rem; }
@media (max-width: 640px) {
	.ev-lightbox__stage { padding: 70px 12px; }
	.ev-lightbox__prev, .ev-lightbox__next { top: auto; bottom: 10px; margin-top: 0; }
	.ev-lightbox__frame { width: 100%; }
}

/* Stories / post carousel ------------------------------------------------- */
.ev-stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.ev-stories__head .ev-heading { margin-bottom: 0; }
.ev-stories__nav { display: flex; gap: 10px; }
.ev-round-btn {
	width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	border: 1px solid var(--ev-line); background: #fff; color: var(--ev-ink); transition: .2s;
}
.ev-round-btn:hover { background: var(--ev-primary); border-color: var(--ev-primary); color: #fff; }
.ev-round-btn.swiper-button-disabled { opacity: .4; pointer-events: none; }

.ev-stories__swiper { padding: 6px 4px 50px !important; margin: -6px -4px 0 !important; }
.ev-stories__swiper .swiper-slide { height: auto; }
.ev-stories__pagination { bottom: 0 !important; }
.ev-stories__pagination .swiper-pagination-bullet { background: var(--ev-primary); }

.ev-post-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.ev-post-card:hover { transform: translateY(-6px); box-shadow: var(--ev-shadow-lg); }
.ev-post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--ev-primary), var(--ev-sky)); }
.ev-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ev-post-card:hover .ev-post-card__media img { transform: scale(1.06); }
.ev-post-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.ev-post-card__placeholder .ev-icon { width: 56px; height: 56px; }
.ev-post-card__cat {
	position: absolute; left: 16px; top: 16px; background: #fff; color: var(--ev-primary);
	font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 99px;
}
.ev-post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ev-post-card__date { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ev-muted); margin-bottom: 10px; }
.ev-post-card__title { font-size: 1.12rem; margin-bottom: 10px; }
.ev-post-card__title a { color: var(--ev-ink); }
.ev-post-card__title a:hover { color: var(--ev-primary); }
.ev-post-card__excerpt { font-size: .92rem; color: var(--ev-muted); }
.ev-post-card .ev-link { margin-top: auto; }

/* Contact ----------------------------------------------------------------- */
.ev-contact { background: linear-gradient(180deg, #fff, var(--ev-bg-soft)); }
.ev-contact__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.ev-contact__form { padding: 34px; }
.ev-contact__form h3 { font-size: 1.35rem; margin-bottom: 4px; }
.ev-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 22px; }
.ev-form__full { grid-column: 1 / -1; }
.ev-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ev-ink); }
.ev-form em { color: #e5484d; font-style: normal; }
.ev-form input, .ev-form select, .ev-form textarea {
	width: 100%; font: inherit; font-weight: 500; font-size: .95rem; color: var(--ev-ink);
	padding: 13px 16px; border-radius: var(--ev-radius-sm); border: 1px solid var(--ev-line); background: var(--ev-bg-soft);
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.ev-form input:focus, .ev-form select:focus, .ev-form textarea:focus {
	outline: none; border-color: var(--ev-primary); background: #fff; box-shadow: 0 0 0 4px rgba(26, 95, 180, .12);
}
.ev-hp { position: absolute; left: -9999px; }
.ev-alert { padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; margin-top: 16px; }
.ev-alert--success { background: #e7f8ee; color: #136c3a; }
.ev-alert--error { background: #fdecec; color: #a12a2e; }

.ev-contact__side { display: grid; gap: 28px; }
.ev-contact__info { padding: 30px; }
.ev-contact__brand { display: flex; gap: 14px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--ev-line); margin-bottom: 22px; }
.ev-contact__brand strong { display: block; color: var(--ev-ink); font-size: 1.1rem; }
.ev-contact__brand span { font-size: .85rem; color: var(--ev-muted); }
.ev-contact__logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ev-primary), var(--ev-sky)); color: #fff; }
.ev-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ev-contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.ev-contact__list small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ev-muted); }
.ev-contact__list a, .ev-contact__list span { color: var(--ev-ink); font-weight: 700; }
.ev-contact__ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--ev-primary-soft); color: var(--ev-primary) !important; }
.ev-contact__map { overflow: hidden; padding: 0; }
.ev-contact__map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Page hero / entries ------------------------------------------------------ */
.ev-page-hero { padding: 90px 0 60px; background: linear-gradient(135deg, var(--ev-navy), #1a5fb4); color: #fff; text-align: center; }
.ev-page-hero__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.ev-page-hero__meta { color: rgba(255, 255, 255, .7); margin: 12px 0 0; }
.ev-page-hero .ev-eyebrow { color: #fff; }
.ev-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ev-entry { padding-top: 60px; }
.ev-entry__thumb img { border-radius: var(--ev-radius); margin-bottom: 34px; width: 100%; }
.ev-entry__content { font-size: 1.05rem; }
.ev-entry__content h2, .ev-entry__content h3 { margin-top: 1.6em; }
.ev-entry__content img { border-radius: 12px; }
.ev-entry__nav { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0; padding-top: 24px; border-top: 1px solid var(--ev-line); font-weight: 700; }
.ev-pagination { margin-top: 50px; }
.ev-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.ev-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ev-line); color: var(--ev-ink); font-weight: 700; }
.ev-pagination .page-numbers.current, .ev-pagination .page-numbers:hover { background: var(--ev-primary); color: #fff; border-color: var(--ev-primary); }

/* Footer ------------------------------------------------------------------ */
.ev-footer { background: var(--ev-navy); color: rgba(255, 255, 255, .7); padding-top: 80px; font-size: .92rem; }
.ev-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr; gap: 32px; padding-bottom: 60px; }
.ev-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.ev-footer p { margin-top: 18px; max-width: 320px; }
.ev-brand__link--light { color: #fff; }
.ev-brand__link--light .ev-brand__text small { color: var(--ev-sky); }
.ev-footer__links, .ev-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-footer a { color: rgba(255, 255, 255, .7); }
.ev-footer a:hover { color: #fff; }
.ev-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ev-footer__contact .ev-icon { color: var(--ev-sky); margin-top: 4px; }
.ev-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .85rem; }

/* Floating buttons ------------------------------------------------------- */
.ev-floating { position: fixed; right: 20px; bottom: 20px; z-index: 990; display: grid; gap: 12px; }
.ev-floating__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--ev-shadow-lg); transition: transform .2s; }
.ev-floating__btn:hover { color: #fff; transform: scale(1.08); }
.ev-floating__btn--call { background: var(--ev-primary); }
.ev-floating__btn--wa { background: #22c55e; }

/* Elementor helpers ------------------------------------------------------- */
.elementor-widget-eduvibes-hero-slider,
.elementor-widget-eduvibes-ticker { margin-bottom: 0 !important; }
.elementor-section.elementor-section-stretched .ev-container { max-width: var(--ev-container); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.ev-navbar__phone span { display: none; }
	.ev-footer__grid { grid-template-columns: 1fr 1fr; }
	.ev-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
	.ev-section { padding: 76px 0; }
	.ev-burger { display: grid; }
	.ev-navbar__actions { gap: 10px; }
	/* backdrop-filter would make the navbar the containing block of the
	   fixed drawer, clipping it to the navbar's height. */
	.ev-scrolled .ev-navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.ev-nav {
		position: fixed; inset: 0 0 0 auto; height: 100vh; height: 100dvh; width: min(340px, 86vw); background: #fff; z-index: 1001;
		padding: 100px 24px 30px; transform: translateX(100%); transition: transform .35s ease;
		box-shadow: var(--ev-shadow-lg); overflow-y: auto;
	}
	.ev-nav-open .ev-nav { transform: none; }
	.ev-nav-open .ev-burger { position: relative; z-index: 1002; }
	.ev-menu { flex-direction: column; gap: 4px; }
	.ev-menu { align-items: flex-start; }
	.ev-menu a, .ev-overlay-header:not(.ev-scrolled) .ev-menu > li > a { color: var(--ev-ink); padding: 12px 16px; }
	.ev-overlay-header:not(.ev-scrolled) .ev-menu > .is-active > a { color: var(--ev-primary); }
	.ev-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
	.ev-nav__mobile-cta { display: block; margin-top: 20px; }
	.ev-nav-open { overflow: hidden; }
	.ev-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 18, 48, .5); z-index: 999; }

	.ev-about__grid, .ev-speciality__grid, .ev-contact__grid { grid-template-columns: 1fr; gap: 50px; }
	.ev-speciality__intro { position: static; }
	.ev-programs__grid, .ev-posts-grid { grid-template-columns: 1fr 1fr; }
	.ev-about__badge { right: 12px; }
	.ev-hero__scroll { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .ev-header { top: 46px; }
}

@media (max-width: 640px) {
	.ev-topbar { font-size: .72rem; }
	.ev-topbar .ev-icon { display: none; }
	.ev-programs__grid, .ev-posts-grid, .ev-speciality__list { grid-template-columns: 1fr; }
	.ev-gallery__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ev-stories__head, .ev-programs__head { flex-direction: column; align-items: flex-start; }
	.ev-footer__grid { grid-template-columns: 1fr; }
	.ev-contact__form, .ev-contact__info { padding: 24px; }
	.ev-form { grid-template-columns: 1fr; }
	.ev-hero__nav { bottom: 24px; }
	.ev-hero__arrow { width: 42px; height: 42px; }
	.ev-btn--lg { padding: 15px 22px; }
	.ev-brand__text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Course cards: syllabus chips (State / CBSE / ICSE) */
.ev-tags--syllabus { margin-bottom: 14px; }
.ev-tag--syllabus {
	display: inline-flex; align-items: center; gap: 5px;
	background: var(--ev-primary-soft); border-color: transparent; color: var(--ev-primary); font-weight: 700;
}
.ev-tag--syllabus .ev-icon { width: 13px; height: 13px; stroke-width: 2.6; }

/* Logo (image has a white background, so it sits on a white rounded tile) */
.ev-brand__logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px 8px; line-height: 0; }
.ev-brand__logo img, .ev-brand .custom-logo { height: 58px; width: auto; max-height: none; }
.ev-overlay-header:not(.ev-scrolled) .ev-brand__logo { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); }
.ev-brand__logo--footer { padding: 8px 12px; border-radius: 14px; }
.ev-brand__logo--footer img { height: 84px; width: auto; }
@media (max-width: 640px) { .ev-brand__logo img, .ev-brand .custom-logo { height: 48px; } }
.ev-contact__logo { width: 64px; height: 64px; background: #fff; border: 1px solid var(--ev-line); padding: 4px; }
.ev-contact__logo img { width: 100%; height: 100%; object-fit: contain; }

/* Exam cards carousel (under the hero) ------------------------------------ */
.ev-exams { background: linear-gradient(180deg, #fff, var(--ev-bg-soft)); }
.ev-exams__swiper { padding: 10px 4px 50px !important; margin: -10px -4px 0 !important; }
.ev-exams__swiper .swiper-slide { height: auto; }
.ev-exams__pagination { bottom: 0 !important; }
.ev-exams__pagination .swiper-pagination-bullet { background: var(--ev-primary); }

.ev-exam { --ev-c: var(--ev-primary); --ev-c-soft: var(--ev-primary-soft); height: 100%; padding: 28px; display: flex; flex-direction: column; border-top: 4px solid var(--ev-c); }
.ev-exam--c2 { --ev-c: #c56d0a; --ev-c-soft: #fff3df; }
.ev-exam--c3 { --ev-c: #0b84b8; --ev-c-soft: #e3f4fc; }
.ev-exam--c4 { --ev-c: #6247c9; --ev-c-soft: #efebfd; }
.ev-exam--c5 { --ev-c: #13804f; --ev-c-soft: #e4f6ec; }
.ev-exam:hover { transform: translateY(-6px); box-shadow: var(--ev-shadow-lg); }

/* Content-matched background image: a faint layer behind the card content */
.ev-exam { position: relative; overflow: hidden; isolation: isolate; }
.ev-exam > *:not(.ev-exam__bg) { position: relative; z-index: 1; }
.ev-exam__bg {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-repeat: no-repeat; background-position: right -30px top 56px; background-size: 82% auto;
	opacity: .11; transition: opacity .3s, transform .6s;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
}
.ev-exam:hover .ev-exam__bg { opacity: .16; transform: scale(1.03); }

/* Photo cards: full-bleed photo under a dark tint, white text */
.ev-exam--photo { background: var(--ev-navy); border-color: transparent; border-top-color: var(--ev-c); color: #fff; }
.ev-exam__bg--photo {
	background-position: center; background-size: cover; opacity: 1;
	-webkit-mask-image: none; mask-image: none;
}
.ev-exam__bg--photo::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 20, 48, .72) 0%, rgba(8, 20, 48, .82) 45%, rgba(8, 20, 48, .93) 100%),
		linear-gradient(135deg, var(--ev-c) 0%, transparent 60%);
	background-blend-mode: normal, soft-light;
}
.ev-exam--photo:hover .ev-exam__bg--photo { opacity: 1; transform: scale(1.05); }
.ev-exam--photo .ev-exam__title,
.ev-exam--photo .ev-exam__text,
.ev-exam--photo .ev-program__label,
.ev-exam--photo .ev-exam__note p,
.ev-exam--photo .ev-exam__checks li,
.ev-exam--photo .ev-exam__row-label,
.ev-exam--photo .ev-exam__row-value { color: #fff; }
.ev-exam--photo .ev-exam__tag { color: rgba(255, 255, 255, .75); }
.ev-exam--photo .ev-exam__text { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.ev-exam--photo .ev-exam__icon { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(4px); }
.ev-exam--photo strong { color: #fff; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--ev-c) 70%, transparent) 62%); }
.ev-exam--photo .ev-tag { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(4px); }
.ev-exam--photo .ev-exam__badge { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.ev-exam--photo .ev-exam__note { background: rgba(255, 255, 255, .12); border-left-color: var(--ev-accent); backdrop-filter: blur(4px); }
.ev-exam--photo .ev-exam__note-title { color: var(--ev-accent); }
.ev-exam--photo .ev-exam__row:nth-child(odd),
.ev-exam--photo .ev-exam__row.is-key { background: rgba(255, 255, 255, .1); }
.ev-exam--photo .ev-exam__checks .ev-icon,
.ev-exam--photo .ev-exam__row--step .ev-exam__row-label { background: rgba(255, 255, 255, .16); color: #fff; }

.ev-exam__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ev-exam__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--ev-c-soft); color: var(--ev-c); }
.ev-exam__icon .ev-icon { width: 24px; height: 24px; }
.ev-exam__tag { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-muted); line-height: 1.3; }
.ev-exam__title { font-size: 1.15rem; margin: 2px 0 0; }

/* Key fact: solid pill in the card colour */
.ev-exam__badge {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
	padding: 8px 16px; border-radius: 99px; background: var(--ev-c); color: #fff; font-weight: 800; font-size: .92rem;
	box-shadow: 0 10px 22px -12px var(--ev-c);
}
.ev-exam__badge .ev-icon { width: 15px; height: 15px; color: var(--ev-accent); fill: var(--ev-accent); }
.ev-exam--c2 .ev-exam__badge .ev-icon { color: #fff; fill: #fff; }

.ev-exam__text { color: var(--ev-text); font-size: .95rem; margin-bottom: 14px; }

/* **highlighted** words: marker underline in the card colour */
.ev-exam strong { color: var(--ev-c); font-weight: 800; background: linear-gradient(transparent 62%, var(--ev-c-soft) 62%); padding: 0 2px; }

/* Table rows (syllabus, monthly plan) */
.ev-exam__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ev-exam__row { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 8px; font-size: .86rem; line-height: 1.45; }
.ev-exam__row:nth-child(odd) { background: var(--ev-bg-soft); }
.ev-exam__row-label { font-weight: 700; color: var(--ev-ink); }
.ev-exam__row-value { color: var(--ev-text); }
.ev-exam__row--step { grid-template-columns: 28px 1fr; align-items: center; padding: 5px 10px; }
.ev-exam__row--step .ev-exam__row-label {
	width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ev-c-soft); color: var(--ev-c); font-size: .75rem; font-weight: 800;
}
.ev-exam__row.is-key { background: var(--ev-c-soft); }
.ev-exam__row.is-key strong { background: none; padding: 0; }
.ev-exam__row--step.is-key .ev-exam__row-label { background: var(--ev-c); color: #fff; }

/* Checklist */
.ev-exam__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-exam__checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--ev-ink); line-height: 1.5; }
.ev-exam__checks .ev-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ev-c-soft); color: var(--ev-c); stroke-width: 2.6; margin-top: 1px; }

/* Benefit box, pinned to the bottom of the card */
.ev-exam__note { margin-top: auto; padding: 16px 18px; border-radius: 12px; background: var(--ev-c-soft); border-left: 4px solid var(--ev-c); }
.ev-exam .ev-tags, .ev-exam__rows, .ev-exam__checks { margin-bottom: 22px; }
.ev-exam__note-title { display: flex; align-items: center; gap: 6px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-c); margin-bottom: 6px; }
.ev-exam__note-title.ev-exam__note-title { background: none; padding: 0; }
.ev-exam__note-title .ev-icon { width: 16px; height: 16px; }
.ev-exam__note p { margin: 0; font-size: .9rem; color: var(--ev-ink); line-height: 1.6; }
.ev-exam__note strong { background: linear-gradient(transparent 62%, rgba(255, 255, 255, .9) 62%); }

@media (max-width: 640px) {
	.ev-exam { padding: 22px; }
	.ev-exam__row { grid-template-columns: 1fr; gap: 2px; }
	.ev-exam__row--step { grid-template-columns: 28px 1fr; gap: 12px; }
}

/* Foundation program: full-width feature card ------------------------------ */
.ev-foundation { padding: 80px 0; background: linear-gradient(180deg, var(--ev-bg-soft), #fff); }
.ev-foundation__card {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: #fff; border: 1px solid var(--ev-line); border-radius: 24px; overflow: hidden;
	box-shadow: var(--ev-shadow-lg);
}
.ev-foundation__media { position: relative; min-height: 420px; }
.ev-foundation .ev-foundation__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.ev-foundation__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(8, 20, 48, .7) 100%);
}
.ev-foundation__badge {
	position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 1; width: fit-content;
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px;
	background: var(--ev-accent); color: var(--ev-navy); font-weight: 800; font-size: .9rem;
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5);
}
.ev-foundation__badge .ev-icon { width: 16px; height: 16px; fill: currentColor; }
.ev-foundation__body { padding: 48px 52px; }
.ev-foundation__eyebrow {
	display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 99px;
	background: var(--ev-primary-soft); color: var(--ev-primary);
	font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.ev-foundation__title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.2; margin: 0 0 16px; }
.ev-foundation__title .ev-highlight { display: block; }
.ev-foundation__text { font-size: 1rem; color: var(--ev-text); line-height: 1.75; margin: 0 0 28px; }
.ev-foundation__text strong { color: var(--ev-ink); font-weight: 700; }
.ev-foundation__list-title {
	display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
	font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-ink);
}
.ev-foundation__list-title::after { content: ""; flex: 1; height: 1px; background: var(--ev-line); }
.ev-foundation__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ev-foundation__item {
	display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px;
	background: var(--ev-bg-soft); border: 1px solid var(--ev-line); transition: border-color .2s, background .2s;
}
.ev-foundation__item:hover { background: #fff; border-color: var(--ev-primary); }
.ev-foundation__icon {
	width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
	background: var(--ev-primary); color: #fff;
}
.ev-foundation__icon .ev-icon { width: 20px; height: 20px; }
.ev-foundation__item strong { display: block; font-size: .95rem; color: var(--ev-ink); margin-bottom: 4px; }
.ev-foundation__item p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--ev-text); }

@media (max-width: 991px) {
	.ev-foundation__card { grid-template-columns: 1fr; }
	.ev-foundation__media { min-height: 0; aspect-ratio: 16 / 9; }
	.ev-foundation__body { padding: 36px 32px; }
}
@media (max-width: 640px) {
	.ev-foundation { padding: 56px 0; }
	.ev-foundation__body { padding: 28px 22px; }
	.ev-foundation__list { grid-template-columns: 1fr; }
	.ev-foundation__media { aspect-ratio: 4 / 3; }
}

/* Centre tabs (contact section) ------------------------------------------- */
.ev-centres { margin-top: 56px; }
.ev-centres__title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 18px; }
.ev-centres__title .ev-icon { color: var(--ev-primary); }
.ev-centres__tabs {
	display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none;
	padding: 6px; background: #fff; border: 1px solid var(--ev-line); border-radius: 99px; width: max-content; max-width: 100%;
}
.ev-centres__tabs::-webkit-scrollbar { display: none; }
.ev-centres__tab {
	flex-shrink: 0; font: inherit; font-weight: 700; font-size: .92rem; white-space: nowrap; cursor: pointer;
	padding: 10px 20px; border-radius: 99px; border: 0; background: transparent; color: var(--ev-text); transition: background .2s, color .2s;
}
.ev-centres__tab:hover { color: var(--ev-primary); background: var(--ev-primary-soft); }
.ev-centres__tab[aria-selected="true"] { background: var(--ev-primary); color: #fff; box-shadow: 0 10px 22px -12px rgba(26, 95, 180, .8); }
.ev-centres__tab:focus-visible, .ev-centres__panel:focus-visible { outline: 3px solid var(--ev-sky); outline-offset: 2px; }

.ev-centres__panel { display: grid; grid-template-columns: 2fr 3fr; overflow: hidden; padding: 0; }
.ev-centres__panel[hidden] { display: none; }
.ev-centres__info { padding: 30px; display: flex; flex-direction: column; }
.ev-centres__name { font-size: 1.2rem; margin-bottom: 20px; }
.ev-centres__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.ev-centres__actions .ev-icon { width: 16px; height: 16px; }
.ev-centres__wa { background: #22c55e; color: #fff; }
.ev-centres__wa:hover { background: #16a34a; color: #fff; }
.ev-centres__map { min-height: 340px; background: var(--ev-bg-soft); }
.ev-centres__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

@media (max-width: 767px) {
	.ev-centres__panel { grid-template-columns: 1fr; }
	.ev-centres__info { padding: 24px; }
	.ev-centres__map, .ev-centres__map iframe { min-height: 260px; }
}

/* Section backgrounds: a distinct soft tint per section ------------------- */
:root {
	--ev-bg-exams: #eef6fd;      /* sky blue */
	--ev-bg-programs: #fff7e8;   /* warm amber */
	--ev-bg-course: #ecf8f1;     /* mint green */
	--ev-bg-about: #f3f0fd;      /* lavender */
	--ev-bg-gallery: #fdf1f3;    /* soft rose */
	--ev-bg-stories: #f1f5fb;    /* cool grey-blue */
	--ev-bg-contact: #e9f0fa;    /* light navy tint */
}
.ev-exams { background: var(--ev-bg-exams); }
.ev-programs { background: var(--ev-bg-programs); }
.ev-speciality { background: var(--ev-bg-course); }
.ev-about { background: var(--ev-bg-about); }
.ev-gallery { background: var(--ev-bg-gallery); }
.ev-stories { background: var(--ev-bg-stories); }
.ev-contact { background: var(--ev-bg-contact); }

/* Cards that used the pale grey now sit white on the tinted sections */
.ev-speciality .ev-feature { background: #fff; border-color: rgba(19, 128, 79, .1); }
.ev-speciality .ev-feature:hover { border-color: rgba(19, 128, 79, .25); }
.ev-programs .ev-tag, .ev-about .ev-tag { background: #fff; }

/* Programs (Scholarship/Talent Exams) with a background photo ------------- */
.ev-programs--image {
	background: var(--ev-navy) var(--ev-programs-bg) center / cover no-repeat;
	isolation: isolate;
}
.ev-programs--image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(8, 20, 48, .86) 0%, rgba(8, 20, 48, .78) 50%, rgba(8, 20, 48, .9) 100%);
}
.ev-programs--image .ev-eyebrow { color: #fff; }
.ev-programs--image .ev-eyebrow::after { background: var(--ev-accent); }
.ev-programs--image .ev-heading__title { color: #fff; }
.ev-programs--image .ev-heading__title .ev-highlight { color: #7cc8f0; }
.ev-programs--image .ev-heading__sub { color: rgba(255, 255, 255, .85); }
.ev-programs--image .ev-round-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(4px); }
.ev-programs--image .ev-round-btn:hover { background: var(--ev-accent); border-color: var(--ev-accent); color: var(--ev-navy); }
.ev-programs--image .ev-programs__pagination .swiper-pagination-bullet { background: #fff; }
.ev-programs--image .ev-program { border-color: transparent; }

/* Enroll buttons: compact header CTA on phones, footer CTA ----------------- */
@media (max-width: 420px) {
	.ev-navbar__cta { padding: 8px 12px; font-size: .78rem; }
}
.ev-footer__cta { margin-top: 22px; }
.ev-footer .ev-footer__cta, .ev-footer .ev-footer__cta:hover { color: #fff; }

/* Card "Enquire" button ---------------------------------------------------- */
.ev-card__actions { margin-top: auto; padding-top: 20px; }
.ev-exam__note + .ev-card__actions { margin-top: 0; }
.ev-enquire { width: 100%; justify-content: center; }

/* Entrance Exams & Programs with a background photo ----------------------- */
.ev-exams--image {
	background: var(--ev-navy) var(--ev-exams-bg) center / cover no-repeat;
	isolation: isolate;
}
.ev-exams--image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(8, 20, 48, .86) 0%, rgba(8, 20, 48, .78) 50%, rgba(8, 20, 48, .9) 100%);
}
.ev-exams--image .ev-eyebrow { color: #fff; }
.ev-exams--image .ev-eyebrow::after { background: var(--ev-accent); }
.ev-exams--image .ev-heading__title { color: #fff; }
.ev-exams--image .ev-heading__title .ev-highlight { color: #7cc8f0; }
.ev-exams--image .ev-heading__sub { color: rgba(255, 255, 255, .85); }
.ev-exams--image .ev-round-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(4px); }
.ev-exams--image .ev-round-btn:hover { background: var(--ev-accent); border-color: var(--ev-accent); color: var(--ev-navy); }
.ev-exams--image .ev-exams__pagination .swiper-pagination-bullet { background: #fff; }

/* About with a background photo ------------------------------------------ */
.ev-about--image {
	background: var(--ev-navy) var(--ev-about-bg) center / cover no-repeat;
	isolation: isolate;
}
.ev-about--image::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(8, 20, 48, .9) 0%, rgba(8, 20, 48, .82) 55%, rgba(8, 20, 48, .88) 100%);
}
.ev-about--image .ev-about__grid { position: relative; z-index: 1; }
.ev-about--image .ev-about__media::before { background: linear-gradient(135deg, rgba(124, 200, 240, .25), rgba(239, 158, 39, .25)); }
.ev-about--image .ev-eyebrow { color: #fff; }
.ev-about--image .ev-eyebrow::after { background: var(--ev-accent); }
.ev-about--image .ev-heading__title { color: #fff; }
.ev-about--image .ev-heading__title .ev-highlight { color: #7cc8f0; }
.ev-about--image .ev-lead { color: #fff; }
.ev-about--image .ev-about__content p { color: rgba(255, 255, 255, .85); }
.ev-about--image .ev-checklist li { color: #fff; }
.ev-about--image .ev-checklist .ev-icon { background: rgba(255, 255, 255, .14); color: var(--ev-accent); }
