/* http://meyerweb.com/eric/tools/css/reset/
   v5.0.1 | 20191019
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}
body {
	line-height: 1;
}
menu, ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:root {
    /* color */
    --primary-color: #8BC34A;
    --secondary-color: #333;

    --gray-1: #666;

    --light-gray-1: #f5f5f5;
    --light-gray-2: #fbfbfb;
    --light-gray-3: #b2b1b1;
    --light-gray-4: #989898;
    --light-gray-5: #cdcdce;
    --light-gray-6: #f2f2f2;
    --white: #ffffff;
    --light-brown: #f3f1ef;

    --green-1: #6fc157;

    --text-color: #000000;
    --transition: all 0.3s ease;

    /* swiper */
    --swiper-pagination-bullet-size: 10px;
    --swiper-pagination-color: var(--primary-color);
    --swiper-pagination-bullet-inactive-color: var(--light-brown);
    --swiper-pagination-bullet-inactive-opacity: 1;

    /* width */
    --max-width: 1920px;
    --min-max-width: 1600px;
    --rwd-sm-width: 480px;
    --rwd-md-width: 768px;
    --rwd-lg-width: 1200px;

    /* yt Colors */
    --yt-color-1: #000000;
    --yt-color-2: #333333;
    --yt-color-3: #666666;
    --yt-color-4: #72bb2a;
    --yt-color-5: #808080;
    --yt-color-6: #989898;
    --yt-color-7: #bcd400;
    --yt-color-8: #cbcbcb;
    --yt-color-9: #cdcdce;
    --yt-color-10: #f2f2f2;
    --yt-color-11: #ffffff;
}/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-white: #fff;
    --spacing: .25rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .\@container {
    container-type: inline-size;
  }

  .visible {
    visibility: visible;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .flex-shrink {
    flex-shrink: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

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

  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

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

  .text-justify {
    text-align: justify;
  }

  .text-left {
    text-align: left;
  }

  .text-wrap {
    text-wrap: wrap;
  }

  .text-white\! {
    color: var(--color-white) !important;
  }

  .italic {
    font-style: italic;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}

* {
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
}

html {
  font-size: 16px;
}

body {
  color: var(--text-color);
  font-family: Noto Serif TC, -apple-system, BlinkMacSystemFont, Microsoft JhengHei, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.roboto {
  font-optical-sizing: auto;
  font-family: Roboto, sans-serif;
  font-style: normal;
}

.noto-serif {
  font-optical-sizing: auto;
  font-family: Noto Serif TC, serif;
  font-style: normal;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}
/* Layout Styles */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.content {
    max-width: var(--min-max-width);
    margin: 0 auto;
}

.h-padding {
    padding: 0 1rem;
}



/* Layout Main */
.layout-main {
    min-height: 100vh;
    padding-top: 77px;
}

@media (max-width: 768px) {


    .content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .layout-main {
        padding-top: 69px;
    }
}/* Typography Styles */
.banner-title {
    color: var(--secondary-color);
    font-size: clamp(3rem, 2rem + 3vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-style: italic;
    font-family: 'Space Mono', monospace;
}

.banner-title-two:has(.text-line-break),
.banner-title:has(.text-line-break) {
    line-height: 1;
}

.banner-title-two {
    color: var(--secondary-color);
    font-size: clamp(1.5rem, 3rem + 10vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: 'Space Mono', monospace;
}

.banner-subtitle {
    /* text-align: center;
    margin-bottom: clamp(1.5rem, 1rem + 1.1vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    font-size: clamp(1.5rem, 1rem + 1.1vw, 3rem);
    font-family: "Noto Serif TC", serif;
    color: var(--primary-color); */
}

h3.banner-subtitle {
    font-size: clamp(1.2rem, 1rem + 1vw, 2.5rem);
}

.part-title {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.banner-slogn {
    color: #000;
    font-weight: 700;
    font-size: clamp(1.5rem, 1rem + 1.1vw, 3rem);
}

.section-title {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: clamp(1.5rem, 1rem + 1vw, 2.3rem);
    text-align: center;
    margin-bottom: 60px;
}

.title {
    /* font-size: 2.2rem;
    color: var(--green-1);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.05em; */
}

.subtitle {
    margin: 0;
    font-size: 1.5rem;
    color: var(--light-gray-4);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.description {
    color: #000;
    font-size: 1.3rem;
    position: relative;
    line-height: 1.5;
    max-width: 900px;
    letter-spacing: 0.02em;
    margin-top: 3rem;
}

.intro-text-title {
    /* color: #000; */
    /* font-size: 1.3rem; */
    position: relative;
    line-height: 1.5;
    /* letter-spacing: 0.1rem; */
    padding: 1rem 0;
}

.intro-text-p {
    color: var(--gray-1);
    font-size: 1.1rem;
    font-weight: 300;
}/* Generated by Gemini AI */

.yt-text-1 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(24px, 5vw, 34px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-2 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 26px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-3 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 3.5vw, 21px);
    /* font-weight: 200; */
    color: var(--yt-color-6);
}

.yt-text-4 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 500;
    color: var(--green-1);
}

.yt-text-5 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 0.9375vw, 18px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-6 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: 14px;
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-7 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 0.9375vw, 18px);
    /* font-weight: 200; */
    color: var(--yt-color-3);
}

.yt-text-8 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-9 {
    /*font-family: 'Source Han Sans TW', sans-serif;*/
    font-size: clamp(16px, 0.9375vw, 18px);
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-10 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-11 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(17px, 3.8vw, 22px);
    /* font-weight: 200; */
    color: var(--yt-color-2);
}

.yt-text-12 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-13 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(17px, 3.8vw, 22px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-14 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 3.5vw, 21px);
    /* font-weight: 200; */
    color: var(--yt-color-2);
}

.yt-text-15 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(48px, 10vw, 72px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-16 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(32px, 7vw, 48px);
    font-weight: 500;
    color: var(--yt-color-4);
}

.yt-text-17 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 500;
    color: var(--yt-color-1);
}

.yt-text-18 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 100;
    color: var(--yt-color-1);
}

