/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', Calibri, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background-color: #007BFF;
    padding: 10px 0;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .logo a {
    color: #fff;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 20px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.hero {
    background: rgba(0, 0, 0, 0.7); /* Darker background for better contrast */
    color: #fff;
    padding: 100px;
    text-align: center;
    background-image: url('hero-image.jpg'); /* Ensure this image exists or replace it */
    background-size: cover;
    background-position: center;
}

.hero .cta-button {
    background-color: #28a745;
    padding: 15px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
    margin-top: 20px;
    display: inline-block;
}

.features {
    overflow: hidden; /* Clearfix for floated elements */
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.features .feature {
    width: 23%;
    margin-right: 2%;
    margin-bottom: 20px;
    float: left;
    text-align: center;
}

.features .feature:last-child {
    margin-right: 0;
}

.features .feature i {
    font-size: 50px;
    color: #007BFF;
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .social-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

footer .social-links li {
    display: inline;
    margin: 0 10px;
}

footer .social-links li a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 50px 20px; /* Reduce padding for mobile */
    }

    .features .feature {
        width: 100%; /* Full width in mobile view */
        margin-right: 0;
        float: none; /* Reset float for mobile */
    }
}

/* Register Form Styles */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px auto;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}

.errors {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: left;
}

td a {
    color: #007BFF;
    text-decoration: none;
}

/* Pagination styles */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #333;
}

.pagination a.prev, .pagination a.next {
    font-weight: bold;
}

.pagination a:hover {
    background-color: #0056b3;
}

