/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* Navigation */
header {
    background-color: #007bff;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.section-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

/* Content sections */
section {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section h3 {
    color: #007bff;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

/* FAQ */
.faq {
    background-color: #f8f9fa;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    outline: none;
}

.faq-question::before {
    content: "+";
    margin-right: 0.5rem;
    font-weight: bold;
    color: #007bff;
}

.faq-item.open .faq-question::before {
    content: "-";
}

.faq-question:hover,
.faq-question:focus {
    background-color: #e9f5ff;
    color: #007bff;
}

.faq-answer {
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    margin-top: -1px;
    padding: 1rem;
    border-radius: 0 0 6px 6px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.ai-assistance {
    background-color: #e8f4ff;
    padding: 1.75rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #d0e7ff;
}

.ai-assistance input,
.ai-assistance button {
    width: auto;
}

.ai-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #c6e2ff;
    min-height: 3rem;
}

.site-footer {
    background-color: #1e2a38;
    color: #f4f4f4;
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    text-align: left;
}

.footer-widget {
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-widget {
        text-align: center;
    }
}
.footer-widget h4 {
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.footer-widget ul,
.footer-widget p {
    margin-bottom: 0.5rem;
    color: #d0e3ff;
    list-style: none;
    padding-left: 0;
}

.footer-widget ul li {
    margin-bottom: 0.35rem;
}

.footer-widget p {
    margin: 0.2rem 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #364956;
    padding-top: 1rem;
    color: #a8b7c7;
}

.footer-widget ul li a {
    color: #d0e3ff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widget ul li a:hover {
    color: #8ac8ff;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #364956;
    padding-top: 1rem;
    color: #a8b7c7;
}

/* Explore USA specific */
.explore-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.results {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .sections {
        grid-template-columns: 1fr;
    }

    main {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    section {
        padding: 1rem;
    }
}