
/* ========================================
   PURPOSE SECTION STYLES
   ======================================== */

.purpose-section {
    padding: 80px 0;
    background-color: var(--white);
}

.purpose-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.purpose-title {
    font-family: "Forum", sans-serif;
    font-size: 2.5rem;

    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.3;
}

/* ========================================
   TRAINING SECTION STYLES
   ======================================== */

.training-section {
    background-color: var(--white);
    padding: 80px 0rem;
    max-width: 1200px;
    margin: 0 auto;
}

.training-content {
    text-align: center;
    margin-bottom: 60px;
}

.training-title {
    font-family: "Forum", sans-serif;
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

/* ========================================
   TRAINING CARD STYLES
   ======================================== */

.training-card {
    /* background: white; */
    /* border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-graphic {
    position: relative;
    /* height: 280px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 20px;
    overflow: hidden;
}
.shopping-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.shopping-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    font-family: 'Arial', sans-serif;
}

.course-category {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 8px 0;
    font-family: 'Arial', sans-serif;
}

.course-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    font-family: 'Arial', sans-serif;
}

.course-rating {
    display: flex;
    gap: 4px;
    margin-top: auto;
}

.course-rating i {
    color: #ddd;
    font-size: 1rem;
}

.course-rating i.fas {
    color: #ffc107;
}

/* ========================================
   NEWS SECTION STYLES
   ======================================== */

.news-section {
    background-color: var(--white);
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.news-content {
    text-align: center;
    margin-bottom: 60px;
}

.news-title {
    font-family: "Forum", sans-serif;
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    color: var(--secondary-color);
}

.news-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-graphic {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.news-overlay-text h3 {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.news-subtitle {
    font-size: 0.7rem;
    font-weight: normal;
    margin: 5px 0 0 0;
    opacity: 0.9;
    line-height: 1.3;
}

.news-efqm-logo {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    text-align: center;
    z-index: 3;
}

.news-infinity {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.news-efqm-text {
    font-size: 0.6rem;
    font-weight: bold;
    margin-top: 2px;
}


.news-content-card {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    font-family: 'Arial', sans-serif;
}

.news-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.news-read-more {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-read-more:hover {
    background: #44a08d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* ========================================
   SERVICES SECTION STYLES
   ======================================== */

   .services-section {
    background-color: var(--light-color);
    padding: 0;
    margin: 0;
}

.services-content {
    padding: var(--spacing-xl) var(--spacing-xxl);
}

.services-image {
    padding: 0;
}

.section-title {
    font-family: var(--font-title);
    font-weight: var(--font-weight-normal);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    position: relative;
    font-size: 3.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b5a 100%);
    border-radius: var(--border-radius-sm);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.section-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: rgba(254, 58, 42, 0.05);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background-color: rgba(254, 58, 42, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.section-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.section-actions .btn {
    padding: 12px 25px;
    font-weight: var(--font-weight-medium);
    border-radius: 0px;
    transition: all var(--transition-fast);
}

.section-actions .btn-primary {
    background: var(--dark-color);
    border: none;
    color: var(--white);
}

.section-actions .btn-primary:hover {
    background-color: #e03323;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 58, 42, 0.3);
}

.services-image {
    position: relative;
    text-align: center;
}

.section-img {
    width: 100%;
    height: auto;
    /* border-radius: var(--border-radius-lg); */
    /* box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal); */
}

/* .section-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
} */

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .services-content {
        padding: var(--spacing-md) var(--spacing-md);
    }
    
    .services-section .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .services-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .services-section .services-image {
        order: 2;
    }
    
    .services-section .services-content {
        order: 1;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}