/* Certifications page specific styles */
.cert-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px 0;
}

.cert-placeholder {
    color: var(--gold);
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
}

.cert-item {
    background: var(--navy-light);
    border: 1px solid rgba(240, 165, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.cert-title {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cert-issuer {
    color: var(--off-white);
    font-weight: 500;
    margin-bottom: 2px;
}

.cert-date {
    color: var(--off-white);
    opacity: 0.7;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.cert-item p {
    color: var(--off-white);
    line-height: 1.5;
}

.page-title {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--off-white);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Certificate overview section */
.cert-overview {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 20px;
}

.cert-intro {
    color: var(--off-white);
    line-height: 1.6;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* PDF Gallery introduction */
.pdf-gallery-intro {
    max-width: 800px;
    margin: 60px auto 20px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.pdf-intro-title {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    position: relative;
    display: block;
}

.pdf-intro-title::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 3px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.pdf-intro-title:hover::after {
    width: 70%;
}

.pdf-intro-text {
    color: var(--off-white);
    margin-top: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
    opacity: 0.9;
}

/* Additional centering fixes for section titles */
.pdf-section h2.pdf-section-title {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    left: auto;
}

/* Ensure all section titles are centered properly */
h2.pdf-section-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cert-overview,
    .pdf-gallery-intro {
        padding: 0 15px;
    }
    
    .pdf-intro-title {
        font-size: 1.6rem;
    }
}