/* ================= banner ================= */
#banner {
  background-color: var(--primary-blue);
  position: relative;
  margin-top: var(--nav-height);
}

#banner .left {
  padding: 3.2rem 1rem 4rem;
  margin: auto 0;
}

#banner .left h2 {
  color: #fff;
}

#banner .left p {
  font-size: 1.3rem;
  color: #fff;
  margin: 3rem 0;
}

#banner .left button {
  background-color: var(--primary-red);
  color: #fff;
  font-size: 18px;
  border-radius: 50px;
  padding: 12px 40px;
  border: none;
}

#banner .left button:hover {
  background-color: var(--primary-yellow);
}

#banner .right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

#banner .sm-guy-div.right .laptop-guy img {
  width: 100%;
}

#banner .lg-guy-div.right {
  display: block;
}

#banner .sm-guy-div.right {
  display: none;
}

#banner .lg-guy-div.right img {
  width: 120%;
  bottom: 0;
  left: -2rem;
}

@media (max-width: 1600px) {
  #banner .lg-guy-div.right img {
    width: 110%;
  }
}

@media (max-width: 991px) {
  #banner .lg-guy-div.right {
    display: none;
  }
  #banner .sm-guy-div.right {
    display: block;
  }
}

@media (max-width: 400px) {
  #banner .left {
    margin-top: 2rem;
  }
}

/* ================= about-us ================= */
#about-us {
  background-color: #fff;
  padding: 8rem 0 3rem;
}

#about-us h2 {
  text-transform: capitalize;
  margin-bottom: 2rem;
  color: var(--primary-font);
}

#about-us .left {
  padding-right: 2rem;
}
#about-us .left p {
  font-size: 18px;
  color: var(--primary-font);
  margin-bottom: 3rem;
}

#about-us .right ul li .question {
  color: var(--primary-blue);
  font-size: 24px;
  padding: 2rem 0;
  font-weight: 600;
  border-top: 1px solid rgba(0, 15, 161, 0.1);
  cursor: pointer;
}

#about-us .right ul li .question:hover {
  font-size: 28px;
  padding: 1.8rem 0;
  transition: 0.2s ease;
}

#about-us .right ul li .anwser {
  margin-bottom: 1rem;
}

#about-us .right ul li:last-child {
  border-bottom: 1px solid rgba(0, 15, 161, 0.1);
}

#about-us .right ul li img {
  float: right;
  width: 30px;
}

@media (max-width: 400px) {
  #about-us .right ul {
    padding-left: 0;
  }
  #about-us .right ul li {
    font-size: 20px;
  }
}

/* ================= intern-and-experience ================= */
#internships-and-experience {
  background-color: #fff;
  padding: 5rem 0 5rem;
  border-bottom: 1rem solid var(--secondary-red);
}

#internships-and-experience h2 {
  text-transform: capitalize;
  margin-bottom: 4rem;
  color: var(--primary-font);
}

#internships-and-experience .row {
  margin: 0;
}

#internships-and-experience .left {
  padding: 0;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  flex-wrap: wrap;
}

#internships-and-experience .left .intern-card {
  padding: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  #internships-and-experience .left .intern-card {
    flex: 0 0 auto;
    width: 50%;
  }
}

#internships-and-experience .left .intern-head {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: .5rem;
}

#internships-and-experience .right {
  background-color: var(--primary-yellow);
}

#internships-and-experience .right .img-placeholder {
  width: 500px;
  height: 500px;
}

/* ================= students-saying ================= */

#students-saying {
  background-color: #fff;
  padding: 15rem 0 10rem;
  position: relative;
}

#students-saying .blur-bg {
  position: absolute;
  z-index: 3;
}

#students-saying .blur-bg.blur-yellow {
  top: 100px;
  right: 100px;
  width: 200px;
  height: 150px;
  filter: blur(120px);
  border-radius: 50%;
  background-color: var(--primary-yellow);
}

#students-saying .blur-bg.blur-blue {
  bottom: 50px;
  left: 200px;
  width: 200px;
  height: 200px;
  filter: blur(150px);
  border-radius: 50%;
  background-color: var(--primary-blue);
}

#students-saying .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#students-saying .text {
  width: 220px;
  text-align: center;
  z-index: 5;
}

#students-saying .text h3 {
  margin-bottom: 2rem;
}

#students-saying .text a {
  display: block;
  width: 200px;
  text-align: center;
  background-color: #fff;
  color: var(--primary-red);
  text-decoration: none;
  padding: 10px 0;
  border: 1px solid var(--primary-red);
  border-radius: 40px;
  margin: 0 auto;
}

