/* ==========================================================================
   CLASS 3 — NEEV BATCH — AARSH INSTITUTE
   Page-scoped styles. Every class namespaced with `class3-`.
   DARK MODE PALETTE
   Tokens:
     --c3-bg          #0F141C   base page background (deep warm navy-black)
     --c3-surface     #171F2B   alternate section surface
     --c3-surface-2   #1E2836   elevated card surface
     --c3-blue        #6FB6E0   accent — pastel blue, brightened for dark bg
     --c3-sky         #4FA6D6   accent — sky blue (deeper)
     --c3-yellow      #F0C670   accent — soft yellow
     --c3-mint        #6FCDAE   accent — mint green
     --c3-orange      #FF9B54   accent — orange (CTA / energy)
     --c3-navy        #F5F1E8   primary text (warm off-white)
     --c3-navy-soft   #A9B4C2   secondary text
     --c3-sec-blue/mint/yellow/sky  dark-tinted full-bleed section backgrounds
   Type:
     Display  — "Fredoka"  (rounded, warm, premium-playful)
     Body     — "Inter"
     Utility  — "Poppins"  (badges / eyebrows / labels)
   ========================================================================== */

.class3-page {
  --c3-bg: #0F141C;
  --c3-surface: #171F2B;
  --c3-surface-2: #1E2836;
  --c3-blue: #6FB6E0;
  --c3-sky: #4FA6D6;
  --c3-yellow: #F0C670;
  --c3-mint: #6FCDAE;
  --c3-orange: #FF9B54;
  --c3-orange-deep: #FF7A38;
  --c3-navy: #F5F1E8;
  --c3-navy-soft: #A9B4C2;
  --c3-sec-blue: #13273A;
  --c3-sec-mint: #10241D;
  --c3-sec-yellow: #241C0E;
  --c3-sec-sky: #0F2230;
  --c3-border: rgba(255, 255, 255, 0.08);
  --c3-radius-lg: 32px;
  --c3-radius-md: 22px;
  --c3-radius-sm: 14px;
  --c3-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  --c3-shadow-soft: 0 14px 34px -14px rgba(0, 0, 0, 0.5);
  --c3-ease: cubic-bezier(.22, 1, .36, 1);

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c3-navy);
  background: var(--c3-bg);
  overflow-x: clip;
}

.class3-page * { box-sizing: border-box; }

.class3-page h1,
.class3-page h2,
.class3-page h3 {
  font-family: 'Fredoka', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--c3-navy);
}

.class3-page p { margin: 0; line-height: 1.65; color: var(--c3-navy-soft); }

.class3-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.class3-page section { padding: 96px 0; position: relative; }

/* Eyebrow / labels */
.class3-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c3-orange);
  background: rgba(255, 155, 84, .14);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.class3-eyebrow--center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.class3-section-title--center { text-align: center; max-width: 720px; margin: 0 auto 18px; font-size: clamp(28px, 3.4vw, 42px); }
.class3-section-lead { text-align: center; max-width: 620px; margin: 0 auto 40px; font-size: 17px; }

/* Buttons */
.class3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .35s var(--c3-ease), box-shadow .35s var(--c3-ease), background .35s var(--c3-ease);
  cursor: pointer;
  border: none;
}
.class3-btn--primary {
  background: linear-gradient(135deg, var(--c3-orange), var(--c3-orange-deep));
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(255, 122, 56, .5);
}
.class3-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(255, 122, 56, .6); }
.class3-btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--c3-navy);
  border: 1.5px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.class3-btn--ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.class3-btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.class3-btn--outline-light:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }

.class3-link-arrow {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--c3-orange);
  text-decoration: none;
}

/* ==========================================================================
   01 — HERO
   ========================================================================== */
.class3-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  isolation: isolate;
}

.class3-hero__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.class3-hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(111,182,224,.22), transparent 60%),
    radial-gradient(50% 45% at 85% 15%, rgba(240,198,112,.20), transparent 60%),
    radial-gradient(55% 50% at 60% 90%, rgba(111,205,174,.18), transparent 60%),
    var(--c3-bg);
  background-size: 200% 200%;
  animation: class3GradientShift 18s ease-in-out infinite;
}
@keyframes class3GradientShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.class3-hero__rainbow {
  position: absolute; top: -120px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 26px solid transparent;
  border-top-color: var(--c3-orange);
  border-right-color: var(--c3-yellow);
  border-bottom-color: var(--c3-mint);
  border-left-color: var(--c3-sky);
  opacity: .3;
  transform: rotate(-20deg);
}

