@import url("https://fonts.googleapis.com/css2?family=Kosugi&family=M+PLUS+Rounded+1c&family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Shippori+Mincho&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  background-color: #ffffff !important;
  color: #000000 !important;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
}
/*  */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0px 80px;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* When scrolling */
.header.scrolled {
  background-color: #ffffff; /* Change to your theme color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
  width: 170px;
}

/* Desktop Menu */
.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  transition: 0.3s;
  font-weight: 500;
}

.nav ul li a:hover {
  color: #ff0000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: rgb(0, 0, 0);
  transition: 0.3s;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background: #222;
  padding-top: 80px;
  transition: 0.4s ease;
  z-index: 1000;
}

.sidebar ul {
  list-style: none;
  padding-left: 30px;
}

.sidebar ul li {
  margin-bottom: 25px;
}

.sidebar ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.sidebar.active {
  right: 0;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
.news-ticker {
  width: 100%;
  background: #ff0000da;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: absolute;
  left: 0;
  top: 110px;
}

.ticker-wrapper {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
}

.ticker-wrapper p {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/*  */
.hero {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  position: relative;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white),
    url(./img/bg-img-2.png) no-repeat;
  background-position: right;
  background-size: contain;
}
.hero-content {
  padding: 200px 0px 0px 100px;
}
.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: #d00000;
  line-height: 1;
}
.hero-content h2 {
  font-size: 24px;
  margin-top: 10px;
}
.hero-content ul {
  width: 40%;
  margin: 15px 0px;
  padding-bottom: 20px;
}
.hero-content ul li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
}
.hero-content ul li i {
  color: #d00000;
}
.overlay-hero {
  width: 300px;
  height: 300px;
  background: url(./img/overlay.png);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
}
.hero-btn {
  padding: 10px 20px;
  background-color: #d00000;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 20px;
  line-height: 1.3;
  width: fit-content;
  cursor: pointer;
}
@media (max-width: 992px) {
  .hero-content {
    padding: 150px 40px 0px 40px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-content ul {
    width: 70%;
  }

  .overlay-hero {
    width: 220px;
    height: 220px;
    left: 65%;
  }

  .hero {
    background-size: 60%;
  }
}
@media (max-width: 480px) {
  .hero-content {
    padding: 200px 20px 0px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content h2 {
    font-size: 16px;
  }

  .hero-content ul li {
    font-size: 14px;
  }

  .overlay-hero {
    display: none;
  }

  .hero {
    height: 100%;
    background-size: 100%;
    padding-bottom: 50px;
  }

  .news-ticker {
    top: 130px;
  }
}
/* ================= SECTION 2 ================= */
.second-section {
  position: relative;
  padding: 80px 20px;
  background: #ffffff;
  font-family: Arial, sans-serif;
  overflow: hidden;
  background: linear-gradient(
      to bottom,
      rgb(255, 255, 255),
      rgba(255, 255, 255, 0.541),
      white
    ),
    url(./img/tokyo.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.second-section-container {
  max-width: 1300px;
  margin: auto;
}

/* HEADER */
.second-section-header h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: #000;
  margin-top: 10px;
}

.second-section-header h2 span {
  color: #e10600;
  margin-right: 10px;
}

.second-section-header p {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
}

/* RED LINE */

/* ROW */
.second-section-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.second-section-card {
  position: relative;
  width: 280px;
  text-align: center;
}

/* SKEW IMAGE BOX */
.second-section-img {
  transform: skewX(-20deg);
  overflow: hidden;
  height: 200px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.second-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewX(5deg) scale(1.7);
  filter: grayscale(100%);
}

/* NUMBER BADGE */
.second-section-number {
  position: absolute;
  bottom: 65px;
  left: -15px;
  background: #e10600;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  transform: skewX(-20deg);
}

.second-section-number::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  width: 15px;
  height: 100%;
  background: #000;
}

/* TEXT */
.second-section-card p {
  margin-top: 25px;
  font-weight: 600;
  color: #000;
}

/* FOOTER */
.second-section-footer {
  margin-top: 80px;
  background: #000;
  color: #fff;
  padding: 25px;
  font-size: 18px;
  text-align: center;
  border-left: 6px solid #e10600;
}

/* HOVER EFFECT */
.second-section-card:hover img {
  filter: grayscale(0%);
  transform: skewX(0deg) scale(1.5);
  transition: 0.4s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .second-section-row {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .second-section-header h2 {
    font-size: 26px;
  }
  .second-section-img {
    transform: skewX(0deg);
  }

  .second-section-img img {
    transform: skewX(0deg);
  }

  .second-section-number {
    transform: skewX(0deg);
  }
}
/* ===== Mandatory Section (Model Style) ===== */

.mandatory-section {
  padding: 30px 80px;
  background: #ffffff;
}

.mandatory-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mandatory-image img {
  width: 100%;
  border-radius: 5px;
}

/* Content */

.mandatory-content {
  position: relative;
}

.red-line {
  width: 4px;
  height: 60px;
  background: #d00000;
  margin-bottom: 20px;
}

.mandatory-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.4;
}
.mandatory-content h2 span {
  color: #d00000;
}
.mandatory-sub {
  font-weight: 600;
  margin-bottom: 15px;
}

.mandatory-list {
  list-style: none;
  margin-bottom: 30px;
}

.mandatory-list li {
  margin-bottom: 10px;
  font-size: 17px;
}

/* Comparison Blocks */

.comparison-wrapper {
  display: flex;
  gap: 30px;
}

.compare-block {
  background: #f5f5f5;
  padding: 20px;
  flex: 1;
  border-radius: 20px;
  background: rgba(202, 194, 194, 0.61);
  background-position: center;
  background-size: cover;
}
.come-back-right i {
  color: #d00000;
}
.come-back-left i {
  color: #0ad000;
}
.compare-block h4 {
  margin-bottom: 10px;
  font-size: 16px;
}
.compare-block h4 span {
  color: #d00000;
}
.highlight {
  border-left: 4px solid #d00000;
}

@media (max-width: 992px) {
  .mandatory-section {
    padding: 60px 30px;
  }

  .mandatory-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-wrapper {
    flex-direction: column;
  }
}

/* ===== JLPT Section ===== */
/* ================= JLPT PROGRAM SECTION ================= */

.jlpt-program-section {
  position: relative;
  padding: 120px 100px;
  background: linear-gradient(
      to bottom,
      rgba(255, 0, 0, 0),
      rgba(255, 0, 0, 0.427)
    ),
    url(./img/Japan.jpg);
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Light overlay to keep content readable */
.jlpt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
}

/* Container */
.jlpt-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  z-index: 2;
}

/* Glass Card */
.jlpt-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.jlpt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.jlpt-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #d00000;
}
.inner-con {
  padding: 10px;
  border-radius: 20px;
  background: #7777771d;
}

