:root {
            --primary-color: #D8B35D;
            --primary-dark: #C5A052;
            --secondary-color: #E8C970;
            --text-dark: #374151;
            --text-gray: #6b7280;
            --bg-light: #FDF9F0;
            --white: #ffffff;
            --border: #F0E6D2;
            --success: #D8B35D;
            --gradient: linear-gradient(135deg, #D8B35D 0%, #E8C970 100%);
            --card-shadow: 0 8px 24px rgba(55, 65, 81, 0.12);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1,
h2 {
    font-family: 'Merriweather', 'Inter', serif;
    letter-spacing: -0.01em;
}
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        header {
            background: var(--white);
            box-shadow: var(--card-shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 45px;
            width: auto;
            object-fit: contain;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .cta-button {
            background: var(--success);
            color: var(--white);
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .cta-button:hover {
            background: #059669;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }
        
        /* Hero Section */
.hero {
    background: var(--white);
    color: var(--text-dark);
    padding: 4rem 0;
    text-align: center;
}
        
.hero p {
    text-align: center;
}

.hero .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}
        
        .hero h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-primary {
            background: var(--primary-color);
            color: var(--white);
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 10px rgba(216, 179, 93, 0.3);
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(216, 179, 93, 0.4);
        }
        
.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    padding: 0.95rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
        
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Subtle scroll reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
        
        /* About Michael Section */
        .about-michael {
            padding: 4rem 0;
            background: var(--white);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .michael-photo {
            text-align: center;
        }
        
        .michael-photo img {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            border: 4px solid var(--white);
        }
        
        .michael-info h2 {
            font-size: 2.2rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }
        
        .michael-info p {
            color: var(--text-gray);
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        
        .credentials {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .credential-badge {
            background: var(--primary-color);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Features Section */
        .features {
            padding: 4rem 0;
            background: var(--white);
        }
        
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .feature-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            text-align: center;
            transition: transform 0.3s;
        }
        

        
        .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .feature-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }
        
        .feature-card p {
            color: var(--text-gray);
            line-height: 1.6;
        }
        
        /* Services Section */
.services {
    padding: 4rem 0;
    background: var(--white);
}

/* Affiliated Charters */
.affiliated-charters {
    padding: 3rem 0;
    background: var(--white);
}

.section-title-spaced {
    margin-bottom: 2rem;
}

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

.affiliated-state {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.affiliated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.affiliated-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
}


.affiliated-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

.affiliated-name {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.affiliated-note {
    margin-top: 2rem;
    color: var(--text-gray);
    font-style: italic;
}
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .service-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            border: 2px solid transparent;
            transition: all 0.3s;
            text-align: left;
        }
        
        
        .service-card h3 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }
        
        .service-card p {
            color: var(--text-gray);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .service-highlights {
            list-style: none;
            padding: 0;
        }
        
        .service-highlights li {
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }
        
        .service-highlights li:before {
            content: "✓";
            color: var(--success);
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        /* Class Schedule Section */
.class-schedule {
    padding: 4rem 0;
    background: var(--white);
}

.table-scroll {
    overflow-x: auto;
}

.class-meta {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.class-warning {
    color: var(--secondary-color);
}

.openings-count {
    color: var(--success);
}

.centered-section {
    text-align: center;
    margin-top: 2rem;
}

.register-cta {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}
        
        .schedule-table {
            width: 100%;
            margin-top: 2rem;
            border-collapse: collapse;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
        }
        
        .schedule-table th {
            background: var(--primary-color);
            color: var(--white);
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}

.schedule-table tbody tr {
    background: var(--bg-light);
}

        
        .register-btn {
            background: var(--success);
            color: var(--white);
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s;
            display: inline-block;
        }
        
        .register-btn:hover {
            background: #059669;
            transform: translateY(-1px);
        }
        
        .class-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .class-description {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.4;
        }
        
        .tuition {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 1.1rem;
        }
        
        /* Contact Form Styles */
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
        
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.contact-form-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        
.form-group textarea {
    height: 120px;
    resize: vertical;
}

.is-hidden {
    display: none;
}
        
.submit-btn {
    background: var(--primary-color);
    color: var(--white);
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.success-reset-btn {
    margin-top: 1rem;
}

.form-fallback {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
}

.form-fallback a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.form-fallback a:hover {
    text-decoration: underline;
}

.copy-email-btn {
    margin-top: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

.copy-email-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

        /* Form Validation Styles */
        .error-message {
            color: #dc2626;
            font-size: 0.85rem;
            margin-top: 0.25rem;
            display: none;
        }

        .form-group.error input,
        .form-group.error select,
        .form-group.error textarea {
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        .success-message {
            background: #dcfce7;
            color: #166534;
            padding: 2.5rem 2rem;
            border-radius: 12px;
            border-left: 4px solid #22c55e;
            display: none;
            text-align: center;
        }

        .success-message .fa-check-circle {
            font-size: 3rem;
            color: #22c55e;
            display: block;
            margin-bottom: 1rem;
        }

        .success-message h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: #166534;
        }

        .success-message p {
            font-size: 1.05rem;
            color: #166534;
            margin: 0;
        }
        
.contact-info-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.calendar-card {
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.calendar-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.calendar-subtext {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.calendar-widget {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

.calendar-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calendar-note {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.calendar-platforms {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.calendar-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 6px;
}

.calendar-info-text {
    color: var(--text-gray);
}
        
.contact-info-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

        .contact-detail {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            gap: 1rem;
        }
        
        .contact-detail i {
            color: var(--primary-color);
            font-size: 1.2rem;
            width: 20px;
        }
        
.contact-detail span {
    color: var(--text-dark);
}

.response-time {
    margin-top: 0.75rem;
    padding-top: 0;
    border-left: none;
    background: transparent;
}

.response-time-text {
    color: var(--text-gray);
    font-size: 0.5rem;
}
        
        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: var(--white);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .scroll-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* Subjects Section */
        .subjects {
            padding: 4rem 0;
            background: var(--white);
        }
        
        .subjects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }
        
        .subject-card {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border: 2px solid transparent;
            transition: all 0.3s;
        }
        
        
        .subject-card h3 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        /* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}
        
.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-gray);
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}
        
.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-top: 2.5rem;
}

.carousel-viewport {
    overflow: hidden;
    padding: 0.5rem 0;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 33.333%;
    gap: 1rem;
    transition: transform 0.4s ease;
}

.carousel-btn {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.carousel-dot.is-active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonial-carousel {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        grid-auto-columns: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .carousel-track {
        grid-auto-columns: 50%;
    }
}
        
        .stars {
            color: var(--secondary-color);
            margin-bottom: 1rem;
        }
        
        /* Contact Section */
        .contact {
            padding: 4rem 0;
            background: var(--white);
            text-align: center;
        }
        
        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .contact-item {
            padding: 1.5rem;
        }
        
        .contact-item i {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .contact-item h3 {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .contact-item p {
            color: var(--text-gray);
        }
        
        /* Footer */
        footer {
            background: var(--text-dark);
            color: var(--white);
            text-align: center;
            padding: 2rem 0;
        }
        
        /* Mobile Responsiveness */
@media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }
            
            .btn-primary,
            .btn-secondary {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }
            
            .michael-photo img {
                width: 280px;
                height: 280px;
            }
            
            .features-grid,
            .services-grid,
            .subjects-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .schedule-table {
                font-size: 0.8rem;
            }
            
            .schedule-table th,
            .schedule-table td {
                padding: 0.75rem;
            }
            
            .contact-form-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        
        /* Focus styles for accessibility */
        .cta-button:focus-visible,
        .btn-primary:focus-visible,
        .btn-secondary:focus-visible {
            outline: 3px solid var(--secondary-color);
            outline-offset: 2px;
        }
.contact-detail.centered {
    justify-content: center;
}

.contact-form form {
    flex: 1 1 auto;
}
