/* Custom CSS for the Courses Archive Page */

/* Benefits Grid */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 220px;
    max-width: 260px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-bottom: 4px solid var(--secondary-color);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
}

/* Course Filtering */
.course-filters {
    background: #f5f5f5;
    padding: 30px 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.filter-button {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-button:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.filter-button.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Enhanced Course Items */
.course-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.course-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    width: 320px;
    position: relative;
    border-top: 5px solid var(--secondary-color);
}

.course-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* New Course Title Showcase */
.course-title-showcase {
    background: linear-gradient(135deg, var(--secondary-color), #ff7b00);
    color: white;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.course-title-showcase::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.course-item:hover .course-title-showcase::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.course-icon {
    font-size: 36px;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.course-item:hover .course-icon {
    transform: scale(1.2) rotate(10deg);
}

.course-title-showcase h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.course-item:hover .course-title-showcase h3 {
    transform: scale(1.05);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.course-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-details h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
}

.course-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.course-excerpt {
    margin-bottom: 20px;
    color: #555;
    font-size: 15px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.course-price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

/* Pagination */
.courses-pagination {
    text-align: center;
    margin-top: 50px;
}

.courses-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.courses-pagination .page-numbers.current {
    background: var(--secondary-color);
    color: white;
}

.courses-pagination .page-numbers:hover:not(.current) {
    background: #f0f0f0;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://hpgacademy.gr/wp-content/uploads/2025/03/pet-grooming-plusimo-skilou.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.testimonials h2 {
    color: white;
    margin-bottom: 40px;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    flex: 1 1 400px;
    background-color: rgba(255, 255, 255, 0.74);
    padding: 30px;
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 50px;
    color: var(--secondary-color);
    opacity: 0.7;
    position: absolute;
}

.testimonial-quote::before {
    top: -20px;
    left: -15px;
}

.testimonial-quote::after {
    bottom: -40px;
    right: -15px;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author .name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author .position {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .benefits-grid {
        gap: 15px;
    }
    
    .benefit-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .course-items {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial-item {
        flex: 1 1 100%;
    }

    .program-goals
    {
        padding:0px;
    }
}

.training-method {
    
    
    background:var(--secondary-color)!important;
    
}
.training-method h2{
    
    
    color: white;
}
.training-method p{
    color: white;
    font-size: 24px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.17);
    padding: 30px;
    font-weight:normal!important;


}
