.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkmark {
    width: 50px;
    height: 50px;
    background-color: #492383;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.checkmark::after {
    content: '✓';
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #1a1a1a;
}

.content-text h2 .highlight {
    font-weight: 700;
}

.content-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .content-text {
        order: -1;
    }
}

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

    .content-text h2 {
        font-size: 28px;
    }

    .teachers-grid {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 30px 20px;
    }

    .content-text h2 {
        font-size: 24px;
    }

    .content-text p {
        font-size: 14px;
    }
}

.earnest-section {
    background-color: #fff;
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    font-weight: 700;
}

.step-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.step-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
    object-fit: cover;
}

.step-content {
    padding: 30px 25px;
    text-align: center;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.step-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-get-started {
    background-color: #492383;
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 40px;
}

.btn-get-started:hover {
    background-color: #ffc700;
}

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

@media (max-width: 991px) {
    .section-title {
        font-size: 30px;
    }

    .step-image {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .earnest-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .step-card {
        margin-bottom: 20px;
    }

    .step-image {
        height: 200px;
    }

    .step-content {
        padding: 25px 20px;
    }

    .btn-get-started {
        margin-top: 30px;
        padding: 12px 35px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 22px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-description {
        font-size: 13px;
    }
}

.choose-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    font-weight: 700;
}

.class-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.class-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
    object-fit: cover;
}

.class-content {
    padding: 35px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.class-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.class-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

@media (max-width: 991px) {
    .section-title {
        font-size: 30px;
    }

    .class-image {
        height: 250px;
    }

    .class-content {
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    .choose-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .class-card {
        margin-bottom: 25px;
    }

    .class-image {
        height: 220px;
    }

    .class-content {
        padding: 30px 25px;
    }

    .class-title {
        font-size: 18px;
    }

    .class-description {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .btn-get-started {
        padding: 11px 30px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 22px;
    }

    .class-image {
        height: 200px;
    }
}

.why-earnest-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    font-weight: 700;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #492383;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .section-title {
        font-size: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .why-earnest-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 22px;
    }

    .feature-card {
        padding: 25px 18px;
    }

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

    .feature-icon svg {
        width: 25px;
        height: 25px;
    }
}

.profile-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 280px;
}

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

.profile-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.profile-subtitle {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

.content-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 30px;
}

.highlight {
    font-weight: 600;
}

.description-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.grid-container {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-section {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: 1fr 1fr 1.2fr;
    }
    
    .profile-card:first-child {
        grid-row: 1 / 3;
    }
    
    .content-section {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}

@media (max-width: 767px) {
    .content-section {
        padding: 25px;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
}