/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Main Section Background */
.main {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to top, rgba(252, 252, 252, 0.75) 50%, rgba(255, 255, 255, 0.7) 50%), url('1.jpg') center/cover no-repeat;
    position: relative;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 75px;
    padding: 0 20px;
    margin: auto;
    background-color: white;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.icon .logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #ffcc00;
}

/* Search */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.srch {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.btn {
    padding: 8px 16px;
    background-color: #ffd700;
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e6c200;
}

/* Hero Section */
.top {
    text-align: center;
    padding: 120px 20px;
    background: url('https://admin.expatica.com/jp/wp-content/uploads/sites/18/2023/11/tokyo-skyline-fuji.jpg') center/cover no-repeat;
    color: white;
}

.top h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.top p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.button {
    background-color: #ffd700;
    color: #002f6c;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.button:hover {
    background-color: #e6c200;
}

/* Sections */
section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    color: #004080;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Card Grids */
.jobs, .eligibility {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Card Styles */
.card {
    background: #eef2f8;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #002f6c;
}

.card p {
    font-size: 0.95rem;
    color: #444;
}

/* Forms */
form {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #005bbb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #003f8c;
}

/* Footer */
footer {
    background-color: #002f6c;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .search-box {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

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

    .top p {
        font-size: 1rem;
    }

    .button {
        font-size: 16px;
        padding: 10px 20px;
    }
}
