/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-bg: #222;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --white: #ffffff;
    --light-gray: #eee;
}

* {
    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(--white);
}

/* Top Navigation Bar */
.topbar {
    background-color: var(--dark-bg);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

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

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
}

.logos {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 32px;
    margin-right: 12px;
    order: -1;
}

.trust-logo, .lrcfs-logo {
    height: 35px;
    margin-left: 15px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Welcome Section */
.welcome-section {
    padding: 8rem 5% 3rem;
    text-align: center;
    margin-top: 3rem;
}

.welcome-content h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.welcome-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Intro Section */
.intro-section {
    text-align: center;
    padding: 2rem 5%;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-color);
}

.btn-help {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Features Section */
.features-section {
    padding: 2rem 5% 5rem;
}

.feature-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: default;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card:hover .feature-icon {
    color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-color);
}

/* Help Modal */
.help-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.help-modal-overlay.active {
    display: flex;
}

.help-modal {
    background: var(--white);
    border-radius: 8px;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ddd;
}

.help-modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-modal-header h2 i {
    color: var(--accent-color);
}

.help-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0 0.25rem;
    transition: color 0.2s ease;
}

.help-modal-close:hover {
    color: var(--accent-color);
}

.help-modal-body {
    padding: 2rem;
}

.help-references {
    margin-bottom: 2rem;
}

.help-references h3,
.help-manual h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.help-references .reference {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-color);
}

.help-references .reference a,
.help-manual a {
    color: var(--secondary-color);
    text-decoration: none;
}

.help-references .reference a:hover,
.help-manual a:hover {
    text-decoration: underline;
}

.help-manual a i {
    margin-right: 0.5rem;
}

/* Footer */
.main-footer {
    background-color: var(--light-bg);
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-left p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logos img {
    height: 50px;
}

.copyright {
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
}

.copyright p {
    margin-bottom: 0.5rem;
}

.copyright a {
    color: var(--secondary-color);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        padding: 1rem 5%;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .logos {
        margin-top: 1rem;
    }
    
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .main-footer {
        flex-direction: column;
    }
    
    .footer-left {
        margin-bottom: 2rem;
    }
} 