/* Basic reset for margins and padding */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f4f4f9;
    line-height: 1.6;
}

header, footer {
    background: linear-gradient(to right, #0078D4, #00BCF2);
    color: white;
    text-align: center;
    padding: 20px 10px;
}

header h1 {
    margin-bottom: 20px;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.introduction p {
    font-size: 18px;
    padding: 20px;
    color: #1b1b1b;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.certification {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.certification h2 {
    font-size: 22px;
    color: #0056b3;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
    margin-bottom: 10px;
}

.certification ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: left; /* left-aligns the items horizontally */
}

.certification li {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px; /* Ensures spacing around each item */
    width: calc(50% - 20px); /* Adjust width to fit two items per row */
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
    align-items: left;
    display: flex;
    flex-direction: column;
}

.certification img {
    width: 140px;
    margin-bottom: 10px;
}

.certification strong {
    font-size: 20px;
    color: #333;
}

.certification p, .certification a {
    font-size: 16px;
    margin-top: 5px;
}

.about-section {
    width: 15%;
    padding: 10px;
    background-color: #2d88d3;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    right: 20px;
    top: 130px;
    /*height: calc(100% - 120px);*/
    height: 380px;
}

.about-section h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 22px;
}

.about-section p {
    font-size: 20px;
    line-height: 1.6;
    color: #fffdfd;
}

.about-section strong {
    font-size: 18px;
    color: #fffefe;
}

.about-section a {
    font-size: 20px;
    color: #f2bb07;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .certification ul {
        flex-direction: column;
    }

    .certification li {
        width: 100%; /* Full width on smaller screens */
    }

    .about-section {
        position: static;
        width: 100%;
        padding: 10px;
        height: auto;
        border-radius: 0;
    }
}
