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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 1.8em;
    margin: 0 20px;
}

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

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #007BFF, #00c4b4);
    color: white;
    animation: fadeIn 1s ease-in;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-form select {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.search-form select:focus {
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.school-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.school-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.school-card p {
    margin-bottom: 10px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

input, textarea, select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    font-size: 1em;
}

textarea {
    min-height: 100px;
}

#content, #about_us {
    min-height: 400px;
}

.faq h3 {
    font-size: 1.2em;
    margin-top: 20px;
}

.disclaimer {
    margin-top: 30px;
    padding: 15px;
    background-color: #f8d7da;
    border-radius: 5px;
}

.updated-at {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 20px;
}

.success {
    color: #28a745;
    font-weight: 500;
    margin-bottom: 20px;
}

.error {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 20px;
}

footer {
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-about h3, footer nav h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

footer nav ul {
    list-style: none;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

footer nav ul li a:hover {
    color: #ddd;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    header nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2em;
    }
    .footer-content {
        flex-direction: column;
    }
    footer .container {
        grid-template-columns: 1fr;
    }
}