/* Base Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #4a148c;
    --accent-color: #ff6f00;
    --text-color: #333;
    --light-text: #f5f5f5;
    --background-color: #f5f5f5;
    --container-width: 1200px;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    margin-right: 1rem;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.school-name h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.school-name h2 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    border-top: 1px solid #eee;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 80%;
}

/* Slider Styles */
.slider-section {
    padding: 0;
    background-color: var(--primary-color);
    color: white;
}

.slider {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 2rem;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #00796b, #006064);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #bf360c, #b71c1c);
}

.slide-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    margin: 0 10px;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    margin: 0 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission, .vision {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Collection Section */
.collection-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.collection-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.category {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.category:hover {
    transform: translateY(-10px);
}

.category i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: white;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-item:hover i {
    color: white;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* Activities Section */
.activities-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.activity-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
}

.activity-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.activity-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.activity-details {
    padding: 1.5rem;
    flex: 1;
}

.activity-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.activity-details p:last-child {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Hours Section */
.hours-section {
    padding: 5rem 0;
    background-color: white;
}

.hours-table {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hours-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row div {
    padding: 1rem 1.5rem;
}

.hours-row .day {
    flex: 1;
    font-weight: 600;
    background-color: #f9f9f9;
}

.hours-row .time {
    flex: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #212121;
    color: white;
    padding-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1) invert(0); /* Make logo white in footer */
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.footer-social .social-icons a:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .logo img {
        height: 60px;
        margin: 0 auto;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .stat-item {
        min-width: 120px;
    }

    .activity-item {
        flex-direction: column;
    }

    .activity-date {
        flex-direction: row;
        padding: 0.8rem;
    }

    .activity-date .month {
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 350px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-item {
        align-items: flex-start;
    }
}