body {
  font-family: "Poppins", sans-serif;
}

.fade {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 1, 1);
}

section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (max-width: 992px) {
  section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.btn {
  padding: 12px 30px;
  border-radius: 0 20px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}

.top-bar {
  background-color: #123b6d;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}

.top-bar i {
  color: #ffffff;
  margin-right: 6px;
}

.top-bar a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
}

.top-bar a:hover {
  color: #ffffff;
}

.navbar-brand {
  font-weight: 700;
  font-size: 22px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  color: #333;
}

.navbar-nav .nav-link.active {
  color: #164885 !important;
}

.login-btn {
  background-color: #164885;
  color: #fff;
}

.login-btn:hover {
  background-color: #123b6d;
  color: #fff;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1050;
  overflow-y: auto;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.mobile-menu.open {
  right: 0;
  width: 100%;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}
.mobile-menu-header .close-mobile-menu {
  font-size: 30px;
  cursor: pointer;
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.mobile-menu-nav li {
  border-bottom: 1px solid #eee;
}
.mobile-menu-nav a {
  display: block;
  padding: 15px 10px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 20px;
}
.submenu li a {
  font-size: 16px;
  padding: 10px 0;
}
.submenu-toggle span {
  float: right;
}

.mobile-menu-contact {
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}
.mobile-menu-contact div {
  margin-bottom: 1rem;
}
.mobile-menu-contact i {
  margin-right: 1rem;
  color: #164885;
  font-size: 1.35rem;
}

.hero-section {
  position: relative;
  background: url("../img/homepage-bg.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

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

.hero-card {
  background-color: #164885;
  padding: 60px;
  border-radius: 0 75px;
  color: #fff;
  max-width: 650px;
}

.hero-card .btn-start {
  background-color: #fff;
  color: #164885;
}

.hero-card .btn-start:hover {
  background-color: #f2f2f2;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-card {
    max-width: 100%;
    padding: 40px;
    border-radius: 0 50px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }

  .hero-card {
    padding: 30px;
    border-radius: 0 50px;
    max-width: 100%;
  }

  .hero-card .btn-start {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }
}

.services-section {
  position: relative;
  background: #f1f6fb;
  overflow: hidden;
  min-height: 100vh;
}
.services-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: #164885;
  z-index: 0;

  background: linear-gradient(#164885de, #164885de),
    url("../img/service-section-bg.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-subtitle {
  color: #164885;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 40px;
}

.services-tabs .nav-link {
  background: #ffffff;
  border-radius: 0 20px;
  padding: 15px 25px;
  margin-right: 15px;
  font-weight: 600;
  color: #333;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.services-tabs .nav-link i {
  margin-right: 10px;
}

.services-tabs .nav-link.active {
  background: #0f2f57;
  color: #fff;
}

.service-content-wrapper {
  background: #fff;
  padding: 60px;
  border-radius: 0 70px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  transition: transform 1s ease;
}

.service-image-wrapper {
  position: relative;
}

.service-image-wrapper::before {
  content: "";
  position: absolute;
  top: -25px;
  right: -25px;
  width: 100%;
  height: 100%;
  background: #164885;
  border-radius: 0 50px;
  z-index: -1;
}

.service-image-wrapper img {
  width: 100%;
  border-radius: 0 50px;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #164885;
}

.view-btn {
  background: #164885;
  color: #fff;
  display: inline-block;
  margin-top: 20px;
}

.view-btn:hover {
  background: #123b6d;
  color: #fff;
}

@media (max-width: 992px) {
  .services-section::after {
    display: none;
  }

  .service-content-wrapper {
    padding: 30px;
  }

  .services-tabs .nav-link {
    margin-bottom: 10px;
    width: 100%;
  }

  .top-bar {
    display: none;
  }
}

@media (max-width: 576px) {
  .services-section::after {
    display: none;
  }

  .service-content-wrapper {
    padding: 20px;
    border-radius: 0 50px;
  }

  .service-image-wrapper img {
    border-radius: 0 30px;
    width: 92%;
  }

  .service-image-wrapper::before {
    right: 0px;
    width: 92%;
    border-radius: 0 30px;
  }

  .services-tabs .nav-link {
    margin-bottom: 10px;
    width: 100%;
  }

  .top-bar {
    display: none;
  }

  .view-btn {
    width: 100%;
  }
}

footer {
  background-color: #0f172a;
}

footer h1 {
  font-size: 36px;
  letter-spacing: -0.5px;
}

footer h5 {
  color: #ffffff;
}

footer p {
  color: #ffffff;
}

footer .btn-dark {
  background-color: #333;
  border: none;
}

footer .btn-danger {
  background-color: #ff6f61;
  border-color: #ff6f61;
}

footer .btn-danger:hover {
  background-color: #e65b51;
  border-color: #e65b51;
}

footer .list-unstyled {
  padding-left: 0;
}

footer .list-unstyled li {
  color: #ffffff;
}

footer .list-inline-item {
  margin-right: 20px;
}

footer .list-inline-item a {
  color: #ffffff;
  text-decoration: none;
}

footer .list-inline-item a:hover {
  color: #ff6f61;
}

footer .input-group input {
  border-radius: 0;
}

footer .input-group button {
  background-color: #ff6f61;
  color: #fff;
  border: none;
}

footer .input-group button:hover {
  background-color: #e65b51;
}

footer .col-md-3 {
  margin-bottom: 30px;
}

footer .bi {
  margin-right: 10px;
}

.btn-submit {
  background: #164885;
  color: white;
}

.footer-title {
  position: relative;
  padding-bottom: 10px;
}

.footer-title:before {
  content: "";
  position: absolute;
  border: 0;
  width: 40px;
  height: 3px;
  background: #fff;
  z-index: 1;
  margin-left: 0;
  bottom: 0;
  left: 0;
}

.card {
  border: none;
  overflow: hidden;
  padding: 30px;
  border-radius: 0 50px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

@media (max-width: 576px) {
  .card {
    padding: 20px;
    border-radius: 0 40px;
  }
}

.card-footer {
  background-color: transparent;
  border-top: none;
}

.contact-section {
  position: relative;
  /* background: #f1f6fb; */
  overflow: hidden;
}

.contact-card {
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.accordion-item {
  border: none;
  background: none;
}

.accordion-item:first-of-type > .accordion-header .accordion-button {
  border-radius: 0 20px;
}

.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  border-radius: 0 20px;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #164885;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
    var(--bs-accordion-border-color);
  border-radius: 0 20px 0 0 !important;
}

.accordion-button {
  background-color: #f1f6fb;
  color: #333;
  border-radius: 0 20px;
}

.accordion-button::after {
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background-color: #f1f6fb;
  border-radius: 0 0 0 20px;
  border: 1px solid #164885;
}

/* ================= MANPOWER FORM ================= */
/* ================= MULTI STEP FORM ================= */

.step-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  position: relative;
}

.step-progress::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ddd;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.step-circle {
  width: 40px;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
  line-height: 40px;
  margin: 0 auto 10px;
  font-weight: 600;
  color: #fff;
}

.step.active .step-circle {
  background: #d60000;
}

.step-title {
  /* font-size: 14px; */
  font-weight: 600;
}

.form-step {
  display: none;
  animation: fadeEffect 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wizard-btn {
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
}

.btn-next {
  background: #d60000;
  color: #fff;
}

.btn-prev {
  background: #6c757d;
  color: #fff;
}

.submition-form-section {
  /* padding: 100px 0; */
  background: #f8f9fa;
}

.submition-form-card {
  background: #ffffff;
  padding: 50px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-section-title {
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 0.5rem;
  color: #164885;
  position: relative;
}

.form-section-title:before {
  content: "";
  position: absolute;
  border: 0;
  width: 50px;
  height: 3px;
  background: #164885;
  z-index: 1;
  margin-left: 0;
  bottom: 0;
  left: 0;
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 10px 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: #d60000;
  box-shadow: 0 0 0 0.15rem rgba(214, 0, 0, 0.15);
}

.form-check-input:checked {
  background-color: #d60000;
  border-color: #d60000;
}

.required-label::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.submit-btn {
  background: #164885;
  color: #fff;
  border: none;
}

.submit-btn:hover {
  background: #123b6d;
  color: #fff;
}

@media (max-width: 992px) {
  .submition-form-card {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .submition-form-card {
    padding: 20px;
  }
}

/* =========================
   PROCESS SECTION STYLE
========================== */

.process-section {
  background: #f8f9fa;
}

.process-card {
  background: #ffffff;
  padding: 50px 35px;
  border-radius: 0 50px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 0 40px;
  background: transparent;
  box-shadow: 5px 5px 0 #164885;
  opacity: 0.2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.process-card:hover::before {
  opacity: 0.6;
}

@media (max-width: 576px) {
  .process-card {
    padding: 30px;
    border-radius: 0 40px;
  }

  .process-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 0 30px;
    border: 1px solid #164885;
    z-index: 0;
  }
}

/* Bottom Red Border (Hidden by Default) */
/* .process-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 4px;
  background: #164885;
  transition: width 0.4s ease;
} */

/* Hover Effect */
.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.process-card:hover::after {
  width: 100%;
}

/* Icon Styling */
.process-card .icon-box i {
  font-size: 55px;
  color: #164885;
}

/* Title */
.process-card h3 {
  font-weight: 700;
  /* font-size: 26px; */
  color: #0f2b3d;
  margin-bottom: 20px;
}

/* Paragraph */
.process-card p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.8;
}

.resume-section {
  background: #f1f6fb;
  position: relative;
  overflow: hidden;
}

/* IMAGE AREA */
/* .resume-images {
  position: relative;
  display: flex;
  gap: 25px;
  justify-content: center;
  perspective: 1000px;
}

.image-wrapper {
  width: 48%;
  border-radius: 40px;
  overflow: hidden;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-wrapper:hover {
  transform: perspective(300px) rotateX(0deg) rotateY(0deg) scale(1.03);
} */

.image-wrapper {
  position: relative;
  width: 100%;
  height: 410px;
  aspect-ratio: 1;
}

/* cards */
.image-wrapper img {
  position: absolute;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.8s ease;
}

/* positions */
.image-wrapper img:nth-child(1) {
  left: 0%;
  z-index: 1;
  transform: scale(0.9) !important;
}

.image-wrapper img:nth-child(2) {
  left: 26%;
  z-index: 3;
  transform: scale(1);
  box-shadow: 0px 0px 35px 10px rgb(0 0 0 / 25%);
}

.image-wrapper img:nth-child(3) {
  left: 40%;
  z-index: 2;
  transform: scale(0.9) !important;
}

/* reveal */
.image-wrapper.show img {
  opacity: 1;
  transform: translateY(0);
}

.image-wrapper.show img:nth-child(1) {
  transition-delay: 0s;
}
.image-wrapper.show img:nth-child(2) {
  transition-delay: 0.15s;
}
.image-wrapper.show img:nth-child(3) {
  transition-delay: 0.3s;
}
/* 
@media (max-width: 992px) {
  .image-wrapper {
    height: 456px;
  }
}

@media (max-width: 768px) {
  .image-wrapper {
    height: 338px;
  }
}

@media (max-width: 576px) {
  .image-wrapper {
    height: 228px;
  }
} */

/* Decorative Red Lines */
.shape {
  position: absolute;
  width: 120px;
  height: 8px;
  background: #dc3545;
  border-radius: 10px;
}

.shape-top {
  top: -20px;
  right: 40px;
  transform: rotate(45deg);
}

.shape-bottom {
  bottom: -20px;
  left: 40px;
  transform: rotate(45deg);
}

/* candidate card  */

.candidate-card {
  border-radius: 0 40px;
  min-height: 312px;
}

.candidate-card .card-body {
  padding: 0;
}

.candidate-avatar {
  width: 50px;
  height: 50px;
}

/* Button positioned absolutely */
.card-hover-action {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  /* height: 55px; */
  margin: 0 15px;

  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.candidate-card:hover {
  padding-bottom: 70px;
}

/* Show on hover */
.candidate-card:hover .card-hover-action {
  opacity: 1;
  transform: translateY(0);
}

.candidate-card:not(:hover) .card-hover-action {
  transform: translateY(-15px);
  transition: all 0.3s ease;
}

/* Always visible on mobile */
@media (max-width: 768px) {
  .card-hover-action {
    position: static;
    opacity: 1;
    transform: none;
    margin: 0 15px;
  }
}

@media (max-width: 576px) {
  .candidate-card .card-hover-action {
    position: static;
    opacity: 1;
    transform: none;
    padding-top: 20px;
    margin: 0;
  }
}

/* .upload-box {
  border: 2px dashed #16488540;
  border-radius: 12px;
  transition: 0.3s ease;
}

.upload-box:hover {
  border-color: #164885;
  background: #f1f6fb;
}

.upload-ui {
  padding: 30px;
  text-align: center;
  cursor: pointer;
}

.upload-ui i {
  font-size: 32px;
  margin-bottom: 10px;
}

.file-name {
  font-size: 14px;
  color: #164885;
  font-weight: 500;
} */

.upload-box {
  border: 2px dashed #16488540;
  border-radius: 12px;
  transition: 0.3s ease;
  background: #fff;
}

.upload-box:hover {
  border-color: #164885;
  background: #f1f6fb;
}

.upload-ui {
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.upload-ui i {
  font-size: 36px;
}

.remove-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.remove-button i {
  font-size: 24px;
}

.file-preview-card {
  background: #f8fafc;
  border: 1px solid #e3eaf2;
  border-radius: 10px;
  padding: 10px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
