:root {
    --primary-color: #1a2332;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e4e8;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

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

.main-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

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

.site-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
}

.site-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.primary-navigation {
    flex: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.allocation-index-bar {
    background-color: rgba(0,0,0,0.2);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.index-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.index-label {
    color: rgba(255,255,255,0.7);
}

.index-value {
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.welcome-languages {
    background: linear-gradient(90deg, var(--accent-color), #2980b9);
    padding: 1rem 0;
    overflow: hidden;
}

.lang-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--bg-white);
    font-size: 1.1rem;
    animation: slideLanguages 20s linear infinite;
}

.lang-item {
    white-space: nowrap;
    padding: 0 1rem;
}

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

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

.hero-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.hero-inner {
    text-align: center;
}

.hero-heading {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.capital-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.capital-section.alternate {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.section-wrapper {
    width: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.section-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.content-block {
    padding: 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.content-block h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-block h3 i {
    color: var(--accent-color);
}

.content-block p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.section-cta:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-preview {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: #2980b9;
    gap: 0.8rem;
}

.blog-cta-center {
    text-align: center;
    margin-top: 2rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.primary-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.disclaimer-section {
    margin-bottom: 2rem;
}

.disclaimer-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 2rem;
}

.disclaimer-box h3 {
    color: #856404;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.site-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-description,
.footer-publisher,
.footer-regno {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--bg-white);
}

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

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.cookie-text h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.accept-btn {
    background: var(--success-color);
    color: var(--bg-white);
}

.accept-btn:hover {
    background: #229954;
}

.necessary-btn {
    background: var(--warning-color);
    color: var(--bg-white);
}

.necessary-btn:hover {
    background: #e67e22;
}

.decline-btn {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.decline-btn:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list {
        justify-content: flex-start;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .allocation-index-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-heading {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .capital-section {
        padding: 2rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media print {
    .main-header,
    .cookie-banner,
    .site-footer {
        display: none;
    }
}