/* public/admin/css/custom.css */
/*index_career*/
:root {
  --primary-color: #0D3E9B;   
  --secondary-color: #FF0000; 
  --transition-speed: 0.3s ease;
  --text-color: #ffffff;
  --bg-color: #000;
}
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Avenir", sans-serif;
  scroll-behavior: smooth;
  background-color: #f8f9fa;
}



/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Responsive Headings */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.4rem;
  }
}

a {
  text-decoration: none;
}


  
/*index_career*/
/* Navbar Base */
.navbar {
  min-height: 0px; 
  padding: 0.15rem 1rem; 
  background-color: transparent !important; 
  width: 100%;
  transition: background-color 0.3s ease-in-out;
}
.navbar.fixed-top {
  z-index: 1000;
}

/* Fully opaque navbar when scrolled */
.navbar.scrolled {
  background-color:  #ffffff !important;
}
/* Logo Container & Logo */
.logo-container {
  max-width: 250px;
  display: flex;
  align-items: center;
}
.logo-container .logo {
  width: 100%;
  height: auto;
  max-height: 80px; 
  object-fit: contain;
}

/* Navbar Toggler */
.navbar-toggler {
  padding: 0.25rem 0.5rem;
  border-color: var(--primary-color);
}
.navbar-toggler-icon {
  width: 24px;
  height: 24px;
}

/* Navbar Navigation Links */
.navbar-nav .nav-link {
  position: relative;
  display: inline-block; 
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem;
  color: var(--bg-color) !important;
  transition: background var(--transition-speed), padding var(--transition-speed);
  text-shadow: 0 0.5px 1.5px rgba(26, 26, 26, 0.7);
}

 .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; 
  bottom: 4px; 
  width: 0%;
  height: 2px; 
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  text-shadow: 0 0.5px 1.5px rgba(81, 80, 80, 0.7);
}

.navbar-nav .nav-link:hover::after {
  width: 100%; 
}



.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Increase spacing between nav items on large screens */
@media (min-width: 992px) {
  .navbar-nav .nav-item:not(:first-child) {
    margin-left: 1rem;
  }
}

/* Offcanvas Menu Styling */
.offcanvas {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  width: 75%;
  max-width: 300px;
  transition: transform 0.5s ease-in-out, background 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.offcanvas-title {
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.offcanvas-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.offcanvas-header .btn-close:hover {
  opacity: 1;
}

.offcanvas-body .nav-link {
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
  color: var(--text-color) !important;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas-body .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  color: var(--bg-color) !important;
}

.offcanvas-body .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 4px;
  height: 60%;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.offcanvas-body .nav-link:hover::before {
  transform: translateY(-50%) scaleX(1);
  background-color: #fff;
}

.offcanvas-body .nav-link:last-child {
  border-bottom: none;
}

/* Responsive Offcanvas Adjustments */
@media (max-width: 992px) {
  .offcanvas.offcanvas-start {
    top: 9%;
    bottom: auto;
    height: auto;
    max-height: 90%;
    width: 80%;
    max-width: 350px;
    border-radius: 0.5rem;
    margin: 0 auto;
  }
}
@media (max-width: 576px) {
  .offcanvas.offcanvas-start {
    top: 9% !important;
    width: 90%;
    max-width: 280px;
  }
  .navbar-brand {
    font-size: 1.3rem;
  }
}

/* Mobile First Adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 0.25rem 0.75rem;
  }
  .offcanvas.offcanvas-start {
    top: 7% !important;
    width: 90%;
    max-width: 280px;
  }
  .logo-container {
    max-width: 180px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.4rem 0.5rem;
  }

  .offcanvas-body .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 480px) {
  .navbar-nav .nav-link {
    font-size: 0.95rem;
  }

  .offcanvas-title {
    font-size: 1.3rem;
    padding: 0.75rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .offcanvas-body .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }

  .offcanvas.offcanvas-start {
    top: 10%;
    width: 95%;
    max-width: 260px;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }
}


/* HERO SECTION */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 4.0rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1.5px 1.5px 6px rgba(0, 0, 0, 0.7); 
  animation: fadeIn 2s ease-in-out;
}

.hero-content p {
  font-size: 1.6rem;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5); 
  animation: fadeIn 2.5s ease-in-out;
}
/* Highlight Text */
.highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #0d3f9b 40%, #ff0000a4 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.highlight::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: white;
  text-shadow: 0 0 1px white, 0 0 2px white, 0 0 3px white;
}


/* Fade-in animation for a smooth entrance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*****************************************
  RESPONSIVE DESIGN
*****************************************/
/* Tablet Screens (Portrait & Landscape) */
@media (max-width: 992px) {
  .hero-content {
    padding: 0 10px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.3rem;
    max-width: 90%;
  }
}