.yt-text-19 {
    font-family: 'Fahkwang', sans-serif;
    font-size: clamp(30px, 10vw, 172px);
    font-weight: 600;
    color: var(--yt-color-9);
    font-style: italic;

}

.yt-text-20 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(40px, 7vw, 100px);
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--yt-color-1);
    font-style: italic;
}

.yt-text-21 {
    font-family: 'Fahkwang', sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    color: var(--yt-color-11);
    font-style: italic;
}

.yt-text-22 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(24px, 5vw, 34px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-23 {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(46px, 7vw, 70px);
    font-weight: 700;
    color: var(--yt-color-8);
}

.yt-text-24 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 500;
    color: var(--yt-color-2);
}

.yt-text-25 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(50px, 13vw, 120px);
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--yt-color-1);
    font-style: italic;
}

.yt-text-26 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(17px, 3.8vw, 22px);
    /* font-weight: 200; */
    color: var(--yt-color-7);
}

.yt-text-27 {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(46px, 9vw, 70px);
    font-weight: 700;
    color: var(--yt-color-5);
}

.yt-text-28 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-29 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 100;
    color: var(--green-1);
}

.yt-text-30 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 3.5vw, 21px);
    /* font-weight: 200; */
    font-weight: 500;
    color: var(--yt-color-1);
}

.yt-text-31 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 3.5vw, 21px);
    /* font-weight: 200; */
    color: var(--yt-color-6);
}

.yt-text-32 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 500;
    /* font-weight: 200; */
    color: var(--yt-color-4);
}

.yt-text-33 {
    /*font-family: 'Source Han Sans TW', sans-serif;*/
    font-size: clamp(16px, 0.9375vw, 18px);
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-34 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 26px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-35 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 500;
    color: var(--yt-color-2);
}

.yt-text-36 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 100;
    color: var(--yt-color-1);
}

.yt-text-37 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 100;
    color: var(--yt-color-11);
}

.yt-text-38 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 26px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-39 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 24px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-40 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(24px, 5vw, 34px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-41 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 0.9375vw, 18px);
    /* font-weight: 200; */
    color: var(--yt-color-3);
}

.yt-text-42 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(40px, 8vw, 60px);
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-43 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-43-bold {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 600;
    color: var(--yt-color-1);
}

.yt-text-43-s {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(24px, 5.5vw, 36px);
    color: var(--yt-color-1);
}

.yt-text-44 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(17px, 3.8vw, 22px);
    font-weight: 500;
    color: var(--yt-color-2);
}

.yt-text-45 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(32px, 7vw, 48px);
    font-weight: 500;
    color: var(--yt-color-4);
}

.yt-text-45-s {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(25px, 5vw, 48px);
    font-weight: 500;
    color: var(--yt-color-4);
}

