* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background:#f5f7fb;
  margin:0;
}
 body.modal-open {
  overflow:hidden;
}
 a {
  color: #0078d4;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  background: linear-gradient(135deg, #002147, #0078d4);
  color: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}
.logo-container img {
  height: 55px;
}

.logo-container a {
  background: #ffcc00;
  color: #002147;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.logo-container a:hover {
  background: #f8b400;
}

/* ===== NAVIGATION ===== */
nav {
  background: #001a33;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: white;
  padding: 15px 20px;
  font-weight: 500;
  transition: background 0.3s ease;
}
.nav-links a:hover {
  background: #004080;
}

.active{background:  #004080; }

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px 20px;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
}

/* ===== RESPONSIVE MENU ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    text-align: center;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  
}




.header {
  text-align:center;
   padding:12px 10px; /* reduced from 40px */
  margin:0;
}

.header h1 {
  font-size:22px;
  margin-bottom:6px;
}

/* Reduce spacing between texts */
.highlight {
  color:#007bff;
  font-weight:bold;
  font-size:15px;
  margin-bottom:4px;
}

.trust {
  font-size:13px;
  color:#555;
  margin-bottom:3px;
  font-weight:500;
}

.sub-text {
  font-size:12px;
  color:#777;
  margin-bottom:10px; /* reduced from 20px */
}

/* FILTERS */
.filters {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  padding:10px;
   margin-top:5px;  /* reduce gap from header */
  padding-top:5px;
}

.filters select, .filters button {
  padding:10px;
  border-radius:6px;
  border:1px solid #ccc;
}

/* GRID */
.grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap:18px;
  padding:15px;
}

/* CARD */
.card {
  background:white;
  padding:15px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  position:relative;
}

/* FEATURED BADGE */
.featured {
  position:absolute;
  top:10px;
  right:10px;
  background:#ff9800;
  color:white;
  font-size:11px;
  padding:4px 8px;
  border-radius:5px;
}

