body {
margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc !important;
  color: #111 !important;
}

/* HERO */
.hero {
  color: #0049af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  background: #f1f5f9;
  margin: 20px 40px;
  border-radius: 20px;
  flex-wrap: wrap;
}

select.form-control {
  height: 45px !important;
  padding: 10px !important;
  font-size: 14px !important;
  color: #000 !important;
  background-color: #fff !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent !important;
    border: none;
}

input, textarea {
  color: #111 !important;
  background: #fff !important;
}

input::placeholder, textarea::placeholder {
  color: #6b7280 !important;
}
#file-name {
  color: #6b7280 !important;
}
.hero-img {
  flex: 1;
  text-align: center;
  margin-top: 20px;
}
input::placeholder, textarea::placeholder {
  font-size: 14px !important;
}
.hero-img img {
  max-width: 100%;
  height: auto;
}

.hero-text{
  color:black;
}

.hero-text h2 {
  font-size: 40px;
}

.hero-text span {
  color: #0049af;
}

/* SEARCH */
.search-box {
  position: relative;
  overflow: visible !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;   /* IMPORTANT */
  gap: 10px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);

}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.leading-relaxed {
  padding-top:20px !important;
}
@media (max-width: 768px) {

   .search-item{
      padding: 12px 14px; 
    }
    
    .search-box input {
       font-size: 16px !important;
        height: 45px;         /* height fix */
        line-height: 45px;
    }

    .search-box input::placeholder {
         font-size: 15px !important;
        color: #9ca3af; 
    }

    .search-box select {
    padding: 10px 12px;   /* top-bottom + left-right gap */   
  }

  .category-text {
        font-size: 15px;
        padding: 10px 5px !important;
    }
}

.search-item span {
    font-size: 18px;   /* icon thoda bada */
    margin-right: 8px;
}

@media (max-width: 600px) {
  .divider {
    display: none;
  }

  @media (max-width: 480px) {
  .search-box {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .search-box {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    gap: 10px;
  }

  .search-item {
    width: 100%;
    flex: 1 1 100%;
  }

  
  .divider {
    display: none;
  }

  .search-box button {
    width: 100%;
  }
}

  .search-item {
   position: relative;
  flex: 1;
  }

  .search-item [x-show] {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99999;
  width: 100%;
}
.category-dropdown {
  position: absolute;
  top: 100%;        /* 👈 arrow ke neeche */
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 6px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-height: 250px;
  overflow-y: auto;
}


  .search-item .absolute {
  z-index: 9999;
}

  .search-box button {
   flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 50px;
  overflow: visible;
  position: relative;
  white-space: nowrap;

  }
}

.search-item {
    display: flex;
    align-items: center;
   padding: 5px 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
    flex: 1;
  min-width: 0; 
}
.search-item:hover {
    background-color: rgba(243, 244, 246, 1); /* Light gray hover */
}

#welcomePopup > div {
    width: 90%;
    max-width: 400px;
    padding: 20px;
}

@media (max-width: 480px) {
    #welcomePopup > div {
        width: 92%;
        padding: 18px;
    }

    #welcomePopup h3 {
        font-size: 22px !important;
    }

    #welcomePopup p {
        font-size: 14px !important;
    }

    #welcomePopup img {
        height: 60px !important;
    }
}

.search-item input,
.search-item select {
  letter-spacing: 0.3px;
  color: #111;
  font-size: 14px;
  min-width: 0;
  width: 100%;
  background: transparent;
}

.search-item input:focus,
.search-item select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  border-radius: 6px;
}

.divider {
  width: 1px;
    height: 30px;
    background-color: #e5e7eb;
    margin: 0 10px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

.search-box button {
  padding: 12px 25px;
  background: #0049af;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

/* SECTION BASE */
.section {
  width: 92%;
  margin: 40px auto;
  padding: 50px 0;
  background: #f1f5f9;
  border-radius: 20px;
  color: black;
}

.section h3,
.section .grid {
  padding: 0 30px;
}

.section h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #0049af;
  border-radius: 10px;
  margin-top: 6px;
}

/* GRID */
.grid {
 display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


.job-container {
  display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr)); /* 🔥 magic line */
    gap: 20px;
}


