/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 60px;
    height: 60px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-text .tagline {
    font-size: 0.9rem;
    color: #e8f4fd;
    font-style: italic;
}

.contact-info {
    text-align: right;
    font-size: 0.9rem;
}

/* Navigation styles */
.nav {
    background-color: #1a365d;
    padding: 0;
    border-top: 3px solid #3182ce;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border-right: 1px solid #2d3748;
}

.nav-menu > li > a:hover {
    background-color: #2d3748;
    color: #63b3ed;
}

.nav-menu li:last-child > a {
    border-right: none;
}

/* Dropdown menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2d3748;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #4a5568;
    transition: background-color 0.3s ease;
}

.dropdown a:hover {
    background-color: #4a5568;
    color: #63b3ed;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #3182ce;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: #3182ce;
}

/* Main content */
.main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* News section */
.news-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.news-list {
    padding: 1.5rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f7fafc;
    transform: translateX(5px);
}

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

.news-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    line-height: 1.4;
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3182ce;
}

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

.news-excerpt {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.widget-header {
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.widget-content {
    padding: 1.5rem;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background-color: #f7fafc;
    color: #3182ce;
    transform: translateX(5px);
}

.quick-links a::before {
    content: '→';
    color: #3182ce;
    font-weight: bold;
}

/* Announcement banner */
.announcement {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.announcement h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.announcement p {
    margin-bottom: 1rem;
}

.announcement .btn {
    background-color: white;
    color: #dd6b20;
    font-weight: 600;
}

.announcement .btn:hover {
    background-color: #f7fafc;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #63b3ed;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
    line-height: 1.6;
}

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

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #63b3ed;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li > a {
        border-right: none;
        border-bottom: 1px solid #2d3748;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .main {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

