/* Education Hub — modern editorial layout */

:root {
    --edu-navy: #1a2980;
    --edu-blue: #4665BB;
    --edu-ink: #12142a;
    --edu-muted: #5a6078;
    --edu-soft: #f4f6fc;
    --edu-line: rgba(70, 101, 187, 0.12);
    --edu-orange: #ff6b35;
    --edu-radius: 18px;
    --edu-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --edu-sticky-offset: 140px;
}

html {
    scroll-padding-top: var(--edu-sticky-offset);
}

.education-intro,
.edu-section,
.update-timeline,
.tax-lab,
.curriculum,
.webinars,
.resources,
#explore {
    scroll-margin-top: var(--edu-sticky-offset);
}

/* ---------- Hero ---------- */
.education-hero {
    position: relative;
    min-height: min(62vh, 580px);
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.education-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 16, 64, 0.92) 0%, rgba(26, 41, 128, 0.72) 48%, rgba(26, 41, 128, 0.45) 100%),
        url('/assets/images/image about 2.jpg') center/cover no-repeat;
    transform: scale(1.04);
    animation: eduHeroZoom 18s var(--edu-ease) infinite alternate;
}

@keyframes eduHeroZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1.1); }
}

.education-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 90px 40px;
    text-align: center;
    animation: eduFadeUp 0.9s var(--edu-ease) both;
}

@keyframes eduFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.edu-kicker {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
}

.education-hero-content h1 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}

.edu-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
    margin: 0 auto 32px;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.92);
}

.edu-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.edu-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.edu-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    color: #fff !important;
}

/* ---------- Jump nav ---------- */
.edu-jump {
    position: sticky;
    top: 80px;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--edu-line);
}

.edu-jump-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.edu-jump-inner::-webkit-scrollbar {
    display: none;
}

.edu-jump a {
    flex: 0 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--edu-muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.edu-jump a:hover {
    background: rgba(70, 101, 187, 0.1);
    color: var(--edu-blue);
}

/* ---------- Shared ---------- */
.edu-section {
    padding: 40px 90px;
}

.edu-section--soft {
    background: var(--edu-soft);
}

.edu-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.edu-h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.edu-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--edu-muted);
    max-width: 640px;
    margin: 0 auto 24px;
}

.edu-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--edu-blue);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
}

.edu-link:hover {
    color: var(--edu-navy);
}

.edu-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.edu-link:hover i {
    transform: translateX(3px);
}

.edu-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1.5px solid var(--edu-blue);
    color: var(--edu-blue) !important;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.edu-btn-outline:hover {
    background: var(--edu-blue);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---------- Intro ---------- */
.education-intro {
    padding: 36px 90px 20px;
    background: #fff;
    text-align: left;
}

.education-intro-container {
    max-width: 760px;
    margin: 0 auto;
}

.education-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--edu-blue);
    margin-bottom: 14px;
}

.education-intro h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.education-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: var(--edu-muted);
    margin: 0;
}

/* ---------- Bento tiles (client updates) ---------- */
.edu-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 8px;
    text-align: left;
}

.edu-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--edu-line);
    border-radius: var(--edu-radius);
    padding: 28px 26px;
    transition: border-color 0.25s ease, transform 0.25s var(--edu-ease), box-shadow 0.25s ease;
}

.edu-tile:hover {
    border-color: rgba(70, 101, 187, 0.28);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(26, 41, 128, 0.08);
}

.edu-tile--accent {
    background: linear-gradient(160deg, #fff 0%, #eef2ff 100%);
    border-color: rgba(70, 101, 187, 0.22);
}

.edu-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(70, 101, 187, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.edu-tile-icon i {
    font-size: 20px;
    color: var(--edu-blue);
}

.edu-tile h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--edu-ink);
    margin: 0;
}

.edu-tile p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--edu-muted);
    margin: 0 0 8px;
}

/* Soften shared content-section cards if still used */
#client-updates .page-kicker {
    margin-bottom: 10px;
}

/* ---------- Tax Lab ---------- */
.tax-lab {
    padding: 28px 90px 40px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(70, 101, 187, 0.1), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(255, 107, 53, 0.08), transparent 50%),
        #fff;
}

.tax-lab-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tax-lab-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 28px 36px;
    align-items: center;
    margin-bottom: 28px;
}

.tax-lab-content {
    text-align: left;
}

.tax-lab-media {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--edu-line);
    box-shadow: 0 18px 40px rgba(26, 41, 128, 0.12);
    background: var(--edu-soft);
    aspect-ratio: 4 / 5;
    max-height: 520px;
}

