/*
Theme Name: Logical AI School
Author: AI-Partners, Inc.
Description: A custom theme for the Logical AI School website.
Version: 1.0.0
Text Domain: logical-ai-school
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    color: #32373A;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Basic text elements */
strong {
    font-weight: 700;
    color: #32373A;
}

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

/* Section-specific container classes */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

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

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

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    color: #32373A;
}

p, span, div {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    color: #32373A;
}

/* English text styling */
.english-text {
    font-family: "Prompt", sans-serif;
    font-weight: 700;
    color: #32373A;
}

/* Apply English font to specific elements that may contain English text */
.title, .subtitle, .button-text, .nav-text, .cta-text {
    font-family: "Prompt", sans-serif;
    font-weight: 700;
    color: #32373A;
}

p {
    margin-bottom: 25px;
    margin-top: 10px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 40px;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #FB5F76;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: #FB5F76;
    border: 2px solid #FB5F76;
}

.btn-primary:hover .arrow::before {
    background: #FB5F76;
}

.btn-primary:hover .arrow::after {
    border-top-color: #FB5F76;
    border-right-color: #FB5F76;
}

.btn-secondary {
    background: #3B9BE5;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #3B9BE5;
    border: 1px solid #3B9BE5;
}

.btn-secondary:hover .arrow::before {
    background: #3B9BE5;
}

.btn-secondary:hover .arrow::after {
    border-top-color: #3B9BE5;
    border-right-color: #3B9BE5;
}

/* Arrow styles for primary and secondary buttons */
.btn-primary .arrow,
.btn-secondary .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-primary .arrow::before,
.btn-secondary .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-primary .arrow::after,
.btn-secondary .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-primary:hover .arrow,
.btn-secondary:hover .arrow {
    transform: translateX(5px);
}

/* Primary/secondary button margins (horizontal) */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    margin-left: 50px;
    margin-right: 50px;
}

.btn-dark {
    background: #32373A;
    color: white;
}

/* Slate button used in course section */
.btn-slate {
    background: #4F575C;
    color: #ffffff;
    border: 2px solid #4F575C;
}

.btn-slate:hover {
    background: white;
    color: #4F575C;
    border-color: #4F575C;
}

/* Force white arrow for slate buttons */
.btn-slate .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-slate .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-slate .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-slate:hover .arrow {
    transform: translateX(5px);
}

.btn-slate:hover .arrow::before {
    background: #4F575C;
}

.btn-slate:hover .arrow::after {
    border-top-color: #4F575C;
    border-right-color: #4F575C;
}

.btn-trial {
    background: #3B9BE5;
    color: white;
    font-size: 16px;
    padding: 15px 30px;
    border: 2px solid #3B9BE5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-trial:hover {
    background: white;
    color: #3B9BE5;
    border-color: #3B9BE5;
}

.btn-trial:hover .arrow::before {
    background: #3B9BE5;
}

.btn-trial:hover .arrow::after {
    border-top-color: #3B9BE5;
    border-right-color: #3B9BE5;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-small:hover {
    background: white;
    color: #32373A;
    border: 2px solid #32373A;
}

.btn-small:hover .arrow::before {
    background: #32373A;
}

.btn-small:hover .arrow::after {
    border-top-color: #32373A;
    border-right-color: #32373A;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Header */
.header {
    background: #5E6469;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

.logo-img:first-child {
    height: 50px;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #7bd0ff;
    border-radius: 2px;
}


/* Hero Section */
.hero {
    background: transparent;
    height: 70vh;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 0;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    height: 100%;
}

.hero-text {
    color: white;
    z-index: 4;
    text-align: center;
    position: relative;
    padding: 0 20px;
    margin-top: 80px;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-text.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

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

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title-part1 {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    color: white;
}

.hero-title-part1.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-title-part2 {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.3s;
    color: white;
}

.hero-title-part2.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-top: 30px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.2s;
}

.hero-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo {
    margin-top: 30px;
    opacity: 1;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.4s;
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo-img {
    height: 60px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    display: block;
    margin: 0 auto;
}

.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    background-color: #000000;
}

.cta-button {
    position: absolute;
    right: 20px;
    bottom: 40px;
    background: #FB5F76;
    color: white;
    border: none;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    box-sizing: border-box;
    padding: 6px;
    isolation: isolate;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    background: #FB5F76;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.cta-button > * {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.1);
    background: white;
    color: #FB5F76;
}

.cta-button:hover::before {
    background: #FB5F76;
}

.cta-button:hover::after {
    background: white;
}

/* Scroll Down Section */
.scroll-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: transparent;
    padding: 0;
    margin-top: 500px;
}

.scroll-down-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down-content:hover {
    transform: translateY(-5px);
}

.scroll-down-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    opacity: 0.8;
}

.scroll-down-arrow {
    position: relative;
    width: 2px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-line {
    width: 1px;
    height: 70px;
    background: white;
    opacity: 0.6;
    position: relative;
}

.arrow-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.5px;
    width: 2px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: scrollHead 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        height: 50px;
        opacity: 0.8;
    }
    50% {
        height: 30px;
        opacity: 0.4;
    }
}

@keyframes scrollHead {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(62px);
        opacity: 0;
    }
}


