:root {
    --bg-color: #E3F1FF;
    --primary-color: #045B91;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --card-bg: #ffffff;
    --border-color: #D3E0F0;
    --header-bg: #fff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.main-header {
    background-color: var(--header-bg);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #1c3d5a;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

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

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

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 16px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1c3d5a;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary {
    color: #1c3d5a;
}

.btn-primary {
    background-color: #1c3d5a;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.9;
}

.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    flex: 1; 
}

.header-title-section {
    margin-bottom: 30px;
    text-align: left;
}

.header-title-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.help-section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.help-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.help-section p {
    color: var(--text-medium);
    margin-bottom: 25px;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-dark);
    box-sizing: border-box;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 20px;
}

.faq-section {
    margin-bottom: 30px;
}

.faq-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    padding: 10px 0;
    transition: color 0.2s;
    border-bottom: 1px dotted var(--border-color);
    display: block;
}

.topic-link.active {
    border-bottom: none; 
    font-weight: 600; 
    color: var(--text-dark);
}

.topic-link:hover {
    color: #034268; 
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-list li {
    margin-bottom: 15px;
}

.faq-question {
    color: var(--text-dark);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.contact-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.contact-card a.button {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--card-bg);
}

.primary-button:hover {
    background-color: #034268;
}

.email-address {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-spacer {
    height: 10px;
}

.main-footer {
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    color: #777;
    font-size: 14px;
    background-color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #19436B;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #F9B253;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px; 
    }
    
    .contact-cards, .faq-grid {
        gap: 15px;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 20px; 
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-wrapper.active {
        transform: translateY(0);
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-buttons {
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
        padding: 0 20px;
    }
    
    .header-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .main-content {
        padding: 30px 20px;
    }

    .faq-section h3 {
        text-align: center; 
    }

    .faq-grid {
        grid-template-columns: 1fr; 
        gap: 30px; 
    }

    .faq-topics {
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .topic-link {
        width: 100%; 
        max-width: 300px; 
    }

    .faq-list {
        text-align: center; 
        padding: 0;
    }

    .faq-list li {
        display: flex;
        justify-content: center;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px; 
    }
    
    .help-section {
        padding: 25px;
    }
    
    .help-section h2 {
        font-size: 20px;
    }
    
    .search-input {
        font-size: 14px;
    }
}