/* course.css - Global Course Styles */
:root {
    --primary-dark-blue: #1e3a8a;
    --primary-blue: #3b82f6;
    --primary-light-blue: #60a5fa;
    --primary-green: #059669;
    --primary-light-green: #10b981;
    --accent-gold: #a8acab;
    --accent-light-gold: #2fc9ec;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --secondary-gold: #a8d9f0;
}

/* Fixed Course Overview Structure */
.course-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.course-overview-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.course-overview-card.gold::before {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light-gold));
}

.course-overview-card.green::before {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light-green));
}

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

.course-overview-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.course-overview-card.gold .course-overview-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light-gold));
}

.course-overview-card.green .course-overview-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light-green));
}

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

/* New Banner Styles */
.course-banner {
    background: linear-gradient(135deg, var(--primary-dark-blue) 100%, var(--primary-blue) 100%, var(--primary-green) 10%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.course-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity=".1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="300" r="100" fill="url(%23a)"/><circle cx="700" cy="200" r="80" fill="url(%23a)"/><circle cx="600" cy="600" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.brand-highlight {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.banner-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.banner-stat i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.banner-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.banner-stat p {
    margin: 0;
    opacity: 0.9;
}

.banner-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-banner {
        padding: 80px 0 50px;
        margin-top: 70px;
    }
    
    .banner-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .banner-stat {
        padding: 15px;
    }
    
    .banner-stat h3 {
        font-size: 1.5rem;
    }
    
    .banner-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Course Hero Section */
.course-hero {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 50%, var(--primary-green) 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity=".1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="300" r="100" fill="url(%23a)"/><circle cx="700" cy="200" r="80" fill="url(%23a)"/><circle cx="600" cy="600" r="120" fill="url(%23a)"/></svg>');
}

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

/* Course Overview Cards */
.course-overview-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.course-overview-card:hover {
    transform: translateY(-5px);
}

.course-overview-card.gold {
    border-left-color: var(--accent-gold);
}

.course-overview-card.green {
    border-left-color: var(--primary-green);
}

/* Module Styles */
.module-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.module-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.module-icon.reading {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.module-icon.writing {
    background: linear-gradient(135deg, #059669, #047857);
}

.module-icon.listening {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.module-icon.speaking {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Band Score Table */
.band-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.band-table th {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark-blue));
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.band-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.band-table tr:nth-child(even) {
    background: #f8fafc;
}

.band-table tr:hover {
    background: #f1f5f9;
}

/* Preparation Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-green));
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-blue);
}

/* FAQ Styles */


/* Enhanced FAQ Styles */
.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.faq-question {
    background: white;
    padding: 20px;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
    color: var(--primary-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

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

.faq-answer.show {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer ul {
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.faq-answer li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* CTA Section for Courses */
.course-cta {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    margin: 50px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-hero {
        padding: 100px 0 50px;
    }
    
    .module-card {
        padding: 20px;
    }
    
    .band-table {
        font-size: 0.9rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
    
    .timeline-item::before {
        left: -28px;
    }
}

/* Course Specific Badges */
.course-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px;
}

.badge-ielts {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-pte {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.badge-gre {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.badge-duolingo {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.badge-spoken {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}


.footer-social-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.footer-social-icon a i {
    color: white;
    font-size: 18px;
    transition: 0.3s ease;
}

.footer-social-icon a:hover {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
}

.footer-social-icon a:hover i {
    color: white;
}
