﻿/* ONLINE CLASSES css start from here  */
.section-block{
  --brand-red:#C0392B;
  --brand-orange:#E8853B;
  --brand-yellow:#F4B942;
  --text-muted:#5a5a5a;
  padding:60px 0;
}
.section-block h3,
.section-block h4,
.section-block h5,
.section-block h6{
  text-align:center;color:#1a1a1a;margin-bottom:15px;
}
.section-block h4{font-size:2rem;font-weight:600;}
.section-block h3{font-size:2.1rem;font-weight:600;}
.section-block h5{
  font-size:1.15rem;font-weight:500;color:var(--text-muted);
  max-width:700px;margin-left:auto;margin-right:auto;
}
.section-block h6{font-size:1.3rem;font-weight:500;color:var(--brand-red);}
.section-block > .container > p{text-align:center;max-width:800px;margin:0 auto 10px auto;}

.intro-text{
  text-align:center;max-width:850px;margin:0 auto 15px auto;line-height:1.7;
  color:var(--text-muted);
}

.pill-grid{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px;
}
.pill-item{
  display:inline-flex;align-items:center;
  background:#fff;border:1px solid #e6e6e6;border-radius:50px;
  padding:10px 22px;font-size:.95rem;color:#333;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
  transition:all .25s ease;white-space:nowrap;
}
.pill-item:hover{
  background:var(--brand-red);color:#fff;border-color:var(--brand-red);
  transform:translateY(-2px);
}
.pill-item .pill-check{
  width:15px;height:15px;margin-right:8px;flex:0 0 auto;color:var(--brand-yellow);
}
.pill-item:hover .pill-check{color:#fff;}

.bg-alt{
  background:#FFF7EE;
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}

.section-footnote{
  text-align:center;max-width:750px;margin:25px auto 0 auto;
  padding-top: 50px;
  font-style:italic;color:var(--text-muted);
}

.online-classes-cta{
  display:block;width:max-content;background:var(--brand-yellow);color:#1a1a1a;
  font-weight:700;font-size:.9rem;padding:12px 28px;border-radius:6px;
  text-decoration:none;margin:26px auto 0 auto;transition:background .2s ease;
}
.online-classes-cta:hover{background:#DF2222;color:white!important;}

@media (max-width:576px){
  .section-block{padding:40px 0;}
  .section-block h4{font-size:1.5rem;}
  .section-block h3{font-size:1.6rem;}
  .pill-item{font-size:.85rem;padding:8px 16px;white-space:normal;}
}
/* online classes css end here */


/* Learn Languages section start from here  */
.intro-section {
  padding: 90px 20px;
  background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
}

.intro-section .badge {
  display: inline-block;
  background-color: #fde8e8;
  color: #d92626;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.intro-section .heading {
  font-weight: 700;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.2;
}

.intro-section .subheading {
  font-weight: 600;
  font-size: 1.15rem;
  color: #d92626;
  margin-bottom: 26px;
  position: relative;
  display: inline-block;
}

.intro-section .subheading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #d92626;
  border-radius: 2px;
  margin: 14px auto 0;
}

.intro-section .para {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.85;
  margin: 0 auto 18px;
  max-width: 780px;
}

.intro-section .btn {
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 34px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.intro-section .btn-primary {
  background-color: #d92626;
  color: #ffffff;
}

.intro-section .btn-primary:hover {
  background-color: #d92626;
  color: #ffffff!important;
  transform: translateY(-2px);
}

.intro-section .btn-outline {
  background-color: transparent;
  border-color: #d92626;
  color: #1a1a1a;
}

.intro-section .btn-outline:hover {
  background-color: #d92626;
  color: #ffffff!important;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .intro-section {
    padding: 60px 20px;
  }
  .intro-section .heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 575px) {
  .intro-section .heading {
    font-size: 1.8rem;
  }
  .intro-section .subheading {
    font-size: 1rem;
  }
  .intro-section .btn {
    width: 100%;
  }
  .intro-section .btn-group {
    flex-direction: column;
  }
}
/* Learn Languages section end here */


/* Why Choose section start from here  */
.why-section {
  padding: 90px 20px;
  background-color: #ffffff;
}

.why-section .badge {
  display: inline-block;
  background-color: #fde8e8;
  color: #d92626;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.why-section .heading {
  font-weight: 700;
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.25;
}

.why-section .para {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.85;
  max-width: 780px;
  margin: 0 auto;
}

.why-section .feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #faf9f9;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 18px 20px;
  height: 100%;
  font-size: 0.98rem;
  color: #2a2a2a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.why-section .feature-card:hover {
  background-color: #fff8f7;
  border-color: #f3c9c9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 38, 38, 0.08);
}

.why-section .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d92626;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 991px) {
  .why-section {
    padding: 60px 20px;
  }
  .why-section .heading {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .why-section .heading {
    font-size: 1.7rem;
  }
  .why-section .feature-card {
    font-size: 0.92rem;
  }
}
/* Why Choose sectione end here */

/* Learn Anytime, Anywhere section start from here */
.flexible-section {
  padding: 80px 20px;
  background-color: #fff8f7;
}

.flexible-section .badge {
  display: inline-block;
  background-color: #ffffff;
  color: #d92626;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  border: 1px solid #f3c9c9;
}

.flexible-section .heading {
  font-weight: 700;
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.25;
}

.flexible-section .para {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.85;
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 991px) {
  .flexible-section {
    padding: 55px 20px;
  }
  .flexible-section .heading {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .flexible-section .heading {
    font-size: 1.7rem;
  }
  .flexible-section .para {
    font-size: 0.98rem;
  }
}
/* Learn Anytime, Anywhere section end here */


/* start your global journey cta section start from here  */
.cta-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.cta-section .heading {
  font-weight: 700;
  font-size: 2.3rem;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta-section .para {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 30px;
}

.cta-section .cta-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #d92626;
  border: 2px solid #d92626;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 38px;
  transition: all 0.3s ease;
}

.cta-section .cta-btn:hover {
  background-color: #d92626;
  color: #ffffff!important;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .cta-section {
    padding: 55px 20px;
  }
  .cta-section .heading {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .cta-section .heading {
    font-size: 1.7rem;
  }
  .cta-section .cta-btn {
    display: block;
    width: 100%;
  }
}
/* start your global journey cta section end here */


/* =================== about page css start from here   =================== */

/* modern school of languages section start from here  */

.about-section {
  background-color: #ffffff;
  padding: 90px 20px 20px 20px;
  overflow: hidden;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Badge - "About Us" wala chhota pill jaisa Educeet ke hero mein tha */
.badge {
  display: inline-block;
  background-color: #fdecea;
  color: #e63946;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

/* Main Heading */
.heading {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 30px;
}

/* Paragraphs */
.para {
  font-size: 17px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 22px;
}

/* Sub Heading before pill list */
.sub-heading {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 40px 0 22px;
}

/* Pill list - "School Students, College Students" etc */
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  margin: 0 0 30px;
}

.pill-list li {
  background-color: #fff;
  border: 1.5px solid #e63946;
  color: #e63946;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: default;
}

.pill-list li:hover {
  background-color: #e63946;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .heading {
    font-size: 34px;
  }
  .about-section {
    padding: 70px 20px;
  }
}

@media (max-width: 767px) {
  .heading {
    font-size: 28px;
  }
  .para {
    font-size: 15px;
  }
  .sub-heading {
    font-size: 19px;
  }
  .pill-list li {
    font-size: 13px;
    padding: 8px 16px;
  }
  .about-section {
    padding: 50px 15px;
  }
}

@media (max-width: 480px) {
  .heading {
    font-size: 24px;
  }
  .pill-list {
    gap: 10px;
  }
}
/* about modern school of languages section end here */


/* mission & vision section start from here  */

.mission-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.mv-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

/* underline accent, red jaisa Educeet ke theme mein hai */
.mv-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: #e63946;
  border-radius: 4px;
}

.mv-subheading {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 40px 0 20px;
}

.mv-para {
  font-size: 17px;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 18px;
  text-align: justify;
}

/* Bullet list - custom icon bullets instead of default dots */
.mv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.mv-list li {
  position: relative;
  font-size: 16.5px;
  line-height: 1.7;
  color: #444444;
  padding: 12px 0 12px 38px;
  border-bottom: 1px dashed #eeeeee;
}

.mv-list li:last-child {
  border-bottom: none;
}

/* Custom checkmark-style bullet */
.mv-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  background-color: #fdecea;
  color: #e63946;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-list li:hover {
  background-color: #fff9f9;
  padding-left: 42px;
  transition: all 0.25s ease;
}

.mv-list li:hover::before {
  background-color: #e63946;
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mv-heading {
    font-size: 30px;
  }
  .mission-section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .mv-heading {
    font-size: 25px;
  }
  .mv-subheading {
    font-size: 19px;
  }
  .mv-para {
    font-size: 15px;
    text-align: left;
  }
  .mv-list li {
    font-size: 14.5px;
    padding: 10px 0 10px 32px;
  }
  .mission-section {
    padding: 45px 0;
  }
}

@media (max-width: 480px) {
  .mv-heading {
    font-size: 22px;
  }
  .mv-list li::before {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

/* mission & vision section end  here  */

/* Our Core Values Section start from here */

.values-section {
  background-color: #fafafa;
  padding: 80px 0;
}

.values-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.values-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #e63946;
  border-radius: 4px;
  margin: 15px auto 0;
}

/* Grid of value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.value-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 35px 28px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.12);
  border-color: #e63946;
}

.value-num {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: #e63946;
  background-color: #fdecea;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.value-card h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}

/* Motto highlight box */
.motto-box {
  background: linear-gradient(135deg, #e63946, #c1121f);
  border-radius: 18px;
  padding: 55px 40px;
  text-align: center;
  color: #ffffff;
}

.motto-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c1121f;
  background-color: #ffffff;
  padding: 5px 20px;
  border-radius: 5px;
  opacity: 1;
  margin-bottom: 18px;
}

.motto-text {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.motto-desc {
  font-size: 16.5px;
  line-height: 1.8;
  color: #ffffff;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-heading {
    font-size: 30px;
  }
  .motto-text {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .values-section {
    padding: 55px 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .values-heading {
    font-size: 25px;
    margin-bottom: 35px;
  }
  .value-card {
    padding: 28px 22px;
  }
  .motto-box {
    padding: 40px 25px;
    border-radius: 14px;
  }
  .motto-text {
    font-size: 24px;
  }
  .motto-desc {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .values-heading {
    font-size: 22px;
  }
  .value-card h5 {
    font-size: 18px;
  }
  .motto-text {
    font-size: 21px;
  }
}

/* Our Core Values Section css end here */

/* our teaching methodology section css start from here */

.methodology-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.methodology-intro {
  max-width: 800px;
  margin: 0 auto 45px;
  text-align: center;
}

.methodology-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
}

.methodology-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #e63946;
  border-radius: 4px;
  margin: 15px auto 0;
}

.methodology-para {
  font-size: 17px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
}

.methodology-subheading {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 35px;
}

/* Two column list grid */
.methodology-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.methodology-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 500;
  color: #333333;
  transition: all 0.3s ease;
}

/* Custom bullet icon before each item */
.methodology-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background-color: #fdecea;
  color: #e63946;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology-list li:hover {
  background-color: #fdecea;
  border-color: #e63946;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(230, 57, 70, 0.1);
}

.methodology-list li:hover::before {
  background-color: #e63946;
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .methodology-heading {
    font-size: 30px;
  }
  .methodology-list {
    gap: 14px 20px;
  }
}

@media (max-width: 767px) {
  .methodology-section {
    padding: 55px 0;
  }
  .methodology-heading {
    font-size: 25px;
  }
  .methodology-para {
    font-size: 15px;
  }
  .methodology-subheading {
    font-size: 19px;
    margin-bottom: 25px;
  }
  .methodology-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .methodology-list li {
    font-size: 14.5px;
    padding: 15px 16px;
  }
}

@media (max-width: 480px) {
  .methodology-heading {
    font-size: 22px;
  }
  .methodology-list li::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}
/* our teaching methodology section css end here */



/* international exam preparation section start from here */

.exam-section {
  background-color: #fafafa;
  padding: 85px 0;
}

.exam-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

/* Left side */
.exam-left {
  position: sticky;
  top: 100px;
}

.exam-badge {
  display: inline-block;
  background-color: #fdecea;
  color: #e63946;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.exam-heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 20px;
}

.exam-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
}

/* Right side */
.exam-subheading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.exam-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* vertical connecting line */
.exam-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #e63946 0,
    #e63946 6px,
    transparent 6px,
    transparent 12px
  );
}

.exam-timeline li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
}

.exam-step {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: #ffffff;
  border: 2px solid #e63946;
  color: #e63946;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.exam-text {
  font-size: 16.5px;
  font-weight: 500;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  padding: 14px 22px;
  border-radius: 10px;
  flex: 1;
  transition: all 0.3s ease;
}

.exam-timeline li:hover .exam-step {
  background-color: #e63946;
  color: #ffffff;
}

