html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.section {
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section1 {
  background: linear-gradient(to right, #002f21, #6e0000, #ffffff);
  padding: 0 !important;
}

}

.section2 {
  background: #003049;
}

.section3 {
  background-color: #000012 !important;
  color: #ffffff;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.section3-header {
  background-color: #000;
  width: 104%;
  margin-left: -30px;
}

.section3-header h2 {
  font-size: 2rem;
  margin: 0;
}

.navbar {
  z-index: 1000;
  background-color: black;
  color: white;
}

.navbar-nav .nav-link {
  color: rgb(207, 217, 248);
  font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
  color: rgb(111, 173, 209);
  font-size: 1.1rem;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  /* Vertically center content */
  align-items: center;
  /* Horizontally center content */
  height: 100%;
  /* Make sure it takes full height */
}

.hero-img {
  display: flex;
  justify-content: center;
  /* Horizontally center the image */
  align-items: center;
  /* Vertically center the image */
  height: 100%;
  /* Ensure the container takes full height */
}

.hero-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .section {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    transition: transform 1s ease;
  }


  html,
  body {
    overflow: hidden;
  }

  .hero-content {
    flex-direction: row;
    justify-content: center;
    /* Center items horizontally */
    align-items: center;
    /* Center items vertically */
  }

  .navbar {
    background-color: #000000BB;
  }

  .info-image {
    width: 80px;
    height: 80px;
    background-size: auto;
  }

  .section3-header h2 {
    font-size: 2.5rem;
  }


  .training-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-left: 0;
  }

  .training-title::before {
    display: none;
  }

  .certificate-container {
    margin-top: 2rem;
  }

  .section:not(.process-section) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    transition: transform 1s ease;
  }

  /* Keep process-section scrollable on desktop */
  .process-section {
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
  }

  .accordion-body {
    max-height: 40vh;
    overflow-y: auto;
  }


}

@media (max-width: 767px) {
  .section3 {
    height: auto !important;
    padding-top: 5rem;
    /* Add spacing since navbar is fixed */
  }

  .section3-header {
    background-color: #000;
    width: 115%;
    margin-left: -30px;
  }

  .section1 {
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    padding: 1rem !important;
  }

  .section1 .row {
    margin: 0;
  }

  body,
  html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

}


.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.navbar .btn {
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 0.95rem;
}

.active-link {
  font-weight: bold;
  border-bottom: 2px solid white;
}


.migration-section {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem;
  overflow: hidden;
  color: #ffffff;
}


.process-section {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem;
  overflow: visible;
  color: #ffffff;
}

.process-section2 {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem;
  overflow: visible;
  color: #ffffff;
}


.blurred-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center center;
  background-size: cover;
  filter: blur(10px);
  z-index: 0;
}

.migration-section .container {
  position: relative;
  z-index: 2;
}

.process-section .container {
  position: relative;
  z-index: 3;
}

process-section2 .container {
  position: relative;
  z-index: 3;
}

.vertical-line {
  width: 2px;
  height: 150px;
  background-color: #1e40af;
  margin: 0 auto;
}

.card-option {
  background-color: white;
  padding: 2rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  color: #0f0c29;
}

.card-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bi {
  font-size: 1.2rem;
  color: #0f0c29;
}


/* Section 3 custom styles */
.section3 {
  background: #0d1b2a;
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.info-card {
  background-color: rgba(0, 52, 148, 0.212);
  border-radius: 12px;
  color: #e0e1dd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* Image placeholders styled to match uploaded layout */
.info-image {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.consultant-image {
  background-image: url('consultant.avif');
  /* placeholder image */
}

.process-image {
  background-image: url('migration.avif');
  /* placeholder image */
}


.section4 {
  background: linear-gradient(to right, #0c0735, #201a68, #2828a1);
  color: white;
}

.training-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 1rem;
}

.training-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 5px;
  background-color: #cc6699;
}

.training-card {
  background-color: rgba(0, 0, 40, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  padding: 12px;
}

.training-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(108, 122, 224, 0.5);
}

.icon-container {
  width: 36px;
  height: 36px;
  background-color: #0d6efd;
  /* Example background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-align {
  font-size: 20px;
  line-height: 1;
}

/*
.icon-container {
  margin-bottom: 1rem;
  color: #6c7ae0;
  font-size: 1.8rem;
} */

.card-title {
  font-weight: 600;
  margin: 0.5rem 0;
  color: #ffffff;
}

.certificate-container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate-person {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}


.section5,
.section7,
.section9,
.section11,
.section14 {
  background-color: #000012;
}


.section5 h2 {
  font-size: 2.5rem;
  color: #fff;
}


.card {
  background-color: #12143a;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  object-fit: cover;
  height: 200px;
}

.card-body {
  background-color: #000220 !important;
}

.job-card-title {
  font-size: 1.1rem;
}

.success-card-title {
  font-size: 1.3rem;
}

.card-text {
  font-size: 0.95rem;
  color: #cfd3ff;
}


.section6,
.section8,
.section10,
.section16 {
  background-color: black;
}

.section12 {
  background-color: #e5e0df;
  color: black;
}


.dark-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('social-back.avif') no-repeat center center;
  background-size: cover;
  filter: brightness(25%);
  z-index: 0;
}


.process-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('world.avif') no-repeat center center;
  background-size: cover;
  filter: brightness(25%);
  z-index: 0;
}


.section6 h2 {
  font-size: 2.5rem;
  color: #fff;
}

.section12 h2 {
  font-size: 2.5rem;
  color: black;
}

.section8-h1 {
  font-size: 3rem;
  color: #fff;
}


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

.accordion-transparent .accordion-button {
  background-color: transparent;
  color: white;
  box-shadow: none;
  font-weight: bold;
}

.accordion-transparent .accordion-button:not(.collapsed) {
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  /* Optional slight highlight */
}

.accordion-transparent .accordion-body {
  font-weight: bold;
  background-color: transparent;
  color: white;
}

.footer a:hover {
  text-decoration: underline;
  color: #ccc;
}

.footer i {
  font-size: 1.1rem;
}

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 9999;
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #0b5ed7;
  transform: translateY(-3px);
}


.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-left {
  left: 5px;
}

.scroll-right {
  right: 10px;
}

#home-carousel::-webkit-scrollbar,
#mou-carousel::-webkit-scrollbar,
#job-carousel::-webkit-scrollbar,
#how-carousel::-webkit-scrollbar,
#success-carousel::-webkit-scrollbar,
#migration-carousel::-webkit-scrollbar {
  display: none;
}


#mou-carousel,
#job-carousel,
#how-carousel,
#success-carousel,
#migration-carousel {
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}


#home-carousel {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.home-slide {
  scroll-snap-align: start;
  min-width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}


body {
  overflow-x: hidden;
}


.equal-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}