/* Certificates Format Page Specific Styles - Premium Redesign */

:root {
    --cert-gold: #b8860b;
    --cert-royal: #002366;
    --cert-cream: #fffaf0;
    --cert-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: 50px 0;
}

.inner-banner {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 35, 102, 0.8), rgba(0, 35, 102, 0.8)), url('../images/certificates_banner.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Certificate Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.cert-card {
    background: var(--white);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--cert-shadow);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.02);
    border-color: var(--cert-gold);
}

.cert-preview {
    background: var(--cert-cream);
    aspect-ratio: 1/1.4;
    border: 8px solid #f0e68c;
    border-image: linear-gradient(to bottom right, #b8860b, #ffd700, #b8860b) 1;
    overflow: hidden;
    position: relative;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.cert-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover .cert-preview img {
    transform: scale(1.05);
}

.cert-info {
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cert-gold);
    margin-bottom: 8px;
    display: block;
}

.cert-info h4 {
    color: var(--cert-royal);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Security Features */
.security-block {
    background: var(--cert-royal);
    color: var(--white);
    padding: 80px 0;
    border-radius: 50px;
    margin-top: 80px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--cert-gold);
    border: 2px solid var(--cert-gold);
}

/* Responsive */
@media (max-width: 992px) {
    .cert-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .cert-card { grid-template-columns: 1fr; text-align: center; }
    .cert-preview { margin: 0 auto; width: 150px; }
    .cert-info { padding: 0; }
    .banner-title { font-size: 38px; }
}