.exam-timeline li:hover .exam-text {
  border-color: #e63946;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.1);
  transform: translateX(6px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .exam-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .exam-left {
    position: static;
  }
  .exam-heading {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .exam-section {
    padding: 55px 0;
  }
  .exam-heading {
    font-size: 24px;
  }
  .exam-para {
    font-size: 15px;
  }
  .exam-subheading {
    font-size: 18px;
  }
  .exam-timeline li {
    gap: 14px;
    padding: 12px 0;
  }
  .exam-step {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .exam-text {
    font-size: 14.5px;
    padding: 12px 16px;
  }
  .exam-timeline::before {
    left: 16px;
  }
}

@media (max-width: 480px) {
  .exam-heading {
    font-size: 21px;
  }
  .exam-step {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* Stat cards to fill left column space */
.exam-stats {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.exam-stat-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.exam-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(230, 57, 70, 0.1);
  border-color: #e63946;
}

.exam-stat-card h4 {
  font-size: 30px;
  font-weight: 800;
  color: #e63946;
  margin-bottom: 6px;
}

.exam-stat-card p {
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  margin: 0;
}

/* Decorative note box */
.exam-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #fdecea, #fff5f5);
  border-left: 4px solid #e63946;
  border-radius: 10px;
  padding: 22px 24px;
  margin-top: 30px;
}

.exam-note-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background-color: #e63946;
  color: #ffffff;
  font-size: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-note p {
  font-size: 15px;
  line-height: 1.6;
  color: #444444;
  margin: 0;
  font-weight: 500;
}

/* Responsive additions */
@media (max-width: 767px) {
  .exam-stats {
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }
  .exam-stat-card {
    padding: 18px;
  }
  .exam-stat-card h4 {
    font-size: 26px;
  }
  .exam-note {
    padding: 18px 20px;
    margin-top: 22px;
  }
}
/* about page international exam preparation section end here */


/* about page why learn with us section start from here */
.why-section {
  background-color: #ffffff;
  padding: 85px 0;
}

/*
.why-badge {
  display: inline-block;
  background-color: transparent;
  color: #e63946;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  padding: 6px 20px;
  border: 1px solid #e63946;
  border-radius: 8px;
  margin-bottom: 18px;
}
*/
.why-heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  max-width: 750px;
  margin: 0 auto 55px;
  line-height: 1.35;
}
/* Grid of feature cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.why-card {
  background-color: #ffffff;
  border: 1px solid #ececec;
  border-top: 3px solid #e63946;
  border-radius: 14px;
  padding: 32px 22px;
  text-align: center;
  transition: all 0.3s ease;
}
.why-icon {
  width: 56px;
  height: 56px;
  background-color: #fdecea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #e63946;
  transition: all 0.3s ease;
}
.why-icon svg {
  width: 26px;
  height: 26px;
}
.why-card p {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  line-height: 1.55;
  margin: 0;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(230, 57, 70, 0.12);
  border-top-color: #c1121f;
}
.why-card:hover .why-icon {
  background-color: #e63946;
  color: #ffffff;
  transform: scale(1.1);
}
/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .why-heading {
    font-size: 28px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .why-section {
    padding: 55px 0;
  }
  .why-heading {
    font-size: 23px;
    margin-bottom: 35px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-card {
    padding: 26px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .why-icon {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }
  .why-icon svg {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 480px) {
  .why-heading {
    font-size: 21px;
  }
}
/* about page why learn with us section end here */

/*  start learning today cta section start from here */
  
.cta-section {
  background-color: #fafafa;
  padding: 80px 0;
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
  border-radius: 24px;
  padding: 70px 50px;
  text-align: center;
  overflow: hidden;
}

/* subtle decorative red glow pattern */
.cta-pattern {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-pattern::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.25), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.cta-tagline {
  display: inline-block;
  background-color: rgba(230, 57, 70, 0.15);
  color: #ff6b74;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.cta-heading {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
}

.cta-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #cfcfcf;
  margin-bottom: 18px;
}

.cta-btn {
  display: inline-block;
  background-color: #e63946;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 42px;
  border-radius: 10px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.35);
}

.cta-btn:hover {
  background-color: #c1121f;
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(230, 57, 70, 0.45);
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .cta-box {
    padding: 55px 35px;
  }
  .cta-heading {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .cta-section {
    padding: 55px 0;
  }
  .cta-box {
    padding: 45px 25px;
    border-radius: 18px;
  }
  .cta-heading {
    font-size: 26px;
  }
  .cta-para {
    font-size: 15px;
  }
  .cta-btn {
    padding: 14px 32px;
    font-size: 15px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-heading {
    font-size: 22px;
  }
  .cta-tagline {
    font-size: 11px;
    padding: 6px 14px;
  }
}

/*  start learning today cta section end here */


/* ============== about page css end here   =============== */


/* ==================== corporate page css start from here  ==================== */

/*  book a professional interpreter section start from here  */

.interpreter-section {
  background-color: #ffffff;
  padding: 85px 0;
}
.interp-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
/* Left content */
.interp-badge {
  display: inline-block;
  background-color: transparent;
  color: #e63946;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 20px;
  border: 1px solid #e63946;
  border-radius: 8px;
  margin-bottom: 20px;
}
.interp-heading {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 22px;
}
.interp-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 18px;
}
/* Interpretation type tags */
.interp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 25px;
}
.interp-tag {
  background-color: #fdecea;
  color: #c1121f;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 30px;
}
.interp-tagline {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 4px solid #e63946;
  padding-left: 16px;
  margin-top: 30px;
}
/* Right side sticky contact card */
.interp-right {
  position: sticky;
  top: 100px;
}
.interp-card {
  background-color: #DF2222;
  border-radius: 20px;
  padding: 45px 35px;
  color: #ffffff;
  text-align: center;
}
.interp-card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
}
.interp-card-icon svg {
  width: 26px;
  height: 26px;
}
.interp-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}
.interp-card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 26px;
}
.interp-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.interp-email svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.interp-email:hover {
  background-color: white;
  color: #DF2222;
}
.interp-btn {
  display: inline-block;
  width: 100%;
  background-color: #ffffff;
  color: #DF2222;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.interp-btn:hover {
  background-color: #f5f5f5;
  color: #DF2222;
  transform: translateY(-3px);
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .interp-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .interp-right {
    position: static;
  }
  .interp-heading {
    font-size: 30px;
  }
  .interp-card {
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .interpreter-section {
    padding: 55px 0;
  }
  .interp-heading {
    font-size: 25px;
  }
  .interp-para {
    font-size: 15px;
  }
  .interp-tagline {
    font-size: 16px;
  }
  .interp-card {
    padding: 35px 25px;
  }
  .interp-card-title {
    font-size: 19px;
  }
}
@media (max-width: 480px) {
  .interp-heading {
    font-size: 22px;
  }
  .interp-tags {
    gap: 8px;
  }
  .interp-tag {
    font-size: 13px;
    padding: 7px 16px;
  }
}
/* book a professional interpreter section end here */

/* recruitment support intro start from here */

.rs-intro-section {
  background-color: #ffffff;
  padding: 75px 0 40px;
}

.rs-intro-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.rs-badge {
  display: inline-block;
  background-color: transparent;
  color: #e63946;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 20px;
  border: 1px solid #e63946;
  border-radius: 8px;
  margin-bottom: 20px;
}

.rs-heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 22px;
}

.rs-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .rs-heading {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .rs-intro-section {
    padding: 50px 0 25px;
  }
  .rs-heading {
    font-size: 23px;
  }
  .rs-para {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .rs-heading {
    font-size: 20px;
  }
}
/* recruitment support intro end here */


/* For Students section start from here */ 

.fs-section {
  background-color: #fafafa;
  padding: 60px 0 85px;
}

.fs-header {
  max-width: 800px;
  margin: 0 auto 45px;
  text-align: center;
}

.fs-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.fs-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #e63946;
  border-radius: 4px;
}

.fs-para {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
}

/* Cards grid */
.fs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 45px;
}

.fs-card {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  padding: 38px 34px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.fs-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 22px;
}

/* Student Support Includes list */
.fs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-list li {
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
  color: #444444;
  padding: 12px 0 12px 34px;
  border-bottom: 1px dashed #eeeeee;
}

.fs-list li:last-child {
  border-bottom: none;
}

.fs-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background-color: #fdecea;
  color: #e63946;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Career Opportunities tags */
.fs-tag-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 18px;
}

.fs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fs-tags span {
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  color: #333333;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.fs-tags span:hover {
  background-color: #e63946;
  border-color: #e63946;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Contact strip */
.fs-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background-color: #fdecea;
  border-radius: 18px;
  padding: 38px 40px;
}

.fs-contact-left h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.fs-contact-left p {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin: 0;
  max-width: 600px;
}

.fs-contact-right {
  flex-shrink: 0;
}

.fs-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #e63946;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
}

.fs-email-btn svg {
  width: 18px;
  height: 18px;
}

.fs-email-btn:hover {
  background-color: #c1121f;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .fs-heading {
    font-size: 26px;
  }
  .fs-card {
    padding: 30px 26px;
  }
}

@media (max-width: 767px) {
  .fs-section {
    padding: 40px 0 55px;
  }
  .fs-heading {
    font-size: 22px;
  }
  .fs-para {
    font-size: 15px;
  }
  .fs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fs-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .fs-email-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fs-heading {
    font-size: 20px;
  }
  .fs-tags span {
    font-size: 12.5px;
    padding: 7px 13px;
  }
}
/* For Students section end here */


/* for companies intro section start from here */
.mscz-fcintro-section {
  background-color: #ffffff;
  padding: 75px 0 30px;
}

.mscz-fcintro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mscz-fcintro-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.mscz-fcintro-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #e63946;
  border-radius: 4px;
}

