:root {
  --red: #B40C00;
  --hover-red: #910a01;
  --gray: #382455;
  --white: #FFFFFF;
  --black: #000000;
  --light: #F6F6F5;
  --lighter: #fcfcfc;

}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden !important;
  color: var(--black) !important;
  font-size: 15px;
  font-weight: 400;
  padding-top: 88px;
  height: 100%;
  letter-spacing: 0.08px;
  overflow-y: auto;
  /* line-height: normal; */

}

html {
  overflow-x: hidden;
}

.gradient-light-bg {
  background-color: #fbfbfb !important;
}

.fw-300 {
  font-weight: 300;
}

.fw-700 {
  font-weight: 700;
}

/* vishal */

section,
span[id] {
  scroll-margin-top: 100px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--red);

}

h5 {
  font-size: 18px;
  font-weight: 600;
}

h6 {
  font-size: 15px;
  color: var(--red);

}


.py-10 {
  padding-block: 80px;
}


.container {
  max-width: 90%;

}

a {
  text-decoration: none;
}

.w-90 {
  width: 90%;
}

.w-60 {
  width: 60% !important;
}

.w-30 {
  width: 30% !important;
}

.w-55 {
  width: 55% !important;
}

.mix-blend {
  mix-blend-mode: multiply;
}

.bg-red {
  background-color: var(--red);

}

.bg-light {
  background-color: var(--light) !important;
}

.bg-lighter {
  background-color: var(--lighter) !important;
}

.bg-light-solid {
  background-color: #F6F6F5 !important;
  /* Bootstrap light color */
}


.text-red {
  color: var(--red)
}

.text-gray {
  color: var(--gray);
}


.text-xl-nowrap {
  white-space: nowrap;
}

.btn-primary {
  color: var(--white) !important;
  background-color: var(--red) !important;
  border-radius: 20px;
  border: 0.5px solid var(--red) !important;
  padding-inline: 30px;
  padding-block: 8px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  width:fit-content;
}

.btn-primary:hover {
  color: var(--red) !important;
  background-color: var(--white) !important;
  border: 0.5px solid var(--red) !important;
}

.btn-primary:active {
  background-color: var(--red) !important;
  border: 0.5px solid var(--red) !important;
}

.btn-primary:focus {
  background-color: var(--red) !important;
  color: var(--white) !important;
}

.impact-circle .btn-link:active {
  color: var(--hover-red) !important;
}





/* ================= NAVBAR BASE ================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
  background-color: white;
}

.logo-class {
  max-height: 70px;

}




.nav-link {
  color: var(--red);
  font-weight: 500;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}

/* Hover */
.nav-link:hover {
  color: var(--hover-red) !important;
}

/* Active */
.nav-link.active {
  font-weight: 700;
  color: var(--red) !important;
}


/* Start hidden slightly above */
/* Hidden state */
.navbar .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  top: 105%;
  transform: translateY(-100%);

  transition: transform .45s ease, opacity .25s ease;

  border-radius: 0;
  border: none;
  min-width: 300px;
  padding-top: 25px;
}




.navbar .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: .25s;

}

/* Hide Bootstrap caret */
.dropdown-toggle::after {
  display: none !important;
}

/* Style your icon */
.custom-caret {
  font-size: 13px;
  transition: transform 0.2s ease;

}

/* Rotate when open */
.dropdown-toggle.show .custom-caret {
  transform: rotate(180deg);
}

/* Base state: ALL items normal */
.navbar .dropdown-menu .dropdown-item {
  background-color: transparent !important;
  color: var(--black) !important;
  font-weight: 300;
  font-size: 13px;
  transition: background-color 0.2s ease, color 0.2s ease;
  padding-block: 16px;
}

/* Hover state */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background-color: rgba(180, 12, 0, 0.1) !important;
  color: var(--red) !important;
}




/* modal button  */

.btn-close {
  filter: invert(39%) sepia(90%) saturate(5000%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

.btn-close:hover {
  filter: invert(50%) sepia(100%) saturate(6000%) hue-rotate(330deg) brightness(110%) contrast(100%);
}






/* index page css start here ============================================== */
.hero-section {
  position: relative;
  height: 88dvh;
  overflow: hidden;
}


.hero-section .slide-1 {
  background-image: url('../images/banner-slide-1.jpeg');
}

.hero-section .slide-2 {
  background-image: url('../images/banner-slide-2.jpeg');
}

.hero-section .slide-3 {
  background-image: url('../images/banner-slide-3.jpeg');
}


.hero-section .slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section h1 {
  font-size: 24px !important;
  font-weight: 700;
  margin-bottom: 20px;
}

/* SLIDER */
.hero-section .slider-wrapper {
  position: absolute;
  inset: 0;
}

.hero-section {
  position: relative;
  height: 88dvh;
  overflow: hidden;
}



.hero-section .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;

  opacity: 0;

  transition:
    opacity 1.2s cubic-bezier(0.1, 0, 0.1, 1),
    transform 10s ease;

  will-change: opacity, transform;
}

.hero-section .slide.active {
  opacity: 1;
  transform: scale(1);
  /* smooth zoom in */
}

/* LEFT FADE GRADIENT */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.4) 55%,
      rgba(0, 0, 0, 0.15) 75%);

  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: end;
  padding-bottom: 30px;

}

.leaf-item p {

  line-height: 14px;
}

.leaf-item {
  width: 190px;
  /* fixed width – tweak as needed */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* push leaves to edges */
  color: #fff;
  text-align: center;
  font-size: 13px;
}



.leaf {
  width: 35px;

  opacity: 0.9;
}

.hidden-leaves {
  visibility: hidden;
}

/* DOTS */
.hero-dots-wrapper {
  margin-top: 32px;
  width: 100%;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
}

/* Default = number */
.hero-dots .dot {
  background: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;

}

/* Active = dot */
.hero-dots .dot.active {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  font-size: 0;
}





.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: marquee 30s linear infinite;
  align-items: center;
}