/* Small Devices (Phones) */
@media (max-width: 576px) {
  .hero-content {
    padding: 0 5px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
}


/* JOB CATEGORIES */
.job-categories {
  padding: 80px 0;
  background-color: #f4f8fd;
}

.job-categories .section-subtitle {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2.6rem;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.job-categories .section-title {
  font-size: 1.7rem;
  font-weight: bold;
  margin-top: 10px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

/* Category Card */
.category-card {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-align: center;
  position: relative;
}

/* Gradient Accent Bar at the top */
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0D3E9B, #FF0000);
}

.category-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.category-card p {
  font-size: 1rem !important;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
}
.category-card p {
  font-size: 1rem !important;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
}
.section-description {
  font-size: 1.1rem;
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

/* Icon wrapper */
.icon-wrapper {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.category-card {
  transition: transform 0.2s ease-in-out;
}
.category-card:hover {
  transform: translateY(-4px);
}

.category-card .icon-wrapper i {
  transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}

.category-card:hover .icon-wrapper i {
  color: #FF0000;

  text-shadow:
    0 0 3px rgba(255,255,255,0.8),  
    0 0 6px rgba(225,0,0,0.5),      
    0 0 9px rgba(225,0,0,0.3);      
}



/* Responsive Layout */
@media (max-width: 992px) {
  .job-categories .section-subtitle {
    font-size: 1.6rem;
  }

  .job-categories .section-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .category-card {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .category-card h5 {
    font-size: 1.2rem;
  }

  .category-card .icon {
    font-size: 2rem;
  }
  .section-description {
    font-size: 1.1rem!important;
  }
  .find-more-jobs p {
    font-size: 1.1rem;
  }

  .find-more-jobs .btn {
    font-size: 0.9rem!important;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .job-categories {
    padding: 50px 0;
  }

  .job-categories .section-subtitle {
    font-size: 1.7rem;
  }

  .job-categories .section-title {
    font-size: 1.4rem;
  }

  .category-card h5 {
    font-size: 1rem;
  }
  .section-description {
    font-size: 1.1rem !important;
  }
  .category-card .icon {
    font-size: 1.7rem;
  }

  .find-more-jobs {
    padding: 1.5rem 1rem;
  }

  .find-more-jobs p {
    font-size: 0.9rem;
  }

  .find-more-jobs .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}


/* WHO WE ARE - Full Styling */
.who-we-are {
  position: relative;
  padding: 100px 0 60px;
  background: #f9fbfd;
  overflow: hidden;
}

.who-we-are::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: linear-gradient(135deg, rgba(13,62,155,0.12), rgba(255,0,0,0.12));
  clip-path: circle(50% at 75% 15%);
  animation: bubbleFloat 18s ease-in-out infinite;
  z-index: -2;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-12%, 12%) scale(1.05); }
}

.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%201440%20320%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20fill%3D%22%23fff%22%20fill-opacity%3D%220.9%22%20d%3D%22M0%2C32L1440%2C224L1440%2C320L0%2C320Z%22/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  transform: translateY(40%);
  z-index: -1;
  opacity: 0.9;
}


.who-we-are .container {
  z-index: 1;
  position: relative;
}

/* Section Title */
.who-we-are .section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0d3e9b;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}
.who-we-are .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ff0000;
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Description Text */
.who-we-are .section-description {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #444;
  background: #fff;
  padding: 30px 36px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #0D3E9B, #FF0000);
  border-image-slice: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.who-we-are .section-description:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.who-we-are img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.who-we-are img:hover {
  transform: scale(1.07) rotate(-0.8deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Card-style Bullets */
.who-we-are .bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.who-we-are .bullets li {
  position: relative;
  background: #ffffff;
  padding: 20px 24px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-top: 0.2px solid transparent;
  border-image: linear-gradient(90deg, #0D3E9B, #FF0000);
  border-image-slice: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.who-we-are .bullets li:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.who-we-are .bullets li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0D3E9B, #FF0000); 
}
.who-we-are .card-header {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0D3E9B;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.who-we-are .card-body {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .who-we-are { padding: 60px 0 40px; }
  .who-we-are .section-title { font-size: 2.2rem; }
  .who-we-are .section-description { font-size: 1.05rem; }
}
@media (max-width: 768px) {
  .who-we-are { padding: 50px 0 30px; }
  .who-we-are .section-title { font-size: 2rem; }
  .who-we-are .section-description { font-size: 1rem; padding: 24px 20px; }
  .who-we-are .bullets { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 576px) {
  .who-we-are .section-title { font-size: 1.8rem; }
  .who-we-are .section-description {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px 16px;
  }
  .who-we-are .bullets li { padding: 20px; padding-top: 30px; }
  .who-we-are img { margin-top: 1.2rem; }
}



/* -------------------------------------------------------
   ROOT VARIABLES (for easy tweaking)
   ------------------------------------------------------- */
   :root {
    /* Featured Jobs */
    --featured-title-size: 2.6rem;
    --featured-desc-size: 1.1rem;
  
    /* Positions Section */
    --positions-title-size: 2.6rem;
    --job-card-title-size: 1.5rem;
    --job-card-text-size: 1rem;
  
    /* Card Shadows */
    --card-shadow-light: rgba(0, 0, 0, 0.04);
    --card-shadow-strong: rgba(0, 0, 0, 0.12);
  
    /* Job Categories (if used elsewhere) */
    --job-category-title-size: 1.2rem;
    --job-category-text-size: 1rem;
  }
  
  /* =======================================================
     FEATURED POSITIONS SECTION
     ======================================================= */
  #featured-jobs {
    background-color: #f4f8fd;
    padding: 80px 0;
    text-align: center;
  }
  
  #featured-jobs h2 {
    font-size: var(--featured-title-size);
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 10px;
  }
  
  #featured-jobs p {
    font-size: var(--featured-desc-size);
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
  }
  /* custom.css */
.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

  /* Outline Primary Button */
  .btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  .btn-outline-primary:hover {
    background-color: #0056b3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
  }
  
  /* =======================================================
     MODAL STYLES
     ======================================================= */
  /* Modal Dialog */
  .modal-content {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    background: #ffffff;
    overflow: hidden;
    animation: fadeInUp 0.3s ease-out;
  }
  
  /* Modal Header */
  .modal-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 1.2rem 1.5rem;
    border-bottom: none;
  }
  .modal-title {
    font-weight: bold;
    font-size: 1.5rem;
  }
  .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
  }
  .btn-close:hover {
    opacity: 1;
  }
  
  /* Modal Body */
  .modal-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
      max-height: 60vh;
  overflow-y: auto;
  }
  .modal-body p {
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  margin-bottom: 1rem;
}
  .modal-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
  }
  .modal-body ul li {
    margin-bottom: 0.5rem;
  }
  
  /* Modal Footer */
  .modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    border-top: none;
    display: flex;
    justify-content: space-between;
  }
  .modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
    color: #fff;
    font-weight: 500;
  }
  .modal-footer .btn-secondary:hover {
    background-color: #5a6268;
  }
  .modal-footer .btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    transition: background-color 0.3s;
  }
  .modal-footer .btn-primary:hover {
    background-color: var(--secondary-color);
  }
  
  /* Animation */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