.yt-text-46 {
    /*font-family: 'Noto Sans TC', sans-serif;*/
    font-size: 17px;
    font-weight: 500;
    color: var(--yt-color-1);
}

.yt-text-47 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(48px, 10vw, 73px);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-style:italic;
    color: var(--yt-color-1);
}

.yt-text-48 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 700;
    color: var(--yt-color-1);
    font-style: italic;

}

.yt-text-49 {
    font-family: 'Fahkwang', sans-serif;
    font-size: clamp(80px, 20vw, 172px);
    font-weight: 600;
    color: var(--yt-color-9);
    font-style: italic;
}

.yt-text-50 {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--yt-color-11);
}

.yt-text-51 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(24px, 5vw, 34px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-52 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(50px, 13vw, 120px);
    font-weight: 600;
    color: var(--yt-color-1);
    font-style: italic;
}

.yt-text-53 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(17px, 3.8vw, 22px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-54 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 0.9375vw, 18px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-55 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    /* font-weight: 200; */
    color: var(--yt-color-11);
}

.yt-text-56 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(16px, 3.5vw, 21px);
    /* font-weight: 200; */
    color: var(--yt-color-2);
}

.yt-text-57 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: 14px;
    /* font-weight: 200; */
    color: var(--yt-color-1);
}

.yt-text-58 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(48px, 10vw, 72px);
    font-weight: 500;
    color: var(--yt-color-11);
}

.yt-text-59 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(26px, 5.5vw, 36px);
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-60 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(18px, 4vw, 26px);
    /* font-weight: 200; */
    color: var(--yt-color-2);
}

.yt-text-61 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(32px, 7vw, 48px);
    /* font-weight: 200; */
    color: var(--yt-color-6);
}

.yt-text-62 {
    font-family: 'Noto Serif TC', sans-serif;
    font-size: clamp(13px, 0.885vw, 17px);
    /* font-weight: 200; */
    color: var(--yt-color-1);
}



/* 首頁title */
.yt-text-63 {
    /*font-family: 'Source Han Sans TW', sans-serif;*/
    font-size: clamp(18px, 5vw, 28px);
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--yt-color-1);
}

.yt-text-64 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(48px, 10vw, 140px);
    font-weight: 500;
    letter-spacing: 10px;
    font-style: italic;
}/* Components Styles */
/* Cards */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
    background: var(--white);
}

.project-name {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-name::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary-color);
}

.project-desc {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-details {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    transition: var(--transition);
}

.project-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

/* Circle Link Button */
.circle-item-link {
    width: 60px;
    height: 40px;
    display: block;
    cursor: pointer;
    border: none;
    outline: none;
    align-items: center;
    background-image: url('../assets/common/link_arrow.png'),
        url('../assets/common/link_dot.svg');
    background-position:
        left center,
        center center;
    background-repeat: no-repeat, no-repeat;
    background-color: transparent;
}

.circle-item-link:hover {
    background-image: url('../assets/common/link_arrow.png'),
        url('../assets/common/link_dot_hover.svg');
}

.circle-item-link.revert {
    background-image: url('../assets/common/link_arrow.png'),
        url('../assets/common/link_dot_hover.svg');
}

.circle-item-link.revert:hover {
    background-image: url('../assets/common/link_arrow.png'),
        url('../assets/common/link_dot.svg');
}

/* 首頁標頭 */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

    100% {
        text-shadow: 2px 2px 20px rgba(139, 195, 74, 0.5),
            0 0 30px rgba(139, 195, 74, 0.3);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* Utility Classes */
.rwd-img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (min-width: var(--max-width)) {
    .rwd-img {
        max-width: none;
    }
}

.text-line-break {
    display: block;
}


.truncate-1-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}



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

.mt-5 {
    margin-top: 5rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.error {
    border-color: #ff5252 !important;
}

.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

body.loaded {
    animation: fadeIn 0.5s ease;
}

img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

img.loaded {
    filter: blur(0);
}/* Visual Elements */
.under-highlight {
    display: inline;
    background-image: linear-gradient(to top, var(--primary-color), var(--primary-color));
    background-repeat: no-repeat;
    background-size: 90% 40%;
    background-position: center bottom;
}

.under-highlight.long {
    background-size: 90% 40%;
}

.under-highlight.longer {
    background-size: 95% 40%;
}

.square-underline {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(50%);
    width: 50%;
    height: 4px;
    background: var(--green-1);
}

.tapered-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: transparent;
}

.tapered-line .gray-part {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60%;
    background-color: #d0d0d0;
}

.tapered-line .green-part {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--yt-color-4);
    border-radius: 2px;
}

