/* Education Page Specific Styles */
.u-ib {
    display: inline-block;
}
body {
    background-color: #FFF8F0;
    /* 目に優しい淡いオレンジ（青の補色系） */
}

/* Common Hero Structure (Ported from startup.css to fix layout) */
.hero {
    position: relative;
    min-height: 80vh;
    /* Adjusted for education page */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered instead of space-between */
    text-align: center;
    /* Center text */
    max-width: 1200px;
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 1050px;
    /* 文字サイズ拡大時に折り返されないよう幅を余裕を持たせる */
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    max-width: 500px;
}

/* Responsive Hero Styles */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: left;
        padding: 20px;
    }

    .hero-text {
        text-align: left;
        order: 1;
        z-index: 10;
        position: relative;
        padding: 0 10px;
    }

    .hero-visual {
        order: 2;
        height: auto;
        min-height: 200px;
        max-width: 100%;
        margin-top: 20px;
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Hero Typography and Highlight */
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

/* Hero Section Specifics */
.education-hero {
    background: linear-gradient(135deg, rgba(123, 211, 255, 0.85) 0%, rgba(0, 63, 125, 0.85) 100%), url('../images/education.png') center/cover;
    background-blend-mode: multiply;
    /* Stronger overlay for better legibility */
    color: white;
    padding: 180px 0 140px;
}

.hero-tagline {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.education-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.education-hero .highlight {
    background: linear-gradient(transparent 70%, rgba(255, 215, 0, 0.4) 70%);
    padding: 0 5px;
}

.education-hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-visual {
    position: relative;
    z-index: 2;
}

.hero-img-bright {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    border-radius: 20px;
}

.floating-tech-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.floating-tech-card:nth-child(1) {
    top: 0%;
    right: -10%;
    animation-delay: 0s;
}

.floating-tech-card:nth-child(2) {
    bottom: 20%;
    left: -10%;
    animation-delay: 1s;
}

.floating-tech-card:nth-child(3) {
    top: 40%;
    left: -20%;
    animation-delay: 2s;
}

.floating-tech-card i {
    font-size: 1.5rem;
    color: #005A9E;
}

.floating-tech-card span {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Navigation Buttons */
.nav-buttons-section .container {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 0px;
}

.nav-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.company-btn {
    background: linear-gradient(135deg, #003E5E 0%, #005A9E 100%);
}

.gov-btn {
    background: linear-gradient(135deg, #20B2AA 0%, #3CB371 100%);
}

.btn-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-sub {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-arrow {
    animation: bounce 2s infinite;
    font-size: 1.4rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

/* Strengths Section V2 & V3 */
.strengths-section {
    padding: 120px 0;
    background-color: #FFF3E6;
    /* 全体より少しだけ濃い淡いオレンジ */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header-v2 {
    text-align: center;
    margin-bottom: 70px;
}

.section-header-v2 .sub-text {
    display: block;
    color: #005A9E;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.section-header-v2 h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #00223E;
    font-weight: 800;
}

.text-accent {
    color: #005A9E;
    position: relative;
    white-space: nowrap;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 90, 158, 0.1);
    z-index: 1;
}

/* LP Visual Strengths (Redesigned Pro Layout) */
.visual-strengths-container {
    position: relative;
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vs-stage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.vs-background-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 90%;
    background: linear-gradient(135deg, rgba(0, 90, 158, 0.08), rgba(230, 126, 34, 0.08));
    border-radius: 60px;
    z-index: 0;
    filter: blur(40px);
}

.vs-main-image-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 30, 60, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.vs-main-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/10;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vs-main-image-wrapper:hover .vs-main-photo {
    transform: scale(1.05);
}

.vs-glass-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 3;
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 420px;
}

.animation-float {
    animation: floatPanel 6s ease-in-out infinite;
}

.animation-float.delay-1 {
    animation-delay: 3s;
}

@keyframes floatPanel {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.panel-left {
    top: 40px;
    left: -50px;
}

.panel-right {
    bottom: 40px;
    right: -50px;
}

.panel-icon i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #005A9E, #E67E22);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-text h4 {
    font-size: 1.3rem;
    color: #003E5E;
    margin-bottom: 8px;
    font-weight: 800;
}

.panel-text p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1000px) {
    .vs-glass-panel {
        position: relative;
        max-width: 90%;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: -40px auto 30px auto;
        transform: translateY(0) !important;
        animation: none;
    }

    .vs-stage {
        flex-direction: column;
        padding: 20px 0;
    }
}

/* Sankei Banner (Bottom) */
.sankei-sponsorship-banner {
    padding: 40px 0 80px 0;
}

.sankei-banner-inner {
    background: linear-gradient(145deg, #ffffff 0%, #FFF8F0 100%);
    border: 1px solid #F2E3D5;
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sankei-icon i {
    font-size: 4rem;
    color: #005A9E;
    opacity: 0.8;
}

.sankei-content h3 {
    font-size: 1.6rem;
    color: #003E5E;
    margin-bottom: 12px;
}

.sankei-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .sankei-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

.strength-v3-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.strength-v3-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 62, 94, 0.1);
    border-color: rgba(0, 90, 158, 0.1);
}

.strength-v3-card.primary {
    background: linear-gradient(145deg, #ffffff 0%, #FFF0E0 100%);
    border: 2px solid #005A9E;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: #005A9E;
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 8px 16px rgba(0, 90, 158, 0.2);
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 90, 158, 0.08);
    color: #005A9E;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.strength-v3-card h3 {
    font-size: 1.5rem;
    color: #00223E;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.strength-v3-card p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}

.strength-v3-card b {
    color: #005A9E;
}

/* Course Sections Common */
.course-section {
    padding: 80px 0;
}

.course-section:nth-child(even) {
    background-color: #FFF3E6;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: block;
    color: #ccc;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    display: inline-block;
}

.section-desc {
    color: #4a5568;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
}

.course-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.course-content.reverse {
    flex-direction: row-reverse;
}

.course-image-wrapper {
    flex: 1;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    background-size: cover;
    background-position: center;
}

.course-image-wrapper:hover .course-image {
    transform: scale(1.05);
}

.course-details {
    flex: 1;
}

.course-details h3 {
    font-size: 1.8rem;
    color: #00223E;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
}

.course-details p {
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* Generative AI Section */
.ai-section {
    padding-top: 40px;
}

.ai-detailed-sections {
    margin-top: 40px;
}

.ai-subsection {
    margin-bottom: 50px;
}

.ai-subsection h4 {
    font-size: 1.6rem;
    border-bottom: 4px solid #005A9E;
    padding-bottom: 15px;
    margin-bottom: 35px;
    color: #00223E;
    font-weight: 800;
}

.industry-examples {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.industry-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-left-width: 6px;
}

.industry-card.construction {
    border-left-color: #667eea;
}

.industry-card.medical {
    border-left-color: #fc8181;
}

.industry-card.government {
    border-left-color: #68d391;
}

.industry-card h5 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.industry-icon-wrapper {
    color: white;
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
}

.industry-card.construction .industry-icon-wrapper {
    background: #667eea;
}

.industry-card.medical .industry-icon-wrapper {
    background: #fc8181;
}

.industry-card.government .industry-icon-wrapper {
    background: #68d391;
}

.industry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
}

.industry-list i {
    margin-top: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.industry-card.construction i {
    color: #667eea;
}

.industry-card.medical i {
    color: #fc8181;
}

.industry-card.government i {
    color: #68d391;
}

.industry-list strong {
    display: block;
    color: #2d3748;
    margin-bottom: 5px;
}

.demo-images {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    background: #FFF6EE;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #F2E3D5;
}

.demo-images img {
    border-radius: 4px;
}

/* Level List */
.level-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #F2E3D5;
}

.level-badge {
    color: white;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 1rem;
    margin-right: 20px;
    margin-top: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.level-badge.beginner {
    background: #667eea;
}

.level-badge.advanced {
    background: #764ba2;
}

/* Programming Section */
.curriculum-intro-card {
    background: #fff;
    border: 2px solid #fda085;
    border-radius: 12px;
    padding: 30px;
    margin: 0 auto 40px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    text-align: center;
}

.course-content-single {
    max-width: 900px;
    margin: 0 auto;
}

/* Carousel Gallery */
.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for clean look */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    object-fit: contain;
    /* or cover depending on aspect ratio */
    scroll-snap-align: start;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D6C3B3;
    /* Subtle warm tone */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-dots .dot.active {
    background-color: #E67E22;
    /* Active orange accent */
    transform: scale(1.2);
}

/* Accordion Styles */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.programming-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(1.1) contrast(1.05);
    /* Brightened for better atmosphere */
}

.prog-accordion-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 6px solid #005A9E;
    transition: all 0.3s ease;
}

.prog-accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.prog-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #00223E;
    transition: background-color 0.2s;
}

.prog-accordion-header:hover {
    background-color: #FFF3E6;
}

.step-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #005A9E;
    margin-right: 20px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 800;
    flex: 1;
}

.accordion-icon {
    font-size: 1rem;
    color: #ccc;
    transition: transform 0.3s ease;
}

.prog-accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    color: #fda085;
}

.prog-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.4s ease;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
}

.prog-accordion-content.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


.accordion-inner {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.summary-text {
    font-weight: bold;
    margin: 15px 0 !important;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    z-index: 0;
}

.detail-content {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.detail-content h5 {
    margin: 0 0 10px 0;
    color: #e67e22;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Robot & Seminar Sections */
.robot-content-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.robot-image-area {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.robot-text-area {
    padding: 30px;
}

.flyer-demo-container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    background: #f8fafc;
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.flyer-image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flyer-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.flyer-label {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.flyer-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #667eea;
}

.video-section-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.video-image-area {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.video-text-area {
    padding: 30px;
}

.seminar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.seminar-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.seminar-card:hover {
    transform: translateY(-5px);
}

.seminar-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.seminar-content {
    padding: 20px;
}

.seminar-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {

    .course-content,
    .course-content.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .course-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .nav-button {
        width: 100%;
    }

    .flyer-demo-container {
        flex-direction: column;
        gap: 30px;
    }

    .flyer-arrow-container i {
        transform: rotate(90deg);
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .flyer-arrow-container span {
        writing-mode: horizontal-tb;
        /* Ensure text is horizontal */
    }
}

/* ===== CTAセクション ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #00223E;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.cta-description {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 40px 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, #003E5E 0%, #005A9E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 62, 94, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 62, 94, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #003E5E;
    border-color: #003E5E;
}

.cta-button.secondary:hover {
    background: #003E5E;
    color: white;
    transform: translateY(-2px);
}

.cta-button:focus {
    outline: 2px solid #005A9E;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        justify-content: center;
    }
}

/* Flyer Design Revamp Styles */
.flyer-modern-layout {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.flyer-intro {
    text-align: center;
    margin-bottom: 40px;
}

.flyer-intro h3 {
    font-size: 1.8rem;
    color: #003E5E;
    margin-bottom: 15px;
}

.flyer-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.flyer-step {
    background: #f8fbff;
    padding: 30px;
    border-radius: 15px;
    border-bottom: 4px solid #00A3E0;
    transition: transform 0.3s ease;
}

.flyer-step:hover {
    transform: translateY(-5px);
}

.step-num {
    display: inline-block;
    background: #00A3E0;
    color: #fff;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.flyer-step h4 {
    color: #003E5E;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.flyer-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.flyer-comparison-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #f0f4f8;
    padding: 40px;
    border-radius: 15px;
}

.comparison-card {
    flex: 1;
    text-align: center;
    max-width: 400px;
}

.comparison-card img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.comp-label {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.bad .comp-label {
    color: #e53e3e;
}

.good .comp-label {
    color: #00A3E0;
}

.comp-arrow {
    font-size: 2.5rem;
    color: #cbd5e0;
}

@media (max-width: 768px) {
    .flyer-comparison-v2 {
        flex-direction: column;
    }

    .comp-arrow {
        transform: rotate(90deg);
    }
}

/* Animations ported from startup.css and refined */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s forwards 0.2s;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s forwards 0.2s;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {

    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ===== 2026 refresh: brighter first view ===== */
.education-hero.education-hero-bright {
    position: relative;
    padding: 90px 0 40px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 205, 116, 0.45), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(121, 196, 255, 0.32), transparent 22%),
        linear-gradient(180deg, #fffdf6 0%, #fff8ef 55%, #ffffff 100%);
    overflow: hidden;
}

.education-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 54px;
    align-items: center;
    padding: 32px 0 52px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.75;
    pointer-events: none;
}

.hero-orb-a {
    width: 280px;
    height: 280px;
    top: 70px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 214, 128, 0.7), rgba(255, 214, 128, 0));
    animation: slowFloat 10s ease-in-out infinite;
}

.hero-orb-b {
    width: 320px;
    height: 320px;
    right: -90px;
    top: 80px;
    background: radial-gradient(circle, rgba(161, 214, 255, 0.58), rgba(161, 214, 255, 0));
    animation: slowFloat 12s ease-in-out infinite reverse;
}

@keyframes slowFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(18px) translateX(10px); }
}

.education-eyebrow,
.motion-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(21, 53, 87, 0.08);
    color: #ff7f50;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.education-hero-copy h1 {
    margin: 18px 0 20px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.15;
    color: #16304d;
    font-weight: 800;
}

.education-hero-copy h1 span {
    color: #ff7a59;
}

.education-lead {
    font-size: 1.08rem;
    line-height: 1.95;
    color: #425468;
    max-width: 42rem;
}

.education-hero-actions,
.motion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.bright-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.bright-cta.primary {
    background: linear-gradient(135deg, #ff9a62, #ff7a59);
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 122, 89, 0.28);
}

.bright-cta.secondary {
    background: rgba(255,255,255,0.94);
    color: #17334e;
    border: 1px solid rgba(23, 51, 78, 0.08);
    box-shadow: 0 10px 24px rgba(21, 53, 87, 0.08);
}

.bright-cta:hover {
    transform: translateY(-3px);
    color: inherit;
}

.bright-cta.primary:hover {
    color: #fff;
    box-shadow: 0 18px 34px rgba(255, 122, 89, 0.32);
}

.education-hero-points,
.motion-point-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

.education-hero-points li,
.motion-point-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 10px 24px rgba(24, 55, 92, 0.08);
    color: #29445c;
    font-weight: 600;
}

.education-hero-points i,
.motion-point-list i {
    color: #ff8f66;
}

.education-hero-visual {
    position: relative;
}

.hero-collage {
    position: relative;
    min-height: 540px;
}

.hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 22px 48px rgba(28, 56, 87, 0.16);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card:hover {
    box-shadow: 0 30px 60px rgba(28, 56, 87, 0.2);
}

.hero-card-main {
    top: 10px;
    right: 30px;
    width: 72%;
    height: 380px;
}

.hero-card-ai {
    left: 0;
    bottom: 72px;
    width: 40%;
    height: 210px;
}

.hero-card-nocode {
    right: 0;
    bottom: 0;
    width: 34%;
    height: 185px;
}

.hero-card-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #17334e;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 10px 20px rgba(23, 51, 78, 0.14);
}

.hero-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: #183a56;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(23, 51, 78, 0.12);
    animation: badgeBob 4.8s ease-in-out infinite;
}

