/* CSS Variables for Light Theme */
:root {
    --text-color: #000000;
    --background-color: #ffffff;
    --header-background-color: #f0f0f0;
    --header-text-color: #3274d9;
    --nav-link-color: #000000;
    --signup-button-bg: #3274d9;
    --login-button-bg: #3274d9;
    --section-bg-color: #ffffff;
    --header-color: #3274d9;
    --link-color: #3274d9;
    --hover-opacity: 0.8;
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --tutor-card-bg: #f9f9f9;
    --tutor-card-border: #e0e0e0;
    --audio-border-color: #3274d9;
}

/* Dark Theme Overrides */
.dark-mode {
    --text-color: #d8d9da;
    --background-color: #000000;
    --header-background-color: #212327;
    --header-text-color: #eb7b18;
    --nav-link-color: #d8d9da;
    --signup-button-bg: #eb7b18;
    --login-button-bg: #3274d9;
    --section-bg-color: #000000;
    --header-color: #eb7b18;
    --link-color: #5794f2;
    --hover-opacity: 0.8;
    --box-shadow-color: rgba(0, 0, 0, 0.3);
    --tutor-card-bg: #212327;
    --tutor-card-border: #333333;
    --audio-border-color: #eb7b18;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: var(--header-background-color);
    color: var(--text-color);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: var(--header-text-color);
}

/* Navigation Buttons */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--nav-link-color);
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
}

nav a.signup-btn {
    background-color: var(--signup-button-bg);
    color: #fff;
}

nav a.login-btn {
    background-color: var(--login-button-bg);
    color: #fff;
}

nav a:hover {
    opacity: var(--hover-opacity);
}

nav .demo-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    background-color: #4CAF50; /* or any color that matches your design */
    color: white;
    margin-right: 10px;
}

nav .demo-btn:hover {
    background-color: #45a049; /* slightly darker shade for hover effect */
}

/* Theme Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
}

/* Hero Section */
.hero {
    display: flex;
    padding: 60px 20px;
    background-color: var(--section-bg-color);
    margin-bottom: 40px;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: var(--header-color);
}

.hero h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: normal;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.highlight {
    color: var(--header-color);
}

/* Featured Achievements */
.featured-achievements {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin: 40px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.achievement-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    margin: 10px;
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px var(--box-shadow-color);
}

.achievement-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.achievement-card h3 {
    margin: 10px 0;
    color: var(--header-color);
}

/* Content Sections */
.content-section {
    padding: 40px;
    background-color: var(--section-bg-color);
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0px 0px 10px var(--box-shadow-color);
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--box-shadow-color);
}

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

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--header-color);
    font-weight: bold;
}

.highlight-section {
    background-color: var(--header-background-color);
}

.center-align {
    text-align: center;
}

/* Sections */
section {
    padding: 20px;
    background-color: var(--section-bg-color);
    margin: 20px auto;
    width: 80%;
    box-shadow: 0px 0px 10px var(--box-shadow-color);
}

/* Section title with blue line */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    z-index: 1;
}

.section-title {
    color: var(--header-color);
    font-size: 1.8em;
    margin: 0;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--header-color);
    z-index: -1;
}

/* Avatar container to ensure the image is above the blue line */
.avatar-container {
    position: relative;
    z-index: 1;
}

/* Avatar hover effect */
.section-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 3px solid transparent;
}

.section-avatar:hover,
.playing {
    border: 3px solid var(--header-color);
}

.section-avatar:hover {
    transform: scale(1.1);
}

/* Play button */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    width: 24px;
    height: 24px;
}

/* Show play button when hovering over avatar */
.avatar-container:hover .play-icon {
    opacity: 1;
}

.audio-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.audio-tooltip.playing {
    background-color: var(--header-color);
}

/* CTA Buttons */
.cta-button, .primary-button {
    background-color: var(--signup-button-bg);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover, .primary-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    text-decoration: none;
}

.secondary-button {
    background-color: transparent;
    color: var(--header-color);
    border: 2px solid var(--header-color);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(50, 116, 217, 0.1);
    text-decoration: none;
}

.cta-container {
    margin-top: 30px;
}

.cta-container.center {
    text-align: center;
}

/* Seminar Section */
.seminar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.seminar-card {
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seminar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--box-shadow-color);
}

.seminar-level {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    color: white;
}

