:root {
    --primary-color: #1a4d2e;
    --secondary-color: #2c7744;
    --accent-color: #a8d5ba;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    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-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.site-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}

.main-nav {
    flex-grow: 1;
    margin: 0 30px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 40px;
    color: var(--accent-color);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

.quote-future {
    padding: 70px 24px;
    background-color: var(--bg-light);
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent-color);
}

.quote-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.quote-box h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.currency-rates {
    padding: 70px 24px;
    background-color: var(--white);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.rate-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.currency-pair {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.rate-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rate-change {
    font-size: 16px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.rate-change.positive {
    color: #059669;
    background-color: #d1fae5;
}

.rate-change.negative {
    color: #dc2626;
    background-color: #fee2e2;
}

.latest-posts {
    padding: 70px 24px;
    background-color: var(--bg-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 26px;
}

.post-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.post-content h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
    gap: 10px;
}

.banking-updates {
    padding: 70px 24px;
    background-color: var(--white);
}

.updates-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.timeline-content h4 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #163d24 100%);
    color: var(--white);
    padding: 60px 24px 30px;
}

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

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 14px;
}

.registration-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 16px;
}

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

.footer-contact li,
.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept-all {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cookie-btn.accept-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-btn.decline {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.cookie-btn.decline:hover {
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav {
        margin: 0;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .rates-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}