.modal-body .form-label {
  display: block;         
  text-align: left !important;  
  margin: 0 0 0.5rem;      
  padding: 0;         
   font-size: 1rem;     
}


.modal-body .border.rounded.p-2 {
  padding: 0.75rem 1rem !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  text-align: left !important;
 font-size: 1rem;
}


.modal-body .border.rounded.p-2 p,
.modal-body .border.rounded.p-2 ul {
  margin: 0 !important;
  padding: 0 !important;
}


.modal-body .border.rounded.p-2 ul {
  padding-left: 1.2rem !important;
}


.modal-body .border.rounded.p-2 {
  overflow-x: hidden;
}

  /* =======================================================
     POSITIONS LIST SECTION
     ======================================================= */
  .positions-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
  }
  
  .positions-section h2 {
    font-size: var(--positions-title-size);
    color: #0D3E9B;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  /* =======================================================
     JOB CARD (Featured & Positions)
     ======================================================= */
  .job-card {
    position: relative;
    background-color: #fff;
    border: none;
    box-sizing: border-box;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px var(--card-shadow-light);
    display: flex;
    flex-direction: column;
    flex: 1; 
  }
  .job-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, #0D3E9B, #FF0000);
  }
  .job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px var(--card-shadow-strong);
  }
  
  /* Card Body */
  .job-card .card-body,
  .job-card-body {
    padding: 25px;
    transition: background-color 0.3s ease;
    flex: 1;
  }
  .job-card:hover .card-body {
    background-color: #f1faff;
  }
  .job-card .card-title,
  .job-card-title {
    font-size: var(--job-card-title-size);
    font-weight: bold;
    color: #0D3E9B;
    margin-bottom: 15px;
    text-align: center;
  }
  .job-card p,
  .job-card-body p {
    font-size: var(--job-card-text-size) !important;
    color: #555;
    line-height: 1.6;
  }
  
  /* Card Footer */
  .job-card .card-footer,
  .job-card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    padding: 15px 25px;
    font-size: 0.9rem;
    color: #777;
    display: flex;
    justify-content: center;
  }
  
  /* =======================================================
     LATEST JOBS SECTION
     ======================================================= */
  .latest-jobs {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(13, 62, 155, 0.25), rgba(255, 0, 0, 0.25));
  }
  .latest-jobs .section-title {
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2.6rem;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
  }
  .latest-jobs .section-subtitle {
    color: #636b71;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.15rem;
    max-width: 600px;
  }
  
  /* -------------------------------------------------------
     JOBS HEADER (View Toggles)
     ------------------------------------------------------- */
  .jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .view-toggle .btn-toggle {
    width: 40px; height: 40px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .view-toggle .btn-toggle:hover {
    background-color: #f2f2f2;
  }
  .view-toggle .btn-toggle.active {
    border-color: #007bff;
    background-color: #e9f0ff;
  }
  .view-toggle svg {
    width: 16px; height: 16px;
    fill: #333;
  }
  
  /* =======================================================
     GRID / LIST VIEW WRAPPERS
     ======================================================= */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
  }
  .col {
    padding: 0 10px;
    width: 100%;
  }
  
  .row-cols-1 .col {
    width: 100%;
    max-width: 100%;
  }
  .row-cols-md-3 .col {
    width: 100%;
    max-width: 100%;
  }
  .row-cols-1 .col,
.row-cols-md-3 .col,
.list-view .col {
  display: flex;
}
.row-cols-md-3 .col {
  flex-direction: column;
  margin-bottom: 1rem;
}
/* Responsive Columns */
@media (min-width: 576px) {
  .row-cols-md-3 .col {
    width: 50%;
    max-width: 50%;
    padding: 0 10px;
  }
}

@media (min-width: 768px) {
  .row-cols-md-3 .col {
    width: 50%;
    max-width: 50%;
    padding: 0 12px;
  }
}

@media (min-width: 992px) {
  .row-cols-md-3 .col {
    width: 33.3333%;
    max-width: 33.3333%;
    padding: 0 15px;
  }
}

  
* List view override */
.list-view .jobs-container {
  width: 100% !important;
  margin: 0 auto;
}
.list-view .row {
  justify-content: center;
}
.list-view .col {
  width: 40%;
  max-width: 40%;
  margin-bottom: 1rem;
}

/* Mobile (max 575px) */
@media (max-width: 575.98px) {
  .list-view .col,
  .row-cols-md-3 .col {
    width: 92%;
    max-width: 92%;
    margin: 0 auto 1rem auto;
  }
  .row {
    margin: 0;
  }
  .col {
    padding: 0;
  }
}

/* Apply Button Centering */
.job-card .apply-button {
  margin: 10px auto 0 auto; 
}


.job-card:hover {
  transform: translateY(-2px);
  transition: 0.2s ease-in-out;
}