/* Course Catalog Section */
.course-catalog {
    background: #f8f9fa;
    padding: 80px 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-card {
    background: white;
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.course-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.course-image {
    margin-bottom: 15px;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 40px;
}

.course-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.course-target {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.course-description {
    margin-bottom: 15px;
}

.course-description p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.course-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
}

.course-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-campaign {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-campaign:hover {
    background: white;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-campaign:hover .arrow::before {
    background: #dc3545;
}

.btn-campaign:hover .arrow::after {
    border-top-color: #dc3545;
    border-right-color: #dc3545;
}


/* About Section */
.about {
    background: linear-gradient(180deg, rgba(88, 94, 107, 0) 0%, rgba(88, 94, 107, 0) 20%, #585E6B 60%, #5E6469 90%);
    padding: 100px 0 350px 0;
    position: relative;
    margin-top: 80px;
}

.about-card {
    background: white;
    border-radius: 50% / 30%;
    padding: 150px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    margin: 50px 35px;
    border: 1px solid rgba(255,255,255,0.8);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: #32373A;
    font-weight: 700;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    margin-top: 20px;
    line-height: 1.9;
    text-align: center;
}

.about-buttons {
    display: grid;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
    align-items: center;
}

.decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-square {
    width: 20px;
    height: 20px;
    background: #FF6B9D;
    top: 20%;
    right: 10%;
    border-radius: 4px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #3B9BE5;
    top: 60%;
    left: 5%;
}

.shape-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #f5f5f5;
    box-sizing: border-box;
    top: 10%;
    left: 90%; 
}

/* Course Section */
.course {
    background: #F7F8FA;
    margin: -203px 0 0 0;
    display: grid;
    justify-content: center;
    align-items: center;
}

/* rounded background surface */
.course-surface {
    background: white;
    border-top-left-radius: 50% 203px;
    border-top-right-radius: 50% 203px;
    border-bottom-left-radius: 50% 203px;
    border-bottom-right-radius: 50% 203px;
    padding: 250px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    display: grid;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* top row */
.course-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
    padding: 0;
    max-width: 1400px;
    width: 100%;
}

.course-header .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 700;
}


.course-left{
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding: 0 40px;
    text-align: left;
    line-height: 1.7;
}

.course-left .course-desc {
    color: #666;
    line-height: 1.9;
}

.course-actions {
    display: grid;
    grid-template-columns: auto;
    gap: 16px;
    margin-top: 24px;
}

.course-right .course-thumbs {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: -8px;
}

.course-right .course-thumbs img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #CBC9C5;
    padding: 8px 0 8px 8px;
    margin: -8px 0 -8px -8px;
}

/* single large thumbnail */
.course-right { display: flex; align-items: center; justify-content: flex-end; }

.course-right .course-thumbs img { height: auto; width: 100%; border-radius: 16px 0 0 16px; object-fit: contain; background: #CBC9C5; padding: 8px 0 8px 8px; margin: -8px 0 -8px -8px; }

@media (max-width: 768px) {
    .course-thumbs-single img {
        height: auto;
    }
}

/* featured campus card */
.featured-campus {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 24px;
    padding: 24px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 0;
    max-width: 1400px;
    width: calc(100%) ;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0 16px 16px 0;
    background: #CBC9C5;
    padding: 8px 8px 8px 0;
    margin: -8px -8px -8px 0;
}

.featured-content {
    text-align: left;
}

.featured-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #E3F2FD;
    color: #3B82F6;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.featured-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.featured-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* responsive tweaks for rounded container */
@media (max-width: 768px) {
    .course-surface {
        border-radius: 120px;
        padding: 40px 24px;
    }
    .course-left .course-lead {
        font-size: 1.05rem;
    }
    .course-header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }
    .featured-campus {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin: 0 20px;
        width: calc(100% - 40px);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .course-surface {
        border-radius: 80px;
        padding: 32px 18px;
    }
    .course-header {
        padding: 0 15px;
    }
    .featured-campus {
        margin: 0 15px;
        width: calc(100% - 30px);
        padding: 15px;
    }
}


/* Voices Section */
.voices {
    padding: 100px 0;
    background: #f8f9fa;
}

.voices .section-title {
    text-align: left;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.voice-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

.voice-card-pink {
    border: 3px solid #FF6B9D;
    background: rgba(255, 107, 157, 0.05);
}

.voice-card-blue {
    border: 3px solid #3B9BE5;
    background: rgba(74, 144, 226, 0.05);
}

.voice-card-green {
    border: 3px solid #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.voice-card p {
    margin-bottom: 30px;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.6;
}

.voice-card:hover,
.voice-card:focus,
.voice-card:active,
.voice-card:visited {
    text-decoration: none;
}

/* Activities Section */
.activities {
    padding: 100px 0;
    background: white;
    position: relative;
}

.activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 192, 203, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.activities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.activities-left {
    flex: 1;
    max-width: 500px;
}

.activities-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #32373A;
    margin-bottom: 15px;
    line-height: 1.2;
}

.activities-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 35px;
}

.activities-description {
    margin-bottom: 45px;
}

.activities-description p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.activities-btn {
    background: #32373A;
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.activities-btn:hover {
    background: #2a2e31;
    transform: translateY(-2px);
}

.activities-right {
    flex: 1;
    max-width: 400px;
}

.activities-images {
    position: relative;
    height: 500px;
    width: 100%;
}

.activity-image-card {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: transparent;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

/* 右上の画像（VR・科学学習） */
.activity-image-card:nth-child(1) {
    top: 0;
    right: 0;
    width: 280px;
    height: 280px;
}

/* 中央左の画像（AI・データ分析学習） */
.activity-image-card:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 320px;
    height: 220px;
}

/* 右下の画像（プログラミング・創造学習） */
.activity-image-card:nth-child(3) {
    bottom: 20px;
    right: 20px;
    width: 160px;
    height: 160px;
}

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

/* home6（中央左）のホバー効果を小さく */
.activity-image-card:nth-child(2):hover {
    transform: translateY(-50%) translateY(-2px);
}

.activity-image-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px;
}

/* 1枚目: 右上、大サイズ */
.activity-image-card:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
    margin: 0 auto;
    max-width: 200px;
    max-height: 200px;
}

/* 2枚目: 左、中サイズ */
.activity-image-card:nth-child(2) {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0 auto;
    max-width: 180px;
    max-height: 100%;
}

/* 3枚目: 右下、小サイズ */
.activity-image-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin: 0 auto;
    max-width: 180px;
    max-height: 180px;
}


/* Trial CTA - 統一されたスタイル */
.trial-cta {
    padding: 80px 0;
    background: white;
    position: relative;
    text-align: center;
}

/* Transparent variant for the first trial-cta on page 2 */
.trial-cta.trial-cta--transparent {
    background-color: transparent;
    background-image: url('assets/images/2/policy.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: 200px 0; /* increased vertical height for transparent variant */
}

@media (max-width: 768px) {
    .trial-cta.trial-cta--transparent {
        padding: 240px 0; /* more height on tablet */
    }
}

@media (max-width: 480px) {
    .trial-cta.trial-cta--transparent {
        padding: 300px 0; /* much more height on mobile */
    }
}

/* Overlay to match policy-section lightness */
.trial-cta.trial-cta--transparent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.30);
    z-index: 0;
}

.trial-cta.trial-cta--transparent > .container {
    position: relative;
    z-index: 2;
}

.trial-banner {
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.trial-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.laptop-icon {
    width: 50px;
    height: 50px;
}


.trial-content {
    flex: 1;
    text-align: left;
}

.trial-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #32373A;
    position: relative;
    display: inline-block;
}

.trial-title .small-text {
    font-size: 1.2rem;
}

.trial-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #FF69B4 0px,
        #FF69B4 8px,
        transparent 8px,
        transparent 16px
    );
}

.trial-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.btn-trial-cta {
    background: #3B9BE5;
    color: white;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #3B9BE5;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-trial-cta:hover {
    background: white;
    color: #3B9BE5;
    border: 2px solid #3B9BE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-trial-cta:hover .arrow::before {
    background: #3B9BE5;
}

.btn-trial-cta:hover .arrow::after {
    border-top-color: #3B9BE5;
    border-right-color: #3B9BE5;
}

.btn-trial-cta .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-trial-cta .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-trial-cta .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-trial-cta:hover .arrow {
    transform: translateX(5px);
}

.robot-icon {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.robot-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(100deg) brightness(100%) contrast(100%);
}

.decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    border-radius: 2px;
}

.confetti-red {
    width: 12px;
    height: 12px;
    background: #FF6B6B;
    top: 10%;
    right: 5%;
    transform: rotate(45deg);
}

.confetti-yellow {
    width: 10px;
    height: 10px;
    background: #FFD93D;
    top: 20%;
    left: 3%;
    transform: rotate(30deg);
}

.confetti-green {
    width: 8px;
    height: 8px;
    background: #6BCF7F;
    bottom: 15%;
    left: 8%;
    transform: rotate(60deg);
}

.confetti-blue {
    width: 14px;
    height: 14px;
    background: #4D96FF;
    top: 30%;
    right: 10%;
    transform: rotate(15deg);
}

.confetti-triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #FF8A80;
    top: 40%;
    left: 2%;
    background: none;
}

.confetti-square {
    width: 9px;
    height: 9px;
    background: #FFB74D;
    bottom: 25%;
    right: 3%;
    transform: rotate(45deg);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.faq-categories {
    position: relative;
    height: 600px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-category {
    background: white;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: absolute;
    border-radius: 50%;
    border: 4px solid;
    text-decoration: none;
}

.faq-category:hover,
.faq-category:focus,
.faq-category:active,
.faq-category:visited {
    text-decoration: none;
}


.faq-category p {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    margin: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: none;
}

.faq-category:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 10;
}

/* 各カテゴリのホバー時のtransform調整 */
.faq-category:nth-child(2):hover {
    transform: translateX(-50%) translateY(-8px) scale(1.05);
}

.faq-category:nth-child(4):hover {
    transform: translateY(-50%) translateY(-8px) scale(1.05);
}

.faq-category:nth-child(5):hover {
    transform: translate(-50%, -50%) translateY(-8px) scale(1.05);
}

.faq-category:nth-child(6):hover {
    transform: translateY(-50%) translateY(-8px) scale(1.05);
}

/* カテゴリの色分け */
.faq-pink { 
    background: white; 
    border-color: #FF69B4;
}

.faq-pink:hover {
    background: #FF69B4;
}

.faq-pink:hover p {
    color: white;
}

.faq-light-blue { 
    background: white; 
    border-color: #87CEEB;
}

.faq-light-blue:hover {
    background: #87CEEB;
}

.faq-light-blue:hover p {
    color: white;
}

.faq-orange { 
    background: white; 
    border-color: #FFA500;
}

.faq-orange:hover {
    background: #FFA500;
}

.faq-orange:hover p {
    color: white;
}

.faq-green { 
    background: white; 
    border-color: #32CD32;
}

.faq-green:hover {
    background: #32CD32;
}

.faq-green:hover p {
    color: white;
}

.faq-yellow { 
    background: white; 
    border-color: #FFD700;
}

.faq-yellow:hover {
    background: #FFD700;
}

.faq-yellow:hover p {
    color: white;
}

.faq-purple { 
    background: white; 
    border-color: #DA70D6;
}

.faq-purple:hover {
    background: #DA70D6;
}

.faq-purple:hover p {
    color: white;
}

.faq-dark-blue { 
    background: white; 
    border-color: #4169E1;
}

.faq-dark-blue:hover {
    background: #4169E1;
}

.faq-dark-blue:hover p {
    color: white;
}

/* 各カテゴリの個別配置 */
.faq-category:nth-child(1) { /* 料金・入会について */
    top: 20px;
    left: 150px;
}

.faq-category:nth-child(2) { /* 教室・コースについて */
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.faq-category:nth-child(3) { /* 授業・カリキュラムについて */
    top: 10px;
    right: 150px;
}

.faq-category:nth-child(4) { /* その他 */
    top: 60%;
    left: 20px;
    transform: translateY(-50%);
}

.faq-category:nth-child(5) { /* 講師・指導について */
    top: 70%;
    left: 35%;
    transform: translate(-50%, -50%);
}

.faq-category:nth-child(6) { /* 体験授業について */
    top: 60%;
    right: 25%;
    transform: translateY(-50%);
}

.faq-category:nth-child(7) { /* 教室環境・設備について */
    bottom: 150px;
    right: 10px;
}


/* ボタンコンテナ */
.faq-button-container {
    text-align: center;
    margin-top: 20px;
}

.faq-button {
    background: #32373A;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.faq-button:hover {
    background: #2a2e31;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


.trial-banner {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.trial-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trial-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trial-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.laptop-icon {
    width: 50px;
    height: 50px;
}

.trial-description-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.trial-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #32373A;
    position: relative;
    display: inline-block;
}

.trial-title .small-text {
    font-size: 1.2rem;
}

.trial-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #FF69B4 0px,
        #FF69B4 8px,
        transparent 8px,
        transparent 16px
    );
}

.trial-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    text-align: left;
}


