/* =========================================================
CONTACT HERO SECTION
========================================================= */

/* Mobile: hero section specific full-bleed, not global */
/* @media screen and (max-width: 767px) {
  .hero-section.is-no-image .container,
  .hero-section.is-no-image .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
} */

.hero-section.section.is-no-image {
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  background-color: #211e1d;
  margin-top: -40px;
  padding-top: 120px;
  padding-bottom: 80px;
  margin-bottom: -50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container.is-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  width: 100%;
  max-width: 1440px;
}

.hero_subtitle {
  color: var(--color-surface);
  mix-blend-mode: overlay;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.hero_title {
  color: var(--color-surface);
  text-wrap: balance;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

@media (max-width: 991px) {
  .hero-section.section.is-no-image {
    margin-top: -30px;
    padding-top: 100px;
    margin-bottom: 200px;
  }
}

@media (max-width: 767px) {
  .location-title {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section.section.is-no-image {
    margin-top: -25px;
    padding-top: 90px;
    margin-bottom: -11px;
    padding-bottom: 60px;
  }

  .hero_subtitle {
    font-size: 1.25rem;
  }

  .hero_title {
    font-size: 2rem;
  }
}

/* =========================================================
GLS – INTENSIVE COURSES SECTION (A1–B2)
========================================================= */

.home-courses-section.section {
  grid-column-gap: 6rem;
  background-color: var(--off-white);
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.section {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 4rem;
  display: flex;
}

.container {
  width: 100%;
  position: relative;
}

.container.is-h-courses {
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.h-section-subtitle-courses {
  color: var(--off-black);
  text-wrap: balance;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.subtitle {
  color: var(--light--blue);
  text-wrap: balance;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.paragraph-2 {
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--dark);
}

.courses-cards {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 1rem;
  display: grid;
}

.course-card {
  border-radius: var(--radius-mid);
  color: var(--off-black);
  background-color: #81caff;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem;
  display: flex;
}

.course-card:hover {
  transform: translateY(-4px);
  
}

.course-card.is-green { background-color: var(--light--green); }
.course-card.is-purple { background-color: var(--light--purple); }
.course-card.is-yellow { background-color: var(--light--yellow); }
.course-card.is-orange { background-color: var(--light--orange); }

.couse-card_level {
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  display: flex;
}

.course-card_level-circle {
  border: 2px solid var(--off-black);
  border-radius: 1000px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  margin-right: -1px;
  font-weight: 700;
  display: flex;
  color: var(--off-black);
}

.course-card_title {
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.course-card_text {
  margin-bottom: auto;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.button.is-course-card {
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  background-color: black;
  color: white;
  border-radius: 8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button.is-course-card:hover {
  background-color: var(--off-black);
}

@media screen and (max-width: 991px) {
  .h-section-subtitle-courses { font-size: 3rem; }

  .courses-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
  }

  .course-card {
    flex: none;
    width: 280px;
    scroll-snap-align: start;
  }
}

@media screen and (max-width: 767px) {
  .home-courses-section.section { padding-top: 1rem; }
  .h-section-subtitle-courses { font-size: 2.4rem; }
  .subtitle { font-size: 1.2rem; }
  .paragraph-2 { font-size: 1rem; }
}

@media screen and (max-width: 479px) {
  .h-section-subtitle-courses { font-size: 2rem; }
  .subtitle { font-size: 1rem; }
  .courses-cards { gap: 1rem; }
  .course-card { width: 240px; }
}

/* =========================================================
GLS LEVEL RESULT SECTION (WHITE)
========================================================= */

.gls-level-section.section {
  background-color: #ffffff !important;
  padding-top: 2rem;
}

.container.is-gls-level {
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.gls-level-title {
  color: var(--off-black);
  text-wrap: balance;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.gls-level-subtitle {
  color: var(--light--blue);
  text-wrap: balance;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gls-level-badge {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--dark);
}

.gls-level-badge_value {
  font-weight: 800;
  padding-left: 0.25rem;
}

.gls-level-section .course-card.is-selected {
  outline: 3px solid rgba(0,0,0,0.85);
  outline-offset: 3px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

@media screen and (max-width: 991px) {
  .gls-level-title { font-size: 3rem; }
}

@media screen and (max-width: 767px) {
  .gls-level-title { font-size: 2.4rem; }
  .gls-level-subtitle { font-size: 1.2rem; }
  .gls-level-badge { font-size: 1rem; }
}

@media screen and (max-width: 479px) {
  .gls-level-title { font-size: 2rem; }
  .gls-level-subtitle { font-size: 1rem; }
}

/* ===============================
   GET STARTED SECTION – Gradient Background Version
   =============================== */
.get-started-section.section {
  background-image: linear-gradient(45deg, #000000, #3577f4 100%);
  padding: 4rem 3rem; /* reduced from 6rem 4rem */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Two-column grid */
.container.is-2-col-grid {
  grid-column-gap: var(--gap-desktop);
  grid-row-gap: var(--gap-desktop);
  grid-template-columns: 1fr 1fr;
  display: grid;
  align-items: stretch;
}

/* Image on left */
.get-started-image {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 620px; /* desktop fixed height */
}

.get-started-image img.full-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}

/* White text card on right */
.get-started-card {
  background-color: var(--light--off-white);
  border-radius: 20px;
  padding: 4rem 3rem; /* keep consistent with your design */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  height: 620px;
}

.box-rich-text {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text);
}

.box-rich-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.3em;
  color: var(--color-dark);
  line-height: 1.1;
}

.box-rich-text h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1em;
  font-weight: 700;
}

.box-rich-text p {
  margin-bottom: 1em;
}

/* CTA Button */
.button {
  background-color: var(--color-dark);
  color: var(--off-white);
  text-align: center;
  border-radius: 999px;
  min-width: 140px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===============================
   RESPONSIVE FIXES
   =============================== */
@media screen and (max-width: 991px) {
  .container.is-2-col-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  /* Image first on mobile */
  .get-started-image {
    order: 1;
    height: auto; /* allow natural resizing */
  }

  .get-started-card {
    order: 2;
    height: auto; /* natural height for text */
    padding: 3rem 2rem;
  }

  .box-rich-text h2 {
    font-size: 2.5rem;
  }
}

/* ===== TABLET & MOBILE ===== */
@media screen and (max-width: 767px) {
  .get-started-section.section {
    padding: 4rem 2rem;
  }

  .get-started-image {
    height: auto; /* auto height removes empty space */
  }

  .get-started-image img.full-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 75% center; /* shift left to show bouquet */
  }

  .get-started-card {
    height: auto;
    padding: 2.5rem 2rem;
  }

  .box-rich-text {
    font-size: 1rem;
  }

  .box-rich-text h2 {
    font-size: 1.8rem;
  }

  .box-rich-text h3 {
    font-size: 1.25rem;
  }

  .button {
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
  }
}

/* ===== Small Mobile Edge Fix ===== */
@media screen and (max-width: 479px) {
  .get-started-section.section {
    padding: 4rem 1.5rem;
  }

  .container {
    --bs-gutter-x: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .get-started-image,
  .get-started-card {
    width: 100%;
  }

  .get-started-image img.full-image {
    object-position: 70% center; /* stronger left shift for very small screens */
  }
}

/* ===============================
   CONTACT SECTION (GLS Morocco)
================================ */
.contact-section {
    padding: 6rem 2rem;
  }
  
  /* Remove Bootstrap default padding only in this section */
  .contact-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* ===============================
     GRID LAYOUT
  ================================ */
  .container.is-2-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
  
  /* ===============================
     LEFT CARD (Contact Info)
  ================================ */
  .div-block-5-copy {
    background-color: var(--off-black);
    color: var(--off-white);
    border-radius: 28px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: 96%;
    margin: 0 auto;
  }
  
  .h-section-subtitle {
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--off-white);
  }
  
  .div-block-21 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .text-span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #d3d3d3;
    text-transform: uppercase;
  }
  
  .text-block-3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--off-white);
    line-height: 1.6;
  }
  
  .link-block,
  .link-block-2 {
    text-decoration: none;
    color: var(--off-white);
  }
  
  .link-block:hover .text-block-3,
  .link-block-2:hover .text-block-3 {
    text-decoration: underline;
  }
  
  /* ===============================
     SOCIAL ICONS
  ================================ */
  .div-block-20 {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
  }
  
  .footer-social-link {
    font-size: 1.8rem;
    color: var(--off-white);
    transition: color 0.3s ease;
  }
  
  .footer-social-link.ig:hover { color: #e4405f; }  /* Instagram */
  .footer-social-link.fb:hover { color: #1877f2; }  /* Facebook */
  .footer-social-link.yt:hover { color: #ff0000; }  /* YouTube */
  .footer-social-link.wa:hover { color: #25d366; }  /* WhatsApp */
  
  /* ===============================
     MAP
  ================================ */
  .div-block-7 iframe {
    width: 96%;
    height: 100%;
    border-radius: 28px;
    border: none;
    display: block;
    margin: 0 auto;
  }
  
  /* ===============================
     RESPONSIVE FIXES
  ================================ */
  @media screen and (max-width: 991px) {
    .container.is-grid,
    .container.is-2-col-grid {
      flex-flow: column;
      display: flex;
      gap: 2rem;
    }
  
    .div-block-5-copy {
      padding: 3rem 2rem;
    }
  
    .div-block-7 iframe {
      height: 350px;
    }
  }
  
  @media screen and (max-width: 767px) {
    .contact-section {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  
    .div-block-5-copy {
      width: 94%;
      margin: 0 auto;
      padding: 2.5rem 1.75rem;
      border-radius: 24px;
    }
  
    .div-block-7 iframe {
      border-radius: 18px;
      height: 340px;
    }
  }
  
  @media screen and (max-width: 479px) {
    .div-block-5-copy {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
.h-section-subtitle-contact{
    color: var(--color-surface);
}

.hero-section.section.is-no-image{
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.home-courses-section.section{
  position: relative;
  z-index: 1;
}
/* =========================================================
MOBILE SPACING FIX (QUIZ PAGE)
========================================================= */

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

  /* bring back a little side padding ONLY for quiz sections */
  .home-courses-section.section,
  .gls-level-section.section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* protect text blocks */
  .home-courses-section .container.is-h-courses,
  .gls-level-section .container.is-gls-level {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* keep slider comfortable: add edge padding so first/last card not stuck */
  .home-courses-section .courses-cards,
  .gls-level-section .courses-cards {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media screen and (max-width: 479px) {
  .home-courses-section.section,
  .gls-level-section.section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .home-courses-section .courses-cards,
  .gls-level-section .courses-cards {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* =========================================================
SPECIAL GERMAN COURSES (like screenshot – compact version)
========================================================= */

.special-courses-section.section {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.container.is-special-courses {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Title */
.special-courses-title {
  margin: 0 0 0.5rem 0;
  font-size: clamp(2.1rem, 4.5vw, 4rem); /* ⬅️ reduced */
  font-weight: 900;
  line-height: 1.05;
  color: var(--off-black);
  letter-spacing: -0.02em;
}

.special-courses-subtitle {
  margin: 0 0 1.75rem 0;
  font-size: 1.2rem; /* ⬅️ reduced */
  font-weight: 700;
  color: var(--light--blue);
}

/* Grid layout */
.special-courses-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Second row alignment */
.special-courses-grid .special-course-card:nth-child(4) { grid-column: 1; }
.special-courses-grid .special-course-card:nth-child(5) { grid-column: 2; }

/* Card */
.special-course-card {
  border-radius: 22px;
  padding: 1.6rem 1.8rem 1.5rem; /* ⬅️ smaller padding */
  min-height: 210px;            /* ⬅️ reduced height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--off-black);
}

.special-course-card:hover {
  transform: translateY(-4px);
}

/* Card title */
.special-course-card-title {
  margin: 0 0 0.6rem 0;
  font-size: 1.35rem; /* ⬅️ reduced */
  font-weight: 800;
  line-height: 1.2;
}

/* Card text */
.special-course-card-text {
  margin: 0 0 1.1rem 0;
  font-size: 0.95rem; /* ⬅️ reduced */
  font-weight: 600;
  line-height: 1.4;
  max-width: 420px;
}

/* Button */
.button.is-special-course-btn {
  margin-top: auto;
  background: #111;
  color: var(--color-surface);
  border-radius: 999px;
  padding: 0.6rem 1.4rem; /* ⬅️ smaller pill */
  font-weight: 800;
  font-size: 0.85rem;     /* ⬅️ reduced */
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button.is-special-course-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

/* Colors */
.special-course-card.is-blue   { background: #81caff; }
.special-course-card.is-orange { background: #f3b44a; }
.special-course-card.is-yellow { background: #f8f058; }
.special-course-card.is-green  { background: #52d58d; }
.special-course-card.is-gray   { background: #bdbdb2; }

/* Responsive */
@media screen and (max-width: 991px) {
  .special-courses-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .special-courses-grid .special-course-card:nth-child(4),
  .special-courses-grid .special-course-card:nth-child(5) {
    grid-column: auto;
  }
}

@media screen and (max-width: 767px) {
  .special-courses-section.section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .special-courses-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