/* PREMIUM CARD */
.premium {
  border:2px solid gold;
  background: linear-gradient(white,#fffbe6);
}

.card img {
  width:80px;
  height:100px;
  object-fit:cover;
  border-radius:6px;
}

/* BADGES */
.badge {
  display:inline-block;
  padding:4px 8px;
  margin:3px;
  font-size:11px;
  border-radius:5px;
  color:white;
}

.cv {background:#28a745;}
.passport {background:#007bff;}
.interview {background:#ff9800;}

/* BUTTONS */
.btn {
  padding:10px;
  border:none;
  border-radius:6px;
  margin-top:6px;
  display:block;
  width:100%;
  cursor:pointer;
}

.view {background:#28a745; color:white;}

.hire {
  background:#25D366;
  color:white;
  text-decoration:none;
  display:block;
  text-align:center;
}

/* MODAL - Updated Fixes */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; /* Stay on top */
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.5); 
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border-radius: 12px;
  width: 90%; 
  max-width: 450px;
}

/* Optional: Make form inputs look better */
#profileForm input, #profileForm select, #profileForm textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Ensures padding doesn't break width */
  
}

/* Optional: Make form inputs look better */
#requestForm input, #requestForm select, #requestForm textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;} /* Ensures padding doesn't break width */
.submit-btn {
  background: linear-gradient(45deg,#28a745,#00c853);
  color:white;
  padding:12px;
  border:none;
  border-radius:8px;
  font-size:16px;
  font-weight:bold;
  width:100%;
  margin-top:10px;
}

.bio {
  background:#f1f7ff;
  padding:10px;
  border-radius:8px;
  margin-top:10px;
  font-size:13px;
  text-align:left;
  color:#333;
}

.info-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
  text-align:left;
}

.info-item {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:12px;
}

/* LABEL (SMALL + LIGHT) */
.label {
  display:block;
  font-size:10px;
  color:#888;
  line-height:1;
}

/* VALUE (BIGGER + STRONG) */
.value {
  font-size:13px;
  font-weight:600;
  color:#222;
}

/* ICON BASE */
.icon {
  font-size:14px;
  margin-top:2px;
}

/* ICON COLORS (ATTRACTIVE & MEANINGFUL) */
.location { color:#e53935; }     /* red */
.job { color:#3949ab; }          /* blue */
.salary { color:#2e7d32; }       /* green */
.country { color:#00897b; }      /* teal */
.relocate { color:#f9a825; }     /* yellow */
.exp { color:#6a1b9a; }          /* purple */

.card:hover {
  transform: translateY(-5px);
  transition:0.3s;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.doc-link {
  margin-top:8px;
  text-align:left;
}

.doc-link a {
  font-size:12px;
  color:#444;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 6px;
  border-radius:6px;
  transition:0.2s ease;
}

/* ICON STYLE */
.doc-link i {
  font-size:13px;
  color:#007bff;
}

/* HOVER EFFECT 🔥 */
.doc-link a:hover {
  background:#eef4ff;
  color:#007bff;
}

/* 1. The Background Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0; /* Modern way to say top/left/right/bottom: 0 */
  background: rgba(0, 0, 0, 0.7);
  overflow-y: auto; /* IMPORTANT: Enables scrolling for long forms */
  padding: 20px 10px;
}

/* 2. The White Box */
.modal-content {
  background: white;
  width: 100%;
  max-width: 480px;
  margin: 20px auto; /* Provides space at top and bottom */
  padding: 25px;
  border-radius: 12px;
  position: relative;
  text-align: left; /* Better for forms */
  animation: modalSlideDown 0.3s ease-out;
}

/* 3. Close Button Position */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

.close:hover {
  color: #000;
}

/* 4. Smooth Animation */
@keyframes modalSlideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. Form specific fixes */
#profileForm label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  color: #444;
}


/* Tablet */
@media (min-width: 768px) {
  .modal-content {
    padding:25px;
    border-radius:14px;
  }

  .modal-content button {
    width:auto;
    padding:10px 22px;
  }
}



/* Large screens */
@media (min-width: 1024px) {
  .modal-content {
    max-width:450px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(-40px);}
  to {opacity:1; transform:translateY(-50%);}
}

/* Animation */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(-10px);}
  to {opacity:1; transform:translateY(0);}
}

/* Sticky Button */
.sticky-post-btn {
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:999;

  background:linear-gradient(135deg, #007bff, #00c6ff);
  color:white;
  border:none;
  padding:14px 18px;
  border-radius:30px;

  font-size:14px;
  font-weight:600;

  display:flex;
  align-items:center;
  gap:8px;

  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  cursor:pointer;
  transition:0.3s ease;
}

/* Hover effect */
.sticky-post-btn:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
}

/* Mobile full-width version */
@media (max-width: 600px) {
  .sticky-post-btn {
    bottom:0;
   
    
    border-radius:30px;

    justify-content:center;
    padding:16px;
    font-size:15px;
  }
}

.sticky-post-btn {
  animation:pulse 2s infinite;
}

@keyframes pulse {
  0% {box-shadow:0 0 0 0 rgba(0,123,255,0.6);}
  70% {box-shadow:0 0 0 10px rgba(0,123,255,0);}
  100% {box-shadow:0 0 0 0 rgba(0,123,255,0);}
}

       footer {
  background: #111827;
  color: #d1d5db;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 50px;
}
footer a {
  color: #38bdf8;
}


.footer-content p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}
.footer-contact {
    display: flex;
    flex-direction: column; /* Stacked on mobile */
    gap: 15px;
    align-items: center;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.contact-link:hover {
    color: #ffcc00;
    text-decoration: none;
}

/* Icon Colors */
.whatsapp i {
    color: #25D366; /* Official WhatsApp Green */
    font-size: 20px;
}

.email i {
    color: #0078d4; /* Matching your header blue */
    font-size: 18px;
}

/* Tablet & Desktop Layout */
@media (min-width: 768px) {
    .footer-contact {
        flex-direction: row; /* Side-by-side on larger screens */
        justify-content: center;
        gap: 40px;
    }
}

.view-btn {
  background:#28a745;
  color:white;
  border:none;
  padding:10px 16px;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
}

.secondary-btn {
  background:#ddd;
  color:#333;
  border:none;
  padding:10px 16px;
  border-radius:6px;
  cursor:pointer;
}

.highlight-card {
  border:2px solid #28a745;
  box-shadow:0 0 15px rgba(40,167,69,0.5);
  transform:scale(1.02);
  transition:0.3s ease;
}

.badge-new {
  position:absolute;
  top:10px;
  left:10px;
  background:#28a745;
  color:white;
  font-size:11px;
  padding:4px 8px;
  border-radius:20px;
  font-weight:bold;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}

.trending-section {
  margin: 20px 0;
}

.trending-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.trending-scroll {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
}

.trending-scroll::-webkit-scrollbar {
  height: 6px;
}

.trending-scroll::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

.trend-card {
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
  flex-shrink: 0;
}

.trend-card h4 {
  font-size: 15px;
  margin-bottom: 5px;
}

.trend-card p {
  font-size: 13px;
  color: #666;
}

.trend-card button {
  margin-top: 10px;
  padding: 6px 10px;
  border: none;
  background: #0078d4;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.trend-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 14px;
}

.profile-stats {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.stat {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 20px;
  background: #f1f1f1;
  color: #555;
  font-weight: 500;
}

.stat.today {
  background: #fff3cd;
  color: #856404;
}

.stat.total {
  background: #e3f2fd;
  color: #1565c0;
}

.stat.scarcity {
  font-size: 11px;
  color: #b45309;
  background: #fff7ed;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 5px;
}

.boost-hint {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
  cursor: pointer;
  font-weight: 500;
}
.boost-hint:hover {
  text-decoration: underline;
}
.badge.boost {
  background: linear-gradient(45deg, #ff9800, #ff5722);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 5px;
}

.boost-plans button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #ff5722;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.boost-plans button:hover {
  background: #e64a19;
}

.cv-help {
  font-size: 12px;
  color: #444;
  margin-top: 6px;
  cursor: pointer;
  line-height: 1.4;
}

.cv-help span {
  color: #0077cc;
}

.cv-help strong {
  color: #2e7d32;
  margin-left: 4px;
}

.cv-help s {
  color: #999;
  font-size: 11px;
  margin-left: 4px;
}

.cv-help:hover span {
  text-decoration: underline;
}

.modal input, .modal select {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 13px;
}



.modal button:hover {
  background: #005fa3;
}

.cancel-btn {
  background: #999 !important;
}

.footer-seo {
  font-size: 13px;
  color: white;
  line-height: 1.6;
  margin-top: 30px;
}

.footer-seo h3 {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 10px;
}
.seo-content {
  padding: 15px;
  text-align: center;
}

.seo-toggle {
  background: #f1f5f9;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
}

.seo-text {
  display: none;
  margin-top: 15px;
  text-align: left;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 15px;
}

.faq-section h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px;
  font-size: 14px;
  background: #f9fafb;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 6px;
  transition: 0.2s;
  position: relative;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 16px;
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 10px 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.seo-searches {
  margin: 30px auto;
  padding: 12px 15px;
  max-width: 900px;
  font-size: 12.5px;
  color: #666;
  line-height: 1.8;
  text-align: center;
}

.seo-searches .label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.seo-searches a {
  display: inline-block;
  margin: 4px 6px;
  padding: 5px 10px;
  background: #f1f5f9;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.seo-searches a:hover {
  background: #2563eb;
  color: #fff;
}

.filter-group {
  position: relative;
  max-width: 250px;
}

#countryInput {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
}

#countryInput:focus {
  border-color: #2563eb;
}

.dropdown-list {
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  max-height: 180px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.dropdown-list div {
  padding: 10px;
  font-size: 13px;
  cursor: pointer;
}

.dropdown-list div:hover {
  background: #f1f5f9;
}

.search-box {
  flex: 1;
  min-width: 220px;
}

.search-box input {
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.search-box input:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.search-hint {
  font-size: 11px;
  color: #888;
  margin-left: 5px;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  margin: 30px auto;
  max-width: 500px;
  background: #f9fafb;
  border: 1px solid #eee;
  border-radius: 10px;
}

.no-results p {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.no-results small {
  font-size: 13px;
  color: #777;
}
.main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #111827;
  margin: 25px 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Subtle highlight effect */
.main-title span {
  color: #2563eb;
}