.badge-one { top: 16px; left: 8%; }
.badge-two { bottom: 236px; left: 4%; animation-delay: 0.8s; }
.badge-three { top: 120px; right: 0; animation-delay: 1.4s; }

@keyframes badgeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.education-marquee,
.motion-hero-strip {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(23, 51, 78, 0.06);
    border-bottom: 1px solid rgba(23, 51, 78, 0.06);
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(10px);
}

.education-marquee-track,
.motion-hero-strip-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 16px 0;
    animation: marqueeScroll 24s linear infinite;
}

.education-marquee-track span,
.motion-hero-strip-track span {
    color: #5a6d7f;
    font-weight: 800;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.education-intro-section,
.education-path-section {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
    padding: 84px 0;
}

.education-heading,
.motion-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.education-heading.compact,
.motion-heading.compact {
    margin-bottom: 32px;
}

.education-heading h2,
.motion-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.24;
    margin: 18px 0 14px;
    color: #17334e;
}

.education-heading h2 span,
.motion-heading h2 span {
    color: #ff7a59;
}

.education-heading p,
.motion-heading p {
    color: #5d7184;
    line-height: 1.9;
    font-size: 1.02rem;
}

.education-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.intro-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(24, 55, 92, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover,
.path-card:hover,
.motion-benefit-card:hover,
.motion-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(24, 55, 92, 0.12);
}

