/* Certifications Section Styles */
.certifications-section {
    background: transparent;
    padding: 80px 0;
    position: relative;
}

.certifications-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.certifications-section .section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.4);
}

.certifications-section .section-bg .overlay {
    background: linear-gradient(135deg, 
        rgba(15, 140, 255, 0.5) 0%, 
        rgba(48, 0, 212, 0.4) 100%);
}

.certifications-section .container {
    position: relative;
    z-index: 2;
}

.certifications-content {
    margin-top: 40px;
}

.certifications-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.certifications-intro p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 400;
}

/* Timeline Design */
.certifications-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 40px 0;
}

.certifications-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(15, 140, 255, 0.3);
    transition: all 0.3s ease;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon::before {
    transform: scale(1.2);
    opacity: 0.3;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
     box-shadow: 0 12px 35px rgba(15, 140, 255, 0.4);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 0 40px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--white);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--white);
    transform: translateY(-50%);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 140, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Certifications CTA */
.certifications-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.certifications-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

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

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }

    .timeline-icon {
        position: absolute;
        left: -60px;
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .timeline-content {
        margin: 0;
        margin-left: 20px;
    }

    .timeline-content::before {
        display: none;
    }

    .certifications-cta {
        padding: 40px 30px;
    }

    .cta-content h3 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .certifications-cta {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
} 