.subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subject-card {
    border: 2px solid #e5e7eb; /* Light Gray */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb; /* Very Light Gray */
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24; /* Primary Accent - Amber */
}

.subject-content {
    padding: 2rem;
    text-align: center;
}

.subject-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Styles for "How It Works" Section */
.how-it-works {
    padding: 4rem 2rem;
    background-color: #ffffff; /* White background */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.step-item {
    background-color: #f9fafb; /* Very Light Gray */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb; /* Light Gray */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24; /* Primary Accent - Amber */
    background-color: #fffbeb; /* Light Amber bg */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark Gray */
}

.step-content p {
    font-size: 1rem;
    color: #4b5563; /* Medium Gray */
    line-height: 1.6;
}

.step-content a {
    color: #f59e0b; /* Darker Amber for links */
    text-decoration: underline;
}

.exam-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background-color: #fffbeb; /* Light Amber bg */
    border: 1px solid #fde68a; /* Lighter Amber border */
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-note p {
    font-size: 0.9rem;
    color: #78350f; /* Dark Amber text */
}



.hero {

    padding-top: 40px;
    border-radius: 0;
    
}

/* Ensure section headers are consistent */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937; /* Dark Gray */
    margin-bottom: 0.5rem;
}
.section-header p {
    font-size: 1.1rem;
    color: #6b7280; /* Gray */
    max-width: 600px;
    margin: 0 auto;
}

/* Button styling consistency (assuming .btn, .btn-primary, .btn-secondary, .btn-cta, .btn-cta-secondary are defined in main.css) */
/* Adding some general modern touches to feature cards if not already present */
.features-grid .feature-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}
.features-grid .feature-card .feature-icon {
    font-size: 2.5rem; /* Larger icons */
    margin-bottom: 1rem;
    color: #fbbf24; /* Primary Accent - Amber */
}
.features-grid .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.features-grid .feature-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* AI Assistant Section */
.ai-assistant-section {
    background-color: #1e3a8a; /* Dark Blue */
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.ai-assistant-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-assistant-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.ai-assistant-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.ai-assistant-container::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #fbbf24; /* Amber */
    margin: 1.5rem auto 0;
}

.hero {
    padding-top: 40px;
    border-radius: 0;
}

.header {
    margin: 0;
}

.hero-content h1.hero-title {
    border: none;
    border-bottom: 4px solid rgb(255, 188, 3);
}

span::after {
    background: none !important;
}

.ai-assistant-section {
    border-radius: 0;
}


.subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subject-card {
    border: 2px solid #e5e7eb; /* Light Gray */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb; /* Very Light Gray */
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24; /* Primary Accent - Amber */
}

.subject-content {
    padding: 2rem;
    text-align: center;
}

.subject-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Styles for "How It Works" Section */
.how-it-works {
    padding: 4rem 2rem;
    background-color: #ffffff; /* White background */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.step-item {
    background-color: #f9fafb; /* Very Light Gray */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb; /* Light Gray */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24; /* Primary Accent - Amber */
    background-color: #fffbeb; /* Light Amber bg */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark Gray */
}

.step-content p {
    font-size: 1rem;
    color: #4b5563; /* Medium Gray */
    line-height: 1.6;
}

.step-content a {
    color: #f59e0b; /* Darker Amber for links */
    text-decoration: underline;
}

.exam-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background-color: #fffbeb; /* Light Amber bg */
    border: 1px solid #fde68a; /* Lighter Amber border */
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-note p {
    font-size: 0.9rem;
    color: #78350f; /* Dark Amber text */
}



.hero {

    padding-top: 40px;
    border-radius: 0;
    
}

/* Ensure section headers are consistent */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937; /* Dark Gray */
    margin-bottom: 0.5rem;
}
.section-header p {
    font-size: 1.1rem;
    color: #6b7280; /* Gray */
    max-width: 600px;
    margin: 0 auto;
}

/* Button styling consistency (assuming .btn, .btn-primary, .btn-secondary, .btn-cta, .btn-cta-secondary are defined in main.css) */
/* Adding some general modern touches to feature cards if not already present */
.features-grid .feature-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}
.features-grid .feature-card .feature-icon {
    font-size: 2.5rem; /* Larger icons */
    margin-bottom: 1rem;
    color: #fbbf24; /* Primary Accent - Amber */
}
.features-grid .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.features-grid .feature-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* AI Assistant Section */
.ai-assistant-section {
    background-color: #1e3a8a; /* Dark Blue */
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.ai-assistant-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-assistant-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.ai-assistant-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.ai-assistant-container::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #fbbf24; /* Amber */
    margin: 1.5rem auto 0;
}