.tapered-line.half .gray-part {
    height: 50%;
}

.tapered-line.half .green-part {
    height: 50%;
}/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFF;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

/* Navbar scrolled state */
.navbar.has-scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: block;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    transition: padding 0.3s ease;
}

.logo {
    height: 40px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-gray-3);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu>li>a:hover {
    color: var(--primary-color);
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar:not(.scrolled) .nav-menu>li>a::after {
    background: var(--white);
}

.nav-menu>li>a:hover::after {
    width: 100%;
}

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.has-submenu a {
    margin-right: 15px;
}

.has-submenu>a::before {
    content: '▼';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.has-submenu:hover>a::before {
    transform: translateY(-50%) rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
    list-style: none;
    padding: 0.5rem 0;
}

/* Ensure submenu is always white background */
.navbar:not(.scrolled) .submenu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--secondary-color) !important;
    text-shadow: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.submenu a:hover {
    background: #f8f8f8;
    color: var(--primary-color) !important;
    padding-left: 2rem;
}

.submenu a:hover::before {
    transform: translateX(0);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    width: 60px;
    height: 45px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    transform: scale(.8);
}

.nav-toggle span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: var(--light-gray-4);
    border-radius: 5px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.nav-toggle span:nth-child(2) {
    top: 18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.nav-toggle span:nth-child(3) {
    top: 36px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.nav-toggle.active span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

.nav-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 39px;
    left: 8px;
}


/* Active Navigation Item */
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu>li>a.active::after {
    width: 100%;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }

    .submenu {
        min-width: 180px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 69px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0 0;
        gap: 0;
        max-height: calc(100vh - 60px);
        /* overflow-y: auto; */
    }

    /* Ensure mobile menu is always white background */
    .navbar:not(.scrolled) .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    /* Reset text color for mobile menu */
    .navbar:not(.scrolled) .nav-menu a {
        color: var(--secondary-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu>li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu>li>a {
        padding: 1rem 2rem;
        display: block;
    }

    .nav-menu>li>a::after {
        display: none;
    }

    /* Mobile Submenu */
    .has-submenu>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
    }

    .has-submenu>a::before {
        left: 100px;
        top: 0;
        transition: none;
        transform: none;
        height: 100%;
        align-content: center;
    }

    .has-submenu:hover>a::before,
    .has-submenu.active>a::before {
        transform: none;
        transition: none;
    }

    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f8f8f8;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-submenu.active .submenu {
        max-height: 500px;
    }

    .submenu a {
        padding: 1rem 3rem;
        border-left: 3px solid transparent;
    }

    .submenu a:hover {
        border-left-color: var(--primary-color);
        background: #f0f0f0;
        padding-left: 3.5rem;
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    .navbar .container {
        padding: 0.75rem 10px
    }

    .nav-menu>li>a {
        padding: 0.8rem 1.5rem;
    }

    .submenu a {
        padding: 0.8rem 2.5rem;
    }
}


/* Navbar dark state for transparent background */
.navbar:not(.scrolled) .nav-menu a {
    color: var(--light-gray-3);
}

.navbar:not(.scrolled) .nav-menu>li>a:hover {
    color: var(--primary-color);
}


@media (max-width: 768px) {
    body.navToggle-active .navbar .container {
        justify-content: space-between;
    }


    .navbar:not(.scrolled) .container .nav-menu {
        gap: 0;
    }
}

.navToggle-active .navbar .nav-brand,
.navbar.scrolled .nav-brand {
    display: block;
}/* Sections Styles */
.hot-projects {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-gray-1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}
/* Image Loading */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

img.loaded {
    filter: blur(0);
}
/* Form Styles */
.error {
    border-color: #ff5252 !important;
}

.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}
/* Backgrounds */
.lines-bg {
    height: 100%;
    background-image: linear-gradient(to right,
            var(--light-brown) 1px,
            transparent 1px),
        linear-gradient(to right, var(--light-brown) 1px, transparent 1px),
        linear-gradient(to right, var(--light-brown) 1px, transparent 1px);
    background-position:
        30% 0,
        50% 0,
        70% 0;
    background-size:
        10px 100%,
        10px 100%,
        10px 100%;
    background-repeat: no-repeat;
}

.geometry-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.4)),
        url('../assets/index/line1.png');
    background-position: 100% 60%;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 20px;
}

