/* main_page.css */
html, body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.container-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-left: 4px solid #417690;
}

.content-section h2 {
    color: #417690;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.keyword {
    background: #eef7fd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
    border: 1px solid #417690;
}

footer {
    background: #417690;
    color: white;
    padding: 20px 0 10px;
    width: 100%;
    margin-top: auto;
}

.footer-menu {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    overflow-x: auto;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-menu a {
    color: white !important;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    white-space: nowrap;
    min-width: 120px;
}

.footer-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid white;
    color: white !important;
}

.copyright {
    text-align: center;
    padding: 15px 0 0;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        padding: 15px 10px;
    }
    
    .footer-menu a {
        margin: 0 5px;
        font-size: 14px;
        padding: 8px 12px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-menu a {
        flex: 1;
        min-width: 120px;
        margin: 5px;
    }
}