.intro-card-wide {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.intro-card-image {
    height: 260px;
}

.intro-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-card-body {
    padding: 26px 28px 30px;
}

.intro-card h3,
.path-card h3,
.motion-benefit-card h3,
.motion-step-card h3 {
    color: #17334e;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.intro-card p,
.path-card p,
.motion-benefit-card p,
.motion-step-card p,
.path-mini-panel p {
    color: #5c6f80;
    line-height: 1.85;
}

.intro-icon,
.benefit-icon,
.motion-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff1e6, #ffe4d8);
    color: #ff7a59;
}

.education-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.82fr;
    gap: 22px;
    align-items: stretch;
}

.path-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(24, 55, 92, 0.08);
    text-decoration: none;
}

.path-card-image {
    height: 230px;
}

.path-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.path-card-body {
    padding: 24px 26px 28px;
}

.path-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff7a59;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.path-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #16324d;
    font-weight: 700;
}

.path-mini-panel {
    display: grid;
    gap: 18px;
}

.mini-panel-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 24px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fff7f1 100%);
    box-shadow: 0 18px 40px rgba(24, 55, 92, 0.08);
}

.mini-panel-item i {
    font-size: 1.4rem;
    color: #ff8f66;
    margin-top: 4px;
}

.mini-panel-item strong {
    color: #17334e;
    display: block;
    margin-bottom: 8px;
}

/* Motion Paper refresh */
.motion-hero.motion-hero-fresh {
    position: relative;
    padding: 96px 0 36px;
    color: #17334e;
    background:
        radial-gradient(circle at 10% 18%, rgba(255, 220, 172, 0.6), transparent 26%),
        radial-gradient(circle at 92% 14%, rgba(171, 226, 255, 0.42), transparent 22%),
        linear-gradient(180deg, #fff9f4 0%, #fffdfd 58%, #ffffff 100%);
    overflow: hidden;
}

.motion-soft-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
    opacity: 0.8;
}

.motion-soft-shape.shape-a {
    width: 260px;
    height: 260px;
    top: 110px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 188, 143, 0.7), rgba(255, 188, 143, 0));
}

.motion-soft-shape.shape-b {
    width: 340px;
    height: 340px;
    right: -110px;
    top: 80px;
    background: radial-gradient(circle, rgba(152, 224, 255, 0.6), rgba(152, 224, 255, 0));
}

.motion-fresh-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 48px;
    align-items: center;
}

.motion-fresh-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.35rem, 4.8vw, 4.4rem);
    line-height: 1.12;
    color: #17334e;
}

.motion-fresh-copy h1 span {
    color: #ff7a59;
}

.motion-fresh-copy p {
    color: #556a7d;
    font-size: 1.06rem;
    line-height: 1.95;
    max-width: 38rem;
}

.motion-stage {
    position: relative;
    min-height: 540px;
}

.motion-phone {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 290px;
    height: 520px;
    border-radius: 38px;
    padding: 16px;
    background: linear-gradient(180deg, #17334e 0%, #385a78 100%);
    box-shadow: 0 26px 60px rgba(22, 50, 77, 0.2);
    transform: translateX(-50%);
}

.motion-phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 110px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    transform: translateX(-50%);
}

.motion-phone-screen {
    position: relative;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,246,239,0.95)),
        #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    padding: 26px;
}

.screen-chip {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #17334e;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.screen-video-card,
.screen-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #fff;
    color: #17334e;
    box-shadow: 0 14px 28px rgba(22, 50, 77, 0.1);
    font-weight: 700;
}

.screen-video-card i,
.screen-link-card i {
    color: #ff7a59;
}

.motion-flyer-card {
    position: absolute;
    width: 170px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 20px 40px rgba(22, 50, 77, 0.12);
}

.motion-flyer-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.motion-flyer-card span {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: #17334e;
    text-align: center;
}

.flyer-before {
    left: 0;
    top: 90px;
    transform: rotate(-8deg);
}

.flyer-after {
    right: 8px;
    bottom: 40px;
    transform: rotate(8deg);
}

.motion-floating-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 14px 28px rgba(22, 50, 77, 0.12);
    font-weight: 700;
    color: #17334e;
    animation: badgeBob 4.8s ease-in-out infinite;
}

.tag-one {
    right: 20px;
    top: 44px;
}

.tag-two {
    left: 24px;
    bottom: 10px;
    animation-delay: 0.9s;
}

.motion-intro-section,
.motion-steps-section {
    padding: 86px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
}

.motion-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.motion-benefit-card,
.motion-step-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(24, 55, 92, 0.08);
}

.motion-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.motion-step-card {
    text-align: center;
    position: relative;
}

.motion-step-no {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff5ec;
    color: #ff7a59;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.motion-step-card.featured {
    background: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
}

.motion-step-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.step-phone {
    position: relative;
    width: 140px;
    height: 220px;
    border-radius: 28px;
    background: linear-gradient(180deg, #17334e 0%, #385a78 100%);
    box-shadow: 0 16px 36px rgba(22, 50, 77, 0.16);
}

.step-phone::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,244,236,0.96));
}

.step-scan-line {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 28px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb07f, #ff7a59);
    box-shadow: 0 0 16px rgba(255, 122, 89, 0.4);
    animation: scanDown 2.4s linear infinite;
}

@keyframes scanDown {
    0% { transform: translateY(0); opacity: 0.2; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(150px); opacity: 0.2; }
}

