 body {
    margin: 0;
    padding: 0;
    background: #f6f5fa;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

        .nav-link {
            font-weight: 600
        }

        .navbar.sticky-top {
            backdrop-filter: saturate(1.2) blur(6px)
        }

.btn-brand {
  background: #0d6efd; /* Solid blue */
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-weight: 500;
  transition: none; /* Remove animation */
}

/* Remove hover change */
.btn-brand:hover {
  background: #0d6efd;
  color: #fff;
  transform: none;
}


        .text-brand {
            color: var(--brand)
        }

       

.hero {
            background-color: #e9f2ff;
            padding: 20px 0;
        }
        .hero .section {
            padding: 10px 0; 
        }
        .hero h1 span.text-brand {
            color: #0d6efd;
        }

        .card {
            border: 1px solid rgba(2, 6, 23, .06)
        }

        .card-job:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(2, 6, 23, .08)
        }

       

.caption {
    font-size: 1.6rem;              /* Bigger, clear font */
    font-weight: 700;              /* Bold */
    color: #2c3e50;                /* Modern dark blue-gray */
    letter-spacing: 1px;           /* Spacing between letters */
    text-transform: uppercase;     /* All caps for impact */
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

/* Underline effect */
.caption::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #ff416c);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Hover effect */
.caption:hover {
    color: #007bff;
}

.caption:hover::after {
    width: 70%; /* underline shrink animation */
}

/* Social Icons Style */
.social-icons a {
    color: #555; /* Default icon color */
    font-size: 2.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2); /* Zoom effect */
}