#students-saying .text a:hover {
  background-color: var(--primary-red);
  color: #fff;
}

#students-saying .wrap {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  position: relative;
}

#students-saying .ring-small {
  position: absolute;
  width: 400px;
  height: 400px;
  animation: rotate 120s linear infinite;
  z-index: 2;
}

#students-saying .ring-small span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(calc(4deg * var(--i)));
}

#students-saying .ring-small span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 8px;
  background: var(--primary-yellow);
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.1);
  animation-delay: calc(-0.25s * var(--i));
}

#students-saying .ring-small-invisible {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  z-index: 2;
}

#students-saying .ring-small-invisible div,
#students-saying .ring-large-invisible div {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 2px solid black;
  background-color: white;
  z-index: 10;
  position: absolute;
  border-radius: 50%;
}

#students-saying .ring a div:hover {
  border: 4px solid black;
  filter: contrast(150%);
}

#students-saying .student-s-1 {
  left: 250px;
  width: 70px;
  height: 70px;
}

#students-saying .student-s-2 {
  top: 40px;
  left: 20px;
  width: 60px;
  height: 60px;
}

#students-saying .student-s-3 {
  top: 250px;
  left: 0px;
  width: 60px;
  height: 60px;
}

#students-saying .student-s-4 {
  top: 280px;
  right: 15px;
  width: 60px;
  height: 60px;
}

#students-saying .ring-large {
  position: absolute;
  width: 650px;
  height: 650px;
  transform: skew(15deg);
  /* animation: rotate 180s linear infinite; */
}

#students-saying .ring-large span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(calc(3deg * var(--i)));
}

#students-saying .ring-large span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 7px;
  background: var(--primary-blue);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  animation-delay: calc(-0.25s * var(--i));
}

#students-saying .ring-large-invisible {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
}

#students-saying .student-l-1 {
  left: 300px;
  top: -30px;
  width: 90px;
  height: 90px;
}

#students-saying .student-l-2 {
  top: 180px;
  left: -50px;
  width: 100px;
  height: 100px;
}

#students-saying .student-l-3 {
  top: 560px;
  left: 200px;
  width: 80px;
  height: 80px;
}

#students-saying .student-l-4 {
  top: 80px;
  right: 90px;
  width: 70px;
  height: 70px;
}

#students-saying .student-l-5 {
  top: 240px;
  right: -40px;
  width: 100px;
  height: 100px;
}

@keyframes rotate {
  to {
    transform: rotateZ(360deg);
  }
}

#students-saying .blur-image {
  position: absolute;
  border-radius: 50%;
  background-position: center center;
  background-size: contain;
  filter: blur(4px);
  opacity: 0.3;
}

@keyframes shake {
  0% {
    transform: rotate(-5deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}

#students-saying .blur-image.blur-1 {
  top: 180px;
  left: 200px;
  width: 50px;
  height: 50px;
  animation: shake 3s linear infinite;
}

#students-saying .blur-image.blur-2 {
  top: 0px;
  left: 320px;
  width: 60px;
  height: 60px;
  animation: shake 3.5s linear infinite;
}

#students-saying .blur-image.blur-3 {
  top: -100px;
  right: 500px;
  width: 50px;
  height: 50px;
  animation: shake 3s linear infinite;
}

#students-saying .blur-image.blur-4 {
  top: 100px;
  right: 250px;
  width: 70px;
  height: 70px;
  animation: shake 4s linear infinite;
}

#students-saying .blur-image.blur-5 {
  top: 100px;
  left: 650px;
  width: 80px;
  height: 80px;
  animation: shake 4.5s linear infinite;
}

#students-saying .blur-image.blur-6 {
  top: 400px;
  right: 300px;
  width: 80px;
  height: 80px;
  animation: shake 4.5s linear infinite;
}

#students-saying .blur-image.blur-7 {
  top: 350px;
  left: 400px;
  width: 70px;
  height: 70px;
  animation: shake 4s linear infinite;
}

#students-saying .blur-image.blur-8 {
  top: 520px;
  left: 750px;
  width: 50px;
  height: 50px;
  animation: shake 2s linear infinite;
}

#students-saying .blur-image.blur-9 {
  top: 550px;
  left: 450px;
  width: 50px;
  height: 50px;
  animation: shake 3s linear infinite;
}

@media (max-width: 1200px) {
  #students-saying .blur-image.blur-4 {
    top: 100px;
    right: 350px;
    width: 70px;
    height: 70px;
    animation: shake 4s linear infinite;
  }
}

