/* Courses Page Styles */

/* Hero Section */
.courses-hero {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%), url('images/new/business-team-corporate-organization-meeting-conce-P2H33ZT-2.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 207, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.courses-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077ff 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-badge i {
    margin-right: 5px;
    color: var(--gold-accent);
}

.courses-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.courses-hero h1 span {
    color: #E53935;
    position: relative;
}

.courses-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-accent) 50%, transparent 100%);
}

.courses-hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.courses-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.courses-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses-stats .stat-value {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.courses-stats .stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* Featured Courses Section */
.featured-courses {
    background-color: var(--dark-bg);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.3);
}

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

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.course-badge.bestseller {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
    color: white;
}

.course-badge.popular {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077ff 100%);
    color: white;
}

.course-badge.elite {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #ffd700 100%);
    color: var(--dark-bg);
}

.course-content {
    padding: 25px;
}

.course-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--gold-accent);
}

.course-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.95em;
    min-height: 60px;
}

.course-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.course-details span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.course-pricing {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

.sale-price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

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

.course-actions .btn {
    flex: 1;
}

/* Course Bundles Section */
.course-bundles {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(10, 10, 20, 0.95) 100%);
    position: relative;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.bundle-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bundle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.3);
}

.bundle-card.featured-bundle {
    border: 1px solid var(--gold-accent);
    background: linear-gradient(135deg, rgba(40, 40, 80, 0.95) 0%, rgba(30, 30, 60, 0.95) 100%);
    transform: scale(1.05);
    z-index: 2;
}

.bundle-card.featured-bundle:hover {
    transform: scale(1.05) translateY(-10px);
}

.bundle-header {
    background: rgba(0, 207, 255, 0.1);
    padding: 20px;
    position: relative;
    text-align: center;
}

.bundle-card.featured-bundle .bundle-header {
    background: rgba(255, 215, 0, 0.1);
}

.bundle-header h3 {
    font-size: 1.6em;
    margin: 0;
    color: white;
}

.bundle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.bundle-card.featured-bundle .bundle-badge {
    background: var(--gold-accent);
    color: var(--dark-bg);
}

.bundle-content {
    padding: 25px;
}

.bundle-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.bundle-courses {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.bundle-courses li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bundle-courses li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-color);
}

.bundle-card.featured-bundle .bundle-courses li::before {
    color: var(--gold-accent);
}

.bundle-pricing {
    margin-bottom: 25px;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.savings {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9em;
    margin: 0;
}

.bundle-card.featured-bundle .savings {
    color: var(--gold-accent);
}

/* Instructor Section */
.instructor-section {
    background-color: var(--card-bg);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.instructor-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.3);
}

.instructor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

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

.instructor-card h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: white;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%), url('images/new/business-people-examining-business-graphs-EYB89TR.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(30, 30, 60, 0.8);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 207, 255, 0.3);
}

.testimonial-quote {
    position: relative;
    padding-top: 20px;
}

.testimonial-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 1.5em;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-quote p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author h4 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.testimonial-author p {
    margin: 5px 0 0;
    color: var(--primary-color);
    font-size: 0.9em;
}

/* FAQ Section */
.faq-section {
    background-color: var(--card-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: rgba(30, 30, 60, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: rgba(0, 207, 255, 0.3);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: white;
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 0.9em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 207, 255, 0.1);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-item.active {
    background: rgba(40, 40, 80, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 207, 255, 0.1) 0%, rgba(0, 119, 255, 0.1) 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 207, 255, 0.05) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.guarantee i {
    color: var(--gold-accent);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Footer Styles */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .courses-hero h1 {
        font-size: 2.8em;
    }
    
    .courses-grid,
    .bundles-grid,
    .instructors-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .bundle-card.featured-bundle {
        transform: scale(1.03);
    }
    
    .bundle-card.featured-bundle:hover {
        transform: scale(1.03) translateY(-10px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .courses-hero h1 {
        font-size: 2.2em;
    }
    
    .courses-hero p {
        font-size: 1em;
    }
    
    .courses-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .course-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8em;
    }
    
    .course-image-container {
        height: 180px;
    }
}