.class3-hero__cloud {
  position: absolute;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  filter: blur(.5px);
}
.class3-hero__cloud--1 { width: 160px; height: 54px; top: 18%; left: 6%; }
.class3-hero__cloud--2 { width: 120px; height: 44px; top: 62%; left: 2%; }
.class3-hero__cloud--3 { width: 100px; height: 38px; top: 12%; right: 12%; }

.class3-hero__plane {
  position: absolute; top: 30%; left: 8%;
  width: 70px; height: 70px;
  will-change: transform;
}

.class3-hero__float { position: absolute; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.class3-hero__float--book1 { top: 20%; left: 30%; }
.class3-hero__float--book2 { top: 68%; left: 22%; }
.class3-hero__float--globe { top: 12%; right: 30%; }
.class3-hero__float--puzzle { top: 72%; right: 18%; }
.class3-hero__float--science { top: 42%; right: 6%; }

.class3-hero__badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto 22px; padding: 0 28px;
}
.class3-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
  padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.class3-badge--neev { background: rgba(111,182,224,.2); color: #BFE3F5; border: 1px solid rgba(111,182,224,.45); }
.class3-badge--class { background: rgba(240,198,112,.2); color: #F6DFA6; border: 1px solid rgba(240,198,112,.45); }
.class3-badge--admission { background: rgba(255,155,84,.18); color: var(--c3-orange); border: 1px solid rgba(255,155,84,.45); }

.class3-hero__content { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.class3-hero__title { font-size: clamp(38px, 6vw, 74px); max-width: 780px; }
.class3-hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin-top: 22px; }
.class3-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

.class3-hero__glass-cards {
  max-width: 1240px; margin: 60px auto 0; padding: 0 28px;
  position: relative; display: flex; justify-content: flex-end;
}
.class3-glass-card {
  border-radius: var(--c3-radius-lg);
  overflow: hidden;
  box-shadow: var(--c3-shadow);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
}
.class3-glass-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.class3-glass-card--small { position: absolute; padding: 14px; display: flex; align-items: center; justify-content: center; }
.class3-glass-card--laptop { bottom: -20px; left: 6%; width: 150px; height: 120px; }
.class3-glass-card--book { top: -30px; left: 30%; width: 120px; height: 120px; }

.class3-hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--c3-navy-soft); border-radius: 999px;
}
.class3-hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 999px; background: var(--c3-orange);
  animation: class3ScrollDot 1.8s ease-in-out infinite;
}
@keyframes class3ScrollDot { 0% { top: 8px; opacity: 1; } 70% { top: 22px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ==========================================================================
   02 — ABOUT
   ========================================================================== */
.class3-about { background: var(--c3-surface); }
.class3-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.class3-about__media { position: relative; }
.class3-about__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }
.class3-about__ring {
  position: absolute; top: -24px; right: -24px; width: 110px; height: 110px;
  border: 14px solid var(--c3-yellow); border-radius: 50%; opacity: .5; z-index: -1;
}
.class3-about h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.class3-about__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.class3-about__points li {
  padding-left: 28px; position: relative; color: var(--c3-navy-soft); font-weight: 500;
}
.class3-about__points li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--c3-mint);
}




/* ==========================================================================
   03 — WHY CLASS 3
========================================================================== */

.class3-whyage{
    background:var(--c3-bg);
}

.class3-whyage .class3-container{
    max-width:1200px;
    margin:0 auto;
}

.class3-whyage .class3-eyebrow--center{
    display:table;
    margin:0 auto 18px;
}

.class3-whyage .class3-section-title--center{

    width:100%;
    max-width:760px;

    margin:0 auto 20px;

    text-align:center;

    font-size:clamp(34px,4vw,58px);

    line-height:1.15;

}

.class3-whyage .class3-section-lead{

    width:100%;
    max-width:720px;

    margin:0 auto 55px;

    text-align:center;

    font-size:18px;

    line-height:1.8;

}

.class3-whyage__timeline{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

    margin-top:20px;

    position:relative;

}

.class3-whyage__timeline::before{

    content:"";

    position:absolute;

    top:10px;

    left:8%;

    right:8%;

    height:2px;

    background:repeating-linear-gradient(
        90deg,
        var(--c3-sky) 0 10px,
        transparent 10px 20px
    );

}

.class3-whyage__point{

    position:relative;

    padding-top:34px;

    text-align:center;

}

.class3-whyage__dot{

    position:absolute;

    top:0;

    left:50%;

    transform:translateX(-50%);

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--c3-orange);

    border:4px solid var(--c3-bg);

    box-shadow:var(--c3-shadow-soft);

}

.class3-whyage__point h3{

    font-size:19px;

    margin-bottom:10px;

}


/* ==========================================================================
   04 — WHY AARSH INSTITUTE
========================================================================== */