.mscz-fcintro-para {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mscz-fcintro-heading {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .mscz-fcintro-section {
    padding: 50px 0 20px;
  }
  .mscz-fcintro-heading {
    font-size: 23px;
  }
  .mscz-fcintro-para {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mscz-fcintro-heading {
    font-size: 20px;
  }
}

/* for companies intro section end here */

/* recruit / industries / why section start from here */

.mscz-recruitlist-section {
  background-color: #ffffff;
  padding: 30px 0 80px;
}

.mscz-recruitlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.mscz-recruitlist-card {
  background-color: #fafafa;
  border-left: 4px solid #DD211F;
  border-radius: 14px;
  padding: 32px 28px;
}

.mscz-recruitlist-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.mscz-recruitlist-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mscz-recruitlist-ul li {
  position: relative;
  font-size: 14.5px;
  line-height: 1.6;
  color: #444444;
  padding: 9px 0 9px 20px;
  border-bottom: 1px dashed #e5e5e5;
}

.mscz-recruitlist-ul li:last-child {
  border-bottom: none;
}

.mscz-recruitlist-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background-color: #e63946;
  border-radius: 50%;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .mscz-recruitlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .mscz-recruitlist-section {
    padding: 20px 0 55px;
  }
  .mscz-recruitlist-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mscz-recruitlist-card {
    padding: 26px 22px;
  }
  .mscz-recruitlist-title {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .mscz-recruitlist-card {
    padding: 22px 18px;
  }
}
/* recruit / industries / why section end here */


/* Employer Enquiries Section â€” v2 start from here */
.mscz-employerenq-section {
  background-color: #ffffff;
  padding: 20px 0 80px;
}

.mscz-employerenq-box {
  position: relative;
  background: linear-gradient(135deg, #e63946, #c1121f);
  border-radius: 22px;
  padding: 48px 50px;
  overflow: hidden;
}

/* decorative glow blob */
.mscz-employerenq-pattern {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mscz-employerenq-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.mscz-employerenq-left {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.mscz-employerenq-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mscz-employerenq-icon svg {
  width: 26px;
  height: 26px;
}

.mscz-employerenq-title {
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.mscz-employerenq-para {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 560px;
}

.mscz-employerenq-right {
  flex-shrink: 0;
}

.mscz-employerenq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #c1121f;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.mscz-employerenq-btn svg {
  width: 18px;
  height: 18px;
}

.mscz-employerenq-btn:hover {
  background-color: white;
  color: white;
  transform: translateY(-3px);
}

/* ===== Responsive section ===== */
@media (max-width: 991px) {
  .mscz-employerenq-box {
    padding: 40px 35px;
  }
}

@media (max-width: 767px) {
  .mscz-employerenq-section {
    padding: 15px 0 55px;
  }
  .mscz-employerenq-box {
    padding: 30px 24px;
    border-radius: 18px;
  }
  .mscz-employerenq-content {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .mscz-employerenq-left {
    align-items: center;
    gap: 14px;
  }
  .mscz-employerenq-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .mscz-employerenq-icon svg {
    width: 20px;
    height: 20px;
  }
  .mscz-employerenq-title {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .mscz-employerenq-para {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .mscz-employerenq-right {
    width: 100%;
  }
  .mscz-employerenq-btn {
    width: 100%;
    justify-content: center;
    background-color: #ffffff;
    color: #c1121f;
    font-weight: 800;
  }
}

@media (max-width: 480px) {
  .mscz-employerenq-box {
    padding: 26px 20px;
  }
  .mscz-employerenq-title {
    font-size: 17px;
  }
  .mscz-employerenq-para {
    font-size: 13px;
  }
}
/* Employer Enquiries Section â€” v2 end here */

/* ==================== corporate page css end here  ==================== */


/* ==================== spanish page css start from here  ==================== */


/* spanish slide section start from here */
.spanish-hero {
  background-image: url('../img/spanish/img1.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.spanish-hero-wrap {
  width: 100%;
  display: flex;
  align-items: center;
}
.spanish-hero-img-mobile {
  display: none;
}
.spanish-hero-content {
  width: 50%;
}
.spanish-hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0c9c9;
  color: #a12e2e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.spanish-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 18px;
}
.spanish-hero-title .spanish-text-highlight {
  color: #DF2222 !important;
}
.spanish-hero-desc {
  font-size: 16px;
  color: #4a4a4a;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.spanish-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.spanish-btn-enroll {
  background: #DF2222;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: 0.3s;
}
.spanish-btn-enroll:hover {
  background: #ffffff !important;
  color: #DF2222 !important;
  border: 1.5px solid #DF2222;
}
.spanish-btn-demo {
  background: transparent;
  color: #DF2222 !important;
  font-weight: 600;
  border: 1.5px solid #a12e2e;
  padding: 12px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.spanish-btn-demo:hover {
  background: #DF2222 !important;
  color: #ffffff !important;
}
/* ===== Mobile & Tablet Responsive (sm + md, lg untouched) ===== */
@media (max-width: 991px) {
  .spanish-hero {
    background-image: none;
    min-height: auto;
    padding: 30px 0;
    align-items: center;
  }
  .spanish-hero-wrap {
    flex-direction: column;
  }
  .spanish-hero-img-mobile {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .spanish-hero-img-mobile img {
    --mobile-img-size: 400px;
    max-width: var(--mobile-img-size);
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .spanish-hero-content {
    width: 100%;
    text-align: center;
  }
  .spanish-hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .spanish-hero-btns {
    justify-content: center;
    gap: 10px;
  }
  .spanish-hero-title {
    font-size: 28px;
  }
  .spanish-hero-desc {
    font-size: 14px;
  }
  .spanish-btn-enroll, .spanish-btn-demo {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* spanish slide section end here */


/* spanish speaking nations (flags) section css start from here */

.mssp-flags-section {
  background-color: #ffffff;
  padding: 0px 0 0px;
}

.mssp-flags-card {
  background-color: #fafafa;
  border-radius: 22px;
  padding: 45px 40px;
}

.mssp-flags-header {
  text-align: center;
  margin-bottom: 35px;
}

.mssp-flags-header h3 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.mssp-flags-line {
  width: 70px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
  margin: 0 auto;
}

.mssp-flags-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
}

.mssp-flag-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 20px 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.mssp-flag-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(223, 34, 34, 0.12);
  border-color: #DF2222;
}

.mssp-flag-item img {
  display: block;
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mssp-flag-item p {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.3;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-flags-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .mssp-flags-card {
    padding: 35px 28px;
  }
}

@media (max-width: 767px) {
  .mssp-flags-section {
    padding: 50px 0 10px;
  }
  .mssp-flags-card {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .mssp-flags-header h3 {
    font-size: 21px;
  }
  .mssp-flags-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
  }
  .mssp-flag-item img {
    width: 46px;
    height: 33px;
  }
  .mssp-flag-item p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .mssp-flags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* spanish speaking nations (flags) section css end here */


/* why learn spanish intro section css start from here  */
.mssp-whyintro-section {
  background-color: #ffffff;
  padding: 30px 0 60px;
  overflow: hidden;
}
.mssp-whyintro-row {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}
.mssp-whyintro-content {
  text-align: left;
}
.mssp-whyintro-heading {
  font-size: clamp(22px, 4vw, 35px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-whyintro-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-whyintro-para {
  font-size: clamp(14.5px, 1.6vw, 18px);
  line-height: 1.85;
  color: #555555;
  margin: 0 0 30px;
  text-align: left;
}
.mssp-whyintro-imgwrap {
  display: flex;
  justify-content: center;
}
.mssp-whyintro-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* stats row */
.mssp-whyintro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mssp-whyintro-stat {
  border: 1px solid #f0d5d5;
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
}
.mssp-whyintro-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #DF2222;
  margin: 0 0 6px;
}
.mssp-whyintro-stat-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #555555;
  margin: 0;
}

/* scroll-in animation */
.mssp-whyintro-animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.mssp-whyintro-animate.mssp-whyintro-from-left {
  transform: translateX(-40px);
}
.mssp-whyintro-animate.mssp-whyintro-from-right {
  transform: translateX(40px);
}
.mssp-whyintro-animate.mssp-whyintro-in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-whyintro-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mssp-whyintro-imgwrap {
    order: -1;
  }
  .mssp-whyintro-content {
    text-align: center;
  }
  .mssp-whyintro-para {
    text-align: center;
  }
  .mssp-whyintro-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .mssp-whyintro-img {
    max-width: 400px;
  }
}
@media (max-width: 767px) {
  .mssp-whyintro-section {
    padding: 24px 0 40px;
  }
  .mssp-whyintro-img {
    max-width: 320px;
  }
  .mssp-whyintro-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .mssp-whyintro-section {
    padding: 20px 0 32px;
  }
  .mssp-whyintro-img {
    max-width: 260px;
  }
  .mssp-whyintro-para {
    padding: 0 6px;
  }
  .mssp-whyintro-stat-num {
    font-size: 19px;
  }
  .mssp-whyintro-stat-label {
    font-size: 11.5px;
  }
}
@media (max-width: 360px) {
  .mssp-whyintro-img {
    max-width: 220px;
  }
}
/* why learn spanish intro section css end here  */


/* why learn spanish feature section css start from here  */
.mssp-whyfeature-section {
  background-color: #ffffff;
  padding: 0 0 75px;
}
.mssp-whyfeature-row {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
}
.mssp-whyfeature-box {
  position: relative;
  text-align: left;
}
.mssp-whyfeature-watermark {
  position: absolute;
  top: -20px;
  left: 0;
  width: 140px;
  height: 140px;
  color: #fbe4e4;
  z-index: 0;
  pointer-events: none;
}
.mssp-whyfeature-watermark svg {
  width: 100%;
  height: 100%;
}
.mssp-whyfeature-heading-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.mssp-whyfeature-icon {
  width: 34px;
  height: 34px;
  color: #DF2222;
  flex-shrink: 0;
  margin-top: 4px;
  background: #fdecec;
  border-radius: 50%;
  padding: 10px;
  box-sizing: content-box;
}
.mssp-whyfeature-subheading {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.3px;
}
.mssp-whyfeature-para {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.9;
  color: #555555;
  margin: 0;
  text-align: left;
  padding-left: 20px;
  border-left: 3px solid #fbe4e4;
}
.mssp-whyfeature-imgwrap {
  display: flex;
  justify-content: center;
}
.mssp-whyfeature-img {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: auto;
  border-radius: 16px;
  display: block;
}
/* scroll-in animation */
.mssp-whyfeature-animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.mssp-whyfeature-animate.mssp-whyfeature-from-left {
  transform: translateX(-40px);
}
.mssp-whyfeature-animate.mssp-whyfeature-from-right {
  transform: translateX(40px);
}
.mssp-whyfeature-animate.mssp-whyfeature-in-view {
  opacity: 1;
  transform: translateX(0);
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-whyfeature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mssp-whyfeature-imgwrap {
    order: -1;
  }
  .mssp-whyfeature-box {
    text-align: center;
  }
  .mssp-whyfeature-para {
    text-align: center;
    padding-left: 0;
    border-left: none;
  }
  .mssp-whyfeature-heading-row {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  .mssp-whyfeature-subheading br {
    display: none;
  }
  .mssp-whyfeature-watermark {
    left: 50%;
    transform: translateX(-50%);
  }
  .mssp-whyfeature-img {
    max-width: 460px;
  }
}
@media (max-width: 767px) {
  .mssp-whyfeature-section {
    padding: 0 0 50px;
  }
  .mssp-whyfeature-watermark {
    width: 110px;
    height: 110px;
    top: -10px;
  }
  .mssp-whyfeature-icon {
    width: 24px;
    height: 24px;
    padding: 8px;
  }
  .mssp-whyfeature-subheading {
    font-size: 20px;
  }
  .mssp-whyfeature-para {
    font-size: 15px;
  }
  .mssp-whyfeature-img {
    max-width: 340px;
  }
}
@media (max-width: 480px) {
  .mssp-whyfeature-subheading {
    font-size: 18px;
  }
}
/* why learn spanish feature section css end here  */


/* global language section css start from here */
.mssp-global-section {
  background-color: #ffffff;
}
.mssp-global-bg {
  position: relative;
  background-image: url(../img/spanish/globols.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.mssp-global-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 0;
}
.mssp-global-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.mssp-global-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-global-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-global-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-global-bg {
    min-height: 420px;
  }
}
@media (max-width: 767px) {
  .mssp-global-bg {
    min-height: 360px;
    padding: 30px 0;
  }
  .mssp-global-heading {
    font-size: 23px;
  }
  .mssp-global-para {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .mssp-global-bg {
    min-height: 300px;
  }
  .mssp-global-heading {
    font-size: 20px;
  }
}
/* global language section css end here */


/* spanish in usa section css start from here */
.mssp-usa-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-usa-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.mssp-usa-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-usa-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-usa-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .mssp-usa-section {
    padding: 20px 0 50px;
  }
  .mssp-usa-heading {
    font-size: 23px;
  }
  .mssp-usa-para {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .mssp-usa-heading {
    font-size: 20px;
  }
}
/* spanish in usa section css end here */


/* growing career opportunities section css start from here */
.mssp-career-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-career-intro {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}
.mssp-career-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-career-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-career-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0 0 16px;
  text-align: center;
}
.mssp-career-para:last-child {
  margin-bottom: 0;
}

/* Industries grid */
.mssp-career-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mssp-career-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background-color: #ffffff;
  border: 1px solid #f5dede;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mssp-career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(223, 34, 34, 0.1);
  border-color: #f4d6d6;
}
.mssp-career-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background-color: #fdf1f1;
  color: #DF2222;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.mssp-career-icon svg {
  width: 22px;
  height: 22px;
}
.mssp-career-card:hover .mssp-career-icon {
  background-color: #DF2222;
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mssp-career-section {
    padding: 20px 0 50px;
  }
  .mssp-career-heading {
    font-size: 23px;
  }
  .mssp-career-para {
    font-size: 15px;
  }
  .mssp-career-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mssp-career-card {
    padding: 18px 16px;
    font-size: 14.5px;
  }
  .mssp-career-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .mssp-career-icon svg {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 480px) {
  .mssp-career-heading {
    font-size: 20px;
  }
}
/* growing career opportunities section css end here */


/* india spain business section css start from here */
.mssp-india-section {
  background-color: #fdeeee;
  padding: 50px 0;
}
.mssp-india-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 0px;
}
.mssp-india-intro {
  text-align: left;
}
.mssp-india-heading {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-india-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-india-para {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555555;
  margin: 0 0 12px;
  text-align: left;
}
.mssp-india-para:last-child {
  margin-bottom: 0;
}

/* companies grid */
.mssp-india-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mssp-india-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mssp-india-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
}
.mssp-india-logo {
  max-width: 100%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.mssp-india-tag {
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-india-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mssp-india-intro {
    text-align: center;
  }
  .mssp-india-para {
    text-align: center;
  }
  .mssp-india-heading {
    text-align: center;
  }
  .mssp-india-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .mssp-india-heading br {
    display: none;
  }
}
@media (max-width: 767px) {
  .mssp-india-section {
    padding: 35px 0;
  }
  .mssp-india-heading {
    font-size: 21px;
  }
  .mssp-india-para {
    font-size: 14px;
  }
  .mssp-india-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mssp-india-logo {
    max-height: 100px;
  }
  .mssp-india-tag {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .mssp-india-heading {
    font-size: 19px;
  }
}
/* india spain business section css end here */


/* work opportunities abroad section css start from here */
.mssp-abroad-section {
  position: relative;
  background-color: white;
  background-image: url(../img/spanish/work-abroad-bg.webp);
  background-repeat: no-repeat;
  background-position: right -40px center;
  background-size: 480px auto;
  padding: 50px 0 70px;
  overflow: hidden;
}
.mssp-abroad-intro {
  max-width: 780px;
  margin: 0 auto 35px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.mssp-abroad-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.mssp-abroad-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-abroad-para {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
  margin: 0;
  text-align: center;
}

/* Simple bordered rows, two columns */
.mssp-abroad-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  position: relative;
  z-index: 2;
}
.mssp-abroad-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid #f3d9d9;
  border-radius: 30px;
}
.mssp-abroad-row-single {
  grid-column: 1 / 2;
}
.mssp-abroad-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background-color: #f8dede;
  color: #DF2222;
  font-size: 13px;
  font-weight: 800;
}
.mssp-abroad-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #2a2a2a;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .mssp-abroad-section {
    background-size: 380px auto;
    background-position: right -20px center;
  }
}
@media (max-width: 991px) {
  .mssp-abroad-section {
    background-size: cover;
    background-position: center;
  }
  .mssp-abroad-list {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .mssp-abroad-section {
    background-image: none;
    padding: 30px 0 45px;
  }
  .mssp-abroad-heading {
    font-size: 23px;
  }
  .mssp-abroad-para {
    font-size: 14px;
  }
  .mssp-abroad-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mssp-abroad-row-single {
    grid-column: auto;
  }
  .mssp-abroad-row {
    padding: 12px 16px;
  }
  .mssp-abroad-num {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 12px;
  }
  .mssp-abroad-label {
    font-size: 13.5px;
  }
}
@media (max-width: 480px) {
  .mssp-abroad-heading {
    font-size: 20px;
  }
}
/* work opportunities abroad section css end here */


/* study abroad & travel confidence section css start from here */
.mssp-dual-section {
  background-color: #ffffff!important;
  padding: 30px 0 75px;
}
.mssp-dual-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.mssp-dual-main-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-dual-main-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-dual-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.mssp-dual-panel {
  position: relative;
  padding: 45px 40px;
  border-radius: 22px;
  overflow: hidden;
}
.mssp-dual-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -60px;
  bottom: -60px;
  z-index: 0;
}
.mssp-dual-panel-study {
  background-color: #fdf1f1;
}
.mssp-dual-panel-study::after {
  background-color: rgba(223, 34, 34, 0.06);
}
.mssp-dual-panel-travel {
  background-color: #fef6ec;
}
.mssp-dual-panel-travel::after {
  background-color: rgba(224, 149, 26, 0.08);
}
.mssp-dual-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mssp-dual-panel-study .mssp-dual-icon {
  background-color: #DF2222;
  color: #ffffff;
}
.mssp-dual-panel-travel .mssp-dual-icon {
  background-color: #E0951A;
  color: #ffffff;
}
.mssp-dual-icon svg {
  width: 28px;
  height: 28px;
}
.mssp-dual-heading {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.mssp-dual-para {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-dual-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 767px) {
  .mssp-dual-section {
    padding: 20px 0 50px;
  }
  .mssp-dual-main-heading {
    font-size: 23px;
  }
  .mssp-dual-panel {
    padding: 32px 26px;
    border-radius: 18px;
  }
  .mssp-dual-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }
  .mssp-dual-icon svg {
    width: 24px;
    height: 24px;
  }
  .mssp-dual-heading {
    font-size: 19px;
  }
  .mssp-dual-para {
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  .mssp-dual-main-heading {
    font-size: 20px;
  }
}
/* study abroad & travel confidence section css end here */


/* cognitive skills & digital world section css start from here */
.mssp-skills-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-skills-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.mssp-skills-item {
  position: relative;
  padding-left: 34px;
  border-left: 1px solid #ececec;
}
.mssp-skills-icon {
  width: 46px;
  height: 46px;
  color: #DF2222;
  margin-bottom: 20px;
}
.mssp-skills-rule {
  width: 45px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
  margin-bottom: 18px;
}
.mssp-skills-heading {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.mssp-skills-para {
  font-size: 16px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-skills-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 767px) {
  .mssp-skills-section {
    padding: 20px 0 50px;
  }
  .mssp-skills-item {
    padding-left: 22px;
  }
  .mssp-skills-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
  }
  .mssp-skills-heading {
    font-size: 19px;
  }
  .mssp-skills-para {
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  .mssp-skills-heading {
    font-size: 18px;
  }
}
/* cognitive skills & digital world section css end here */


/* career scope section css start from here */
.mssp-scope-section {
  background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
  padding: 30px 0 75px;
}
.mssp-scope-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.mssp-scope-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-scope-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-scope-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
  text-align: center;
}

/* Bulleted checklist, three columns */
.mssp-scope-list {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 20px;
}
.mssp-scope-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.mssp-scope-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: #DF2222;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mssp-scope-check svg {
  width: 14px;
  height: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-scope-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mssp-scope-section {
    padding: 20px 0 50px;
  }
  .mssp-scope-heading {
    font-size: 23px;
  }
  .mssp-scope-para {
    font-size: 15px;
  }
  .mssp-scope-list {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .mssp-scope-list li {
    font-size: 14.5px;
  }
  .mssp-scope-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .mssp-scope-check svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 480px) {
  .mssp-scope-heading {
    font-size: 20px;
  }
}
/* career scope section css end here */


/* why choose msol section css start from here */
.mssp-choose-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-choose-intro {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}
.mssp-choose-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-choose-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-choose-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
  text-align: center;
}

/* Animated feature cards */
.mssp-choose-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mssp-choose-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1a1a;
  opacity: 0;
  transform: translateY(16px);
  animation: mssp-choose-fade 0.6s ease forwards;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.mssp-choose-card:hover {
  border-color: #DF2222;
  box-shadow: 0 10px 24px rgba(223, 34, 34, 0.1);
  transform: translateY(-3px);
}
.mssp-choose-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: #DF2222;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}
.mssp-choose-icon svg {
  width: 14px;
  height: 14px;
}
.mssp-choose-card:hover .mssp-choose-icon {
  transform: rotate(360deg) scale(1.1);
}

/* staggered entrance animation */
.mssp-choose-card:nth-child(1) { animation-delay: 0.05s; }
.mssp-choose-card:nth-child(2) { animation-delay: 0.1s; }
.mssp-choose-card:nth-child(3) { animation-delay: 0.15s; }
.mssp-choose-card:nth-child(4) { animation-delay: 0.2s; }
.mssp-choose-card:nth-child(5) { animation-delay: 0.25s; }
.mssp-choose-card:nth-child(6) { animation-delay: 0.3s; }
.mssp-choose-card:nth-child(7) { animation-delay: 0.35s; }
.mssp-choose-card:nth-child(8) { animation-delay: 0.4s; }
.mssp-choose-card:nth-child(9) { animation-delay: 0.45s; }
.mssp-choose-card:nth-child(10) { animation-delay: 0.5s; }
.mssp-choose-card:nth-child(11) { animation-delay: 0.55s; }
.mssp-choose-card:nth-child(12) { animation-delay: 0.6s; }

@keyframes mssp-choose-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mssp-choose-section {
    padding: 20px 0 50px;
  }
  .mssp-choose-heading {
    font-size: 23px;
  }
  .mssp-choose-para {
    font-size: 15px;
  }
  .mssp-choose-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mssp-choose-card {
    padding: 14px 16px;
    font-size: 14.5px;
  }
  .mssp-choose-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .mssp-choose-icon svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 480px) {
  .mssp-choose-heading {
    font-size: 20px;
  }
}
/* why choose msol section css end here */


/* interesting facts section css start from here */
.mssp-facts-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-facts-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.mssp-facts-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-facts-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
/* Stat highlight row */
.mssp-facts-stats {
  max-width: 1080px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mssp-facts-stat {
  text-align: center;
  padding: 30px 16px;
  border-radius: 16px;
  background-color: #fdf1f1;
}
.mssp-facts-stat-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #DF2222;
  margin-bottom: 8px;
}
.mssp-facts-stat-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555555;
}
/* Remaining facts list */
.mssp-facts-list {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.mssp-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}
.mssp-facts-list li:last-child {
  border-bottom: none;
}
.mssp-facts-dot {
  flex: none;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: #DF2222;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mssp-facts-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-facts-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mssp-facts-section {
    padding: 20px 0 50px;
  }
  .mssp-facts-heading {
    font-size: 23px;
  }
  .mssp-facts-stats {
    gap: 14px;
    margin-bottom: 35px;
  }
  .mssp-facts-stat {
    padding: 22px 12px;
    border-radius: 12px;
  }
  .mssp-facts-stat-num {
    font-size: 26px;
  }
  .mssp-facts-stat-label {
    font-size: 12.5px;
  }
  .mssp-facts-list li {
    font-size: 14.5px;
    padding: 14px 0;
    gap: 12px;
  }
  .mssp-facts-dot {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .mssp-facts-dot::after {
    width: 6px;
    height: 6px;
  }
}
@media (max-width: 480px) {
  .mssp-facts-heading {
    font-size: 20px;
  }
  .mssp-facts-stats {
    grid-template-columns: 1fr;
  }
}
/* interesting facts section css end here */


/* learn spanish connect globally build your future css start from here */
.mssp-cefr-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}

/* Top intro banner */
.mssp-cefr-banner {
  max-width: 900px;
  margin: 0 auto 55px;
  text-align: center;
  padding: 55px 45px;
  border-radius: 24px;
  background: linear-gradient(135deg, #DF2222 0%, #a51414 100%);
}
.mssp-cefr-banner-heading {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.35;
}
.mssp-cefr-banner-para {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CEFR heading */
.mssp-cefr-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.mssp-cefr-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-cefr-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}

/* Level cards */
.mssp-cefr-grid {
  max-width: 1080px;
  margin: 0 auto 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mssp-cefr-card {
  padding: 34px 28px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.mssp-cefr-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #DF2222;
  background-color: #fdf1f1;
  border-radius: 30px;
  margin-bottom: 16px;
}
.mssp-cefr-level-title {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.mssp-cefr-level-para {
  font-size: 15px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
}

/* Enroll now button */
.mssp-cefr-cta {
  text-align: center;
}
.mssp-cefr-btn {
  display: inline-block;
  padding: 15px 46px;
  background-color: #DF2222;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.mssp-cefr-btn:hover {
  background-color: #ffffff;
  color: #DF2222!important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(223, 34, 34, 0.25);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-cefr-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .mssp-cefr-section {
    padding: 20px 0 50px;
  }
  .mssp-cefr-banner {
    padding: 36px 24px;
    border-radius: 18px;
    margin-bottom: 40px;
  }
  .mssp-cefr-banner-heading {
    font-size: 20px;
  }
  .mssp-cefr-banner-para {
    font-size: 14.5px;
  }
  .mssp-cefr-heading {
    font-size: 23px;
  }
  .mssp-cefr-card {
    padding: 26px 22px;
    border-radius: 14px;
  }
  .mssp-cefr-level-title {
    font-size: 18px;
  }
  .mssp-cefr-level-para {
    font-size: 14px;
  }
  .mssp-cefr-btn {
    padding: 13px 36px;
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  .mssp-cefr-heading {
    font-size: 20px;
  }
}
/* learn spanish connect globally build your future css end here */


/* ==================== spanish page css end here  ==================== */




/* ==================== german page css start from here  ==================== */

/* slide section start from here */
.hero-slider {
  background-image: url('../img/germany/img8.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-slider-wrap {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-slider-img-mobile {
  display: none;
}

.hero-slider-content {
  width: 50%;
}

.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0c9c9;
  color: #a12e2e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 18px;
}
.hero-title .text-highlight {
  color: #DF2222 !important;
}
.hero-desc {
  font-size: 16px;
  color: #4a4a4a;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-enroll {
  background: #DF2222;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: 0.3s;
}
.btn-enroll:hover {
  background: #ffffff !important;
  color: #DF2222 !important;
  border: 1.5px solid #DF2222;
}
.btn-demo {
  background: transparent;
  color: #DF2222 !important;
  font-weight: 600;
  border: 1.5px solid #a12e2e;
  padding: 12px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.btn-demo:hover {
  background: #DF2222 !important;
  color: #ffffff !important;
}

/* ===== Mobile & Tablet Responsive (sm + md, lg untouched) ===== */
@media (max-width: 991px) {
  .hero-slider {
    background-image: none;
    min-height: auto;
    padding: 30px 0;
    align-items: center;
  }

  .hero-slider-wrap {
    flex-direction: column;
  }

  .hero-slider-img-mobile {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-slider-img-mobile img {
    --mobile-img-size: 400px;
    max-width: var(--mobile-img-size);
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .hero-slider-content {
    width: 100%;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
    gap: 10px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .btn-enroll, .btn-demo {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* slide section end here */


/* german speaking country flag section start here */
.mssp-deflag-section {
  background-color: #fdf6f6;
  padding: 40px 0 50px;
}
.mssp-deflag-intro {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}
.mssp-deflag-heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.mssp-deflag-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}

/* Flag cards grid - single row on desktop */
.mssp-deflag-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.mssp-deflag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  background-color: #ffffff;
  border: 1px solid #f0e2e2;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mssp-deflag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

/* Flag box base */
.mssp-deflag-flag {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.mssp-deflag-stripe {
  flex: 1;
}
.mssp-deflag-vstripe {
  flex: 1;
}
.mssp-deflag-flag:has(.mssp-deflag-vstripe) {
  flex-direction: row;
}

/* Austria: red / white / red */
.mssp-deflag-flag-austria .mssp-deflag-stripe:nth-child(1) { background-color: #ED2939; }
.mssp-deflag-flag-austria .mssp-deflag-stripe:nth-child(2) { background-color: #ffffff; }
.mssp-deflag-flag-austria .mssp-deflag-stripe:nth-child(3) { background-color: #ED2939; }

/* Luxembourg: red / white / light blue */
.mssp-deflag-flag-luxembourg .mssp-deflag-stripe:nth-child(1) { background-color: #ED2939; }
.mssp-deflag-flag-luxembourg .mssp-deflag-stripe:nth-child(2) { background-color: #ffffff; }
.mssp-deflag-flag-luxembourg .mssp-deflag-stripe:nth-child(3) { background-color: #00A1DE; }

/* Belgium: black / yellow / red vertical */
.mssp-deflag-flag-belgium .mssp-deflag-vstripe:nth-child(1) { background-color: #000000; }
.mssp-deflag-flag-belgium .mssp-deflag-vstripe:nth-child(2) { background-color: #FDDA24; }
.mssp-deflag-flag-belgium .mssp-deflag-vstripe:nth-child(3) { background-color: #EF3340; }

/* Switzerland: red bg + white cross */
.mssp-deflag-flag-switzerland {
  background-color: #D52B1E;
}
.mssp-deflag-cross-v {
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 42%;
  width: 16%;
  background-color: #ffffff;
}
.mssp-deflag-cross-h {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 42%;
  height: 16%;
  background-color: #ffffff;
}

/* Germany: black / red / gold */
.mssp-deflag-flag-germany .mssp-deflag-stripe:nth-child(1) { background-color: #000000; }
.mssp-deflag-flag-germany .mssp-deflag-stripe:nth-child(2) { background-color: #DD0000; }
.mssp-deflag-flag-germany .mssp-deflag-stripe:nth-child(3) { background-color: #FFCE00; }

/* Liechtenstein: blue / red + gold crown */
.mssp-deflag-flag-liechtenstein {
  position: relative;
}
.mssp-deflag-flag-liechtenstein .mssp-deflag-stripe:nth-child(1) { background-color: #002B7F; }
.mssp-deflag-flag-liechtenstein .mssp-deflag-stripe:nth-child(2) { background-color: #CE1126; }
.mssp-deflag-crown {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 20%;
  height: 24%;
  background-color: #FFD700;
  clip-path: polygon(0% 100%, 0% 40%, 20% 70%, 50% 0%, 80% 70%, 100% 40%, 100% 100%);
}

.mssp-deflag-name {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-deflag-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
@media (max-width: 767px) {
  .mssp-deflag-section {
    padding: 30px 0 40px;
  }
  .mssp-deflag-heading {
    font-size: 20px;
  }
  .mssp-deflag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mssp-deflag-card {
    padding: 12px 8px;
  }
  .mssp-deflag-name {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .mssp-deflag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* german speaking country flag section end here */


/* why learn german section css start from here */
.mssp-dewhy-section {
  background-color: #ffffff!important;
  padding: 70px 0;
  overflow: hidden;
}
.mssp-dewhy-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

/* ===== Left image ===== */
.mssp-dewhy-collage {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.mssp-dewhy-collage img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Right content ===== */
.mssp-dewhy-content {
  max-width: 620px;
}
.mssp-dewhy-heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.mssp-dewhy-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: #DF2222;
  border-radius: 4px;
}
.mssp-dewhy-subheading {
  font-size: 18px;
  font-weight: 700;
  color: #DF2222;
  margin: 0 0 18px;
}
.mssp-dewhy-para {
  font-size: 15.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0 0 16px;
}
.mssp-dewhy-para:last-of-type {
  margin-bottom: 26px;
}

/* Stats row */
.mssp-dewhy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mssp-dewhy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  background-color: #ffffff;
  border: 1px solid #f0e0e0;
  border-radius: 10px;
}
.mssp-dewhy-stat-num,
.mssp-dewhy-stat-num-static {
  font-size: 21px;
  font-weight: 800;
  color: #DF2222;
  line-height: 1.2;
}
.mssp-dewhy-stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #777777;
  margin-top: 6px;
  line-height: 1.4;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-dewhy-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mssp-dewhy-collage {
    max-width: 340px;
  }
  .mssp-dewhy-content {
    max-width: 100%;
    text-align: center;
  }
  .mssp-dewhy-heading {
    padding-bottom: 12px;
  }
  .mssp-dewhy-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .mssp-dewhy-section {
    padding: 45px 0;
  }
  .mssp-dewhy-heading {
    font-size: 24px;
  }
  .mssp-dewhy-subheading {
    font-size: 15px;
  }
  .mssp-dewhy-para {
    font-size: 14.5px;
  }
  .mssp-dewhy-collage {
    max-width: 280px;
  }
  .mssp-dewhy-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .mssp-dewhy-stat-num,
  .mssp-dewhy-stat-num-static {
    font-size: 18px;
  }
}
/* why learn german section css end here */


/*  economic strength section css start from here */
.mssp-degdp-section {
  position: relative;
  background-color: #ffffff;
  padding: 0;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.mssp-degdp-bgimg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.mssp-degdp-section .container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}
.mssp-degdp-intro {
  max-width: 620px;
  margin: 0 0 30px;
  text-align: left;
}
.mssp-degdp-heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 14px;
  line-height: 1.3;
}
.mssp-degdp-heading-accent {
  color: #DF2222;
}
.mssp-degdp-para {
  font-size: 15.5px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
}

/*  economic strength section css end here */


/* Company chips grid with staggered animation */
.mssp-degdp-grid {
  max-width: 720px;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}
.mssp-degdp-chip {
  width: 128px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(16px);
  animation: mssp-degdp-fade 0.6s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.mssp-degdp-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(223, 34, 34, 0.12);
  border-color: #DF2222;
}
.mssp-degdp-chip img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}
.mssp-degdp-chip:nth-child(1) { animation-delay: 0.05s; }
.mssp-degdp-chip:nth-child(2) { animation-delay: 0.1s; }
.mssp-degdp-chip:nth-child(3) { animation-delay: 0.15s; }
.mssp-degdp-chip:nth-child(4) { animation-delay: 0.2s; }
.mssp-degdp-chip:nth-child(5) { animation-delay: 0.25s; }
.mssp-degdp-chip:nth-child(6) { animation-delay: 0.3s; }
.mssp-degdp-chip:nth-child(7) { animation-delay: 0.35s; }
.mssp-degdp-chip:nth-child(8) { animation-delay: 0.4s; }
.mssp-degdp-chip:nth-child(9) { animation-delay: 0.45s; }
.mssp-degdp-chip:nth-child(10) { animation-delay: 0.5s; }
.mssp-degdp-chip:nth-child(11) { animation-delay: 0.55s; }
@keyframes mssp-degdp-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Footer note */
.mssp-degdp-footer {
  max-width: 620px;
  margin: 0;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.8;
  color: #555555;
  font-style: italic;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-degdp-bgimg {
    display: none;
  }
  .mssp-degdp-section {
    min-height: auto;
  }
  .mssp-degdp-intro,
  .mssp-degdp-grid,
  .mssp-degdp-footer {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .mssp-degdp-section {
    display: block;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }
  .mssp-degdp-section .container {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .mssp-degdp-intro,
  .mssp-degdp-grid,
  .mssp-degdp-footer {
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .mssp-degdp-heading {
    font-size: 24px;
  }
  .mssp-degdp-para {
    font-size: 14.5px;
  }
  .mssp-degdp-chip {
    padding: 10px 18px;
    font-size: 13.5px;
  }
  .mssp-degdp-footer {
    font-size: 13.5px;
  }
}
@media (max-width: 480px) {
  .mssp-degdp-heading {
    font-size: 20px;
  }
}
/*  economic strength section end here */



/* career growth section start from here  */
.mssp-decareer-section {
  background-color: #ffffff;
  padding: 30px 0 75px;
}
.mssp-decareer-intro {
  max-width: 820px;
  margin: 0 auto 45px;
  text-align: center;
}
.mssp-decareer-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DF2222;
  margin-bottom: 14px;
  position: relative;
  padding: 0 20px;
}
.mssp-decareer-eyebrow::before,
.mssp-decareer-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background-color: #DF2222;
}
.mssp-decareer-eyebrow::before {
  left: 0;
}
.mssp-decareer-eyebrow::after {
  right: 0;
}
.mssp-decareer-heading {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.3;
}
.mssp-decareer-heading-accent {
  color: #DF2222;
}
.mssp-decareer-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0 0 16px;
}
.mssp-decareer-para:last-child {
  margin-bottom: 0;
}

/* Career grid */
.mssp-decareer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mssp-decareer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mssp-decareer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(223, 34, 34, 0.1);
  border-color: #f4d6d6;
}
.mssp-decareer-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background-color: #fdf1f1;
  color: #DF2222;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.mssp-decareer-icon svg {
  width: 22px;
  height: 22px;
}
.mssp-decareer-card:hover .mssp-decareer-icon {
  background-color: #DF2222;
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .mssp-decareer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .mssp-decareer-section {
    padding: 20px 0 50px;
  }
  .mssp-decareer-eyebrow {
    font-size: 11px;
    padding: 0 14px;
  }
  .mssp-decareer-eyebrow::before,
  .mssp-decareer-eyebrow::after {
    width: 8px;
  }
  .mssp-decareer-heading {
    font-size: 24px;
  }
  .mssp-decareer-para {
    font-size: 15px;
  }
  .mssp-decareer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mssp-decareer-card {
    padding: 18px 16px;
    font-size: 14.5px;
  }
  .mssp-decareer-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .mssp-decareer-icon svg {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 480px) {
  .mssp-decareer-heading {
    font-size: 21px;
  }
}
/* Career Growth section css end here  */


/* india germany ties section css start from here */
.mssp-detrade-section {
  background-color: #fafafa;
  padding: 30px 0 75px;
}
.mssp-detrade-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
/*
.mssp-detrade-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DF2222;
  margin-bottom: 14px;
  position: relative;
  padding: 0 20px;
}
.mssp-detrade-eyebrow::before,
.mssp-detrade-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background-color: #DF2222;
}
.mssp-detrade-eyebrow::before {
  left: 0;
}
.mssp-detrade-eyebrow::after {
  right: 0;
}
*/

.mssp-detrade-heading {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.3;
}
.mssp-detrade-heading-accent {
  color: #DF2222;
}
.mssp-detrade-para {
  font-size: 16.5px;
  line-height: 1.85;
  color: #555555;
  margin: 0 0 16px;
}
.mssp-detrade-para:last-child {
  margin-bottom: 0;
}

/* Checklist */
.mssp-detrade-list {
  max-width: 780px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.mssp-detrade-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16.5px;
  font-weight: 600;
  color: #1a1a1a;
}
.mssp-detrade-list li:last-child {
  border-bottom: none;
}
.mssp-detrade-check {
  flex: none;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: #DF2222;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.mssp-detrade-check svg {
  width: 14px;
  height: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .mssp-detrade-section {
    padding: 20px 0 50px;
  }
  .mssp-detrade-eyebrow {
    font-size: 11px;
    padding: 0 14px;
  }
  .mssp-detrade-eyebrow::before,
  .mssp-detrade-eyebrow::after {
    width: 8px;
  }
  .mssp-detrade-heading {
    font-size: 24px;
  }
  .mssp-detrade-para {
    font-size: 15px;
  }
  .mssp-detrade-list li {
    font-size: 15px;
    padding: 14px 0;
    gap: 12px;
  }
  .mssp-detrade-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
  .mssp-detrade-check svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 480px) {
  .mssp-detrade-heading {
    font-size: 21px;
  }
}
/* india germany ties section css end here */


/* Study in germany section css scoped styles */
.germany-section {
  padding: 90px 20px;
  background: radial-gradient(circle at top center, #fff5f5 0%, #ffffff 55%);
}

.germany-section .germany-badge {
  display: inline-block;
  background-color: #fde8e8;
  color: #d92626;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.germany-section .germany-heading {
  font-weight: 700;
  font-size: 2.6rem;
  color: #1a1a1a;
  margin-bottom: 18px;
  line-height: 1.25;
}

.germany-section .germany-divider {
  width: 70px;
  height: 4px;
  background-color: #d92626;
  border-radius: 4px;
  margin: 0 auto 26px;
}

.germany-section .germany-para {
  font-size: 1.08rem;
  color: #5c5c5c;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 22px;
}

.germany-section .germany-sub-line {
  display: inline-block;
  font-weight: 700;
  font-size: 1.08rem;
  color: #1a1a1a;
  background-color: #fdf3f3;
  padding: 10px 26px;
  border-radius: 30px;
  margin-bottom: 40px;
}

.germany-section .germany-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.germany-section .germany-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-left: 4px solid #d92626;
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 1rem;
  color: #2a2a2a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.germany-section .germany-item:hover {
  background-color: #fff8f7;
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(217, 38, 38, 0.08);
}

.germany-section .germany-num {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: #f3c9c9;
}

/* Responsive */
@media (max-width: 991px) {
  .germany-section {
    padding: 60px 20px;
  }
  .germany-section .germany-heading {
    font-size: 2.1rem;
  }
}

@media (max-width: 575px) {
  .germany-section .germany-heading {
    font-size: 1.8rem;
  }
  .germany-section .germany-sub-line {
    font-size: 0.95rem;
    padding: 8px 18px;
  }
  .germany-section .germany-item {
    gap: 14px;
    padding: 14px 18px;
    font-size: 0.92rem;
  }
}
/* Study in germany section css scoped styles end here */


/* innovation, science & research section start from here  */
.innovation-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}

.sub-intro {
  font-size: 18px;
  color: #2b2b2b;
}

.checklist-wrapper {
  max-width: 950px;
}

.checklist-item {
  padding: 18px 24px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.checklist-item:hover {
  background-color: #fff6f5;
  border-color: #f3c9c6;
  box-shadow: 0 6px 18px rgba(217, 55, 55, 0.08);
  transform: translateY(-2px);
}

.check-circle {
  min-width: 36px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #e14b3f, #c92b2b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(201, 43, 43, 0.35);
}

.checklist-text {
  font-size: 17px;
  color: #212529;
}
/* innovation, science & research section end here  */


/* tourism & hospitality section start from here */
.tourism-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}
/* tourism & hospitality section end here */

/* travel across europe section start from here */
.travel-europe-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}
/* travel across europe section end here */


/* discover german culture section start from here */
.culture-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}

.sub-intro {
  font-size: 18px;
  color: #2b2b2b;
}

.names-wrapper {
  max-width: 950px;
}

.name-pill {
  background-color: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  color: #212529;
  transition: all 0.25s ease;
}

.name-pill:hover {
  background-color: #fff6f5;
  border-color: #f3c9c6;
  box-shadow: 0 6px 18px rgba(217, 55, 55, 0.1);
  transform: translateY(-2px);
}

/* discover german culture section end here */


/* digital communication & technology section start from here  */
.digital-tech-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}
/* digital communication & technology section end here */


/* career scope after learning german section start from here  */
.career-scope-section {
  background-color: #fafafa;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}

.sub-intro {
  font-size: 18px;
  color: #2b2b2b;
}

.career-wrapper {
  max-width: 1120px;
}

.career-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #e14b3f, #c92b2b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.career-card:hover {
  box-shadow: 0 10px 26px rgba(217, 55, 55, 0.14);
  transform: translateY(-4px);
  border-color: #f3c9c6;
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-icon {
  min-width: 44px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fdeceb, #fbdad7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.career-card:hover .career-icon {
  background: linear-gradient(135deg, #e14b3f, #c92b2b);
}

.career-card:hover .career-icon svg {
  stroke: #ffffff;
}

.career-text {
  font-size: 15px;
  color: #212529;
}
/* career scope after learning german section end  here */


/* why choose modern school of languages section start from here */
.why-choose-section {
  background-color: #ffffff;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.section-para {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
}

.sub-intro {
  font-size: 18px;
  color: #2b2b2b;
}

.program-wrapper {
  max-width: 1040px;
}

.program-item {
  height: 100%;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #f0dede;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(18, 24, 38, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-item:hover {
  background-color: #fff8f7;
  border-color: #f2b8b8;
  box-shadow: 0 16px 34px rgba(217, 55, 55, 0.1);
  transform: translateY(-4px);
}

.program-icon {
  min-width: 46px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: #fde8e8;
  color: #d93737;
}

.program-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
}

.program-text {
  font-size: 16px;
  color: #212529;
}

/* why choose modern school of languages section end here  */


/* interesting facts about german section start from here  */
.facts-section {
  background-color: #fafafa;
}

.section-badge {
  display: inline-block;
  background-color: #fdeceb;
  color: #d93737;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.3px;
}

.section-heading {
  font-size: 42px;
}

.facts-wrapper {
  max-width: 1050px;
}

.fact-card {
  background-color: #fff5f4;
  border-radius: 14px;
  padding: 26px 24px;
  height: 100%;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s ease;
}

.fact-card.fact-alt {
  background-color: #f7f7f9;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(217, 55, 55, 0.1);
}

.fact-card.fact-wide {
  background: linear-gradient(135deg, #e14b3f, #c92b2b);
}

.fact-card.fact-wide .fact-number,
.fact-card.fact-wide .fact-text {
  color: #ffffff;
}

.fact-number {
  font-size: 28px;
  font-weight: 800;
  color: #f1b7b3;
  line-height: 1;
  min-width: 45px;
}

.fact-text {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  line-height: 1.6;
}
/* interesting facts about german section end here  */


/* cefr language levels section start from here */
.levels-section {
  background-color: #fdf9f5;
  padding: 70px 0;
}
.section-heading {
  font-size: 42px;
}
.levels-wrapper {
  max-width: 1100px;
}

/* Card */
.cefr-level-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #f0dede;
  border-radius: 14px;
  padding: 28px 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cefr-level-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(217, 55, 55, 0.12);
  border-color: #f3c9c6;
}

/* Actual background image, full opacity, fills the card */
.cefr-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* White readability gradient sits ON TOP of the image (separate layer) */
.cefr-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /*
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 48%, rgba(255, 255, 255, 0.82) 65%, rgba(255, 255, 255, 0.2) 100%);
  */
}

/* Text content sits above image + gradient */
.cefr-card-content {
  position: relative;
  z-index: 2;
  max-width: 66%;
}
.cefr-level-code {
  font-size: 19px;
  font-weight: 700;
  color: #DF2222;
  margin-bottom: 10px;
  line-height: 1.4;
}
.cefr-level-tag {
  font-weight: 600;
  color: #DF2222;
}
.cefr-level-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #5a5a5a;
  margin: 0;
}

/* Centered Enroll button */
.cefr-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #DF2222;
  color: #ffffff;
  font-weight: 600;
  padding: 13px 34px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cefr-enroll-btn:hover {
  background-color: #ffffff;
  color: #DF2222;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 34, 34, 0.25);
}
.cefr-enroll-arrow {
  transition: transform 0.25s ease;
}
.cefr-enroll-btn:hover .cefr-enroll-arrow {
  transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .section-heading {
    font-size: 32px;
  }
  .cefr-level-card {
    min-height: 300px;
  }
}
@media (max-width: 767px) {
  .levels-section {
    padding: 45px 0;
  }
  .section-heading {
    font-size: 26px;
  }
  .cefr-level-card {
    min-height: auto;
    padding: 24px 20px;
  }
  /*
  .cefr-card-bg::after {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, rgba(255, 255, 255, 0.88) 68%, rgba(255, 255, 255, 0.3) 100%);
  }
  */
  .cefr-card-content {
    max-width: 100%;
  }
  .cefr-level-code {
    font-size: 17px;
  }
  .cefr-level-desc {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .section-heading {
    font-size: 22px;
  }
}

/* ==================== german page css end here  ==================== */



/* =========================================================
   FRENCH PAGE â€” MERGED & FIXED STYLESHEET
   (Combines the old "french-inline.css" alignment fix +
   the French section from the main stylesheet into ONE file.
   Class names match assets/course/french.php exactly.)
   ========================================================= */

:root {
  --fr-red: #DF2222;
  --fr-red-dark: #b81c1c;
  --fr-text: #1a1a1a;
  --fr-muted: #555555;
  --fr-soft-bg: #fdf1f1;
  --fr-container: 1200px;
}

html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { margin: 0; }

.hero-fr-hero *, .fr-countries-sec *, .why-learn-fr-sec *, .gco-sec *,
.sabf-sec *, .fib-sec *, .lod-sec *, .lotc-sec *, .locu-sec *,
.losi-sec *, .lofc-sec *, .locs-sec *, .lowc-sec *, .flf-sec *, .cefr-sec * {
  box-sizing: border-box;
}

img, svg { max-width: 100%; }

/* Every section stays inside the screen */
.hero-fr-hero, .fr-countries-sec, .why-learn-fr-sec, .gco-sec, .sabf-sec,
.fib-sec, .lod-sec, .lotc-sec, .locu-sec, .losi-sec, .lofc-sec,
.locs-sec, .lowc-sec, .flf-sec, .cefr-sec {
  width: 100%;
  overflow: hidden;
}

.hero-fr-hero .container, .fr-countries-sec .container, .why-learn-fr-sec .container,
.gco-sec .container, .sabf-sec .container, .fib-sec .container, .lod-sec .container,
.lotc-sec .container, .locu-sec .container, .losi-sec .container, .lofc-sec .container,
.locs-sec .container, .lowc-sec .container, .flf-sec .container, .cefr-sec .container {
  width: 100% !important;
  max-width: var(--fr-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Kill Bootstrap's negative row margins so nothing overflows */
.why-learn-fr-sec .row, .gco-sec .row, .sabf-sec .row, .fib-sec .row,
.lod-sec .row, .lofc-sec .row, .locs-sec .row, .lowc-sec .row, .cefr-sec .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
.why-learn-fr-col, .gco-col, .sabf-col, .fib-col, .lod-col,
.lofc-wrap, .locs-wrap, .lowc-wrap, .cefr-col {
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Shared red "section title with underline" pattern */
.gco-title, .sabf-title, .fib-title, .lod-title, .lotc-title,
.locu-title, .locs-title, .lowc-title, .flf-title, .cefr-title, .lofc-title {
  color: var(--fr-text);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}
.gco-title::after, .sabf-title::after, .fib-title::after, .lod-title::after,
.lotc-title::after, .locu-title::after, .locs-title::after, .lowc-title::after,
.flf-title::after, .cefr-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background: var(--fr-red);
  border-radius: 4px;
}
.gco-desc, .sabf-desc, .fib-desc, .lod-desc, .lotc-para, .locu-desc,
.locu-footer, .lofc-desc, .locs-desc, .lowc-desc, .flf-desc,
.cefr-intro, .cefr-desc {
  color: var(--fr-muted);
  font-size: 16px;
  line-height: 1.8;
}
.it-section-subtitle.style-2 {
  display: inline-block;
  background: #fde8e8;
  color: var(--fr-red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-fr-hero {
  background-image: url('../img/french/hero-bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 620px;
  position: relative;
}
.hero-fr-hero-wrap {
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-fr-hero-content {
  width: 52%;
  max-width: 620px;
  position: relative;
  z-index: 2;
  /* never let this sit on top of another element by accident */
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.hero-fr-hero-img-mobile { display: none; }
.hero-fr-hero-badge {
  display: inline-block; background: #fff; border: 1px solid #e0c9c9;
  color: #a12e2e; font-size: 13px; font-weight: 600; letter-spacing: .5px;
  padding: 6px 14px; border-radius: 4px; margin-bottom: 18px; text-transform: uppercase;
}
.hero-fr-hero-title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.12; color: var(--fr-text); margin-bottom: 18px; }
.hero-fr-text-highlight { color: var(--fr-red) !important; }
.hero-fr-hero-desc { max-width: 560px; font-size: 16px; color: #4a4a4a; line-height: 1.6; margin-bottom: 28px; }
.hero-fr-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fr-btn-enroll { background: var(--fr-red); color: #fff; font-weight: 600; padding: 12px 28px; border-radius: 4px; transition: .3s; }
.hero-fr-btn-enroll:hover { background: #fff !important; color: var(--fr-red) !important; border: 1.5px solid var(--fr-red); }
.hero-fr-btn-demo {
  background: transparent; color: var(--fr-red) !important; font-weight: 600;
  border: 1.5px solid #a12e2e; padding: 12px 24px; border-radius: 4px;
  display: flex; align-items: center; gap: 8px; transition: .3s;
}
.hero-fr-btn-demo:hover { background: var(--fr-red) !important; color: #fff !important; }

/* =========================================================
   FRENCH SPEAKING COUNTRIES
   ========================================================= */
.fr-countries-sec { padding: 60px 0; background: #fff; }
.fr-countries-heading-wrap { text-align: center; margin-bottom: 32px; }
.fr-countries-title { font-size: 26px; font-weight: 700; color: var(--fr-text); position: relative; padding-bottom: 12px; }
.fr-countries-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 55px; height: 3px; background: var(--fr-red); border-radius: 4px;
}
.fr-countries-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.fr-countries-card {
  flex: 0 1 145px; width: 145px; max-width: 145px;
  background: #fde8e8; border: 1px solid #f5d6d6; border-radius: 10px;
  padding: 16px 12px; text-align: center; transition: all .25s ease;
}
.fr-countries-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(223,34,34,.12); }
.fr-countries-flag img { max-width: 56px; height: auto; display: block; margin: 0 auto 10px; border-radius: 4px; }
.fr-countries-name { font-size: 14px; font-weight: 700; color: var(--fr-text); margin: 0; }

/* =========================================================
   WHY LEARN FRENCH
   ========================================================= */
.why-learn-fr-sec { padding: 70px 0; background: linear-gradient(180deg, #ffffff 0%, #fdf1f1 100%); }
.why-learn-fr-sec .row {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 50px;
}
.why-learn-fr-img-wrap img { width: 100%; height: auto; display: block; object-fit: contain; }
.why-learn-fr-title { color: var(--fr-text); font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.why-learn-fr-subtitle { color: var(--fr-red); font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.why-learn-fr-desc { color: var(--fr-muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }
.why-learn-fr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.why-learn-fr-stat-box {
  min-width: 0; text-align: center; background: #fff; border: 1px solid #f0d9d9;
  border-radius: 10px; padding: 18px 10px; transition: all .25s ease;
}
.why-learn-fr-stat-box:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(223,34,34,.1); }
.why-learn-fr-stat-icon {
  width: 48px; height: 48px; min-width: 48px; margin: 0 auto 12px; color: var(--fr-red);
  display: flex; align-items: center; justify-content: center;
}
.why-learn-fr-stat-icon > svg { width: 30px; height: 30px; }
.why-learn-fr-stat-num { font-size: 20px; font-weight: 800; color: var(--fr-text); margin: 0 0 4px; }
.why-learn-fr-stat-label { font-size: 12.5px; font-weight: 600; color: #666; margin: 0; line-height: 1.4; }

/* =========================================================
   GLOBAL CAREER OPPORTUNITIES
   ========================================================= */
.gco-sec { padding: 70px 0; background: #fff; }
.gco-heading-wrap { max-width: 800px; margin: 0 auto 35px; text-align: center; }
.gco-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gco-card {
  min-width: 0; background: #fde8e8; border: 1px solid #f5d6d6; border-radius: 12px;
  padding: 24px 16px; text-align: center; transition: all .25s ease;
}
.gco-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(223,34,34,.1); }
.gco-icon {
  width: 54px; height: 54px; min-width: 54px; padding: 12px; margin: 0 auto 12px;
  border-radius: 50%; background: #fff; color: var(--fr-red);
  display: flex; align-items: center; justify-content: center;
}
.gco-icon > svg { width: 28px; height: 28px; }
.gco-name { color: var(--fr-text); font-size: 14.5px; font-weight: 600; margin: 0; line-height: 1.4; }

/* =========================================================
   STUDY ABROAD
   ========================================================= */
.sabf-sec { padding: 70px 0; background: #fafafa; }
.sabf-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.sabf-list { max-width: 100%; }
.sabf-item {
  display: flex; align-items: center; gap: 16px;
  background: #fde8e8; border-left: 4px solid var(--fr-red); border-radius: 8px;
  padding: 16px 22px; margin-bottom: 12px;
}
.sabf-item-num { color: var(--fr-red); font-weight: 800; font-size: 15px; min-width: 26px; }
.sabf-item-text { color: var(--fr-text); font-weight: 600; font-size: 15.5px; margin: 0; }

/* =========================================================
   FRENCH FOR INTERNATIONAL BUSINESS
   ========================================================= */
.fib-sec { padding: 70px 0; background: #fff; }
.fib-heading-wrap { max-width: 800px; margin: 0 auto 24px; text-align: center; }
.fib-companies-wrap { text-align: center; margin-bottom: 26px; }
.fib-companies-label { font-size: 15px; color: #666; margin-bottom: 14px; }
.fib-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 100%; }
.fib-tag {
  background: #fff; border: 1px solid #eadede; color: var(--fr-text);
  font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 30px;
}
.fib-highlight {
  display: flex; align-items: center; gap: 16px; max-width: 800px; margin: 0 auto;
  background: linear-gradient(90deg, var(--fr-red), var(--fr-red-dark));
  border-radius: 12px; padding: 20px 26px;
}
.fib-highlight-icon { width: 48px; height: 48px; min-width: 48px; color: #fff; display: flex; align-items: center; justify-content: center; }
.fib-highlight-icon > svg { width: 26px; height: 26px; }
.fib-highlight-text { color: #fff; font-size: 15px; line-height: 1.6; margin: 0; }

/* =========================================================
   LANGUAGE OF DIPLOMACY
   ========================================================= */
.lod-sec { padding: 70px 0; background: #f0f4f5; }
.lod-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.lod-timeline { max-width: 800px; margin: 0 auto 26px; }
.lod-tl-item { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px dashed #dfe4e5; }
.lod-tl-item:last-child { border-bottom: none; }
.lod-tl-marker {
  width: 44px; height: 44px; min-width: 44px; background: #fff; color: var(--fr-red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lod-tl-marker > svg { width: 22px; height: 22px; }
.lod-tl-content { display: flex; align-items: baseline; gap: 12px; }
.lod-tl-index { color: var(--fr-red); font-weight: 800; font-size: 14px; }
.lod-tl-name { color: var(--fr-text); font-size: 17px; font-weight: 700; margin: 0; }
.lod-tl-name span { color: #777; font-weight: 500; font-size: 14px; }
.lod-highlight {
  max-width: 800px; margin: 0 auto; background: #fff; border-left: 4px solid var(--fr-red);
  border-right: 4px solid var(--fr-red); border-radius: 8px; padding: 20px 26px; text-align: center;
}
.lod-highlight-text { color: var(--fr-text); font-style: italic; font-size: 16px; margin: 0; }

/* =========================================================
   TRAVEL WITH CONFIDENCE
   ========================================================= */
.lotc-sec { padding: 70px 0; background: #fff; }
.lotc-wrap { max-width: 850px; margin: 0 auto; text-align: center; }
.lotc-title { display: inline-block; }
.lotc-countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0; max-width: 100%; }
.lotc-chip { background: #fff; border: 1px solid #f5d5d3; color: var(--fr-red); font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 30px; }

/* =========================================================
   DISCOVER FRENCH CULTURE
   ========================================================= */
.locu-sec { padding: 70px 0; background: #fcf3f2; }
.locu-heading-wrap { max-width: 800px; margin: 0 auto 35px; text-align: center; }
.locu-figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.locu-figure { border-left: 3px solid #f0d5d3; padding: 6px 0 6px 16px; }
.locu-figure-field { color: var(--fr-red); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.locu-figure-name { color: var(--fr-text); font-size: 16px; font-weight: 700; margin: 6px 0 0; }
.locu-footer { text-align: center; max-width: 800px; margin: 0 auto; }

/* =========================================================
   FRENCH IN SCIENCE & INNOVATION  (fixed â€” was squished)
   ========================================================= */
.losi-sec { padding: 0; background: #fff; }
.losi-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 380px; }
.losi-left, .losi-right { min-width: 0; }
.losi-left { background: linear-gradient(150deg, var(--fr-red) 0%, #a81a1a 100%); display: flex; align-items: center; }
.losi-left-inner { padding: 60px 48px; }
.losi-badge-light { background: rgba(255,255,255,.15) !important; color: #fff !important; }
.losi-title { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.losi-desc { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.8; margin: 0; }
.losi-right { background: #fdf9f5; display: flex; align-items: center; }
.losi-list { width: 100%; padding: 48px; }
.losi-row {
  display: flex; align-items: center; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid #f0e0e0;
}
.losi-row:last-child { border-bottom: none; }
.losi-row > svg { width: 26px; height: 26px; min-width: 26px; color: var(--fr-red); }
.losi-row-name { flex: 1; color: var(--fr-text); font-size: 16px; font-weight: 600; }
.losi-row-num { color: #ddb9b9; font-size: 14px; font-weight: 700; }

/* =========================================================
   LEARN FRENCH FOR CANADA
   ========================================================= */
.lofc-sec { padding: 60px 0; background: #fff; }
.lofc-wrap { max-width: 850px; margin: 0 auto; text-align: center; }
.lofc-title-accent { color: var(--fr-red); }

/* =========================================================
   CAREER SCOPE AFTER LEARNING FRENCH
   ========================================================= */
.locs-sec { padding: 70px 0; background: #fafafa; }
.locs-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.locs-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #f0dede; border-radius: 14px; padding: 30px 40px; }
.locs-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 40px; }
.locs-list li { position: relative; padding: 10px 0 10px 22px; color: var(--fr-text); font-size: 15px; font-weight: 500; break-inside: avoid; }
.locs-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--fr-red); }

/* =========================================================
   WHY CHOOSE MODERN SCHOOL OF LANGUAGES
   ========================================================= */
.lowc-sec { padding: 70px 0; background: #fafafa; }
.lowc-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.lowc-card { max-width: 950px; margin: 0 auto; background: #fff; border: 1px solid #f0dede; border-radius: 14px; padding: 32px 34px; }
.lowc-card-title { color: var(--fr-red); font-size: 19px; font-weight: 700; margin-bottom: 22px; text-align: center; }
.lowc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.lowc-item { display: flex; align-items: center; gap: 12px; }
.lowc-check {
  width: 22px; height: 22px; min-width: 22px; background: var(--fr-red); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lowc-check > svg { width: 13px; height: 13px; }
.lowc-item-text { color: var(--fr-text); font-size: 15px; font-weight: 500; }

/* =========================================================
   INTERESTING FACTS ABOUT FRENCH
   ========================================================= */
.flf-sec { padding: 70px 0; background: #fff; }
.flf-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.flf-stats-bar { display: flex; justify-content: center; gap: 60px; margin-bottom: 36px; }
.flf-stat { text-align: center; }
.flf-stat-num { color: var(--fr-red); font-size: 32px; font-weight: 800; margin: 0 0 6px; }
.flf-stat-label { color: #666; font-size: 13.5px; font-weight: 600; margin: 0; }
.flf-facts { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.flf-fact { position: relative; border-left: 3px solid var(--fr-red); padding: 4px 0 4px 20px; }
.flf-fact-right { border-left: none; border-right: 3px solid var(--fr-red); padding: 4px 20px 4px 0; text-align: right; }
.flf-fact-quote { display: none; }
.flf-fact-text { color: #333; font-size: 15.5px; line-height: 1.7; margin: 0; }
.flf-fact-text strong { color: var(--fr-text); }

/* =========================================================
   CEFR LANGUAGE LEVELS
   ========================================================= */
.cefr-sec { padding: 70px 0; background: #fff; }
.cefr-heading-wrap { max-width: 800px; margin: 0 auto 30px; text-align: center; }
.cefr-title-accent { color: var(--fr-red); }
.cefr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.cefr-card { min-width: 0; background: #fff; border: 1px solid #f0d9d9; border-radius: 14px; padding: 30px 26px; transition: all .25s ease; }
.cefr-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(223,34,34,.1); border-color: var(--fr-red); }
.cefr-badge { display: inline-block; background: #fde8e8; color: var(--fr-red); font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 20px; margin-bottom: 14px; }
.cefr-level { color: var(--fr-text); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.cefr-btn-wrap { text-align: center; }
.cefr-enroll-btn { display: inline-block; background: var(--fr-red); border: 1.5px solid var(--fr-red); color: #fff; font-weight: 700; font-size: 15.5px; padding: 13px 38px; border-radius: 6px; transition: all .25s ease; }
.cefr-enroll-btn:hover { background: #fff; color: var(--fr-red); }

/* =========================================================
   TABLET (<=991px)
   ========================================================= */
@media (max-width: 991px) {
  /* Keep the photo as the background (like the Spanish hero) instead of
     stacking it â€” put a soft white readability card behind the text
     instead, left-aligned, so nothing overlaps the model's face/text. */
  .hero-fr-hero {
    background-image: url('../img/french/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: top right !important;
    min-height: 560px !important;
    padding: 40px 0 !important;
    display: flex !important;
  }
  .hero-fr-hero-wrap {
    min-height: 480px !important;
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    position: relative !important;
  }
  .hero-fr-hero-img-mobile { display: none !important; }
  .hero-fr-hero-content {
    width: 88% !important;
    max-width: 400px !important;
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .hero-fr-hero-title {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  }
  .hero-fr-hero-desc {
    color: #333 !important;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.9) !important;
  }
  .hero-fr-hero-btns { justify-content: flex-start !important; }

  .why-learn-fr-sec .row { grid-template-columns: 1fr; gap: 30px; }
  .why-learn-fr-img-wrap { max-width: 500px; margin: 0 auto; }
  .why-learn-fr-content { text-align: center; }
  .why-learn-fr-title, .why-learn-fr-subtitle { text-align: center; }

  .gco-grid, .locu-figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cefr-grid { grid-template-columns: 1fr; }

  .losi-wrap { grid-template-columns: 1fr; min-height: auto; }
  .losi-left-inner, .losi-list { padding: 40px 30px; }

  .fib-highlight { flex-direction: column; text-align: center; }
  .locs-list { columns: 1; }
}

/* =========================================================
   MOBILE (<=767px)
   ========================================================= */
@media (max-width: 767px) {
  .hero-fr-hero .container, .fr-countries-sec .container, .why-learn-fr-sec .container,
  .gco-sec .container, .sabf-sec .container, .fib-sec .container, .lod-sec .container,
  .lotc-sec .container, .locu-sec .container, .losi-sec .container, .lofc-sec .container,
  .locs-sec .container, .lowc-sec .container, .flf-sec .container, .cefr-sec .container {
    padding-left: 15px !important; padding-right: 15px !important;
  }

  .hero-fr-hero { min-height: 500px !important; padding: 30px 0 !important; }
  .hero-fr-hero-wrap { min-height: 440px !important; }
  .hero-fr-hero-content { max-width: 260px !important; padding: 0 !important; }
  .hero-fr-hero-title { font-size: 24px !important; line-height: 1.22 !important; margin-bottom: 10px !important; }
  .hero-fr-hero-badge { font-size: 11px !important; padding: 4px 10px !important; margin-bottom: 10px !important; }
  .hero-fr-hero-desc { font-size: 12.5px !important; line-height: 1.5 !important; margin-bottom: 16px !important; }
  .hero-fr-hero-btns { flex-direction: column; gap: 10px !important; }
  .hero-fr-hero-btns .btn { width: 100%; font-size: 13px !important; padding: 10px 18px !important; }

  .fr-countries-grid { gap: 12px; }
  .fr-countries-card { flex-basis: calc(50% - 6px); width: calc(50% - 6px); max-width: none; }

  .why-learn-fr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gco-grid, .locu-figures-grid, .lowc-list { grid-template-columns: 1fr; }
  .locs-card, .lowc-card { padding: 24px 20px; }

  .lod-tl-content { flex-direction: column; align-items: flex-start; gap: 2px; }

  .flf-stats-bar { gap: 30px; }
  .flf-fact-right { text-align: left; border-left: 3px solid var(--fr-red); border-right: none; padding: 4px 0 4px 20px; }

  .why-learn-fr-sec, .gco-sec, .sabf-sec, .fib-sec, .lod-sec, .lotc-sec,
  .locu-sec, .lofc-sec, .locs-sec, .lowc-sec, .flf-sec, .cefr-sec {
    padding-top: 45px; padding-bottom: 45px;
  }
}

@media (max-width: 420px) {
  .why-learn-fr-stats { grid-template-columns: 1fr; }
  .flf-stats-bar { flex-direction: column; gap: 16px; }
}
/* CEFR language levels section end here */

/* ==================== french page css end here  ==================== */





/* ==================== japanish page css start from here  ==================== */


/* japanese hero section start from here */
.hero-jp-hero {
  background-image: url('../img/japan/hero.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-jp-hero-wrap {
  width: 100%;
  display: flex;
  align-items: center;
}
.hero-jp-hero-img-mobile {
  display: none;
}
.hero-jp-hero-content {
  width: 50%;
}
.hero-jp-hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0c9c9;
  color: #a12e2e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-jp-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 18px;
}
.hero-jp-hero-title .hero-jp-text-highlight {
  color: #DF2222 !important;
}
.hero-jp-hero-desc {
  font-size: 16px;
  color: #4a4a4a;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-jp-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-jp-btn-enroll {
  background: #DF2222;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: 0.3s;
}
.hero-jp-btn-enroll:hover {
  background: #ffffff !important;
  color: #DF2222 !important;
  border: 1.5px solid #DF2222;
}
.hero-jp-btn-demo {
  background: transparent;
  color: #DF2222 !important;
  font-weight: 600;
  border: 1.5px solid #a12e2e;
  padding: 12px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.hero-jp-btn-demo:hover {
  background: #DF2222 !important;
  color: #ffffff !important;
}
/* ===== Mobile & Tablet Responsive (sm + md, lg untouched) ===== */
@media (max-width: 991px) {
  .hero-jp-hero {
    background-image: none;
    min-height: auto;
    padding: 30px 0;
    align-items: center;
  }
  .hero-jp-hero-wrap {
    flex-direction: column;
  }
  .hero-jp-hero-img-mobile {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .hero-jp-hero-img-mobile img {
    --mobile-img-size: 400px;
    max-width: var(--mobile-img-size);
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .hero-jp-hero-content {
    width: 100%;
    text-align: center;
  }
  .hero-jp-hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-jp-hero-btns {
    justify-content: center;
    gap: 10px;
  }
  .hero-jp-hero-title {
    font-size: 28px;
  }
  .hero-jp-hero-desc {
    font-size: 14px;
  }
  .hero-jp-btn-enroll, .hero-jp-btn-demo {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* japanese hero section end here */


/* japanese speaking nations section start from here */
.jp-countries-sec {
  padding: 40px 0;
  background: #fff;
}
.jp-countries-heading-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.jp-countries-title {
  display: inline-block;
  position: relative;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 12px;
}
.jp-countries-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.jp-countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.jp-countries-card {
  background: #FDE8E8;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  transition: 0.3s;
}
.jp-countries-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.jp-countries-flag {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.jp-countries-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jp-countries-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.jp-countries-native {
  font-size: 12.5px;
  font-weight: 500;
  color: #777;
  margin: 0;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .jp-countries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 100%;
  }
  .jp-countries-title {
    font-size: 22px;
  }
}
@media (max-width: 575px) {
  .jp-countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .jp-countries-card {
    padding: 14px 8px;
  }
  .jp-countries-name {
    font-size: 13px;
  }
  .jp-countries-native {
    font-size: 11.5px;
  }
}
/* japanese speaking nations section end here */




/* why learn japanese section start from here */
.wlj-sec {
  padding: 12px 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}
.wlj-sec .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.wlj-col {
  width: 50%;
}
.wlj-img-wrap {
  text-align: center;
}
.wlj-img-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.wlj-content .it-section-subtitle.style-2 {
  display: inline-block;
  margin-bottom: 16px;
}
.wlj-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.wlj-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #DF2222;
  margin-bottom: 18px;
}
.wlj-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}
.wlj-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 25px;
}
.wlj-stat-box {
  background: #fff;
  border: 1px solid #f0d9d9;
  border-radius: 10px;
  padding: 18px 10px;
  text-align: center;
  flex: 1 1 calc(25% - 14px);
  transition: 0.3s;
}
.wlj-stat-box:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.wlj-stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: #DF2222;
}
.wlj-stat-icon svg {
  width: 100%;
  height: 100%;
}
.wlj-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.wlj-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin: 0;
  line-height: 1.4;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .wlj-col {
    width: 100%;
  }
  .wlj-img-col {
    margin-bottom: 25px;
  }
  .wlj-title {
    font-size: 26px;
  }
}
@media (max-width: 575px) {
  .wlj-sec {
    padding: 45px 0;
  }
  .wlj-title {
    font-size: 22px;
  }
  .wlj-subtitle {
    font-size: 15px;
  }
  .wlj-stat-box {
    flex: 1 1 calc(50% - 14px);
  }
  .wlj-content {
    text-align: center;
  }
  .wlj-content .it-section-subtitle.style-2 {
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
  }
  .wlj-img-wrap {
    display: flex;
    justify-content: center;
  }
}
/* why learn japanese section end here */


/* japan global leader section start from here */
.jgl-sec {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fdf1f1;
}
.jgl-bg-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}
.jgl-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.jgl-bg-img-mobile {
  display: none;
}
.jgl-bg-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #fdf1f1 0%, rgba(253, 241, 241, 0) 25%);
}
.jgl-sec .container {
  position: relative;
  z-index: 2;
}
.jgl-content {
  max-width: 560px;
  padding: 50px 0 50px 80px;
}
.jgl-title {
  font-size: 27px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.35;
}
.jgl-title-accent {
  color: #DF2222;
}
.jgl-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}
.jgl-sub {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.jgl-companies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.jgl-company {
  background: #fff;
  border: 1px solid #f0d9d9;
  border-radius: 6px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
}
.jgl-company img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}
.jgl-footer-text {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .jgl-sec {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .jgl-bg-wrap {
    position: relative;
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .jgl-bg-img-desktop {
    display: none;
  }
  .jgl-bg-img-mobile {
    display: block;
  }
  .jgl-bg-wrap::before {
    display: none;
  }
  .jgl-sec .container {
    order: 2;
  }
  .jgl-content {
    max-width: 600px;
    padding: 30px 0;
    margin: 0 auto;
    text-align: center;
  }
  .jgl-title {
    font-size: 24px;
  }
  .jgl-sub {
    text-align: center;
  }
  .jgl-companies {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .jgl-content {
    max-width: 100%;
    text-align: left;
  }
  .jgl-sub {
    text-align: left;
  }
  .jgl-title {
    font-size: 22px;
  }
  .jgl-companies {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .jgl-company {
    font-size: 12px;
    padding: 8px 6px;
  }
}
@media (max-width: 480px) {
  .jgl-companies {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* japan global leader section end here */



/* excellent career opportunities section start from here */
.eco-sec {
  padding: 70px 0;
  background: #fff;
}
.eco-col {
  width: 100%;
}
.eco-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}
.eco-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.eco-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.eco-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.eco-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.eco-flow {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}
.eco-item {
  position: relative;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: #2a2a2a;
  padding: 8px 22px;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}
.eco-item::before {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, #DF2222, #ff8080);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.eco-item:hover {
  color: #DF2222;
}
.eco-item:hover::before {
  transform: scaleX(1);
}
.eco-item::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DF2222;
  opacity: 0.55;
}
.eco-item:nth-child(even)::after {
  background: #1a1a1a;
  opacity: 0.2;
}
.eco-item:last-child::after {
  display: none;
}
/* ===== Responsive ===== */
@media (max-width: 767px) {
  .eco-sec {
    padding: 45px 0;
  }
  .eco-title {
    font-size: 22px;
  }
  .eco-item {
    font-size: 15px;
    padding: 6px 16px;
  }
  .eco-item::before {
    left: 16px;
    right: 16px;
  }
}
/* excellent career opportunities section end here */



/* business international trade section start from here */
.bit-sec {
  padding: 70px 0;
  background: #fdf1f1;
}
.bit-col {
  width: 100%;
}
.bit-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.bit-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.bit-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.bit-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.bit-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.bit-body {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.bit-body-left {
  flex: 0 0 240px;
  background: linear-gradient(160deg, #DF2222, #b81c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}
.bit-lead {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}
.bit-body-right {
  flex: 1 1 auto;
  padding: 20px 40px;
}
.bit-benefit {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #f0dede;
}
.bit-benefit:first-child {
  padding-top: 18px;
}
.bit-benefit:last-child {
  border-bottom: none;
}
.bit-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  color: #DF2222;
  opacity: 0.4;
  line-height: 1.2;
  min-width: 34px;
}
.bit-text {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.5;
  padding-top: 2px;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .bit-title {
    font-size: 26px;
  }
  .bit-body {
    flex-direction: column;
    border-radius: 12px;
  }
  .bit-body-left {
    flex: 0 0 auto;
    padding: 26px 20px;
  }
  .bit-lead {
    font-size: 21px;
  }
  .bit-body-right {
    padding: 16px 30px;
  }
}
@media (max-width: 767px) {
  .bit-sec {
    padding: 45px 0;
  }
  .bit-title {
    font-size: 22px;
  }
  .bit-body {
    border-radius: 10px;
  }
  .bit-body-left {
    padding: 24px 20px;
  }
  .bit-lead {
    font-size: 19px;
  }
  .bit-body-right {
    padding: 10px 22px;
  }
  .bit-benefit {
    gap: 14px;
    padding: 14px 0;
  }
  .bit-benefit:first-child {
    padding-top: 14px;
  }
  .bit-num {
    font-size: 18px;
    min-width: 26px;
  }
  .bit-text {
    font-size: 14.5px;
  }
}
/* business international trade section end here */


/* study in japan section start from here */
.sij-sec {
  padding: 70px 0;
  background: #fff;
}
.sij-col {
  width: 100%;
}
.sij-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px;
}
.sij-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.sij-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.sij-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.sij-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.sij-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.sij-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #f0c9c9 0,
    #f0c9c9 6px,
    transparent 6px,
    transparent 12px
  );
}
.sij-step {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  padding: 0 12px;
}
.sij-step-dot {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #DF2222;
  color: #DF2222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}
.sij-step-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.5;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .sij-title {
    font-size: 26px;
  }
  .sij-timeline {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .sij-timeline::before {
    display: none;
  }
  .sij-step {
    flex: 1 1 33.333%;
  }
}
@media (max-width: 767px) {
  .sij-sec {
    padding: 45px 0;
  }
  .sij-title {
    font-size: 22px;
  }
  .sij-timeline {
    flex-direction: column;
    row-gap: 26px;
    align-items: stretch;
  }
  .sij-step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 0;
  }
  .sij-step-dot {
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .sij-step-text {
    font-size: 14px;
  }
}
/* study in japan section end here */



/* technology innovation section start from here */
.ti-sec {
  padding: 70px 0;
  background: #fdf1f1;
}
.ti-col {
  width: 100%;
}
.ti-heading-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}
.ti-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.ti-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.ti-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.ti-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
.ti-desc:last-child {
  margin-bottom: 0;
}

.ti-fields {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1140px;
  margin: 0 auto;
}
.ti-field {
  text-align: center;
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}
.ti-field-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  color: #DF2222;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ti-field-icon svg {
  width: 100%;
  height: 100%;
}
.ti-field-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .ti-title {
    font-size: 26px;
  }
  .ti-fields {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .ti-field {
    flex: 0 1 100px;
  }
}
@media (max-width: 575px) {
  .ti-sec {
    padding: 45px 0;
  }
  .ti-title {
    font-size: 22px;
  }
  .ti-fields {
    gap: 16px;
  }
  .ti-field {
    flex: 0 1 75px;
  }
  .ti-field-icon {
    width: 40px;
    height: 40px;
  }
  .ti-field-name {
    font-size: 11px;
  }
}
/* technology innovation section end here */


/* discover japanese culture section start from here */
.djc-sec {
  padding: 70px 0;
  background: #fff;
}
.djc-col {
  width: 100%;
}
.djc-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}
.djc-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.djc-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.djc-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.djc-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.djc-mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}
.djc-chip {
  flex: 0 1 200px;
  background: #FDE8E8;
  border-radius: 40px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.3s;
}
.djc-chip-lg {
  flex: 0 1 260px;
  background: #DF2222;
  padding: 30px 30px;
}
.djc-chip-lg .djc-chip-text {
  color: #fff;
  font-size: 17px;
}
.djc-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.djc-chip-text {
  font-size: 15.5px;
  font-weight: 700;
  color: #1a1a1a;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .djc-title {
    font-size: 26px;
  }
  .djc-chip {
    flex: 0 1 45%;
  }
  .djc-chip-lg {
    flex: 0 1 45%;
  }
}
@media (max-width: 575px) {
  .djc-sec {
    padding: 45px 0;
  }
  .djc-title {
    font-size: 22px;
  }
  .djc-mosaic {
    gap: 12px;
  }
  .djc-chip {
    flex: 1 1 100%;
    padding: 18px 20px;
  }
  .djc-chip-lg {
    flex: 1 1 100%;
    padding: 20px 20px;
  }
  .djc-chip-text {
    font-size: 14px;
  }
  .djc-chip-lg .djc-chip-text {
    font-size: 15px;
  }
}
/* discover japanese culture section end here */



/* travel with confidence section start from here */
.twc-sec {
  padding: 80px 0;
  background: #fdf1f1;
}
.twc-col {
  width: 100%;
}
.twc-wrap {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.twc-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.twc-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.twc-quote-mark {
  font-size: 80px;
  font-weight: 800;
  color: #DF2222;
  opacity: 0.18;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -20px;
}
.twc-statement {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0;
}
.twc-highlight {
  color: #DF2222;
  font-weight: 800;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .twc-title {
    font-size: 26px;
  }
  .twc-statement {
    font-size: 19px;
  }
}
@media (max-width: 575px) {
  .twc-sec {
    padding: 50px 0;
  }
  .twc-title {
    font-size: 22px;
  }
  .twc-quote-mark {
    font-size: 60px;
    margin-bottom: -14px;
  }
  .twc-statement {
    font-size: 16px;
    line-height: 1.7;
  }
}
/* travel with confidence section end here */



/* why choose msol section start from here */
.wcm-sec {
  padding: 70px 0;
  background: #fff;
}
.wcm-col {
  width: 100%;
}
.wcm-heading-wrap {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 45px;
}
.wcm-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.wcm-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.wcm-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.wcm-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.wcm-program-wrap {
  max-width: 950px;
  margin: 0 auto;
}
.wcm-program-lead {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 30px;
}
.wcm-checklist {
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;
}
.wcm-check-item {
  flex: 0 0 calc(50% - 25px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e0e0;
}
.wcm-check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FDE8E8;
  color: #DF2222;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcm-check-icon svg {
  width: 14px;
  height: 14px;
}
.wcm-check-text {
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1a1a;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .wcm-title {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .wcm-sec {
    padding: 45px 0;
  }
  .wcm-title {
    font-size: 22px;
  }
  .wcm-program-lead {
    font-size: 18px;
    margin-bottom: 22px;
  }
  .wcm-checklist {
    column-gap: 0;
  }
  .wcm-check-item {
    flex: 1 1 100%;
    padding: 12px 0;
    gap: 12px;
  }
  .wcm-check-text {
    font-size: 14.5px;
  }
}
/* why choose msol section end here */


/* interesting facts about japanese section start from here */
.ifj-sec {
  padding: 70px 0;
  background: #FAFAFA;
}
.ifj-col {
  width: 100%;
}
.ifj-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.ifj-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.ifj-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.ifj-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.ifj-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.ifj-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.ifj-tile {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-left: 4px solid #DF2222;
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}
.ifj-tile:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}
.ifj-tile-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: #DF2222;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ifj-tile-icon svg {
  width: 100%;
  height: 100%;
}
.ifj-tile-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .ifj-title {
    font-size: 26px;
  }
  .ifj-tiles {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .ifj-tiles {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 575px) {
  .ifj-sec {
    padding: 45px 0;
  }
  .ifj-title {
    font-size: 22px;
  }
  .ifj-tile {
    padding: 18px 18px;
    gap: 14px;
  }
  .ifj-tile-icon {
    width: 34px;
    height: 34px;
  }
  .ifj-tile-text {
    font-size: 13.5px;
  }
}
/* interesting facts about japanese section end here */


/* japanese language levels jlpt section start from here */
.jjl-sec {
  padding: 70px 0;
  background: #fff;
}
.jjl-col {
  width: 100%;
}
.jjl-heading-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}
.jjl-heading-wrap .it-section-subtitle.style-2 {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
}
.jjl-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.jjl-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #DF2222;
  border-radius: 2px;
}
.jjl-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.jjl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1140px;
  margin: 0 auto;
}
.jjl-card {
  background: #fff;
  border: 1px solid #f0d9d9;
  border-radius: 12px;
  padding: 32px 28px;
  transition: 0.3s;
}
.jjl-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
  border-color: #DF2222;
}
.jjl-badge {
  display: inline-block;
  background: #FDE8E8;
  color: #DF2222;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.jjl-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.jjl-card-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

.jjl-btn-wrap {
  text-align: center;
  margin-top: 45px;
}
.jjl-btn-enroll {
  display: inline-block;
  background: #DF2222;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 40px;
  border-radius: 6px;
  border: 1.5px solid #DF2222;
  transition: 0.3s;
}
.jjl-btn-enroll:hover {
  background: #ffffff !important;
  color: #DF2222 !important;
}
/* ===== Responsive ===== */
@media (max-width: 991px) {
  .jjl-title {
    font-size: 26px;
  }
  .jjl-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .jjl-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .jjl-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jjl-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .jjl-sec {
    padding: 45px 0;
  }
  .jjl-title {
    font-size: 22px;
  }
  .jjl-card {
    padding: 26px 22px;
  }
  .jjl-card-title {
    font-size: 19px;
  }
  .jjl-card-text {
    font-size: 14px;
  }
  .jjl-btn-enroll {
    padding: 12px 32px;
    font-size: 14.5px;
  }
}
/* japanese language levels jlpt section end here */


/* ==================== japanish page css end here  ==================== */





/* =========================================================
   JAPANESE COURSE PAGE â€” FINAL LIVE ALIGNMENT OVERRIDES
   Keep this block at the VERY END of the main stylesheet.
   ========================================================= */
:root {
  --jp-red: #df2222;
  --jp-soft: #fff2f2;
  --jp-text: #202020;
  --jp-muted: #5f5f5f;
  --jp-container: 1180px;
}

/* Prevent theme/global CSS from breaking this page */
.hero-jp-hero *, .jp-countries-sec *, .wlj-sec *, .jgl-sec *,
.eco-sec *, .bit-sec *, .sij-sec *, .ti-sec *, .djc-sec *,
.twc-sec *, .wcm-sec *, .ifj-sec *, .jjl-sec * {
  box-sizing: border-box;
}

.hero-jp-hero .container, .jp-countries-sec .container, .wlj-sec .container,
.jgl-sec .container, .eco-sec .container, .bit-sec .container,
.sij-sec .container, .ti-sec .container, .djc-sec .container,
.twc-sec .container, .wcm-sec .container, .ifj-sec .container,
.jjl-sec .container {
  width: min(100% - 32px, var(--jp-container)) !important;
  max-width: var(--jp-container) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* Remove Bootstrap negative row margins only inside this page */
.wlj-sec .row, .eco-sec .row, .bit-sec .row, .sij-sec .row,
.ti-sec .row, .djc-sec .row, .twc-sec .row, .wcm-sec .row,
.ifj-sec .row, .jjl-sec .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* HERO */
.hero-jp-hero {
  min-height: 520px !important;
  background-position: center right !important;
  background-size: cover !important;
  overflow: hidden !important;
}
.hero-jp-hero-wrap { min-height: 520px !important; }
.hero-jp-hero-content {
  width: 48% !important;
  max-width: 540px !important;
  padding: 55px 0 !important;
  position: relative;
  z-index: 2;
}
.hero-jp-hero-title {
  font-size: clamp(34px, 3.1vw, 48px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.8px;
}
.hero-jp-hero-desc { max-width: 500px !important; }
.hero-jp-btn-enroll, .hero-jp-btn-demo {
  min-height: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

/* COUNTRY CARDS: exactly like reference â€” 4 first row, 3 centered second row */
.jp-countries-sec { padding: 20px 0 20px !important; }
.jp-countries-heading-wrap { margin-bottom: 28px !important; }
.jp-countries-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 18px !important;
  max-width: 900px !important;
}
.jp-countries-card {
  flex: 0 0 calc(25% - 14px) !important;
  max-width: 205px !important;
  min-width: 170px !important;
  padding: 14px 12px 16px !important;
}
.jp-countries-flag { max-width: 122px !important; }

/* WHY LEARN */
.wlj-sec { padding: 12px 0 !important; }
.wlj-sec .row {
  display: grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  gap: 55px !important;
  align-items: center !important;
}
.wlj-col { width: 100% !important; max-width: none !important; padding: 0 !important; }
.wlj-img-wrap img { width: 100% !important; max-width: 500px !important; }
.wlj-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.wlj-stat-box { min-width: 0 !important; padding: 16px 8px !important; }

/* GLOBAL LEADER */
.jgl-sec { min-height: 430px !important; }
.jgl-content {
  max-width: 570px !important;
  padding: 58px 0 !important;
}
.jgl-bg-wrap { width: 54% !important; }
.jgl-companies { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* Consistent vertical rhythm and centered content */
.eco-sec, .bit-sec, .sij-sec, .ti-sec, .djc-sec,
.twc-sec, .wcm-sec, .ifj-sec, .jjl-sec {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
  overflow: hidden;
}
.eco-col, .bit-col, .sij-col, .ti-col, .djc-col,
.twc-col, .wcm-col, .ifj-col, .jjl-col {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
  .hero-jp-hero {
    background-image: none !important;
    min-height: auto !important;
    padding: 24px 0 48px !important;
  }
  .hero-jp-hero-wrap {
    min-height: auto !important;
    flex-direction: column !important;
  }
  .hero-jp-hero-img-mobile { display: block !important; width: 100% !important; }
  .hero-jp-hero-img-mobile img { max-width: 620px !important; width: 100% !important; }
  .hero-jp-hero-content {
    width: 100% !important;
    max-width: 720px !important;
    padding: 25px 0 0 !important;
    text-align: center !important;
  }
  .hero-jp-hero-btns { justify-content: center !important; }

  .jp-countries-card { flex-basis: calc(33.333% - 12px) !important; }

  .wlj-sec .row {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .wlj-img-col { order: 1; margin: 0 !important; }
  .wlj-content-col { order: 2; }
  .wlj-content { max-width: 760px; margin-inline: auto; }

  .jgl-sec {
    display: block !important;
    min-height: auto !important;
    padding-top: 0 !important;
  }
  .jgl-bg-wrap {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
  }
  .jgl-bg-wrap::before { display: none !important; }
  .jgl-bg-img-desktop { display: none !important; }
  .jgl-bg-img-mobile { display: block !important; }
  .jgl-content { max-width: 760px !important; padding: 42px 0 !important; }
}

/* Mobile */
@media (max-width: 575px) {
  .hero-jp-hero .container, .jp-countries-sec .container, .wlj-sec .container,
  .jgl-sec .container, .eco-sec .container, .bit-sec .container,
  .sij-sec .container, .ti-sec .container, .djc-sec .container,
  .twc-sec .container, .wcm-sec .container, .ifj-sec .container,
  .jjl-sec .container { width: min(100% - 24px, var(--jp-container)) !important; }

  .hero-jp-hero-title { font-size: 30px !important; }
  .hero-jp-hero-badge { font-size: 10px !important; }
  .hero-jp-hero-btns { flex-direction: column !important; width: 100%; }
  .hero-jp-btn-enroll, .hero-jp-btn-demo { width: 100% !important; }

  .jp-countries-sec { padding: 38px 0 45px !important; }
  .jp-countries-grid { gap: 10px !important; }
  .jp-countries-card {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .wlj-sec { padding: 48px 0 !important; }
  .wlj-content { text-align: center !important; }
  .wlj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .jgl-bg-wrap { height: 225px !important; }
  .jgl-content { padding: 35px 0 !important; text-align: center; }
  .jgl-companies { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

  .eco-sec, .bit-sec, .sij-sec, .ti-sec, .djc-sec,
  .twc-sec, .wcm-sec, .ifj-sec, .jjl-sec {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