.apply-btn {
  
  display: inline-block;
  width: 60%;           
  margin: 0 auto;      
  text-align: center;
  font-weight: bold;
  background-color: #007bff;
  border: 1px solid #007bff;
  color: #fff;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure responsive rules do NOT override width/centering */
@media (max-width: 991.98px),
       (max-width: 767.98px),
       (max-width: 575.98px) {
  .apply-btn {
    width: auto !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    margin: 0 auto !important;
  }
}
.apply-btn:hover {
  background-color: #0056b3;   
  border-color:  #0056b3;
  box-shadow: none;           
}
  /* =======================================================
     PAGINATION
     ======================================================= */
  .jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  .jobs-pagination button {
    min-width: 40px; height: 40px;
    padding: 0.4rem 0.8rem;
    border: none; border-radius: 8px;
    background-color: #f0f4f8; color: #333;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  .jobs-pagination button:hover {
    background-color: var(--primary-color, #0D3E9B);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 61, 153, 0.15);
  }
  .jobs-pagination button:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
  }
  .jobs-pagination .active {
    background-color: var(--primary-color, #0D3E9B);
    color: #fff;
  }
  .page-info {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
  }
  
  /* =======================================================
     RESPONSIVE MEDIA QUERIES
     ======================================================= */
  /* Below 992px */
  @media (max-width: 991.98px) {
    #featured-jobs h2           { font-size: 2.2rem; }
    #featured-jobs p            { font-size: 1rem; padding: 0 1rem; }
    .positions-section h2       { font-size: 1.8rem; }
    .job-card .card-title       { font-size: 1.3rem; }
    .modal-title                { font-size: 1.3rem; }
    .modal-body                 { font-size: 0.95rem; }
    .latest-jobs .section-title { font-size: 2.2rem; }
    .latest-jobs .section-subtitle { font-size: 1rem; }
    .job-card-body               { padding: 1rem; }
    .apply-btn                   { width: 100%; font-size: 0.95rem; padding: 0.6rem 1rem; }
  }
  
  /* Below 768px */
  @media (max-width: 767.98px) {
    #featured-jobs h2           { font-size: 2rem; }
    #featured-jobs p            { font-size: 0.95rem; }
    .positions-section h2       { font-size: 1.6rem; }
    .job-card .card-body        { padding: 20px; }
    .job-card .card-title       { font-size: 1.2rem; }
    .job-card-body p            { font-size: 0.95rem; }
    .modal-footer               { flex-direction: column; gap: 10px; align-items: stretch; }
    .modal-footer .btn          { width: 100%; }
  }
  
  /* Below 576px */
  @media (max-width: 575.98px) {
    #featured-jobs h2           { font-size: 1.8rem; }
    #featured-jobs p            { font-size: 0.9rem; }
    .positions-section h2       { font-size: 1.4rem; }
    .job-card                    { margin-bottom: 20px; }
    .job-card .card-body .job-card-body       { padding: 1rem; }
    .job-card .card-title .job-card-title    { font-size: 1rem; }
    .job-card-body p .job-card p      { font-size: 0.9rem; }
    .job-card .card-footer .job-card-footer     { padding: 0.75rem 1rem; }
    .modal-body                 { padding: 1rem; }
    .modal-footer               { padding: 0.8rem 1rem; }
    .latest-jobs .section-title { font-size: 1.8rem; }
    .latest-jobs .section-subtitle { font-size: 0.95rem; }
    .apply-btn                   { font-size: 0.85rem; padding: 0.5rem 0.9rem; }
    .jobs-pagination            { flex-direction: column; gap: 0.5rem; }
    .jobs-pagination button     { font-size: 0.85rem; padding: 0.4rem 0.6rem; }
  }
  


  /* PERKS SECTION */

  :root {
    --accordion-font-size: 1.1rem !important;
    --accordion-font-size-sm: 1rem !important;
    --accordion-font-size-xs: 0.95rem !important;
  }


.perks-section {
  background-color: #f4f8fd;
  color: #000;
  padding: 80px 0;
  font-family: "Avenir", sans-serif;
}

/* SECTION TITLE */
.perks-section .section-title {
  margin-bottom: 10px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2.6rem;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}
.perks-section p {
  font-size: 1.1rem !important;
  color: #333;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

/* CUSTOM ACCORDION BUTTON */
.accordion-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: var(--accordion-font-size, 1.1rem); /* Editable via CSS variable */
  padding: 1rem 1.25rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  padding-right: 1.25rem;
}

/* REMOVE DEFAULT CHEVRON ARROW */
.accordion-button::after {
  display: none !important;
}

/* REMOVE FOCUS GLOW */
.accordion-button:focus {
  box-shadow: none;
}

/* ACCORDION BODY STYLING */
.accordion-body {
  background-color: #f1f5fc;
  color: #000;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 1.2rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 767px) {
  .perks-section {
    padding: 60px 20px;
  }

  .perks-section .section-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .perks-section {
    font-size: 1rem;
    line-height: 1.3;
  }
  .accordion-button {
    font-size: var(--accordion-font-size-sm, 1rem);
    padding: 0.9rem 1rem;
  }

  .accordion-body {
    font-size: 1rem;
    padding: 1rem;
  }
  .perks-section p {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  .perks-section {
    padding: 50px 15px;
  }
  .perks-section p {
    font-size: 0.9rem !important;
  }
  .accordion-button {
    font-size: var(--accordion-font-size-xs, 0.95rem );
    padding: 0.8rem 0.9rem;
  }

  .accordion-body {
    font-size: 0.875rem;
  }
}





    
/* Footer Area */
.footer-area {
  background-color: var(--primary-color, #333);
  color: #fff;
  padding: 40px 20px;
  font-family: "Avenir", sans-serif;
  text-align: center; 
}

/* Footer Widget Container */
.footer-widget {
  margin-bottom: 20px;
}

/* Centered Footer Content */
.footer-widget .container-sm {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.f-about .logo img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 1px 20px; /* Centers the logo */
}

/* Footer Support Text */
.footer-support {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 0.5rem; 
}

/* Footer Links */
.footer-link {
  margin-bottom: 20px;
}

.footer-link h6 {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-link ul {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.footer-link ul li {
  margin-bottom: 10px;
}

.footer-link ul li a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-link ul li a:hover {
  color: #ffdd57;
  text-shadow: 0 0 10px white;
}

/* Social Icons */
.social {
  display: flex;
  gap: 15px;
  justify-content: center; 
  margin-top: 15px;
}

.social li {
  list-style: none;
}

.social li a img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social li a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px #ffdd57);
}

/* Footer Bottom */
.footer-copyright {
  background-color: #e10000;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.footer-copyright p {
  margin: 0;
  font-size: 11px !important;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
  .footer-widget {
    text-align: left !important;
  }
  .footer-widget .row {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align everything to the left */
    text-align: left;
  }

  .footer-widget [class^="col-"] {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Align Logo to the Left */
  .f-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .f-about .logo img {
    margin-left: 0; /* Ensure it stays to the left */
  }

  /* Align Footer Support Text */
  .footer-support {
    text-align: left;
  }

  /* Align Footer Links */
  .footer-link ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* Justifies items to the left */
  }

  .footer-link ul li {
    text-align: left;
  }

  /* Align Social Icons */
  .social {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important; 
    gap: 10px !important; 
    flex-wrap: nowrap !important; 
    width: 100% !important; 
  }

  .social li {
    list-style: none !important;
    display: inline-block !important; 
  }

  .social li a {
    display: flex !important; /* Keeps images inline */
    align-items: center !important;
  }

  .social li a img {
    width: 40px !important;
    height: 40px !important;
    display: block !important;
  }

  /* Align Footer Copyright */
  .footer-copyright {
    text-align: left;
  }

  .footer-copyright p {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .footer-area {
    padding: 30px 15px;
  }

  .footer-link h6 {
    font-size: 16px;
    text-align: left;
  }

  .footer-link ul li a {
    font-size: 14px;
    text-align: left;
  }

  .footer-copyright {
    padding: 15px;
    margin: 0;
  }

  .footer-copyright p {
    font-size: 11px !important;
    line-height: 1.4;
  }
}


    


    /* BACK TO TOP BUTTON */

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;          
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;

  opacity: 0;                
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#back-to-top:hover {
  background-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transform: scale(1.1);
}

#back-to-top svg {
  transform: rotate(180deg);
  width: 24px;
  height: 24px;
}




/*================================================================================================================================================================*/
/* -------------------------------------------------------
   APPLY HTML
-------------------------------------------------------- */
/* -------------------------------------------------------
   GLOBAL BASE
-------------------------------------------------------- */
body {
  font-family: "Avenir", sans-serif;
  background-color: #f4f7fa;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------
   FORM CONTAINER
-------------------------------------------------------- */
.container-form {
  max-width: 800px;
  margin: 50px auto 60px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.container-form h1 {
  text-align: center;
  font-size: 1.9rem !important;
  color: #0D3E9B !important;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* -------------------------------------------------------
   FORM ELEMENTS
-------------------------------------------------------- */
.form-label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem !important;
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(13, 62, 155, 0.4);
  outline: none;
}

.form-section {
  background: linear-gradient(90deg, rgba(13, 62, 155, 0.9), rgba(255, 0, 0, 0.9));
  padding: 60px 0;
}

/* -------------------------------------------------------
   INPUT GROUP
-------------------------------------------------------- */
.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group-text {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-left: none;
}

/* -------------------------------------------------------
   JOB ID FIELD STYLING
-------------------------------------------------------- */
#jobId {
  font-weight: bold;
  background-color: #333;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}
/* -------------------------------------------------------
   JOB TITLE FIELD STYLING
-------------------------------------------------------- */
#jobTitle {
  font-weight: bold;
  background-color: #333;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}


/* -------------------------------------------------------
   FILE INPUT
-------------------------------------------------------- */
input[type="file"] {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.45rem 0.75rem;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
}

/* -------------------------------------------------------
   SUBMIT BUTTON
-------------------------------------------------------- */
button[type="submit"],
button.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 0.75rem 1.25rem;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: block;
  margin: 2rem auto 0 auto;
  width: auto;
}

button[type="submit"]:hover,
button.btn-primary:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.02);
}

/* -------------------------------------------------------
   FORM VALIDATION + PLACEHOLDER
-------------------------------------------------------- */
input[type="number"]::placeholder {
  color: #a6a6a6;
}

input[type="number"]:invalid {
  border-color: var(--secondary-color);
}

/* -------------------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------------------- */
@media (max-width: 992px) {
  .container-form {
    padding: 30px;
    margin: 40px auto;
    width: 90%;
    max-width: 800px;
  }

  .container-form h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .form-label {
    font-size: 1rem;
  }

  .form-control,
  .form-select {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
  }

  .input-group {
    flex-direction: row;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .input-group-text {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 8px 0 0 8px;
  }

  .input-group .form-control {
    font-size: 1rem;
    border-radius: 0 8px 8px 0;
    padding: 0.6rem 0.75rem;
  }

  input[type="file"] {
    font-size: 0.95rem;
  }

  #jobId {
    font-size: 1rem;
    padding: 0.5rem;
  }

  button[type="submit"],
  button.btn-primary {
    font-size: 1.05rem;
    padding: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container-form {
    padding: 25px;
    margin: 40px 15px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .container-form h1 {
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
  }

  .form-label {
    font-size: 1rem;
  }

  .form-control,
  .form-select {
    font-size: 0.95rem;
    padding: 0.55rem 0.75rem;
    border-radius: 7px;
  }

  .input-group {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .input-group-text {
    font-size: 0.95rem;
    padding: 0.6rem;
    text-align: center;
    justify-content: center;
    border-radius: 7px 7px 0 0;
    width: 100%;
  }

  .input-group .form-control {
    font-size: 0.95rem;
    border-left: 1px solid #ccc;
    border-radius: 0 0 7px 7px;
    padding: 0.55rem 0.75rem;
  }

  input[type="file"] {
    font-size: 0.95rem;
    padding: 0.45rem;
  }

  #jobId {
    font-size: 1rem;
    padding: 0.5rem;
  }

  button[type="submit"],
  button.btn-primary {
    font-size: 1.05rem;
    padding: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
  }
}


@media (max-width: 576px) {
  .container-form {
    padding: 20px;
    margin: 30px 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .container-form h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .form-control,
  .form-select {
    font-size: 0.9rem;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .input-group {
    flex-direction: column;
    width: 100%;
    display: flex;
    margin-bottom: 1rem;
  }

  .input-group-text {
    font-size: 0.9rem;
    border-radius: 6px 6px 0 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.55rem 0.75rem;
    text-align: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .input-group .form-control {
    border-left: 1px solid #ccc;
    border-radius: 0 0 6px 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }

  input[type="file"] {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  #jobId {
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    background-color: #333;
    color: #fff;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
  }

  button[type="submit"],
  button.btn-primary {
    width: 100%;
    padding: 0.65rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  button[type="submit"]:hover,
  button.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: scale(1.02);
  }
}




/* -----------------------------
   APPLICATIONS TABLE STYLES
   ----------------------------- */
   .table-responsive {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
  }
  
  #applicationsTable {
    width: 100%;
    border-collapse: collapse;
    font-family: "Avenir", sans-serif;
  }
/* Prevent table header misalignment */
table.dataTable {
  width: 100% !important;
  table-layout: auto;
}

/* Make external controls responsive */
#applications_length select,
#applications_filter input {
  max-width: 150px;
  padding: 6px 8px;
  font-size: 0.85rem;
  height: auto;
}
.dataTables_wrapper .dataTables_length select {
  width: auto;
  display: inline-block;
  margin-left: 0.5rem;
}
.dataTables_wrapper .dataTables_filter input {
  width: 250px;
  display: inline-block;
  margin-left: 0.5rem;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0;
  line-height: 1;
}
/* Style for current page number (non-clickable) */
.dataTables_paginate .current-page {
  font-weight: 500;
  color: #555;
  font-size: 0.85rem;
}
/* Style disabled pagination buttons */
.dataTables_paginate .paginate_button.disabled {
  color: #999 !important;
  background: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  cursor: not-allowed !important;
  pointer-events: auto !important; /* allow tooltip */
  position: relative;
}

/* Tooltip for disabled buttons */
.dataTables_paginate .paginate_button.disabled:hover::after {
  content: "No more pages";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #dc3545;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 10;
}
.dt-page-display {
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin: 0 5px;
padding: 9px;
  pointer-events: none;
}


  #applicationsTable th,
  #applicationsTable td {
    padding: 0.4rem 1rem;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
  }
  
  #applicationsTable thead th {
    background-color: #0d3e9b;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  #applicationsTable tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  #applicationsTable tbody tr:hover {
    background-color: #eef4ff;
  }
  
  #applicationsTable td {
    font-size: 0.875rem;
    color: #333;
  }
  
  #applicationsTable a.btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* -----------------------------
     MODAL FORM STYLES
     ----------------------------- */
  .modal-content {
    border-radius: 8px;
    overflow: hidden;
    font-family: "Avenir", sans-serif;
  }
  
  .modal-header {
    background: linear-gradient(90deg, #0d3e9b, #ff0000);
    color: #fff;
    border-bottom: none;
  }
  
  .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .modal-body .form-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
  }
  
  .modal-body .form-control,
  .modal-body .form-select {
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  
  .modal-body .input-group-text {
    background-color: #0d3e9b;
    color: #fff;
    border-radius: 6px 0 0 6px;
  }
  
  .modal-footer {
    background-color: #f4f4f4;
    border-top: none;
    padding: 1rem;
  }
  
  .modal-footer .btn-primary {
    background-color: #0d3e9b;
    border-color: #0d3e9b;
    font-weight: 600;
  }
  
  /* -----------------------------
     RESPONSIVE BREAKPOINTS
     ----------------------------- */
  /* Tablet (≤992px) */
  @media (max-width: 992px) {
    #applicationsTable th,
    #applicationsTable td {
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
    }
    .modal-dialog {
      max-width: 600px;
      margin: 1rem auto;
    }
    .modal-title {
      font-size: 1.1rem;
    }
       .table-responsive {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
  }
  }
  
  /* Mobile (≤576px) */
  @media (max-width: 576px) {
    #applicationsTable {
      font-size: 0.75rem;
    }
    #applicationsTable th,
    #applicationsTable td {
      padding: 0.4rem 1rem;
      white-space: pre-wrap;  
    }
    #applicationsTable thead {
      display: none;          
    }
    #applicationsTable tbody tr {
      display: block;
      margin-bottom: 1rem;
      border: 1px solid #ddd;
    }
    #applicationsTable tbody td {
      display: flex;
      justify-content: space-between;
      padding: 0.6rem;
      border: none;
      border-bottom: 1px solid #eee;
    }
    #applicationsTable tbody td::before {
      content: attr(data-label);
      font-weight: 600;
      color: #555;
      flex: 1 1 45%;
    }
    #applicationsTable tbody td:last-child {
      border-bottom: none;
    }
    .modal-dialog {
      width: 100%;
      margin: 0.5rem;
    }
    .modal-content {
      font-size: 0.9rem;
    }
       .table-responsive {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
  }
  }
  
