/* Courses Page Styles */

/* Hero Section */
.courses-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.courses-hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.courses-hero-section .lead {
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Courses Grid */
.courses-section {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Course Card Styles */
.course-card {
    transition: all 0.3s ease;
    background-color: white;
    padding-bottom: 60px;
    position: relative;
    border-radius: 5px !important;
    border: 1px solid #e4e4e4;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.course-card .course-header {
    position: relative;
    padding: 20px 20px;
    padding-bottom: 0;
}

.course-card .course-header h3 {
    font-size: 20px;
}

.course-card .course-header img {
    display: block;
    width: 100%;
    margin-bottom: 25px;
}


@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.course-card .course-body {
    flex-grow: 1;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
}

.course-card .course-body ul li {
    font-size: 0.95rem;
    line-height: 1.6;
}

.course-card .btn {
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    padding: 10px 15px !important;
    width: auto !important;
    font-size: 14px;
}

.course-card .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.course-card:hover .btn {
    transform: scale(1.02);
}

.course-footer {
    padding: 20px 25px 20px;
    display: flex;
    border-top: 1px solid #e4e4e4;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.course-footer .btn {
    flex: 1;
    padding: 0 !important;
    background: transparent;
    border: none;
    color: #000;
}
.course-footer .btn-secondary {
    text-align: left;
}
.course-footer .btn-primary {
    text-align: right;
}
.course-footer .btn-secondary svg {
    margin-right: 8px;
}

.course-footer .btn-primary i {
    margin-left: 8px;
}

.course-footer a:hover {
    color: var(--primary-color) !important;
}


/* Why Choose Section */
.why-courses-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.feature-box {
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-courses-section {
    position: relative;
    overflow: hidden;
}

.cta-courses-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-courses-section .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-courses-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-courses-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Modal Styles */
.modal-header {
    border-bottom: none;
}

.modal-body form .form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.modal-body form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-hero-section h1 {
        font-size: 2rem;
    }

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

    .course-card .course-header {
        padding: 30px 15px;
    }

    .course-card .course-header i {
        font-size: 2.5rem !important;
    }

    .cta-courses-section h2 {
        font-size: 1.8rem;
    }

    .cta-courses-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .courses-hero-section h1 {
        font-size: 1.5rem;
    }

    .courses-hero-section .lead {
        font-size: 1rem;
    }

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

    .course-card .course-body p {
        font-size: 0.9rem;
    }

    .course-card .course-body ul li {
        font-size: 0.85rem;
    }
}

/* Utilities */
.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.pt-120 {
    padding-top: 120px;
}

.pb-120 {
    padding-bottom: 120px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.mb-50 {
    margin-bottom: 50px;
}

.fw-bold {
    font-weight: 700;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* COURSE DETAILS PAGE STYLES */

/* Course Hero Section */
.course-hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

.course-badge {
    display: inline-flex;
    gap: 10px;
}

.course-meta {
    font-size: 1rem;
}

.course-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-hero-content h1 {
    line-height: 1.3;
}

/* Course Overview */
.course-section {
    margin-bottom: 0;
    margin-top: 50px;
}

.course-section h2 {
    font-size: 25px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
}

/* Learning Items */
.learning-item {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.learning-icon i {
    font-size: 20px !important;
}

.learning-item:last-child {
    border-bottom: none;
}

.learning-icon {
    min-width: 20px;
}

.learning-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Curriculum */
.curriculum-item {
    transition: all 0.3s ease;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}

.curriculum-item  > .align-items-center {
    padding: 20px;
    transition: 0.3s all;
    cursor: pointer;
}

.curriculum-item  > .align-items-center:hover {
    background-color: #f9f9f9;
}
/* .curriculum-item:hover {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
} */

.curriculum-item h5 {
    font-weight: normal;
    margin-bottom: 5px;
    font-size: 16px;
}

.curriculum-item > div.module-details {
    padding: 20px;
    padding-top: 0;
}
.curriculum-item > div.module-details h3 {
    font-size: 20px;
    margin-top: 35px;
}
.curriculum-item > div.module-details ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #333;
    display: inline-block;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 15px;
}

.curriculum-item > div.module-details ul {
    list-style: none;
}

.curriculum-item > div.module-details ul li {
    line-height: 32px;
    padding-left: 0;
    position: relative;
    color: #726e6e;
}


/* Instructor Card */
.instructor-card {
    transition: all 0.3s ease;
}



.instructor-info h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 35px;
}

.course-section .instructor-card {
    background: #fff;
    padding: 55px 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #e4e4e4;
}
/* Sidebar Styles */
.course-card-sidebar {
    animation: fadeInRight 0.5s ease-out;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.course-features {
    background-color: #fff;
}

.course-features i {
    color: #000 !important;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-item i {
    margin-right: 10px;
    margin-top: 2px;
}

.feature-item p {
    margin-bottom: 0;
}

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



.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.accordion-button::after {
    filter: invert(0);
}

.accordion-button:not(.collapsed)::after {

}

/* CTA Section */
.cta-final {
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

/* Enrollment Modal */
.enrollment-summary {
    background: white !important;
    border: 1px solid #ddd;
}

/* Course Details Responsive */
@media (max-width: 1200px) {
    .course-card-sidebar {
        position: relative;
        top: auto !important;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2rem;
    }

    .course-section h2 {
        font-size: 1.5rem;
    }

    .course-hero-image {
        margin-top: 30px;
    }

    .course-meta .meta-item {
        font-size: 0.9rem;
    }

    .learning-item {
        padding: 10px 0;
    }

    .price {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .course-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .course-hero h1 {
        font-size: 1.5rem;
    }

    .course-section h2 {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .course-card-sidebar {
        margin-top: 20px;
    }

    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
}
