@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

section {
    margin-top: 90px;
}

.hero .absolute-overlay {
    position: absolute;
    top: 0;
    left: -40px;
    right: 0;
    bottom: 0;
}

@media screen and (max-width:1023px) {
    .hero-form{
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(6px);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        padding: 12px;
        border-radius: 15px;
    }


}
.our-story {
    display: flex;
    align-items: center;
}

/* .our-story .sub-title {
    font-size: 1rem;
    font-weight: bold;
    color: #1a237e;
    margin-right: 10px;
} */

.our-story .line {
    flex-grow: 1;
    max-width: 160px;
    height: 2px;
    background: linear-gradient(to right, #1a237e, rgba(26, 35, 126, 0));
    /* Adjust colors as needed */
}

/* .section-title {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
} */

.page-title{
    font-family: "Lora", serif;
}

@media screen and (max-width:655px) {

}


.home-study .tns-nav {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.home-study .tns-nav button{
  width: 50px;
  height: 3px;
  border: none;
  background: #a0a0a0;
  border: 4px;
}

.home-study .tns-nav button.tns-nav-active{
  background: #D71C33;
}

@media screen and (max-width: 900px) {
  .home-study .tns-nav button{
    display: none;
  }
}

.footer-bg {
    position: relative;
  }

  .footer-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(52,80,152,.7), rgb(52,80,152));
    z-index: 0;
  }
  .footer-content {
    position: relative;
    z-index: 1;
  }

  @media screen and (min-width:2160px) {
    .hero-vector-img{
        width: 50%;
    }
  }

  @media screen and (min-width:2680px) {
    .hero-vector-img{
        width: 60%;
    }
  }

  .banner-form{
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(2px);
  }

  /* ====test preparation page===== */
  .why-japnese-language-card-one{
    background-image: url('../img/test_preparation/test_prep_one.png');
  }
  .why-japnese-language-card-two{
    background-image: url('../img/test_preparation/classroom.png');
  }
  .why-japnese-language-card-three{
    background-image: url('../img/test_preparation/lession.png');
  }
  .why-japnese-language-card-one, .why-japnese-language-card-two, .why-japnese-language-card-three{
    background-position: right bottom;
    background-size: 80px;
    background-repeat: no-repeat;
  }
  /* ================ */

  .visa-hidden { display: none; }
  .visa-active {
    background-color: #D71C33;
    color: white;
  }

  .box-desc{
    text-align: justify;
  }