.logo-item {
  width: 300px;
    height: 70px;
  /* fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;

}

.logo-track {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}


/* Smooth infinite scroll */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Optional: pause on hover */
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.what-navi-japan h6 {
  font-size: 15px;
}

.right-quarter-circle {
  right: 0;
  bottom: 0;
  position: absolute;
  max-width: 360px;
  transform: translateY(15%);
  z-index: 0;
  pointer-events: none;
}

.left-quarter-circle {
  left: 0;
  bottom: 0;
  position: absolute;
  max-width: 360px;
  transform: translateY(15%);
  z-index: 0;
  pointer-events: none;
}

.feature-line {
  position: relative;
  border-bottom: 1px solid var(--black);
  /* full light line */
  margin-top: 15px;
}

.feature-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  /* small solid line */
  height: 2px;
  background: var(--black);
  /* brand color */
}



.why-japan-section {}






.why-card {
  background: var(--light);
  color: var(--red);
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.why-card:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-5px);
}

/* Icon Wrapper */
.preferred-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
}

/* Both icons stacked */
.preferred-icon-wrapper img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

/* Default visible */
.icon-default {
  opacity: 1;
}

/* Hover hidden initially */
.icon-hover {
  opacity: 0;
}

/* Swap on hover */
.why-card:hover .icon-default {
  opacity: 0;
  color: white !important;
}

/* Swap on hover */
.why-card:hover h6 {
  color: white !important;
}

.why-card:hover .icon-hover {
  opacity: 1;
}




.study-japan-section ul li::marker {
  color: var(--red);
}





.expert-card span {
  font-size: 12px;
}

.talk-expert-section .container {
  position: relative;
  z-index: 2;
  /* above circle */
}

.features span:not(:last-child)::after {
  content: " • ";
  margin: 0 12px;
}

.intake-event-section .container {
  position: relative;
  z-index: 2;
}


/* help scale section  */

.start-study {
  position: relative;
  background-image: url("../images/start-study-banner.png");
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;

}



.study-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  /* dark overlay */
}

.start-study .container {
  position: relative;
  z-index: 2;
}

.start-study h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}




.home-page-form .form-control,
.home-page-form .form-select,
.home-page-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #000000 !important;
  padding: 10px 4px;
  outline: none;
  background: transparent;
  border-radius: 0;
  font-size: 13px;


}



.home-page-form .form-check-input {
  border: 1px solid #000000 !important;
}

.home-page-form .form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red) !important;
}




.home-page-form .form-control:focus {
  background-color: transparent;
  box-shadow: none;


}

.home-page-form .form-select:focus {
  background-color: transparent;
  box-shadow: none;
}


.home-page-form .form-control::placeholder {
  color: var(--black);
}


.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  transition: .3s;
}

.store-btn i {
  font-size: 24px;
}

.store-btn small {
  display: block;
  font-size: 13px;
  opacity: .9;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  /* rounded border */
  transition: 0.3s ease;
}

.social-icons a img {
  width: 14px;
  height: auto;
}


/* ===============================
   Sakura Plans Section (sp-*)
================================= */




.sp-card {
  background: var(--light);
  border-radius: 15px;
}

.sp-card img {
  width: 35px;
  height: auto;
}

.sp-table-wrapper {
  position: relative;
  /* max-height: 660px; */
  overflow: hidden;
  transition: max-height 0.6s ease;
  z-index: 4;
}

.sp-table-wrapper.sp-expanded {
  max-height: 1200px;
}

.sp-table-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 240px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sp-table-wrapper.sp-expanded::after {
  opacity: 0;
}

.sp-plan-table thead tr th {
  background: var(--red);
  color: var(--white);
  font-weight: 500;

}

.sp-plan-table th,
.sp-plan-table td {
  text-align: center;
  vertical-align: middle;
  padding-block: 25px;
  font-size: 13px;

}

/* Toggle Button */
.sp-view-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sp-view-toggle:hover {
  color: #c40000;
}

/* Icon Animation */
.sp-toggle-icon {
  transition: transform 0.3s ease;
}

.sp-rotate {
  transform: rotate(180deg);
}




/* ======================================
   TESTIMONIAL SECTION (testimonial-*)
====================================== */

