/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD7BE;
    --secondary-color: #FFF2E8;
    --accent-color: #8B7B6B;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(139, 123, 107, 0.15);
    --shadow-hover: 0 8px 30px rgba(139, 123, 107, 0.25);
}

body {
    font-family: 'Sawarabi Mincho', serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
   
    padding: 15px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #6d6158 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-family: 'Sawarabi Mincho', serif;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background: url('../images/hero-background.jpg') center/cover no-repeat;
                
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 123, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    /* Existing styles preserved */
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 123, 107, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 123, 107, 0.4);
}


.hero h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero .subtitle {
    display: block;
    font-size: 32px;
    color: var(--text-dark);
    margin-top: 10px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.tag {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--accent-color);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag i {
    font-size: 16px;
}

.hero-quote {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-color);
}

.quote-text {
    font-size: 22px;
    line-height: 1.6;
    color: var(--accent-color);
    font-weight: bold;
}

.hero-description {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin: 25px 0;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.instructor-avatar {
    font-size: 80px;
    color: var(--accent-color);
}

.instructor-details h3 {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.instructor-details p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 5px;
}

.instructor-stats {
    margin-top: 12px;
    color: var(--accent-color);
    font-weight: bold;
}

.instructor-stats i {
    margin-right: 5px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.9;
}

/* Key Points Section */
.key-points {
    background: white;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.point-card {
    background: var(--secondary-color);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.point-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-color);
}

.point-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.point-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* Method Section */
.method-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.method-grid {
    display: grid;
    gap: 25px;
    margin-top: 50px;
}

.method-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.method-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--accent-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.method-content h3 i {
    margin-right: 10px;
}

.method-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* Community Section */
.community-section {
    background: white;
}

.community-image-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.community-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}


.community-header {
    text-align: center;
    margin-bottom: 50px;
}

.community-subtitle {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.community-intro {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

.community-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--secondary-color);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-color);
}

.benefit-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Curriculum Section */
.curriculum-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.curriculum-list {
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.curriculum-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.curriculum-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.curriculum-icon {
    font-size: 42px;
    color: var(--accent-color);
    background: var(--secondary-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.curriculum-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.curriculum-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: var(--accent-color);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.final-cta p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button-large {
    background: linear-gradient(135deg, var(--accent-color) 0%, #6d6158 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 20px;
    font-family: 'Sawarabi Mincho', serif;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 40px 0 100px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--accent-color) 0%, #6d6158 100%);
    color: white;
    padding: 25px 30px;
    margin: 0;
    border-radius: 15px 15px 0 0;
    font-size: 28px;
}

.modal-close {
    color: white;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    color: var(--text-dark);
}

.modal-body h3 {
    color: var(--accent-color);
    font-size: 20px;
    margin: 25px 0 15px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-body li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .portrait-image {
        max-width: 300px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 22px;
    }
    
    .quote-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .instructor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-avatar {
        font-size: 60px;
    }
    
    .instructor-details h3 {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-intro {
        font-size: 16px;
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .method-card {
        flex-direction: column;
        text-align: center;
    }
    
    .method-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .curriculum-item {
        flex-direction: column;
        text-align: center;
    }
    
    .curriculum-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .community-benefits {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .final-cta h2 {
        font-size: 28px;
    }
    
    .final-cta p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .cta-button-large {
        padding: 16px 35px;
        font-size: 16px;
    }
    
    .cta-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer {
        padding: 30px 0 90px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        font-size: 22px;
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero-tags {
        flex-direction: column;
    }
    
    .tag {
        justify-content: center;
    }
    
    section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