.duration {
  font-weight: 600;
  margin-bottom: 10px;
}

.sub {
  margin-bottom: 20px;
}

.jlpt-card h4 {
  margin: 20px;
  color: #d00000;
}

.jlpt-card ul {
  list-style: none;
  margin-bottom: 10px;
}

.jlpt-card ul li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Highlight section */
.highlight li {
  font-weight: 600;
}

/* ================= ANIMATION ================= */

.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 1s ease;
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .jlpt-program-section {
    padding: 60px 30px;
  }

  .jlpt-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ================= CAREER SUPPORT SECTION ================= */

.career-support-section {
  position: relative;
  padding: 60px 100px;
  background: url("./img/bulet.png") left no-repeat;
  color: #111;
  overflow: hidden;
}

/* Light white overlay for readability */
.career-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.88); */
  backdrop-filter: blur(2px);
}

.career-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  z-index: 2;
}

/* Left Side */

.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: #d00000;
  font-weight: 600;
}

.career-left h2 {
  font-size: 38px;
  margin: 15px 0;
  font-weight: 700;
}

.career-tagline {
  font-size: 18px;
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Right Side List */

.career-list {
  list-style: none;
  border-left: 3px solid #d00000;
  padding-left: 30px;
}

.career-list li {
  margin-bottom: 18px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.career-list li:hover {
  transform: translateX(8px);
  color: #d00000;
}

/* ================= ANIMATION ================= */

.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .career-support-section {
    padding: 80px 30px;
  }

  .career-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .career-left h2 {
    font-size: 28px;
  }

  .career-tagline {
    font-size: 16px;
  }
  .career-right {
    background-color: rgba(128, 128, 128, 0.685);
    padding: 15px;
    color: white;
  }
}

/* ================= WHY CHOOSE SECTION ================= */

/* SECTION */

.why-choose-section {
  background: #efefef;
  padding: 100px 40px;
}

/* CONTAINER */

.why-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* LEFT IMAGE (STICKY) */

.why-left {
  flex: 1;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.why-left img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* RIGHT CONTENT */

.why-right {
  flex: 1.2;
}

.why-choose-heading {
  margin-bottom: 50px;
  text-align: center;
}

.why-choose-heading h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.why-choose-heading p {
  color: #666;
  font-size: 16px;
}

/* STEP WRAPPER */

.why-choose-wrapper {
  position: relative;
}

/* STEP ROW */

.why-choose-row {
  margin: 20px 0;
}

.why-choose-content {
  display: flex;
  align-items: center;
  position: relative;
}

/* CARD */

.why-choose-card {
  background: #f8f8f8;
  padding: 25px 60px;
  border-radius: 60px;
  font-size: 18px;
  box-shadow: 0 25px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

/* LONG SOFT SHADOW */

.why-choose-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  top: 25px;
  left: 25px;
  border-radius: 60px;
  z-index: -1;
  filter: blur(8px);
}

/* NUMBER BLOCK */

.why-choose-number {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #d64a4a, #c43b3b);
  border-radius: 0 60px 60px 0;
  margin-left: -40px;
}

/* LEFT ALIGN */

.why-choose-left .why-choose-content {
  justify-content: flex-start;
}

.why-choose-left .why-choose-number {
  border-radius: 60px 0 0 60px;
  margin-left: 0;
  margin-right: -40px;
}

/* RIGHT ALIGN */

.why-choose-right .why-choose-content {
  justify-content: flex-end;
}

/* COLOR VARIATIONS */

.why-choose-green {
  background: linear-gradient(135deg, #9da505, #fbff00);
}

.why-choose-dark {
  background: linear-gradient(135deg, #6e4620, #ff8614);
}

.why-choose-light {
  background: linear-gradient(135deg, #b27f7f, #ff2b2b);
}

/* DOTTED CONNECTOR */

.why-choose-dots {
  width: 60%;
  height: 2px;
  margin: 0px auto;
  margin-top: 20px;
  background: repeating-linear-gradient(
    to right,
    #9fbfc3 0px,
    #9fbfc3 6px,
    transparent 6px,
    transparent 18px
  );
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .why-container {
    flex-direction: column;
  }

  .why-left {
    position: relative;
    top: 0;
    order: 2;
  }

  .why-right {
    order: 1;
  }

  .why-choose-content {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-number {
    margin: 0;
    border-radius: 50px;
    width: 100px;
    height: 70px;
    font-size: 28px;
  }

  .why-choose-card {
    margin-top: 15px;
    text-align: center;
    padding: 20px;
  }

  .why-choose-dots {
    width: 80%;
  }
  .why-choose-number {
    display: none;
  }
}
/* ================= FINAL CTA SECTION ================= */

.final-cta-section {
  position: relative;
  padding: 60px 100px;
  background: linear-gradient(
      to bottom,
      rgba(255, 0, 0, 0.647),
      rgba(255, 0, 0, 0.427)
    ),
    url(./img/cont-bg.jpeg);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Subtle red glow background effect */
.final-cta-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.cta-container h2 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-line {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ddd;
}

.cta-highlight {
  font-size: 22px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 30px;
}

.cta-question {
  font-size: 28px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 14px 40px;
  background: #d00000;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #fff;
  color: #d00000;
  transform: translateY(-4px);
}

/* ================= ANIMATION ================= */

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .final-cta-section {
    padding: 100px 30px;
  }

  .cta-container h2 {
    font-size: 28px;
  }

  .cta-line,
  .cta-highlight {
    font-size: 16px;
  }

  .cta-question {
    font-size: 20px;
  }
}

/* ================= ENROLL SECTION ================= */
.contact-contact-section {
  height: 100vh;
  font-family: Arial, sans-serif;
}

.contact-contact-wrapper {
  display: flex;
  height: 100%;
}

/* LEFT SIDE */
.contact-left {
  flex: 1;
  background: #ffffff;
  padding: 20px 20px 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.contact-left img {
  width: 100%;
  border-radius: 20px;
}
.contact-left-overlay {
  position: absolute;
  top: 48%;
  left: 100px;
  transform: translateY(-50%);
  padding: 30px;
}
.contact-small {
  font-size: 14px;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 15px;
}

.contact-left h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

.contact-description {
  font-size: 15px;
  margin-bottom: 15px;
  color: #dfdede;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.contact-list li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #ffffff;
}

.contact-list .highlight {
  color: #ffffff;
  font-weight: bold;
}

.contact-cta {
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  background: #ff0000;
  color: #fff;
  cursor: pointer;
  width: 180px;
  transition: 0.3s;
  text-decoration: none;
}

.contact-cta:hover {
  background: #d00000;
}

/* RIGHT SIDE IMAGE */
.contact-right {
  flex: 1;
  background: url("./img/bg.jpg") center/cover no-repeat;
  position: relative;
}
.contact-small {
  font-size: 24px;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 15px;
}
.contact-big {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 20px;
}
/* FLOATING GLASS FORM */
.floating-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 30px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.floating-form h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: rgb(0, 0, 0);
}

.floating-form input,
.floating-form textarea,
.floating-form select {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 14px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.204);
}

.floating-form textarea {
  border-radius: 15px;
  resize: none;
  min-height: 80px;
}

.floating-form button {
  width: 100%;
  padding: 10px;
  border-radius: 25px;
  border: none;
  background: #ff0000;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.floating-form button:hover {
  background: #d00000;
  color: #fff;
}

/* ===============================
   IMPROVED RESPONSIVENESS FIX
=================================*/

/* Large Screens */
@media (max-width: 1400px) {
  .contact-left {
    padding: 20px 40px;
  }

  .contact-left-overlay {
    left: 40px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .contact-contact-section {
    height: auto;
  }

  .contact-contact-wrapper {
    flex-direction: column;
  }

  .contact-left {
    padding: 40px 20px;
  }

  .contact-left img {
    height: 450px;
    object-fit: cover;
  }

  .contact-left-overlay {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
  }

  .contact-big {
    font-size: 32px;
  }

  .contact-right {
    height: 500px;
  }

  .floating-form {
    width: 85%;
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .contact-left img {
    height: 100vh;
  }

  .contact-left-overlay {
    top: 32%;
    left: 20px;
    right: 20px;
    padding: 15px;
  }

  .contact-small {
    font-size: 18px;
  }

  .contact-big {
    font-size: 26px;
    line-height: 1.3;
  }

  .contact-description {
    font-size: 13px;
  }

  .contact-list li {
    font-size: 13px;
  }

  .contact-cta {
    width: 160px;
    font-size: 14px;
  }

  .contact-right {
    height: 700px;
  }

  .floating-form {
    position: relative;
    width: 90%;
    padding: 20px;
  }

  .floating-form h3 {
    font-size: 16px;
  }

  .floating-form input,
  .floating-form textarea {
    font-size: 13px;
  }

  .floating-form button {
    font-size: 14px;
  }
}
/* ================= ANIMATION ================= */

.reveal-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.reveal-fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

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

  .enroll-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .enroll-left h2 {
    font-size: 26px;
  }
}

/* ================= FAQ SECTION ================= */

.faq-section {
  padding: 80px 100px;
  background: #f9f9f9;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-mini {
  font-size: 12px;
  letter-spacing: 3px;
  color: #d00000;
  font-weight: 600;
}

.faq-header h2 {
  font-size: 36px;
  margin-top: 10px;
}

/* FAQ Items */

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #d00000;
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease,
    transform 0.4s ease;
  font-size: 16px;
  color: #555;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
}

.faq-icon {
  transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ================= REVEAL ANIMATION ================= */

.reveal-fade {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}

.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

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

  .faq-header h2 {
    font-size: 26px;
  }

  .faq-question {
    font-size: 16px;
  }
}

/* ================= JAPANESE FINAL SECTION ================= */

.jp-final-section {
  padding: 80px 120px;
  background: linear-gradient(
      to bottom,
      rgba(255, 0, 0, 0.5),
      rgba(255, 0, 0, 0.5)
    ),
    url(./img/Japan.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.jp-final-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  max-width: 1200px;
  margin: auto;
}

/* Left Side */

.jp-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: #ffffff;
  display: block;
  margin-bottom: 15px;
}

.jp-final-left h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

/* Right Side */

.jp-final-right p {
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
}

.jp-highlight {
  font-size: 22px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 30px;
}
.jp-final-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
}
.jp-cta-btn {
  display: inline-block;
  padding: 14px 45px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.jp-cta-btn:hover {
  background: #f3afaf;
  color: #fff;
}

/* ================= SUBTLE ANIMATION ================= */

.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .jp-final-section {
    padding: 80px 30px;
  }

  .jp-final-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jp-final-left h2 {
    font-size: 26px;
  }
}

/* ================= JAPANESE PREMIUM FOOTER ================= */

.jp-footer {
  background: #000000;
  color: #ccc;
  padding: 100px 100px 40px;
}

.jp-footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #d00000;
}

.footer-col p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  cursor: pointer;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #d00000;
  padding-left: 6px;
}
/* Logo Styling */

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 200px;
  object-fit: contain;
}
.footer-logo-img img {
  width: 100%;
}
/* Optional subtle hover effect */
.footer-logo-img:hover {
  opacity: 0.9;
}
/* Bottom Bar */

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #777;
  font-weight: 400;
}
.footer-bottom a {
  color: #777;
  text-decoration: none;
}
/* ================= ANIMATION ================= */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.floting-cta-section .whatsapp-cta-float,
.floting-cta-section .call-cta-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: visible;
  text-decoration: none;
}

