.tutor-card-home {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.tutor-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tutor-card-home .image-box {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.tutor-card-home .image-box .image {
    margin: 0;
}

.tutor-card-home .image-box .image img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.verified-badge i {
    color: #28a745;
    font-size: 18px;
}

.tutor-card-home .content-box {
    padding: 25px;
    text-align: center;
}

.tutor-card-home .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tutor-card-home .title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.tutor-card-home .title a:hover {
    color: #00C7C4;
}

.tutor-card-home .tutor-subject {
    font-size: 14px;
    color: #00C7C4;
    font-weight: 600;
    margin-bottom: 10px;
}

.tutor-card-home .tutor-education {
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tutor-card-home .tutor-education i {
    color: #00C7C4;
}

.view-profile-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 199, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.view-profile-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-profile-btn:hover::before {
    width: 200px;
    height: 200px;
}

.view-profile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 199, 196, 0.5);
    color: white !important;
}

/* Tutors Grid Responsive */
.tutors-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .tutors-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tutors-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .tutors-grid-home {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Subjects Section Styles */
.subjects-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.subjects-section .sec-title {
    margin-bottom: 60px;
}

.subjects-section .sub-title {
    color: #00C7C4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.subjects-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 15px;
}

.subject-card {
    background: white;
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    height: 100%;
    border: 2px solid transparent;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    transition: height 0.5s ease;
    z-index: 0;
}

.subject-card:hover::before {
    height: 100%;
}

.subject-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 199, 196, 0.25);
    border-color: transparent;
}

.subject-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #e6fffe 0%, #d0f5f4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(0, 199, 196, 0.15);
}

.subject-card:hover .subject-icon {
    background: white;
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.subject-icon i {
    font-size: 42px;
    color: #00C7C4;
    transition: all 0.5s ease;
}

.subject-card:hover .subject-icon i {
    color: #00C7C4;
}

.subject-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.subject-card:hover h4 {
    color: white;
}

.subject-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.subject-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Classes Section Styles */
.classes-section {
    padding: 100px 0;
    background: white;
}

.classes-section .sec-title {
    margin-bottom: 60px;
}

.classes-section .sub-title {
    color: #00C7C4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.classes-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.class-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    border-color: #00C7C4;
}

.class-number {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e6fffe 0%, #d0f5f4 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #00C7C4;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 199, 196, 0.15);
}

.class-card:hover .class-number {
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 199, 196, 0.3);
}

.class-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.class-card .tutor-count {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.class-card .tutor-count i {
    color: #00C7C4;
    font-size: 14px;
}

/* Modern Features Section Styles */
.features-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.features-section .auto-container {
    position: relative;
    z-index: 1;
}

.features-section .sec-title {
    margin-bottom: 60px;
}

.features-section .sub-title {
    color: #00C7C4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.features-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: white;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.7;
}

.bg-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.bg-decoration-1 {
    top: 50%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 199, 196, 0.05) 0%, rgba(0, 168, 166, 0.05) 100%);
}

.bg-decoration-2 {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 199, 196, 0.03) 0%, rgba(0, 168, 166, 0.03) 100%);
}

.modern-feature-card {
    background: white;
    border-radius: 20px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.modern-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.modern-feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #00C7C4;
}

.modern-feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrap {
    margin-bottom: 25px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e6fffe 0%, #d0f5f4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 199, 196, 0.15);
}

.modern-feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 199, 196, 0.3);
}

.feature-icon i {
    font-size: 45px;
    color: #00C7C4;
    transition: all 0.5s ease;
}

.modern-feature-card:hover .feature-icon i {
    color: white;
}

.feature-number {
    font-size: 40px;
    font-weight: 700;
    color: #00C7C4;
    margin-bottom: 18px;
    line-height: 1;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Courses Section Enhancements */
.courses-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.courses-section .sec-title {
    margin-bottom: 60px;
}

.courses-section .sec-title .sub-title {
    color: #00C7C4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.courses-section .sec-title h2 {
    position: relative;
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px auto 0;
    line-height: 1.3;
    text-align: center;
}

.courses-section .sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    border-radius: 2px;
}

.tutors-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.bottom-text {
    text-align: center;
    background: white;
    padding: 35px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto 60px;
    transition: all 0.3s ease;
}

.bottom-text .content {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-text .content > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bottom-text .content strong {
    color: #00C7C4;
    font-size: 36px;
    font-weight: 700;
}

.bottom-text .content span {
    color: #666;
    font-size: 16px;
}

.explore-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 199, 196, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.explore-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.explore-all-btn:hover::before {
    width: 300px;
    height: 300px;
}

.explore-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 199, 196, 0.5);
    color: white;
}

