body {
    background: linear-gradient(to right, #000000, #15001a, #00332a);
    background-attachment: fixed;
    min-height: 100vh;
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
}

::selection {
    background: #555555;
    color: #ffffff;
}

.cert-container {
    padding: 120px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #00ffd5;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 213, 0.6), 0 0 20px rgba(0, 255, 213, 0.4);
    animation: slideUp 1s ease-out both;
}

.floating-text {
    display: inline-block;
    animation: floatTitle 3s ease-in-out infinite 1s;
}

@keyframes floatTitle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.page-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 100%;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: justify;
    animation: slideUp 1s ease-out both;
    animation-delay: 0.5s;
}

.highlight {
    color: #00ffd5;
    font-weight: 600;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Certificates List */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
    padding-bottom: 50px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-card.show {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px #00ffd5;
    border-color: #00ffd5;
    background: rgba(0, 255, 213, 0.05);
}

.cert-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #00ffd5;
    margin: 0;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.cert-header .issuer {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 600;
    margin-left: 10px;
}

.cert-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cert-image {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-image img {
    transform: scale(1.05);
}

.cert-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skills-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #d500f9;
    margin-bottom: 10px;
    font-weight: 600;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(213, 0, 249, 0.1);
    color: #e0e0e0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 1px solid rgba(213, 0, 249, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: #d500f9;
    color: #fff;
    box-shadow: 0 0 10px rgba(213, 0, 249, 0.5);
    border-color: #d500f9;
}

.cert-desc {
    font-family: 'Poppins', sans-serif;
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.separator {
    font-size: 1.6rem;
    margin: 0 8px;
    vertical-align: -2px;
    color: #00ffd5;
}

.view-cert-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: transparent;
    color: #00ffd5;
    border: 2px solid #00ffd5;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.view-cert-btn:hover {
    background: #00ffd5;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.4);
    transform: translateY(-2px);
}

.view-cert-btn i {
    margin-left: 8px;
}

.cert-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-date i {
    color: #00ffd5;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .cert-content {
        flex-direction: column;
    }
    
    .cert-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/9;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cert-header h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .cert-header h3 {
        font-size: 1.3rem;
    }
    
    .cert-header .issuer {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.9rem;
    }
}