/* -----------------------------------
   JOB POSTINGS TABLES
   ----------------------------------- */
   .table-responsive {
    margin-bottom: 2rem;
    overflow-x: auto;
  }
    .table-responsive td {
    white-space: normal;
    word-break: break-word;
  }
  .table-striped {
    width: 100%;
    border-collapse: collapse;
    font-family: "Avenir", sans-serif;
  }
  
  .table-striped th,
  .table-striped td {
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    white-space: nowrap;
  }
  
  .table-striped th {
 padding: 0.4rem 1rem;
  }
    .table-striped td {
 padding: 0.4rem 1rem;
  }
  .table-striped thead th {
    background-color: #0d3e9b;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  .table-striped tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .table-striped tbody tr:hover {
    background-color: #eef4ff;
  }
  
  .table-striped td {
    font-size: 0.875rem;
    color: #333;
  }
  
  .table-striped td .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* -----------------------------------
     MODAL STYLES (Create & Edit)
     ----------------------------------- */
  .modal-content {
    border-radius: 8px;
    overflow: hidden;
    font-family: "Avenir", sans-serif;
  }
  
  .modal-header {
    background: linear-gradient(90deg, #0d3e9b, #ff0000);
    color: #fff;
    border-bottom: none;
  }
  
  .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .modal-body .form-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
  }
  
  .modal-body .form-control,
  .modal-body .form-select,
  .modal-body textarea {
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  
  .modal-footer {
    background-color: #f4f4f4;
    border-top: none;
    padding: 1rem;
  }
  
  .modal-footer .btn-primary {
    background-color: #0d3e9b;
    border-color: #0d3e9b;
    font-weight: 600;
  }
  /* ------------------------------
   Modal Form: Fix Input–Group
   ------------------------------ */
.modal-body .input-group {
  display: flex;
  align-items: stretch;
}

.modal-body .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.modal-body .input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1;
}