/* POSITIONING */
.floting-cta-section .whatsapp-cta-float {
  background: #25d366;
  right: 20px;
}

.floting-cta-section .call-cta-float {
  background: #254bd3;
  left: 20px;
}

/* ICON STYLE */
.floting-cta-section i {
  color: #fff;
  font-size: 24px;
  z-index: 2;
}

/* ============================= */
/* WAVE ANIMATION (BOTH BUTTONS) */
/* ============================= */

.floting-cta-section .whatsapp-cta-float::before,
.floting-cta-section .whatsapp-cta-float::after,
.floting-cta-section .call-cta-float::before,
.floting-cta-section .call-cta-float::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 0;
  animation: wave 2.5s infinite ease-out;
}

/* WhatsApp Wave Color */
.floting-cta-section .whatsapp-cta-float::before,
.floting-cta-section .whatsapp-cta-float::after {
  background: rgba(37, 211, 102, 0.4);
}

/* Call Wave Color */
.floting-cta-section .call-cta-float::before,
.floting-cta-section .call-cta-float::after {
  background: rgba(37, 75, 211, 0.4);
}

/* Second ripple delay */
.floting-cta-section .whatsapp-cta-float::after,
.floting-cta-section .call-cta-float::after {
  animation-delay: 1.2s;
}

/* Keyframes */
@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Optional subtle icon pulse */
.floting-cta-section i {
  animation: iconPulse 2.5s infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .jp-footer {
    padding: 60px 30px 30px;
  }

  .jp-footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.video-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  width: 350px;
  height: auto;
}
.youtube-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0px;
  flex-direction: column;
  gap: 15px;
}
.youtube-container a {
  text-align: center;
  text-decoration: none;
  color: #d00000;
}
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Container */
.popup-form-container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 350px;
  position: relative;
  animation: popupScale 0.3s ease;
}

@keyframes popupScale {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* Form */
.popup-form input,
.popup-form select,
.popup-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-form button {
  width: 100%;
  padding: 10px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
