/* Preschool Teacher Training Styles */

/* Hero Section */
.preschool-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.preschool-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.preschool-hero__content {
    position: relative;
    z-index: 2;
}

.preschool-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.preschool-hero__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 20px;
}

.preschool-hero__description {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0;
}

.preschool-hero__image {
    text-align: center;
    position: relative;
}

.preschool-hero__image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.preschool-hero__image img:hover {
    transform: translateY(-10px);
}

/* Course Detail Section */
.preschool-detail {
    padding: 80px 0;
    background-color: #ffffff;
}

.preschool-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.preschool-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 30px;
    border-radius: 10px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.preschool-section-title::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;
}

.preschool-section-title:hover::before {
    left: 100%;
}

/* Strengths and Highlights Lists */
.strengths-list,
.highlights-list {
    margin-bottom: 30px;
}

.strength-item,
.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.strength-item:hover,
.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #764ba2;
}

.strength-icon,
.highlight-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 20px;
}

.strength-content h4,
.highlight-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.strength-content p,
.highlight-content p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* See More Button */
.see-more-btn {
    text-align: center;
}

.preschool-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preschool-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;
}

.preschool-btn:hover::before {
    left: 100%;
}

.preschool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

/* Additional Info Section */
.preschool-additional-info {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.preschool-additional-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(102, 126, 234, 0.03) 10px,
        rgba(102, 126, 234, 0.03) 20px
    );
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.section-title__line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 30px;
    border-radius: 2px;
}

/* Feature Cards */
.preschool-feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.preschool-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.preschool-feature-card:hover::before {
    transform: scaleX(1);
}

.preschool-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.preschool-feature-card .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.preschool-feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.preschool-feature-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action */
.preschool-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.preschool-cta::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 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.1"/><circle cx="70" cy="30" r="1" fill="white" opacity="0.1"/></svg>');
}

.preschool-cta-content {
    position: relative;
    z-index: 2;
}

.preschool-cta h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.preschool-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.preschool-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.preschool-btn-primary {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #ffffff;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.preschool-btn-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.preschool-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.preschool-btn-secondary:hover {
    background: #ffffff;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .preschool-hero__title {
        font-size: 36px;
    }
    
    .preschool-hero__subtitle {
        font-size: 20px;
    }
    
    .preschool-section-title {
        font-size: 28px;
        padding: 12px 25px;
    }
    
    .preschool-cta {
        padding: 40px 30px;
    }
    
    .preschool-cta h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .preschool-hero {
        padding: 60px 0;
    }
    
    .preschool-hero__title {
        font-size: 28px;
    }
    
    .preschool-hero__subtitle {
        font-size: 18px;
    }
    
    .preschool-detail {
        padding: 60px 0;
    }
    
    .preschool-section-title {
        font-size: 24px;
        padding: 10px 20px;
    }
    
    .strength-item,
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .strength-icon,
    .highlight-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .preschool-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .preschool-btn-primary,
    .preschool-btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .preschool-hero__title {
        font-size: 24px;
    }
    
    .preschool-hero__subtitle {
        font-size: 16px;
    }
    
    .preschool-hero__description {
        font-size: 16px;
    }
    
    .preschool-section-title {
        font-size: 20px;
        padding: 8px 15px;
    }
    
    .preschool-feature-card {
        padding: 25px 15px;
    }
    
    .preschool-cta {
        padding: 30px 20px;
    }
    
    .preschool-cta h3 {
        font-size: 24px;
    }
    
    .preschool-cta p {
        font-size: 16px;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Elements */
.strength-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.strength-item:nth-child(even) {
    animation-delay: 0.2s;
}

.highlight-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.highlight-item:nth-child(even) {
    animation-delay: 0.2s;
}
