/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff8f0;
  margin: 0;
  padding: 0;
}
/********** Template CSS **********/
:root {
  --primary: #034854;
  --secondary: #034854;
  --light: #effdf5;
  --dark: #2b3940;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: black;
  padding: 12px;
  border-radius: 0 25px 0 25px;
  background: transparent;
  border: 2px solid #034854 !important;
}
/* Hover Effect */
.btn.btn-primary:hover,
.btn.btn-secondary:hover {
  background: #034854 !important;
  color: #fff !important;
  border-color: #034854 !important;
  transform: translateY(-2px);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;

}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {

  .navbar-dark .navbar-nav .nav-link,
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: 100%;
    margin-top: 0;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}


/*** About ***/
.about-bg {
  background-image: -webkit-repeating-radial-gradient(center center,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px,
      transparent 100%);
  background-image: -moz-repeating-radial-gradient(center center,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px,
      transparent 100%);
  background-image: -ms-repeating-radial-gradient(center center,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px,
      transparent 100%);
  background-image: -o-repeating-radial-gradient(center center,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px,
      transparent 100%);
  background-image: repeating-radial-gradient(center center,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px,
      transparent 100%);
  background-size: 5px 5px;
}

.abtpara {
  text-align: justify;
}

/*** Category ***/
.cat-item {
  display: block;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  border: 1px solid transparent;
  transition: 0.5s;
}

