/* --- Base Styles --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- Content Container --- */
#content {
  flex: 1 0 auto;
}

/* --- Header --- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.075);
  z-index: 1030;
}

/* --- Navbar --- */
.navbar {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d6efd;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  max-height: 32px;
  height: auto;
  width: auto;
}

/* Toggler */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  z-index: 1031;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6c757d;
  border: 1px solid transparent;
  white-space: nowrap;
  display: block;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  font-size: 0.95rem;
  font-weight: 600;
  color: #adb5bd;
  background-color: rgba(108, 117, 125, 0.05);
  text-decoration: none;
}

/* Dropdown Desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown-menu .dropdown-item {
    text-align: center;
    font-weight: 600;
    color: #6c757d;
  }

  .dropdown-menu .dropdown-item:hover {
    color: #adb5bd;
    background-color: rgba(108, 117, 125, 0.1);
  }
}

/* Dropdown Mobile */
@media (max-width: 991.98px) {
  .navbar-nav .nav-item + .nav-item {
    margin-top: 0.5rem;
  }

  .offcanvas .navbar-nav .dropdown-menu .dropdown-item {
    text-align: center;
    font-weight: 600;
    color: #6c757d;
  }

  .offcanvas .navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #adb5bd;
    background-color: rgba(108, 117, 125, 0.1);
  }
}

/* Offcanvas */
.offcanvas {
  width: 280px;
  background-color: #f8f9fa;
  box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.15);
  z-index: 1020;
}

.offcanvas-body {
  padding: 1rem;
  overflow-y: auto;
}

.offcanvas .navbar-nav .nav-link {
  display: flex;
  text-align: center;
  justify-content: center;
}

/* Footer */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem 0;
  flex-shrink: 0;
}

/* TikTok Embed */
.tiktok-embed-wrapper {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.tiktok-embed-wrapper blockquote.tiktok-embed {
  width: 100% !important;
  margin: 0 !important;
  max-width: none !important;
}

.tiktok-embed-wrapper blockquote.tiktok-embed iframe {
  width: 100% !important;
  height: auto !important;
  min-height: 500px;
}

/* --- Job Card Styles --- */
.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.job-card:hover {
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.urgent-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ED262E;
  color: white;
  border-radius: 15px;
  font-weight: 600;
  padding: 2px 5px;
  font-size: 0.6rem;
  z-index: 10;
  text-transform: uppercase;
}

.card-title {
  color: #2E3092;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text-details {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.btn-apply {
  background-color: #2E3092;
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background-color: #1e2370;
  transform: translateY(-2px) scale(1.05);
}

/* --- Carousel Styles --- */
.carousel-inner {
  padding: 1rem 0;
}

.carousel-item {
  padding: 0 15px;
}

/* --- Blog Card Styles --- */
.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-img-wrapper {
  height: 280px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.08);
}

.blog-card .card-body {
  padding: 1rem 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.blog-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d2d6c;
  margin-bottom: 0.5rem;
}

.blog-card .card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.blog-card .card-footer {
  background: none;
  border-top: none;
  padding: 1rem;
  text-align: center;
}

.blog-card .btn-read {
  background: linear-gradient(135deg, #2E3092, #4C4EAB);
  color: #fff;
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.blog-card .btn-read:hover {
  background: linear-gradient(135deg, #1e2370, #36388e);
  transform: translateY(-2px) scale(1.05);
  color: #fff;
}

/* --- Jobs Category Grid --- */
.jobs-category-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.jobs-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.jobs-category-card .card-img-wrapper {
  height: 250px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.jobs-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jobs-category-card:hover img {
  transform: scale(1.08);
}

.jobs-category-card .card-body {
  padding: 0.75rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobs-category-card .card-body h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #2E3092;
  transition: color 0.3s ease;
}

.jobs-category-card:hover .card-body h6 {
  color: #4C4EAB;
}

h3.text-center {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #2E3092;
  transition: color 0.3s ease;
}

h3.text-center::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #2E3092, #4C4EAB);
  margin: 5px auto 0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

h3.text-center:hover {
  color: #4C4EAB;
}

h3.text-center:hover::after {
  width: 80%;
}

/* --- Jobs Category Cards Hover --- */
.row .col a .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.row .col a .card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.row .col a .card .card-img-wrapper img {
  transition: transform 0.4s ease;
}

.row .col a .card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.row .col a .card .card-body h6 {
  transition: color 0.3s ease, transform 0.3s ease;
}

.row .col a .card:hover .card-body h6 {
  color: #4C4EAB;
  transform: translateY(-3px);
}