.spec-single-bg-1 {
    height: 100%;
    background-image:
        url('../assets/hotProjects/line2.png');
    background-position:
        100% 0;
    background-size:
        auto;
    background-repeat: no-repeat;
}

.spec-bg {
    height: 100%;
    background-image:
        url('../assets/hotProjects/line2.png'),
        url('../assets/hotProjects/line2.png');
    background-position:
        100% 0,
        0 100%;
    background-size:
        auto,
        auto;
    background-repeat: no-repeat;
}

.spec-line-bg {
    height: 100%;
    background-image: linear-gradient(to right,
            var(--light-brown) 1px,
            transparent 1px),
        linear-gradient(to right, var(--light-brown) 1px, transparent 1px),
        linear-gradient(to right, var(--light-brown) 1px, transparent 1px),
        url('../assets/hotProjects/line2.png'),
        url('../assets/hotProjects/line2.png');
    background-position:
        30% 0,
        50% 0,
        70% 0,
        100% 0,
        0 100%;
    background-size:
        10px 100%,
        10px 100%,
        10px 100%,
        auto,
        auto;
    background-repeat: no-repeat;
}/* Footer */
.footer {
    background: var(--light-brown);
    padding: 50px 0 30px;
}


.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-qr img {
    width: 120px;
    height: 120px;
}

/* Reset for footer elements */

/* Footer Base Styles */
.footer {
    background-color: #e8e5e2;
    padding: 50px 1rem;
    width: 100%;
}

.footer-container {
    width:85%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

/* Logo Section */
.footer-logo-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-logo-img {
    width: auto;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Slogan Section */
.footer-slogan-wrapper {
    /*flex: 1;*/
}

.footer-slogan {
    text-align: center;
    padding-left: 17px;
}


/* Contact Section */
.footer-contact {
    font-size: 13px;
    line-height: 1.8;
    color: #4a4a4a;
    flex-shrink: 0;
    padding-left: 35px;
    padding-right: 1rem;
    border-left: 2px solid var(--light-gray-5);
}

.contact-item {
    color:#6d6e71 !important;
    display: grid;
    grid-template-columns: 70px auto;
    margin-bottom: 3px;
}

.contact-label {
    font-weight: 600;
    min-width: 70px;
    text-align: left;
}

.contact-info {
    color: #666;
    flex: 1;
}

/* QR Code Section */
.footer-qr {
    flex-shrink: 0;
}

.qr-code {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-container {
        gap: 30px;
    }

    .footer-logo-img {
        height: 45px;
    }

    .slogan-text {
        font-size: 20px;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* 使用 order 重新排列元素 */
    .footer-logo-wrapper {
        order: 1;
        flex: 0 0 30%;
    }

    .footer-slogan-wrapper {
        order: 2;
        flex: 0 0 40%;
        text-align: center;
    }

    .footer-qr {
        order: 3;
        flex: 0 0 20%;
    }

    .footer-contact {
        order: 4;
        width: 100%;
        margin-top: 30px;
        border: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 1rem;
    }

    .footer-container {
        justify-content: space-between;
        align-items: flex-start;
    }

    /* 調整上方三個元素的比例 */
    .footer-logo-wrapper {
        flex: 0 0 auto;
    }

    .footer-slogan-wrapper {
        flex: 1 1 auto;
    }

    .footer-qr {
        flex: 0 0 auto;
    }

    .footer-logo-img {
        height: 40px;
    }

    .slogan-text {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .footer-contact {
        text-align: left;
    }

    .contact-item {
        justify-content: flex-start;
    }

    .qr-code {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 600px) {

    /* 在更小的螢幕上，將上方元素改為垂直排列 */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-logo-wrapper,
    .footer-slogan-wrapper,
    .footer-qr {
        width: 100%;
        text-align: center;
        flex: 0 0 auto;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .slogan-text {
        padding: 0;
        margin: 15px 0;
    }

    .footer-qr {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-contact {
        width: 100%;
        max-width: 400px;
        margin-top: 10px;
        padding: 0;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-logo-img {
        height: 35px;
    }

    .slogan-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .contact-label {
        min-width: 60px;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* 超小螢幕優化 */
@media (max-width: 360px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-logo-img {
        height: 30px;
    }

    .slogan-text {
        font-size: 14px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-label {
        margin-bottom: 2px;
    }
}