/* Global Styles */
:root {
    --primary-color: #0071bc; /* USA Jobs blue */
    --secondary-color: #112e51; /* Dark blue */
    --accent-color: #e31c3d; /* Red for accents */
    --light-color: #f1f1f1;
    --dark-color: #212121;
    --text-color: #323a45;
    --border-color: #ddd;
    --success-color: #2e8540;
    --font-primary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #005ea2;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
    font-weight: 800;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Header Search Box */
.header-search {
    display: flex;
    align-items: center;
}

.header-search form {
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e1e5eb;
    transition: all 0.3s ease;
}

.header-search form:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 113, 188, 0.3);
    border-color: var(--primary-color);
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    width: 200px;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
}

.header-search button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.header-search button:hover {
    background-color: #005ea2;
}

@media (max-width: 992px) {
    .header-search {
        display: none;
    }
}

.user-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    background-color: #1e395b;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.official-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.official-badge i {
    color: #ffffff;
    font-size: 18px;
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.official-badge span {
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.search-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    position: relative;
    flex: 1;
}

.search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-input input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.search-btn {
    background-color: #0275d8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    background-color: #0267be;
}

.job-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 0 30px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Categories Section */
.categories {
    background-color: var(--light-color);
}

.categories h2,
.featured-jobs h2,
.benefits h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

/* Featured Jobs Section */
.featured-jobs {
    background-color: white;
    padding: 70px 0;
}

.featured-jobs h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: var(--secondary-color);
    position: relative;
}

.featured-jobs h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.job-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.agency-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.agency-logo i {
    font-size: 28px;
}

.job-header h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.agency {
    color: #666;
    font-size: 14px;
}

.job-details {
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(241, 245, 249, 0.5);
}

.job-details p {
    margin-right: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.job-details i {
    color: var(--primary-color);
    margin-right: 8px;
}

.job-description {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    min-height: 100px;
}

.job-description p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.job-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.date {
    font-size: 14px;
    color: #777;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

.view-more .btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.job-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.job-detail-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
}

.job-detail-logo i {
    font-size: 36px;
}

.job-detail-title h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.job-detail-agency {
    font-size: 16px;
    color: #666;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(241, 245, 249, 0.8);
    border-radius: 5px;
}

.job-meta-item {
    display: flex;
    align-items: center;
}

.job-meta-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 16px;
}

.job-section {
    margin-bottom: 25px;
}

.job-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: left;
}

.job-section h2:after {
    display: none;
}

.job-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-section ul li {
    margin-bottom: 8px;
}

.job-action {
    text-align: center;
    margin-top: 30px;
}

.job-action .btn {
    padding: 12px 30px;
}

/* Benefits Section */
.benefits {
    background-color: var(--secondary-color);
    color: white;
}

.benefits h2 {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 0;
}

/* Footer Section */
footer {
    background-color: var(--dark-color);
    color: #f9f9f9;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col span {
    color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    text-align: center;
}

.footer-bottom ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav {
        margin: 15px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-actions {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .category-grid,
    .jobs-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom ul {
        justify-content: center;
    }
}

/* Newsletter Section */
.newsletter {
    background-color: var(--light-blue);
    padding: 60px 0;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/us-flag.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
    padding-right: 40px;
}

.newsletter-text h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 28px;
}

.newsletter-text p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

.newsletter-form .form-check {
    display: flex;
    align-items: flex-start;
}

.newsletter-form .form-check input {
    margin-top: 4px;
    margin-right: 10px;
}

.newsletter-form .form-check label {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.4;
}

@media (max-width: 992px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.faq-categories {
    flex: 0 0 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.faq-categories h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-category-list li {
    margin-bottom: 10px;
}

.faq-category-list a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-category-list a:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.faq-category-list a.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-questions {
    flex: 1;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 28px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-blue);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-question {
    background-color: var(--light-blue);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 1000px;
}

.faq-answer p {
    margin-top: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-answer ul, .faq-answer ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-contact {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.faq-contact h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.faq-contact p {
    color: var(--text-color);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .faq-content {
        flex-direction: column;
    }
    
    .faq-categories {
        flex: 0 0 auto;
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .faq-category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .faq-category-list li {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
} 