/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 50px; /* Ensure navbar doesn't overlap content */
}

/* Navbar Styles */
.navbar {
    background-color: #f8f9fa;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text-title {
    font-size: 1.5rem;
    margin: 0;
}

.logo-subtext {
    font-size: 0.9rem;
    margin: 0;
    color: #6c757d;
}

/* Navbar Links */
.nav-link {
    color: #343a40;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #f0a500;
}

/* Button Primary (Login/Signup Button) */
.btn-primary {
    background-color: #f0a500;
    border-color: #f0a500; /* Update border to match the button color */
    color: white; /* Ensure text color is white for better contrast */
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e09500; /* Slightly darker shade on hover for effect */
}

/* Modal Styles */
.modal-header {
    background-color: #007bff;
    color: white;
}

.modal-title {
    margin: 0;
}

/* Certification Page Styles */
#certification {
    background-color: #ffffff;
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

#certification h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
}

#certification p {
    font-size: 1rem;
    line-height: 1.6;
    color: #343a40;
    text-align: justify;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo {
        width: 40px;
        height: 40px;
    }

    #certification {
        padding: 30px 15px;
    }

    #certification h2 {
        font-size: 1.8rem;
    }

    #certification h3 {
        font-size: 1.3rem;
    }

    #certification p, #certification ul li {
        font-size: 0.95rem;
    }
}
/* Certificate Image Styles */
.certificate-img {
    max-width: 100%; /* Ensure the image scales down properly */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Removes any unwanted inline spacing */
    margin: 20px auto; /* Center the image */
    border: 1px solid #ddd; /* Optional: Add a light border */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow for depth */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .certificate-img {
        max-width: 90%; /* Adjust the width for smaller screens */
        margin: 10px auto; /* Ensure it's still centered */
    }
}
