/*
Theme Name: PRENOVA Academy
Description: A responsive theme for PRENOVA Academy, with Tutor LMS integration.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: prenova-academy
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Noto Sans Tamil";
  src: url("assets/noto-sans-tamil.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}
:root {
  --pa-navy: #151133;
  --pa-purple: #5925a8;
  --pa-orange: #ffae56;
  --pa-muted: #584f69;
  --pa-line: #e9e0f1;
  --pa-wash: #f7f3fd;
  --pa-wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--pa-navy);
  background: #fff;
  font: 400 16px/1.65 "Noto Sans Tamil", system-ui, sans-serif;
}
a { color: var(--pa-purple); text-underline-offset: .2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #a34214; outline-offset: 4px; }
.pa-hero :focus-visible, .pa-footer :focus-visible, .pa-utility :focus-visible, .pa-cta :focus-visible { outline-color: #ffd39b; }
img { height: auto; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1, h2 { letter-spacing: -.047em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); margin: 0 0 .65em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.pa-wrap { width: min(var(--pa-wrap), calc(100% - 64px)); margin-inline: auto; }
.pa-skip, .screen-reader-text {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.pa-skip:focus, .screen-reader-text:focus {
  z-index: 99999; clip-path: none; width: auto; height: auto; inset: 12px auto auto 12px;
  background: white; padding: 10px 16px;
}
.pa-utility { background: #17112e; color: #eee5fa; font-size: .8rem; }
.pa-utility-inner, .pa-header-inner, #pa-navigation, #pa-navigation ul, .pa-utility ul {
  display: flex; align-items: center; gap: 22px;
}
.pa-utility-inner { justify-content: space-between; padding-block: 8px; }
.pa-utility ul, #pa-navigation ul, .pa-footer ul, .pa-facts ul { list-style: none; padding: 0; margin-block: 0; }
.pa-utility a, .pa-footer a { color: inherit; }
.pa-utility a, #pa-navigation a, .pa-footer a { text-decoration: none; }
.pa-utility a:hover, #pa-navigation li a:hover, .pa-footer a:hover { text-decoration: underline; }
.pa-utility i, .pa-eyebrow span { display: inline-block; width: 7px; height: 7px; background: var(--pa-orange); border-radius: 50%; margin-inline-end: 9px; vertical-align: .1em; }
.pa-header { background: #fff; border-bottom: 1px solid var(--pa-line); }
.pa-header-inner { justify-content: space-between; min-height: 78px; }
.pa-brand a { display: inline-block; color: var(--pa-navy); font-size: 1.2rem; font-weight: 830; letter-spacing: -.05em; text-decoration: none; }
.pa-brand span { color: var(--pa-purple); font-size: .68rem; letter-spacing: .08em; }
.pa-brand img { display: block; width: auto; max-width: 228px; max-height: 55px; object-fit: contain; }
#pa-navigation { font-size: .88rem; font-weight: 650; }
#pa-navigation li a { color: var(--pa-navy); }
#pa-navigation a[aria-current="page"] { color: var(--pa-purple); text-decoration: underline; text-decoration-thickness: 2px; }
.pa-toggle { display: none; }
.pa-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  padding: 12px 18px; border: 1px solid transparent; border-radius: 10px;
  background: var(--pa-purple); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.4;
  text-decoration: none; text-align: center;
}
.pa-arrow { position: relative; width: .64em; height: .64em; border-top: 1.5px solid; border-right: 1.5px solid; }
.pa-arrow::after { content: ""; position: absolute; width: .8em; right: -.06em; top: -.045em; border-top: 1.5px solid; transform: rotate(-45deg); transform-origin: right; }
.pa-menu-icon { width: 13px; height: 9px; border-block: 1.5px solid; position: relative; }
.pa-menu-icon::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1.5px solid; }
.pa-button:hover { background: #43167e; color: #fff; }
.pa-button-small { padding: 10px 14px; }
.pa-button-orange { background: var(--pa-orange); color: #251236; }
.pa-button-orange:hover { background: #ffd09c; color: #251236; }
.pa-button-outline { background: transparent; border-color: #aa92c7; }
.pa-button-outline:hover { background: #ffffff24; }
.pa-button-light { color: var(--pa-purple); background: #f3eaff; border-color: #e5d6f8; }
.pa-button-light:hover { color: #34126c; background: #e9d9ff; }
.pa-hero {
  background: radial-gradient(ellipse at 90% 15%, #492078 0, transparent 57%), linear-gradient(123deg, #151133, #2b1350);
  color: #fff;
}
.pa-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(30px, 6vw, 86px); padding-block: clamp(56px, 8vw, 110px); }
.pa-eyebrow { color: #f1d8fc; font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.65rem; }
.pa-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); letter-spacing: -.065em; line-height: .99; margin: 0 0 .36em; }
.pa-hero h1 em { color: #d8b5ff; font-style: normal; }
.pa-lede { color: #e8dcf4; font-size: clamp(1.02rem, 1.6vw, 1.19rem); max-width: 32rem; }
.pa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pa-hero-art {
  max-width: 470px; width: 100%; justify-self: end; padding: 12px;
  background: #ffffff18; border: 1px solid #ffffff42; border-radius: 30px;
  box-shadow: 0 22px 60px #0c061e70;
}
.pa-hero-art img { display: block; border-radius: 20px; width: 100%; }
.pa-language {
  position: relative; overflow: hidden; display: grid; align-content: center; gap: 13px;
  padding: clamp(25px, 5vw, 65px); min-height: 320px; border: 1px solid #8c65af;
  border-radius: 24px; background: linear-gradient(145deg, #ffffff13, #ffffff05);
  box-shadow: 0 22px 55px #0c061e3b;
}
.pa-language::after {
  content: ""; position: absolute; aspect-ratio: 1; width: 62%; bottom: -30%; right: -20%;
  border: 1px solid #c09cf088; border-radius: 50%; box-shadow: 0 0 0 21px #c09cf022, 0 0 0 42px #c09cf012;
  pointer-events: none;
}
.pa-language-title { position: relative; z-index: 1; font-size: clamp(2.4rem, 4.7vw, 4.2rem); font-weight: 720; line-height: 1.25; }
.pa-language-title[lang="ta"] { color: #ffd19f; }
.pa-language-divider { width: 52px; height: 2px; background: #ac86dd; }
.pa-facts { border-bottom: 1px solid var(--pa-line); background: #fbf8ff; }
.pa-facts ul { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 20px; }
.pa-facts li { padding: 2px 16px; border-inline-start: 1px solid #e5d9f0; }
.pa-facts li:first-child { border: 0; padding-inline-start: 0; }
.pa-facts strong, .pa-facts span { display: block; }
.pa-facts span { color: var(--pa-muted); font-size: .84rem; }
.pa-section { padding-block: clamp(46px, 7vw, 88px); }
.pa-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.pa-section-heading h2 { margin: 0; }
.pa-programmes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.pa-card { padding: 24px 19px; border: 1px solid var(--pa-line); border-radius: 18px; background: linear-gradient(#faf7ff, #fff 75%); box-shadow: 0 8px 25px #3a1a6410; }
.pa-card h3 { margin: 18px 0 9px; }
.pa-card p, .pa-feature-grid p { margin: 0; color: var(--pa-muted); font-size: .94rem; }
.pa-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #eee1fe; color: var(--pa-purple); }
.pa-card:nth-child(even) .pa-icon { background: #fff0dd; color: #a54110; }
.pa-icon i { display: block; width: 21px; height: 16px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.pa-icon-book i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 8px; border-inline-start: 2px solid; }
.pa-icon-video i::after { content: ""; position: absolute; top: 3px; left: 7px; border: 3px solid transparent; border-inline-start: 6px solid; }
.pa-icon-skills i { border-width: 0 0 2px 2px; border-radius: 0; }
.pa-icon-skills i::after { content: ""; position: absolute; inset: 4px 2px 0 4px; background: currentColor; clip-path: polygon(0 100%, 39% 36%, 61% 60%, 100% 0, 100% 43%, 66% 100%); }
.pa-icon-work i::before { content: ""; position: absolute; inset: -6px 4px auto; height: 5px; border: 2px solid; border-bottom: 0; border-radius: 3px 3px 0 0; }
.pa-home-digital, .pa-page-hero { background: var(--pa-wash); }
.pa-digital-art { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 24px; align-items: center; }
.pa-digital figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--pa-line); background: white; }
.pa-digital figure img { display: block; width: 100%; }
.pa-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
.pa-feature-grid > div { background: #fff; border: 1px solid var(--pa-line); padding: 20px; border-radius: 16px; }
.pa-feature-grid h3 { margin: 0 0 8px; }
.pa-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: clamp(24px, 5vw, 55px); border-radius: 24px; background: linear-gradient(115deg, #1d133a, #4b2174); color: white; }
.pa-cta h2 { margin: 0 0 7px; }
.pa-cta p { margin: 0; color: #f0e3fa; }
.pa-page-hero { padding-block: clamp(36px, 6vw, 76px); border-bottom: 1px solid var(--pa-line); }
.pa-crumb { font-size: .9rem; font-weight: 650; }
.pa-page-hero h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); margin: .17em 0 0; }
.pa-content { padding-block: clamp(35px, 6vw, 68px); min-height: 28vh; }
.pa-content > p, .pa-content > .pa-faq { max-width: 760px; }
.pa-content > p:first-child { font-size: 1.16rem; color: var(--pa-muted); margin-bottom: 24px; }
.pa-content > .pa-programmes, .pa-content > .pa-digital, .pa-content > .pa-poster { margin-block: 26px; }
.pa-note, .pa-faq details { background: var(--pa-wash); border: 1px solid var(--pa-line); padding: 15px 18px; border-radius: 12px; }
.pa-note { max-width: 760px; }
.pa-faq { display: grid; gap: 10px; margin-block: 24px; }
.pa-faq summary { cursor: pointer; font-weight: 700; }
.pa-faq p { margin: 12px 0 0; }
.pa-poster { max-width: 650px; }
.pa-poster img { display: block; border-radius: 18px; }
.pa-footer { background: #17112e; color: #ece2f6; }
.pa-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; padding-block: 42px 30px; }
.pa-footer-grid strong { font-size: 1.18rem; color: #fff; }
.pa-footer-grid p { color: #d9c8e6; max-width: 32ch; margin-top: 8px; }
.pa-footer h2 { font-size: 1rem; letter-spacing: 0; color: white; margin: 3px 0 10px; }
.pa-footer ul { font-size: .9rem; }
.pa-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid #ffffff30; padding-block: 14px; font-size: .83rem; }

@media (max-width: 940px) {
  .pa-wrap { width: min(var(--pa-wrap), calc(100% - 40px)); }
  .pa-header-inner { flex-wrap: wrap; gap: 0; min-height: 65px; }
  .pa-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .5em; border-radius: 8px; padding: 6px 10px; border: 1px solid var(--pa-line); background: #fff; color: var(--pa-navy); cursor: pointer; }
  #pa-navigation { width: 100%; padding: 10px 0 20px; flex-wrap: wrap; gap: 12px; }
  #pa-navigation ul { flex-wrap: wrap; gap: 10px 18px; }
  #pa-navigation.pa-menu-ready:not(.pa-menu-open) { display: none; }
  .pa-programmes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pa-wrap { width: calc(100% - 32px); }
  .pa-utility-inner { flex-wrap: wrap; gap: 3px 12px; }
  .pa-utility ul { flex-wrap: wrap; gap: 2px 12px; }
  .pa-utility a, #pa-navigation li a { display: inline-block; padding-block: 4px; }
  .pa-hero-grid, .pa-digital-art { grid-template-columns: 1fr; }
  .pa-hero-art, .pa-digital figure { justify-self: start; max-width: 330px; }
  .pa-language { min-height: 0; }
  .pa-facts ul { grid-template-columns: repeat(2, 1fr); gap: 12px 6px; }
  .pa-facts li { padding-inline: 10px; }
  .pa-facts li:nth-child(odd) { border: 0; padding-inline-start: 0; }
  .pa-feature-grid { grid-template-columns: 1fr; }
  .pa-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .pa-programmes { grid-template-columns: 1fr; }
  .pa-brand img { max-width: 170px; }
}
