/* EDUKASS homepage v3 — umbrella brand with product-specific offers. */
.home-page{
  --home-navy:#17365f;
  --home-deep:#202f67;
  --home-purple:#6549a6;
  --home-mint:#73d9cf;
  --home-yellow:#ffd65c;
  --home-orange:#b44812;
  --home-pink:#bd356c;
  --home-soft:#f3f9fb;
  background:#f7fbfc;
}
.home-page .site-header{background:rgba(255,255,255,.96);box-shadow:0 1px 0 rgba(23,54,95,.08)}
.home-page .header-inner{min-height:76px}
.home-page .brand img{width:58px;height:58px;object-fit:contain;transform:none}
.home-page .brand span{font-size:1.04rem}
.home-nav{gap:30px}
.home-nav a{color:var(--home-navy);font-weight:800}
.home-nav a:first-child{color:#a92f64}
.home-nav a:hover{color:var(--home-purple)}

.home-hero{position:relative;overflow:hidden;padding:66px 0 72px;background:radial-gradient(circle at 12% 20%,rgba(115,217,207,.26),transparent 27%),radial-gradient(circle at 88% 15%,rgba(101,73,166,.14),transparent 25%),linear-gradient(180deg,#fcfeff,#eef8fa)}
.home-hero:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-190px;height:270px;border-radius:50%;background:rgba(101,73,166,.08)}
.home-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);align-items:center;gap:58px}
.home-hero-copy{max-width:680px}
.home-eyebrow{color:var(--home-orange);font-size:.78rem;font-weight:900;letter-spacing:.15em}
.home-hero h1{max-width:720px;margin:13px 0 20px;color:var(--home-navy);font-size:clamp(3.2rem,6.1vw,6rem);line-height:.92;letter-spacing:-.045em}
.home-hero p{max-width:640px;margin:0;color:#536473;font-size:clamp(1.08rem,1.7vw,1.27rem);line-height:1.55}
.home-trust-marks{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}
.home-trust-marks span{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;border:1px solid rgba(23,54,95,.12);border-radius:999px;background:rgba(255,255,255,.78);color:var(--home-navy);font-size:.82rem;font-weight:850;box-shadow:0 5px 14px rgba(23,54,95,.05)}
.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.home-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:999px;text-decoration:none;font-weight:900;transition:transform .18s ease,box-shadow .18s ease}
.home-button:hover{transform:translateY(-2px)}
.home-button-primary{background:var(--home-navy);color:#fff;box-shadow:0 10px 22px rgba(23,54,95,.22)}
.home-button-secondary{color:var(--home-navy);background:#fff;border:1px solid #d5e2e8}
.home-button-yellow{color:var(--home-navy);background:var(--home-yellow);box-shadow:0 8px 0 #e2b832}
.home-hero-visual{position:relative;min-height:440px;border-radius:42px;background:linear-gradient(155deg,#182754,#283a7f 58%,#5d448f);overflow:hidden;box-shadow:0 30px 70px rgba(30,43,88,.24)}
.home-hero-visual:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#fff 1px,transparent 1.5px);background-size:58px 62px;opacity:.34}
.home-hero-visual:after{content:"";position:absolute;left:-12%;right:-12%;bottom:-23%;height:43%;border-radius:50%;background:linear-gradient(180deg,#7356b1,#47337d)}
.home-hero-visual img{position:absolute;z-index:3;left:8%;bottom:-8%;width:52%;filter:drop-shadow(0 17px 12px rgba(4,8,30,.35))}
.home-hero-orbit{position:absolute;border-radius:50%;border:9px solid rgba(255,255,255,.2)}
.home-orbit-one{right:8%;top:11%;width:160px;height:160px;border-color:var(--home-mint) rgba(255,255,255,.18) var(--home-pink) var(--home-yellow);transform:rotate(20deg)}
.home-orbit-two{right:23%;bottom:19%;width:70px;height:70px;border-width:5px;border-color:rgba(255,255,255,.22)}
.home-hero-star{position:absolute;z-index:2;color:var(--home-yellow);filter:drop-shadow(0 0 10px rgba(255,214,92,.52))}
.star-one{right:13%;bottom:25%;font-size:2.3rem}.star-two{left:49%;top:16%;font-size:1.7rem;color:var(--home-mint)}
.home-hero-topic{position:absolute;z-index:4;display:grid;place-items:center;border-radius:18px;background:#fff;color:var(--home-navy);font-weight:950;box-shadow:0 12px 24px rgba(3,8,30,.24)}
.home-topic-language{right:9%;top:15%;width:76px;height:76px;font-size:1.7rem;transform:rotate(7deg)}
.home-topic-math{right:7%;bottom:9%;min-width:112px;min-height:52px;padding:0 16px;font-size:1.15rem;transform:rotate(-3deg)}
.home-topic-discover{left:49%;top:19%;width:47px;height:47px;background:var(--home-yellow);font-size:1.55rem;transform:rotate(-8deg)}

.home-feature{padding:72px 0;background:#fff}
.home-feature-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:0;overflow:hidden;border-radius:34px;background:var(--home-deep);box-shadow:0 24px 60px rgba(23,54,95,.18)}
.home-feature-image{min-height:430px;background:#24346e;overflow:hidden}
.home-feature-image img{width:100%;height:100%;display:block;object-fit:contain;background:#22336e}
.home-feature-copy{padding:50px 46px;display:flex;flex-direction:column;justify-content:center;color:#fff}
.home-kicker{color:var(--home-mint);font-size:.78rem;font-weight:900;letter-spacing:.14em}
.home-feature h2{margin:11px 0 15px;color:#fff;font-size:clamp(2.5rem,4.5vw,4.25rem);line-height:.95}
.home-feature p{margin:18px 0 26px;color:#dce8ff;font-size:1.08rem;line-height:1.55}
.home-facts{display:flex;flex-wrap:wrap;gap:8px}
.home-facts span{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);font-size:.82rem;font-weight:850}
.home-feature-copy .home-button{align-self:flex-start}

.home-new{padding:72px 0;background:linear-gradient(180deg,#f7fbfc,#fff)}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}
.home-section-heading h2{margin:10px 0 0;color:var(--home-navy);font-size:clamp(2.2rem,4vw,3.55rem);line-height:1}
.home-section-heading p{margin:0 0 5px;color:#677783}
.home-new-label{display:inline-flex;padding:7px 13px;border-radius:999px;background:var(--home-pink);color:#fff;font-size:.82rem;font-weight:900;letter-spacing:.08em;box-shadow:0 6px 0 #bd356c}
.home-new-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.home-new-card{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);min-height:330px;overflow:hidden;border:1px solid #dce7eb;border-radius:28px;background:#fff;box-shadow:0 12px 32px rgba(23,54,95,.08)}
.home-new-card-visual{position:relative;min-height:100%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#e7f6ff,#fff4d5)}
.home-new-card-visual>img{width:84%;max-height:285px;object-fit:contain;filter:drop-shadow(0 13px 18px rgba(23,54,95,.17))}
.home-new-card-copy{padding:31px 28px;display:flex;flex-direction:column;justify-content:center}
.home-card-meta{color:var(--home-purple);font-size:.72rem;font-weight:900;letter-spacing:.11em}
.home-new-card h3{margin:9px 0 10px;color:var(--home-navy);font-size:clamp(1.55rem,2.6vw,2.2rem);line-height:1.05}
.home-new-card p{margin:0 0 18px;color:#64727e;line-height:1.5}
.home-text-link{align-self:flex-start;color:var(--home-navy);text-decoration:none;font-weight:900}
.home-text-link:hover{text-decoration:underline}
.home-memory-visual{background:linear-gradient(145deg,#e9f2ff,#fff3d8)}
.home-memory-card{position:absolute;width:39%;aspect-ratio:4/5;border-radius:18px;border:3px solid #fff;display:grid;place-items:center;box-shadow:0 16px 25px rgba(23,54,95,.2)}
.home-memory-card img{width:80%;height:80%;object-fit:contain}
.memory-blue{left:7%;top:17%;background:linear-gradient(145deg,#17365f,#2688d4);transform:rotate(-9deg)}
.memory-white{left:33%;top:27%;background:#fff;transform:rotate(4deg)}
.memory-word{right:5%;top:15%;background:#fff8dc;color:var(--home-navy);font-size:clamp(.8rem,1.2vw,1.1rem);font-weight:900;transform:rotate(9deg)}

.home-principles{padding:68px 0;background:#fff}
.home-section-heading-simple{align-items:center}
.home-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-principle-card{min-height:250px;padding:27px;border:1px solid #dce7eb;border-radius:28px;background:linear-gradient(155deg,#fff,#f4fafb);box-shadow:0 10px 24px rgba(23,54,95,.06)}
.home-principle-card:nth-child(2){background:linear-gradient(155deg,#fff,#fff9e9)}
.home-principle-card:nth-child(3){background:linear-gradient(155deg,#fff,#f5f1ff)}
.home-principle-icon{width:66px;height:66px;margin-bottom:24px;border-radius:21px;display:grid;place-items:center;background:#e5f8f5;color:var(--home-navy);font-size:1.65rem;font-weight:950;box-shadow:0 8px 18px rgba(23,54,95,.08)}
.home-principle-card:nth-child(2) .home-principle-icon{background:#fff1ba}
.home-principle-card:nth-child(3) .home-principle-icon{background:#eee7f8;color:var(--home-purple)}
.home-principle-card h3{margin:0 0 10px;color:var(--home-navy);font-size:1.5rem;line-height:1.13}
.home-principle-card p{margin:0;color:#5d707d;line-height:1.55}

.home-categories{padding:70px 0 82px;background:#f4f9fb}
.home-all-link{color:var(--home-navy);font-weight:900;text-decoration:none}
.home-all-link:hover{text-decoration:underline}
.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.home-category-card{min-height:245px;padding:27px;border-radius:26px;background:#fff;border:1px solid #dce7eb;text-decoration:none;color:var(--home-navy);box-shadow:0 10px 24px rgba(23,54,95,.06);transition:transform .18s ease,box-shadow .18s ease}
.home-category-card:hover{transform:translateY(-4px);box-shadow:0 18px 32px rgba(23,54,95,.11)}
.home-category-icon{width:62px;height:62px;margin-bottom:25px;border-radius:19px;display:grid;place-items:center;font-size:1.5rem;font-weight:900}
.category-language .home-category-icon{background:#e7f7ff;color:#1c6ea4}.category-planning .home-category-icon{background:#e8f8ef;color:#237d51}.category-skills .home-category-icon{background:#fff2df;color:#aa5c13}.category-more .home-category-icon{background:#efe9fb;color:var(--home-purple)}
.home-category-card h3{margin:0 0 10px;font-size:1.45rem;line-height:1.13}
.home-category-card p{margin:0;color:#667782;line-height:1.5}
.home-about{padding:72px 0;background:#fff}
.home-about-card{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:36px;padding:34px 42px;border:1px solid #d8e7eb;border-radius:32px;background:linear-gradient(135deg,#eaf9f6,#f7f2ff 58%,#fff8df);box-shadow:0 16px 38px rgba(23,54,95,.08)}
.home-about-mark{position:relative;height:170px;overflow:hidden;border-radius:28px;background:rgba(255,255,255,.7)}
.home-about-mark img{position:absolute;left:50%;top:-1px;width:132px;transform:translateX(-50%);filter:drop-shadow(0 10px 9px rgba(23,54,95,.15))}
.home-about-wordmark{position:absolute;z-index:2;left:50%;bottom:18px;display:block!important;transform:translateX(-50%);color:var(--home-navy);font-size:1.04rem;font-weight:900;letter-spacing:.04em;line-height:1;white-space:nowrap}
.home-about-wordmark b{color:#44bcb2;text-shadow:0 1px 0 var(--home-navy)}
.home-about-copy h2{margin:8px 0 12px;color:var(--home-navy);font-size:clamp(2rem,3.5vw,3rem);line-height:1}
.home-about-copy p{max-width:780px;margin:0;color:#536875;font-size:1.05rem;line-height:1.6}
.home-about-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.home-about-facts span,.home-about-facts a{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;border-radius:999px;background:#fff;color:var(--home-navy);font-size:.83rem;font-weight:850;text-decoration:none;box-shadow:0 5px 13px rgba(23,54,95,.06)}
.home-about-facts a:hover{text-decoration:underline}
.home-footer{background:#fff}

@media(max-width:980px){
  .home-hero-grid{grid-template-columns:1fr;gap:38px}
  .home-hero-copy{max-width:none}
  .home-hero-visual{min-height:390px}
  .home-feature-card{grid-template-columns:1fr}
  .home-feature-image{min-height:360px}
  .home-new-card{grid-template-columns:1fr}
  .home-new-card-visual{min-height:240px}
  .home-principle-grid{grid-template-columns:1fr}
  .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .home-page .header-inner{min-height:68px}
  .home-page .brand img{width:50px;height:50px}
  .home-nav{display:flex!important;gap:14px;font-size:.82rem}
  .home-hero{padding:42px 0 50px}
  .home-hero h1{font-size:clamp(3rem,14vw,4.6rem)}
  .home-hero-visual{min-height:330px;border-radius:30px}
  .home-topic-language{width:68px;height:68px;font-size:1.5rem}
  .home-topic-math{min-width:102px;min-height:48px;font-size:1rem}
  .home-feature,.home-new,.home-principles,.home-categories,.home-about{padding:50px 0}
  .home-feature-image{min-height:270px}
  .home-feature-copy{padding:32px 24px}
  .home-new-grid{grid-template-columns:1fr}
  .home-section-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .home-category-grid{grid-template-columns:1fr}
  .home-about-card{grid-template-columns:140px minmax(0,1fr);gap:24px;padding:28px}
  .home-about-mark{height:150px}
  .home-about-mark img{top:-2px;width:120px}
  .home-about-wordmark{bottom:15px;font-size:1rem}
}
@media(max-width:520px){
  .home-page .brand span{font-size:.78rem}
  .home-hero{padding:27px 0 32px}
  .home-hero-grid{gap:22px}
  .home-eyebrow{font-size:.68rem;letter-spacing:.1em}
  .home-hero h1{margin:10px 0 14px;font-size:clamp(2.45rem,11.5vw,3.25rem);line-height:.94}
  .home-hero p{font-size:.97rem;line-height:1.45}
  .home-trust-marks{gap:6px;margin-top:15px}
  .home-trust-marks span{min-height:30px;padding:4px 8px;font-size:.7rem}
  .home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
  .home-button{width:100%;min-height:46px;padding:0 12px;font-size:.84rem}
  .home-hero-visual{min-height:210px}
  .home-hero-visual img{width:48%;left:5%;bottom:-12%}
  .home-orbit-one{width:120px;height:120px}
  .home-topic-language{right:8%;top:12%;width:52px;height:52px;border-radius:14px;font-size:1.2rem}
  .home-topic-math{right:6%;bottom:7%;min-width:82px;min-height:38px;padding:0 11px;border-radius:13px;font-size:.82rem}
  .home-topic-discover{left:47%;top:15%;width:36px;height:36px;border-radius:12px;font-size:1.15rem}
  .home-feature-image{min-height:220px}
  .home-new-card-copy{padding:25px 22px}
  .home-principle-card{min-height:0;padding:22px}
  .home-principle-icon{width:56px;height:56px;margin-bottom:18px;border-radius:18px;font-size:1.35rem}
  .home-principle-card h3{font-size:1.35rem}
  .home-about-card{grid-template-columns:1fr;gap:18px;padding:24px}
  .home-about-mark{height:140px}
  .home-about-mark img{top:-5px;width:118px}
  .home-about-wordmark{bottom:13px;font-size:.98rem}
}


/* v105: both main navigation links remain visible on phones. */
@media(max-width:520px){
  .home-page .header-inner{gap:8px;padding-left:12px;padding-right:12px}
  .home-page .brand{gap:6px;flex:0 1 auto;min-width:0}
  .home-page .brand img{width:44px;height:44px;flex:0 0 44px}
  .home-page .brand span{font-size:.78rem;white-space:nowrap}
  .home-nav{display:flex!important;gap:7px;font-size:.64rem;flex:0 0 auto;white-space:nowrap}
  .home-nav a{padding:6px 0}
}
@media(max-width:370px){
  .home-page .brand span{display:none}
  .home-page .brand img{width:40px;height:40px;flex-basis:40px}
  .home-nav{gap:6px;font-size:.64rem}
}

/* v113: use the full cat-and-wordmark lockup on desktop and mobile. */
.home-page .site-header .brand{
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:0;
  line-height:1;
}
.home-page .site-header .brand img{
  width:54px;
  height:54px;
  flex:0 0 54px;
}
.home-page .site-header .brand .brand-name{
  display:block;
  margin-top:-2px;
  font-size:.78rem;
  line-height:1;
  white-space:nowrap;
}
@media(max-width:520px){
  .home-page .site-header .brand img{
    width:44px;
    height:44px;
    flex-basis:44px;
  }
  .home-page .site-header .brand .brand-name{
    display:block;
    font-size:.7rem;
  }
}
@media(max-width:370px){
  .home-page .site-header .brand .brand-name{display:block}
}
