@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Space+Grotesk:wght@300..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", "Space Grotesk", sans-serif;
}

body {
  margin: 0;
  scroll-behavior: smooth;

  /* Background image settings */
  background: url("background\ image.png") no-repeat center center fixed;
  background-size: cover;
}

/* Section styles */
section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

/* Hero Section */
#hero {
  /* background-image: url("background\ image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center; */
}

#hero h1 {
  font-size: 5rem;
  color: #3a3fcf;
  margin-bottom: 1rem;
  font-weight: 400;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

#hero button {
  background: #3a3fcf;
  color: #88bce3;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#hero button:hover {
  background: #3a3fcf;
}

/* Second Section */
#features {
  display: flex;
  align-items: flex-start; /* top align content */
  justify-content: center;
  flex-direction: row;
  gap: 0rem;
  padding-top: 0rem; /* optional, small spacing from top */
  height: auto; /* let content define height */
  min-height: calc(
    100vh - var(--header-h)
  ); /* still fills viewport minus header */
}

#features .text {
  flex: 1;
  text-align: left;
}

#features h2 {
  font-size: 5.5rem;
  color: #3a3fcf;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 0rem;
  font-weight: 400;
}

#features p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 500px;
}

#features .inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

#features input {
  padding: 0.8rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

#features input[type="file"] {
  border: none;
}

features input[type="text"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#features button {
  background: #3a3fcf;
  color: white;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#features button:hover {
  background: #3a3fcf;
}

#features .image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#features .image img {
  /* width: 80%;
  border-radius: 12px;
  object-fit: cover;
  max-width: 400px; */

  width: 100%; /* expand fully within its container */
  max-width: 550px; /* allow it to be bigger than before (was 400px) */
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 900px) {
  #features {
    flex-direction: column;
    text-align: center;
  }
  #features .text {
    text-align: center;
  }
}

:root {
  --header-h: 90px;
  --brand-start: #4f46e5; /* indigo */
  --brand-end: #60a5fa; /* light blue */
}

body {
  /* padding-top: var(--header-h); */
} /* offset fixed header */
#features {
  scroll-margin-top: var(--header-h);
} /* clean anchor scroll stop */

.site-header {
  position: relative;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-inner {
  /* max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between; */
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left, center, right */
  align-items: center;
}

.brand {
  /* display: inline-flex;
  align-items: center;
  gap: 12px; */
  text-decoration: none;
  grid-column: 2; /* middle column */
  justify-self: center; /* center logo+title together */
  display: inline-flex;
  align-items: center;
  gap: 12px; /* spacing between logo and text */
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain; /* replace with your SVG later */
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem; /* increase size */
  font-weight: 400; /* bolder */
  color: #fff;
}

/* .nav-actions {
  display: inline-flex;
  gap: 18px;
  align-items: center;
} */

.nav-actions {
  grid-column: 3;
  justify-self: end;
}

.nav-link {
  color: #eef4ff;
  text-decoration: none;
  font-weight: 500;
}

.btn-cta {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-cta:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 1.1rem;
  }
  .btn-cta {
    padding: 8px 14px;
  }
}

.inputs-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center; /* center horizontally */
  margin-top: 2rem; /* spacing below text/image */
  width: 100%;
  max-width: 500px;
}

/* Custom File Upload */
.custom-file-upload {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.custom-file-upload input[type="file"] {
  display: none; /* hide default file input */
}

.custom-file-upload label {
  background: #3a3ad9;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.custom-file-upload label:hover {
  background: #2d2db0;
}

/* Display uploaded file */
#fileDisplay {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #f8f8f8;
}

#jobDescription {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical; /* allow resizing if user wants */
  min-height: 150px;
}

/* Submit Button */
#submitBtn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  background: #3a3fcf;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#submitBtn:hover {
  background: #2d2db0 !important;
}
