  :root {
  --bg: #0f172a;
  --brand: #0d6efd;
  --text: #0f172a;
  --muted: #f2f6fb;
  --white: #ffffff;
  --shadow: 0 12px 24px rgba(0, 0, 0, .08);

  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

 body {
      font-family: 'Poppins', sans-serif;
      background-color: #f4f7fb;
      margin: 0;
    }

  /* ===========================
   Navbar Base Styles
=========================== */
/* Navbar Container */
.navbar {
  display: flex;
  justify-content: flex-start;  /* Align everything to the left */
  align-items: center;          /* Vertically center the content */
  padding: 0.5rem 2rem;         /* Add some padding for better spacing */
}

/* Navbar Brand (Logo + Title) */
.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 20px;           /* Ensure there's space between logo and navigation items */
}

.navbar-brand img {
  border-radius: 8px;
}

/* ===========================
   Language Selector
=========================== */
.language_select {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.language_select:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Nav Links
=========================== */
/* Navbar Items List */
.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Navbar Items */
.navbar-nav .nav-item {
  display: flex;
  align-items: center;
  margin-left: 10px;             /* Add margin between items */
}

/* Adjusting for screen sizes */
@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #343a40;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  height: 38px;
  line-height: 22px;
}
.nav-link.active{
  background-color: none;
  font-size: 18px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #007bff !important;
}

/* ===========================
   Nav Buttons (Login/Register)
=========================== */
.btn-custom {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  height: 38px;
}

.btn-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* ===========================
   Custom Hamburger Icon
=========================== */
.navbar-toggler {
  border: none !important;
  background: transparent !important;
  padding: 0.25rem !important;
  box-shadow: none !important;
  outline: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-toggler-icon {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
  margin-right: 12px;
}

.custom-toggler-icon .bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--bg);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.custom-toggler-icon .bar1 { top: 0; }
.custom-toggler-icon .bar2 { top: 7px; }
.custom-toggler-icon .bar3 { bottom: 0; }

/* Toggle to "X" on open */
.navbar-toggler.open .bar1 {
  transform: rotate(45deg);
  top: 7px;
}

.navbar-toggler.open .bar2 {
  opacity: 0;
}

.navbar-toggler.open .bar3 {
  transform: rotate(-45deg);
  bottom: 7px;
}

/* ===========================
   Bootstrap Icon Overrides (Optional fallback)
=========================== */
.navbar-toggler.collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='4' y1='4' x2='20' y2='20' stroke='black' stroke-width='2'/%3E%3Cline x1='20' y1='4' x2='4' y2='20' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===========================
   Responsive Tweaks
