* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fa;
    color: #333333;
    line-height: 1.6;
}

header {
    background-color: #1e5f99;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

header p {
    font-size: 14px;
    color: #dce7f2;
}

nav {
    background-color: #154570;
    padding: 10px 15px;
    text-align: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: #2b7ec1;
}

.container {
    width: 90%;
    max-width: 1050px;
    margin: 25px auto;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInPage 0.5s ease-in;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #1e5f99;
    margin-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
    padding-bottom: 8px;
}

h3 {
    color: #154570;
    margin-top: 15px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 12px;
}

.banner-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.card {
    flex: 1 1 280px;
    background-color: #f9fbfd;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background-color: #1e5f99;
    color: #ffffff;
    padding: 10px 18px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #154570;
}

.btn-reset {
    background-color: #7f8c8d;
    margin-left: 8px;
}

.btn-reset:hover {
    background-color: #636e72;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #cfd9e2;
    padding: 10px 12px;
    text-align: left;
}

table th {
    background-color: #1e5f99;
    color: #ffffff;
}

table tr:nth-child(even) {
    background-color: #f2f6fa;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
}

.inline-options label {
    display: inline-block;
    font-weight: normal;
    margin-right: 15px;
    cursor: pointer;
}

.error-box {
    color: #c0392b;
    background-color: #fdecea;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
}

.success-box {
    color: #1e8449;
    background-color: #eafaf1;
    border: 1px solid #a9dfbf;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 6px;
}

.media-box {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9fbfd;
    border: 1px solid #dce4ec;
    border-radius: 6px;
    text-align: center;
}

video, audio {
    max-width: 100%;
    margin-top: 10px;
}

footer {
    background-color: #154570;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    font-size: 13px;
}