@media (max-width: 1100px) {
    .education-hero-inner,
    .motion-fresh-inner,
    .education-intro-grid,
    .education-path-grid,
    .motion-benefit-grid,
    .motion-steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-collage,
    .motion-stage {
        min-height: 480px;
    }

    .path-mini-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .education-hero.education-hero-bright,
    .motion-hero.motion-hero-fresh {
        padding-top: 72px;
    }

    .education-hero-copy h1,
    .motion-fresh-copy h1 {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .education-lead,
    .motion-fresh-copy p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .hero-collage {
        min-height: 420px;
    }

    .hero-card-main {
        width: 100%;
        height: 260px;
        right: 0;
        top: 0;
    }

    .hero-card-ai {
        width: 44%;
        height: 145px;
        bottom: 54px;
        left: 0;
    }

    .hero-card-nocode {
        width: 42%;
        height: 135px;
        right: 0;
        bottom: 0;
    }

    .hero-badge {
        font-size: 0.84rem;
        padding: 9px 12px;
    }

    .badge-one {
        left: 0;
        top: -10px;
    }

    .badge-two {
        bottom: 170px;
        left: 0;
    }

    .badge-three {
        top: 16px;
        right: 0;
    }

    .intro-card,
    .path-card-body,
    .mini-panel-item,
    .motion-benefit-card,
    .motion-step-card {
        padding: 22px;
    }

    .intro-card-wide {
        padding: 0;
    }

    .path-mini-panel {
        grid-template-columns: 1fr;
    }

    .motion-stage {
        min-height: 510px;
    }

    .motion-phone {
        width: 220px;
        height: 410px;
    }

    .motion-flyer-card {
        width: 126px;
        padding: 8px;
    }

    .motion-flyer-card img {
        height: 170px;
    }

    .flyer-before {
        top: 64px;
        left: 0;
    }

    .flyer-after {
        right: 0;
        bottom: 34px;
    }

    .tag-one {
        right: 0;
        top: 8px;
    }

    .tag-two {
        left: 0;
        bottom: -10px;
    }
}


/* ===== 2026 pop redesign overrides ===== */
.education-pop-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8e8 0%, #ffe9d3 48%, #fff7ef 100%);
    padding: 130px 0 90px;
}
.education-pop-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.education-pop-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #ff7a59;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    box-shadow: 0 12px 30px rgba(255, 122, 89, 0.12);
    margin-bottom: 18px;
}
.education-pop-copy h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.1;
    color: #3b2d2f;
    margin-bottom: 20px;
    font-weight: 900;
}
.education-pop-copy h1 span {
    color: #ff7a59;
}
.education-pop-copy p {
    color: #5b4b4b;
    font-size: 1.08rem;
    line-height: 1.95;
    max-width: 620px;
}
.education-pop-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0 24px;
}
.edu-pop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 16px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.edu-pop-btn.primary {
    background: linear-gradient(135deg, #ff9b71 0%, #ff6c61 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(255, 108, 97, 0.24);
}
.edu-pop-btn.secondary {
    background: #fff;
    color: #ff7a59;
    border: 2px solid #ffd1bc;
}
.edu-pop-btn:hover {
    transform: translateY(-4px) scale(1.01);
}
.education-pop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.education-pop-tags li {
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.75);
    color: #6a5252;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(76, 40, 23, 0.07);
}
.education-pop-visual {
    position: relative;
}
.edu-photo-stack {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.78fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.edu-photo-card {
    position: relative;
    z-index: 1;
    margin: 0;
    background: #fff;
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 24px 50px rgba(95, 58, 32, 0.13);
    transform-origin: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.edu-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(95, 58, 32, 0.16);
}
.edu-photo-card img {
    display: block;
    width: 100%;
    height: calc(100% - 54px);
    min-height: 0;
    object-fit: cover;
    border-radius: 20px;
}
.edu-photo-card figcaption {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 14px 10px 4px;
    font-weight: 700;
    color: #624b4b;
    font-size: 0.98rem;
    line-height: 1.45;
}
.edu-photo-card.card-large {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 490px;
}
.edu-photo-card.card-top {
    grid-column: 2;
    grid-row: 1;
    height: 236px;
}
.edu-photo-card.card-bottom {
    grid-column: 2;
    grid-row: 2;
    height: 236px;
}
.edu-sticker {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 18px;
    font-weight: 800;
    color: #5f4646;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}
.sticker-star {
    left: -18px;
    bottom: 26px;
    background: #fff1a8;
    transform: rotate(-8deg);
}
.sticker-heart {
    right: -10px;
    top: 42%;
    background: #ffd8e4;
    transform: rotate(8deg);
}
.edu-confetti {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(2px);
}
.confetti-a { width: 240px; height: 240px; background: rgba(255, 186, 119, 0.35); top: 40px; left: -40px; }
.confetti-b { width: 180px; height: 180px; background: rgba(255, 141, 165, 0.25); right: 9%; top: 90px; }
.confetti-c { width: 260px; height: 260px; background: rgba(153, 225, 213, 0.25); right: -60px; bottom: 20px; }
.education-ribbon {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    overflow: hidden;
}
.education-ribbon-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: eduRibbon 28s linear infinite;
}
.education-ribbon-track span {
    display: inline-flex;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    color: #a06b4d;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}
@keyframes eduRibbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.education-showcase-section,
.education-course-lead {
    padding: 90px 0;
    background: #fffaf3;
}
.education-course-lead {
    background: linear-gradient(180deg, #fffaf3 0%, #fff4ea 100%);
}
.education-section-heading {
    margin-bottom: 36px;
}
.education-section-heading.center {
    text-align: center;
}
.education-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #3f3130;
    line-height: 1.25;
    margin-top: 10px;
}
.education-section-heading h2 span {
    color: #ff7a59;
}
.education-section-heading p {
    color: #746160;
    font-size: 1.03rem;
    line-height: 1.8;
    margin-top: 12px;
}
.education-showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}
.edu-showcase-main,
.edu-mini-card,
.education-course-panel,
.bubble-note {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(66, 39, 12, 0.08);
}
.edu-showcase-main {
    overflow: hidden;
}
.showcase-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.showcase-body {
    padding: 28px;
}
.mini-kicker {
    display: inline-block;
    color: #ff8a63;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    margin-bottom: 10px;
}
.showcase-body h3,
.edu-mini-card h3,
.education-course-panel h3 {
    color: #3f3130;
    font-size: 1.45rem;
    margin-bottom: 10px;
}
.showcase-body p,
.edu-mini-card p,
.education-course-panel p,
.bubble-note p {
    color: #6b5858;
    line-height: 1.8;
}
.edu-showcase-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.edu-mini-card {
    padding: 24px;
}
.edu-mini-card.wide {
    grid-column: 1 / -1;
}
.edu-mini-card.peach { background: #fff4ec; }
.edu-mini-card.mint { background: #eefcf7; }
.edu-mini-card.cream { background: #fffdf3; }
.edu-mini-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a59;
    font-size: 1.35rem;
    margin-bottom: 14px;
}
.mini-photo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.mini-photo-row img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
}
.education-course-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.education-course-panel {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    padding: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.education-course-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(66,39,12,0.13);
}
.panel-business { background: linear-gradient(135deg, #fff1eb 0%, #fff 100%); }
.panel-public { background: linear-gradient(135deg, #eef9ff 0%, #fff 100%); }
.panel-copy { padding: 12px 10px 12px 14px; }
.panel-chip {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: #ff7a59;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.panel-thumb img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 22px;
}
.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #ff7a59;
    font-weight: 800;
}
.education-bubble-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
}
.bubble-note {
    flex: 1 1 240px;
    padding: 20px 22px;
    background: rgba(255,255,255,0.85);
}
.bubble-note strong {
    display: block;
    color: #3d302f;
    margin-bottom: 8px;
}
.flyer-support-strip {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.flyer-support-card {
    background: #fff8f0;
    border: 1px solid #ffe0cf;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(66, 39, 12, 0.06);
}
.flyer-support-card h4 {
    color: #3f3130;
    font-size: 1.15rem;
    margin: 0 0 10px;
    line-height: 1.5;
}
.flyer-support-card p {
    color: #6b5858;
    line-height: 1.8;
    margin: 0;
}
.support-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    color: #ff7a59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
@media (max-width: 960px) {
    .education-pop-inner,
    .education-showcase-grid,
    .education-course-panels {
        grid-template-columns: 1fr;
    }
    .edu-photo-stack {
        min-height: 480px;
    }
    .education-course-panel {
        grid-template-columns: 1fr;
    }
    .panel-thumb img { min-height: 200px; }
}
@media (max-width: 768px) {
    .education-pop-hero { padding: 110px 0 70px; }
    .education-pop-copy h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
    .education-pop-copy p { max-width: 100%; }
    .education-pop-actions { margin-bottom: 0; }
    .edu-photo-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        min-height: 0;
        margin-top: 14px;
    }
    .edu-photo-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100% !important;
        transform: none !important;
    }
    .edu-photo-card.card-large {
        grid-column: 1 / -1;
        height: 290px;
    }
    .edu-photo-card.card-top,
    .edu-photo-card.card-bottom {
        height: 170px;
    }
    .edu-photo-card figcaption {
        padding: 12px 6px 2px;
        font-size: 0.92rem;
    }
    .edu-sticker { display: none; }
    .education-bubble-notes { gap: 12px; }
    .edu-showcase-subgrid { grid-template-columns: 1fr; }
    .flyer-support-strip { grid-template-columns: 1fr; }
    .showcase-image img { height: 240px; }
    .mini-photo-row img { height: 120px; }
    .education-section-heading h2 { font-size: 2rem; }
}


/* ===== 2026 v5 hero photo wall ===== */
.education-pop-visual {
    position: relative;
    min-height: 640px;
}

.edu-gallery-shell {
    position: relative;
    height: 640px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 60px rgba(95, 58, 32, 0.12);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.edu-gallery-shell::before,
.edu-gallery-shell::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 84px;
    z-index: 2;
    pointer-events: none;
}

.edu-gallery-shell::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.95) 0%, rgba(255, 248, 232, 0) 100%);
}

