/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #1a1a1a;
}

a {
    color: #007aff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Enable correct positioning for mobile dropdown */
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    color: #333;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: #1a1a1a;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons .cta-primary,
.cta-buttons .cta-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    margin: 10px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.cta-primary {
    background-color: #007aff;
    color: #fff;
    border: 1px solid #007aff;
}

.cta-primary:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.cta-secondary {
    background-color: transparent;
    color: #007aff;
    border: 1px solid #007aff;
}

.cta-secondary:hover {
    background-color: rgba(0, 122, 255, 0.1);
    text-decoration: none;
}


/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Simple hiding for small screens, can be replaced with a hamburger menu */
    }

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

    main {
        padding: 1rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 80%;
        margin-bottom: 10px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input[type="file"] {
    padding: 5px;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
}

button[type="submit"].cta-primary {
    background-color: #007aff;
    color: #fff;
    border: none;
    cursor: pointer;
}

button[type="submit"].cta-primary:hover {
    background-color: #0056b3;
}

/* Careers Page */
.job-item {
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
} 

/* Job Listing Cards */
.job-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.job-card .job-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 1rem 0;
}

.job-card a.btn {
    display: inline-block;
    background-color: #007aff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.job-card a.btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    #nav-links.open {
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 1rem 2rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .menu-toggle {
        display: block;
    }
}

/* Job Detail */
.job-detail {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
} 

/* Job Row Style */
.job-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.job-card-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.job-card-row .job-info {
    max-width: 70%;
}
.job-card-row h2 {
    margin: 0 0 0.25rem 0;
}
@media (max-width: 600px) {
    .job-card-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .job-card-row .btn {
        margin-top: 1rem;
    }
}

/* Make anchor rows inherit colors */
.job-card-row {
    text-decoration: none;
    color: inherit;
}

.job-card-row .arrow {
    margin-left: auto;
    font-size: 1.25rem;
    color: #007aff;
    transition: transform 0.2s ease;
}
.job-card-row:hover .arrow {
    transform: translateX(4px);
}

/* About Page */
.about-hero {
    text-align: center;
    padding: 5rem 2rem;
    background: #f0f4ff;
}
.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.about-hero p {
    font-size: 1.25rem;
    color: #555;
}
.about-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.about-container h2 {
    margin-top: 2.5rem;
} 