.tax-lab-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tax-lab-badge {
    display: inline-block;
    background: rgba(70, 101, 187, 0.1);
    color: var(--edu-blue);
    padding: 7px 14px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tax-lab h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--edu-navy);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.tax-lab-tagline {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--edu-blue);
    margin: 0 0 22px;
    font-weight: 500;
}

.tax-lab-content > p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--edu-muted);
    max-width: 720px;
    margin: 0;
}

.tax-lab-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.feature-item {
    padding: 24px 22px;
    background: transparent;
    border: 1px solid var(--edu-line);
    border-radius: 14px;
    box-shadow: none;
    text-align: left;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.feature-item:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(70, 101, 187, 0.28);
    background: var(--edu-soft);
}

.feature-item i {
    font-size: 22px;
    color: var(--edu-blue);
    margin-bottom: 14px;
}

.feature-item h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--edu-ink);
    margin: 0 0 8px;
}

.feature-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--edu-muted);
    margin: 0;
}

.tax-lab-cta {
    text-align: left;
}

.tax-lab-cta .primary-btn,
.tax-lab-cta .cta-btn-primary {
    border: none;
}

.cta-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--edu-muted);
    margin-top: 14px;
    font-style: normal;
}

/* ---------- Curriculum ---------- */
.curriculum {
    padding: 40px 90px;
    background: var(--edu-soft);
}

.curriculum-container {
    max-width: 1100px;
    margin: 0 auto;
}

.curriculum-header {
    text-align: left;
    margin-bottom: 24px;
    max-width: 640px;
}

.curriculum-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0;
    letter-spacing: -0.02em;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.curriculum-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--edu-radius);
    border: 1px solid var(--edu-line);
    box-shadow: none;
    transition: border-color 0.25s ease, transform 0.25s var(--edu-ease);
}

.curriculum-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(26, 41, 128, 0.07);
    border-color: rgba(70, 101, 187, 0.25);
}

.curriculum-num {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--edu-orange);
    margin-bottom: 12px;
}

.curriculum-card h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--edu-line);
}

.curriculum-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-card ul li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--edu-muted);
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
}

.curriculum-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--edu-blue);
}

/* ---------- Webinars (list rows) ---------- */
.webinars {
    padding: 40px 90px;
    background: #fff;
}

.webinars-container {
    max-width: 900px;
    margin: 0 auto;
}

.webinars-header {
    text-align: left;
    margin-bottom: 24px;
}

.webinars-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--edu-blue);
    margin-bottom: 12px;
}

.webinars-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.webinars-header p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--edu-muted);
    max-width: 560px;
    margin: 0;
}

.webinars-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--edu-line);
}

.webinar-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 28px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--edu-line);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: background 0.2s ease;
}

.webinar-row:hover {
    transform: none;
    box-shadow: none;
    background: rgba(70, 101, 187, 0.03);
}

.webinar-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.webinar-status {
    display: inline-flex;
    width: fit-content;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--edu-blue);
    background: rgba(70, 101, 187, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
}

.webinar-time {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--edu-muted);
    margin: 0;
}

.webinar-time i {
    margin-right: 6px;
    color: var(--edu-blue);
}

.webinar-body h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--edu-ink);
    margin: 0 0 10px;
    line-height: 1.3;
}

.webinar-body p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--edu-muted);
    margin: 0 0 12px;
}

.webinar-topics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.webinar-topics li {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--edu-blue);
    background: rgba(70, 101, 187, 0.08);
    padding: 5px 10px;
    border-radius: 6px;
    margin: 0;
    padding-left: 10px;
}

.webinar-topics li::before {
    display: none;
}

.webinar-btn {
    width: auto;
    white-space: nowrap;
    background: transparent;
    color: var(--edu-blue);
    border: 1.5px solid var(--edu-line);
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    margin-top: 2px;
}

.webinar-btn:hover {
    background: var(--edu-blue);
    border-color: var(--edu-blue);
    color: #fff;
    transform: none;
}

.webinars-archive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    padding: 28px 32px;
    background: var(--edu-soft);
    border-radius: var(--edu-radius);
    border: 1px solid var(--edu-line);
}

.webinars-archive h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0 0 6px;
}

.webinars-archive p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--edu-muted);
    margin: 0;
}

.secondary-btn {
    background: transparent;
    color: var(--edu-blue);
    border: 1.5px solid var(--edu-blue);
    padding: 12px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: var(--edu-blue);
    color: #fff;
}