/* Ensure consistent height */
.modal-body .input-group-text,
.modal-body .form-control {
  height: calc(1.5em + 1rem + 2px); /* matches default bootstrap form-control height */
  line-height: 1.5;
}

/* ------------------------------
   Modal Footer: Align Buttons
   ------------------------------ */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}


.modal-footer .btn {
  margin: 0;
}


.modal-footer {
  padding: 1rem 1.5rem;
}

  /* -----------------------------------
     RESPONSIVE BREAKPOINTS
     ----------------------------------- */
  /* Tablet (≤992px) */
  @media (max-width: 992px) {
    .table-striped th,
    .table-striped td {
      padding: 0.6rem 0.8rem;
      font-size: 0.85rem;
    }
    .modal-dialog {
      max-width: 600px;
      margin: 1rem auto;
    }
    .modal-title {
      font-size: 1.15rem;
    }
      .table-striped th {
 padding: 0.4rem 1rem;
  }
    .table-striped td {
 padding: 0.4rem 1rem;
  }
  }
  
  /* Mobile (≤576px) */
  @media (max-width: 576px) {
    .table-striped {
      font-size: 0.75rem;
    }
    .table-striped thead {
      display: none;
    }
    .table-striped tbody tr {
      display: block;
      margin-bottom: 1rem;
      border: 1px solid #ddd;
    }
      .table-striped th {
 padding: 0.4rem 1rem;
  }
    .table-striped td {
 padding: 0.4rem 1rem;
  }
    .table-striped tbody td {
      display: flex;
      justify-content: space-between;
      padding: 0.6rem;
      border: none;
      border-bottom: 1px solid #eee;
      white-space: normal;
    }
    .table-striped tbody td::before {
      content: attr(data-label);
      font-weight: 600;
      color: #555;
      flex: 1 1 45%;
    }
    .table-striped tbody td:last-child {
      border-bottom: none;
    }
    .modal-dialog {
      width: 100%;
      margin: 0.5rem;
    }
    .modal-content {
      font-size: 0.9rem;
    }
  }
  