.class3-whyus{

    background:var(--c3-surface);

}

.class3-whyus .class3-container{

    max-width:1240px;

    margin:0 auto;

}

.class3-whyus .class3-eyebrow--center{

    display:table;

    margin:0 auto 18px;

}

.class3-whyus .class3-section-title--center{

    width:100%;

    max-width:760px;

    margin:0 auto 55px;

    text-align:center;

    font-size:clamp(34px,4vw,56px);

    line-height:1.15;

}

.class3-whyus__grid{

    display:grid;

    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:28px;

    align-items:stretch;

}

.class3-whyus__card{

    background:var(--c3-surface-2);

    border:1px solid var(--c3-border);

    border-radius:26px;

    padding:36px 26px;

    text-align:center;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    transition:
        transform .35s var(--c3-ease),
        box-shadow .35s var(--c3-ease),
        border-color .35s var(--c3-ease);

    min-height:280px;

}

.class3-whyus__card:hover{

    transform:translateY(-8px);

    border-color:rgba(255,155,84,.45);

    box-shadow:0 22px 50px rgba(0,0,0,.35);

}

.class3-whyus__card img{

    width:60px;

    height:60px;

    object-fit:contain;

    margin-bottom:22px;

}

.class3-whyus__card h3{

    font-size:22px;

    line-height:1.3;

    margin-bottom:14px;

}

.class3-whyus__card p{

    font-size:15px;

    line-height:1.8;

    color:var(--c3-navy-soft);

}

@media (max-width:991px){

    .class3-whyus__grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:767px){

    .class3-whyus .class3-section-title--center{

        margin-bottom:40px;

    }

    .class3-whyus__grid{

        grid-template-columns:1fr;

    }

    .class3-whyus__card{

        min-height:auto;

    }

}
/* ==========================================================================
   05 — PARENT TRUST
   ========================================================================== */
.class3-trust { background: var(--c3-sec-blue); }
.class3-trust__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.class3-trust h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.class3-trust__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }


/* ==========================================================================
   06 — HOLISTIC WHEEL
   ========================================================================== */
.class3-holistic { background: var(--c3-surface); text-align: center; }
.class3-holistic__wheel {
  position: relative; width: 420px; height: 420px; margin: 40px auto 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c3-blue), var(--c3-mint), var(--c3-yellow), var(--c3-orange), var(--c3-sky), var(--c3-blue));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 80px -20px rgba(111,182,224,.35);
}
.class3-holistic__center {
  width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: var(--c3-shadow-soft);
  display: flex; align-items: center; justify-content: center; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px;
  color: #16202C;
}
.class3-holistic__seg {
  position: absolute; width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
  box-shadow: var(--c3-shadow-soft); text-align: center; padding: 6px; color: #16202C;
}
.class3-holistic__seg--1 { top: -10px; left: 50%; transform: translateX(-50%); }
.class3-holistic__seg--2 { top: 22%; right: -12px; }
.class3-holistic__seg--3 { bottom: 22%; right: -12px; }
.class3-holistic__seg--4 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.class3-holistic__seg--5 { bottom: 22%; left: -12px; }
.class3-holistic__seg--6 { top: 22%; left: -12px; }

.class3-holistic .class3-section-title--center{
    white-space:nowrap;
}




/* ==========================================================================
   07 — METHOD
   ========================================================================== */
.class3-method { background: var(--c3-bg); }
.class3-method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
.class3-method__step { background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 30px 22px; box-shadow: var(--c3-shadow-soft); }
.class3-method__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--c3-orange); color: #fff; font-family: 'Fredoka', sans-serif; font-weight: 600; margin-bottom: 14px;
}
.class3-method__step h3 { font-size: 18px; margin-bottom: 8px; }

/* ==========================================================================
   08–09 — SUBJECT SPLIT LAYOUTS (English / Hindi / EVS)
   ========================================================================== */
.class3-subject { background: var(--c3-surface); }
.class3-subject__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.class3-subject--split-right .class3-subject__grid { direction: rtl; }
.class3-subject--split-right .class3-subject__copy,
.class3-subject--split-right .class3-subject__media { direction: ltr; }
.class3-subject__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }
.class3-subject h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }

/* ==========================================================================
   10 — MATHEMATICS
   ========================================================================== */
.class3-math { background: var(--c3-sec-mint); }
.class3-math__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 20px; }
.class3-math__card { background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-lg); overflow: hidden; box-shadow: var(--c3-shadow-soft); }
.class3-math__card img { width: 100%; display: block; }
.class3-math__list { display: grid; gap: 20px; }
.class3-math__item { background: rgba(255,255,255,.05); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-sm); padding: 20px 22px; }
.class3-math__item h3 { font-size: 17px; margin-bottom: 6px; }