=========================== */
@media (max-width: 991px) {
  .language_select {
    margin: 10px 0;
    width: 100%;
    justify-content: center;
  }

  .navbar-nav {
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
  }

  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }
}

    /* Hero Section */
    .hero {
      background: linear-gradient(120deg, #007bff, #00c6ff);
      color: #fff;
      padding-top: 30px;
      padding-bottom: 80px;
      text-align: center;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
    }
    .hero span {
      color: #ffeb3b;
    }
    .hero .input-group input {
      border-radius: 12px;
      padding: 14px;
      border: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .hero button {
      border-radius: 12px;
      padding: 0 25px;
    }

    /* Register Form */
    .register-form {
      max-width: 960px;
      margin: -70px auto 60px;
      background: linear-gradient(to bottom, #b3eaff 0%, #ffffff 35%);
      /* background: rgba(255,255,255); */
      /* backdrop-filter: blur(10px); */
      padding: 20px;
      border-radius: 20px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .register-form input {
      border-radius: 12px;
      padding: 12px;
    }
    .register-form button {
      border-radius: 30px;
    }

    /* Services */
    .services {
      padding: 80px 20px;
    }
    .service-card {
      border-radius: 20px;
      transition: all 0.3s ease-in-out;
      padding: 25px;
      background: #fff;
      box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    }
    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
    .service-card h5 {
      margin-top: 15px;
      font-weight: 600;
    }

    /* Why Choose Us */
    .why-choose {
      padding: 80px 20px;
      background: #f9fbfd;
    }
    .why-choose .icon-box {
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: linear-gradient(120deg, #007bff, #00c6ff);
      color: #fff;
      font-size: 32px;
      margin: 0 auto 20px;
    }

    /* Footer */
    footer {
      background: #1d1d1d;
      color: #ccc;
      padding: 30px 20px;
      margin-top: 40px;
    }
    footer a {
      color: #ccc;
      text-decoration: none;
    }
    footer a:hover {
      color: #fff;
    }

    /* Modal general styling */
.modal.loginModal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background: #ffffff;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding-top: 0;
}

/* Login Icon */
.modal-body i.fa-user-lock {
    font-size: 50px;
    color: #45c4e9;
    margin-bottom: 10px;
}

/* Input Fields */
.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #45c4e9;
    box-shadow: 0 0 5px rgba(69, 196, 233, 0.5);
}

/* Eye toggle icon */
.btn-toggle-pass {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #45c4e9;
}

/* Position the eye icon within the password input */
.form-group {
    position: relative;
}

/* Login Button */
.can-login {
    background-color: #45c4e9;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.can-login:hover {
    background-color: #379bbf;
    color: #fff;
}

/* Register section */
.modal-body p,
.modal-body a {
    margin-top: 15px;
    font-size: 14px;
}

.modal-body a.forgot {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #333;
    text-decoration: underline;
}

.modal-body a.forgot:hover {
    color: #45c4e9;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 20px auto;
    }
}

/* Search Result  */

/* Container */
.search-container {
  max-width: 960px;
  margin: 40px auto;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* Header */
.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.search-header > div {
  min-width: 280px;
}

.sr-summary {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.sr-summary-details {
  color: var(--brand);
}

/* Buttons */
.auth-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.apply-global-btn {
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  margin: 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.apply-global-btn:hover,
.apply-global-btn:focus {
  background: #1e40af;
  outline: none;
}

/* Job Card */
.job-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.job-top h3 {
  margin: 0;
  font-size: 20px;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-heading);
}

.job-top a.job-title {
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  word-break: break-word;
}

.job-top a.job-title:hover,
.job-top a.job-title:focus {
  text-decoration: underline;
  outline: none;
}

/* Checkbox */
.tick_jc {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Job meta info */
.job-meta {
  font-size: 14px;
  color: #333;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.job-meta span {
  white-space: nowrap;
}

/* Job description */
.job-description {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.read-more {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}

.read-more:hover,
.read-more:focus {
  text-decoration: underline;
  outline: none;
}

/* Error message */
.error-msg {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #f44336;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-msg button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  margin-left: 12px;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 768px) {
  .search-container {
    padding: 20px 15px;
  }

  .search-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .auth-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .apply-global-btn {
    width: 100%;
    max-width: 220px;
  }

  .job-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-top h3 {
    font-size: 18px;
  }

  .tick_jc {
    width: 20px;
    height: 20px;
  }

  .job-meta {
    font-size: 13px;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .job-meta {
    flex-direction: column;
    gap: 6px;
  }
}


#s_result {
    display: none;
  }
   /* Error container */
  .error-container {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }
  /* Error message style */
  .error-msg {
    background: #fdecea;
    color: #d32f2f;
    border: 1px solid #f5c6cb;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 14px;
    display: none;  /* hidden by default */
  }

  /* google language */
/* Hide Google branding (optional, but usually required by Google to keep "powered by") */
.goog-logo-link, .goog-te-gadget span {
  display: none !important;
}

/* Center and style the dropdown container */
.language_select {
  display: inline-block;
  margin: 10px 0;
}

/* Style the dropdown like Bootstrap */
/* .gtranslate-powered {
    display: none !important;
} */
.goog-te-combo {
  display: inline-block;
  width: auto;
  min-width: 180px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #2b36a8ff;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

/* Hover & focus effect */
.goog-te-combo:focus, 
.goog-te-combo:hover {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Optional: make it consistent with Bootstrap form-select */
.goog-te-combo {
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center/12px 12px;
  padding-right: 2rem;
}

.error-message {
    color: red;
    font-weight: bold;
}

/* 🔍 No Results Found Block */
.nrf {
  display: flex;
  flex-direction: column;            /* Stack message and image vertically */
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  min-height: 120px;
  background-color: #fffbe6;
  border: 1px dashed #ffcc00;
  border-radius: 8px;
  margin: 15px auto;
  text-align: center;
  max-width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ✉️ Main Message Text */
.nrf-message {
  color: #333;
  font-size: 1.25rem;
  background-color: transparent;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

/* 🔴 Highlighted Search Term */
.nrf-search-string {
  color: #d8000c;
  font-weight: bold;
}

/* ⏳ Loading Spinner Block */
.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 1rem;
  color: #007bff;
}

.search-loading .spinner-border {
  width: 2rem;
  height: 2rem;
}

/* ❌ Error Block */
#sr_outer.error {
  background-color: #fff0f0;
  border-left: 5px solid #d8000c;
  padding: 1rem 1.5rem;
  margin-top: 15px;
  border-radius: 6px;
  color: #a70000;
}

#sr_outer.error .alert-heading {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#sr_outer.error details {
  margin-top: 1rem;
  background-color: #fef2f2;
  padding: 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.85rem;
}

/* 🚫 Disabled Button Styling (universal) */
button:disabled,
.btn:disabled {
  background-color: #b7b7b7ff !important;
  color: #2f2f2fff !important;
  cursor: not-allowed !important;
  opacity: 0.75;
  pointer-events: none;
}


.highlight {
    background-color: yellow;
    font-weight: bold;
  }

.clickable {
  text-decoration: underline;
  cursor: pointer;
}

/* Modal Overlay */
#sr-selection {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);  /* darker overlay */
  display: none;               /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow: auto;              /* if popup-box exceeds screen */
}

/* Modal Box */
#sr-selection .popup-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  max-width: 900px;            /* fixed width modal */
  width: 90%;                  /* responsive */
  max-height: 85vh;            /* height limited */
  overflow: auto;              /* both vertical + horizontal scroll if needed */
  padding: 20px;
  position: relative;
}

/* Modal Header */
#sr-selection .search-header {
  display: flex;
  justify-content: space-between;  /* space between left text, center actions, right close */
  align-items: center;             /* vertical centering */
  flex-wrap: wrap;                 /* responsive: stack if narrow */
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #e5e7eb;
  min-height: 40px;                /* consistent header height */
  box-sizing: border-box;
}

/* Text inside header */
#sr-selection .search-header p.sr-summary {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* Action buttons in header */
#selection-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;   /* same height as action buttons */
  line-height: 1;
}
.selected-global-btn {  
  /* border-radius: 50%;
  font-weight: bold; */
  background: var(--brand);
  color: var(--white);
  border: none;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  gap: 12px;
  padding: 10px 16px;   /* same height as action buttons */  
  transition: background-color 0.3s ease;
  user-select: none;
}


/* Close button (X) */
#closeSelection {
  padding: 10px 16px;   /* same height as action buttons */
  line-height: 1;
  /* border-radius: 50%;
  font-weight: bold; */
  background: var(--brand);
  color: var(--white);
  border: none;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  user-select: none;
}

#selected-count
{
  color: var(--brand)
}


/* Login Foam Model */
/* Notification */
.lfm-notification {
    display: block;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

.success {
    background-color: #4CAF50;
    color: white;
}

.error {
    background-color: #f44336;
    color: white;
}
#loginToApplly {
  display: inline-block; /* ✅ or whatever is needed */
}
#searchBtn{
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
/* #search_text{
  font-size: px;
} */

.google-style-search {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid #dfe1e5;
  border-radius: 20px;
  height: 55px;
  max-width: 600px;
  width: 100%;
  padding: 0 12px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  font-family: 'Roboto', arial, sans-serif;
}

.google-style-search input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  background: transparent;
  padding: 0 10px;
  font-family: 'Roboto', arial, sans-serif;
}

.search-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.search-icon-btn img {
  width: 20px;
  height: 20px;
}

.quick-register-btn {
  margin-left: 10px;
  padding: 8px 16px;
  background-color: #0d6efd;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

.quick-register-btn:hover {
  background-color: #0b5ed7;
}