/* Individual Icon Colors */
.social-icons a .fa-facebook-f { color: #1877f2; }
.social-icons a .fa-whatsapp { color: #25d366; }
.social-icons a .fa-instagram { color: #e1306c; }

/* Optional background circle for icons */
.social-icons a i {
  
    border-radius: 50%;
    padding: 10px;
}
.social-icons a:hover i {
    background: #e9ecef;
}

/* ✨ Hover Effects for "Why TDF JobBank?" cards */
.why-card {
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.why-card i {
  font-size: 1.8rem;
  color: #0d6efd; /* Bootstrap blue */
  margin-bottom: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}
.why-card:hover i {
  color: #f80d0d; /* red accent */
  transform: scale(1.2);
}
.why-card p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}
/* Job Card Hover Effect */
.job-card-hover {
    transition: all 0.25s ease;
}

.job-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
        .company-logo {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: #eef2ff;
            display: grid;
            place-items: center;
            font-weight: 800
        }


@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}
        .glass {
            background: rgba(255, 255, 255, .7);
            border: 1px solid rgba(2, 6, 23, .08);
            box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
            backdrop-filter: blur(10px)
        }

        .search-pill {
            border-radius: 999px
        }

        .shadow-soft {
            box-shadow: 0 10px 30px rgba(15, 23, 42, .08)
        }

        .rounded-2xl {
            border-radius: 1.25rem
        }

        .section {
            padding-block: 4.5rem
        }

        .category-tile {
            transition: .2s
        }

        .category-tile:hover {
            transform: translateY(-3px)
        }

        .job-meta i {
            opacity: .8
        }

        .offcanvas {
            --bs-offcanvas-width: 340px
        }

 
 
 
 .job-card {
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      padding: 15px;
      margin: 15px 0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: transform 0.2s;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .job-card:hover {
      transform: translateY(-5px);
    }
    .job-card img {
      border-radius: 10px;
      width: 100%;
      height: 150px;
      object-fit: cover;
      margin-bottom: 10px;
    }
    .job-title {
      font-weight: 600;
      font-size: 1.2rem;
    }
    .company-name {
      color: #555;
    }
    .job-tags span {
      background-color: #e8e6ff;
      color: #5c4dff;
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-right: 5px;
      margin-top: 5px;
      display: inline-block;
    }
    .btn-apply {
      background-color: #5c4dff;
      color: white;
    }
    .btn-apply:hover {
      background-color: #4636d9;
    }

           .company-logo {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: #eef2ff;
            display: grid;
            place-items: center;
            font-weight: 800
        }


.pagination .page-link {
    color: #198754;
    border-radius: 6px;
    margin: 0 2px;
}
.pagination .active .page-link {
    background-color: #198754;
    border-color: #198754;
}

/* Base styles */
body {
  font-family: "Inter", sans-serif;
}

/* Force job cards to keep desktop look on mobile */
.job-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  gap: 12px;
}

.job-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.job-details {
  flex: 1;
  text-align: left;
}

.job-details h6 {
  font-size: 15px;
  margin-bottom: 4px;
}

.job-details p {
  font-size: 13px;
  margin-bottom: 4px;
  color: #666;
}

.job-meta {
  font-size: 12px;
  color: #888;
}

/* Responsive: shrink proportionally instead of stacking */
@media (max-width: 768px) {
  .job-card {
    flex-direction: row; /* keep same row layout */
    padding: 8px;
    gap: 10px;
  }

  .job-card img {
    width: 70px;
    height: 70px;
  }

  .job-details h6 {
    font-size: 14px;
  }

  .job-details p,
  .job-meta {
    font-size: 12px;
  }
}
@media (max-width: 576px) {
  
  .why-card i {
    font-size: 1.4rem;
  }
}
.urgent-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff2e2e;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.job-image-wrapper {
    position: relative;
    display: inline-block;
}      
.job-card-hover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* URGENT ribbon */
.urgent-ribbon {
    position: absolute;
    top: 14px;
    left: -24px;
    width: 100px;
    padding: 4px 0;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Job image */
.job-image-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
}

.job-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PAID / VERIFIED CERTIFICATE BADGE */
.paid-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 11;
}

/* Badge colors */
.badge-basic { background: #28a745; color:#fff; }       /* Green */
.badge-standard { background: #A0522D; color:#fff; }   /* Browns */
.badge-premium { background: #C0C0C0; color:#000; }    /* Silver */
.badge-enterprise { background: #FFD700; color:#000; } /* Gold */
.badge-default { background: #6c757d; color:#fff; }    /* Gray fallback */
.modal {
  z-index: 1055 !important;
}
.modal-backdrop {
  z-index: 1050 !important;
}
.stats-section {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
}

.stat-card {
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 20px;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 0;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

/* === JOB CARD (Desktop Default) === */
.job-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}

.job-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.job-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.job-details {
  flex: 1;
  min-width: 0; 
}

.job-details h6 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}

.job-details p {
  font-size: 13px;
  margin: 2px 0;
  color: #555;
}

.days-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 12px;
  gap: 5px;
}

/* ---- Fix layout spacing and button position ---- */
.d-flex.justify-content-between.align-items-center.mb-3 {
  gap: 10px;
}

@media (max-width: 768px) {
  .d-flex.justify-content-between.align-items-center.mb-3 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .d-flex.justify-content-between.align-items-center.mb-3 h5 {
    margin-bottom: 8px !important;
  }

  .d-flex.justify-content-between.align-items-center.mb-3 .btn {
    width: 100% !important;
    margin-top: 5px !important;
  }
}

/* Extra spacing below navbar */
.container-fluid.py-4 {
  margin-top: 20px !important;
}

/* === MOBILE (below 768px) === */
@media (max-width: 768px) {
  .job-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px;
    padding: 10px;
  }

  .job-info img {
    width: 55px;
    height: 55px;
  }

  .job-details h6 {
    font-size: 14px;
  }

  .job-details p {
    font-size: 12px;
  }

  .days-left {
    width: 100%;
    align-items: flex-end !important;
    text-align: right !important;
    font-size: 12px;
  }

  .job-cards-container {
    padding: 0 4px;
  }
}
.job-card-wrapper {
    position: relative;
}
.job-card-hover {
  position: relative;
  overflow: hidden;            
  border-radius: 12px;         
}
.job-card {
  position: relative;
  overflow: hidden;     /* REQUIRED for clipping */
  border-radius: 10px;
}

.urgent-ribbon {
  position: absolute;
  top: 12px;
  left: -28px;
  width: 120px;
  padding: 4px 0;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transform: rotate(-45deg);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.news-card {
              border-radius: 15px;
              background-color: #BCC6CC;
              transition: all 0.3s ease;
            }

            .news-card:hover {
              transform: translateY(-5px);
              background-color: #A7B1B7;
              box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            }

            .news-card img {
              transition: transform 0.3s ease;
            }

            .news-card:hover img {
              transform: scale(1.05);
            }

            .news-card a:hover {
              text-decoration: underline;
            }
            