/* Atkinson Hyperlegible: CSS classes */

.atkinson-hyperlegible-regular {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.atkinson-hyperlegible-bold {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.atkinson-hyperlegible-regular-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.atkinson-hyperlegible-bold-italic {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-style: italic;
}


/* Playball: CSS class */

.playball-regular {
  font-family: "Playball", cursive;
  font-weight: 400;
  font-style: normal;
}


/* all */
*{
    box-sizing: border-box;
    background-color: #f7ebd4;
    font-family: "Atkinson Hyperlegible", sans-serif;
}

:root {
  --menu-gap: 0.75rem;
  --nav-close-size: 2rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.75rem 1.5rem;
}

/* homepage */
.home_title {
  font-family: "Playball", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 7vw, 4rem);
  margin: 0;
  text-align: center;
}

.home_subtitle {
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.2rem, 4vw, 1.75rem);
  margin: 0;
  text-align: center;
}

.home_header {
  width: 100%;
  max-width: 900px;
  padding: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.yes-set {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 760px;
  margin-top: 45px;
  text-align: center;
  padding: 0 0.25rem;
}

.yes-set ul {
  margin: 1rem auto 0;
  padding-left: 1.2rem;
  text-align: left;
}

.yes-set li {
  margin-bottom: 0.65rem;
}




.form-with-flags{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0 0;
    width: 100%;
}

.homepage-contact h2 {
    text-align: center;
    margin: 1rem 0;
}

.homepage-contact img{
    height: 2rem;
    width: auto;
    padding-right: 20px;
}

.whatsapp-link img{
    display: inline-block;
    height: 1.9rem;
    width: auto;
    margin-right: 0.6rem;
    background-color: transparent;
    padding: 0;
}

.whatsapp-link{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem auto;
    background-color: #eeb750;
    color:#003049;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    width: fit-content;
    font-weight: bold;
}

.contact-form-div{
    background-color: #f7ebd4;
    color: #003049;
    padding: 1.25rem;
    border-radius: 10px;
    width: min(100%, 560px);
    margin: 0 auto;
    border: 1px solid #e9a24f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    font-family: "Atkinson Hyperlegible", sans-serif;
}

.contact-form-div form {
    width: 100%;
}

input{
    display: block;
    margin: 1rem auto;
    padding: 0.5rem;
    border-radius: 5px;
    border: 2px solid #e9a24f;
    width: 100%;
    background-color: #FFFFFF;
    color: #003049;
    font-family: "Atkinson Hyperlegible", sans-serif;
}

textarea{
    display: block;
    margin: 1rem auto;
    padding: 0.5rem;
    border-radius: 5px;
    border: 2px solid #e9a24f;
    width: 100%;
    background-color: #FFFFFF;
    color: #003049;
    font-family: "Atkinson Hyperlegible", sans-serif;
    resize: none;
    overflow: hidden;
}

input::placeholder,
textarea::placeholder,
.submit-button{
    font-family: "Atkinson Hyperlegible", sans-serif;
}

.submit-button{
    background-color: #f4a261;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    width: fit-content;
    display: block;
    margin: 0 auto;
    border: none;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.submit-button:hover {
    background-color: #e76f51;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-status {
    min-height: 1.5rem;
    margin-top: 0.9rem;
    text-align: center;
    font-weight: 600;
    color: #003049;
}

.form-status.success {
    color: #1f7a3f;
}

.form-status.error {
    color: #b42318;
}

.privacy-policy-page {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.privacy-policy-page .privacy-article {
    width: 100%;
    background-color: #f8ddae;
    border: 1px solid #e9a24f;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    color: #003049;
    font-family: "Atkinson Hyperlegible", sans-serif;
    line-height: 1.85;
    padding: 2rem 2.5rem;
}

.privacy-policy-page .privacy-article h1,
.privacy-policy-page .privacy-article h2 {
    color: #003049;
    margin-top: 0;
}

.privacy-policy-page .privacy-article h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.privacy-policy-page .privacy-article h2 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-policy-page .privacy-article p,
.privacy-policy-page .privacy-article li {
    line-height: 1.85;
    font-size: 1.15rem;
    text-align: justify;
    background-color: transparent !important;
}

.privacy-policy-page .privacy-article p {
    margin: 0 0 1rem;
}

.privacy-policy-page .privacy-article ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}

.privacy-policy-page .privacy-article * {
    background-color: transparent !important;
}

.testimonials-section {
    width: 100%;
    max-width: 1100px;
    margin: 2.5rem auto 3rem;
    padding: 0 0.5rem;
}

.testimonials-section h2 {
    text-align: center;
    color: #003049;
    margin-bottom: 1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    background-color: #f8ddae;
    border: 1px solid #e9a24f;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    color: #003049;
}

.testimonial-card p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.98rem;
    background-color: transparent;
}

@media (max-width: 1000px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .navbar {
        justify-content: center;
        padding: 1rem;
    }

  /* Remove logo at tablet and narrower to improve navbar fit */
  .navbar_logo,
  .navbar_logo img {
    display: none;
  }

    .navbar_links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .whatsapp-link {
        margin: 2rem auto;
    }

    .home_header {
        padding-top: 1rem;
    }

    .yes-set {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 0.5rem 1rem;
    }

    .navbar {
        border-radius: 12px;
    }

  /* Hide the logo on very narrow screens to free up space */
  .navbar_logo,
  .navbar_logo img {
    display: none;
  }

    .navbar_links {
        gap: 0.5rem;
    }

    .navbar_links a {
        padding: 0.45rem 0.7rem;
        font-size: 0.95rem;
    }

    .lang-toggle {
        margin: 0.25rem 0 0;
    }

    .contact-form-div {
        padding: 1rem;
    }

    .testimonial-card {
        padding: 1.1rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }
}

/* navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: #e9a24f solid 1px;
  border-radius: 10px;
}

.navbar_logo {
  margin-right: auto;
}

.navbar_logo img {
  height: 100px;
  width: auto;
  display: block;
}

.navbar_links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.navbar_links li {
  margin: 0;
  padding: 0;
}

  /* Hamburger menu styles for small screens (<=800px) */
  .hamburger {
    display: none;
    background: transparent;
    border: 2px solid #f2b56b;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 1.25rem;
    cursor: pointer;
    color: #333;
  }

  /* hide nav close by default on normal (desktop) view */
  .nav-close {
    display: none;
  }

  @media (max-width: 800px) {
    .hamburger {
      display: block;
    }

    /* hide horizontal links and use vertical stacked menu */
    .navbar_links {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: #f7ebd4;
      border-bottom: 1px solid #e9a24f;
      /* padding-top equals close button size + gap so spacing matches */
      padding: calc(var(--nav-close-size) + var(--menu-gap)) 1rem 1.5rem;
      flex-direction: column;
      gap: var(--menu-gap);
      z-index: 9999;
      box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    }

    .navbar_links.open {
      display: flex;
    }

    .navbar_links li {
      width: 100%;
    }

    .navbar_links a {
      width: 100%;
      display: block;
      text-align: left;
    }

    /* close button inside mobile menu */

    .nav-close {
      display: none;
      position: fixed;
      top: 0.5rem;
      left: 1rem;
      right: auto;
      background: #f7ebd4;
      border: 2px solid #f2b56b;
      border-radius: 8px;
      height: var(--nav-close-size);
      width: var(--nav-close-size);
      padding: 0;
      font-size: 1rem;
      line-height: var(--nav-close-size);
      text-align: center;
      cursor: pointer;
      z-index: 10001;
    }

    /* show close when menu is open */
    .navbar_links.open + .nav-close {
      display: block;
    }
  }

.navbar_links a {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid #f2b56b;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.navbar_links a:hover {
  background-color: #fbe8cd;
  border-color: #e76f51;
}

.lang-toggle {
  background-color: #e76f51;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease;
  margin: 0 1rem;
}

.lang-toggle:hover {
  background-color: #c95b3c;
}

.about-content {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 1.25rem;
  padding: 2rem 2.5rem;
  background-color: #f8ddae;
  border: 1px solid #e9a24f;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  color: #003049;
  font-family: "Atkinson Hyperlegible", sans-serif;
  line-height: 1.85;
}

.about-content p {
  margin: 0;
  font-size: 1.15rem;
  text-align: justify;
  background-color: transparent !important;
}

.about-content * {
  background-color: transparent !important;
}

.curriculum-format-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.curriculum,
.format {
  background-color: #f8ddae;
  border: 1px solid #e9a24f;
  border-radius: 15px;
  padding: 2rem;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.curriculum p,
.format p {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 0;
  color: #003049;
  background-color: transparent;
}

.curriculum ul,
.format ul {
  list-style: none;
  padding-left: 0;
  background-color: transparent;
}

.curriculum li,
.format li {
  padding: 0.5rem 0;
  color: #003049;
  background-color: transparent;
}

/* why german */

.why-german-paragraph{
    width: 100%;
    max-width: 900px;
    margin: 2.5rem auto 1.5rem;
    padding: 1.25rem 1rem;
    background-color: #f8ddae;
    border: 1px solid #e9a24f;
    border-radius: 18px;
    color: #003049;
    font-size: 1.15rem;
    line-height: 1.85;
    text-align: justify;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.why-german-carousel{
    margin: 0 auto 3rem;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    background-color: #fbe8cd;
    border: 1px solid #e9a24f;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.why-german-carousel::-webkit-scrollbar{
    display: none;
}

.why-german-items{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    animation: carousel-spin 24s linear infinite;
    padding-right: 1em;
    min-width: max-content;
}

.why-german-item{
    flex: 0 0 min(70vw, 240px);
    min-height: min(70vw, 240px);
    font-size: clamp(1rem, 2.8vw, 1.4rem);
    color: #FFFFFF;
    font-weight: 700;
    padding: 1.2rem;
    background: linear-gradient(135deg, #f4a261, #e76f51);
    border: 1px solid #e9a24f;
    border-radius: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

@keyframes carousel-spin{
    from {transform: translateX(0);} 
    to {transform: translateX(-50%);} 
}