.testimonial-section {
  background: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-heading {
  color: #c40000;
  font-weight: 600;
}

.testimonial-left {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  display: flex;
  gap: 30px;
}

.testimonial-main-image {
  width: 250px;
  height: 260px;
  border-radius: 20px;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border: 0.3px solid rgba(0, 0, 0, 0.3);
}







/* =============================
   RIGHT ORBIT AREA
============================= */

.testimonial-orbit-wrapper {
  position: absolute;
  right: -330px;
  bottom: -520px;
  width: 1000px;
  height: 1000px;
  z-index: 1;
  pointer-events: none;
}

/* SVG Circle Lines */
.testimonial-orbit-svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Client Circles */
.testimonial-client {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  background: #fff;
  pointer-events: auto;
  transition: transform .25s ease, border-color .25s ease;
}


.testimonial-client:nth-of-type(1) {
  top: 345px;
  right: 870px;
}

.testimonial-client:nth-of-type(2) {
  top: 147px;
  right: 750px;
}

.testimonial-client:nth-of-type(3) {
  top: 160px;
  right: 530px;
}

.testimonial-client:nth-of-type(4) {
  top: 40px;
  right: 390px;
}

.testimonial-client:nth-of-type(5) {
  top: 335px;
  right: 625px;
}

.testimonial-client:nth-of-type(6) {
  top: 335px;
  right: 465px;
}

.testimonial-client:nth-of-type(7) {
  top: 275px;
  right: 350px;
}

.testimonial-client img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover Scale */
.testimonial-client:hover {
  transform: scale(1.2);
  z-index: 5;
  border-color: var(--red) !important;
}

/* Active */
/* Active */
.testimonial-client.testimonial-active {
  transform: scale(1.2);
  border-color: var(--red);
}

/* Remove active border ONLY when not hovering */
.testimonial-orbit-wrapper.testimonial-hovering .testimonial-client.testimonial-active:not(:hover) {
  border-color: transparent;
}


/* Fade Animation */
.testimonial-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-fade.show {
  opacity: 1;
}

.testimonial-card p {
  width: 40%;
}

.workflow-section {
  position: relative;
  /* width: 100%;
  aspect-ratio: 1920 / 800; */
  /* Use your image ratio */
  background-image: url("../images/workflow-bg-2.png");
  background-size: cover;
  /* background-position: center; */
  background-repeat: no-repeat;
  border-block: 1px solid rgba(255, 0, 0, 0.2);
}




.workflow-title {
  color: #d91c1c;
  font-weight: 600;
  margin-bottom: 100px;
}

.workflow-timeline {
  position: relative;

}



/* STEP */
.workflow-step {
  position: relative;
  min-height: 450px;
}

/* VERTICAL LINE */
.workflow-vertical {
  position: absolute;
  left: 10%;
  width: 1px;
  height: 0;
  background: #d91c1c;
  transform: translateX(-50%);
  transition: height 0.6s ease;
}

/* TOP */
.workflow-step.top .workflow-vertical {
  bottom: 55%;
}

/* BOTTOM */
.workflow-step.bottom .workflow-vertical {
  top: 45%;

}

/* GROW */
.workflow-step.show-vertical .workflow-vertical {
  height: 160px;
}

/* DOT */
.workflow-vertical::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #d91c1c;
  background: transparent;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workflow-step.top .workflow-vertical::after {
  top: -7px;
}

.workflow-step.bottom .workflow-vertical::after {
  bottom: -7px;
}

.workflow-step.show-vertical .workflow-vertical::after {
  opacity: 1;
}

/* HORIZONTAL LINE */
.workflow-horizontal {
  position: absolute;
  top: 45%;
  left: 10%;
  height: 1px;
  width: 0;
  background: #d91c1c;
  transition: width 0.6s ease;
}

/* Grow Horizontal */
.workflow-step.show-horizontal .workflow-horizontal {
  width: 100%;
}





/* CONTENT */
.workflow-content {
  position: relative;
  width: 100%;
  margin-left: 15%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.workflow-step.top .workflow-content {
  transform: translateY(100px);
}

.workflow-step.top.show-content .workflow-content {
  opacity: 1;
  transform: translateY(-20px);
}

/* .workflow-step.bottom .workflow-content {
  transform: translateY(380px);
} */


.workflow-step.bottom.show-content .workflow-content {
  opacity: 1;
  transform: translateY(235px);
}


.workflow-number {
  font-size: 74px;
  font-weight: 700;
  color: rgba(217, 28, 28, 0.4);
  line-height: 64px;
}


/* footer css  */

footer {
  font-size: 15px;
}

footer h6 {
  font-size: 15px;
}


.footer-red-strip {
  font-size: 13px;
}

footer ul {
  font-size: 15px;
}

footer a {
  color: var(--black);
}

footer .bg-red a {
  color: var(--white);
}

/* 2-march-2026 */
.why-study-japan-ul strong {
  color: var(--red);
  font-weight: 700;
}

.form-check-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check-container {
  font-size: 13px;
}

.circle-check .form-check-input {
  border-radius: 50%;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L160 256.1l96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.4-24.6 9.4-33.9 0z'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  padding-right: 30px;
}

.japan-slide h6 {
  font-size: 15px;
}

.japan-slide p {
  font-size: 15px;
}

.slider-mask {
  overflow: hidden;
}

.japan-image-slider {
  transform: translateX(4rem);
  /* initial left space */
  transition: transform 0.6s ease;
}

.japan-image-slider.start-slide {
  transform: translateX(0);
}

.testimonial-content-box h6 {
  font-weight: 600;
}

.testimonial-content-box p {

  font-size: 15px;
}


.card p {
  color: var(--black);
}

.testimonial-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  font-size: 13px;
}

.read-more-btn:hover {
  color: #d91c1c;
}

.testimonial-img {
  width: 250px;
  flex-shrink: 0;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}




/* study in japan page style css  */


/* Section */
.study-gateway-section {
  position: relative;
  height: 75vh;
  background: url("../images/study-banner.jpeg") center/cover no-repeat;
  overflow: hidden;
}
.study-gateway-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* adjust darkness here */
  z-index: 1;
}


/* Content */
.study-gateway-content {
  position: relative;
  z-index: 2;
}

.study-gateway-content h2 {
  line-height: 40px;
  font-size: 28px;
}







.education-journey-section .container {
  position: relative;
  z-index: 2;
  /* above circle */
}

.education-journey-section h6 {
  font-size: 17px;
}

.journey-features span:not(:last-child)::after {
  content: " • ";
  margin: 0 12px;
}

/* Accordion Card */

.custom-accordion {}

.custom-accordion .accordion-item {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;

}

/* Header default (collapsed state → light bg) */
.custom-accordion .accordion-button {
  background: var(--light);
  color: var(--red);
  font-weight: 500;
  box-shadow: none;
  padding-right: 50px;
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  padding-block: 20px;
  display: flex;
  align-items: flex-start;
  padding-right: 40px;
  gap: 4px;

}
.eng-taught-faq .accordion-button{
  background-color: #fff;
}

.faq-number {
  flex-shrink: 0;
}

.faq-text {
  flex: 1;
}

/* Open state → green header */
.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--red);
  color: var(--white);
  padding-block: 20px 5px;
}

/* Remove bootstrap arrow */
.custom-accordion .accordion-button::after {
  display: none;
}

/* Custom Arrow */
.custom-accordian-arrow {
  position: absolute;
  right: 20px;
  transition: 0.3s ease;
  color: var(--red);
  font-size: 13px;
}

/* Arrow when open */
.accordion-button:not(.collapsed) .custom-accordian-arrow {
  transform: rotate(180deg);
  color: var(--white) !important;
}

/* Accordion Body */
.custom-accordion .accordion-body {
  background: var(--light);
}

/* Body when open */
.custom-accordion .accordion-collapse.show .accordion-body {
  background: var(--red);
  color: var(--white);
  padding-bottom: 30px;
  padding-top: 5px;
  font-size: 13px;
  font-weight: 400;

}

.custom-accordion .accordion-button,
.custom-accordion .accordion-collapse,
.custom-accordion .accordion-body {
  transition: none !important;
}



.study-tab-section {}

/* LEFT TABS */

.study-tab-section-tabs {

  padding: 35px;
  border-radius: 14px;
}

.study-tab-section-tab {
  padding: 24px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: white;
  color: var(--red);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: .3s;
}

.study-tab-section-tab.active {
  background: var(--red);
  color: #fff;
}


.study-tab-section-tab:hover {
  background: var(--red);
  color: #fff;

}

