/* Home Page Specific Styles */

/* Hero Section */
.hero {
    background-color: white;
    padding: 6rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: visible;
    min-height: 80vh;
    display: flex;
    align-items: center;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: -6rem;
    left: 0;
    width: 100%;
    height: calc(100% + 6rem);
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.075) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.075) 1px, transparent 1px);
    background-size: 3rem 3rem;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 80%);
}

.logo img {
    width: auto;
    height: 25px;
    margin-top: 7.5px;
}

/* Mobile logo sizing - override for home page */
@media screen and (max-width: 768px) {

    .past-papers .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .past-papers .past-papers-content{
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .past-papers .image-exam {
        flex: none !important;
        max-width: 90% !important;
        width: 100% !important;
    }
    
    .how-it-works .container {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .image-teacher {
        flex: none !important;
        max-width: 90% !important;
        width: 100% !important;
        order: -1;
    }

    .features{
        width: 100% !important;
    }

    .features .container{
        width: fill !important;
    }
    .features .feature-showcase{
        margin-top: 2rem;
    }

    .features .feature-showcase-item{
        margin-bottom: 3rem !important;
        padding: 1rem 0 !important;
    }

    .logo img {
        height: 25px !important;
        margin-top: 5px;
    }

    .hero .container {
        flex-direction: column-reverse !important;
        margin-top: -1rem !important;
    }

    .hero .announcement-chip {
        font-size: 0.6rem !important;

    }

    .hero .hero-content p{
        font-size: 1.1rem !important;
    }

    .hero .hero-content h1{
        font-size: 2.1  rem !important;
    }


    .hero .btn-container .btn{ 
        font-size: 0.8rem !important;
    }

    .beta-tag {
        font-size: 0.5rem !important;
        padding: 3px 6px !important;
        margin-left: 6px !important;
        margin-top: 2px;
    }

    /* Move logo to right on mobile */
    header .container {
        flex-direction: row !important;
    }

    .logo {
        order: 1;
        justify-content: flex-start !important;
    }

    .mobile-menu-toggle {
        order: 2;

    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 18px !important;
        margin-top: 4px;
    }

    .beta-tag {
        font-size: 0.43rem !important;
        padding: 2px 5px !important;
        margin-left: 5px !important;
        margin-top: 2px;
    }

    .image-teacher,
    .image-exam {
        max-width: 95% !important;
        margin: 0 auto !important;
    }
}

@media screen and (max-width: 320px) {
    .logo img {
        height: 18px !important;
        margin-top: 3px;
    }

    .beta-tag {
        font-size: 0.43rem !important;
        padding: 2px 5px !important;
        margin-left: 4px !important;
        align-items: center;
        margin-top: 7px;
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.beta-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    margin-left: 10px;
    margin-top: 0.5px;
    background-color: rgb(17, 109, 247);
    padding: 3px 6px;
    border-radius: 150px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(87, 89, 92, 0.2);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-image:hover {
    transform: perspective(1000px) rotateX(1deg) rotateY(-2deg) rotateZ(-0.5deg) scale(1.015);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.16),
        0 8px 20px rgba(87, 89, 92, 0.2);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom, #f8f8f8, #ebebeb);
    border-bottom: 1px solid #d5d5d5;
    z-index: 2;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow:
        16px 0 0 #ffbd2e,
        32px 0 0 #28ca42;
    z-index: 3;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.hero-image-fade {
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.h-text-content {
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center;
    color: var(--gray-900);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(34, 34, 34, 0.753);
    text-align: center;
    line-height: 22px;
}

.btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-content .btn {
    margin-right: 0;
    margin-bottom: 1rem;
}

.image-teacher {
    flex: 0 0 450px;
    max-width: 450px;
    aspect-ratio: 4/3;
    background-color: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.image-teacher img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}



.image-exam {
    flex: 0 0 550px;
    max-width: 550px;
    aspect-ratio: 4/3;
    background-color: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.image-exam img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.announcement-chip {
    display: inline-block;
    background-color: white;
    color: var(--gray-800);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    border: 1px solid var(--gray-800);
}

.coming-soon-label {
    background-color: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
}



/* Features Section */
.features {
    background-color: white;
    padding-top: 9rem;
    padding-bottom: 6rem;
    
    border-radius: 25px;
   
}

.features .container{
    margin-top: -60px;
    padding-top: 80px;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.103);
}

.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.feature-tagline {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.feature-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Showcase Layout */
.feature-showcase {
    margin-top: 4rem;
}

.feature-showcase-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.feature-showcase-item.reverse {
    flex-direction: row-reverse;
}

.feature-image-container {
    flex: 1.5;
    max-width: 900px;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.feature-showcase-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1.5rem;
    
}

.feature-image-container{
    width: 100%;
    height: 100%;
}



.feature-showcase-image img {
    width: 100%;
    height: 100%;
    scale: 1.4;
}

.feature-showcase-content {
    flex: 1;
    max-width: 500px;
    padding: 2rem;
}

.feature-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #1a73e8);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.feature-showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-showcase-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.feature-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.feature-link:hover {
    color: #1a73e8;
    border-bottom-color: var(--primary-color);
    transform: translateX(4px);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .feature-showcase-item {
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }
    
    .feature-image-container {
        max-width: 100%;
        width: 100%;
    }
    
    .feature-showcase-content {
        max-width: 100%;
        padding: 1rem;
    }
    
    .feature-showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-showcase-content p {
        font-size: 1rem;
    }
}


.image-placeholder {
    width: 450px;
    height: 350px;
    background-color: var(--gray-200);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-weight: 500;
}

/* Past Papers Section */
.past-papers {
    background-color: #ffffff;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.past-papers-showcase {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.past-papers-image-container {
    max-width: auto;
    width: 100%;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.082);
}

.past-papers-image-container:hover {
    transform: translateY(-8px);
}

.past-papers-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.past-papers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.coming-soon-label {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.past-papers-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 1rem;
    display: inline-block;
}

.past-papers-tagline i {
    margin-right: 6px;
}

.past-papers-content h2 {
    
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.past-papers-content p {
    
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
}



.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7c3aed;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateX(4px);
}

.feature-highlight i {
    color: #10b981;
    font-size: 1rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .past-papers-showcase {
        flex-direction: column;
        gap: 3rem;
    }
    
    .past-papers-image-container {
        max-width: 100%;
        width: 100%;
    }
    
    .past-papers-content {
        max-width: 100%;
        padding: 1rem;
        text-align: center;
    }
    
    .past-papers-content h2 {
        font-size: 2.2rem;
    }
    
    .past-papers-features {
        align-items: center;
    }
}

/* Subject Features Section */
.subject-features {
    padding: 6rem 0;
    background-color: #fafafa;
}

.subject-features-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.subject-features-intro .feature-icon {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #307de7;
    margin-bottom: 1rem;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.subject-features-intro .feature-icon i {
    margin-right: 0.5rem;
    color: #333;
}

.subject-features-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.subject-features-intro p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.subject-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.subject-toggle {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.subject-tab {
    border: none;
    background: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.subject-tab i {
    margin-right: 0.5rem;
}

.subject-tab.active {
    background-color: white;
    color: var(--gray-900);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subject-content-area {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.subject-content {
    display: none;
    width: 100%;
}

.subject-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.subject-detail {
    display: flex;
    align-items: center;
    gap: 6rem;
    justify-content: flex-start;
    margin-top: 10px;
}

.subject-info {
    flex: 1;
    max-width: 400px;
    padding-right: 20px;
}

.subject-info h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.subject-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    text-align: left;
}

.subject-info .coming-soon-label {
    margin-bottom: 1rem;
    display: inline-block;
    width: auto;
}

.subject-image {
    flex: 1;

}

.subject-image .image-placeholder {
    margin-top: 15px;
    height: 500px;
    width: 500px;
    background-color: #f2f2f2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#english-content .subject-image .image-placeholder {
    background-size: 120%;
    background-position: center;
    background-color: white;
}

#english-content .subject-image .image-placeholder img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    object-position: center;
    transform: translate(-1%, 0);
    border-radius: 15px;


}

#math-content .subject-image .image-placeholder {
    background-color: white;
}

#math-content .subject-image .image-placeholder img {
    border-radius: 15px;
    width: auto;
    height: 70%;
    transform: translate(-2%, 0);
}

#health-content .subject-image .image-placeholder {
    background-color: white;
}


.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.learn-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(4px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-subjects {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-style: italic;
}

.more-subjects.show {
    opacity: 1;
    transform: translateY(0);
}

/* Second Feature Section */
.second-feature {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.second-feature-description {
    font-size: 1rem;
    color: var(--gray-600);
}

.second-feature-title {
    font-size: 2.5rem;
    color: var(--gray-900);
}

.second-feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.chip {
    color: rgb(39, 125, 255);
    border-radius: 16px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.image-container {
    margin-top: 80px;
    width: 100%;
    max-width: 950px;
    height: 594px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: none;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.14)) drop-shadow(0 0 16px rgba(102, 126, 234, 0.10));
    will-change: filter;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 10px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) 1;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 250, 0.98));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 16px rgba(102, 126, 234, 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    transition: none;
}

.before-image {
    left: 0;
    z-index: 1;
    width: 50%;
    transition: none;
}

.after-image {
    left: 4px;
    right: auto;
    z-index: 0;
    width: 100%;
    display: block;
    transition: none;
}

.before-image img,
.after-image img {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    width: auto;
    min-width: 100%;
    transform: translateY(-50%);
    transition: none;
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    z-index: 2;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: none;
}

.slider-line {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #2c3e50;
    box-shadow: 0 0 8px rgba(44, 62, 80, 0.4);
}

.slider-button {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.slider-button i {
    font-size: 12px;
    color: var(--primary-color);
}

.slider-button i:first-child {
    margin-right: 6px;
}

.slider-button i:last-child {
    margin-left: 6px;
}

.main-text {
    width: 60%;
    text-align: center;
}

/* Why Choose EduCraft Section */
.why-choose-educraft {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #49a86b;
    margin-bottom: 1rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--gray-900);
    max-width: 700px;
    margin: 0 auto 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Comparison Table */
.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: linear-gradient(135deg, var(--primary-color), #49a86b);
    color: white;
    font-weight: 600;
}

.table-header>div {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-header>div:last-child {
    border-right: none;
}

.feature-column {
    text-align: left;
    font-size: 1.1rem;
    justify-content: flex-start;
}

.column-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.column-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: white;
    padding: 0.5rem;
}

.column-header i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-body {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.table-row {
    display: contents;
}

.table-row>div {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-row:last-child>div {
    border-bottom: none;
}

.feature-name {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--gray-700);
}

.educraft-cell {
    background: rgba(73, 168, 107, 0.05);
    color: #49a86b;
    font-weight: 600;
}

.educraft-cell i {
    font-size: 1.2rem;
}

.competitor-cell {
    color: var(--gray-600);
}

.competitor-cell i {
    font-size: 1.2rem;
    color: #e74c3c;
}

/* Make the check icon in PowerPoint/Google Slides column green for Export to PowerPoint */
.competitor-cell i.fa-check {
    color: #49a86b;
}

.comparison-cta {
    text-align: center;
    margin-top: 3rem;
}

.comparison-cta p {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* Hide mobile comparison cards on desktop */
.mobile-comparison-cards {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Hide the complex table and show mobile-friendly cards instead */
    .comparison-table {
        display: none;
    }
    
    .comparison-table-wrapper::after {
        content: '';
        display: block;
    }
    
    /* Mobile comparison cards */
    .mobile-comparison-cards {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .mobile-comparison-card {
        background: white;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mobile-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid var(--gray-100);
    }
    
    .mobile-card-title {
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--gray-800);
    }
    
    .mobile-card-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-card-logo img {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        background: white;
        padding: 0.25rem;
    }
    
    .mobile-card-logo i {
        font-size: 1.5rem;
        background: var(--gray-100);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray-600);
    }
    
    .mobile-card-logo span {
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--gray-700);
    }
    
    .mobile-comparison-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mobile-feature-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem;
        background: var(--gray-50);
        border-radius: 8px;
        border-left: 3px solid transparent;
    }
    
    .mobile-feature-item.educraft-feature {
        background: rgba(73, 168, 107, 0.05);
        border-left-color: #49a86b;
    }
    
    .mobile-feature-name {
        font-weight: 500;
        color: var(--gray-700);
        font-size: 0.9rem;
    }
    
    .mobile-feature-value {
        display: flex;
        align-items: center;
        font-weight: 600;
    }
    
    .mobile-feature-value i.fa-check {
        color: #49a86b;
        font-size: 1.1rem;
    }
    
    .mobile-feature-value i.fa-times {
        color: #e74c3c;
        font-size: 1.1rem;
    }
    
    .mobile-feature-value.text-value {
        color: var(--gray-800);
        font-size: 0.9rem;
    }
    
    .mobile-feature-value.price-value {
        color: #49a86b;
        font-weight: 700;
    }

    .section-intro h2 {
        font-size: 2rem;
    }
    
    .section-intro p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Science Approach Section */
.science-approach {
    background-color: #f9f9f9;
    padding: 6rem 0;
}

.science-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.science-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.science-intro p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin: 0;
}

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

.science-card {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.science-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.science-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.science-icon i {
    font-size: 1.5rem;
    color: white;
}

.science-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.science-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.science-card li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.trust-badge-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* How It Works Parallax Section */
.how-it-works-parallax {
    padding: 8rem 0;
    background-color: #ffffff;
    position: relative;
    top: 2rem;
    overflow: visible;
}

.parallax-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.parallax-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    font-weight: 700;
}

.parallax-intro p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.scroll-indicator {
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--gray-500);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.parallax-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Add top padding for sticky effect */
}

.parallax-section {
    display: flex;
    position: sticky;
    align-items: center;
    background: white;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 4rem;
    padding: 5rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.parallax-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.02) 0%, rgba(26, 115, 232, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.parallax-section:hover::before {
    opacity: 1;
}

/* Section-specific positioning and sizing */
.section-1 {
    margin: 0 auto 4rem auto;
    z-index: 4;
    flex-direction: row;
    /* Image left, text right */
    position: sticky;
    top: 5rem;
}

.section-2 {
    margin: 0 auto 4rem auto;
    z-index: 5;
    transform: translateX(0);
    flex-direction: row-reverse;
    /* Image right, text left */
    position: sticky;
    top: 6.5rem;
}



.section-3 {
    margin: 0 auto 4rem auto;
    z-index: 6;
    transform: translateX(0);
    flex-direction: row;
    /* Image left, text right */
    position: sticky;
    top: 8rem;

}

.section-4 {
    margin: 0 auto 4rem auto;
    z-index: 7;
    transform: translateX(0);
    flex-direction: row-reverse;
    /* Image right, text left */
    position: sticky;
    top: 9rem;
}

/* Add proper spacing for sections with images on the right */
.section-2 .section-image,
.section-4 .section-image {
    margin-right: 0;
    margin-left: 4rem;
}

.section-image {
    flex: 0 0 400px;
    margin-right: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;

}

.section-image img {
    width: 100%;
    height: auto;
    max-width: 3800px;
    transition: transform 0.3s ease;

}

.parallax-section:hover .section-image img {
    transform: scale(1.05);
}

.section-content {
    flex: 1;
    position: relative;
}

.step-number {
    position: relative;
    top: -1rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), #1a73e8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

/* Step number positioning for alternating layout */
.section-1 .step-number,
.section-3 .step-number {
    left: -1rem;
    /* Left side for sections with text on right */
}

.section-2 .step-number,
.section-4 .step-number {
    right: 0.5rem;
    /* Right side for sections with text on left */
}

.section-content h3 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.section-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(26, 115, 232, 0.15);
    transform: translateY(-2px);
}

.parallax-cta {
    text-align: center;
    margin-top: 4rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
/* Tablet View - 768px and up to 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .parallax-section {
        padding: 3.5rem 2rem;
        margin-bottom: 3rem;
    }

    .section-image {
        flex: 0 0 320px;
        margin-right: 3rem;
    }

    .section-2 .section-image,
    .section-4 .section-image {
        margin-right: 0;
        margin-left: 3rem;
    }

    .section-content h3 {
        font-size: 1.6rem;
    }

    .section-content p {
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .feature-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile and Small Tablet View - below 768px */
@media (max-width: 768px) {
    .parallax-section {
        flex-direction: column !important;
        /* Override alternating layout on mobile */
        text-align: center;
        padding: 2.5rem;
    }

    .section-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .section-2 .section-image,
    .section-4 .section-image {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .section-1,
    .section-2,
    .section-3,
    .section-4 {
        margin: 0 auto 2rem auto;
        transform: none;
    }

    .step-number {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto !important;
        margin: 0 auto 1.5rem;
    }

    .parallax-intro h2 {
        font-size: 2rem;
    }

    .parallax-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .section-content h3 {
        font-size: 1.5rem;
    }

    .parallax-cta {
        flex-direction: column;
        align-items: center;
    }

    /* Hide feature tags on mobile */
    .step-features {
        display: none;
    }
}

/* Entrance animations removed - keeping your sticky effect intact */

/* Enhanced hover effects */
.parallax-section:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(26, 115, 232, 0.4);
}

.parallax-section:hover .feature-tag {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.parallax-section {
    will-change: opacity;
    backface-visibility: hidden;
}

/* Loading state */
.parallax-section:not(.visible) {
    pointer-events: none;
}

/* Enhanced shadows on scroll */
.parallax-section.animate-in {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(26, 115, 232, 0.05);
}

.timeline-step:nth-child(3) {
    transition-delay: 0.4s;
}

.timeline-step:nth-child(4) {
    transition-delay: 0.6s;
}

.timeline-step:nth-child(5) {
    transition-delay: 0.8s;
}

.timeline-end {
    position: relative;
    height: 30px;
    margin-bottom: 3rem;
}

.timeline-end:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--gray-300);
    border-radius: 50%;
}

/* Preview Container Styling */
.floating-previews {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
}

.preview-tooltip {
    position: absolute;
    width: 480px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.preview-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.preview-gif {
    width: 100%;
    height: 280px;
    background-color: var(--gray-100);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-tooltip-content {
    padding: 1rem;
    background-color: white;
    border-top: 1px solid var(--gray-200);
}

.preview-tooltip-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.preview-tooltip-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
}

/* Add a subtle pointer/arrow to the tooltip */
.preview-tooltip:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
    z-index: 1;
}

/* Responsive Design for Home Page */
@media screen and (max-width: 1024px) {

    .how-it-works .container,
    .past-papers .container {
        flex-direction: column;
        text-align: center;
    }

    .win-back-content,
    .past-papers-content {
        max-width: 100%;
    }
    
    .image-teacher,
    .image-exam {
        flex: none;
        max-width: 600px;
        width: calc(100% - 2rem);
        margin: 0 auto;
    }

    .subject-detail {
        flex-direction: column;
        gap: 2rem;
    }

    .subject-info {
        order: 2;
        text-align: center;
    }

    .subject-image {
        order: 1;
        width: 100%;
    }

    .timeline-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Responsive slider adjustments */
    .image-container {
        max-width: 800px;
        height: 500px;
        margin-top: 60px;
    }

    .comparison-slider {
        border-width: 8px;
    }
}

@media screen and (max-width: 900px) {
    .image-teacher,
    .image-exam {
        max-width: 500px;
        width: calc(100% - 1rem);
    }
}

@media screen and (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-image {
        order: -1;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .image-placeholder {
        width: 100%;
        height: 300px;
    }

    .subject-features-intro h1 {
        font-size: 2.2rem;
    }

    /* Mobile-friendly subject tabs - vertical layout */
    .subject-toggle-container {
        margin-bottom: 2rem;
    }

    .subject-toggle {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        background: none;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        max-width: 350px;
        margin: 0 auto;
    }

    .subject-tab {
        background: white;
        border: 2px solid var(--gray-200);
        border-radius: 12px;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--gray-700);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 0;
        text-align: center;
        min-height: 80px;
    }
    
    .subject-tab:hover {
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .subject-tab.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
        transform: translateY(-3px);
    }
    
    .subject-tab i {
        font-size: 1.5rem;
        margin-right: 0;
    }
    
    .more-subjects {
        margin-top: 1rem;
        font-size: 0.85rem;
    }
    
    /* Mobile subject content layout */
    .subject-detail {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }
    
    .subject-info {
        flex: none;
        max-width: 100%;
        padding-right: 0;
        order: 2;
    }
    
    .subject-info h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .subject-info p {
        font-size: 1rem;
        text-align: center;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .subject-image {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .subject-image .image-placeholder {
        width: 280px;
        height: 280px;
        margin: 0;
    }
    
    .learn-more {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        background: var(--primary-color);
        color: white !important;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
    }
    
    .learn-more:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
    }
    
    .learn-more i {
        margin-left: 0.5rem;
    }

    /* Mobile slider adjustments */
    .image-container {
        max-width: 100%;
        height: 400px;
        margin-top: 40px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .comparison-slider {
        border-width: 6px;
    }

    .second-feature-title {
        font-size: 2rem;
    }

    .second-feature-description {
        font-size: 0.9rem;
    }



    .science-intro h2 {
        font-size: 2rem;
    }

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

    .science-card {
        padding: 2rem 1.5rem;
    }

    .timeline-intro h2 {
        font-size: 2.2rem;
    }

    .timeline-line {
        left: 2rem;
        height: calc(100% - 250px);
    }

    .timeline-end:after {
        left: 2rem;
    }

    .timeline-node {
        left: 2rem;
    }

    .timeline-step {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 2rem;
        margin-bottom: 4rem;
    }

    .step-left,
    .step-right {
        justify-content: flex-start;
    }

    .timeline-content {
        width: 100%;
        margin-left: 3rem !important;
        margin-right: 0 !important;
        margin-top: 1rem;
    }

    .node-circle {
        width: 50px;
        height: 50px;
    }

    .node-circle i {
        font-size: 1.2rem;
    }

    .preview-tooltip {
        width: 350px;
    }

    .preview-gif {
        height: 220px;
    }

    .preview-tooltip-content h4 {
        font-size: 1rem;
    }

    .preview-tooltip-content p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 3rem 0;
        min-height: 70vh;
    }

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

    .science-card {
        padding: 1.5rem 1rem;
    }

    .science-icon {
        width: 50px;
        height: 50px;
    }

    .science-icon i {
        font-size: 1.2rem;
    }
    
    /* Small mobile adjustments for subjects section */
    .subject-toggle {
        max-width: 300px;
        gap: 0.5rem;
    }
    
    .subject-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        min-height: 70px;
    }
    
    .subject-tab i {
        font-size: 1.3rem;
    }
    
    .subject-image .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .subject-info h2 {
        font-size: 1.3rem;
    }
    
    .subject-info p {
        font-size: 0.95rem;
    }
    
    /* Small mobile comparison cards */
    .mobile-comparison-card {
        padding: 1.25rem;
    }
    
    .mobile-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .mobile-card-title {
        font-size: 1rem;
    }
    
    .mobile-card-logo span {
        font-size: 0.8rem;
    }
    
    .mobile-feature-item {
        padding: 0.6rem;
    }
    
    .mobile-feature-name {
        font-size: 0.85rem;
    }

    /* Small mobile slider adjustments */
    .image-container {
        height: 300px;
        margin-top: 30px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .comparison-slider {
        border-width: 4px;
    }

    .second-feature-title {
        font-size: 1.8rem;
    }

    .second-feature-description {
        font-size: 0.85rem;
    }

    .slider-button {
        width: 35px;
        height: 35px;
    }

    .slider-button i {
        font-size: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .past-papers-content {
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        max-width: 100%;
        
    }
}

/* Responsive Design for Science Approach Section */
@media screen and (max-width: 768px) {

   

    .subject-detail .subject-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1rem;
        max-width: 100%;
    }
    .science-intro h2 {
        font-size: 2rem;
    }

    .science-grid {
        grid-template-columns: 1fr;
        /* Changed from repeat(2, 1fr) */
        gap: 1.5rem;
    }

    .science-card {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .science-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .science-card {
        padding: 1.5rem 1rem;
    }

    .science-icon {
        width: 50px;
        height: 50px;
    }

    .science-icon i {
        font-size: 1.2rem;
    }
}

/* Teachers Love Section */
.teachers-love {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.teachers-love::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.teachers-intro {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.teachers-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.teachers-intro p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

.teachers-features {
    position: relative;
    z-index: 2;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 3rem;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    opacity: 0.3;
}


.teachers-love .feature-content {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.teachers-love .feature-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    
}

.teachers-features .feature-content .feature-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease !important;
    margin-bottom: 1.3rem !important;
    font-size: unset !important;
    font-weight: unset !important;
    color: unset !important;
}

.teachers-features .feature-content .feature-icon:hover {
    transform: scale(1.05);
}

.teachers-features .feature-content .feature-icon i {
    font-size: 2rem !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    margin-right: 0 !important;
}

.feature-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.8rem;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(73, 168, 107, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Time Saved Visual */
.time-saved {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.time-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Curriculum Badge Visual */
.curriculum-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(73, 168, 107, 0.3);
}

.curriculum-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 600;
}

/* Customization Dots Visual */
.customization-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.customization-dots span {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.customization-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.customization-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.customization-text {
    font-size: 1.2rem;
    color: var(--gray-700);
    font-weight: 600;
}

/* Quality Stars Visual */
.quality-stars {
    margin-bottom: 1rem;
}

.quality-stars i {
    color: #fbbf24;
    font-size: 2rem;
    margin: 0 0.2rem;
    animation: starTwinkle 3s infinite;
}

.quality-stars i:nth-child(2) {
    animation-delay: 0.2s;
}

.quality-stars i:nth-child(3) {
    animation-delay: 0.4s;
}

.quality-stars i:nth-child(4) {
    animation-delay: 0.6s;
}

.quality-stars i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.quality-text {
    font-size: 1.2rem;
    color: var(--gray-700);
    font-weight: 600;
}

/* Responsive Design for Teachers Love Section */
@media screen and (max-width: 1024px) {
    .feature-item {
        gap: 3rem;
    }

    .visual-card {
        padding: 2.5rem 1.5rem;
        min-width: 180px;
    }

    .time-saved {
        font-size: 2.5rem;
    }

    .curriculum-badge {
        font-size: 2rem;
        padding: 0.8rem 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .teachers-love {
        padding: 4rem 0;
    }

    .teachers-intro h2 {
        font-size: 2.2rem;
    }

    .teachers-intro p {
        font-size: 1.1rem;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        text-align: center;
    }

    .feature-item::after {
        display: none;
    }

    .feature-content {
        order: 1;
        padding: 1rem;
    }

    .feature-visual {
        order: 2;
    }

    .visual-card {
        padding: 2rem 1.5rem;
        min-width: 160px;
    }

    .teachers-features .feature-content .feature-icon {
        margin: 0 auto 1.5rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .feature-benefits li {
        text-align: left;
    }
}

@media screen and (max-width: 576px) {
    .teachers-intro h2 {
        font-size: 1.8rem;
    }

    .feature-content h3 {
        font-size: 1.4rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .visual-card {
        padding: 1.5rem 1rem;
        min-width: 140px;
    }

    .time-saved {
        font-size: 2rem;
    }

    .curriculum-badge {
        font-size: 1.8rem;
        padding: 0.6rem 1rem;
    }

    .quality-stars i {
        font-size: 1.5rem;
    }
}