/* Global Typography & Headings */
.section-title::after {
    content: unset;
}
.subheading {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.section-title {
    color: var(--text-color);
    line-height: 1.2;
}

/* --- Certificate Showcase Section --- */
.cert-showcase {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f9f9f9 100%);
    padding: 60px 0;
}

.cert-showcase .section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* --- Alternating Row Layout --- */
.cert-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cert-row.animate {
    opacity: 1;
    transform: translateY(0);
}

.cert-row.reverse {
    flex-direction: row-reverse;
}

.cert-image {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cert-row:hover .cert-image img {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cert-content {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.cert-content .cert-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-content .cert-description {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.cert-highlights li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
}

.cert-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.cert-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
}

.cert-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateX(5px);
}

.cert-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .cert-row, .cert-row.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
    .cert-image, .cert-content {
        flex: none;
        width: 100%;
    }
    .cert-content {
        padding-top: 0;
    }
    .cert-showcase {
        padding: 40px 0;
    }
}


/* --- CTA Section --- */
.cta-section-alt {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path/to/subtle-pattern.png') repeat; /* Optional: Add a subtle texture */
    opacity: 0.1;
}

.cta-section-alt .section-title-white {
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.btn-outline-light-custom {
    color: white;
    border-color: white;
    background-color: transparent;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.btn-outline-light-custom:hover {
    color: var(--primary-color);
    background-color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}