/* Custom CSS for TechLearn Pro Course Details Page */

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f97316;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --purple-color: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}







/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff05" points="0,300 1000,100 1000,400 0,600"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

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

.course-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    animation: slideInUp 0.8s ease-out;
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 3px solid #fff;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fff; }
}

.course-stats .stat-item {
    animation: fadeInUp 0.8s ease-out;
}

.instructor-avatar {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.instructor-avatar:hover {
    transform: scale(1.1);
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

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

/* Floating Card */
.floating-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: float-card 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
}

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

.course-preview {
    position: relative;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-preview:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.pricing-section {
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
}

.price-display {
    position: relative;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--danger-color);
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #6b7280;
    margin-left: 10px;
}

.discount-badge {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.enroll-btn {
    background: linear-gradient(45deg, var(--danger-color), #dc2626);
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.enroll-btn:hover::before {
    left: 100%;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

/* Course Navigation */
.course-nav-section {
    border-bottom: 1px solid #e5e7eb;
    
}

.course-nav .nav-link {
    color: #6b7280;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.course-nav .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.course-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Learning Outcomes */
.learning-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.learning-item:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 1rem;
}

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

/* Course Description */
.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.description-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.description-content ul {
    margin-left: 1.5rem;
}

.description-content li {
    margin-bottom: 0.5rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-card i {
    font-size: 3rem;
}

.feature-card h5 {
    margin: 1rem 0;
    color: var(--dark-color);
}

/* Curriculum */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: #f8fafc;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

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

.module-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.module-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.lesson-list {
    padding: 1rem 0;
}

.lesson-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.lesson-item:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 1rem;
}

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

.lesson-duration {
    color: #6b7280;
    font-size: 0.9rem;
}

.lesson-type {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Instructor Section */
.instructor-profile {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.instructor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.instructor-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.instructor-stats .stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.instructor-bio h4, .instructor-bio h5 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-summary {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.overall-rating {
    padding: 1rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--warning-color);
    display: block;
}

.stars {
    color: var(--warning-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-breakdown {
    padding: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar span:first-child {
    width: 60px;
    font-size: 0.9rem;
}

.rating-bar .progress {
    flex: 1;
    height: 8px;
    margin: 0 1rem;
    background: #e5e7eb;
}

.rating-bar .progress-bar {
    background: var(--warning-color);
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
}

.review-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.reviewer-info .stars {
    color: var(--warning-color);
    font-size: 1rem;
    margin: 0.25rem 0;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-helpful {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Sidebar */
.course-sidebar {
    position: sticky;
    top: 150px;
}

.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card h5 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.include-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.include-item i {
    width: 20px;
}

.related-course-item {
    display: flex;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.related-course-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.related-course-item img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    margin-right: 1rem;
}

.course-info h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.course-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.course-rating .rating {
    font-weight: bold;
    margin-right: 0.5rem;
    color: var(--warning-color);
}

.course-rating .stars {
    color: var(--warning-color);
    font-size: 0.8rem;
}

.course-price .current-price {
    font-weight: bold;
    color: var(--danger-color);
}

.course-price .original-price {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: #6b7280;
    margin-left: 0.5rem;
}

/* Course Comparison Section */
.comparison-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgb(5, 252, 5);
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.comparison-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.comparison-card.premium {
    border-color: var(--warning-color);
}

.comparison-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
}

.course-duration {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-duration i {
    margin-right: 0.5rem;
}

.comparison-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.course-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.price-section {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
}

.popular-badge, .premium-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.premium-badge {
    background: var(--warning-color);
}

.comparison-body {
    padding: 0 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 0.5rem;
}

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

.benefit-item.disabled {
    opacity: 0.5;
}

.benefit-item.disabled:hover {
    background: transparent;
    padding-left: 0;
}

.benefit-check {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
}

.benefit-cross {
    color: var(--danger-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
}

.comparison-footer {
    padding: 1.5rem 2rem 2rem;
}

.comparison-footer .btn {
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.comparison-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Comparison Table */
.comparison-table {
    font-size: 0.95rem;
}

.comparison-table th {
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.feature-column {
    background: #f8fafc;
    font-weight: 600;
}

.featured-column {
    background: rgba(37, 99, 235, 0.1);
    font-weight: 600;
}

.premium-column {
    background: rgba(245, 158, 11, 0.1);
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.comparison-table .fas.fa-check {
    font-size: 1.1rem;
}

.comparison-table .fas.fa-times {
    font-size: 1.1rem;
}

/* Success Stories */
.success-story-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.success-story-card{
    border: 2px solid var(--success-color);
}


.success-story-card.featured {
    border: 2px solid var(--primary-color);
}

.success-story-card.premium {
    border: 2px solid var(--warning-color);
}

.story-header {
    padding: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
}

.course-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.course-badge.foundation {
    background: linear-gradient(45deg, var(--primary-color), #3b82f6);
}

.course-badge.professional {
    background: linear-gradient(45deg, var(--secondary-color), #8b5cf6);
}

.course-badge.master {
    background: linear-gradient(45deg, var(--warning-color), #f59e0b);
}

.story-content {
    padding: 1.5rem;
    text-align: center;
}

.story-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.story-content h5 {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.story-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-text {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.story-stats span {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
}

.story-stats i {
    margin-right: 0.25rem;
}

/* Responsive Design for Comparison */
@media (max-width: 768px) {
    .comparison-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .comparison-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .price {
        font-size: 2rem !important;
    }
    
    .comparison-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .comparison-body {
        padding: 0 1rem;
    }
    
    .comparison-footer {
        padding: 1rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .price {
        font-size: 1.8rem !important;
    }
    
    .course-duration {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animation for comparison cards */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-card {
    animation: slideInFromBottom 0.6s ease-out;
}

.comparison-card:nth-child(2) {
    animation-delay: 0.2s;
}

.comparison-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* About Section */
.about-section {
    background: white;
}

.company-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.company-stats .stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    z-index: -1;
}

.value-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
}

.value-card h4 {
    color: var(--dark-color);
    margin: 1rem 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #111827 100%);
}

.contact-info {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-info i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info h5 {
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #000;
}

.footer-brand {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Counter Animation */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .typing-animation {
        font-size: 2rem;
        animation: none;
        border-right: none;
        white-space: normal;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .current-price {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .instructor-stats .row {
        text-align: center;
    }
    
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .course-nav {
        flex-wrap: wrap;
    }
    
    .course-nav .nav-link {
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-purple {
    color: var(--purple-color) !important;
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

.border-purple {
    border-color: var(--purple-color) !important;
}

/* Custom Button Styles */
.btn-purple {
    background-color: var(--purple-color);
    border-color: var(--purple-color);
    color: white;
}

.btn-purple:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

.btn-outline-purple {
    color: var(--purple-color);
    border-color: var(--purple-color);
}

.btn-outline-purple:hover {
    background-color: var(--purple-color);
    border-color: var(--purple-color);
    color: white;
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Animations */
.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Progress Bars */
.progress-animated .progress-bar {
    animation: progress-animation 2s ease-in-out;
}

@keyframes progress-animation {
    from { width: 0; }
}

/* Enhanced Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    outline: none;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .course-nav-section,
    .footer {
        display: none !important;
    }
    
    .course-content {
        margin-top: 0 !important;
    }
    
    .sidebar-card {
        break-inside: avoid;
    }
}