/* Page-Specific Styling for Certification Detailed Page */

/* Additional styling specific to this page */
.certification-container {
    width: 90%;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    color: #333;
}

.certification-details {
    text-align: left;
    margin-top: 20px;
    padding: 0 15px;
}

.certification-details h3 {
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.certification-details p {
    margin: 5px 0;
    color: #555;
}

.description-list ul, .skills-list ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.6;
    text-align: left;
    color: #555;
}

.certification-logo {
    width: 150px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.more-details-link {
    color: #4A90E2;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

/* Adjusting the styling for larger screens */
@media (min-width: 768px) {
    .certification-container {
        width: 80%;
        padding: 25px;
        text-align: left; /* Maintain center alignment for larger screens */
    }

    .certification-details {
        padding: 0 20px; /* Slightly increase padding for larger screens */
    }

    .divider {
        border: none;
        border-top: 2px solid #ddd;
        width: 80%;
        margin: 20px auto;
    }
}

/* Mobile-first styling adjustments */
@media (max-width: 768px) {
    .divider {
        border: none;
        border-top: 2px solid #ddd;
        width: 80%;
        margin: 20px auto;
    }
    
    .more-details-link {
        color: #4A90E2;
        font-weight: bold;
        font-size: 16px;
        text-decoration: none;
    }

    .certification-logo {
        width: 120px; /* Reduce image size for mobile screens */
    }

    .certification-container {
        width: 95%; /* Slightly increase width for smaller mobile view */
    }

    .certification-details {
        text-align: left; /* Center align details on smaller screens for better UX */
    }
}
