/* =========================================================
   இணைப்புப்பாலம் - PUBLIC SEEKERS
   முழு CSS
   ========================================================= */


.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2a1a5a;
  font-weight: 700;
  font-size: 18px;
}
.brand-logo {
  width: 120px;
  height: 1200px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.2s;
}
.nav-links li a.active,
.nav-links li a:hover {
  background: #f0ebff;
  color: #7c5cff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-links.open,
  .nav-links.active {
    display: flex !important;
  }
}

/* =========================================================
   PATCH 2 : HERO
   ========================================================= */

.seekers-hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.20), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.12), transparent 30%),
        linear-gradient(135deg, #4a148c, #673ab7 48%, #8e5bd9);

    color: #fff;
}

.seekers-hero::before,
.seekers-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
}

.seekers-hero::before {
    width: 280px;
    height: 280px;
    right: -80px;
    top: -100px;
}

.seekers-hero::after {
    width: 190px;
    height: 190px;
    left: -70px;
    bottom: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1000px, 92%);
    margin: auto;

    padding: 85px 0 90px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 7px 15px;
    margin-bottom: 18px;

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;

    background: rgba(255,255,255,0.10);

    font-size: 13px;
}

.hero-content h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.15;
    font-weight: 800;
}

.hero-content h2 strong {
    display: block;
    color: #ffe082;
}

.hero-content p {
    max-width: 680px;
    margin: 22px auto 0;

    color: rgba(255,255,255,0.88);
    font-size: 17px;
}


/* =========================================================
   PATCH 4 : SEEKER CARDS
   ========================================================= */

.seekers-section {
    width: min(1180px, 92%);
    margin: 80px auto;
}

.centered {
    text-align: center;
}

.centered p {
    color: #788194;
    font-size: 14px;
    margin-top: 4px;
}

/* ===================================================== */
/* BATCH 04 - START - TV VIEW 4 BOX PER ROW FIX */
/* விளக்கம்: 3 Box-ல இருந்து 4 Box ஆக குறைக்கிறது, Width/Height குறையும் */
/* ===================================================== */
#seekersGrid, #employersGrid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  padding: 10px !important;
}
@media (max-width: 1100px) {
  #seekersGrid, #employersGrid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  #seekersGrid, #employersGrid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  #seekersGrid, #employersGrid { grid-template-columns: repeat(1, 1fr) !important; }
}
/* ===================================================== */
/* BATCH 04 - END */
/* ===================================================== */

.seeker-card {
    position: relative;
    overflow: hidden;

    background: #fff;
    border: 1px solid rgba(23,32,51,0.07);
    border-radius: 22px;

    padding: 22px;

    box-shadow: 0 12px 35px rgba(35, 26, 68, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.seeker-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(90deg, #673ab7, #ffca28);
}

.seeker-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(35, 26, 68, 0.13);
}

.seeker-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background: linear-gradient(135deg, #ede7f6, #fff8e1);
    color: #673ab7;

    font-size: 23px;
    font-weight: 800;
}

.availability {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 11px;
    font-weight: 700;
    color: #39864b;

    background: #edf9f0;
    padding: 6px 10px;
    border-radius: 50px;
}

.availability span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43a047;
}

.seeker-info {
    padding: 22px 0 18px;
}

.seeker-info h3 {
    font-size: 21px;
}

.job-title {
    color: #673ab7;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.info-list {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.info-list div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #657085;
    font-size: 13px;
}

.view-profile-btn {
    width: 100%;
    height: 45px;

    border: 1px solid #e3dff0;
    border-radius: 12px;

    background: #faf9fd;
    color: #673ab7;

    font-weight: 800;
    cursor: pointer;

    transition: 0.25s ease;
}

.view-profile-btn:hover {
    background: #673ab7;
    color: #fff;
    border-color: #673ab7;
}

.no-results {
    display: none;
    text-align: center;
    padding: 50px 20px;

    background: #fff;
    border-radius: 20px;
}

.no-results div {
    font-size: 35px;
}

.no-results h3 {
    margin-top: 10px;
}

.no-results p {
    color: #7a8394;
}


/* =========================================================
   PATCH 5 : PRIVACY
   ========================================================= */

.privacy-section {
    width: min(1000px, 92%);
    margin: 0 auto 80px;
}

.privacy-box {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px 25px;

    border: 1px solid #e4dff0;
    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #faf8ff,
        #fffdf5
    );
}

.privacy-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 16px;
    background: #eee8fa;

    font-size: 22px;
}

.privacy-box h3 {
    font-size: 17px;
}

.privacy-box p {
    margin-top: 3px;
    color: #687286;
    font-size: 13px;
}

/* ============================================================
   PATCH 10 — FOOTER
   ============================================================ */

.jobs-footer {
    background: #171321;

    color: #ffffff;
}

.jobs-footer-inner {
    width: min(1180px, 92%);

    min-height: 100px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.jobs-footer-left p {
    color: rgba(255,255,255,0.65);

    font-size: 13px;
}

.jobs-footer-socials {
    display: flex;

    gap: 10px;
}

.jobs-footer-socials a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        rgba(255,255,255,0.08);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.jobs-footer-socials a:hover {
    transform: translateY(-3px);

    background:
        rgba(255,255,255,0.16);
}

.jobs-footer-socials img {
    width: 20px;
    height: 20px;
}

/* =========================================================
   RESPONSIVE : TABLET
   ========================================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        padding: 10px 4%;
        border-top: 1px solid rgba(23,32,51,0.06);
    }

    .mobile-nav.show {
        display: grid;
    }

    .mobile-nav a {
        padding: 12px 10px;
        border-radius: 10px;
        font-size: 14px;
    }

    .mobile-nav a:hover {
        background: #f1edfa;
        color: #673ab7;
    }

    .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .clear-btn {
        width: 100%;
    }

    .seekers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE : MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .header-inner {
        min-height: 68px;
    }

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text h1 {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 10px;
    }

    .hero-content {
        padding: 65px 0 70px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .search-section {
        margin-top: -25px;
    }

    .search-box {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 18px;
    }

    .seekers-section {
        margin: 60px auto;
    }

    .seekers-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .privacy-box {
        align-items: flex-start;
        padding: 18px;
    }

    .privacy-box p {
        font-size: 12px;
    }

    .cta-content {
        padding: 45px 20px;
    }

    .footer-inner {
        flex-direction: column;
        padding: 35px 0;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


/* MOBILE MENU FIX */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { width: 25px; height: 3px; background: #333; border-radius: 2px; display: block; transition: 0.3s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex !important; }
  .nav-links {
    position: absolute; top: 70px; left: 12px; right: 12px;
    background: #fff; flex-direction: column; padding: 12px;
    border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none; z-index: 1000;
  }
  .nav-links.is-open, .nav-links.open, .nav-links.active, .nav-links.show { display: flex !important; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 12px; }
}