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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #475569;
    background-color: #faf9f6;
}

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

/* Header and Navigation */
header {
    background-color: #faf9f6;
    border-bottom: 1px solid #cbd5e1;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1b4d3e;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1b4d3e;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #475569;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: #1b4d3e;
    padding: 80px 0;
    text-align: center;
    color: #faf9f6;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #faf9f6;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #faf9f6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.services-overview h2 {
    text-align: center;
    font-size: 2rem;
    color: #1b4d3e;
    margin-bottom: 3rem;
}

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

.service-card {
    padding: 2rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.15);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1b4d3e;
    margin-bottom: 1rem;
}

.service-card p {
    color: #475569;
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.feature h3 {
    font-size: 1.25rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #475569;
}

/* Page Header */
.page-header {
    background-color: #1b4d3e;
    padding: 60px 0;
    text-align: center;
    color: #faf9f6;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #faf9f6;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #faf9f6;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 1.75rem;
    color: #1b4d3e;
    margin-bottom: 1rem;
}

.content-block p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.feature-item {
    padding: 1.5rem;
    border-left: 3px solid #f59e0b;
    background-color: #fff;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #475569;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: #fff;
    border-radius: 4px;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 1.75rem;
    color: #1b4d3e;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1b4d3e;
    color: #faf9f6;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.btn:hover {
    background-color: #f59e0b;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #1b4d3e;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #f59e0b;
}

/* Contact Page */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-block {
    margin-bottom: 3rem;
}

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

.contact-item {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 4px;
}

.contact-item h3 {
    font-size: 1.25rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #475569;
}

.contact-item a {
    color: #1b4d3e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Signup Section */
.signup-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.signup-section h2 {
    font-size: 2rem;
    color: #1b4d3e;
    margin-bottom: 1rem;
}

.signup-section p {
    color: #475569;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.signup-section iframe {
    border: none;
}

/* Classes Navigation List */
.classes-nav-list {
    margin-bottom: 2rem;
}

.classes-nav-list h3 {
    font-size: 1.25rem;
    color: #1b4d3e;
    margin-bottom: 0.75rem;
}

.classes-nav-links {
    list-style: none;
}

.classes-nav-links li {
    margin: 0.5rem 0;
}

.classes-nav-links a {
    color: #475569;
    text-decoration: underline;
}

.classes-nav-links a:hover {
    color: #1b4d3e;
}

/* Classes Tiles Grid */
.classes-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.class-tile {
    display: block;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.class-tile:hover {
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.class-tile-image {
    width: 100%;
    height: 200px;
    background-color: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.class-tile-content {
    padding: 1.5rem;
}

.class-tile-title {
    font-size: 1.25rem;
    color: #1b4d3e;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.class-tile-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Back Link */
.back-link {
    display: inline-block;
    color: #1b4d3e;
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #2d5a47;
    text-decoration: underline;
}

/* Class Detail Page Styles */
.class-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.class-detail-header h1 {
    font-size: 2rem;
    color: #1b4d3e;
    margin: 0;
    flex: 1;
}

.class-detail-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    height: 400px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.class-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.class-detail-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.class-detail-section {
    margin-bottom: 2rem;
}

.class-detail-section h2 {
    font-size: 1.5rem;
    color: #1b4d3e;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    line-height: 1.7;
}

.benefits-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1b4d3e;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Classes Grid (for individual class pages) */
.classes-grid {
    display: block;
    margin-top: 2rem;
}

.classes-grid .class-card {
    margin-bottom: 2rem;
}

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

.class-card {
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    scroll-margin-top: 90px;
}

.class-card:hover {
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.15);
    transform: translateY(-2px);
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.class-title {
    font-size: 1.5rem;
    color: #1b4d3e;
    margin: 0;
    flex: 1;
}

.class-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f59e0b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-description {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-details {
    margin-bottom: 1.5rem;
}

.class-goals,
.class-topics {
    margin-bottom: 1rem;
}

.class-goals h4,
.class-topics h4 {
    font-size: 1rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.class-goals ul,
.class-topics ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.class-goals li,
.class-topics li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.class-goals li::before,
.class-topics li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.more-topics {
    font-style: italic;
    color: #64748b;
}

.class-outcomes {
    padding: 1rem;
    background-color: #f8fafc;
    border-left: 3px solid #1b4d3e;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.class-outcomes p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.class-outcomes strong {
    color: #1b4d3e;
}

.class-signup {
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.class-signup h4 {
    font-size: 1.1rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
}

.class-signup > p {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.class-signup-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #dc2626;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #475569;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1b4d3e;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled {
    background-color: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.6;
}


.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #1b4d3e;
    color: #faf9f6;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: #f59e0b;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.class-registration {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #1b4d3e;
}

.btn-register {
    width: 100%;
    background-color: #1b4d3e;
    color: #faf9f6;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-register:hover {
    background-color: #f59e0b;
    transform: translateY(-1px);
}

/* Footer */
footer {
    background-color: #1b4d3e;
    color: #faf9f6;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #faf9f6;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #faf9f6;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #cbd5e1;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-grid,
    .features,
    .features-list,
    .contact-details {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

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

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-overview,
    .about,
    .content-section,
    .signup-section {
        padding: 40px 0;
    }

    .signup-section iframe {
        width: 100%;
        height: auto;
        min-height: 305px;
    }

    .class-card {
        padding: 1.5rem;
    }

    .class-title {
        font-size: 1.25rem;
    }
}

