/* ========================================
   CERTIFICATE PAGE
   ======================================== */

/* HERO */
.hero-full {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    padding: 80px 0 50px;
    background: url('images/about/sunset_at_rig.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-full .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.hero-full .hero-slant {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 65%;
    background: rgba(0, 0, 0, 0.82);
    z-index: 2;
    transform: skewX(-12deg);
    transform-origin: top left;
    border-right: 4px solid #00a3ff;
}

.hero-full .hero-content-center {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0;
    padding: 0 20px 0 80px;
    width: 100%;
}

.hero-full .hero-text-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 750px;
    margin: 0;
}

.hero-full .hero-underline {
    width: 6px;
    min-height: 100px;
    background: #00a3ff;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 8px;
}

.hero-full .hero-text {
    text-align: left;
    flex: 1;
}

.hero-full h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-full .hero-sub {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #66ccff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ========================================
   CERTIFICATE HOLDERS
   ======================================== */
.certificate-content {
    padding: 60px 0 80px;
    background: #f9fafc;
}

.cert-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #0a2a43;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 8px 14px;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 200px;
    background: white;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #00a3ff;
    outline: none;
}

.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#certificate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

#certificate-table thead {
    background: #0a2a43;
    color: white;
}

#certificate-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

#certificate-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #eef2f7;
    color: #2d3748;
}

#certificate-table tbody tr:hover {
    background: #f7fafc;
}

/* ========================================
   DOWNLOAD CERTIFICATE
   ======================================== */
.download-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.download-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2a43;
    margin-bottom: 10px;
    border-bottom: 4px solid #00a3ff;
    padding-bottom: 12px;
    display: inline-block;
}

.download-info {
    color: #4a5568;
    margin-bottom: 25px;
    padding: 12px 16px;
    background: #f0f6fe;
    border-radius: 8px;
    border-left: 4px solid #00a3ff;
}

.download-box .form-group {
    margin-bottom: 18px;
}

.download-box .form-group label {
    display: block;
    font-weight: 600;
    color: #0a2a43;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.download-box .form-group input,
.download-box .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

.download-box .form-group input:focus,
.download-box .form-group select:focus {
    border-color: #00a3ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,163,255,0.15);
}

.download-box .btn-primary {
    width: 100%;
    text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-full {
        min-height: 40vh;
        padding: 60px 0 30px;
    }
    .hero-full h1 {
        font-size: 2.5rem;
    }
    .hero-full .hero-sub {
        font-size: 1.5rem;
    }
    .hero-full .hero-content-center {
        padding: 0 20px;
    }
    .hero-full .hero-slant {
        width: 80%;
        transform: skewX(-8deg);
    }
    .hero-full .hero-underline {
        min-height: 70px;
    }

    .cert-filters {
        flex-direction: column;
        gap: 12px;
    }
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group select,
    .filter-group input {
        min-width: 100%;
    }

    #certificate-table th,
    #certificate-table td {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .download-box {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-full h1 {
        font-size: 1.8rem;
    }
    .hero-full .hero-sub {
        font-size: 1.2rem;
    }
    #certificate-table th,
    #certificate-table td {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
}