/* ==========================================================================
   12 — GK CARDS
   ========================================================================== */
.class3-gk { background: var(--c3-surface); }
.class3-gk__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 16px; }
.class3-gk__card {
  text-align: center; background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 28px 16px;
}
.class3-gk__card h3 { font-size: 15.5px; margin-top: 12px; }

/* ==========================================================================
   13 — READING
   ========================================================================== */
.class3-reading { background: var(--c3-sec-yellow); }
.class3-reading__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.class3-reading__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }
.class3-reading h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }

/* ==========================================================================
   14 — WRITING
   ========================================================================== */
.class3-writing { background: var(--c3-surface); }
.class3-writing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.class3-writing__card {
  border: 1.5px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 30px 24px; background: rgba(255,255,255,.02);
}
.class3-writing__card h3 { font-size: 18px; margin-bottom: 8px; }

/* ==========================================================================
   15 — GRAMMAR
   ========================================================================== */
.class3-grammar { background: var(--c3-bg); }
.class3-grammar__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.class3-grammar__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }

/* ==========================================================================
   16 — SPEAKING
   ========================================================================== */
.class3-speaking { background: var(--c3-sec-sky); text-align: center; }
.class3-speaking h2, .class3-speaking .class3-section-lead { color: var(--c3-navy); }
.class3-speaking__media { margin-top: 30px; border-radius: var(--c3-radius-lg); overflow: hidden; box-shadow: var(--c3-shadow); }
.class3-speaking__media img { width: 100%; display: block; }

/* ==========================================================================
   17 — LOGICAL THINKING
   ========================================================================== */
.class3-logic { background: var(--c3-surface); }
.class3-logic__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.class3-logic__media { background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-lg); display: flex; align-items: center; justify-content: center; padding: 40px; }

/* ==========================================================================
   18 — CRITICAL THINKING
   ========================================================================== */
.class3-critical { background: var(--c3-sec-blue); }
.class3-critical__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }
.class3-critical__card { background: rgba(255,255,255,.05); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 28px 22px; backdrop-filter: blur(6px); }
.class3-critical__card h3 { font-size: 18px; margin-bottom: 8px; }

/* ==========================================================================
   19 — SCIENCE ACTIVITIES
   ========================================================================== */
.class3-science { background: var(--c3-surface); }
.class3-science__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.class3-science__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }

/* ==========================================================================
   20 — ART & CREATIVITY (masonry)
   ========================================================================== */
.class3-art { background: var(--c3-bg); }
.class3-art__masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.class3-art__tile { border-radius: var(--c3-radius-md); overflow: hidden; box-shadow: var(--c3-shadow-soft); border: 1px solid var(--c3-border); }
.class3-art__tile:nth-child(2) { margin-top: 40px; }
.class3-art__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   21 — SMART CLASSROOM
   ========================================================================== */
.class3-smartclass { background: #0A0E14; color: #fff; }
.class3-smartclass h2, .class3-smartclass p { color: #fff; }
.class3-smartclass p { color: rgba(255,255,255,.7); }
.class3-smartclass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.class3-smartclass__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }

/* ==========================================================================
   22 — ACTIVITY BASED LEARNING
   ========================================================================== */
.class3-activity { background: var(--c3-surface); text-align: center; }
.class3-activity__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 16px; }
.class3-activity__pill {
  background: var(--c3-mint); color: #103326; font-weight: 600; font-size: 14.5px;
  padding: 12px 26px; border-radius: 999px;
}

/* ==========================================================================
   23 — OLYMPIAD
   ========================================================================== */
.class3-olympiad { background: var(--c3-sec-yellow); }
.class3-olympiad__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.class3-olympiad__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }

/* ==========================================================================
   24 — CODING AWARENESS
   ========================================================================== */
.class3-coding { background: var(--c3-surface); text-align: center; }
.class3-coding__media { margin-top: 24px; display: flex; justify-content: center; }
.class3-coding__media img { background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-lg); padding: 34px; }

/* ==========================================================================
   25 — LIBRARY
   ========================================================================== */
.class3-library { background: var(--c3-bg); }
.class3-library__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.class3-library__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }

/* ==========================================================================
   26 — REPORTS
   ========================================================================== */
.class3-reports { background: var(--c3-surface); }
.class3-reports__card { max-width: 640px; margin: 24px auto 0; background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-lg); padding: 36px; }
.class3-reports__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; font-weight: 600; font-size: 14.5px; }
.class3-reports__bar { flex: 1; max-width: 260px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.class3-reports__bar i { display: block; height: 100%; width: 70%; border-radius: 999px; background: linear-gradient(90deg, var(--c3-sky), var(--c3-mint)); }
.class3-reports__note { margin-top: 8px; font-size: 12.5px; font-style: italic; }

/* ==========================================================================
   27 — PTM
   ========================================================================== */
.class3-ptm { background: var(--c3-sec-blue); }
.class3-ptm__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.class3-ptm__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: var(--c3-shadow-soft); }

