﻿
/* ============================================
   PFAR Learning Center Section Styles
   ============================================ */

.learning-center-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.learning-center-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.learning-center-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.learning-center-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    overflow: hidden;
}

.learning-center-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.learning-center-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 60s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg);
    }
}

.learning-center-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.learning-center-header .section-title {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.learning-center-header .section-title::before {
    content: '🎓';
    font-size: 42px;
    display: block;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

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

.learning-center-header .section-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.learning-center-header .section-subtitle strong {
    color: #ffc107;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

/* Featured Resource Spotlight */
.featured-resource-spotlight {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(124, 58, 237, 0.4);
}

.featured-resource-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffc107;
    border: 2px solid #ffb300;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    position: relative;
    z-index: 1;
}

.spotlight-badge i {
    color: #000;
    font-size: 14px;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.spotlight-content {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.spotlight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon.mega {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.resource-icon.mega i {
    font-size: 60px;
    color: #ffc107;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.spotlight-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.spotlight-info h3 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.spotlight-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.spotlight-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.spotlight-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 16px;
}

.spotlight-stat i {
    color: #ffc107;
    font-size: 20px;
}

.spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffc107;
    color: #000;
    padding: 16px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.spotlight-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
}

.spotlight-cta i {
    font-size: 18px;
}

/* Learning Paths Grid */
.learning-paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.learning-path-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.beginner-path {
    border-color: #10b981;
}

.beginner-path:hover {
    border-color: #059669;
}

.intermediate-path {
    border-color: #667eea;
}

.intermediate-path:hover {
    border-color: #5568d3;
}

.expert-path {
    border-color: #ffc107;
}

.expert-path:hover {
    border-color: #e0a800;
}

.path-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.path-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beginner-path .path-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.intermediate-path .path-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.expert-path .path-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.path-icon i {
    font-size: 36px;
    color: #fff;
}

.path-header h3 {
    font-size: 24px;
    color: #1e293b;
    margin: 0 0 8px;
}

.path-level {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.path-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.path-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.path-topics li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: #475569;
}

.path-topics i {
    color: #10b981;
    margin-top: 4px;
    flex-shrink: 0;
}

.intermediate-path .path-topics i {
    color: #667eea;
}

.expert-path .path-topics i {
    color: #ffc107;
}

.path-cta {
    text-align: center;
}

.path-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.beginner-path .path-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.intermediate-path .path-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.expert-path .path-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
}

.path-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Quick Resources Grid */
.quick-resources-section {
    margin-bottom: 60px;
}

.quick-resources-title {
    text-align: center;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quick-resources-title i {
    color: #ffc107;
}

.quick-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.resource-card .resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.resource-card .resource-icon i {
    font-size: 28px;
    color: #fff;
}

.resource-card h4 {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 8px;
}

.resource-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 15px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #5568d3;
    gap: 10px;
}

/* Success Stories Carousel */
.learning-success-stories {
    margin-bottom: 60px;
}

.success-stories-title {
    text-align: center;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.success-stories-title i {
    color: #ffc107;
}

.success-stories-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.success-story-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
}

.story-quote {
    position: relative;
    margin-bottom: 20px;
}

.story-quote i {
    color: #667eea;
    font-size: 24px;
    opacity: 0.3;
    margin-bottom: 10px;
}

.story-quote p {
    color: #475569;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    color: #1e293b;
    font-size: 16px;
}

.author-details span {
    color: #64748b;
    font-size: 14px;
}

.story-results {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.result-stat {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #667eea;
}

.result-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

/* Learning Center CTA */
.learning-center-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.learning-center-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content-wrapper {
    position: relative;
    z-index: 1;
}

.cta-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon-large i {
    font-size: 48px;
    color: #fff;
}

.learning-center-cta h3 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 15px;
}

.learning-center-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.cta-stat i {
    color: #ffc107;
    font-size: 20px;
}

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

.learning-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.learning-cta-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.learning-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.learning-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.learning-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.cta-guarantee i {
    color: #10b981;
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.events-title {
    text-align: center;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.events-title i {
    color: #667eea;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.event-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 15px;
    min-width: 70px;
    color: #fff;
}

.event-day {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 5px 0;
}

.event-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 8px;
}

.event-details p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 13px;
}

.event-meta i {
    color: #667eea;
}

.event-register {
    align-self: center;
    padding: 8px 16px;
    background: #667eea;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.event-register:hover {
    background: #5568d3;
    transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .learning-center-header {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .learning-center-header .section-title {
        font-size: 36px;
    }
    
    .learning-center-header .section-title::before {
        font-size: 32px;
    }
    
    .learning-center-header .section-subtitle {
        font-size: 17px;
    }
    
    .learning-center-header .section-badge {
        font-size: 16px;
        padding: 12px 28px;
        gap: 8px;
    }
    
    .spotlight-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .resource-icon.mega {
        width: 100px;
        height: 100px;
    }
    
    .resource-icon.mega i {
        font-size: 48px;
    }
    
    .spotlight-info h3 {
        font-size: 24px;
    }
    
    .spotlight-description {
        font-size: 16px;
    }
    
    .spotlight-stats {
        justify-content: center;
    }
    
    .learning-paths-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .success-stories-carousel {
        grid-template-columns: 1fr;
    }
    
    .cta-stats-row {
        gap: 20px;
    }
    
    .cta-buttons-wrapper {
        flex-direction: column;
    }
    
    .learning-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .learning-center-section {
        padding: 40px 0;
    }
    
    .featured-resource-spotlight {
        padding: 30px 20px;
    }
    
    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .spotlight-info {
        align-items: center;
    }
    
    .resource-icon.mega {
        width: 100px;
        height: 100px;
    }
    
    .resource-icon.mega i {
        font-size: 50px;
    }
    
    .spotlight-info h3 {
        font-size: 28px;
    }
    
    .spotlight-description {
        font-size: 16px;
    }
    
    .spotlight-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .spotlight-cta {
        width: 100%;
        justify-content: center;
        align-self: center;
    }
    
    .spotlight-info h3 {
        font-size: 20px;
    }
    
    .learning-center-cta {
        padding: 30px 20px;
    }
    
    .learning-center-header .section-badge {
        font-size: 15px;
        padding: 11px 24px;
        gap: 7px;
    }
    
    .learning-center-header .section-title {
        font-size: 28px;
    }
    
    .learning-center-header .section-subtitle {
        font-size: 16px;
    }
    
    .learning-center-cta h3 {
        font-size: 24px;
    }
    
    .upcoming-events-section {
        padding: 25px 20px;
    }
}