.edu-gallery-shell::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 247, 239, 0.96) 0%, rgba(255, 247, 239, 0) 100%);
}

.edu-gallery-column {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.edu-gallery-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    will-change: transform;
}

.edu-gallery-item {
    margin: 0;
    padding: 8px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(95, 58, 32, 0.10);
}

.edu-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.edu-gallery-column.move-up .edu-gallery-track {
    animation: eduWallUp 28s linear infinite;
}

.edu-gallery-column.move-down .edu-gallery-track {
    animation: eduWallDown 30s linear infinite;
}

.edu-gallery-column.move-up-slow .edu-gallery-track {
    animation: eduWallUp 34s linear infinite;
}

@keyframes eduWallUp {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes eduWallDown {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

@media (max-width: 960px) {
    .education-pop-visual {
        min-height: 560px;
    }

    .edu-gallery-shell {
        height: 560px;
    }
}

@media (max-width: 768px) {
    .education-pop-visual {
        min-height: auto;
    }

    .edu-gallery-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: 460px;
        padding: 14px;
        gap: 10px;
        border-radius: 28px;
    }

    .edu-gallery-column:nth-child(3) {
        display: none;
    }

    .edu-gallery-item {
        padding: 6px;
        border-radius: 18px;
    }

    .edu-gallery-item img {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .edu-gallery-column.move-up .edu-gallery-track,
    .edu-gallery-column.move-down .edu-gallery-track,
    .edu-gallery-column.move-up-slow .edu-gallery-track {
        animation: none;
    }
}



/* Pop photo hero - tiled photo background */
.education-photo-hero {
    position: relative;
    padding: 122px 0 40px;
    background: #FFF8F0;
    overflow: hidden;
    isolation: isolate;
}

.education-photo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/education-hero/education-hero-mosaic-desktop.jpg') center center / cover no-repeat;
    transform: scale(1.03);
    z-index: 0;
}

.education-photo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 240, 0.82) 0%, rgba(255, 248, 240, 0.60) 26%, rgba(255, 248, 240, 0.14) 54%, rgba(255, 248, 240, 0.18) 100%),
        linear-gradient(180deg, rgba(255, 248, 240, 0.16) 0%, rgba(255, 248, 240, 0.06) 58%, rgba(255, 248, 240, 0.62) 100%);
    z-index: 1;
}

.education-photo-hero .container {
    position: relative;
    z-index: 2;
    min-height: min(76vh, 820px);
    display: flex;
    align-items: flex-end;
}

.education-photo-copy {
    max-width: 560px;
    margin: 0 0 28px;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: rgba(255, 252, 248, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 55px rgba(118, 87, 56, 0.15);
}

.education-photo-copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.05;
    color: #2D2A26;
    letter-spacing: -0.03em;
}

.education-photo-copy p {
    margin: 18px 0 0;
    font-size: 1.04rem;
    line-height: 1.9;
    color: #5E5348;
}

.education-photo-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #B26A1F;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.education-photo-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .education-photo-hero {
        padding: 92px 0 22px;
    }

    .education-photo-hero::before {
        background-image: url('../images/education-hero/education-hero-mosaic-mobile.jpg');
        background-position: center top;
        transform: scale(1.02);
    }

    .education-photo-hero::after {
        background:
            linear-gradient(180deg, rgba(255, 248, 240, 0.22) 0%, rgba(255, 248, 240, 0.10) 22%, rgba(255, 248, 240, 0.72) 100%);
    }

    .education-photo-hero .container {
        min-height: 82vh;
    }

    .education-photo-copy {
        max-width: none;
        margin: 0 0 12px;
        padding: 24px 20px 20px;
        border-radius: 24px;
    }

    .education-photo-copy h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .education-photo-copy p {
        margin-top: 14px;
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .education-photo-kicker {
        margin-bottom: 12px;
        font-size: 0.76rem;
        letter-spacing: 0.1em;
    }

    .education-photo-actions {
        margin-top: 18px;
        gap: 12px;
    }
}


/* ===== v8: photo mosaic hero + visual strengths ===== */
.education-photo-hero::before,
.education-photo-hero::after {
    content: none;
    display: none;
}

.education-photo-hero {
    position: relative;
    padding: 118px 0 46px;
    background: linear-gradient(180deg, #FFF8F0 0%, #FFF7EE 100%);
    overflow: hidden;
    isolation: isolate;
}

.education-photo-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 26px;
    z-index: 0;
    pointer-events: none;
}

.education-photo-mosaic::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 240, 0.90) 0%, rgba(255, 248, 240, 0.76) 28%, rgba(255, 248, 240, 0.18) 56%, rgba(255, 248, 240, 0.24) 100%),
        linear-gradient(180deg, rgba(255, 248, 240, 0.16) 0%, rgba(255, 248, 240, 0.05) 52%, rgba(255, 248, 240, 0.72) 100%);
    z-index: 2;
}

.mosaic-track {
    display: grid;
    grid-template-rows: repeat(4, minmax(130px, 1fr));
    gap: 18px;
}

.mosaic-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(85, 57, 26, 0.13);
    border: 4px solid rgba(255, 255, 255, 0.72);
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotate(calc((var(--r, 0)) * 1deg));
    animation: mosaicPop 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(var(--col-delay, 0s) + var(--row-delay, 0s));
}

@keyframes mosaicPop {
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(calc((var(--r, 0)) * 1deg));
    }
}

.mosaic-track-a img:nth-child(odd),
.mosaic-track-c img:nth-child(even),
.mosaic-track-e img:nth-child(odd) {
    aspect-ratio: 1 / 1;
}

.mosaic-track-a img:nth-child(even),
.mosaic-track-b img:nth-child(3n),
.mosaic-track-c img:nth-child(odd),
.mosaic-track-d img:nth-child(even) {
    aspect-ratio: 4 / 3;
}

.mosaic-track-a { transform: translateY(-12px); --col-delay: 0s; }
.mosaic-track-b { transform: translateY(36px); --col-delay: 0.12s; }
.mosaic-track-c { transform: translateY(0px); --col-delay: 0.24s; }
.mosaic-track-d { transform: translateY(24px); --col-delay: 0.36s; }
.mosaic-track-e { transform: translateY(-8px); --col-delay: 0.48s; }

.mosaic-track img:nth-child(1) { --row-delay: 0s; }
.mosaic-track img:nth-child(2) { --row-delay: 0.15s; }
.mosaic-track img:nth-child(3) { --row-delay: 0.3s; }
.mosaic-track img:nth-child(4) { --row-delay: 0.45s; }