.hero {
    padding-top: 40px;
    border-radius: 0;
}

.header {
    margin: 0;
}

.hero-content h1.hero-title {
    border: none;
    border-bottom: 4px solid rgb(255, 188, 3);
}

span::after {
    background: none !important;
}

.ai-assistant-section {
    border-radius: 0;
}


.subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subject-card {
    border: 2px solid #e5e7eb; /* Light Gray */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb; /* Very Light Gray */
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #fbbf24; /* Primary Accent - Amber */
}

.subject-content {
    padding: 2rem;
    text-align: center;
}

.subject-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Styles for "How It Works" Section */
.how-it-works {
    padding: 4rem 2rem;
    background-color: #ffffff; /* White background */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.step-item {
    background-color: #f9fafb; /* Very Light Gray */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb; /* Light Gray */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24; /* Primary Accent - Amber */
    background-color: #fffbeb; /* Light Amber bg */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937; /* Dark Gray */
}

.step-content p {
    font-size: 1rem;
    color: #4b5563; /* Medium Gray */
    line-height: 1.6;
}

.step-content a {
    color: #f59e0b; /* Darker Amber for links */
    text-decoration: underline;
}

.exam-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background-color: #fffbeb; /* Light Amber bg */
    border: 1px solid #fde68a; /* Lighter Amber border */
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-note p {
    font-size: 0.9rem;
    color: #78350f; /* Dark Amber text */
}



.hero {

    padding-top: 40px;
    border-radius: 0;
    
}

/* Ensure section headers are consistent */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937; /* Dark Gray */
    margin-bottom: 0.5rem;
}
.section-header p {
    font-size: 1.1rem;
    color: #6b7280; /* Gray */
    max-width: 600px;
    margin: 0 auto;
}

/* Button styling consistency (assuming .btn, .btn-primary, .btn-secondary, .btn-cta, .btn-cta-secondary are defined in main.css) */
/* Adding some general modern touches to feature cards if not already present */
.features-grid .feature-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features-grid .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}
.features-grid .feature-card .feature-icon {
    font-size: 2.5rem; /* Larger icons */
    margin-bottom: 1rem;
    color: #fbbf24; /* Primary Accent - Amber */
}
.features-grid .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.features-grid .feature-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* AI Assistant Section */
.ai-assistant-section {
    background-color: #1e3a8a; /* Dark Blue */
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.ai-assistant-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-assistant-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.ai-assistant-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.ai-assistant-container::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #fbbf24; /* Amber */
    margin: 1.5rem auto 0;
}

.hero {
    padding-top: 40px;
    border-radius: 0;
}

.header {
    margin: 0;
}

.hero-content h1.hero-title {
    border: none;
    border-bottom: 4px solid rgb(255, 188, 3);
}

span::after {
    background: none !important;
}

.ai-assistant-section {
    border-radius: 0;
}

/* Summer Sale Ribbon */
.ribbon {
    font-size: 20pt;
    font-weight: bold;
    color: #fff;
    --f: .6em; /* control the folded part */
    position: absolute;
    top: 17px; /* flush with top edge */
    right: 0; /* flush with right edge */
    line-height: 1.8;
    padding-inline: 1.5lh; /* larger padding for bigger ribbon */
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(
        100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    background-color: #dc2626; /* bright red color */
    z-index: 10;
    text-align: center;
    min-width: 140px; /* ensure minimum width for content */
}

.ribbonAll {
    font-size: 0.8em;
    margin-top: -10px;
}

/* Responsive ribbon styles */
@media (max-width: 768px) {

    .ribbon {
        top: 0;
        right: 1px;
        --f: .5em;
        min-width: 180px;
    }

    .hero {
        padding: 15px !important;
        margin: auto !important;
    }

    .hero-title {

        font-size: 24pt;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .hero-image-container {

        padding: 0 !important;
    }

    .hero-image-container img {
        width: 100% !important;
        max-width: 100% !important;
    }

    img.hero-img {

        width: 100% !important;;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;;
    }

    .hero-description {
        margin-bottom: 15px;
    }

    .hero-cta {

        justify-content: center;
        padding-bottom: 20px;
    }

    .hero-container {

        flex-direction: column-reverse;
    }

    .hero-content {

        padding: 0;
        width: 100% !important;
    }


   
}

@media (max-width: 480px) {
    .ribbon {
        font-size: 13pt;
        --f: .4em;
        min-width: 120px;
    }
}