/* Flexible Learning Page Styles */

/* Hero Section */
.flexible-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.flexible-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.flexible-hero .lead {
    font-size: 1.5rem;
    color: #7a0eee;
    margin-bottom: 30px;
}

/* Honor Section */
.honor-section {
    background-color: #f8f9fa;
}

.section-title {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #7a0eee;
    margin-top: 15px;
}

.honor-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.feature-item span {
    font-size: 1.1rem;
}

/* Learning Modes */
.modes-section {
    background-color: white;
}

.mode-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.mode-card:hover {
    transform: translateY(-10px);
}

.mode-banner {
    height: 200px;
    overflow: hidden;
}

.mode-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mode-card:hover .mode-banner img {
    transform: scale(1.1);
}

.mode-body {
    padding: 25px;
    background: white;
}

.mode-body h3 {
    color: #7a0eee;
    margin-bottom: 15px;
}

.mode-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.mode-body ul li {
    margin-bottom: 8px;
    position: relative;
}

.mode-body ul li:before {
    content: "•";
    color: #7a0eee;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #7a0eee;
    margin-bottom: 15px;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-title {
    color: #7a0eee;
    margin-bottom: 20px;
    position: relative;
}

.sidebar-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #7a0eee;
    margin-top: 10px;
}

.testimonial-card {
    background: #7a0eee;
    color: white;
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid white;
}

.testimonial-author h5 {
    margin-bottom: 0;
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Switching Section */
.switching-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.switching-info h3 {
    color: #7a0eee;
    margin-bottom: 20px;
}

.switching-info ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.switching-info ul li {
    margin-bottom: 10px;
    position: relative;
}

.switching-info ul li:before {
    content: "•";
    color: #7a0eee;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7a0eee 0%, #5a0bc0 100%);
}

.cta-section h2 {
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .flexible-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .flexible-hero h1 {
        font-size: 2.2rem;
    }
    
    .flexible-hero .lead {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .switching-info .row > div {
        margin-bottom: 20px;
    }
}