.mosaic-track-a img:nth-child(1) { --r: -2; }
.mosaic-track-a img:nth-child(2) { --r: 1.5; }
.mosaic-track-a img:nth-child(3) { --r: -1; }
.mosaic-track-a img:nth-child(4) { --r: 2; }
.mosaic-track-b img:nth-child(1) { --r: 1.8; }
.mosaic-track-b img:nth-child(2) { --r: -1; }
.mosaic-track-b img:nth-child(3) { --r: 1; }
.mosaic-track-b img:nth-child(4) { --r: -1.8; }
.mosaic-track-c img:nth-child(1) { --r: -1.8; }
.mosaic-track-c img:nth-child(2) { --r: 1.1; }
.mosaic-track-c img:nth-child(3) { --r: -1.1; }
.mosaic-track-c img:nth-child(4) { --r: 1.6; }
.mosaic-track-d img:nth-child(1) { --r: 1.2; }
.mosaic-track-d img:nth-child(2) { --r: -1.4; }
.mosaic-track-d img:nth-child(3) { --r: 1.5; }
.mosaic-track-d img:nth-child(4) { --r: -1.2; }
.mosaic-track-e img:nth-child(1) { --r: -1.5; }
.mosaic-track-e img:nth-child(2) { --r: 1.2; }
.mosaic-track-e img:nth-child(3) { --r: -1.8; }
.mosaic-track-e img:nth-child(4) { --r: 1.3; }

.education-photo-hero .container {
    position: relative;
    z-index: 3;
    min-height: min(78vh, 860px);
    display: flex;
    align-items: flex-end;
}

.education-photo-copy {
    max-width: 560px;
    margin: 0 0 34px;
    padding: 36px 36px 32px;
    border-radius: 34px;
    background: rgba(255, 252, 248, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(118, 87, 56, 0.15);
    
    opacity: 0;
    transform: translateX(-40px);
    animation: slideFadeIn 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.4s;
}

@keyframes slideFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.education-strength-visuals {
    padding: 108px 0 28px;
    background: linear-gradient(180deg, #FFF7EE 0%, #FFFDF9 100%);
}

.strength-heading {
    margin-bottom: 54px;
}

.strength-visual-grid {
    display: grid;
    gap: 34px;
}

.strength-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 30px;
    align-items: center;
    padding: 32px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(240, 219, 196, 0.9);
    box-shadow: 0 22px 48px rgba(176, 141, 101, 0.11);
}

.strength-feature-card.support-card {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.strength-visual-panel {
    position: relative;
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5E8 0%, #F8FBFF 100%);
    border: 1px solid rgba(241, 221, 201, 0.92);
}

.curriculum-card .strength-visual-panel {
    padding: 24px;
}

.curriculum-scene {
    position: relative;
    height: 100%;
    min-height: 412px;
    border-radius: 24px;
    overflow: hidden;
}

.curriculum-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curriculum-scene::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(22, 25, 33, 0) 0%, rgba(22, 25, 33, 0.62) 100%);
}

.curriculum-flow-board {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(233, 215, 197, 0.96);
    box-shadow: 0 14px 30px rgba(99, 75, 47, 0.1);
    z-index: 2;
    flex-wrap: wrap;
}

.flow-chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: #FFF3E2;
    color: #6D4C2F;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.flow-arrow {
    color: #C97D2A;
    font-size: 0.92rem;
}

.curriculum-mini-cards {
    position: absolute;
    right: 22px;
    bottom: 24px;
    display: grid;
    gap: 12px;
    width: min(48%, 250px);
    z-index: 2;
}

.mini-topic-card {
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(237, 220, 202, 0.95);
    box-shadow: 0 10px 24px rgba(93, 70, 38, 0.1);
}

.mini-topic-card.soft-blue { background: rgba(242, 248, 255, 0.94); }
.mini-topic-card.soft-amber { background: rgba(255, 246, 233, 0.95); }

.mini-topic-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #A87A46;
}

.mini-topic-card strong {
    color: #2D2A26;
    font-size: 0.95rem;
}

.support-card .strength-visual-panel {
    padding: 24px;
}

.support-layout {
    position: relative;
    height: 100%;
    min-height: 412px;
    display: grid;
    place-items: center;
}

.support-main-photo {
    position: relative;
    width: min(72%, 360px);
    aspect-ratio: 1 / 1.05;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 54px rgba(90, 75, 52, 0.16);
    z-index: 1;
}

.support-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-main-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 18, 22, 0) 8%, rgba(19, 18, 22, 0.14) 100%);
}

.support-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(218, 179, 128, 0.55);
    border-radius: 50%;
    pointer-events: none;
}

.ring-one { width: 128%; height: 128%; }
.ring-two { width: 156%; height: 156%; }

.support-note {
    position: absolute;
    width: min(240px, 45%);
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(236, 218, 197, 0.96);
    box-shadow: 0 14px 30px rgba(94, 75, 51, 0.12);
    z-index: 2;
}

.support-note-top { top: 18px; left: 50%; transform: translateX(-50%); text-align: center; }
.support-note-left { left: 14px; bottom: 52px; }
.support-note-right { right: 14px; bottom: 38px; }

.support-note-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #A87A46;
}

.support-note strong {
    display: block;
    color: #2D2A26;
    margin-bottom: 6px;
    line-height: 1.45;
}

.support-note p {
    margin: 0;
    color: #5E5348;
    font-size: 0.9rem;
    line-height: 1.65;
}

.strength-copy-block {
    position: relative;
    padding: 8px 4px;
}

.strength-number {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F7DFC4 0%, #F9EBDD 100%);
    color: #9C5C1D;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.strength-copy-block h3 {
    margin: 0;
    color: #2D2A26;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.35;
}

.strength-copy-block p {
    margin: 18px 0 0;
    color: #5E5348;
    font-size: 1rem;
    line-height: 1.9;
}

.strength-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 12px;
}

.strength-bullets li {
    position: relative;
    padding-left: 30px;
    color: #4D453D;
    line-height: 1.8;
}

.strength-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F2B56A 0%, #F5D5B0 100%);
    box-shadow: 0 0 0 4px rgba(245, 229, 212, 0.85);
}

@media (max-width: 960px) {
    .education-photo-hero {
        padding: 98px 0 30px;
    }

    .education-photo-mosaic {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .mosaic-track-d,
    .mosaic-track-e {
        display: none;
    }

    .education-photo-hero .container {
        min-height: 76vh;
    }

    .education-photo-copy {
        max-width: 520px;
    }

    .strength-feature-card,
    .strength-feature-card.support-card {
        grid-template-columns: 1fr;
    }

    .strength-feature-card.support-card .strength-visual-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .education-photo-hero {
        padding: 84px 0 22px;
    }

    .education-photo-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
    }

    .mosaic-track {
        grid-template-rows: repeat(4, minmax(130px, 1fr));
        gap: 10px;
    }

    .mosaic-track-a { transform: translateY(0); }
    .mosaic-track-b { transform: translateY(20px); }
    .mosaic-track-c,
    .mosaic-track-d,
    .mosaic-track-e {
        display: none;
    }

    .education-photo-mosaic::before {
        background:
            linear-gradient(180deg, rgba(255, 248, 240, 0.14) 0%, rgba(255, 248, 240, 0.08) 20%, rgba(255, 248, 240, 0.68) 100%),
            linear-gradient(90deg, rgba(255, 248, 240, 0.85) 0%, rgba(255, 248, 240, 0.68) 42%, rgba(255, 248, 240, 0.24) 100%);
    }

    .education-photo-hero .container {
        min-height: 78vh;
        align-items: flex-end;
    }

    .education-photo-copy {
        max-width: none;
        margin: 0 0 8px;
        padding: 24px 20px 20px;
        border-radius: 26px;
    }

    .education-strength-visuals {
        padding: 80px 0 12px;
    }

    .strength-feature-card {
        padding: 20px;
        gap: 22px;
        border-radius: 26px;
    }

    .strength-visual-panel,
    .curriculum-scene,
    .support-layout {
        min-height: 350px;
    }

    .curriculum-flow-board {
        left: 16px;
        right: 16px;
        top: 16px;
        gap: 6px;
        padding: 10px 12px;
    }

    .flow-chip {
        font-size: 0.76rem;
        padding: 9px 12px;
    }

    .curriculum-mini-cards {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 16px;
    }

    .support-main-photo {
        width: min(78%, 280px);
        border-radius: 24px;
    }

    .ring-two {
        display: none;
    }

    .support-note {
        width: min(72%, 220px);
        padding: 14px 16px;
    }

    .support-note-top {
        top: 10px;
    }

    .support-note-left {
        left: 10px;
        bottom: 20px;
    }

    .support-note-right {
        right: 10px;
        bottom: 96px;
    }

    .strength-copy-block h3 {
        font-size: 1.55rem;
    }

    .strength-copy-block p,
    .strength-bullets li {
        font-size: 0.95rem;
    }
}

