/* Driver's Education Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Back Button Styles */
.back-button-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.back-button:active {
    transform: translateY(0);
}

.back-button i {
    font-size: 16px;
}

/* Main Content */
.main-content {
    margin-left: 0;
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 80px;
}

/* Hero Section */
.drivers-ed-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 100px 60px;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 80px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.3);
}

.drivers-ed-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.drivers-ed-hero-content .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.course-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.highlight i {
    font-size: 1.2rem;
}

.highlight span {
    font-weight: 600;
    font-size: 1rem;
}

/* Course Overview */
.course-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
    align-items: start;
    padding: 60px 0;
}

.course-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
}

.course-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.feature-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Pricing Card Container */
.pricing-card-container {
    position: sticky;
    top: 100px;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #3498db;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0 5px;
}

.period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #555;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: #27ae60;
    margin-right: 15px;
    font-size: 1rem;
}

.enroll-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.enroll-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

/* Curriculum Section */
.curriculum-section {
    margin-bottom: 100px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 80px;
    padding-right: 80px;
}

.curriculum-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.curriculum-section > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.module {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.module:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.module-header i {
    font-size: 2rem;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.module-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

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

.module li {
    padding: 12px 0;
    color: #666;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.module li:last-child {
    border-bottom: none;
}

.module li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 100px;
    padding: 80px 0;
}

.benefits-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.benefit-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 25px;
    background: rgba(52, 152, 219, 0.1);
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 60px;
    text-align: center;
    margin: 0 -40px 0 -40px;
    border-radius: 30px 30px 0 0;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.cta-btn.primary {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.cta-btn.primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

.guarantee i {
    color: #27ae60;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-overview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .curriculum-modules,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .back-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .back-button i {
        font-size: 14px;
    }
    
    .main-content {
        padding-top: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .drivers-ed-hero {
        padding: 60px 20px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-bottom: 40px;
    }
    
    .drivers-ed-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .course-highlights {
        gap: 20px;
    }
    
    .highlight {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .course-info h2,
    .curriculum-section h2,
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .curriculum-section,
    .cta-section {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .curriculum-modules,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-btn.primary {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}