:root {
    --primary-color: #3273dc;
    --secondary-color: #363636;
}

.hero.is-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #667eea;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 16px;
    width: 2px;
    height: calc(100% - 16px);
    background: #dbdbdb;
}

.timeline-item:last-child:after {
    display: none;
}

.timeline-certificate-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.timeline-certificate-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.academic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.academic-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.academic-meta-item i {
    color: #667eea;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-left: 4px solid #667eea;
    margin-bottom: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.certification-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.certification-badge i {
    color: #667eea;
    font-size: 2rem;
    flex-shrink: 0;
}

.certification-content {
    flex-grow: 1;
}

.certification-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #363636;
    margin-bottom: 5px;
}

.certification-category {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
}

.certification-dates {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.certification-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.certification-status.valid {
    background: #d4edda;
    color: #155724;
}

.certification-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.certification-status.no-expiry {
    background: #d1ecf1;
    color: #0c5460;
}

.stats-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
}

.stats-number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.stats-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.course-category {
    margin-bottom: 3rem;
}

.course-item {
    padding: 10px 15px;
    background: #f9f9f9;
    margin-bottom: 8px;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

/* Carrossel de Cursos */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-item {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 1024px) {
    .carousel-item {
        min-width: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .carousel-item {
        min-width: 100%;
    }
}

.course-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.course-card-header {
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.course-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #363636;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 50px;
}

.course-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta-item i {
    color: #667eea;
}

.course-certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.course-certificate-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.carousel-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover:not(:disabled) {
    background: #5568d3;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #dbdbdb;
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dbdbdb;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background: #667eea;
    width: 30px;
    border-radius: 5px;
}

.category-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #dbdbdb;
    background: white;
    color: #363636;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.carousel-counter {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1rem;
    padding: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    background-color: #363636;
    padding: 3rem 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #667eea;
}

