/* ==========================================================================
   Huayou GmbH - Static Website Stylesheet
   Clean, easily editable CSS replicated from www.huayou.de
   ========================================================================== */

:root {
  --medium-sea-green: #5ab963;
  --sea-green: #48944f;
  --black: #000000;
  --dark-grey: #b3b3b3;
  --dark-grey-2: #999999;
  --bg-grey: #fafafa;
  --footer-bg: #0a0e1a;
  --border-grey: #e6e6e6;
  --white: #ffffff;

  --font-sans: 'Libre Franklin', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container-max-width: 1170px;
}

/* ==========================================================================
   1. Base & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}

body {
  color: #333;
  background-color: var(--white);
  min-height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  -moz-font-feature-settings: "liga" on;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" on;
  text-rendering: optimizeLegibility;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

b,
strong {
  font-weight: bold;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 10px;
  font-weight: bold;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 44px;
}

h2 {
  margin-top: 20px;
  font-size: 32px;
  line-height: 36px;
}

h3 {
  color: var(--black);
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

.h1 {
  color: var(--black);
  letter-spacing: -1px;
  max-width: none;
  margin-top: 0;
  margin-bottom: 30px;
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: 800;
  line-height: 78px;
}

.h1.white {
  color: var(--black);
}

.h2 {
  color: var(--dark-grey);
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  line-height: 36px;
}

.h2.cc-center {
  margin-bottom: 40px;
}

.h2.cc-2-rows {
  margin-top: 60px;
  margin-bottom: 0;
}

.h2.mediumheader {
  max-width: 100%;
  margin-top: 100px;
}

.h2.fullwidth {
  display: block;
}

.h3 {
  color: var(--black);
  margin-top: 0;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
}

.h3.cc-cta {
  color: var(--medium-sea-green);
  margin-bottom: 0;
}

.h3.cc-header {
  color: var(--white);
  margin-bottom: 0;
  text-decoration: none;
}

.paragraph {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
}

.paragraph.cc-gray {
  color: var(--dark-grey-2);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 26px;
}

.text-span {
  color: var(--black);
  font-weight: 800;
}

/* ==========================================================================
   3. Layout Containers & Helpers
   ========================================================================== */

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.container {
  z-index: 1;
  text-align: left;
  width: 80%;
  max-width: var(--container-max-width);
  font-size: 18px;
  position: relative;
}

.container.cc-center {
  justify-content: center;
  align-items: center;
  display: flex;
}

.container.cc-cta {
  display: flex;
}