.beginner {
    background-color: #4CAF50;
}

.intermediate {
    background-color: #2196F3;
}

.advanced {
    background-color: #9C27B0;
}

.special {
    background-color: #FF9800;
}

.premium {
    background-color: #F44336;
}

.seminar-card h3 {
    margin-top: 15px;
    color: var(--header-color);
}

.seminar-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--link-color);
    font-weight: bold;
}

.seminar-link.highlight {
    color: #F44336;
}

.camp-price {
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.2em;
    color: #F44336;
}

.pulse-highlight {
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

/* Showcase Section */
.showcase-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    transition: transform 0.3s ease;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay h3 {
    color: white;
    margin: 0 0 5px;
}

.showcase-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 10px;
    font-size: 0.9em;
}

.showcase-link {
    color: white;
    background-color: var(--header-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    display: inline-block;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    position: relative;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--header-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--header-color);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.pricing-card.featured {
    border: 2px solid var(--header-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--header-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.85em;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    padding: 25px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
    margin: 0 0 15px;
    font-size: 1.8em;
    color: var(--header-color);
}

.pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price {
    font-size: 2.5em;
    font-weight: bold;
}

.period {
    font-size: 1.1em;
    margin-left: 5px;
    opacity: 0.7;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: "✓";
    color: var(--header-color);
    font-weight: bold;
    margin-right: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card {
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--box-shadow-color);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column; /* Add this */
    height: 100%; /* Add this to ensure full height */
}

.pricing-features {
    list-style-type: none;
    padding: 20px;
    margin: 0;
    flex-grow: 1; /* Add this to push CTA to bottom */
}

.pricing-cta {
    display: block;
    text-align: center;
    background-color: var(--header-color);
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Add this to stick to bottom */
}

.pricing-cta:hover {
    background-color: var(--link-color);
    text-decoration: none;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Instructor Section */

.voice-guides-intro {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 30px;
    font-style: italic;
}

.instructor-section-subtitle {
    text-align: center;
    color: var(--header-color);
    margin: 40px 0 20px;
    font-size: 1.4em;
    position: relative;
}

.instructor-section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--header-color);
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instructor-card {
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

.instructor-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid transparent;
    transition: border 0.3s ease;
}

.instructor-card:hover img {
    border: 3px solid var(--header-color);
}

.instructor-card h3 {
    margin: 0 0 5px;
    color: var(--header-color);
}

.instructor-title {
    font-weight: bold;
    opacity: 0.8;
    margin-bottom: 10px;
}

.listen-voice-btn {
    background-color: var(--header-background-color);
    border: none;
    color: var(--header-color);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.listen-voice-btn svg {
    width: 16px;
    height: 16px;
}

.listen-voice-btn:hover {
    background-color: rgba(50, 116, 217, 0.1);
}

.listen-voice-btn.playing {
    background-color: var(--header-color);
    color: white;
}

/* CTA Section */
.cta-section {
    background-color: var(--header-background-color);
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.video-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--header-color);
    border: 2px solid var(--header-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.video-button svg {
    width: 20px;
    height: 20px;
}

.video-button:hover {
    background-color: rgba(50, 116, 217, 0.1);
    text-decoration: none;
}

/* Footer */
footer {
    background-color: var(--header-background-color);
    color: var(--text-color);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--header-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--header-color);
    text-decoration: none;
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--section-bg-color);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    height: 40px;
}

#close-menu {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.mobile-nav-cta {
    display: block;
    margin-top: 20px;
    background-color: var(--header-color);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.mobile-nav-secondary {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.mobile-social a {
    color: var(--text-color);
}

.mobile-social svg {
    width: 20px;
    height: 20px;
}

/* Voice Onboarding Modal */
#voiceOnboardingModal .modal-content {
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.sensei-intro-container {
    margin: 20px 0;
}

.senseis-group-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--header-color);
}

.welcome-audio-btn {
    background-color: var(--header-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    cursor: pointer;
    font-weight: bold;
}

.welcome-audio-btn svg {
    width: 20px;
    height: 20px;
}

.voice-note {
    font-style: italic;
    margin: 20px 0;
}

.inline-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.voice-preferences {
    margin: 20px 0;
}

.voice-preferences label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.voice-preferences input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .feature-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .featured-achievements {
        flex-direction: column;
    }
    
    .seminar-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .instructor-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2em;
    }
    
    .hero h2 {
        font-size: 1.2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* BADGE & CERTIFICATION ADDITIONS */
/* Added: [Current Date] */
/* ==================== */

/* Badge Card Layout */
.badge-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.5rem;
    background-color: var(--tutor-card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--box-shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 420px;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

/* Badge Header Label */
.badge-card .badge-header {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    z-index: 1;
}

/* Badge Level Colors */
.foundation-badge .badge-header {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.intermediate-badge .badge-header {
    background: linear-gradient(135deg, #2196F3, #1565C0);
}

.advanced-badge .badge-header {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.specialization-badge .badge-header {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

/* Badge Content */
.badge-card h3 {
    margin: 2rem 0 0.5rem;
    font-size: 1.2rem;
    min-height: 3rem;
    color: var(--header-color);
}

.badge-card > p {
    margin-bottom: 0.5rem;
    min-height: 3rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.badge-description {
    flex-grow: 1;
    margin: 1rem 0;
}

.badge-description ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    list-style-type: disc;
}

.badge-description li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Badge Details Section */
.badge-details {
    margin: 1rem 0 0.5rem;
}

.badge-info {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background-color: rgba(50, 116, 217, 0.1);
    color: var(--header-color);
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Dark mode badge info */
.dark-mode .badge-info {
    background-color: rgba(87, 148, 242, 0.15);
    color: var(--link-color);
}

/* Badge Price Display */
.badge-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-color);
    margin: 1rem 0 0.5rem;
    text-align: center;
}

/* Badge CTA Button */

/* Fix badge CTA button - make it rounded evenly on all sides */
.badge-cta {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, var(--signup-button-bg), #2563c7);
    color: white;
    border-radius: 8px !important; /* Make sure this is consistent */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--box-shadow-color);
}

.badge-cta:hover {
    background: linear-gradient(135deg, #2563c7, var(--signup-button-bg));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--box-shadow-color);
    text-decoration: none;
}

.badge-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

/* Badge Grid - 4 columns */
#badge-system .instructor-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Belt System Enhancements */
.belt-system-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.belt-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--tutor-card-bg);
    display: flex;
    flex-direction: column;
}

.belt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--box-shadow-color);
}

.belt-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.belt-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.belt-level {
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
}

.belt-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.belt-skills {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0.7rem 0;
    font-size: 0.95rem;
}

.belt-cta {
    display: inline-block;
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--signup-button-bg), #2563c7);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px var(--box-shadow-color);
}

.belt-cta:hover {
    background: linear-gradient(135deg, #2563c7, var(--signup-button-bg));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--box-shadow-color);
    text-decoration: none;
}

.belt-cta:active {
    transform: translateY(0);
}

/* Belt Colors */
.white-belt {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #333;
}

.yellow-belt {
    background: linear-gradient(135deg, #ffd700, #ffc107);
}

.green-belt {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.blue-belt {
    background: linear-gradient(135deg, #2196F3, #1565C0);
}

.brown-belt {
    background: linear-gradient(135deg, #795548, #5D4037);
}

.black-belt {
    background: linear-gradient(135deg, #424242, #212121);
}

/* Loading State for CTAs */
.badge-cta:disabled,
.belt-cta:disabled,
.badge-cta.loading,
.belt-cta.loading {
    background: linear-gradient(135deg, #ccc, #999);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Success state */
.badge-card.purchased .badge-cta,
.belt-card.purchased .belt-cta {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    pointer-events: none;
}

.badge-card.purchased .badge-cta::before,
.belt-card.purchased .belt-cta::before {
    content: "✓ ";
}

/* Video Container for embedded videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments for New Components */
@media (max-width: 1200px) {
    #badge-system .instructor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .belt-system-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    #badge-system .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .badge-card h3 {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .badge-price {
        font-size: 1.3rem;
    }
    
    .belt-system-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    #badge-system .instructor-grid {
        grid-template-columns: 1fr;
    }
    
    .badge-card {
        padding: 1.25rem;
        min-height: auto;
    }
    
    .badge-cta,
    .belt-cta {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
}

/* Dark Mode Enhancements for New Components */
.dark-mode .badge-price {
    color: var(--header-text-color);
}

.dark-mode .badge-cta,
.dark-mode .belt-cta {
    background: linear-gradient(135deg, var(--signup-button-bg), #d66a0f);
    box-shadow: 0 2px 8px rgba(235, 123, 24, 0.3);
}

.dark-mode .badge-cta:hover,
.dark-mode .belt-cta:hover {
    background: linear-gradient(135deg, #d66a0f, var(--signup-button-bg));
    box-shadow: 0 4px 12px rgba(235, 123, 24, 0.4);
}

.dark-mode .badge-description li {
    color: var(--text-color);
}

/* Seminar Link as Button */
.seminar-link {
    display: inline-block;
    margin-top: 15px;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--signup-button-bg), #2563c7);
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--box-shadow-color);
    border: none;
    cursor: pointer;
}

.seminar-link:hover {
    background: linear-gradient(135deg, #2563c7, var(--signup-button-bg));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--box-shadow-color);
    text-decoration: none;
}

.seminar-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

/* Dark mode seminar link */
.dark-mode .seminar-link {
    background: linear-gradient(135deg, var(--signup-button-bg), #d66a0f);
    color: white !important;
    box-shadow: 0 2px 8px rgba(235, 123, 24, 0.3);
}

.dark-mode .seminar-link:hover {
    background: linear-gradient(135deg, #d66a0f, var(--signup-button-bg));
    box-shadow: 0 4px 12px rgba(235, 123, 24, 0.4);
}

/* Special highlight for summer camp - keep it red/orange */
.seminar-link.highlight {
    background: linear-gradient(135deg, #F44336, #d32f2f);
    color: white !important;
}

.seminar-link.highlight:hover {
    background: linear-gradient(135deg, #d32f2f, #F44336);
}

.dark-mode .seminar-link.highlight {
    background: linear-gradient(135deg, #F44336, #d32f2f);
}

/* ==================== */
/* UNIFIED BUTTON SYSTEM */
/* ==================== */

/* Primary CTA Button - Use everywhere */
.cta-button,
.primary-button,
.badge-cta,
.belt-cta,
.pricing-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--signup-button-bg), #2563c7);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--box-shadow-color);
}

.cta-button:hover,
.primary-button:hover,
.badge-cta:hover,
.belt-cta:hover,
.pricing-cta:hover {
    background: linear-gradient(135deg, #2563c7, var(--signup-button-bg));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--box-shadow-color);
    text-decoration: none;
}

.cta-button:active,
.primary-button:active,
.badge-cta:active,
.belt-cta:active,
.pricing-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

/* Full width variant for cards */
.badge-cta,
.belt-cta,
.pricing-cta {
    display: block;
    width: 100%;
    margin-top: auto;
}

/* Secondary Button - Outlined style */
.secondary-button,
.seminar-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--header-color);
    border: 2px solid var(--header-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-button:hover,
.seminar-link:hover {
    background-color: var(--header-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Full width variant */
.seminar-link {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

/* Dark Mode */
.dark-mode .cta-button,
.dark-mode .primary-button,
.dark-mode .badge-cta,
.dark-mode .belt-cta,
.dark-mode .pricing-cta {
    background: linear-gradient(135deg, var(--signup-button-bg), #d66a0f);
    box-shadow: 0 2px 8px rgba(235, 123, 24, 0.3);
}

.dark-mode .cta-button:hover,
.dark-mode .primary-button:hover,
.dark-mode .badge-cta:hover,
.dark-mode .belt-cta:hover,
.dark-mode .pricing-cta:hover {
    background: linear-gradient(135deg, #d66a0f, var(--signup-button-bg));
    box-shadow: 0 4px 12px rgba(235, 123, 24, 0.4);
}

/* Special Cases */
.seminar-link.highlight {
    background: linear-gradient(135deg, #F44336, #d32f2f);
    color: white !important;
    border: none;
}

.seminar-link.highlight:hover {
    background: linear-gradient(135deg, #d32f2f, #F44336);
}

/* Loading/Disabled States */
.cta-button:disabled,
.badge-cta:disabled,
.belt-cta:disabled,
.pricing-cta:disabled,
.cta-button.loading,
.badge-cta.loading,
.belt-cta.loading,
.pricing-cta.loading {
    background: linear-gradient(135deg, #ccc, #999);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Success State */
.badge-cta.purchased,
.belt-cta.purchased {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    pointer-events: none;
}

.badge-cta.purchased::before,
.belt-cta.purchased::before {
    content: "✓ ";
}