.robot-icon {
    position: absolute;
    bottom: 20px;
    right: 60px;
}

.robot-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(100%) saturate(2000%) hue-rotate(100deg) brightness(100%) contrast(100%);
}


/* Info Section */
.info {
    padding: 100px 0;
    background: white;
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.info-image {
    text-align: center;
    margin-bottom: 20px;
}

.info-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

.info-content {
    flex: 1;
    text-align: left;
}

.info-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #32373A;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.info-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #3B9BE5;
    border-radius: 2px;
}

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

.info-cta {
    text-align: center;
    margin: 40px 0;
}

.btn-info-cta {
    background: #4a5568;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    border: 2px solid #4a5568;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-info-cta:hover {
    background: white;
    color: #4a5568;
    border-color: #4a5568;
    transform: translateY(-2px);
}

.btn-info-cta:hover .arrow {
    border-left-color: #4a5568;
}

.btn-info-cta .arrow {
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform 0.3s ease;
}

.btn-info-cta:hover .arrow {
    transform: translateX(3px);
}


@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* News Section */
.news {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.news-list {
    margin-bottom: 40px;
}

.news-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.news-tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

/* 内容に応じたタグの色分け */
.news-tag-blue { 
    background: #3B9BE5; 
}

.news-tag-red { 
    background: #E74C3C; 
}

.news-tag-orange { 
    background: #F39C12; 
}

.news-tag-green { 
    background: #27AE60; 
}

.news-tag-purple { 
    background: #8E44AD; 
}

.news-tag-pink { 
    background: #E91E63; 
}

.news-tag-yellow { 
    background: #F1C40F; 
    color: #333;
}

.news-tag-gray { 
    background: #7F8C8D; 
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-item p {
    flex: 1;
    margin: 10px 0;
}

.news-item:hover,
.news-item:focus,
.news-item:active,
.news-item:visited {
    text-decoration: none;
}


/* Blog Section */
.blog {
    padding: 100px 0;
    background: white;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
}

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

.blog-card:hover,
.blog-card:focus,
.blog-card:active,
.blog-card:visited {
    text-decoration: none;
}

.blog-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
}

.blog-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    margin-top: 5px;
}

.blog-content h3 {
    font-size: 1.1rem;
    color: #32373A;
    line-height: 1.4;
}


/* Footer */
.footer {
    background: #5E6469;
    color: white;
    padding: 80px 0 30px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #5E6469;
    border-radius: 20px 20px 0 0;
}

/* Logo Section */
.footer-logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-main {
    height: 50px;
}

.footer-logo-sub {
    height: 40px;
}

