/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #003366, #00509e);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* NAVIGATION */
nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ffd166;
}

/* BUTTONS */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.login {
  background: white;
  color: #003366;
}

.login:hover {
  background: #ffd166;
}

.register {
  background: #ff9800;
  color: white;
}

.register:hover {
  background: #ff7a00;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
  url("https://images.unsplash.com/photo-1521791136064-7986c2920216");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  padding: 140px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 400;
}

.hero button {
  background: #ff9800;
  border: none;
  padding: 14px 35px;
  font-size: 16px;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  transform: scale(1.05);
  background: #ff7a00;
}

/* SECTIONS */
section {
  padding: 70px 40px;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #003366;
  font-size: 32px;
  font-weight: 600;
}

/* SERVICES */
.services {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.box {
  background: white;
  padding: 30px;
  flex: 1;
  min-width: 250px;
  border-radius: 12px;
  border: 1px solid #ccd9e6; /* subtle blue-gray border */
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: center;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.box h3 {
  color: #003366;
  margin-bottom: 10px;
  font-weight: 500;
}

/* JOB LIST */
.jobs ul {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  list-style: none;
}

.jobs li {
  padding: 15px;
  border-bottom: 1px solid #ccd9e6; /* updated border color */
  font-size: 16px;
  transition: 0.3s;
}

.jobs li:hover {
  background: #f0f6ff;
  padding-left: 20px;
  border-left: 3px solid #00509e; /* accent line on hover */
}

.jobs li:last-child {
  border-bottom: none;
}

/* CONTACT FORM */
form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin: 12px 0;
  border: 1px solid #ccc; /* softer neutral */
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #00509e;
  box-shadow: 0 0 8px rgba(0, 80, 158, 0.3);
}

textarea {
  height: 120px;
  resize: none;
}

/* APPLY BUTTON */
.apply-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #0077cc, #00c6ff);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.apply-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.6);
}

.apply-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
}

.apply-btn:hover::after {
  animation: shine 0.75s forwards;
}

@keyframes shine {
  100% { left: 125%; }
}

/* FOOTER */
footer {
  background: #002244;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 50px;
  font-size: 14px;
}

/* HERO BUTTON */
.hero-btn {
  background: #ff9800;
  padding: 14px 28px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #ff7a00;
  transform: scale(1.05);
}

/* AUTH PAGES */
.auth-container {
  width: 350px;
  margin: 100px auto;
  background: white;
  padding: 40px;
  border: 1px solid #ccd9e6; /* light blue border */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  text-align: center;
}

.auth-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.auth-container button {
  width: 100%;
  padding: 12px;
}

.auth-container a {
  color: #003366;
  font-weight: bold;
}

/* JOBS SECTION */
.jobs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.job-card {
  flex: 1 1 300px;
  border: 1px solid #ccd9e6;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.jobs-section {
    padding: 50px;
    text-align: center;
}

.job-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.job-card {
    background: white;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.apply-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #004aad;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.apply-btn:hover {
    background: #002f6c;
}
/* FILE INPUT CONTAINER */
input[type="file"] {
    border: 2px dashed #ccc;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: 0.3s;
}

input[type="file"]:hover {
    border-color: #007bff;
    background: #eef5ff;
}

/* STYLE THE BUTTON PART (CHOOSE FILE) */
input[type="file"]::file-selector-button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background: #0056b3;
}

/* SUBMIT BUTTON */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

/* HOVER EFFECT */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* CLICK EFFECT */
button[type="submit"]:active {
    transform: scale(0.98);
}