/* Update color scheme variables at the top */
:root {
    --primary: #6b8e23;        /* Olive Green */
    --primary-dark: #556b2f;   /* Darker Olive */
    --primary-light: #8fbc8f;  /* Light Olive */
    --accent: #556b2f;         /* Dark Olive instead of coral red */
    --text-dark: #2c3e50;      /* Keeping for readability */
    --text-light: #666;        /* Keeping for readability */
    --white: #fff;
    --background-light: #f9f9f9;
    --error-color: #ff6b6b;
    --z-navbar: 1000;
    --z-scroll-progress: 1001;
    --z-cookie-consent: 9999;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white !important;
    min-height: 100vh !important;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-navbar);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/sozo-members.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f9f9f9;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-text {
    max-width: 100%;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.sozo-story {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: rgba(107, 142, 35, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.sozo-story h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.japanese-text {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 1rem 0;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Noto Sans JP', sans-serif;
}

.sozo-story p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Classes Section */
.classes {
    padding: 100px 0;
    background: var(--background-light);
}

.classes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.class-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.class-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary);
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(107, 142, 35, 0.2);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.class-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.class-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.class-card p b {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.class-card ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.class-card li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.class-card li::before {
    content: '🕐';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

.class-card li:last-child {
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-light);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.pricing-cards.private-lessons {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--primary-light);
}

.pricing-cards.private-lessons .section-subtitle {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.price {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin: 1.5rem 0;
    font-weight: 700;
    text-align: center;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.savings {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: rgba(107, 142, 35, 0.1);
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
    padding-left: 0;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.pricing-card.annual-membership {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.pricing-card.annual-membership h3 {
    color: white;
}

.pricing-card.annual-membership .price {
    color: white;
    font-size: 3.2rem;
}

.pricing-card.annual-membership .price span {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.annual-membership .savings {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
}

.pricing-card.annual-membership li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.annual-membership li::before {
    color: #ffd700;
}

.pricing-card.annual-membership .cta-button {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.pricing-card.annual-membership .cta-button:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.pricing-card .cta-button {
    margin-top: auto;
    text-align: center;
}

.pricing-card.young-grasshopper {
    width: 100%;
    margin: 0 auto 4rem;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(107, 142, 35, 0.4), 0 0 0 4px var(--primary);
    border: 4px solid var(--primary);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: white;
}

.pricing-card.young-grasshopper:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 60px rgba(107, 142, 35, 0.5), 0 0 0 4px var(--primary-dark);
}

.young-grasshopper-mascot {
    flex: 1;
    min-width: 45%;
    position: relative;
    overflow: hidden;
    background: var(--primary-light);
    min-height: 350px;
    padding: 0;
    margin: 0;
}

.young-grasshopper-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/young-grasshoppers-bg.PNG') left center no-repeat;
    background-size: cover;
    background-position: 0 center;
    opacity: 1;
    z-index: 0;
}

.young-grasshopper-content {
    flex: 1;
    min-width: 55%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem 3rem;
    border-radius: 0 15px 15px 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100%;
}

.young-grasshopper-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.young-grasshopper-content .price {
    margin: 1rem 0;
    font-size: 2.5rem;
}

.young-grasshopper-content ul {
    margin: 1.25rem 0;
}

.young-grasshopper-content ul li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.young-grasshopper-content .cta-button {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card h3 {
        font-size: 1.6rem;
    }

    .price {
        font-size: 2.4rem;
    }

    .pricing-card.young-grasshopper {
        margin-bottom: 2rem;
        padding: 0;
        padding-left: 0;
        padding-right: 0;
        min-height: auto;
        border-width: 3px;
        flex-direction: column;
    }

    .young-grasshopper-mascot {
        min-width: 100%;
        min-height: 200px;
        flex: 0 0 auto;
    }

    .young-grasshopper-content {
        min-width: 100%;
        padding: 2rem;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    text-align: center;
}

footer::before {
    content: '"';
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(107, 142, 35, 0.2);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-light);
}

.footer-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    color: #fff;
    transition: color 0.3s ease;
    position: relative;
}

.social-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .classes {
        padding: 60px 0;
    }

    .classes h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .class-schedule {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .class-schedule {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .class-schedule .class-card:last-child {
        grid-column: 1 / -1;
    }

    .class-card {
        padding: 2rem;
    }

    .class-card h3 {
        font-size: 1.6rem;
    }

    .pricing {
        padding: 60px 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-cards.private-lessons {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .pricing-card.featured {
        transform: none;
    }

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

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

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links.active a {
    margin: 0.5rem 0;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

#back-to-top.visible {
    display: flex;
}

/* Add pulse animation to CTA buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 142, 35, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(107, 142, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 142, 35, 0);
    }
}

.hero .cta-button {
    animation: pulse 2s infinite;
}

/* Enhance form inputs */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(107, 142, 35, 0.2);
}

/* Add loading state to form button */
.cta-button.loading {
    position: relative;
    color: transparent;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem;
    z-index: var(--z-cookie-consent);
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0.5rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--primary);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--primary-dark);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Add scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: var(--z-scroll-progress);
    transition: width 0.1s ease;
}

/* Enhance form validation feedback */
.contact-form input.invalid,
.contact-form textarea.invalid,
.contact-form select.invalid {
    border-color: var(--primary);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Add success message styling */
.success-message {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Enhance pricing card animations */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.reveal {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Improve focus states for accessibility */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Add smooth transitions for interactive elements */
.nav-links a,
.cta-button,
.social-links a {
    transition: all 0.3s ease;
}

/* Enhance mobile menu animation */
.nav-links.active {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Add loading spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

/* Enhance section transitions */
.section-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add hover effect to feature cards */
.feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Improve button hover states */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.3);
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhance form input focus states */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.2);
}

/* Add loading state to form submission */
.cta-button.loading {
    position: relative;
    color: transparent;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

.error-message {
    background: var(--error-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

/* Add Japanese text language attribute */
.japanese-text {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Add Facebook link with aria-label */
.social-links a:hover {
    color: var(--primary-light);
}

.social-links a:hover::before {
    content: attr(aria-label);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 1000;
    white-space: nowrap;
}

.social-links a:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-rating {
    color: #ffc107;
    margin: 0.5rem 0;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.testimonials-loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

.google-reviews-link {
    text-align: center;
    margin-top: 2rem;
}

.google-reviews-link .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.google-reviews-link .cta-button i {
    font-size: 1.2rem;
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #ffecec;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.cta-button.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.form-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
} 