/* Navigation Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.footer-column h4::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    font-size: 0.7rem;
}

.footer-column h4:hover {
    color: #3B9BE5;
}

.sub-link {
    color: #ccc;
    font-size: 0.8rem;
    margin-left: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sub-link:hover {
    color: #3B9BE5;
}

/* Company Information */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.company-info {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.company-logo {
    display: grid;
    align-items: center;
}

.ai-logo {
    height: 30px;
    width: auto;
}

.company-details {
    text-align: left;
}

.company-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.company-details li > div:first-child {
    font-weight: 700;
    color: #32373A;
    margin-right: 20px;
    min-width: 120px;
    flex-shrink: 0;
}

.company-details span {
    color: #666;
    flex: 1;
    text-align: left;
}

.company-details div {
    color: #666;
    margin-bottom: 15px;
}

.company-details .access-info div {
    margin-bottom: 5px;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: white !important;
    margin-bottom: 5px;
}

.company-address {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
        z-index: 4;
        height: 100%;
    }
    
    .hero-text {
        text-align: center;
        z-index: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo-img {
        height: 50px;
    }
    
    .cta-button {
        position: absolute;
        right: 20px;
        bottom: 20px;
        transform: none;
        margin-top: 0;
        width: 120px;
        height: 120px;
        font-size: 14px;
        background: #FB5F76;
        border: 2px solid white;
        border-radius: 50%;
        box-sizing: border-box;
        padding: 4px;
    }
    
    .about-card {
        padding: 50px 30px;
        margin: 500px 50px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .course-content {
        grid-template-columns: 1fr;
    }
    
    .voices-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .activities-left {
        max-width: 100%;
    }
    
    .activities-right {
        max-width: 100%;
    }
    
    .trial-banner {
        padding: 30px 20px;
    }
    
    .trial-title-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .trial-description-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .trial-title {
        font-size: 1.5rem;
    }
    
    .robot-icon {
        position: static;
        margin-top: 10px;
    }
    
    .faq-categories {
        height: 500px;
        max-width: 700px;
    }
    
    .faq-category {
        width: 160px;
        height: 160px;
    }
    
    .faq-category:nth-child(1) { /* 料金・入会について */
        top: 20px;
        left: 20px;
    }
    
    .faq-category:nth-child(2) { /* 教室・コースについて */
        top: 20px;
        right: 20px;
    }
    
    .faq-category:nth-child(3) { /* 授業・カリキュラムについて */
        top: 35%;
        left: 20px;
        transform: translateY(-50%);
    }
    
    .faq-category:nth-child(4) { /* その他 */
        top: 35%;
        right: 20px;
        transform: translateY(-50%);
    }
    
    .faq-category:nth-child(5) { /* 講師・指導について */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .faq-category:nth-child(6) { /* 体験授業について */
        bottom: 35%;
        left: 20px;
        transform: translateY(50%);
    }
    
    .faq-category:nth-child(7) { /* 教室環境・設備について */
        bottom: 20px;
        right: 20px;
    }
    
    .faq-category p {
        font-size: 0.85rem;
        padding: 0 15px;
        font-weight: 600;
        text-shadow: none;
    }
    
    /* タブレット版のホバー時のtransform調整 - 動きを少なく */
    .faq-category:nth-child(1):hover,
    .faq-category:nth-child(2):hover,
    .faq-category:nth-child(3):hover,
    .faq-category:nth-child(4):hover,
    .faq-category:nth-child(5):hover,
    .faq-category:nth-child(6):hover,
    .faq-category:nth-child(7):hover {
        transform: scale(1.02);
    }
    
    .trial-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .trial-icons {
        justify-content: center;
    }
    
    .trial-content {
        text-align: center;
    }
    
    .trial-title {
        font-size: 1.5rem;
    }
    
    .robot-icon {
        position: static;
        margin-top: 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-content h3 {
        font-size: 1.2rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 8px;
    }
    
    .company-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .company-details {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo-img {
        height: 40px;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .activities-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .activities-title {
        font-size: 2.2rem;
    }
    
    .activities-images {
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px 0;
    }
    
    .activity-image-card {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .activity-image-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 15px;
    }
    
    /* FAQ Categories for 480px and below */
    .faq-categories {
        height: auto;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        position: relative;
    }
    
    .faq-category {
        width: 100px;
        height: 100px;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
    }
    
    .faq-category:nth-child(1),
    .faq-category:nth-child(2),
    .faq-category:nth-child(3),
    .faq-category:nth-child(4),
    .faq-category:nth-child(5),
    .faq-category:nth-child(6),
    .faq-category:nth-child(7) {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 768px) {
    .activities-images {
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px 0;
    }
    
    .activity-image-card {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .activity-image-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .faq-categories {
        height: auto;
        max-width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
        position: relative;
    }
    
    .faq-category {
        width: 120px;
        height: 120px;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
    }
    
    .faq-category:nth-child(1),
    .faq-category:nth-child(2),
    .faq-category:nth-child(3),
    .faq-category:nth-child(4),
    .faq-category:nth-child(5),
    .faq-category:nth-child(6),
    .faq-category:nth-child(7) {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .faq-category p {
        font-size: 0.8rem;
        padding: 0 12px;
        font-weight: 600;
        text-shadow: none;
    }
    
    /* モバイル版のホバー時のtransform調整 - 動きを少なく */
    .faq-category:nth-child(1):hover,
    .faq-category:nth-child(2):hover,
    .faq-category:nth-child(3):hover,
    .faq-category:nth-child(4):hover,
    .faq-category:nth-child(5):hover,
    .faq-category:nth-child(6):hover,
    .faq-category:nth-child(7):hover {
        transform: scale(1.02);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .footer-column h4 {
        font-size: 0.8rem;
    }
    
    .footer-logo {
        padding: 0 20px;
    }
    
    .footer-logo-main {
        height: 40px;
    }
    
    .footer-logo-sub {
        height: 30px;
    }
    
    .company-info {
        padding: 0 20px;
    }
    
    .company-name {
        font-size: 0.9rem;
        color: white !important;
    }
    
    .company-address {
        font-size: 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Overlay Navigation Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: right 0.3s ease;
}

.overlay-menu.active {
    right: 0;
}

.overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom-left-radius: 20px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: #e9ecef;
}

.overlay-nav {
    margin-top: 40px;
}

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

.overlay-nav-list li {
    margin-bottom: 20px;
}

.overlay-nav-list li a {
    color: #32373A;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.overlay-nav-list li a::before {
    content: "■";
    color: #32373A;
    margin-right: 15px;
    font-size: 0.5rem;
}

.overlay-nav-list li a:hover {
    color: #007bff;
}

.overlay-cta {
    margin: 30px 0;
}

.btn-trial-overlay {
    background: #3B9BE5;
    color: white;
    padding: 15px 25px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid #3B9BE5;
}

.btn-trial-overlay:hover {
    background: white;
    color: #3B9BE5;
    border-color: #3B9BE5;
}

.btn-trial-overlay:hover .arrow::before {
    background: #3B9BE5;
}

.btn-trial-overlay:hover .arrow::after {
    border-top-color: #3B9BE5;
    border-right-color: #3B9BE5;
}

.btn-trial-overlay .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-trial-overlay .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-trial-overlay .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-trial-overlay:hover .arrow {
    transform: translateX(5px);
}


.overlay-contact {
    padding-top: 20px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #32373A;
    font-weight: 700;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
}

.phone-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.phone-number {
    font-size: 1.4rem;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
}

/* Mobile responsiveness for overlay menu */
@media (max-width: 768px) {
    .overlay-content {
        width: 100%;
        padding: 30px 30px;
    }
    
    .overlay-nav-list li a {
        font-size: 1rem;
    }
    
    .btn-trial-overlay {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Image caption styles */
.image-caption {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Title with cracker styles */
.title-with-cracker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cracker-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* White Background Section */
.white-background {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
}

/* ===== Geometric Patterns ===== */

/* Pattern 1: Circles and Triangles */
.geometric-pattern-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.geometric-pattern-1::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: #FF6B9D;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.geometric-pattern-1::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(59, 155, 229, 0.6);
    animation: float 8s ease-in-out infinite reverse;
}

/* Additional elements for all patterns */
.geometric-pattern-1 .extra-1,
.geometric-pattern-1a .extra-1,
.geometric-pattern-1b .extra-1,
.geometric-pattern-1c .extra-1 {
    content: '';
    position: absolute;
    top: 10%;
    right: 30%;
    width: 25px;
    height: 25px;
    background: #FF6B9D;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 5s ease-in-out infinite;
}

.geometric-pattern-1 .extra-2,
.geometric-pattern-1a .extra-2,
.geometric-pattern-1b .extra-2,
.geometric-pattern-1c .extra-2 {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 25%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid rgba(255, 193, 7, 0.5);
    animation: float 7s ease-in-out infinite reverse;
}

.geometric-pattern-1 .extra-3,
.geometric-pattern-1a .extra-3,
.geometric-pattern-1b .extra-3,
.geometric-pattern-1c .extra-3 {
    content: '';
    position: absolute;
    top: 45%;
    left: 5%;
    width: 20px;
    height: 20px;
    background: #8E44AD;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 9s ease-in-out infinite;
}

/* Pattern 1 Variant A: More Circles */
.geometric-pattern-1a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.geometric-pattern-1a::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: #FFD93D;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 7s ease-in-out infinite;
}

.geometric-pattern-1a::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 35px;
    height: 35px;
    background: #8E44AD;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 5s ease-in-out infinite reverse;
}

/* Pattern 1 Variant B: More Triangles */
.geometric-pattern-1b {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.geometric-pattern-1b::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid rgba(76, 175, 80, 0.2);
    animation: float 9s ease-in-out infinite;
}

.geometric-pattern-1b::after {
    content: '';
    position: absolute;
    bottom: 35%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 193, 7, 0.25);
    animation: float 6s ease-in-out infinite reverse;
}

/* Pattern 1 Variant C: Mixed Elements */
.geometric-pattern-1c {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* --- Mobile-specific overrides to ensure content fits --- */
@media (max-width: 768px) {
    .about {
        padding: 100px 0 180px 0;
    }
    .about-card {
        padding: 32px 20px;
        margin: 56px 16px;
        border-radius: 32px;
    }
    .about .section-title {
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
    }
    .about .section-title img {
        height: 36px !important;
        width: auto;
    }
    .about-content p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 18px;
        word-break: keep-all;
    }
    .about-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
    .about-buttons .btn {
        width: 100%;
        max-width: 420px;
        justify-self: center;
        padding: 14px 16px;
        font-size: 1rem;
    }
    .geometric-pattern-1,
    .geometric-pattern-1::before,
    .geometric-pattern-1::after,
    .geometric-pattern-1 .extra-1,
    .geometric-pattern-1 .extra-2,
    .geometric-pattern-1 .extra-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 80px 0 160px 0;
    }
    .about-card {
        padding: 24px 16px;
        margin: 48px 12px;
        border-radius: 24px;
    }
    .about .section-title {
        font-size: 1.6rem;
        gap: 8px;
    }
    .about .section-title img {
        height: 28px !important;
    }
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .about-buttons {
        gap: 10px;
    }
    .about-buttons .btn {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}

.geometric-pattern-1c::before {
    content: '';
    position: absolute;
    top: 25%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: #4ECDC4;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.geometric-pattern-1c::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 45px solid rgba(156, 39, 176, 0.2);
    animation: float 7s ease-in-out infinite reverse;
}

/* Pattern 2: Squares and Lines */
.geometric-pattern-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.geometric-pattern-2::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: #FFD93D;
    transform: rotate(45deg);
    opacity: 0.6;
    animation: rotate 10s linear infinite;
}

.geometric-pattern-2::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 25%;
    width: 80px;
    height: 2px;
    background: #4ECDC4;
    opacity: 0.7;
    animation: slide 7s ease-in-out infinite;
}

/* Pattern 3: Polygons and Dots */
.geometric-pattern-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.geometric-pattern-3::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 5%;
    width: 50px;
    height: 50px;
    background: #8E44AD;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.6;
    animation: bounce 5s ease-in-out infinite;
}

.geometric-pattern-3::after {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 10%;
    width: 8px;
    height: 8px;
    background: #FF6B9D;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 
        20px 0 0 rgba(76, 175, 80, 0.5),
        40px 0 0 rgba(255, 193, 7, 0.5),
        60px 0 0 rgba(156, 39, 176, 0.5);
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes slide {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

/* ===== 2.html Specific Styles ===== */

/* Hero Section Styles for 2.html */
.hero-section {
    padding: 0;
    min-height: 70vh;
    background: url('assets/images/2/logischool_introduce.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content-overlay {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 40px;
    position: relative;
    z-index: 20;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* Concept Section Styles */
.concept-section {
    padding: 80px 0;
    background: #fff;
}

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

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.concept-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.concept-label {
    color: #32373A;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.concept-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3B9BE5;
    margin: 0 0 30px;
    line-height: 1.4;
}

.concept-text {
    line-height: 1.8;
    color: #4a5568;
}

.concept-paragraph {
    margin-bottom: 20px;
}

/* Policy Section Styles */
.policy-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background-image: url('assets/images/2/policy.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.policy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.30);
    z-index: 1;
}

.policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.policy-label {
    color: #32373A;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.policy-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.policy-item {
    text-align: center;
}

.policy-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.policy-circle-01 {
    border: 4px solid #F57C06;
}

.policy-circle-02 {
    border: 4px solid #24AB7B;
}

.policy-circle-03 {
    border: 4px solid #FB5F76;
}

.policy-circle-04 {
    border: 4px solid #3B8BE5;
}

.policy-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.policy-number-01 {
    color: #F57C06;
}

.policy-number-02 {
    color: #24AB7B;
}

.policy-number-03 {
    color: #FB5F76;
}

.policy-number-04 {
    color: #3B8BE5;
}

.policy-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    line-height: 1.3;
}

.policy-highlight {
    color: #F57C06;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Special styling for "最新テクノロジー" text in policy circle 02 */
.policy-circle-02 .policy-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
}

.policy-circle-02 .policy-text .tech-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: #24AB7B;
}

/* Special styling for "心に届く表現を磨く" text in policy circle 03 */
.policy-circle-03 .policy-text .expression-highlight {
    color: #FB5F76;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Special styling for "人間性を伸ばす" text in policy circle 04 */
.policy-circle-04 .policy-text .humanity-highlight {
    color: #3B8BE5;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background: #fff;

}

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

.features-surface {
    background: white;
    border-top-left-radius: 50% 203px;
    border-top-right-radius: 50% 203px;
    border-bottom-left-radius: 50% 203px;
    border-bottom-right-radius: 50% 203px;
    padding: 120px 20px;
    margin: -220px auto 0; /* lift up to overlap policy background */
    width: 100%;
    max-width: 1400px;
    display: grid;
    align-items: center;
    position: relative;
    z-index: 3; /* above .policy-bg (z-index:1) and container (2) */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .features-surface {
        border-radius: 120px;
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .features-surface {
        border-radius: 80px;
        padding: 40px 15px;
    }
}

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

.features-label {
    color: #6aa9ff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.features-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #32373A;
    margin: 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-item-right {
    grid-template-columns: 1fr 1fr;
}

.feature-item-right .feature-content {
    order: 1;
}

.feature-item-right .feature-image-container {
    order: 2;
    display: block;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: -8px;
}

.feature-item-right .feature-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px 0 0 14px;
    background: #CBC9C5;
    padding: 8px 0 8px 8px;
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.feature-image-container {
    border-radius: 12px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.feature-item-left .feature-image-container {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-right: auto;
    margin-left: -8px;
}

.feature-item-left .feature-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0 14px 14px 0;
    background: #CBC9C5;
    padding: 8px 8px 8px 0;
    margin: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.feature-content {
    text-align: left;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #32373A;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #32373A;
    margin: 0;
}

/* Curriculum Section Styles */
.curriculum-section {
    padding: 100px 40px 80px 40px;
    background: #f8f9fa;
    overflow: visible;
}

.curriculum-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: visible;
}

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

.curriculum-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: visible;
}

.curriculum-card {
    background: #fff;
    border: 2px solid #4169e1;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.curriculum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(65, 105, 225, 0.2);
}

.curriculum-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4169e1;
    margin: 0 0 12px;
}

.curriculum-card-text {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.curriculum-example {
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
}

/* Special Card Styles */
.curriculum-card-special {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    border: 2px solid #ff6b6b;
    position: relative;
    overflow: visible;
    text-align: left;
}


.special-badge {
    position: relative;
    top: -24px;
    left: -24px;
    background: #FFA54E;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0;
    border-radius: 50%;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    margin-bottom: -24px;
    margin-right: -24px;
}

.curriculum-card-special .curriculum-card-title {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.curriculum-card-special .curriculum-card-text {
    color: #2d3748;
    font-size: 0.95rem;
}

/* News Page Hero Section */
.news-page .hero-section {
    padding: 0;
    min-height: 70vh;
    background: url('assets/images/7/news.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.news-page .hero-content-overlay {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    margin-top: 400px;
}

.news-page .hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 8px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
}

.news-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Activities Page Styles */
.activities-hero-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    background-image: url('assets/images/8/children-activities-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.activities-hero-container {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

.activities-hero-text {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 8px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
    margin-top: 400px;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.filter-buttons {
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.filter-btn:hover {
    color: #495057;
    background: rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
    color: #212529;
    background: #e9ecef;
    border-bottom-color: #495057;
}

/* Activities News Section */
.activities-news-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.activities-news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card-image img {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.news-card-content {
    padding: 20px;
    position: relative;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.4;
    margin-bottom: 12px;
}


.works-tag {
    background: #007bff;
}

.classroom-tag {
    background: #dc3545;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    background: white;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    font-size: 1rem;
    color: #495057;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.pagination-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

/* Trial CTA Section */
.trial-cta-section {
    background: #f8f9fa;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.trial-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.trial-cta-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.trial-cta-icon {
    margin-bottom: 20px;
}

.trial-cta-icon img {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.trial-cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #212529;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.trial-cta-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #FF69B4 0px,
        #FF69B4 8px,
        transparent 8px,
        transparent 16px
    );
}

.trial-cta-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}


/* CTA Decorative Shapes */
.trial-cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-dot {
    width: 12px;
    height: 12px;
}

.cta-shape-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid;
    border-radius: 0;
}

.cta-shape-robot {
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 4px;
}

.cta-shape-pink {
    background: #ff6b6b;
    top: 20%;
    left: 10%;
}

.cta-shape-blue {
    border-bottom-color: #007bff;
    top: 30%;
    right: 15%;
}

.cta-shape-yellow {
    background: #ffc107;
    top: 60%;
    left: 20%;
}

.cta-shape-green {
    top: 70%;
    right: 25%;
}

/* Trial Application Page Styles */
.trial-hero-section {
    background: url('assets/images/9/children-tech-hero.webp') center/cover no-repeat;
    padding: 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.trial-hero-container {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.trial-hero-text {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 8px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
    margin-top: 400px;
}

/* Trial Content Section */
.trial-content-section {
    background: white;
    padding: 80px 0;
}

.trial-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.trial-content-block {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
}

.trial-content-block:nth-child(even) {
    flex-direction: row;
}

.trial-content-image {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    background-color: #cbc9c5;
    border-radius: 20px;
}

.trial-image-card {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #cbc9c5;
}

.trial-image-card-1 {
    background: linear-gradient(135deg, #ffd700 0%, #87ceeb 100%);
    background-image: url('assets/images/9/try-join-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.trial-image-card-2 {
    background: linear-gradient(135deg, #ffb6c1 0%, #dda0dd 100%);
    background-image: url('assets/images/9/parent-info-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.trial-image-card-3 {
    background: linear-gradient(135deg, #87ceeb 0%, #98fb98 100%);
    background-image: url('assets/images/9/events-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.trial-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.trial-content-text {
    flex: 1;
    max-width: 500px;
}

.trial-content-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}


.trial-title-blue {
    color: #007bff;
}

.trial-title-pink {
    color: #e91e63;
}

.trial-title-orange {
    color: #ff9800;
}

/* 汎用的なトライアルタイトル用の破線スタイル */
.trial-title-with-underline {
    position: relative;
    display: inline-block;
}

.trial-title-with-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #FF69B4 0px,
        #FF69B4 8px,
        transparent 8px,
        transparent 16px
    );
}

.highlight-text {
    color: #32373a;
}

.title-main {
    color: #3b9be5;
}

.title-pink {
    color: #fb5f76;
}

.title-orange {
    color: #f57c06;
}

.trial-content-description {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.5;
}

.trial-content-detail {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-trial-content {
    background: #4F575C;
    color: #ffffff;
    border: 2px solid #4F575C;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-trial-content:hover {
    background: white;
    color: #4F575C;
    border-color: #4F575C;
}

.btn-trial-content .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-trial-content .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-trial-content .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-trial-content:hover .arrow {
    transform: translateX(5px);
}

.btn-trial-content:hover .arrow::before {
    background: #4F575C;
}

.btn-trial-content:hover .arrow::after {
    border-top-color: #4F575C;
    border-right-color: #4F575C;
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.contact-form-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.form-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.radio-group, .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.contact-time-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grade-group {
    grid-template-columns: 1fr;
    gap: 8px;
}

.source-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.privacy-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.radio-label input, .checkbox-label input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.radio-text, .checkbox-text {
    font-size: 1rem;
    color: #555;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-checkbox {
    font-size: 0.95rem;
    color: #666;
}

.btn-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
}

.btn-submit:hover {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-submit.submitted {
    background: white;
    color: #3b9be5;
    border: 2px solid #3b9be5;
    cursor: default;
}

.submit-message {
    color: #3b9be5;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: none;
}

/* Contact Information Section */
.contact-info-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    letter-spacing: 0.05em;
}

.contact-info-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-phone-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.phone-icon-large {
    width: 40px;
    height: 40px;
}

.phone-number-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    letter-spacing: 0.05em;
}

/* Call to Action Section */
.cta-section {
    background: #586d7f;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
}

.cta-graphic {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}

.cta-logo {
    width: 500px;
    height: 500px;
    object-fit: contain;
}

.cta-text {
    color: white;
    max-width: 1080px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 2.2rem;
    font-weight: 500;
    opacity: 0.9;
    color: white;
}

/* Footer Styles - Updated to match index.html */
.footer {
    background: #5E6469;
    color: white;
    padding: 80px 0 30px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #5E6469;
    border-radius: 20px 20px 0 0;
}

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

.footer-logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-main {
    height: 50px;
}

.footer-logo-sub {
    height: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.footer-column h4::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    font-size: 0.7rem;
}

.footer-column h4:hover {
    color: #3B9BE5;
}

.sub-link {
    color: #ccc;
    font-size: 0.8rem;
    margin-left: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sub-link:hover {
    color: #3B9BE5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    background: transparent !important;
    border-top: none !important;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.company-logo {
    margin-bottom: 5px;
}

.company-details {
    text-align: center;
}

/* Center company info block horizontally in footer */
.footer-bottom .company-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white !important;
}

.company-address {
    font-size: 0.9rem;
    color: #bdc3c7;
    line-height: 1.4;
}

.ai-logo {
    height: 30px;
    width: auto;
}

/* Footer Updates for Trial Page */
.footer-top {
    background: #2c3e50;
    padding: 40px 0;
    text-align: center;
}

.footer-message {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-message:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    background: #34495e;
    padding: 40px 0;
    text-align: center;
}

.footer-logo-bottom {
    margin-bottom: 20px;
}

.footer-logo-bottom-img {
    width: 120px;
    height: auto;
}

.company-label {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.company-name {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.company-address {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Terms of Use Page Styles */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 100px;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #495057;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #adb5bd;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

/* Enrollment Flow Section */
.enrollment-flow-section {
    background: white;
    padding: 60px 0;
}

.enrollment-flow-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.enrollment-flow-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.enrollment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.enrollment-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 3px solid #3b9be5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #81bdeb;
    margin-bottom: -10px;
    text-align: center;
}

.step-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1px;
    text-align: center;
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    width: 200px;
    text-align: center;
}

.step-arrow {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
}

.enrollment-cta-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-enrollment-cta {
    background: #4F575C;
    color: #ffffff;
    border: 2px solid #4F575C;
    padding: 16px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-enrollment-cta:hover {
    background: white;
    color: #4F575C;
    border-color: #4F575C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* arrow for enrollment cta same as slate */
.btn-enrollment-cta .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-enrollment-cta .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-enrollment-cta .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-enrollment-cta:hover .arrow {
    transform: translateX(5px);
}

.btn-enrollment-cta:hover .arrow::before {
    background: #4F575C;
}

.btn-enrollment-cta:hover .arrow::after {
    border-top-color: #4F575C;
    border-right-color: #4F575C;
}

/* Terms Section */
.terms-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.terms-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* Ensure title and the intro paragraph align with article content width */
.terms-intro, .terms-article, .terms-footer {
    max-width: 100%;
}

/* Reduce outer padding if needed and add consistent left alignment */
.terms-content {
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.terms-article {
    margin-bottom: 40px;
}

.terms-article h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.terms-article p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.terms-article ul {
    margin: 16px 0;
    padding-left: 20px;
}

.terms-article li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.terms-footer {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.terms-footer p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

/* Inquiry Form Section */
.inquiry-form-section {
    background: white;
    padding: 80px 0;
}

.inquiry-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.inquiry-form-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #007bff;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.inquiry-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.form-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group, .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.contact-time-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grade-group {
    grid-template-columns: 1fr;
    gap: 8px;
}

.source-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.privacy-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.radio-label input, .checkbox-label input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.radio-text, .checkbox-text {
    font-size: 1rem;
    color: #555;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-checkbox {
    font-size: 0.95rem;
    color: #666;
}

.btn-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
}

.btn-submit:hover {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-submit.submitted {
    background: white;
    color: #3b9be5;
    border: 2px solid #3b9be5;
    cursor: default;
}

.submit-message {
    color: #3b9be5;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: none;
}

/* Contact Information Section */
.contact-info-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    letter-spacing: 0.05em;
}

.contact-info-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-phone-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.phone-icon-large {
    width: 40px;
    height: 40px;
}

.phone-number-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    letter-spacing: 0.05em;
}

/* Call to Action Section */
.cta-section {
    background: #586d7f;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
}

.cta-graphic {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}

.cta-logo {
    width: 500px;
    height: 500px;
    object-fit: contain;
}

.cta-text {
    color: white;
    max-width: 1080px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 2.2rem;
    font-weight: 500;
    opacity: 0.9;
    color: white;
}

/* Footer Styles - Updated to match index.html */
.footer {
    background: #5E6469;
    color: white;
    padding: 80px 0 30px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #5E6469;
    border-radius: 20px 20px 0 0;
}

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

.footer-logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-main {
    height: 50px;
}

.footer-logo-sub {
    height: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.footer-column h4::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    font-size: 0.7rem;
}

.footer-column h4:hover {
    color: #3B9BE5;
}

.sub-link {
    color: #ccc;
    font-size: 0.8rem;
    margin-left: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sub-link:hover {
    color: #3B9BE5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    background: transparent !important;
    border-top: none !important;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.company-logo {
    margin-bottom: 5px;
}

.company-details {
    text-align: center;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white !important;
}

.company-address {
    font-size: 0.9rem;
    color: #bdc3c7;
    line-height: 1.4;
}

.ai-logo {
    height: 30px;
    width: auto;
}

/* Footer Updates for Trial Page */
.footer-top {
    background: #2c3e50;
    padding: 40px 0;
    text-align: center;
}

.footer-message {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-message:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    background: #34495e;
    padding: 40px 0;
    text-align: center;
}

.footer-logo-bottom {
    margin-bottom: 20px;
}

.footer-logo-bottom-img {
    width: 120px;
    height: auto;
}

.company-label {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.company-name {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.company-address {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Terms of Use Page Styles */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 100px;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #495057;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #adb5bd;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

/* Enrollment Flow Section */
.enrollment-flow-section {
    background: white;
    padding: 60px 0;
}

.enrollment-flow-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.enrollment-flow-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.enrollment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.enrollment-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 3px solid #3b9be5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #81bdeb;
    margin-bottom: -10px;
    text-align: center;
}

.step-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1px;
    text-align: center;
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    width: 200px;
    text-align: center;
}

.step-arrow {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
}

.enrollment-cta-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-enrollment-cta {
    background: #4F575C;
    color: #ffffff;
    border: 2px solid #4F575C;
    padding: 16px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-enrollment-cta:hover {
    background: white;
    color: #4F575C;
    border-color: #4F575C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* arrow for enrollment cta same as slate */
.btn-enrollment-cta .arrow {
    width: 12px;
    height: 12px;
    border: none;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-enrollment-cta .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}

.btn-enrollment-cta .arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
}

.btn-enrollment-cta:hover .arrow {
    transform: translateX(5px);
}

.btn-enrollment-cta:hover .arrow::before {
    background: #4F575C;
}

.btn-enrollment-cta:hover .arrow::after {
    border-top-color: #4F575C;
    border-right-color: #4F575C;
}

/* Terms Section */
.terms-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.terms-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* Ensure title and the intro paragraph align with article content width */
.terms-intro, .terms-article, .terms-footer {
    max-width: 100%;
}

/* Reduce outer padding if needed and add consistent left alignment */
.terms-content {
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.terms-article {
    margin-bottom: 40px;
}

.terms-article h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.terms-article p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.terms-article ul {
    margin: 16px 0;
    padding-left: 20px;
}

.terms-article li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.terms-footer {
    text-align: right;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.terms-footer p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

/* Inquiry Form Section */
.inquiry-form-section {
    background: white;
    padding: 80px 0;
}

.inquiry-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.inquiry-form-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #007bff;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.inquiry-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.form-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.radio-label input, .checkbox-label input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.radio-text, .checkbox-text {
    font-size: 1rem;
    color: #555;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #007bff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-checkbox {
    font-size: 0.95rem;
    color: #666;
}

.btn-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
}

.btn-submit:hover {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-submit.submitted {
    background: white;
    color: #3b9be5;
    border: 2px solid #3b9be5;
    cursor: default;
}

.submit-message {
    color: #3b9be5;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: none;
}

/* Footer Updates for Terms Page */
.footer-bottom .company-address {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.8rem;
}

/* Blog Page Styles */
.blog-hero-section {
    background: url('assets/images/11/blog-hero-background.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Campus (4-2.html) Styles ===== */
.campus-page {
    background: #FFFFFF;
}

/* ===== Voices Detail (5-2.html) Styles ===== */
.voices-detail-page {
    background: #F7F8FA;
}

.voice-detail {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    gap: 16px;
    padding: 60px 0 20px 0;
}

.voice-card-large {
    background: #ffffff;
    border: 6px solid #FF6B9D;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.voice-text {
    font-size: 0.95rem;
    color: #32373A;
    line-height: 2.0;
}

.voice-author {
    text-align: right;
    color: #e85d7a;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 16px;
}

.voice-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
}

.voice-nav:hover { background: #f7fafc; }

.back-to-list { text-align: center; padding: 20px 0 40px 0; }

.back-btn-with-icon {
    background: #4a5568;
    color: #ffffff;
    border-radius: 24px;
    padding: 12px 28px;
    border: 2px solid #4a5568;
}

.back-btn-with-icon:hover { background: #ffffff; color: #4a5568; }
.back-btn-with-icon:hover .back-arrow { color: #4a5568; }

.back-arrow { margin-right: 6px; color: #ffffff; }

@media (max-width: 768px) {
    .voice-detail { grid-template-columns: 1fr; gap: 12px; }
    .voice-nav { width: 44px; height: 44px; justify-self: center; }
}

/* ===== News Detail (7-2.html) Styles ===== */
.news-detail-page { background: #F7F8FA; }

.news-article-section { padding: 40px 0; }

.news-article {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 24px 28px;
}

.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-date { color: #718096; font-size: 0.85rem; }

.news-title { font-size: 1.1rem; font-weight: 900; margin: 8px 0 6px 0; }
.news-title-underline { height: 2px; background: #C4CFDA; margin-bottom: 12px; }

.news-content p { color: #32373A; line-height: 2.0; font-size: 0.95rem; }

.news-image-placeholder {
    width: 180px; height: 180px; background: #E9ECEF; border-radius: 12px; margin: 24px auto; position: relative;
}
.news-image-placeholder::after {
    content: '\1F5BC';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #718096; font-size: 28px;
}

@media (max-width: 768px) {
    .news-article { padding: 20px; }
}

/* ===== Works Detail (8-2.html) Styles ===== */
.works-detail-page { background: #FFFFFF; }

.works-article { padding: 20px 0 10px 0; }
.works-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.works-tag { background: #87CEEB; color: #ffffff; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.works-date { color: #718096; font-size: 0.85rem; }

.works-title { font-size: 1.1rem; font-weight: 900; margin: 8px 0 6px 0; }
.works-title-underline { height: 2px; background: #C4CFDA; margin-bottom: 12px; }

.works-body p { color: #32373A; line-height: 2.0; font-size: 0.95rem; }

.works-gallery {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.works-thumb { height: 180px; background: #E9ECEF; border-radius: 12px; position: relative; }
.works-thumb::after { content: '\1F5BC'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #718096; font-size: 26px; }

@media (max-width: 768px) {
    .works-gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ===== Blog Detail (11-2.html) Styles ===== */
.blog-detail-page { background: #FFFFFF; }

.blog-article { padding: 20px 0 10px 0; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.blog-date { color: #718096; font-size: 0.85rem; }

.blog-title { font-size: 1.1rem; font-weight: 900; margin: 8px 0 6px 0; }
.blog-title-underline { height: 2px; background: #C4CFDA; margin-bottom: 12px; }

.blog-body p { color: #32373A; line-height: 2.0; font-size: 0.95rem; }

.blog-image-large { height: 200px; background: #E9ECEF; border-radius: 12px; position: relative; margin: 24px 0; }
.blog-image-large::after { content: '\1F5BC'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #718096; font-size: 28px; }

@media (max-width: 768px) {
    .blog-image-large { height: 180px; }
}

.campus-hero {
    background: #5E6469;
    margin-top: 70px;
    padding: 24px 0;
}

.campus-hero-title {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.campus-section {
    position: relative;
    padding: 60px 0;
}

.campus-section-title {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Course grids */
.campus-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.campus-course-grid.planned {
    grid-template-columns: repeat(1, 200px);
}

.campus-course-card {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #3B9BE5;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.campus-course-card .course-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.campus-course-card .course-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 8px;
}

.campus-course-card .course-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Teachers */
.campus-teachers {
    background: #F7F8FA;
}

.teacher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.teacher-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.teacher-card-wide {
    grid-column: span 3;
}

.teacher-header .teacher-name {
    font-weight: 900;
}

.teacher-header .teacher-role {
    font-size: 0.85rem;
    color: #6c757d;
}

.teacher-text {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.8;
    margin-top: 8px;
}

/* Campus info with map */
.campus-info {
    background: #FFFFFF;
}

.info-grid-campus {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
}

.info-grid-campus .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-grid-campus .info-list li {
    display: flex;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.info-grid-campus .info-list strong {
    min-width: 84px;
}

.map-wrap {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.map-wrap img { width: 100%; height: auto; display: block; }

/* Gallery */
.campus-gallery {
    background: #D5E7F6;
}

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

.gallery-item {
    height: 160px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: inset 0 0 0 2px #E2E8F0;
    position: relative;
}

.gallery-item::after {
    content: '🖼';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #a0aec0;
}

@media (max-width: 1080px) {
    .campus-course-grid { grid-template-columns: repeat(3, 1fr); }
    .teacher-grid { grid-template-columns: 1fr; }
    .teacher-card-wide { grid-column: span 1; }
    .info-grid-campus { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .campus-course-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

.blog-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-hero-lines {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-hero-lines:last-child {
    margin-bottom: 0;
    margin-top: 20px;
}

.blog-hero-line {
    width: 40px;
    height: 4px;
    border-radius: 2px;
}

.blog-hero-line-yellow {
    background: #FFD700;
}

.blog-hero-line-blue {
    background: #87CEEB;
}

.blog-hero-line-pink {
    background: #FFB6C1;
}

.blog-hero-line-cyan {
    background: #00CED1;
}

.blog-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 400px;
}

.blog-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.laptop-image {
    max-width: 100%;
    height: auto;
    transform: rotate(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Blog Grid Section */
.blog-grid-section {
    background: white;
    padding: 80px 0;
}

.blog-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 60px;
    height: 60px;
    opacity: 0.6;
}

.blog-card-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    background: white;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    font-size: 1rem;
    color: #495057;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.pagination-btn.active {
    background: #495057;
    border-color: #495057;
    color: white;
}

.pagination-btn.prev-btn,
.pagination-btn.next-btn {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
    background: white;
    padding: 80px 0;
}

.privacy-policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.privacy-policy-content {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-policy-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 500;
}

.privacy-article {
    margin-bottom: 40px;
}

.privacy-article h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.privacy-article p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.privacy-article ul {
    margin: 16px 0;
    padding-left: 20px;
}

.privacy-article li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 40px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
    font-weight: 500;
}

.privacy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.privacy-footer p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Sitemap Page Styles */
.sitemap-section {
    background: white;
    padding: 80px 0;
}

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

.sitemap-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
}

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

.sitemap-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.sitemap-list li::before {
    content: "■";
    color: #007bff;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0;
}

.sitemap-list a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: #007bff;
    text-decoration: underline;
}

.sitemap-sub-item {
    margin-left: 20px;
    padding-left: 20px;
}

.sitemap-sub-item::before {
    content: "-";
    color: #666;
    font-size: 1rem;
    font-weight: bold;
}


/* News List Section */
.news-list-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.news-list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-list {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 20px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    min-width: 100px;
}

.news-category {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    min-width: 80px;
    text-align: center;
}

.news-category-announcement {
    background: #4299e1;
}

.news-category-event {
    background: #f56565;
}

.news-category-trial {
    background: #ed8936;
}

.news-text {
    flex: 1;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination-btn,
.pagination-number {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a5568;
    transition: all 0.2s ease;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.pagination-number.active {
    background: #4299e1;
    color: white;
    border-color: #4299e1;
}


/* Responsive Design for 2.html */
@media (max-width: 768px) {
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .policy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .curriculum-section {
        padding: 100px 30px 80px 30px;
    }
    
    .curriculum-container {
        padding: 0 30px;
    }
    
    .curriculum-card-special {
        grid-column: span 2;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .concept-title,
    .policy-title,
    .features-title,
    .curriculum-title {
        font-size: 1.8rem;
    }
    
    .features-list {
        gap: 40px;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        text-align: center;
    }
    
    .feature-item-right .feature-content {
        order: 1;
    }
    
    .feature-item-right .feature-image-container {
        order: 2;
    }
}

@media (max-width: 480px) {
    .policy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-card-special {
        grid-column: span 1;
    }
    
    .curriculum-section {
        padding: 100px 20px 80px 20px;
    }
    
    .curriculum-container {
        padding: 0 20px;
    }
    
    /* News Page Responsive */
    .news-page .hero-section {
        min-height: 60vh;
    }
    
    .news-page .hero-title {
        font-size: 2.5rem;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 6px 25px rgba(0, 0, 0, 0.6);
    }
    
    /* Activities Page Responsive */
    .activities-hero-text {
        font-size: 2.5rem;
    }
    
    .activities-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .trial-cta-title {
        font-size: 2rem;
    }
    
    .trial-cta-description {
        font-size: 1rem;
    }
    
    .activities-news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Trial Application Page Responsive */
    .trial-hero-text {
        font-size: 2.5rem;
    }
    
    .trial-content-block {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .trial-content-block:nth-child(even) {
        flex-direction: column;
    }
    
    .trial-content-title {
        font-size: 2rem;
    }
    
    .trial-content-description {
        font-size: 1.3rem;
    }
    
    .contact-form-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group, .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .contact-time-group {
        grid-template-columns: 1fr;
    }
    
    .grade-group {
        grid-template-columns: 1fr;
    }
    
    .source-group {
        grid-template-columns: 1fr;
    }
    
    .trial-content-block {
        flex-direction: column;
    }
    
    .trial-content-image {
        order: 1;
        margin-bottom: 20px;
        width: 100%;
        display: block;
    }
    
    .trial-image-card {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    .trial-content-text {
        order: 2;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-graphic {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.7;
    }
    
    .cta-logo {
        width: 300px;
        height: 300px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1.8rem;
    }
    
    .contact-info-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .phone-number-large {
        font-size: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 8px;
    }
    
    .company-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .company-details {
        text-align: center;
    }
    
    /* Terms of Use Page Responsive */
    .enrollment-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .enrollment-flow-title {
        font-size: 2rem;
    }
    
    .terms-title, .inquiry-form-title {
        font-size: 2rem;
    }
    
    .terms-content, .inquiry-form {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    /* Blog Page Responsive */
    .blog-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .laptop-image {
        max-width: 80%;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-line {
        width: 30px;
        height: 3px;
    }
    
    /* Privacy Policy Page Responsive */
    .privacy-policy-title {
        font-size: 2rem;
    }
    
    .privacy-policy-content {
        padding: 30px;
    }
    
    .privacy-policy-intro {
        font-size: 1rem;
    }
    
    /* Sitemap Page Responsive */
    .sitemap-title {
        font-size: 2rem;
    }
    
    .sitemap-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sitemap-column {
        text-align: center;
    }
    
    
    .news-list {
        padding: 20px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }
    
    .news-date {
        min-width: auto;
    }
    
    .news-category {
        min-width: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .concept-title,
    .policy-title,
    .features-title,
    .curriculum-title {
        font-size: 1.5rem;
    }
    
    .features-list {
        gap: 30px;
    }
    
    .feature-item {
        padding: 25px;
    }
    
    .feature-image {
        height: 250px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    .policy-circle {
        width: 160px;
        height: 160px;
    }
    
    .policy-number {
        font-size: 1.2rem;
    }
    
    .policy-text {
        font-size: 0.8rem;
    }
}

/* Enrollment flow step arrow styled like btn-slate .arrow */
.step-arrow {
    width: 28px;
    height: 12px;
    position: relative;
    display: inline-block;
    margin: 0 16px;
}

.step-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 28px;
    height: 2px;
    background: #3b9be5;
    border-radius: 1px;
    transform: translateY(-50%);
}

.step-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid #3b9be5;
    border-right: 2px solid #3b9be5;
    border-radius: 0 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 768px) {
    .enrollment-steps {
        flex-direction: column;
        gap: 24px;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }
}

/* Ensure 2-column blog grid on small screens */
@media (max-width: 480px) {
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }
}

/* Additional mobile optimizations (sitewide) */
@media (max-width: 480px) {
    /* Two-column card grids on phones */
    .activities-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }

    /* Single-column for dense text grids */
    .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }
    .course-list { grid-template-columns: 1fr !important; gap: 16px; }

    /* Buttons: easier tap targets */
    .btn, .btn-slate, .btn-trial-cta, .btn-submit, .btn-trial, .btn-campaign, .featured-btn {
        width: 100%;
        box-sizing: border-box;
    }

    /* Footer columns stack */
    .footer-links { grid-template-columns: 1fr !important; }
}

/* Override to ensure testimonials are 2 columns on phones */
@media (max-width: 480px) {
    .voices .testimonials-grid,
    .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Ensure image stacks above text in trial sections on phones */
@media (max-width: 480px) {
    .trial-content-section .trial-content-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    .trial-content-section .trial-content-image { order: 1; width: 100%; }
    .trial-content-section .trial-content-text { order: 2; }
    .trial-content-section .trial-image-card { width: 100%; height: 200px; }
}

/* =====================
   4.html regional map
   ===================== */
.regional-section .region-buttons {
    height: auto;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.regional-section .region-buttons img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure footer link colors are white across states */
.footer a,
.footer a:link,
.footer a:visited { 
    color: #ffffff !important; 
    text-decoration: none !important;
}
.footer a:hover,
.footer a:focus { 
    color: #ffffff !important; 
    opacity: 0.9; 
    text-decoration: none !important;
}
.footer a:active { 
    color: #ffffff !important; 
    opacity: 0.85; 
    text-decoration: none !important;
}

/* Sub-link anchors inherit base text color */
.sub-link,
.sub-link:link,
.sub-link:visited { 
    color: inherit; 
    text-decoration: none !important;
}
.sub-link:hover,
.sub-link:focus,
.sub-link:active {
    color: inherit; 
    text-decoration: none !important;
}

/* Campus name link color */
.campus-name a,
.campus-name a:link,
.campus-name a:visited { color: #32337A; }
.campus-name a:hover,
.campus-name a:focus,
.campus-name a:active { color: #32337A; text-decoration: underline; }

.btn-trial-cta, .btn-trial-cta:visited, .btn-trial-cta:hover, .btn-trial-cta:focus {
    text-decoration: none;
}