/* -------------------------------------------------------
   BASE HTML & GLOBAL STYLES
   -------------------------------------------------------- */
body {
  font-family: "Avenir", sans-serif;
  margin: 0;
  background-color: #f8f9fc;
}

/* Sidebar Styles */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: linear-gradient(180deg, #0D3E9B, #051d45);
  color: #fff;
  overflow-y: auto;
  transition: left 0.3s ease, width 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
  z-index: 1050;
}

/* Sidebar Logo */
#sidebar .sidebar-logo {
  display: block;
  text-align: center;
  padding: 1.5rem 0;
}

#sidebar .sidebar-logo img {
  max-width: 80%;
  height: auto;
  display: inline-block;
}
.sidebar-logo-img {
  height: 35px;
  margin-top: 30px; 
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Nav links */
#sidebar .nav-link {
  color: #e0e0e0;
  padding: 12px 20px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
#sidebar .nav-link:hover,
#sidebar .nav-link.active {
  background: rgb(255, 255, 255);
  color: #0d3e9b;
  border-left: 3px solid #FF0000;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main content */
.main-content {
  margin-left: 240px;
  padding: 30px;
  min-height: 100vh;
  background: #f8f9fc;
  transition: margin-left 0.3s ease, filter 0.3s ease;
}
.main-content.sidebar-open {
  filter: brightness(0.7);
}
.main-content.sidebar-hidden {
  margin-left: 0;
}

/* Toggle button */
/* Toggle button */
.toggle-btn {
  position: fixed;
  top: 7px;
  left: 15px;
  z-index: 1060;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.toggle-btn:hover {
  background-color: #0d3e9b;
  color: #fff;
}
.toggle-btn.active {
  background-color: #ff0000;
  color: #fff;
}

/* Admin Navbar */
.navbar-top {
  background-color: #ffffff;
  padding: 12px 24px;
  border-bottom: 2px solid #0D3E9B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}
.header-divider {
  height: 2px;
  background-color: #0D3E9B;
  margin: 0;
}

.navbar-container {
  position: sticky;
  top: 0;
  z-index: 1049;             
  background-color: #ffffff; 
}


.navbar-container .navbar-top {
  margin-bottom: 0;
}

.navbar-top .navbar-text {
  font-weight: 600;
  color: #0d3e9b;
  font-size: 1.2rem;
}
.navbar-top .btn-danger {
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 6px;
  background-color: #FF0000;
  border: none;
}

/* Profile dropdown */
.profile-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.profile-wrapper .dropdown-toggle {
  background-color: rgba(13, 62, 155, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
}
.profile-wrapper:hover {
  background-color: rgba(13, 62, 155, 0.1);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}
.profile-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.profile-img:hover {
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transform: scale(1.05);
}
.dropdown-menu {
  min-width: 180px;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 0, 0, 0.1);
  color: #FF0000;
}




/* ===================================================
   MEDIA QUERIES
   =================================================== */

/* Mobile adjustments */
@media (max-width: 576px) {
  #sidebar {
    left: -250px;
  }
  #sidebar.open {
    left: 0;
  }
  .toggle-btn {
    display: block;
 top: 7px !important;
  left: 15px  !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }
  .sidebar-overlay {
    display: block;
  }
  .main-content {
    margin-left: 0;
  }
  .main-content.sidebar-open {
    margin-left: 0;
  }
}

/* Tablet/desktops: hide toggle, show sidebar by default */
@media (min-width: 768px) {
  #sidebar {
    left: 0; 
    width: 240px;
    transition: left 0.3s ease;
  }
  #sidebar.hidden {
    left: -240px; 
  }

  .main-content {
    margin-left: 240px;
    transition: margin-left 0.3s ease;
  }
  .main-content.sidebar-hidden {
    margin-left: 0; 
  }

  /* Keep toggle button visible on desktop */
  .toggle-btn {
    display: block;
 top: 7px !important;
  left: 15px  !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }

}