/* ==========================================================================
   28 — SAFETY
   ========================================================================== */
.class3-safety { background: var(--c3-surface); }
.class3-safety__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.class3-safety__item {
  background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 30px 22px; text-align: center;
}
.class3-safety__item p { margin-top: 12px; font-weight: 500; color: var(--c3-navy); }

/* ==========================================================================
   29 — GALLERY (horizontal scroll strip)
   ========================================================================== */
.class3-gallery { background: var(--c3-bg); }
.class3-gallery__strip {
  display: flex; gap: 20px; margin-top: 24px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.class3-gallery__strip img {
  width: 320px; height: 240px; object-fit: cover; border-radius: var(--c3-radius-md);
  flex: none; scroll-snap-align: start; box-shadow: var(--c3-shadow-soft);
}

/* ==========================================================================
   30 — DAILY JOURNEY
   ========================================================================== */
.class3-daily { background: var(--c3-surface); }
.class3-daily__timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 20px; }
.class3-daily__stop {
  background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-sm); padding: 22px 16px; text-align: center;
  position: relative;
}
.class3-daily__stop h3 { font-size: 15.5px; margin-bottom: 6px; }
.class3-daily__stop p { font-size: 13px; }

/* ==========================================================================
   31 — RESOURCES
   ========================================================================== */
.class3-resources { background: var(--c3-sec-sky); }
.class3-resources__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 16px; }
.class3-resources__card {
  background: rgba(255,255,255,.06); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-md); padding: 26px 18px; text-align: center; font-weight: 600;
}

/* ==========================================================================
   32 — FAQ
   ========================================================================== */
.class3-faq { background: var(--c3-bg); }
.class3-faq__wrap { max-width: 780px; }
.class3-faq__list { margin-top: 12px; display: grid; gap: 14px; }
.class3-faq__item { background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-sm); box-shadow: var(--c3-shadow-soft); overflow: hidden; }
.class3-faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15.5px; color: var(--c3-navy);
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.class3-faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.class3-faq__icon::before, .class3-faq__icon::after {
  content: ''; position: absolute; background: var(--c3-orange); border-radius: 2px; transition: transform .3s var(--c3-ease);
}
.class3-faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.class3-faq__icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.class3-faq__q[aria-expanded="true"] .class3-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.class3-faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--c3-ease); padding: 0 22px; }
.class3-faq__a p { padding-bottom: 20px; font-size: 14.5px; }
.class3-faq__item.is-open .class3-faq__a { max-height: 220px; }

/* ==========================================================================
   33 — ADMISSION FORM
   ========================================================================== */
