
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-image: url(./images/cbg.png);
}

h1 {
    text-align: center;
    margin-top: 20px;
    color: #fffcfc;
    font-size: 40px;
}

.container {
    width: 100%;
    margin: 0 auto;
    /* max-width: 800px; */
}
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

input[type="hidden"] {
    display: none;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #ffffff;
    color: black;
}

button.btn-danger {
    background-color: #dc3545;
}

button.btn-danger:hover {
    background-color: #f50018;
}

@media (max-width: 600px) {
    .container {
        width: 95%;
    }

    form {
        padding: 15px;
    }

    input[type="text"],
    textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}

body, h1, h2, table, th, td {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background: #00473E;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

nav {
    margin-top: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    background: #007bff;
    transition: background 0.3s;
}

nav a:hover {
    background: #ffffff;
}

main {
    padding: 1rem;
}

h2 {
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
    font-size: 30px;
}

table {
    width: 100%;
    /* border-collapse: collapse; */
    margin: 1rem 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 0.75rem;
    text-align: center;
}

th {
    background: #007bff;
    color: #fff;
    font-size: 18px;
}

td {
    background: #fff;
}

tr:nth-child(even) {
    background: #f9f9f9;
}


.btn {
    display: inline-block;
    padding: 0.6rem 3rem;
    color: #fff;
    background: #007bff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn:hover {
    background: #ffffff;
    color: #000000;
    cursor: pointer;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.view{
    background-color: #3be23b;
}
.view:hover{
    background-color: rgb(236, 240, 10);
}
.create_course:hover{
    background-color: #2dbd2d;
    color: rgb(0, 0, 0);
}
.create_course{
    margin-top: 30px;
}
.delete:hover{
    background-color: #f50018;
}
.edit_courses{
    color: #000000;
    margin-top: 40px;
    align-items: center;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #000000;
    padding: 40px 20px;
    background-image: url(./images/3\ \(1\).png);
}
.container {
    width: 80%;
    margin: 0 auto;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    text-align: center; 
}

.footer-section {
    flex: 1;
    margin: 0 20px; 
    min-width: 200px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.footer-section p {
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    /* justify-content: center;  */
}

.footer-contact i {
    margin-right: 10px;
    font-size: 18px;
}

.footer-social {
    display: flex;
    justify-content: center; 
    gap: 20px;
}

.social-icon {
    color: #000000;
    font-size: 24px;
    text-decoration: none;
}

.social-icon:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-bottom p {
    margin: 0;
}