/* ---------- Resources ---------- */
.resources {
    padding: 40px 90px;
    background: linear-gradient(180deg, var(--edu-soft) 0%, #fff 100%);
}

.resources-container {
    max-width: 1100px;
    margin: 0 auto;
}

.resources-header {
    text-align: left;
    margin-bottom: 24px;
}

.resources-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--edu-blue);
    margin-bottom: 12px;
}

.resources-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    color: var(--edu-navy);
    margin: 0;
    letter-spacing: -0.02em;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.resource-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--edu-radius);
    text-align: left;
    border: 1px solid var(--edu-line);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: border-color 0.25s ease, transform 0.25s var(--edu-ease), box-shadow 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(26, 41, 128, 0.07);
    border-color: rgba(70, 101, 187, 0.25);
}

.resource-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(70, 101, 187, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.resource-card i,
.resource-icon i {
    font-size: 18px;
    color: var(--edu-blue);
    margin: 0;
}

.resource-card h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--edu-ink);
    margin: 0;
}

.resource-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--edu-muted);
    margin: 0 0 8px;
}

.resource-btn {
    margin-top: auto;
    background: transparent;
    color: var(--edu-blue);
    border: 1.5px solid var(--edu-line);
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resource-btn:hover {
    background: var(--edu-blue);
    border-color: var(--edu-blue);
    color: #fff;
}

.resource-links {
    margin: 0;
}

.resource-link {
    display: inline-block;
    color: var(--edu-blue);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- CTA ---------- */
.education-cta {
    padding: 48px 90px;
    background:
        linear-gradient(135deg, rgba(26, 41, 128, 0.94), rgba(70, 101, 187, 0.9)),
        url('/assets/images/pexels-tima-miroshnichenko-6694543.jpg') center/cover;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.education-cta-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.education-cta h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.education-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 32px;
    line-height: 1.65;
}

/* ---------- Timeline page overrides on education ---------- */
.update-timeline {
    padding: 40px 90px 32px;
    background: #fff;
    position: relative;
}

.timeline-header {
    text-align: left;
    margin-bottom: 32px;
}

.timeline-subtitle {
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.update-timeline .timeline-item {
    margin-bottom: 28px;
}

.update-timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.update-timeline .timeline-content {
    padding: 20px 24px;
}

/* ---------- Faint orange graphic rules between sections ---------- */
.edu-rule {
    position: relative;
    height: 28px;
    margin: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
}

.edu-rule::before,
.edu-rule::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    height: 1px;
    transform-origin: center;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 107, 53, 0.12) 12%,
        rgba(255, 107, 53, 0.38) 50%,
        rgba(255, 107, 53, 0.12) 88%,
        transparent 100%
    );
}

.edu-rule::before {
    width: min(520px, 72vw);
    transform: translate(-50%, -50%) rotate(-1.2deg);
}

.edu-rule::after {
    width: min(340px, 48vw);
    transform: translate(-50%, calc(-50% + 5px)) rotate(1.6deg);
    opacity: 0.65;
}

.edu-rule--soft {
    background: var(--edu-soft);
}

.tax-lab,
.curriculum,
.webinars,
.resources,
.education-cta {
    position: relative;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1024px) {
    .education-hero-content,
    .education-intro,
    .edu-section,
    .update-timeline,
    .tax-lab,
    .webinars,
    .resources,
    .curriculum,
    .education-cta {
        padding-left: 40px;
        padding-right: 40px;
    }

    .education-hero-content {
        padding-top: 80px;
        padding-bottom: 56px;
    }

    .tax-lab-features,
    .curriculum-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tax-lab-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tax-lab-media {
        max-height: 360px;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .tax-lab-features .feature-item:last-child {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    .education-hero {
        min-height: 62vh;
        align-items: center;
    }

    .education-hero-content {
        padding: 56px 20px 40px;
    }

    .edu-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edu-hero-actions .cta-btn-primary,
    .edu-btn-ghost {
        justify-content: center;
    }

    .edu-jump {
        top: 70px;
    }

    .education-intro,
    .edu-section,
    .update-timeline,
    .tax-lab,
    .webinars,
    .resources,
    .curriculum,
    .education-cta {
        padding: 32px 20px;
    }

    .education-intro {
        padding-top: 32px;
        padding-bottom: 16px;
    }

    .edu-bento,
    .tax-lab-features,
    .curriculum-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .tax-lab-features .feature-item:last-child {
        grid-column: auto;
    }

    .webinar-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .webinar-btn {
        width: 100%;
    }

    .webinars-archive {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .edu-jump-inner {
        padding: 12px 16px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .education-hero-bg,
    .education-hero-content {
        animation: none;
    }
}