.cat-item:hover {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

/*** Job Listing ***/
.nav-pills .nav-item .active {
  border-bottom: 2px solid var(--primary);
}

.job-item {
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.job-item:hover {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 5px solid var(--primary);
  border-radius: 2px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--dark);
  border-color: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
  border-color: var(--light);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* custom css  */

.homebg {
  background: #034854;
}


.iconjob {
  color: #034854;
}

.mainheading {
  color: #034854;
}

.readbtn {
  background: transparent;
  border: 3px solid #034854;
  border-radius: 0 25px 0 25px;
  color: #034854;
}

.expert {
  margin-bottom: 1px;
}


/* ===== Full Page Layout ===== */
.full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Card Styling ===== */
.card {
  border-radius: 15px;
  overflow: hidden;
}



/* ===== Form Elements ===== */
.form-label {
  font-weight: 500;
  color: #333;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

/* ===== Buttons ===== */
/* .btn {
  border-radius: 10px;
  padding: 10px;
  font-weight: 500;
  transition: 0.3s ease;
} */

/* .btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
} */

.btn-success {
  background-color: #198754;
  border: none;
}

.btn-success:hover {
  background-color: #157347;
}

/* ===== Links ===== */
/* a {
  text-decoration: none;
  font-weight: 500;
  color: #0d6efd;
} */

/* a:hover {
  text-decoration: underline;
} */

/* ===== Login / Signup Page Layout ===== */
.auth-container {
  min-height: 100vh;
}

/* ===== Full Page Background ===== */
.applied-jobs-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-size: cover;
  padding-bottom: 50px;
}

/* ===== Job Cards ===== */
.job-card {
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.95);
  /* slightly transparent */
}

/* Gradient headers for cards */
.login_header {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

.gradient-header-purple {
  background: linear-gradient(90deg, #7928ca 0%, #ff0080 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

.gradient-header-red {
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

/* Status Badges */
.badge {
  font-size: 0.85rem;
  padding: 0.5em 1em;
  border-radius: 50px;
}

/* Text Truncate */
.job-card p.text-truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* View Details Button */
.job-card a.btn-outline-primary {
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.job-card a.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Heading */
h2.text-white {
  font-weight: 700;
}

/* ===== Full Page Layout ===== */
.full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Card Styling ===== */
.card {
  border-radius: 15px;
  overflow: hidden;
}

.card-header {
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
}

/* ===== Form Elements ===== */
.form-label {
  font-weight: 500;
  color: #333;
}

.form-control, .form-select {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

/* ===== Buttons ===== */
.btn {
  border-radius: 10px;
  padding: 10px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}

.btn-success {
  background-color: #198754;
  border: none;
}

.btn-success:hover {
  background-color: #157347;
}

/* ===== Links ===== */
a {
  text-decoration: none;
  font-weight: 500;
  color: #0d6efd;
}

/*a:hover {*/
/*  text-decoration: underline;*/
/*}*/

/* ===== Login / Signup Page Layout ===== */
.auth-container {
  min-height: 100vh;
}

/* ===== Full Page Background ===== */
.applied-jobs-bg {
  min-height: 100vh;
  background: #fbeaea;
  background-size: cover;
  padding-bottom: 50px;
}

/* ===== Job Cards ===== */
.job-card {
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.95); /* slightly transparent */
}

/* Gradient headers for cards */
.gradient-header {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

.gradient-header-purple {
  background: linear-gradient(90deg, #7928ca 0%, #ff0080 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

.gradient-header-red {
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  border-radius: 15px 15px 0 0;
  padding: 12px 15px;
}

/* Status Badges */
.badge {
  font-size: 0.85rem;
  padding: 0.5em 1em;
  border-radius: 50px;
}

/* Text Truncate */
.job-card p.text-truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* View Details Button */
.job-card a.btn-outline-primary {
  font-size: 0.85rem;
  padding: 0.25rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.job-card a.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Heading */
h2.text-white {
  font-weight: 700;
}
.success-message {
      position: absolute;
      top: 150px;
      left: 50%;
      transform: translateX(-50%);
      background: #e7f9ed;
      color: rgb(4, 113, 23);
      border: 2px solid rgb(4, 113, 23);
      border-radius: 50px;
      padding: 8px 22px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      box-shadow: 0 4px 8px rgba(4, 113, 23, 0.15);
      animation: fadeIn 0.6s ease-in-out;
      z-index: 10;
    }
    .success-message i {
      font-size: 18px;
    }

    /* ✅ Fade-in Animation */
    @keyframes fadeIn {
      from { opacity: 0; transform: translate(-50%, -10px); }
      to { opacity: 1; transform: translate(-50%, 0); }
    }

    /* ✅ Responsive Adjustments */
    @media (max-width: 768px) {
      .top-buttons {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 10px;
      }

      .top-btn {
        font-size: 14px;
        padding: 6px 14px;
      }

      .success-message {
        top: 350px;
        font-size: 14px;
        padding: 6px 16px;
      }
    }

    /* ✅ Small Screens (extra spacing between buttons & message) */
    @media (max-width: 480px) {
      .top-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }

      /* Adds extra gap below buttons */
      .d-flex.align-items-center.justify-content-center.min-vh-100 {
        margin-top: 60px;
      }

      .success-message {
        top: 350px;
        font-size: 13px;
        padding: 5px 14px;
      }

      .top-btn {
        width: 80%;
        text-align: center;
        font-size: 14px;
      }
    }
    
    /* Hero Section */
    .hero {
      color: #fff;
      text-align: center;
      padding: 50px 20px;
    }
    .section-title h2 {
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 10px;
  }

  .section-title p {
    color: #555;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .service-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  }

  /* ✅ Icon Color Red */
  .service-card i {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 15px;
    transition: color 0.3s ease;
  }

  .service-card:hover i {
    color: #b02a37;
  }

  .service-card h4 {
    color: #0a3d62;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
  }

  .read-more {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    transition: color 0.3s ease;
  }

  .read-more:hover {
    color: #0056b3;
    text-decoration: underline;
  }

  /* Hidden content initially */
  .more-content {
    display: none;
    margin-top: 6px;
    text-align: left;
    animation: fadeIn 0.4s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .more-content p,
  .more-content ul {
    font-size: 0.9rem;
    color: #444;
  }

  .more-content ul {
    padding-left: 20px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .service-card { padding: 20px; }
    .service-card i { font-size: 36px; }
    .section-title h2 { font-size: 1.5rem; }
  }

  @media (max-width: 576px) {
    .service-card h4 { font-size: 1rem; }
    .service-card i { font-size: 32px; }
  }
  .cta{
    text-align: center;
    background-color: #034854;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #fff;
  }
  .cta a{
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px 10px 20px;
    border-radius: 0px 20px 0px 20px;
  }
.privacy-header {
      background-color: #034854;
      color: #fff;
      text-align: center;
      padding: 60px 15px;
    }

    .privacy-header h1 {
      font-weight: 600;
      font-size: 2.2rem;
    }

    .content-section {
      padding: 50px 100px;
      max-width: 1320px;
      margin: 0 auto;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .content-section h2 {
      color: #1e293b;
      font-weight: 600;
      margin-top: 40px;
      margin-bottom: 15px;
      font-size: 1.3rem;
    }

    .content-section p,
    .content-section li {
      font-size: 15px;
      color: #444;
    }

    ul {
      padding-left: 20px;
    }

    .contact-info {
      background-color: #fff4ec;
      padding: 20px;
      border-radius: 8px;
      margin-top: 30px;
    }
    /* Responsive */
  @media (max-width: 768px) {
    .content-section {
      padding: 50px 20px;}
  }

  @media (max-width: 576px) {
    .content-section {
      padding: 30px 20px;}
  }

  .terms-header {
      background-color: #034854;
      color: #fff;
      text-align: center;
      padding: 60px 15px;
    }

    .terms-header h1 {
      font-weight: 600;
      font-size: 2.2rem;
    }
    /* Equal height and alignment for expert sections */
section.container.py-5 .row.align-items-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Ensure all images have the same height and fit properly */
section.container.py-5 .row.align-items-center img {
  width: 100%;
  height: 400px; /* Adjust height as per your design */
  object-fit: cover; /* keeps aspect ratio while filling the space */
  border-radius: 10px; /* optional for smooth edges */
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  section.container.py-5 .row.align-items-center img {
    height: 250px; /* smaller image height on mobile */
  }
}
#clientLogoCarousel img {
  max-height: 70px;
  object-fit: contain;
}

#clientLogoCarousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.news-slider {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  width: 100%;
  background: #f8fafc;
  border-radius: 12px;
  padding: 15px 0;
}

.news-track {
  display: inline-block;
  white-space: nowrap;
  animation: slide 30s linear infinite;
}

.news-item {
  display: inline-block;
  margin: 0 30px;
  color: #034854;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  background: #fff;
  transition: 0.3s ease;
  border: 1px solid #e2e8f0;
}

.news-item:hover {
  background: #034854;
  color: #fff;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .news-item {
    font-size: 14px;
    margin: 0 15px;
    padding: 8px 16px;
  }
}
/* Login & Register buttons */
.btn-login, .btn-register {
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.5;
}

/* Login button (white background, dark border) */
.btn-login {
  color: #00303d;
  border: 2px solid #00303d;
  background-color: #fff;
}

.btn-login:hover {
  background-color: #00303d;
  color: #fff;
}

/* Register button (red background) */
.btn-register {
  color: #fff !important;
  background-color: #e63946;
  border: 2px solid #e63946;
}

.btn-register:hover {
  background-color: #c92e3c;
  border-color: #c92e3c;
}
/* Fix alignment of Login/Register buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 5px; /* small spacing from menu */
}
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 15px;
  margin-right: 40px; /* ⬅️ add space from right side */
}
/* Remove left margin on mobile */
@media (max-width: 767px) {
  .auth-buttons {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .homebg {
    padding: 15px 8px !important;
  }
  .searchbtn {
    margin-top: 8px !important;
    width: 100%;
  }
}