.study-tab-section-tab {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.study-tab-number {
  flex-shrink: 0;
  font-weight: 600;
}

.study-tab-text {
  flex: 1;
}

/* RIGHT CONTENT */

.study-tab-section-content-wrapper {
  padding: 35px 0 35px 35px;
  border-radius: 14px;

}


.study-tab-section-content {
  display: none;
}

.study-tab-section-content.active {
  display: block;
}

.tab-inner {

  max-height: 700px;
  overflow-y: auto;
  height: auto;
  padding-right: 35px;
}


/* 

.study-tab-section-content.expanded .tab-inner {
  max-height: 5000px;
} */

/* HEADER */

.study-tab-section-header {}

.study-tab-section-number {
  background: var(--red);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 20px;
  display: inline-flex;
  /* key */
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.study-tab-section-content h3 {
  color: var(--red);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;

}



.study-tab-section-content h6 {
  font-size: 16px;
  color: var(--red);
  margin-top: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.study-tab-section-content p {
  margin-bottom: 30px;
}


.study-tab-arrow {
  margin-left: auto;
  transition: 0.3s;
  display: flex;
  align-items: center;
  display: none;
}

.study-tab-section-tab.active .study-tab-arrow i {
  transform: rotate(180deg);
  transition: 0.3s;
}

ul {
  padding-left: 22px;
}

/* Red Dot List */
.list-dot-red li::marker {
  color: var(--red) !important;
  font-size: 12px;

}

/* Black Dot List */
.list-dot-black li::marker {
  color: #000;
  font-size: 12px;
}
.list-dot-red {
  padding-left: 0;           /* remove default left space */
  list-style-position: inside; /* bring dots inline with text */
}
.sub-list {
  list-style: none;
  padding-left: 22px;
}

.sub-list li {
  position: relative;
}

.sub-list li::before {
  content: "→";
  position: absolute;
  left: -18px;
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;

}

.cost-study-table-wrapper {
  position: relative;
  /* max-height: 660px; */
  overflow: hidden;
  transition: max-height 0.6s ease;
  z-index: 4;
  margin-bottom: 10px;

}

.cost-study-table tbody td {
  background-color: var(--light);
  color: var(--red);
}

.cost-study-table thead tr th {
  background: var(--red);
  color: var(--white);
  font-weight: 400;
  text-transform: uppercase;

}

.cost-study-table th,
.cost-study-table td {
  text-align: center;
  vertical-align: middle;
  padding-block: 16px;
  font-size: 13px;

}





/* terms and condition page style css  */


/* Section */
.terms-condition-section {
  position: relative;
  height: 60vh;
  background: url("../images/terms-banner.png") center/cover no-repeat;
  overflow: hidden;
}


/* Content */
.terms-condition-content {
  position: relative;
  z-index: 2;
}


/* Overlay */
.terms-condition-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7),
      /* strong at bottom */
      rgba(0, 0, 0, 0)
      /* fades to transparent at top */
    );
}

/* about us page style  css  */

/* Section */
.about-hero-section {
  position: relative;
  height: 75vh;
  background: url("../images/about-us-hero.jpeg") center/cover no-repeat;
  overflow: hidden;
}


/* Content */
.about-hero-content {
  position: relative;
  z-index: 2;
}



.about-us-logo-section .mix-blend {
  width: auto;
  height: 40px;
}

.why-about-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all .6s ease;
}

/* stair offsets before animation */
.why-about-card:nth-child(1) {
  transform: translateY(60px);
}

.why-about-card:nth-child(2) {
  transform: translateY(80px);
}

.why-about-card:nth-child(3) {
  transform: translateY(100px);
}

.why-about-card:nth-child(4) {
  transform: translateY(120px);
}

.why-about-card:nth-child(5) {
  transform: translateY(140px);
}

/* when AOS triggers */
.why-about-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
}


.impact-col-divider {
  position: relative;
  border-left: 0.3px solid rgba(0, 0, 0, 0.2);
  padding-inline: 30px;
  /* equal space left and left */
}

.impact-col-divider::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: var(--red);
}

/* remove border from first */
.impact-col-divider:first-child {
  border-left: none;
  padding-inline: 10px 30px;
}

.impact-col-divider:first-child::after {
  display: none;
}

.impact-col-divider:first-child {
  border-left: none;
}

.impact-col-divider:last-child {
  padding-inline: 30px 0;
}




.impact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.impact-circle {
  width: 280px;
  height: 280px;
  border: 1px solid rgba(200, 60, 50, 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;

  /* important */
  background: transparent;
  position: relative;
}

/* overlap circles */
.impact-circle:nth-child(2) {
  margin-left: -20px;
}

.impact-circle:nth-child(3) {
  margin-left: -20px;
}


.impact-circle:nth-child(4) {
  margin-left: -20px;
}

.impact-circle:nth-child(5) {
  margin-left: -20px;
}

.impact-circle h2 {
  font-size: 48px;
  color: #b11206;
  font-weight: bolder;
  margin-bottom: 10px;
}


.impact-circle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.circle-1::after {
  top: 8px;
  left: 78px;
}

.circle-2::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.circle-3::after {
  top: 12px;
  right: 78px;
  transform: translateY(-50%);
}

.circle-4::after {
  top: 100%;
  right: 130px;
  transform: translateY(-50%);
}










.choose-why-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all .6s ease;
}

/* stair offsets before animation */
.choose-why-card:nth-child(1) {
  transform: translateY(60px);
}

.choose-why-card:nth-child(2) {
  transform: translateY(80px);
}

.choose-why-card:nth-child(3) {
  transform: translateY(100px);
}

.choose-why-card:nth-child(4) {
  transform: translateY(120px);
}

/* when AOS triggers */
.choose-why-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.start-study-about-section .container {
  position: relative;
  z-index: 2;
  /* above circle */
}

.start-study-features span:not(:last-child)::after {
  content: " • ";
  margin: 0 12px;
}





