/* Online Class Page Styles */

/* Hero Section */
.online-hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
    color: white;
    padding: 60px 0 0 60px;
    position: relative;
    overflow: hidden;
}
.herorow{
    margin:0;
    padding:0;
}

.online-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.online-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color:#fff;
}

.feature-item i {
    font-size: 1.25rem;
    color:#fff;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-cta-buttons .btn-primary {
    background: white;
    color: #1d4ed8;
    border: none;
}

.hero-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.hero-cta-buttons .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta-buttons .btn-outline-primary:hover {
    background: white;
    color: #1d4ed8 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.online-hero-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.online-hero-image img {
    position: relative;
    z-index: 2;
    max-height: 500px;
    width: auto;
    margin: 0 auto;
    display: block;
    align-self: flex-end;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 3;
    border: 2px solid rgba(59, 130, 246, 0.1);
}

.floating-card i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.floating-card h6 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.floating-card small {
    font-size: 0.85rem;
}

.card-1 {
    top: 10%;
    right: 0;
}

.card-1 i {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.card-2 {
    bottom: 30%;
    left: 0;
}

.card-2 i {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.card-3 {
    bottom: 5%;
    right: 10%;
}

.card-3 i {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

/* Why Online Section */
.why-online-section {
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.benefit-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Online Courses Section */
.online-courses-section {
    background: #f8fafc;
}

.online-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.course-header {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.course-badge .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.course-body {
    padding: 2rem;
}

.course-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.course-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.course-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #10b981;
}

.original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-enroll {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
    z-index: 0;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border: 4px solid white;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.5rem;
    font-size: 2.25rem;
    color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: #f8fafc;
}

.faq-item {
    background: white;
    border: none;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.faq-item .accordion-button {
    background: white;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.5rem 2rem;
    border: none;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) i {
    color: white;
}

.faq-item .accordion-button i {
    color: #3b82f6;
    font-size: 1.25rem;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-body {
    padding: 1.5rem 2rem;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    background: #f8fafc;
}

/* CTA Section */
.online-cta-section {
    background: #f8fafc;
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.cta-box .btn-light {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .online-hero-title {
        font-size: 2.25rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .how-it-works-section::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .online-hero-section {
        padding: 70px 0 50px;
    }

    .online-hero-title {
        font-size: 2rem;
    }

    .online-hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .benefit-card,
    .step-card {
        padding: 2rem 1.5rem;
    }

    .course-price-section {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-enroll {
        width: 100%;
    }

    .cta-box {
        padding: 2.5rem 2rem;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-box .btn-light {
        width: 100%;
    }
}
