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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.school-name {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.school-tagline {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: #667eea;
    color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.school-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.info-card h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.info-card h3 {
    color: #764ba2;
    margin: 20px 0 10px 0;
    font-size: 1.3em;
}

.info-card p {
    margin-bottom: 15px;
    color: #555;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.info-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

/* Content Section */
.content-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-section h1 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.content-section h2 {
    color: #764ba2;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Address Section */
.address-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.address-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.address-details {
    font-size: 1.2em;
    text-align: center;
    line-height: 1.8;
}

.address-details p {
    margin: 10px 0;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.contact-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 30px auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Announcements */
.announcement-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.announcement-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.announcement-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.announcement-card h3 {
    color: #764ba2;
    margin-bottom: 10px;
}

.announcement-card small {
    color: #666;
    font-style: italic;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

/* Scrolling Banner */
.scrolling-banner {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 50%, #ff6b6b 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.banner-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    padding: 0 50px;
    font-size: 1.1em;
    font-weight: 500;
}

.banner-item::before {
    content: "★";
    margin-right: 15px;
    font-size: 1.3em;
    color: #ffd700;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scrolling-banner:hover .banner-content {
    animation-play-state: paused;
}

/* Decorative elements */
.emoji {
    font-size: 2em;
    margin-bottom: 15px;
    display: block;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .school-name {
        font-size: 1.8em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        text-align: center;
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}