.book-session-section .image-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.book-session-section .img-fit {
  width: 50%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.impact-circle button {
  font-size: 11px;
}

.impact-circle button:hover {
  color: #da2a2a;
}

.booking-process-section .impact-circle h2 {
  font-size: 28px;
}

.program-process-section .impact-circle h2 {
  font-size: 28px;
}

.program-process-section p {
  font-size: 14px;
}


.tick-list li {
  position: relative;
  padding-left: 16px;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

.modal-scroll {
  max-height: 90vh;
  overflow-y: auto;
}

.most-demand-section img {
  border-radius: 10px;
}

.program-process-section .impact-circle {
  width: 280px;
  height: 255px;
}

.program-process-section .circle-1::after {
  top: 4px;
  left: 78px;
}

.program-process-section .circle-2::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.program-process-section .circle-3::after {
  top: 12px;
  left: 178px;
}

.program-process-section .circle-4::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.program-process-section .circle-5::after {
  top: 8px;
  left: 178px;
}

.study-tab-section-content-wrapper.why-japan-tab {

  max-height: 940px;

}

.study-tab-section-content-wrapper.scholar-tab {

  max-height: 500px;

}


.study-gateway-section.our-program-banner {
  background: url("../images/our-programs-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.book-free-banner {
  background: url("../images/Book-Your-Free-Japan-Study-Counselling-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.why-japan-banner {
  background: url("../images/why-japan-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.scholarship-hero-banner {
  background: url("../images/scholar-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.contact-us-banner {
  background: url("../images/contact-us-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.english-taught-banner {
  background: url("../images/english-taught-banner.jpeg") center/cover no-repeat;

}

.study-gateway-section.app-hero-banner {
  background: url("../images/app-hero-banner.jpeg") center/cover no-repeat;

}



/* ================================
   SCROLLBAR STYLE (GLOBAL)
================================ */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(150, 150, 150);
}


/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(150, 150, 150) #f1f1f1;
}



/* contact us page style css  */

.contact-slider-section {
  position: relative;
}

/* slides */
.contact-slider-section .contact-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.contact-slider-section .carousel-item {
  transition: transform 1s ease-in-out;
}

/* arrow button circle */
.contact-slider-section .carousel-control-prev,
.contact-slider-section .carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 1;
}

/* move buttons inside */
.contact-slider-section .carousel-control-prev {
  left: 30px;
}

.contact-slider-section .carousel-control-next {
  right: 30px;
}


/* center icon */
.contact-slider-section .carousel-control-prev,
.contact-slider-section .carousel-control-next {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* arrow icon */
.contact-slider-section .slider-arrow {
  font-size: 18px;
  color: var(--red);
  -webkit-text-stroke: 1px var(--red);
}


/* hover effect */
.contact-slider-section .carousel-control-prev:hover,
.contact-slider-section .carousel-control-next:hover {
  background: #ececec;

}

/* fixed content */
.contact-slider-section .contact-content {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
}

.heading-border-divider {
  width: 140px;
  /* border length */
  border-bottom: 1px solid var(--white);
  margin: 0 auto 5px;
  /* center it */
}

/* container width */
.contact-slider-section .contact-width {
  width: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}





/* slider background images */
.contact-slider-section .slide-1 {
  background-image: url('../images/contact-us-slide.png');
}

.contact-slider-section .slide-2 {
  background-image: url('../images/banner-slide-2.png');
}



.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
  color: #000;
  opacity: 1;
  /* makes sure it's fully visible */
}

.contact-page-form .form-control {
  font-size: 13px;
  padding: .7rem .75rem;
  border-color: rgba(217, 217, 217, 1);
}



/* Input and flag */
.iti {
  width: 100%;
}

.iti input {
  width: 100%;
  height: 44px;
  padding-left: 4px !important;
}

.iti__flag-container {
  display: none !important;
}
.iti__flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, .3);
}

.iti__country-list {

  border: 1px solid #ddd;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
  max-height: 300px;
  overflow-y: auto;
  font-size: 12px;
}

.iti__country:hover {
  background: #f8f9fa;
}

.iti__dial-code {
  margin-left: 4px;
  font-family: monospace;
  font-size: 13px;
  color: #333;
}

/* Hide the search input in intl-tel-input dropdown */
.iti__search-input {
  padding-block: .4rem;
  padding: 2px 12px !important;
  font-size: 10px;
  height: 32px !important;
}

.iti__search-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-link i {
  font-size: 12px;
  padding-left: 4px;
}

.contact-width .btn-link {
  font-size: 15px;
  font-weight: 300;
}




.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 22px;
  border-radius: 12px;
  color: var(--black);
  text-decoration: none;
  background: white;
  transition: .3s;
}

.app-download-btn i {
  font-size: 20px;
}

.app-download-btn img {
  width: 20px;
}

.app-download-btn small {
  display: block;
  font-size: 10px;
  opacity: .9;
}

.app-download-btn span {

  font-size: 12px;
}

.app-download-btn:hover {
  transform: translateY(-2px);
}

.download-text {
  font-size: 12px;
}

.still-question-icons i {
  font-size: 32px;
}


.trust-card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
  background-image: url('../images/black-gradient-bg.png');
  height: 100%;
  align-items: center;
}

/* dark overlay */
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.trust-content {
  position: relative;
  color: #fff;
  padding-inline: 20px;
  padding-block: 30px;
}


.trusted-card-white-divider {
  width: 60px;
  height: 2px;
  background: #fff;
  margin: 18px auto;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}


.app-faq.custom-accordion .accordion-button {
  background: var(--white);

}

/* Open state → green header */
.app-faq.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--red);
}


.download-phone {
  position: absolute;
  left: 0px;
  bottom: -230px;
  max-width: 190%;

  z-index: 2;
  border-radius: 16px;
}

.phone-content-holding {
  padding-top: 200px;
}

/* Move middle step down */
.app-how-section .step-down {
  margin-top: 200px;
}

/* Arrow base */
.app-how-section .how-arrow {
  position: absolute;
  pointer-events: none;
}

/* Arrow 1 → Step 1 to Step 2 */
.app-how-section .arrow-1 {
  top: 210px;
  right: 25px;
  width: 140px;
}

/* Arrow 2 → Step 2 to Step 3 */
.app-how-section .arrow-2 {
  top: -50px;
  left: 208px;
  width: 140px;
}


.app-study-tab-section .tab-inner {
  max-height: 780px;
}




.about-us-new-section {
  position: relative;
  height: 75vh;
  background: url("../images/about-us-new-banner.png") center/cover no-repeat;
  overflow: hidden;
}


/* Content */
.about-us-new-content {
  position: relative;
  z-index: 2;
}


/* Overlay */
.about-us-new-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7),
      /* strong at bottom */
      rgba(0, 0, 0, 0)
      /* fades to transparent at top */
    );
}

.platform-highlights h5 {
  color: var(--red);
  margin-bottom: 0;
}

.platform-highlights p {
  font-size: 14px;

}


.red-line-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-block: 5px;
}

.we-focus-section {
  position: relative;
  background: url("../images/we-focus-banner.png") center/cover no-repeat;
  overflow: hidden;
}