@media (max-width: 1000px) {
  #students-saying .ring-large {
    display: none;
  }

  #students-saying .blur-image {
    display: none;
  }

  #students-saying .ring-large-invisible {
    display: none;
  }
}

@media (max-width: 500px) {
  #students-saying {
    padding: 10rem 0 3em;
  }

  #students-saying .wrap {
    height: 250px;
  }

  #students-saying .text h3 {
    margin: 1rem 0;
  }

  #students-saying .ring-small {
    width: 280px;
    height: 280px;
    animation: none;
  }

  #students-saying .ring-small-invisible {
    display: none;
  }

  #students-saying .blur-bg {
    display: none;
  }
}

/* ================= hire-our-grads ================= */

#hire-our-grads {
  background-color: #fff;
  padding: 6rem 0 5rem;
}

#hire-our-grads h2 {
  text-transform: capitalize;
  margin-bottom: 2rem;
  color: var(--primary-font);
}

#hire-our-grads .left {
  padding-right: 2rem;
}
#hire-our-grads .left p {
  font-size: 18px;
  color: var(--primary-font);
  margin-bottom: 3rem;
}

#hire-our-grads .right ul li .question {
  color: var(--primary-blue);
  font-size: 24px;
  padding: 2rem 0;
  font-weight: 600;
  border-top: 1px solid rgba(0, 15, 161, 0.1);
  cursor: pointer;
}

#hire-our-grads .right ul li .question:hover {
  font-size: 28px;
  padding: 1.8rem 0;
  transition: 0.2s ease;
}

#hire-our-grads .right ul li .anwser {
  margin-bottom: 1rem;
}

#hire-our-grads .right ul li:last-child {
  border-bottom: 1px solid rgba(0, 15, 161, 0.1);
}

#hire-our-grads .right ul li img {
  float: right;
  width: 30px;
}

#hire-our-grads .right button {
  border: 1px solid var(--primary-red);
  background-color: #fff;
  color: var(--primary-red);
  padding: 20px 50px;
  font-size: 18px;
  border-radius: 50px;
  margin-left: 32px;
  margin-top: 3rem;
}

#hire-our-grads .right button:hover {
  background-color: var(--primary-red);
  color: #fff;
}

@media (max-width: 400px) {
  #hire-our-grads .right ul {
    padding-left: 0;
  }
}

/* ================= free-consultation ================= */

#free-consultation {
  background-color: var(--primary-blue);
  padding: 5rem 0;
  color: #fff;
}

#free-consultation .left {
  padding-right: 3rem;
}

#free-consultation .left h2 {
  text-transform: capitalize;
  margin-bottom: 2rem;
}

#free-consultation .left p {
  font-size: 24px;
  margin-top: 2rem;
}

#free-consultation .right form {
  display: flex;
  flex-direction: column;
}

#free-consultation .right form input {
  border: none;
  background-color: #2b4dab;
  color: #fff;
  margin: 2rem 0 0;
  padding: 20px;
  border-radius: 20px;
}

#free-consultation .right form input::placeholder {
  color: #fff;
  font-size: 18px;
}

#free-consultation .right form button {
  border: none;
  background-color: var(--primary-red);
  color: #fff;
  margin: 2rem 0;
  padding: 20px;
  border-radius: 50px;
  font-size: 18px;
}

#free-consultation .right form button:hover {
  padding: 25px;
  margin-top: 1.5rem;
  transition: 0.2s ease;
  font-size: 22px;
}


@media (max-width: 450px) {
  #free-consultation .left h2 {
    font-size: 3rem;
  }
}

/* offers */
  /* 调整左侧九宫格容器的样式 */
  #offers-grid {
    position: relative;
    min-height: 700px !important;
  }

  /* 指示器容器样式，放置在九宫格图片的下方 */
  #offers-grid .carousel-indicators {
    position: absolute;
    bottom: -10px; /* 距离底部10px，可以根据需要调整 */
    display: flex;
    justify-content: center;
  }

  /* 指示器（小圆点）样式 */
  #offers-grid .carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    display: inline-block;
  }

  /* 活动指示器样式 */
  #offers-grid .carousel-indicators .indicator.active {
    background-color: #333;
  }

  /* 自定义左右箭头的样式，设置为黑色 */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: black; /* 设置背景颜色为黑色 */
  }

  /* 针对移动设备（屏幕宽度小于768px）的自定义样式 */
  @media (max-width: 768px) {
    #vertical-carousel {
      margin-top: 100px; /* 在移动端添加 100px 的 margin-top */
    }

    .main-header {
        font-size: 28px !important; /* 在移动端设置字体大小为24px */
    }
  }