/* Courses Section Responsive Styles */
@media (max-width: 1400px) {
    .courses-section {
        padding: 80px 0 !important;
    }

    .tutors-grid-home {
        gap: 25px !important;
    }
}

@media (max-width: 1200px) {
    .courses-section {
        padding: 70px 0 !important;
    }

    .courses-section .sec-title h2 {
        font-size: 38px !important;
    }

    .tutors-grid-home {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }

    .bottom-text {
        max-width: 800px !important;
        padding: 30px 35px !important;
    }
}

@media (max-width: 992px) {
    .courses-section {
        padding: 60px 0 !important;
    }

    .courses-section .sec-title {
        margin-bottom: 50px !important;
    }

    .courses-section .sec-title h2 {
        font-size: 34px !important;
    }

    .tutors-grid-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
        margin-bottom: 40px !important;
    }

    .bottom-text {
        max-width: 700px !important;
        padding: 28px 30px !important;
    }

    .bottom-text .content {
        gap: 18px !important;
    }

    .bottom-text .content strong {
        font-size: 32px !important;
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 50px 0 !important;
    }

    .courses-section .auto-container {
        padding: 0 20px !important;
    }

    .courses-section .sec-title {
        margin-bottom: 40px !important;
    }

    .courses-section .sec-title .sub-title {
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
    }

    .courses-section .sec-title h2 {
        font-size: 28px !important;
        margin: 12px auto 0 !important;
        line-height: 1.4 !important;
    }

    .courses-section .sec-title h2 br {
        display: none;
    }

    .tutors-grid-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-bottom: 35px !important;
    }

    .tutor-card-home {
        margin-bottom: 20px !important;
    }

    .tutor-card-home .image-box {
        padding: 25px !important;
    }

    .tutor-card-home .image-box .image img {
        width: 100px !important;
        height: 100px !important;
    }

    .tutor-card-home .content-box {
        padding: 20px 15px !important;
    }

    .tutor-card-home .title {
        font-size: 18px !important;
    }

    .tutor-card-home .tutor-subject {
        font-size: 13px !important;
    }

    .tutor-card-home .tutor-education {
        font-size: 12px !important;
    }

    .view-profile-btn {
        padding: 10px 24px !important;
        font-size: 13px !important;
    }

    .bottom-text {
        padding: 25px 20px !important;
        border-radius: 30px !important;
        margin: 0 20px 50px !important;
        max-width: 100% !important;
    }

    .bottom-text .content {
        flex-direction: column !important;
        gap: 20px !important;
        font-size: 16px !important;
    }

    .bottom-text .content > div {
        flex-direction: column;
        text-align: center;
        gap: 5px !important;
    }

    .bottom-text .content strong {
        font-size: 28px !important;
        display: block !important;
        margin-bottom: 5px !important;
    }

    .bottom-text .content span {
        font-size: 14px !important;
    }

    .explore-all-btn {
        width: 100% !important;
        padding: 12px 25px !important;
        font-size: 13px !important;
        letter-spacing: 0.3px !important;
    }
}

@media (max-width: 576px) {
    .courses-section {
        padding: 40px 0 !important;
    }

    .courses-section .auto-container {
        padding: 0 15px !important;
    }

    .courses-section .sec-title {
        margin-bottom: 35px !important;
    }

    .courses-section .sec-title h2 {
        font-size: 24px !important;
    }

    .tutors-grid-home {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    .tutor-card-home {
        margin-bottom: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .bottom-text {
        padding: 20px 18px !important;
        border-radius: 25px !important;
        margin: 0 15px 40px !important;
    }

    .bottom-text .content strong {
        font-size: 24px !important;
    }

    .explore-all-btn {
        padding: 11px 20px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .courses-section {
        padding: 35px 0 !important;
    }

    .courses-section .sec-title h2 {
        font-size: 22px !important;
    }

    .tutor-card-home .image-box {
        padding: 20px !important;
    }

    .tutor-card_home .image-box .image img {
        width: 90px !important;
        height: 90px !important;
    }

    .verified-badge {
        width: 28px !important;
        height: 28px !important;
        top: 12px !important;
        right: 12px !important;
    }

    .verified-badge i {
        font-size: 16px !important;
    }

    .bottom-text {
        padding: 18px 15px !important;
    }

    .bottom-text .content strong {
        font-size: 22px !important;
    }

    .bottom-text .content span {
        font-size: 13px !important;
    }
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.class-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #e6fffe 0%, #d0f5f4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #00C7C4;
    transition: all 0.3s ease;
}

.class-card:hover .class-number {
    background: linear-gradient(135deg, #00C7C4 0%, #00a8a6 100%);
    color: white;
}

.class-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.class-card .tutor-count {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.class-card .tutor-count i {
    color: #00C7C4;
}