.class3-admission { background: var(--c3-surface); }
.class3-admission__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.class3-admission__intro h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.class3-admission__form {
  background: var(--c3-surface-2); border: 1px solid var(--c3-border); border-radius: var(--c3-radius-lg); padding: 36px; display: grid; gap: 18px;
}
.class3-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.class3-form__field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--c3-navy); }
.class3-form__field input,
.class3-form__field select,
.class3-form__field textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; padding: 13px 16px; border-radius: var(--c3-radius-sm);
  border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--c3-navy); outline: none;
  transition: border-color .3s var(--c3-ease), box-shadow .3s var(--c3-ease);
}
.class3-form__field select option { background: var(--c3-surface-2); color: var(--c3-navy); }
.class3-form__field input::placeholder,
.class3-form__field textarea::placeholder { color: rgba(169,180,194,.6); }
.class3-form__field input:focus,
.class3-form__field select:focus,
.class3-form__field textarea:focus {
  border-color: var(--c3-orange); box-shadow: 0 0 0 4px rgba(255,155,84,.18);
}
.class3-form__status { font-size: 14px; font-weight: 600; min-height: 20px; color: #4CD37A; }

/* ==========================================================================
   34 — CONTACT
   ========================================================================== */
.class3-contact { background: var(--c3-sec-mint); }
.class3-contact__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.class3-contact__card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(14px); border-radius: var(--c3-radius-lg);
  padding: 36px; border: 1px solid rgba(255,255,255,.12);
}
.class3-contact__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.class3-contact__list li { display: grid; gap: 2px; }
.class3-contact__list strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--c3-orange); }
.class3-contact__list span { font-size: 15px; color: var(--c3-navy); }
.class3-contact__social { display: flex; gap: 10px; margin-top: 26px; }
.class3-social-icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--c3-surface-2); border: 1px solid var(--c3-border); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--c3-navy); text-decoration: none; box-shadow: var(--c3-shadow-soft);
  transition: transform .3s var(--c3-ease), background .3s var(--c3-ease);
}
.class3-social-icon:hover { transform: translateY(-3px); background: var(--c3-orange); color: #fff; }
.class3-contact__map { border-radius: var(--c3-radius-lg); overflow: hidden; box-shadow: var(--c3-shadow-soft); border: 1px solid var(--c3-border); }
.class3-contact__map img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   35 — FINAL CTA
   ========================================================================== */
.class3-finalcta {
  background: linear-gradient(180deg, #142234, #090D13);
  color: #fff; overflow: hidden; padding: 110px 0;
}
.class3-finalcta__sky { position: absolute; inset: 0; z-index: 0; }
.class3-finalcta__stars {
  position: absolute; inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, #fff, transparent);
  opacity: .7;
}
.class3-finalcta__rainbow {
  position: absolute; bottom: -180px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  border: 22px solid transparent;
  border-top-color: var(--c3-orange); border-right-color: var(--c3-yellow);
  border-bottom-color: var(--c3-mint); border-left-color: var(--c3-sky);
  opacity: .22;
}
.class3-finalcta__cloud { position: absolute; background: rgba(255,255,255,.08); border-radius: 999px; }
.class3-finalcta__cloud--1 { width: 180px; height: 60px; top: 14%; left: 8%; }
.class3-finalcta__cloud--2 { width: 130px; height: 46px; bottom: 20%; right: 10%; }
.class3-finalcta__float { position: absolute; opacity: .9; }
.class3-finalcta__float--book1 { top: 24%; right: 20%; }
.class3-finalcta__float--book2 { bottom: 26%; left: 16%; }
.class3-finalcta__wrap { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.class3-finalcta__media img { width: 100%; border-radius: var(--c3-radius-lg); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.class3-finalcta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
.class3-finalcta p { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 30px; }
.class3-finalcta__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   REVEAL / SCROLL ANIMATION HOOKS (state set by JS)
   ========================================================================== */
[data-class3-reveal] { opacity: 0; transform: translateY(26px); }
[data-class3-reveal].is-visible { opacity: 1; transform: translateY(0); transition: opacity .8s var(--c3-ease), transform .8s var(--c3-ease); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .class3-page *, .class3-page *::before, .class3-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HIGH CONTRAST / FOCUS
   ========================================================================== */
.class3-page a:focus-visible,
.class3-page button:focus-visible,
.class3-page input:focus-visible,
.class3-page select:focus-visible,
.class3-page textarea:focus-visible {
  outline: 3px solid var(--c3-orange);
  outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .class3-whyus__grid,
  .class3-method__steps,
  .class3-gk__cards,
  .class3-daily__timeline,
  .class3-resources__grid { grid-template-columns: repeat(2, 1fr); }
  .class3-hero__glass-cards { justify-content: center; }
}

@media (max-width: 860px) {
  .class3-page section { padding: 72px 0; }
  .class3-about__grid,
  .class3-trust__wrap,
  .class3-subject__grid,
  .class3-math__grid,
  .class3-reading__grid,
  .class3-grammar__grid,
  .class3-logic__grid,
  .class3-science__grid,
  .class3-smartclass__grid,
  .class3-olympiad__grid,
  .class3-library__grid,
  .class3-ptm__grid,
  .class3-admission__wrap,
  .class3-contact__wrap,
  .class3-finalcta__wrap {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
  .class3-whyus__grid,
  .class3-critical__cards,
  .class3-writing__grid,
  .class3-safety__grid,
  .class3-art__masonry { grid-template-columns: 1fr 1fr; }
  .class3-whyage__timeline { grid-template-columns: 1fr; }
  .class3-whyage__timeline::before { display: none; }
  .class3-holistic__wheel { width: 300px; height: 300px; }
  .class3-holistic__seg { width: 76px; height: 76px; font-size: 11.5px; }
  .class3-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .class3-whyus__grid,
  .class3-gk__cards,
  .class3-method__steps,
  .class3-critical__cards,
  .class3-writing__grid,
  .class3-safety__grid,
  .class3-art__masonry,
  .class3-daily__timeline,
  .class3-resources__grid { grid-template-columns: 1fr; }
  .class3-art__tile:nth-child(2) { margin-top: 0; }
  .class3-hero { padding-top: 120px; }
  .class3-hero__glass-cards { display: none; }
}

/* ===========================
   THANK YOU MODAL ONLY
=========================== */

.thankyou-modal{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.7);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}

.thankyou-modal.active{
    opacity:1;
    visibility:visible;
}

.thankyou-box{
    width:100%;
    max-width:500px;
    background:#1e2836;
    border-radius:24px;
    padding:35px;
    text-align:center;
    position:relative;
}

.thankyou-close{
    position:absolute;
    top:15px;
    right:18px;
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.thankyou-icon{
    width:80px;
    height:80px;
    border-radius:50%;
    background:#22c55e;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:36px;
    margin:0 auto 20px;
}

.thankyou-social{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin:30px 0;
}

.thankyou-social-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    height:48px;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
}

.whatsapp{background:#25D366;}
.instagram{background:#E4405F;}
.facebook{background:#1877F2;}
.youtube{background:#FF0000;}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:992px){

.class3-form{

grid-template-columns:1fr;

padding:35px;

}

.class3-field--full{

grid-column:auto;

}

}

@media(max-width:768px){

.class3-form{

padding:25px;

gap:22px;

border-radius:22px;

}

.thankyou-box{

padding:35px 22px;

}

.thankyou-social{

grid-template-columns:1fr;

}

}

@media(max-width:576px){

.class3-form{

padding:20px;

}

.thankyou-box h2{

font-size:28px;

}

.thankyou-icon{

width:75px;
height:75px;

font-size:34px;

}

}



/* ==========================================================
   CLASS 3 FORM (PART 1)
========================================================== */

.class3-form{

    width:100%;
    max-width:1100px;

    margin:40px auto 0;

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:24px;

}

.class3-field{

    display:flex;
    flex-direction:column;

    gap:10px;

    min-width:0;

}

.class3-field--full{

    grid-column:1/-1;

}

.class3-field label{

    display:block;

    font-size:15px;

    font-weight:600;

    color:#F5F1E8;

    margin:0;

}

.class3-field input,
.class3-field textarea{

    width:100%;

    border:none;

    outline:none;

    border-radius:18px;

    padding:18px 20px;

    background:#1E2836;

    color:#fff;

    font-size:15px;

    font-family:inherit;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s ease;

    box-sizing:border-box;

}

.class3-field textarea{

    resize:vertical;

    min-height:160px;

}

.class3-field input::placeholder,
.class3-field textarea::placeholder{

    color:#9CA9B8;

}

.class3-field input:focus,
.class3-field textarea:focus{

    border-color:#FF9B54;

    box-shadow:0 0 0 4px rgba(255,155,84,.15);

    background:#243244;

}

.class3-field input[readonly]{

    cursor:not-allowed;

    background:#192230;

    color:#D8D8D8;

}

.class3-form-note{

    grid-column:1/-1;

    font-size:14px;

    color:#A9B4C2;

    line-height:1.8;

}

/* ==========================================================
   CLASS 3 FORM (PART 2)
========================================================== */

#submitBtn{

    grid-column:1/-1;

    width:100%;

    height:62px;

    border:none;

    outline:none;

    border-radius:999px;

    background:linear-gradient(135deg,#FF9B54,#FF7A38);

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.35s ease;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    box-shadow:0 18px 40px rgba(255,122,56,.28);

}

#submitBtn:hover{

    transform:translateY(-3px);

    box-shadow:0 24px 50px rgba(255,122,56,.40);

}

#submitBtn:disabled{

    opacity:.75;

    cursor:not-allowed;

}

#submitBtn.loading{

    pointer-events:none;

}

#submitBtn.loading::after{

    content:"";

    width:18px;

    height:18px;

    border-radius:50%;

    border:3px solid rgba(255,255,255,.30);

    border-top-color:#fff;

    animation:class3Spinner .7s linear infinite;

}

@keyframes class3Spinner{

    to{

        transform:rotate(360deg);

    }

}

#btnText{

    display:flex;

    align-items:center;

    justify-content:center;

}

#formMessage{

    grid-column:1/-1;

    display:none;

    padding:16px 18px;

    border-radius:14px;

    font-size:15px;

    line-height:1.6;

}

#formMessage.success{

    display:block;

    background:rgba(34,197,94,.15);

    border:1px solid rgba(34,197,94,.35);

    color:#9EF2B5;

}

#formMessage.error{

    display:block;

    background:rgba(239,68,68,.15);

    border:1px solid rgba(239,68,68,.35);

    color:#FFC0C0;

}