@media (max-width: 560px) {
    .education-photo-mosaic {
        grid-template-columns: 1fr;
    }

    .mosaic-track-b,
    .mosaic-track-c,
    .mosaic-track-d,
    .mosaic-track-e {
        display: none;
    }

    .education-photo-hero .container {
        min-height: 72vh;
    }

    .education-photo-copy p {
        font-size: 0.92rem;
    }

    .strength-visual-panel,
    .curriculum-scene,
    .support-layout {
        min-height: 320px;
    }

    .curriculum-flow-board {
        justify-content: flex-start;
    }

    .support-note {
        position: absolute;
        width: auto;
        max-width: 200px;
    }

    .support-note-top {
        max-width: 190px;
    }

    .support-note-right {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mosaic-track-a,
    .mosaic-track-b,
    .mosaic-track-c,
    .mosaic-track-d,
    .mosaic-track-e {
        transform: none !important;
    }
}

/* ===== v9: restore v7 hero and redesign strengths ===== */

.education-strength-visuals {
    padding: 108px 0 28px;
    background: linear-gradient(180deg, #FFF7EE 0%, #FFFDF9 100%);
}

.strength-heading {
    margin-bottom: 54px;
}

.strength-visual-grid {
    display: grid;
    gap: 34px;
}

.strength-feature-card,
.strength-feature-card.support-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 32px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(240, 219, 196, 0.9);
    box-shadow: 0 22px 48px rgba(176, 141, 101, 0.11);
}

.strength-visual-panel {
    position: relative;
    min-height: 470px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5E8 0%, #F9FBFF 100%);
    border: 1px solid rgba(241, 221, 201, 0.92);
}

.curriculum-panel {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.curriculum-stage-strip {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
    align-items: center;
    gap: 0;
}

.stage-card {
    align-self: stretch;
    display: grid;
    grid-template-rows: 188px auto 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(236, 219, 199, 0.92);
    box-shadow: 0 14px 32px rgba(101, 76, 42, 0.08);
}

.stage-photo {
    border-radius: 20px;
    overflow: hidden;
    background: #f0ece6;
}

.stage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.45;
    color: #2D2A26;
}

.stage-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: #5E5348;
}

.stage-connector {
    position: relative;
    height: 100%;
}

.stage-connector::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #E4B376 0%, #C97D2A 100%);
    transform: translate(-50%, -50%);
}

.stage-connector::after {
    content: "";
    position: absolute;
    right: calc(50% - 14px);
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #C97D2A;
    border-right: 2px solid #C97D2A;
    transform: translateY(-50%) rotate(45deg);
}

.stack-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 188px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFF6EA 0%, #F6FBFF 100%);
    overflow: hidden;
}

.stack-sheet {
    position: absolute;
    width: 68%;
    height: 54%;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(234, 217, 197, 0.95);
    box-shadow: 0 12px 24px rgba(104, 78, 41, 0.08);
}
.stack-sheet.one { transform: rotate(-8deg) translate(-16px, 10px); }
.stack-sheet.two { transform: rotate(6deg) translate(12px, -4px); }
.stack-sheet.three { transform: rotate(-1deg); background: linear-gradient(180deg, #fff 0%, #fff9f1 100%); }
.stack-sheet.three::before,
.stack-sheet.three::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    height: 8px;
    border-radius: 999px;
    background: rgba(199, 125, 42, 0.16);
}
.stack-sheet.three::before { top: 28px; }
.stack-sheet.three::after { top: 48px; }

.stack-badge {
    position: relative;
    z-index: 1;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F7DFC4 0%, #FFF1D9 100%);
    color: #8D551D;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.curriculum-bottom-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.note-chip {
    padding: 12px 16px;
    border-radius: 999px;
    background: #FFF3E4;
    color: #714B2A;
    font-weight: 700;
    line-height: 1.5;
}

.note-chip.soft {
    background: #F7FAFF;
    color: #42566A;
}

.support-panel {
    padding: 24px;
}

.support-comparison-board {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
}

.support-board-head {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 16px;
}

.head-col {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.7);
    color: #7A6A58;
    font-weight: 700;
    text-align: center;
}

.head-col.active {
    background: linear-gradient(135deg, #FFE6BE 0%, #FFF4DE 100%);
    color: #8B551D;
}

.support-board-body {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 16px;
}

.support-column {
    display: grid;
    gap: 14px;
}

.support-column-photo {
    border-radius: 24px;
    overflow: hidden;
    min-height: 250px;
    box-shadow: 0 16px 34px rgba(89, 65, 38, 0.1);
}

.support-column-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-column-photo.muted {
    position: relative;
}

.support-column-photo.muted::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.3);
    backdrop-filter: grayscale(0.15);
}

.support-column-photo.main {
    min-height: 320px;
}

.support-column-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(237, 220, 202, 0.95);
}

.support-column-card strong,
.band-point strong {
    display: block;
    color: #2D2A26;
    font-size: 1rem;
    margin-bottom: 6px;
}

.support-column-card p,
.band-point span,
.support-mini-card span {
    color: #5E5348;
    font-size: 0.92rem;
    line-height: 1.7;
}

.support-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.support-mini-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(236, 218, 197, 0.96);
}

.support-mini-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.support-emphasis-band {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FFF4E6 0%, #FFF9F0 100%);
    border: 1px solid rgba(239, 220, 198, 0.95);
}

.band-point {
    text-align: center;
}

.band-divider {
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #E4B376 0%, #C97D2A 100%);
}

.strength-copy-block {
    position: relative;
    padding: 8px 4px;
}

.strength-number {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F7DFC4 0%, #F9EBDD 100%);
    color: #9C5C1D;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.strength-copy-block h3 {
    margin: 0;
    color: #2D2A26;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.35;
}

.strength-copy-block p {
    margin: 18px 0 0;
    color: #5E5348;
    font-size: 1rem;
    line-height: 1.9;
}

@media (max-width: 1100px) {
    .curriculum-stage-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stage-connector {
        height: 24px;
    }

    .stage-connector::before {
        width: 2px;
        height: 18px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: linear-gradient(180deg, #E4B376 0%, #C97D2A 100%);
    }

    .stage-connector::after {
        right: auto;
        left: 50%;
        top: calc(50% + 8px);
        transform: translateX(-50%) rotate(135deg);
    }
}

@media (max-width: 960px) {
    .strength-feature-card,
    .strength-feature-card.support-card {
        grid-template-columns: 1fr;
    }

    .strength-visual-panel {
        min-height: auto;
    }

    .support-board-head,
    .support-board-body {
        grid-template-columns: 1fr;
    }

    .support-column-photo.muted::after {
        background: rgba(255,255,255,0.14);
    }
}

@media (max-width: 768px) {
    .education-strength-visuals {
        padding: 80px 0 12px;
    }

    .strength-feature-card,
    .strength-feature-card.support-card {
        padding: 20px;
        gap: 22px;
        border-radius: 26px;
    }

    .curriculum-panel,
    .support-panel {
        padding: 18px;
    }

    .stage-card {
        grid-template-rows: 160px auto 1fr;
        padding: 16px;
    }

    .stage-card h3 {
        font-size: 1.06rem;
    }

    .stage-card p,
    .strength-copy-block p,
    .support-column-card p,
    .band-point span,
    .support-mini-card span {
        font-size: 0.92rem;
    }

    .support-mini-grid,
    .support-emphasis-band {
        grid-template-columns: 1fr;
    }

    .band-divider {
        width: 2px;
        height: 16px;
        margin: 0 auto;
        background: linear-gradient(180deg, #E4B376 0%, #C97D2A 100%);
    }
}

@media (max-width: 560px) {
    .education-photo-hero .container {
        min-height: 72vh;
    }

    .education-photo-copy p {
        font-size: 0.92rem;
    }

    .stage-card {
        grid-template-rows: 142px auto 1fr;
    }
}

/* v10 strengths simplification */
.strength-heading.compact {
    margin-bottom: 40px;
}

.strength-heading.compact h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.3;
}

.strength-heading.compact h2 span {
    color: #C46E1E;
}

.compact-grid {
    gap: 26px;
}

.compact-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 28px;
    padding: 28px;
}

