:root {
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --accent-color: #FFE4B5;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #fff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(' wcsh.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 1rem;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button,
.secondary-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-button:hover {
    background-color: #723A0F;
}

.secondary-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.secondary-button:hover {
    background-color: #C79F6E;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Programs Section */
.programs {
    padding: 5rem 5%;
    background-color: var(--accent-color);
}

.programs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* News & Calendar Section */
.news-calendar {
    padding: 4rem 5%;
    background-color: var(--background-color);
}

.news-calendar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-section,
.calendar-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 500px;
    position: relative;
}

.news-section h2,
.calendar-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    background: #fff;
    padding-bottom: 1rem;
    z-index: 1;
}

/* Scrollable containers */
.news-list,
.calendar {
    height: calc(100% - 4rem);
    overflow-y: auto;
    padding-right: 1rem;
}

/* Custom scrollbar styling */
.news-list::-webkit-scrollbar,
.calendar::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track,
.calendar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb,
.calendar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover,
.calendar::-webkit-scrollbar-thumb:hover {
    background: #723A0F;
}

/* News items styling */
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.news-item p {
    font-size: 0.9rem;
    color: #444;
}

/* Calendar items styling */
.calendar-item {
    display: flex;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.calendar-item:last-child {
    border-bottom: none;
}

.calendar-date {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    min-width: 80px;
    margin-right: 1rem;
    font-weight: bold;
}

.calendar-content {
    flex: 1;
}

.calendar-content h4 {
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.calendar-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Admissions Section */
.admissions {
    padding: 5rem 5%;
    text-align: center;
}

.admissions h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.admissions-content {
    max-width: 800px;
    margin: 0 auto;
}

.admissions-content h3 {
    margin-bottom: 1rem;
}

.admissions-content p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1.5rem 5% 0.5rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 2rem;
    }

    .news-calendar .container {
        grid-template-columns: 1fr;
    }

    .news-section,
    .calendar-section {
        height: 400px;
    }

    .calendar-section {
        margin-top: 2rem;
    }

    .news-list,
    .calendar {
        -webkit-overflow-scrolling: touch;
    }
}