@media(max-width:768px){

    .class3-form{

        grid-template-columns:1fr;

        gap:20px;

    }

    .class3-field--full{

        grid-column:auto;

    }

    #submitBtn{

        height:58px;

        font-size:16px;

    }

}

@media(max-width:576px){

    .class3-form{

        margin-top:30px;

    }

    .class3-field input,
    .class3-field textarea{

        padding:16px;

    }

}


/* ==========================================================
   CLASS 3 THANK YOU MODAL
========================================================== */

.thankyou-modal{

    position:fixed;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

    background:rgba(0,0,0,.78);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    z-index:99999;

}

.thankyou-modal.active{

    opacity:1;
    visibility:visible;

}

.thankyou-box{

    width:100%;
    max-width:520px;

    background:#1E2836;

    border-radius:28px;

    padding:42px 34px;

    position:relative;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 35px 80px rgba(0,0,0,.45);

    animation:thankyouPop .35s ease;

}

@keyframes thankyouPop{

    from{

        opacity:0;
        transform:translateY(25px) scale(.95);

    }

    to{

        opacity:1;
        transform:none;

    }

}

.thankyou-close{

    position:absolute;

    top:16px;
    right:16px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#2A3648;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    transition:.3s;

}

.thankyou-close:hover{

    background:#FF5757;

}