/* Position adjustments for toggle button at different breakpoints */

@media (min-width: 996px) {
  .toggle-btn {
 top: 7px !important;
  left: 15px  !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }
}

@media (min-width: 1024px) {
  .toggle-btn {
 top: 7px !important;
  left: 15px  !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }
}

@media (min-width: 1200px) {
  .toggle-btn {
     top: 7px !important;
  left: 15px  !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  } 
   .main-content.sidebar-open {
    filter: none;
  }
}



/* Hide overlay on desktop */
@media (min-width: 768px) {
  .sidebar-overlay {
    display: none !important;
  }
}


/* Loader Overlay */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 2s ease, visibility 2s ease;
}

/* Spinner Animation */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.1);
  border-top: 6px solid #FF0000;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 15px #0d3e9b; 
}

/* Spin Keyframes */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}





/* dashboard.css */
#adminDashboard {
  font-family: "Avenir", sans-serif;
}

/* Ensure cards span full width and have consistent padding */
#adminDashboard .card.dashboard-card {
  overflow: visible;
  padding: 0;
  border-radius: 0.75rem;
  background: #fff;
}

/* Card header styling */
#adminDashboard .card-header {
  background: #f7f9fc;
  border-bottom: 1px solid #e3e6f0;
  font-weight: 500;
  padding: 1rem 1.5rem;
}

/* Card body padding */
#adminDashboard .card-body {
  padding: 1.5rem;
}

/* Canvas: force full width */
#adminDashboard canvas#appsChart {
  width: 100% !important;
  height: auto !important;
  max-height: 300px;
}

/* Top 5 Jobs list: remove flush borders */
#adminDashboard #topJobsList .list-group-item {
  border: none;
  padding: .75rem 1.25rem;
}

/* Placeholder when empty */
#adminDashboard #topJobsList .text-muted {
  font-style: italic;
}

/* DataTables header theme */
#adminDashboard #recentAppsTable thead th {
  background-color: #004085;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-color: #003768;
}

/* DataTables row hover */
#adminDashboard #recentAppsTable tbody tr:hover {
  background-color: #f1f3f5;
}

/* DataTables pagination */
#adminDashboard .dataTables_paginate .paginate_button {
  padding: .25rem .5rem;
  margin: 0 .125rem;
  border-radius: .25rem;
}

/* Center the month selector inside header */
#adminDashboard .card-header select#monthSelect {
  margin-left: auto;
}
/* Wrap chart in a responsive container */
#adminDashboard .chart-container {
  position: relative;
  width: 100%;
  height: 300px;  /* desired chart height */
}

/* Let Chart.js fill the container */
#adminDashboard canvas#appsChart {
  width: 100% !important;
  height: 100% !important;
}

/* Ensure card bodies have consistent padding */
#adminDashboard .card.dashboard-card .card-body {
  padding: 1rem;
}

/* Make Top 5 list at least as tall as chart */
#adminDashboard #topJobsList {
  min-height: 300px;
}

/* Recent Applications spacing */
#adminDashboard .card.dashboard-card {
  margin-bottom: 1.5rem;
}

/* Better table header styling */
#adminDashboard #recentAppsTable thead th {
  background: #004085;
  color: #fff;
  text-transform: uppercase;
  font-size: .875rem;
  letter-spacing: .03em;
  border: 1px solid #003768;
}

/* Hover row highlight */
#adminDashboard #recentAppsTable tbody tr:hover {
  background: #f1f3f5;
}


/* Stacked icon+text on very small screens */
@media (max-width: 575.98px) {
  #adminDashboard .dashboard-card .card-body {
    flex-direction: column;
    gap: 0.5rem;
  }
  #adminDashboard .dashboard-card .fas {
    margin-right: 0;
  }
}