/* Content */
.we-focus-content {
  position: relative;
  z-index: 2;
}


/* Overlay */
/* .we-focus-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7), 
    rgba(0, 0, 0, 0)   
  );
} */


.japan-advantage p {
  font-size: 12px;
}

.japan-advantage>div {
  flex: 0 0 auto;
  /* take only content width */
  width: calc(33.333% - 1rem);
  /* force 3 items per row */
}

.study-red-divider-inline span {
  position: relative;
  padding: 0 60px;
}

.study-red-divider-inline span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background-color: var(--red);
}

/* Remove divider from last item */
.study-red-divider-inline span:last-child::after {
  display: none;
}

.how-we-help img {
  width: 40px;
}

.language-section .border-end {
  border-right: 1px solid #bebebe !important;

}

.red-small-vertical-divider {

  width: 2px;
  height: 20px;
  background-color: var(--red);

}

.border-md-end-danger {
  border-right: 1px solid var(--red);
}

/* Timeline layout */
.timeline-row {
  display: grid;
  grid-template-columns: 90px 40px 1fr;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}

/* Step text (left) */
.timeline-step {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  padding-right: 30px;
}

/* Middle column */
.timeline-middle {
  position: relative;
}

/* Vertical line */
.timeline-line {
  position: absolute;
  left: 95px;
  top: -20px;
  height: calc(100% - 50px);
  /* trims bottom */
  width: 2px;
  background: var(--red);
}

/* Dot */
.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 6px;
}



.timeline-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  opacity: 1;
  z-index: 0;
  /* behind content but visible */
  pointer-events: none;
}

.advantages-cards p,
.advantages-cards ul {
  font-size: 14px;
}

[data-aos="fade-up"] {
  transform: translateY(60px); /* instead of large default */
}


/* Section */
.consult-section {
  min-height: 90vh;
    background: url('../images/book-counselling-banner.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}



/* Inputs style (underline style like UI) */
.book-custom-input {
  border: none;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  font-size: 12px;
  color: var(--black);
  padding-block: 12px;
  padding-inline: 4px;
}
select.book-custom-input {
  padding-right: 25px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.book-custom-input:focus {
  box-shadow: none;
  border-color: #000;
}

/* Placeholder styling */
.book-custom-input::placeholder {
  color: var(--black);
}

/* Note text */
.form-note {
  font-size: 10px;

}
/* 25-03-2026 */
.expert-enquiry-form-content{
  background-color: #f6f6f4!important;
}
.expert-enquiry-form-content .modal-header{
  border-bottom: none;
    padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  display: flex;
  align-items: flex-start;
}
.expert-enquiry-form-content .modal-footer{
  border-top: none;
  justify-content: flex-start;
    padding-left: 45px;
  padding-right: 45px;
  padding-bottom: 40px;
}
.expert-enquiry-form-content .modal-body{
  padding-left: 40px;
  padding-right: 40px;
  
}
.expert-form-enquiry .modal-dialog {
  max-width: 690px; /* change as needed */
  width: 90%;
  border-radius: none;
  
}
.expert-form-enquiry{
    overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.modal::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
#slideIcon img {
  background-color: #fff;
  padding: 8px;
  max-width: 100%;
  height: 60px;   /* control logo size */
  width: auto;
  object-fit: contain;
}



/* Wordpress css */
/* ── CF7 form fixes – paste at bottom of style.css ── */

/* 1. Right panel vertically centered */
.consult-section .right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 2. CF7 form inherits the Bootstrap row gutters */
.consult-section .wpcf7 form.row {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 1rem;
}

/* 3. Field wrappers must be full width (CF7 makes them inline by default) */
.consult-section .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 4. Inputs/selects full width inside their col */
.consult-section .wpcf7 input[type="text"],
.consult-section .wpcf7 input[type="email"],
.consult-section .wpcf7 input[type="tel"],
.consult-section .wpcf7 select {
  width: 100%;
}

/* 5. Checkbox row – inline with consent text, no extra gap */
.consult-section .wpcf7-list-item {
  display: inline-flex !important;
  align-items: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}

/* 6. Hide the empty CF7-generated label (we use our own <span>) */
.consult-section .consent-checkbox .wpcf7-list-item-label {
  display: none !important;
}

/* 7. Checkbox size and alignment */
.consult-section .wpcf7 input[type="checkbox"] {
  width: auto !important;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

/* 8. Submit button – auto width, not stretched */
.consult-section .wpcf7 input[type="submit"] {
  width: auto !important;
}
/* Remove CF7 auto-inserted <br> tags */
.consult-section .wpcf7 br {
  display: none;
}

.consult-section .form-container {
  padding-top: 3rem !important;

}
/* 26-03-2025 */
.lang-card {
  background-color: #f6f6f4;
  border-radius: 12px;
  padding: 25px 15px;
  height: 100%;
}
.work-opportunities-without-japanese-ul{
  list-style-position: inside;
}
.work-without-japanese-card-image{
  border-radius: 12px;   /* box radius */
  overflow: hidden;      /* IMPORTANT: clips image */
}
.work-without-japanese-card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;   /* optional (extra safety) */
}
.sp-table-wrapper.sp-expanded {
  max-height: none !important;
  overflow: visible !important;
}
/* 27-03-2026 */

/* .hero-top.shrink {
  height: 90px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: left;
} */

.jlpt-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  margin: 0 auto;
}

/* STEP COMMON */
.jlpt-item {
  position: absolute;
  width: 280px;
}

.step-no {
  font-size: 40px;
  color: #f3bcbc;
  display: block;
  margin-bottom: 5px;
}

.jlpt-item h3 {
  color: #d8231f;
  font-size: 20px;
  margin-bottom: 10px;
}

.jlpt-item ul {
  padding-left: 18px;
}

.jlpt-item ul li {
  font-size: 14px;
  margin-bottom: 4px;
}

/* ===== STEP POSITIONS ===== */

/* 01 */
.step-1 {
  top: 20px;
  left: 40px;
}

/* 02 */
.step-2 {
  top: 188px;
  left: 478px;
}

/* 03 */
.step-3 {
  top: 20px;
  right: 40px;
}

/* 04 */
.step-4 {
  top: 350px;
  right: 40px;
}

.step-5 {
    top: 410px;
    left: 176px;
}

/* ===== ARROWS ===== */

/* common */
.arrow {
  position: absolute;
  pointer-events: none;
  max-width: none;
}

/* 1 → 2 (left curve downward) */
.arrow-1 {
  width: 150px;
  top: 95px;
  left: 240px;
  transform: rotate(5deg);
}

/* 2 → 3 (center upward curve) */
.arrow-2 {
  width: 150px;
  top: -70px;
  left: 210px;
  transform: rotate(10deg);
}

/* 3 → 4 (right vertical curve down) */
.arrow-3 {
    width: 30px;
    top: 201px;
    left: 151px;
    transform: rotate(0deg);
}

/* 4 → 5 (bottom left curve) */
.arrow-4 {
    width: 140px;
    top: 165px;
    left: -292px;
    transform: rotate(8deg);
}
.jlpt-next-3 {
  margin-top: 90px;
}

.jlpt-next-3 ul li {
  font-size: 14px;
}

.our-program-pg .tab-inner {
  height: 550px;
}

.why-japan-left-tab-container .tab-inner {
  max-height: 950px;
  height: 1000px;
}

.study-in-japan-pg .tab-inner {
  max-height: 1000px;
  height: 700px;
}

.english-taught-right-container .tab-inner {
  max-height: 790px;
  height: 1000px;
}

/* 30-03-2026 */
#book-free-counselling-form {
  scroll-margin-top: 120px;
  /* adjust based on your header height */
}

.contact-page-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;

  padding-right: 35px;
  /* space for icon */
}
.hero-top{
  max-width: 700px;
  display: grid;
  grid-template-rows: 30px 70px 20px; /* fixed height for heading, subheading, button */
  row-gap: 12px;
  align-content: start;
}