.thankyou-icon{

    width:88px;
    height:88px;

    margin:0 auto 22px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#22C55E;

    color:#fff;

    font-size:42px;

    font-weight:700;

}

.thankyou-box h2{

    color:#fff;

    font-size:34px;

    margin-bottom:12px;

}

.thankyou-text{

    color:#DDE4EC;

    line-height:1.7;

    margin-bottom:10px;

}

.thankyou-subtext{

    color:#A9B4C2;

    line-height:1.8;

    font-size:15px;

}

.thankyou-social{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:14px;

    margin:30px 0;

}

.thankyou-social-btn{

    height:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:14px;

    color:#fff;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.thankyou-social-btn:hover{

    transform:translateY(-3px);

}

.whatsapp{

    background:#25D366;

}

.instagram{

    background:#E4405F;

}

.facebook{

    background:#1877F2;

}

.youtube{

    background:#FF0000;

}

#continueBrowsing{

    width:100%;

}

@media(max-width:768px){

    .thankyou-box{

        padding:34px 24px;

    }

    .thankyou-social{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .thankyou-box{

        border-radius:22px;

        padding:30px 20px;

    }

    .thankyou-box h2{

        font-size:28px;

    }

    .thankyou-icon{

        width:72px;
        height:72px;

        font-size:34px;

    }

}

.thankyou-modal,
.thankyou-modal *{
    cursor: default;
}

.thankyou-btn,
.thankyou-close{
    cursor: pointer !important;
}



/* ==========================================================================
   RELATED COURSES
========================================================================== */

.class3-related{

    background:var(--c3-bg);

}

.class3-related .class3-container{

    max-width:1240px;

    margin:0 auto;

}

.class3-related .class3-eyebrow--center{

    display:table;

    margin:0 auto 18px;

}

.class3-related .class3-section-title--center{

    width:100%;

    max-width:760px;

    margin:0 auto 18px;

    text-align:center;

    font-size:clamp(34px,4vw,56px);

    line-height:1.15;

}

.class3-related .class3-section-lead{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

    line-height:1.8;

}

.class3-related__grid{

    display:grid;

    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:28px;

}

.class3-related__card{

    position:relative;

    display:flex;

    flex-direction:column;

    text-decoration:none;

    background:var(--c3-surface-2);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:32px 28px;

    transition:.35s ease;

    overflow:hidden;

}

.class3-related__card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:linear-gradient(90deg,
        var(--c3-blue),
        var(--c3-mint),
        var(--c3-yellow),
        var(--c3-orange));

}

.class3-related__card:hover{

    transform:translateY(-8px);

    border-color:rgba(255,155,84,.35);

    box-shadow:0 22px 55px rgba(0,0,0,.35);

}

.class3-related__number{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:95px;

    height:38px;

    border-radius:999px;

    background:rgba(255,155,84,.12);

    color:var(--c3-orange);

    font-size:14px;

    font-weight:700;

    margin-bottom:22px;

}

.class3-related__card h3{

    color:var(--c3-navy);

    font-size:24px;

    margin-bottom:14px;

    line-height:1.3;

}

.class3-related__card p{

    color:var(--c3-navy-soft);

    line-height:1.8;

    flex:1;

}

.class3-related__link{

    margin-top:24px;

    color:var(--c3-orange);

    font-weight:700;

    font-size:15px;

    transition:.3s;

}

.class3-related__card:hover .class3-related__link{

    transform:translateX(6px);

}

@media(max-width:992px){

    .class3-related__grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .class3-related .class3-section-title--center{

        max-width:100%;

    }

    .class3-related .class3-section-lead{

        margin-bottom:40px;

    }

}

@media(max-width:576px){

    .class3-related__grid{

        grid-template-columns:1fr;

    }

    .class3-related__card{

        padding:28px 22px;

    }

}