* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: #8B4513;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.9;
}

.header-top a:hover {
    opacity: 1;
    text-decoration: underline;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 12px;
    color: #666;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px;
    font-size: 14px;
}

.search-box button {
    padding: 10px 20px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background: #A0522D;
}

/* Navigation */
.nav {
    background: #2c3e50;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.nav li a:hover,
.nav li a.active {
    background: #D2691E;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: #fff;
    padding: 60px 0;
}

.hero-content {
    max-width: 700px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #8B4513;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #8B4513;
}

/* Sections */
.section {
    padding: 50px 0;
}

.section-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #D2691E;
}

/* Quick Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.link-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 4px solid #D2691E;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.link-item h4 {
    color: #8B4513;
    margin-bottom: 8px;
}

.link-item p {
    font-size: 13px;
    color: #666;
}

/* Content with Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.main-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* News Items */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-date {
    background: #8B4513;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.news-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.news-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.news-content p {
    font-size: 14px;
    color: #666;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-box h3 {
    color: #8B4513;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D2691E;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.sidebar-box li:last-child {
    border-bottom: none;
}

.sidebar-box a {
    color: #333;
    text-decoration: none;
}

.sidebar-box a:hover {
    color: #D2691E;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.card p {
    font-size: 13px;
    color: #666;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: #fff;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer h4 {
    color: #D2691E;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #3d566e;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    margin: 0 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D2691E;
}

.submit-btn {
    padding: 12px 30px;
    background: #8B4513;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #A0522D;
}

/* Calendar Styles */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.calendar-header {
    background: #8B4513;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.calendar-day {
    background: #fff;
    padding: 10px;
    min-height: 80px;
    border: 1px solid #eee;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #999;
}

.calendar-day .date {
    font-weight: 600;
    margin-bottom: 5px;
}

.calendar-day .event {
    background: #D2691E;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 11px;
    margin-top: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .links-grid,
    .cards-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .links-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