@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.card {
    position: relative;

  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.filter-toggle {
  display: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* CATEGORY CARD */
.category-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}



/* JOB CARD */
.job-card {

    min-height: 260px;   /* 👈 height increase */

    background: #f3f4f6;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: auto;   /* ✅ important */
}


.job-title h2 {
    font-size: 16px;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-description {
   font-size: 13px;

    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-footer {
     display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1200px) {
    .job-container {
        grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    }
}

@media (max-width: 768px) {
  .job-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .job-card {
    padding: 10px;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {

  .job-title h2 {
    font-size: 14px;
  }

  .job-company h3 {
    font-size: 13px;
  }

  .job-company p,
  .job-title p {
    font-size: 11px;
  }

  .job-description {
    font-size: 12px;
  }
}

@media (max-width: 768px) {

  .apply-btn {
    font-size: 11px;
    padding: 5px 8px;
  }

  .salary {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .company-logo {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .job-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 768px) {

  .jobs-page {
    flex-direction: column;
  }

  /* Button show */
  .filter-toggle {
    display: block;
    margin: 10px 20px;
    padding: 10px 15px;
    background: #0049af;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  /* Sidebar hidden by default */
  .filters {
    position: fixed;
    top: 0;
    left: -100%; /* hidden */
    width: 80%;
    height: 100%;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    transition: 0.3s;
  }

  /* जब open होगा */
  .filters.active {
    left: 0;
  }

  /* overlay background */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
  }

  .overlay.active {
    display: block;
  }

  /* Job cards 2 per row */
  .job-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
    .job-container {
      grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
  .job-card {
    padding: 10px;
  }

  .job-title h2 {
    font-size: 14px;
  }

  .job-description {
    font-size: 12px;
  }
}

.filter-group label span {
  display: inline !important;
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 14px !important;
}


.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; 
}

.share-icons {
    display: flex;
  gap: 10px;
  font-size: 18px;
}


.salary {
   background: #d1fae5;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
}

.job-card::before {
   content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #0049af;
  opacity: 1;
}


.job-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.job-card p {
  font-size: 14px;
  color: #475569;
}

/* BUTTON */
.apply-btn {
   background: #0049af;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.apply-btn:hover {
  transform: scale(1.05);
}

/* JOB SECTION */
.job-section {
  padding: 80px 0;
  margin: 40px auto;
  width: 92%;
  background: linear-gradient(135deg, #f5f7fa, #eef3f9);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.job-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 123, 255, 0.08);
  filter: blur(120px);
  top: 50px;
  right: 100px;
  z-index: 0;
}

.container {
  width: 90%;
  margin: auto;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.job-section .container {
  display: flex;
}

.left-content {
  color:black;
  max-width: 500px;
  margin-left: 50px;
}

.left-content h2 {
  font-size: 36px;
  font-weight: 700;
}

.left-content p {
  color: #6b7280;
  line-height: 1.6;
}

.btn-explore {
  margin-top:25px;
  display: inline-block;
  background: #0049af;
  color: white;
  padding: 12px 22px;
  border-radius: 25px;
  text-decoration: none;
}

/* COUNTER */
.counter-section {
  width: 92%;
  margin: 60px auto;
  text-align: center;
  background: #f1f5f9;
  padding: 50px 30px;
  color:black;
  border-radius: 20px;
}
.counter-heading {
   font-size: 26px;
    font-weight: 700;
    color: black;
}
.advice-content p {
  color:grey;
}

.how-card p {
  color:grey;
}

.counter-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top:20px;
}

.counter-box h2 {
  font-size: 32px;
  color: #0049af;
}

/* JOB ALERT */
.job-alert-container {
  background: #eef4ff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-alert-left h2 {
  font-size: 34px;
}

.job-alert-left p {
  color: #64748b;
}

.job-alert-right img {
  width: 380px;
  max-width: 100%;
}


@media (max-width: 640px) {
    
    .job-container {
        display: grid !important;
        grid-template-columns: 1fr !important; /* 1 card per row */
    }

    .job-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }
}

/* HOW SECTION */
.how-section {
  width: 92%;
  margin: 60px auto;
  text-align: center;
}

.how-section h3 {
  font-size: 26px;
    font-weight: 700;
    color: black;
}

.advice-section h3 {
   font-size: 26px;
    font-weight: 700;
    color: black;
}

.how-container {
 display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.how-card {
  background: white;
  padding: 30px 20px;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  text-align: center;
  position: relative;
  flex: 1;
  color: black;
  transition: 0.3s;
}

.step {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #0049af;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}

.how-card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.how-card:not(:last-child)::after {
  content: "➜";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #0049af;
}

.how-card:hover {
  transform: translateY(-5px);
}

/* ADVICE */
.advice-section {
   width: 92%;
  margin: 60px auto;
  padding: 40px 30px;

}

.advice-card a {
  color: #0049af;   /* blue */
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.advice-card a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.advice-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  color:black;
}

.advice-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.advice-content {
  padding: 16px;
}

.advice-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.job-alert-form button {
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background: #0049af;
  color: white;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
}

.job-alert-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  max-width: 420px;
}

.job-alert-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 14px;
  background: #fff;
}

.job-alert-form button:hover {
  background: #1d4ed8;
}

/* TOP HEADER */
.top-header {
  background: #0049af;
  color: white;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* LEFT SIDE */
.top-left {
  margin-left: -23px !important;
  display: flex;
  gap: 15px;
}

.top-left a:hover {
  color: #c4b5fd;
  transform: scale(1.2);
}

.top-left a {
  color: white;
  font-size: 14px;
  transition: 0.3s;
}

.top-right {
  display: flex;
  gap: 20px;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* RIGHT SIDE */
.top-right a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.top-right a:hover {
  text-decoration: none;
  color: inherit; 
}

/* FOOTER */
.main-footer {
  background: #0049af;
  color: #cbd5e1;
  margin-top: 60px;
}

/* CONTAINER */
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

/* COLUMNS */
.footer-col h4 {
  font-size: 22px;
  color: white;
  margin-bottom: 10px;
}

.footer-col h5 {
  font-size: 16px;
  color: white;
  margin-bottom: 15px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #60a5fa;
  padding-left: 5px;
}

/* CONTACT */
.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* SOCIAL */
.footer-social {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  width: 40px;
  height: 40px;
  
  border-radius: 50%;
  background: #f1f1f1; /* optional */
  color: #333;
  
  text-decoration: none;
  margin-right: 10px;
}

.footer-social a:hover {
  background: #2563eb;
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
}

.category-icon {
  color:#0049af;
}

.cat-name {
        font-weight: 700;
        color: #333;
        margin: 15px 0 5px 0;
        font-size: 16px;
  /*color: #4b5563;*/ 
}
.custom-border {
  border-top: 2px solid #0049af
}
.submit-btn {
  background-color: #0049af;
}

header {
  padding-top: 10px;
  padding-bottom: 10px; /* reduce if needed */
}

nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
    margin-bottom: 0 !important;

}

header nav a {
  line-height: 1;
}

.company_logo {
  padding-left:28px;
height: 50px;   /* try 45–60px */
  width: auto;
  object-fit: contain;
  display: block;    
}

.company-logo {
 position: absolute;
  top: 10px;
  right: 10px;
  height: 40px;   /* adjust 30–45px */
  width: auto;  /* try 45–60px */
  
}


.reviews-section {
  padding: 60px 20px;
  background: #f9f9fb;
  text-align: center;
}

.reviews-section h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.reviews-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.review-card {
  background: white;
  width: 300px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-8px);
}

.review-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.about-image {
  max-width: 50%;
}



.review-card h4 {
  margin: 5px 0;
  font-size: 18px;
}

.review-card .role {
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: #555;
  margin: 15px 0;
}

.stars {
  color: #f4b400;
  font-size: 16px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

 

  .divider {
    display: none;
     flex-shrink: 0;
  }

  .container {
    flex-direction: column;
  }

  .job-alert-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .how-container {
    flex-direction: column;
  }

  .how-card::after {
    content: "⬇";
    right: 50%;
    top: auto;
    bottom: -25px;
    transform: translateX(50%);
  }


}