.compact-panel {
    min-height: 420px;
}

.curriculum-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
    gap: 18px;
    align-items: stretch;
    min-height: 300px;
}

.curriculum-hero-photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(102, 73, 39, 0.12);
}

.curriculum-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curriculum-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(255,247,237,0.95) 100%);
    border: 1px solid rgba(237, 218, 196, 0.96);
}

.curriculum-big-word {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1;
    font-weight: 900;
    color: #2D2A26;
    letter-spacing: 0.02em;
}

.curriculum-hero-copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #5E5348;
}

.curriculum-flow-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.curriculum-flow-chips span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(236, 218, 197, 0.96);
    color: #6A5440;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 20px rgba(117, 84, 47, 0.06);
}

.curriculum-flow-chips span:nth-child(2) {
    background: linear-gradient(135deg, #FFF1DB 0%, #FFF8ED 100%);
    color: #A95F17;
}

.compact-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.compact-copy h3 {
    font-size: clamp(1.7rem, 2.9vw, 2.7rem);
    line-height: 1.45;
}

.simple-head {
    grid-template-columns: 0.8fr 1.2fr;
}

.simplified-body {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
}

.simple-col {
    gap: 12px;
}

.simple-mini-grid {
    margin-top: 2px;
}

.simple-mini-grid .support-mini-card {
    padding: 10px;
}

.simple-band {
    grid-template-columns: 1fr;
    padding: 18px 20px;
}

.result-only strong {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 8px;
}

.result-only span {
    display: block;
    max-width: 34em;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .compact-card {
        grid-template-columns: 1fr;
    }

    .curriculum-hero-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .compact-copy {
        justify-content: flex-start;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .strength-heading.compact {
        margin-bottom: 28px;
    }

    .compact-card {
        padding: 18px;
        gap: 18px;
    }

    .compact-panel {
        min-height: auto;
    }

    .curriculum-hero-copy {
        padding: 22px 18px;
    }

    .curriculum-big-word {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .curriculum-flow-chips {
        grid-template-columns: 1fr;
    }

    .simple-head,
    .simplified-body {
        grid-template-columns: 1fr;
    }

    .result-only strong {
        font-size: 1.18rem;
    }
}


/* v12 strength section refinement */
.strength-heading-v12 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.strength-heading-v12 .strength-heading-note {
    max-width: 36em;
    margin: 14px auto 0;
    font-size: 0.96rem;
    line-height: 1.8;
    color: #756759;
}

.strength-ad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.strength-ad-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,248,240,0.98) 100%);
    border: 1px solid rgba(236, 219, 198, 0.95);
    box-shadow: 0 22px 46px rgba(101, 74, 44, 0.08);
}

.strength-ad-visual {
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(255,245,232,0.98) 100%);
    border: 1px solid rgba(237, 219, 197, 0.95);
}

.ad-photo-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(150px, 0.82fr);
    gap: 12px;
    margin-bottom: 14px;
}

.ad-photo,
.support-side-photo,
.support-mini {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(88, 63, 36, 0.12);
}

.ad-photo img,
.support-side-photo img,
.support-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-photo.large,
.ad-photo.small {
    min-height: 280px;
}

.ad-flow-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, #FFF0DA 0%, #FFF8EC 100%);
}

.ad-flow-step {
    display: grid;
    gap: 4px;
    text-align: center;
}

.ad-flow-step strong,
.support-side-copy strong,
.strength-ad-copy h3 {
    color: #2E2924;
}

.ad-flow-step strong {
    font-size: 1.02rem;
}

.ad-flow-step span,
.support-side-copy span {
    font-size: 0.92rem;
    color: #6E5D4D;
}

.ad-flow-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    color: #B16B1D;
    box-shadow: 0 10px 18px rgba(164, 102, 29, 0.08);
}

.support-split-board {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 14px;
    align-items: stretch;
}

.support-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

.support-side.muted {
    opacity: 0.82;
}

.support-side-photo {
    min-height: 244px;
    position: relative;
}

.support-side.muted .support-side-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.34);
}

.support-mini-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.support-mini {
    min-height: 118px;
}

.support-side-copy {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(237, 219, 197, 0.95);
    text-align: center;
}

.support-side-copy.emphasis {
    background: linear-gradient(135deg, #FFF0DA 0%, #FFF8EC 100%);
}

.strength-ad-copy {
    display: grid;
    gap: 12px;
    padding: 4px 6px 0;
}

.strength-ad-copy h3 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.3;
}

.strength-ad-copy h3 strong {
    color: #C46E1E;
}

.strength-ad-copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #62574B;
}

@media (max-width: 1080px) {
    .strength-ad-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .strength-heading-v12 .strength-heading-note {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .strength-ad-card {
        padding: 18px;
        gap: 14px;
        border-radius: 26px;
    }

    .strength-ad-visual {
        padding: 14px;
        border-radius: 22px;
    }

    .ad-photo-stack,
    .ad-flow-band,
    .support-split-board {
        grid-template-columns: 1fr;
    }

    .ad-flow-arrow {
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .support-mini-strip {
        grid-template-columns: 1fr 1fr;
    }

    .strength-ad-copy h3 {
        font-size: clamp(1.6rem, 7vw, 2.15rem);
    }

    .strength-ad-copy p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}


/* v13 poster-style strengths */
.strength-heading-v13 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.strength-heading-v13 .strength-heading-note {
    max-width: 42em;
    margin: 14px auto 0;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #756759;
}

.strength-poster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.strength-poster-card {
    display: grid;
    gap: 18px;
}

.strength-poster-frame {
    display: block;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(236, 219, 198, 0.95);
    box-shadow: 0 24px 50px rgba(101, 74, 44, 0.11);
}

.strength-poster-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.strength-poster-copy {
    padding: 0 6px;
}

.strength-poster-copy h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.45;
    color: #2E2924;
}

.strength-poster-copy p {
    margin: 10px 0 0;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #62574B;
}

@media (max-width: 1080px) {
    .strength-poster-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .strength-heading-v13 .strength-heading-note {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .strength-poster-frame {
        border-radius: 24px;
    }

    .strength-poster-copy h3 {
        font-size: 1.35rem;
    }

    .strength-poster-copy p {
        font-size: 0.93rem;
        line-height: 1.78;
    }
}

/* Dynamic Floorplan Demo Styles */
.demo-showcase {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
    padding: 60px 40px;
    border: 1px solid #e2e8f0;
}
.demo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #005A9E;
    text-align: center;
    margin-bottom: 24px;
}
p.demo-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.demo-visual-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .demo-visual-comparison {
        flex-direction: column;
        gap: 20px;
    }
}
.demo-before, .demo-after {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.demo-before img, .demo-after img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.demo-before img {
    border: 1px solid #cbd5e1;
}
.demo-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.demo-badge.before {
    background: #e2e8f0;
    color: #4a5568;
}
.demo-badge.after {
    background: #005A9E;
    color: #ffffff;
}
.demo-arrow {
    font-size: 3rem;
    color: #cbd5e1;
}