.container.cc-footer {
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.container.cc-contact {
  display: flex;
}

.h2-container {
  width: 50%;
  margin-bottom: 90px;
}

.h2-container.cc-center {
  text-align: center;
  width: 65%;
  margin-bottom: 0;
}

.h2-container.fullwidth {
  width: 100%;
}

.separator {
  justify-content: center;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
}

.separator.cc-background-grey {
  background-color: var(--bg-grey);
}

.line-color {
  background-color: var(--border-grey);
  height: 1px;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.w-button {
  color: var(--white);
  line-height: inherit;
  cursor: pointer;
  background-color: #3898ec;
  border: 0;
  border-radius: 0;
  padding: 9px 15px;
  text-decoration: none;
  display: inline-block;
}

.button {
  background-color: var(--medium-sea-green);
  color: var(--white);
  border-radius: 4px;
  margin-top: 50px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  line-height: 30px;
  text-decoration: none;
  transition: background-color 0.2s;
  display: inline-block;
  border: 0;
  cursor: pointer;
}

.button:hover {
  background-color: var(--sea-green);
}

.button.cc-cta {
  margin-top: 0;
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.navigation {
  z-index: 1000;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  position: relative;
}

.navigation-container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max-width);
  height: 90px;
  margin-left: 0;
  margin-right: 0;
  display: flex;
}

.logo {
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.nav-menu {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.nav-link {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  padding: 20px;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.nav-link.w--current {
  color: var(--white);
}

.bullet {
  background-color: var(--white);
  border-radius: 50%;
  width: 4px;
  height: 4px;
  margin-left: 15px;
  margin-right: 15px;
}

.navigation-button {
  color: var(--white);
  background-color: transparent;
  border: 2px solid var(--white);
  border-radius: 4px;
  margin-left: 15px;
  padding: 9px 15px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  display: inline-block;
}

.navigation-button:hover {
  color: var(--black);
  background-color: var(--white);
}

.menu-button {
  cursor: pointer;
  user-select: none;
  padding: 18px;
  font-size: 24px;
  display: none;
  position: relative;
  background: transparent;
  border: 0;
  color: var(--white);
}

.icon-2 {
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

/* Hamburger icon bars */
.hamburger-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  border-radius: 1px;
}

/* ==========================================================================
   6. Headers & Banners
   ========================================================================== */

.header {
  background-image: url("../assets/images/hero-bg.jpg");
  background-position: 50%;
  background-size: cover;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: -90px;
  padding: 210px 30px 120px;
  display: flex;
}

.header-content {
  perspective: 2000px;
  text-align: center;
  max-width: 770px;
}

/* Smooth entrance animation matching original Webflow hero interaction */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 40px, 0) rotateX(-50deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }
}

.header-content .h1 {
  animation: heroFadeIn 0.8s ease-out forwards;
}

.header-content .paragraph {
  animation: heroFadeIn 0.9s ease-out 0.1s forwards;
}

.header-inner {
  background-color: var(--dark-grey);
  justify-content: center;
  align-items: center;
  margin-top: -90px;
  padding: 180px 30px 90px;
  display: flex;
}

.header-inner.cc-header-extra {
  padding-bottom: 210px;
}

.header-inner-content {
  width: 57%;
}

.inner-category {
  align-items: center;
  margin-bottom: 30px;
  display: flex;
}

.header-banner {
  justify-content: center;
  align-items: center;
  margin-top: -120px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
}

.premium-image-banner {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  display: flex;
  overflow: hidden;
}

/* ==========================================================================
   7. Content Sections (Premium / Rows / About / Team / Expertise)
   ========================================================================== */

.premium {
  background-color: var(--bg-grey);
  justify-content: center;
  align-items: center;
  padding: 120px 30px;
  display: flex;
}

.premium.cc-background {
  background-color: transparent;
  align-items: stretch;
}

.premium-intro {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 30px 120px;
  display: flex;
}

.container-quote {
  text-align: center;
  width: 70%;
}

.row {
  flex: 1;
  align-items: center;
  display: flex;
}

.row.cc-bottom {
  flex-direction: row-reverse;
  margin-top: 90px;
}

.row.cc-bottom.cc-reverse {
  clear: none;
  flex-direction: row;
}

.row.cc-reverse {
  flex-direction: row-reverse;
}

.row.rowwide {
  display: block;
}

._2-row-image.cc-bottom {
  text-align: left;
  align-self: auto;
  margin-right: 0;
}

._2-row-image.cc-bottom.right {
  text-align: right;
}

._2-row-image.cc-row-spacing {
  margin-right: 100px;
}

._2-row-image.cc-row-reverse {
  text-align: right;
}

._2-row-text {
  max-width: 370px;
  margin-top: 0;
  margin-right: 100px;
  position: static;
}

._2-row-text.cc-bottom {
  text-align: left;
  margin-right: 100px;
}

._2-row-text.cc-bottom.cc-reverse {
  margin-left: 100px;
  margin-right: 0;
}

._2-row-text.rowwide {
  max-width: 90%;
}

.image-3 {
  max-width: 70%;
  padding-top: 0;
}

.image-4,
.image-5 {
  max-width: 80%;
}

.image-6 {
  text-align: left;
  max-width: 80%;
}

.image-7 {
  max-width: 80%;
  margin-left: 0;
  margin-right: 0;
}

.image-8,
.image-9 {
  max-width: 80%;
}

.image-10 {
  text-align: center;
}

.about-intro {
  justify-content: center;
  align-items: center;
  padding: 115px 30px 75px;
  display: flex;
}

.team {
  justify-content: center;
  align-items: center;
  padding: 120px 30px;
  display: flex;
}

/* ==========================================================================
   8. Contact Section & Form
   ========================================================================== */

.contact-intro {
  flex-flow: column wrap;
  place-content: flex-start center;
  align-items: center;
  padding: 120px 30px;
  display: flex;
}

.contact-info {
  width: 50%;
  margin-top: -10px;
  margin-bottom: -10px;
}

.contact-info-row {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
}

.contact-info-text {
  color: var(--dark-grey-2);
  width: 25%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.contact-info-text.cc-text-black {
  color: var(--black);
  width: auto;
}

.form-input {
  width: 50%;
  margin-top: -10px;
  margin-bottom: -10px;
}

.w-form {
  margin: 0 0 15px;
}

.w-input {
  color: #333;
  vertical-align: middle;
  background-color: var(--white);
  border: 1px solid #ccc;
  width: 100%;
  height: 38px;
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857;
  display: block;
}

.text-field {
  color: var(--dark-grey);
  border: 0;
  border-bottom: 1px solid var(--border-grey);
  height: 60px;
  padding-left: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
}

.text-field:hover {
  border-bottom-color: var(--black);
}

.text-field:active,
.text-field:focus {
  color: var(--black);
  border-bottom-color: var(--black);
}

.text-field::placeholder {
  color: var(--dark-grey);
}

.w-form-done {
  text-align: center;
  background-color: #ddd;
  padding: 20px;
  display: none;
}

.w-form-fail {
  background-color: #ffdede;
  margin-top: 10px;
  padding: 10px;
  display: none;
}

/* ==========================================================================
   9. Call-To-Action (CTA) Section
   ========================================================================== */

.cta {
  background-color: var(--bg-grey);
  justify-content: center;
  align-items: center;
  padding: 150px 30px;
  display: flex;
}

.cta-line {
  background-color: var(--medium-sea-green);
  width: 30px;
  height: 2px;
  margin-left: 20px;
}

.cta-line.cc-header {
  background-color: var(--white);
}

.cta-column {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  display: flex;
}

.cta-left-top {
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 15px;
  display: flex;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer {
  background-color: var(--footer-bg);
  justify-content: center;
  align-items: center;
  padding: 120px 30px 150px;
  display: flex;
}

.footer-column {
  width: 50%;
  display: flex;
}

.footer-column.cc-footer {
  flex-direction: column;
}

.text-footer-credits {
  color: #666;
  margin-top: 15px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.footer-links-list {
  flex-direction: column;
  padding-right: 50px;
  display: flex;
}

.link-footer {
  color: var(--white);
  margin-bottom: 25px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  transition: color 0.2s;
}

.link-footer:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  justify-content: flex-start;
  width: 25%;
  display: flex;
}

.link-social {
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  margin-right: 15px;
  display: flex;
}

/* ==========================================================================
   11. Responsive Media Queries
   ========================================================================== */

@media screen and (max-width: 991px) {
  .navigation {
    z-index: 999;
    padding-right: 10px;
  }

  .header {
    padding-left: 60px;
    padding-right: 60px;
  }

  .bullet {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button:active,
  .menu-button.w--open {
    background-color: var(--medium-sea-green);
  }

  .nav-menu {
    display: none;
    background-color: var(--medium-sea-green);
    padding-top: 30px;
    padding-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    text-align: center;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
  }

  .navigation-button {
    width: 75%;
    margin: 20px 30px;
    text-align: center;
  }

  .container.cc-contact {
    flex-wrap: wrap;
  }

  .h2-container,
  .h2-container.cc-center {
    width: 80%;
  }

  ._2-row-image {
    max-width: 50%;
    margin-right: 30px;
  }

  ._2-row-image.cc-row-spacing {
    margin-right: 50px;
  }

  ._2-row-image.cc-row-reverse,
  ._2-row-text {
    margin-right: 0;
  }

  ._2-row-text.cc-bottom {
    margin-right: 50px;
  }

  ._2-row-text.cc-bottom.cc-reverse {
    margin-left: 50px;
  }

  ._2-row-text.cc-row-reverse {
    margin-right: 50px;
  }

  .header-inner-content {
    width: 80%;
  }

  .container-quote {
    width: 100%;
  }

  .team {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .contact-intro {
    flex-flow: wrap;
    padding-bottom: 110px;
  }

  .contact-info {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .form-input {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .icon-2 {
    color: var(--white);
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .header {
    height: 600px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .h1 {
    font-size: 48px;
    line-height: 54px;
  }

  .container.cc-cta,
  .container.cc-footer {
    flex-wrap: wrap;
  }

  .h2-container {
    width: 100%;
    margin-bottom: 60px;
  }

  .h2-container.cc-center {
    width: 100%;
  }

  .premium {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  ._2-row-image {
    max-width: 100%;
    margin-bottom: 60px;
    margin-right: 0;
    display: flex;
  }

  ._2-row-image.cc-row-spacing,
  ._2-row-text,
  ._2-row-text.cc-bottom {
    margin-right: 0;
  }

  ._2-row-text.cc-bottom.cc-reverse {
    margin-left: 0;
  }

  ._2-row-text.cc-row-reverse {
    margin-right: 0;
  }

  .row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .cta-column {
    justify-content: flex-start;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .footer-column {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .footer-column.cc-footer {
    width: 100%;
  }

  .header-inner {
    padding-top: 150px;
    padding-bottom: 60px;
  }

  .header-inner.cc-header-extra {
    padding-bottom: 180px;
  }

  .header-inner-content {
    width: 100%;
  }

  .premium-intro {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .about-intro {
    padding-top: 85px;
    padding-bottom: 45px;
  }

  .contact-intro {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .contact-info-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .contact-info-text {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .navigation-container {
    height: 60px;
  }

  .header {
    height: 100vh;
    margin-top: -60px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .h1 {
    letter-spacing: 0;
    font-size: 30px;
    line-height: 42px;
  }

  .container.cc-center {
    flex-wrap: wrap;
  }

  .h2 {
    font-size: 20px;
    line-height: 30px;
  }

  ._2-row-image {
    align-items: flex-start;
    margin-bottom: 60px;
  }

  ._2-row-text {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  ._2-row-text.cc-bottom {
    margin-right: 0;
  }

  ._2-row-text.cc-bottom.cc-reverse {
    margin-left: 0;
  }

  .row.cc-bottom {
    margin-top: 60px;
  }

  .footer-column {
    flex-wrap: wrap;
  }

  .footer-links-list,
  .footer-social {
    width: 50%;
  }

  .header-inner {
    margin-top: -60px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .header-inner.cc-header-extra {
    padding-bottom: 150px;
  }

  .premium-intro {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .contact-intro {
    padding-bottom: 80px;
  }
}
