body {
    font-family: 'San Francisco', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

main {
    background: url('Background.jpg') center/cover no-repeat;
}

header {
    background-color: #2f455c;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 80px;
    position: relative;
    z-index: 100;
}

.logo-link {
    position: absolute;
    left: 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 53px;
    width: auto;
}

.logo {
    position: absolute;
    left: 40px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}


nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
    border-bottom: 2px solid #3cc47f;
}

.btn-investors {
    background-color: #3cc47f;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    text-transform: none;
    position: absolute;
    right: 40px;
}

.btn-investors:hover {
    background-color: #3cc47f;
    border-bottom: none;
    color: white;
}

/* Hero Section */
.hero {
    background-color: transparent;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 0;
    text-transform: uppercase;
    color: #2c3e50;
    font-family: 'San Francisco', 'Roboto', sans-serif;
}

/* News Section */
.news-section {
    background-color: transparent;
    padding: 40px 20px 80px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-card {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: box-shadow 0.2s ease;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 400;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-family: 'San Francisco', 'Roboto', sans-serif;
}

.article-title-link {
    color: #2c3e50;
    text-decoration: none;
}

.article-title-link:hover {
    color: #2c3e50;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.news-content .article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.read-more {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: underline;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.read-more.disabled {
    color: #9aa3ad;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: underline;
}

.read-more:hover {
    text-decoration: underline;
}

.news-date {
    padding: 15px 30px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.page-num {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
}

.page-num.active {
    font-weight: 600;
    color: #2c3e50;
}

.page-num:hover:not(.active) {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #253545;
    color: white;
    padding: 40px 20px;
    font-size: 14px;
}

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

.footer-links a {
    color: white;
    text-decoration: underline;
    margin: 0 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 16px;
    background-color: #3cc47f;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    text-decoration: none;
    margin: 0 10px 0 0;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a i {
    color: #fff;
    fill: #fff;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .logo {
        position: relative;
        left: 0;
    }
    
    .btn-investors {
        position: relative;
        right: 0;
        margin-top: 15px;
    }
    
    header nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    header nav a {
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .hero-content h1 {
        font-size: 32px;
        letter-spacing: 6px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Loading and empty states for dynamic content */
.loading-state,
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1rem;
}

.loading-state {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