.hero-top.move-down{
  transform: translateY(28px);
}

#hero-heading,
#hero-subheading,
#hero-cta{
  margin: 0;
}

#hero-heading{
  line-height: 1.25;
  overflow: hidden;
}

#hero-subheading{
  line-height: 1.6;
  overflow: hidden;
}

#hero-cta{
  align-self: start;
}
/* 02-04-2026 */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
    /* Light grey 3D effect */
    background: linear-gradient(145deg, #f2f2f2, #d6d6d6);
    border: 1px solid #cfcfcf;

    /* Smooth interaction */
    transition: all 0.2s ease;
}
.floating-btn img {
    width: 80px;   /* adjust as needed */
    height: auto;
}

/* enquiry form css wp form*/

/* Form container */
.wpforms-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
}

/* Input fields */
.wpforms-form input[type=text],
.wpforms-form input[type=email],
.wpforms-form input[type=tel],
.wpforms-form select {
    width: 100%;
    height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    margin-bottom: 15px;
}

/* Placeholder color */
.wpforms-form input::placeholder {
    color: #9a9a9a;
}

/* Checkbox */
.wpforms-form input[type=checkbox] {
    margin-right: 8px;
}

/* Consent text */
.wpforms-field-description {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

/* Submit button like CF7 */
.wpforms-submit {
    background: #d86b5c !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
}

.wpforms-submit:hover {
    background: #c45a4c !important;
}


/* ── WPForms inside .contact-page-form ── */

.contact-page-form .wpforms-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Hide default labels – use placeholders instead */
.contact-page-form .wpforms-field-label {
    display: none !important;
}

/* ── Inputs, Select, Tel ── */
.contact-page-form .wpforms-form input[type="text"],
.contact-page-form .wpforms-form input[type="email"],
.contact-page-form .wpforms-form input[type="tel"],
.contact-page-form .wpforms-form select {
    width: 100%;
    height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-page-form .wpforms-form input[type="text"]:focus,
.contact-page-form .wpforms-form input[type="email"]:focus,
.contact-page-form .wpforms-form input[type="tel"]:focus,
.contact-page-form .wpforms-form select:focus {
    border-color: #aaa;
    box-shadow: none;
}

/* Placeholder color */
.contact-page-form .wpforms-form input::placeholder {
     color: #000 !important;
    opacity: 1 !important;
}

/* ── Select dropdown arrow ── */
.contact-page-form .wpforms-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 35px;
    color: #9a9a9a;
}

.contact-page-form .wpforms-form select.wpforms-selected,
.contact-page-form .wpforms-form select option:not([value=""]) {
    color: #000;
}

/* ── Field spacing ── */
.contact-page-form .wpforms-field {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

/* ── Checkbox / Consent field ── */
.contact-page-form .wpforms-field-checkbox .wpforms-field-label {
    display: block !important;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.contact-page-form .wpforms-field-checkbox ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-page-form .wpforms-field-checkbox ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-page-form .wpforms-field-checkbox input[type="checkbox"] {
    width: 15px !important;
    height: 15px;
    min-width: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--red);
    cursor: pointer;
}

.contact-page-form .wpforms-field-checkbox .wpforms-field-label-inline {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
}

/* Consent paragraph description */
.contact-page-form .wpforms-field-description {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-top: 8px;
    display: block;
}

/* ── Submit Button ── */
.contact-page-form .wpforms-submit-container {
    margin-top: 8px;
    padding: 0 !important;
    text-align: left;
}

.contact-page-form .wpforms-form .wpforms-submit {
    background-color: var(--red) !important;
    color: #fff !important;
    border: 0.5px solid var(--red) !important;
    border-radius: 20px !important;
    padding: 8px 30px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: 'Poppins', sans-serif !important;
    width: auto !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-page-form .wpforms-form .wpforms-submit:hover {
    background-color: #fff !important;
    color: var(--red) !important;
}

/* ── Validation errors ── */
.contact-page-form .wpforms-error {
    font-size: 12px;
    color: var(--red);
    margin-top: 4px;
    display: block;
}

.contact-page-form .wpforms-field input.wpforms-error,
.contact-page-form .wpforms-field select.wpforms-error {
    border-color: var(--red) !important;
}

/* ── Success/confirmation message ── */
.contact-page-form .wpforms-confirmation-container-full {
    font-size: 14px;
    color: #2e7d32;
    padding: 12px 16px;
    border-radius: 6px;
    background: #f0fff4;
    border: 1px solid #a5d6a7;
    margin-top: 10px;
}

/* Hide WPForms spinner/loader default styles */
.contact-page-form .wpforms-submit-spinner {
    display: inline-block;
    margin-left: 8px;
}
/* ── Inputs, Select, Tel ── */
.contact-page-form .wpforms-form input[type="text"],
.contact-page-form .wpforms-form input[type="email"],
.contact-page-form .wpforms-form input[type="tel"],
.contact-page-form .wpforms-form select {
    width: 100%;
    height: 50px;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 12px 16px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-page-form .wpforms-form input[type="text"]:focus,
.contact-page-form .wpforms-form input[type="email"]:focus,
.contact-page-form .wpforms-form input[type="tel"]:focus,
.contact-page-form .wpforms-form select:focus {
    border-color: #bbb !important;
    box-shadow: none;
    outline: none;
}
div.wpforms-container-full:not(:empty) {
    margin:0px auto !important;
}
.wpforms-field-description{
color:#000 !important;
}


.contact-page-form .wpforms-form textarea::placeholder {
  color: #000 !important;
  opacity: 1 !important;
}

.contact-page-form .wpforms-form textarea {
  color: #000 !important;
}
.contact-page-form .wpforms-form textarea {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  color: #000 !important;
}

.contact-page-form .wpforms-form textarea::placeholder {
  color: #000 !important;
  opacity: 1 !important;
}


/*wp home page form css*/
/* ================================================
   HOME PAGE WPFORM – final complete code
   ================================================ */

.home-page-wpform .wpforms-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Hide all labels */
.home-page-wpform .wpforms-field-label {
    display: none !important;
}

/* ── 2-COLUMN GRID ── */
.home-page-wpform .wpforms-field-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 60px !important;
    align-items: end !important;
}

/* ── EXPLICIT GRID POSITIONS ── */
.home-page-wpform .wpforms-field.wpf-fullname   { grid-column: 1; grid-row: 1; }
.home-page-wpform .wpforms-field.wpf-email      { grid-column: 2; grid-row: 1; }
.home-page-wpform .wpforms-field.wpf-mobile     { grid-column: 1; grid-row: 2; }
.home-page-wpform .wpforms-field.wpf-country    { grid-column: 2; grid-row: 2; }
.home-page-wpform .wpforms-field.wpf-city       { grid-column: 1; grid-row: 3; }
.home-page-wpform .wpforms-field.wpf-studylevel { grid-column: 2; grid-row: 3; }
.home-page-wpform .wpforms-field.wpf-year { grid-column: 1 / -1; grid-row: 4; }
.home-page-wpform .wpforms-field.wpf-consent    { grid-column: 1 / -1; grid-row: 5; }
.home-page-wpform .wpforms-submit-container     { grid-column: 1 / -1; grid-row: 6; }

/* ── ALL INPUTS & SELECTS – underline only ── */
.home-page-wpform .wpforms-form input[type="text"],
.home-page-wpform .wpforms-form input[type="email"],
.home-page-wpform .wpforms-form input[type="tel"],
.home-page-wpform .wpforms-form select {
    width: 100% !important;
    height: auto !important;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: #000 !important;
    font-family: 'Inter', sans-serif !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Focus – underline only */
.home-page-wpform .wpforms-form input[type="text"]:focus,
.home-page-wpform .wpforms-form input[type="email"]:focus,
.home-page-wpform .wpforms-form input[type="tel"]:focus,
.home-page-wpform .wpforms-form select:focus {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border-bottom: 1px solid #000 !important;
}

/* Placeholder */
.home-page-wpform .wpforms-form input::placeholder,
.home-page-wpform .wpforms-form textarea::placeholder {
    color: #000 !important;
    opacity: 1 !important;
    font-size: 13px;
}

/* ── SELECT – custom arrow ── */
.home-page-wpform .wpforms-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L160 256.1l96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.4-24.6 9.4-33.9 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 10px !important;
    padding-right: 20px !important;
    cursor: pointer;
}

/* ── FIELD WRAPPER ── */
.home-page-wpform .wpforms-field {
    padding: 0 !important;
    margin: 0 !important;
}

/* ── CHECKBOX / CONSENT ── */
.home-page-wpform .wpforms-field-checkbox .wpforms-field-label {
    display: none !important;
}

.home-page-wpform .wpforms-field-checkbox ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home-page-wpform .wpforms-field-checkbox ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.home-page-wpform .wpforms-field-checkbox input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    border: 1px solid #000 !important;
    border-radius: 50% !important;
    background: transparent !important;
    accent-color: #B40C00;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.home-page-wpform .wpforms-field-checkbox input[type="checkbox"]:checked {
    background-color: #B40C00 !important;
    border-color: #B40C00 !important;
}

.home-page-wpform .wpforms-field-checkbox .wpforms-field-label-inline {
    font-size: 13px !important;
    color: #000 !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* ── SUBMIT BUTTON ── */
.home-page-wpform .wpforms-submit-container {
    padding: 0 !important;
    margin-top: 8px !important;
    text-align: left !important;
}

.home-page-wpform .wpforms-form .wpforms-submit {
    background-color: #B40C00 !important;
    color: #fff !important;
    border: 0.5px solid #B40C00 !important;
    border-radius: 20px !important;
    padding: 8px 30px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: 'Poppins', sans-serif !important;
    width: auto !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-page-wpform .wpforms-form .wpforms-submit:hover {
    background-color: #fff !important;
    color: #B40C00 !important;
}

/* ── VALIDATION ERRORS ── */
.home-page-wpform .wpforms-error {
    font-size: 12px !important;
    color: #B40C00 !important;
    margin-top: 4px !important;
    display: block !important;
}

.home-page-wpform .wpforms-field input.wpforms-error,
.home-page-wpform .wpforms-field select.wpforms-error {
    border-bottom-color: #B40C00 !important;
}

/* ── HIDE WPFORMS EXTRA MARKUP ── */
.home-page-wpform .wpforms-page-indicator,
.home-page-wpform .wpforms-honeypot,
.home-page-wpform noscript {
    display: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .home-page-wpform .wpforms-field-container {
        grid-template-columns: 1fr !important;
    }

    .home-page-wpform .wpforms-field.wpf-fullname,
    .home-page-wpform .wpforms-field.wpf-email,
    .home-page-wpform .wpforms-field.wpf-mobile,
    .home-page-wpform .wpforms-field.wpf-country,
    .home-page-wpform .wpforms-field.wpf-city,
    .home-page-wpform .wpforms-field.wpf-studylevel,
    .home-page-wpform .wpforms-field.wpf-year,
    .home-page-wpform .wpforms-field.wpf-consent {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}