/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}

/* Optional: ensure container doesn't exceed screen width */
.container, .job-form-wrapper {
    max-width: 100%;
}
.head {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

/* Tech background image */
.head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1600")
    no-repeat center center / cover;
  opacity: 0.65;
  z-index: 0;
}

/* Dark + gradient overlay */
.head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 79, 255, 0.4), transparent 45%),
    linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  z-index: 0;
}

/* Glass block */
.head-detail {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  padding: 2rem 2.3rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 60%);
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.head-detail h1 {
  letter-spacing: -0.03em;
}

.head-detail .lead {
  color: #e5e7eb;
  margin-bottom: 0;
}

/* Small badge like contact page */
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #f9fafb;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(15, 23, 42, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-badge span {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, var(--accent));
}



.search-btn {
  padding: 10px;
  background: #3e4042;
  color: white;
  border-radius: 50%;
  cursor: pointer;
}

.search-btn:hover{
  background-color: #beb6b6;
  color: black;
  transition: all 0.7s ease-in-out;
}

/* NavLink */
.navbar-nav .nav-link {
  font-size: small;
  padding: 8px 12px;
}
.navbar-nav li:hover{
color: #4e4e4f;
font-weight: bolder;
}

/* Nav MainBtn */
.main-btn {
  position: relative;
  overflow: hidden;
  background-color: #9d9e9e;
  color: black;
  border: 1px solid black !important;
}
.main-btn:hover{
    border-color: rgb(104, 106, 106);
}
.main-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #c4c6c8;
  transition: width 0.3s ease;
  z-index: 0;
}

.main-btn:hover::before {
  width: 100%;
}

.main-btn .arw {
  position: relative;
  z-index: 1;
  color: black;
}

.main-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.main-btn:hover span {
  color: black;
}
/* ================================
   FIX NAVBAR FOR 1024px & BELOW
   ================================ */
@media (max-width: 1024px) {
  
  /* Reduce logo size */
  .navbar-brand img {
    width: 100px;
  }

  /* Reduce nav link size */
  .navbar-nav .nav-link {
    font-size: 0.90rem;
    padding: 6px 10px;
  }

  /* Reduce quote button */
  .main-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
  }

  /* Reduce search icon */
  .search-btn {
    padding: 8px;
    font-size: 0.85rem;
  }

  /* Reduce navbar height */
  .navbar {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Reduce spacing between elements */
  .navbar .gap-3 {
    gap: 0.7rem !important;
  }
}


@media (max-width: 991px) {
  /* Add spacing when navbar collapses */
  .navbar-nav {
    margin-top: 10px;
    text-align: center;
  }

  .main-btn {
    /* width: 50%; */
    margin: auto;
    margin-bottom: 10px;
  }

  .search-btn {
    display: none !important;
    margin: 10px auto;
  }

  .navbar img:last-child {
    margin: 0 auto;
    display: block;
  }
}





.job-form-wrapper {
        max-width: 750px;
        margin: auto;
        padding: 40px 30px;
        background: #fff;
        border-radius: 10px;
        border: 1px solid #ddd;
    }

    .form-title {
        text-align: center;
        font-size: 26px;
        font-weight: 600;
    }

    .form-subtitle {
        text-align: center;
        font-size: 14px;
        color: #666;
        margin-bottom: 25px;
    }

    .drag-box {
        border: 2px dashed #b4b4b4;
        border-radius: 8px;
        padding: 25px;
        text-align: center;
        cursor: pointer;
        background: #fafafa;
    }

    .drag-box:hover {
        background: #f1f1f1;
    }

    .time-slot-btn {
        width: 100%;
        padding: 10px;
        border: 1px solid #c5c5c5;
        background: white;
        border-radius: 6px;
        margin-bottom: 10px;
        transition: 0.2s;
    }

    .time-slot-btn:hover {
        background: #e7f0ff;
        border-color: #007bff;
    }

    textarea {
        resize: none;
    }

    .apply-btn {
        width: 140px;
        margin: auto;
        padding: 10px;
        border-radius: 6px;
    }
