body {
    background-color: #f2f2f2; /* 比原本灰淺少少，睇落舒服啲 */
}

/* Page Title Container with Background Image */
.page-title-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    transition: background-position 0.3s ease-out;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.content-container {
    max-width: 100%; /* Changed from 1400px to full width */
    margin: 0 auto;
    padding: 30px 60px; /* Increased horizontal padding */
    min-height: 400px; /* Ensures there's some space on the page */
}

.edu-innovation-section {
    padding: 40px 80px 20px 80px; /* Reduced top padding from 100px to 40px */
    background-color: #f2f2f2; /* 淺灰背景保持一致 */
    display: flex;
    justify-content: center;
    margin-bottom: 0px; /* Reduced from 30px to 15px for less space */
}

.edu-innovation-section:last-child {
    margin-bottom: 0;
}

.edu-innovation-card {
    max-width: 1400px; /* Increased from 1200px to 1400px */
    width: 100%;
    padding: 80px 100px; /* Increased horizontal padding from 60px to 100px */
    background: linear-gradient(135deg, #eef2ff, #e5e9ff, #f4f5fb);
    border-radius: 36px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.edu-innovation-card:hover {
    transform: translateY(-4px);
}

.edu-title {
    font-size: 2.8rem;
    color: #1d1d1f;
    font-weight: bold;
    margin-bottom: 30px;
}

.edu-subtitle {
    font-size: 1.4rem;
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 50px;
}

.edu-btn-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.edu-btn {
    padding: 15px 35px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.edu-btn.blue {
    background-color: #007aff;
    color: white;
}

.edu-btn.blue:hover {
    background-color: #005ecb;
}

.edu-btn.gray {
    background-color: #e5e5ea;
    color: #1d1d1f;
}

.edu-btn.gray:hover {
    background-color: #d1d1d6;
}

.edu-stats-section {
    padding: 40px 60px 100px 60px; /* Reduced top padding from 100px to 40px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: 0; /* Ensure no top margin */
    margin-bottom: 15px; /* Consistent with other sections */
}

.edu-stats-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.edu-stats-card {
    background: white;
    border-radius: 36px;
    padding: 50px 40px;
    width: 300px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.edu-stats-card:hover {
    transform: translateY(-4px);
}

.edu-stats-number {
    color: #007aff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.edu-stats-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.edu-stats-desc {
    font-size: 0.95rem;
    color: #6e6e73;
}

.edu-stats-summary-card {
    max-width: 1000px;
    background: white;
    border-radius: 36px;
    margin: 0 auto;
    padding: 50px 60px;
    font-size: 1.2rem;
    color: #6e6e73;
    line-height: 1.8;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.edu-coreapps-section {
    background-color: #f2f2f2;
    padding: 0px 60px 100px 60px; /* 👈 只改 top padding 由 100px → 0px */
    text-align: center;
}

.edu-coreapps-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 60px;
}

.edu-coreapps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.edu-coreapp-card {
    width: 500px;
    border-radius: 36px;
    padding: 40px 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: left;
}

.edu-coreapp-card:hover {
    transform: translateY(-4px);
}

.edu-coreapp-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.edu-coreapp-icon {
    width: 48px;
    height: 48px;
}

.edu-coreapp-card h3 {
    font-size: 1.4rem;
    color: #1d1d1f;
    font-weight: 700;
}

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

.edu-coreapp-list li {
    font-size: 1.05rem;
    color: #6e6e73;
    margin-bottom: 12px;
}

.white-card {
    background-color: white;
}

.blue-card {
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
}

.blue-card h3,
.blue-card li {
    color: white;
}

.ipad-sharing-section {
    padding: 60px 60px; /* Reduced top/bottom padding from 100px to 60px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: -30px; /* Negative margin to bring it closer to the section above */
}

.ipad-sharing-title {
    font-size: 2.3rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 60px;
}

.ipad-sharing-card {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f8f8;
    border-radius: 36px;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.ipad-feature {
    flex: 1 1 200px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.ipad-feature:hover {
    transform: translateY(-4px);
}

.ipad-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ipad-feature-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.ipad-feature-desc {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
}

.teacher-dev-section {
    padding: 60px 60px; /* Reduced top/bottom padding from 100px to 60px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: -30px; /* Negative margin to bring it closer to the section above */
}

.teacher-dev-title {
    font-size: 2.3rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 60px;
}

.teacher-dev-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.teacher-dev-card {
    background-color: #f8f8f8;
    border-radius: 36px;
    padding: 50px 40px;
    width: 320px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.teacher-dev-card:hover {
    transform: translateY(-4px);
}

.teacher-dev-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.teacher-dev-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.teacher-dev-card-desc {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
}

.teacher-dev-summary {
    font-size: 1.1rem;
    color: #6e6e73;
    line-height: 1.8;
    max-width: 960px;
    margin: 0 auto;
}

.edu-ecosystem-section {
    padding: 60px 60px; /* Reduced top/bottom padding from 100px to 60px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: -30px; /* Negative margin to bring it closer to the section above */
}

.edu-ecosystem-card {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 36px;
    padding: 60px 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.edu-ecosystem-title {
    font-size: 2.3rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-top: 0;
    margin-bottom: 60px;
}

.edu-app-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.edu-app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #5856d6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
}

.edu-app-icon p {
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 500;
}

.edu-app-desc-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.edu-app-desc-card {
    background-color: #f8f8f8;
    border-radius: 36px;
    padding: 40px 30px;
    width: 300px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.edu-app-desc-card:hover {
    transform: translateY(-4px);
}

.edu-app-desc-card h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.edu-app-desc-card p {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
}

.edu-journey-section {
    padding: 60px 60px; /* Reduced top/bottom padding from 100px to 60px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: -30px; /* Negative margin to bring it closer to the section above */
}

.edu-journey-title {
    font-size: 2.3rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 60px;
}

.edu-journey-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.edu-step-card {
    background-color: #fff;
    border-radius: 36px;
    padding: 50px 40px;
    width: 320px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.edu-step-card:hover {
    transform: translateY(-4px);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007aff;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    font-size: 1.1rem;
}

.edu-step-card h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.edu-step-card p {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
}

.edu-cta-section {
    padding: 60px 60px; /* Reduced top/bottom padding from 100px to 60px */
    background-color: #f2f2f2;
    text-align: center;
    margin-top: -30px; /* Negative margin to bring it closer to the section above */
}

.edu-cta-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #007aff, #5856d6, #5e5ce6);
    border-radius: 24px;
    color: white;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.edu-cta-card h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.edu-cta-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/*
========================================
SPACING GUIDE FOR SECTIONS
========================================

1. 教學創新 Section and 教育統計 Section: Keep original spacing as per requirement

2. Other sections: 
   - Reduced vertical padding from 100px to 60px
   - Added negative top margin (-30px) to bring sections closer
   - Maintained horizontal padding at 60px for consistent side spacing

3. For further adjustments:
   - To increase spacing: increase padding values or remove negative margins
   - To decrease spacing: decrease padding values or increase negative margins
   - Always test on multiple screen sizes after adjustments
*/