html, body {
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: 'Noto Sans SC', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    min-height: 60px;
    gap: 0;
    box-sizing: border-box;
}
.header.fixed-header > * {
    min-width: 0;
    box-sizing: border-box;
}
.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    gap: 6px;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: auto;
}
.header.fixed-header .logo {
    width: 240px;
    max-width: 32vw;
    flex: 0 0 auto;
    min-width: 0;
    box-sizing: border-box;
}
.header.fixed-header .nav-bar {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.header.fixed-header .lang-switch {
    flex: 0 0 auto;
    margin-left: 32px;
    min-width: 0;
    max-width: 100vw;
    white-space: nowrap;
    box-sizing: border-box;
}
.logo {
    width: 240px;
    max-width: 32vw;
    height: auto;
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}
.logo-mobile {
    width: 180px;
    max-width: 30vw;
}
.nav-bar {
    display: flex;
    gap: 28px;
    align-items: center;
    transition: max-height 0.3s;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 0;
}
.nav-link {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: normal;
    padding: 0 6px;
    transition: color 0.2s;
    min-width: 0;
    flex-shrink: 1;
    box-sizing: border-box;
}
.nav-link.active, .nav-link:focus {
    font-weight: bold;
    color: #004D80;
}
.nav-link:hover {
    color: #004D80;
}
.lang-switch {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s;
    color: #004D80;
}
.lang-switch:hover {
    background-color: #e0e0e0;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
    position: relative;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s;
}
.sections {
    height: auto;
    overflow: visible;
    padding-top: 42px;
    margin-top: 0;
}
.full-section {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    min-height: 540px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 60px 64px 40px 0;
    scroll-snap-align: start;
    background: transparent;
    overflow: hidden;
}
.sections .full-section:first-child {
    margin-top: 0;
}
.sections .full-section:last-child {
    margin-bottom: 64px;
}
.section-image.apple-rounded {
    width: 46%;
    aspect-ratio: 4/3;
    max-width: 600px;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 40px 0 48px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-width: 0;
    border-radius: 32px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 8px 0 rgba(0,0,0,0.08);
    background-color: #eaeaea;
    box-sizing: border-box;
    overflow: hidden;
}
.section-content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 8vw 60px 8vw;
    background: #fff;
    min-width: 0;
    box-sizing: border-box;
}
.about-us.section-heading {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #004D80;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.description, .hiring, .contact {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.7;
}
.services {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center;
}
.service {
    color: #004D80;
    font-size: 18px;
    font-weight: normal;
}
.subtext {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}
.footer {
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    margin-top: 0;
    color: #666;
    position: relative;
    z-index: 10;
    padding: 32px 0 48px 0;
}
.business-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.06);
    padding: 32px 32px 24px 32px;
    margin: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    max-width: 340px;
    width: 100%;
    text-align: center;
}
.business-card .service {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.business-card .subtext {
    font-size: 1.1rem;
    margin-top: 0;
}
.logo-desktop { display: block; }
.logo-mobile { display: none; }

@media (max-width: 900px) {
  .logo-desktop { display: none; }
  .logo-mobile { 
    display: block;
    width: auto;
    max-width: 120px;
    max-height: 32px;
    height: auto;
    object-fit: contain;
  }
  
  .header.fixed-header {
    padding: 0 12px;
    justify-content: flex-start;
    min-height: 42px;
    height: 42px;
  }
  
  .header.fixed-header .logo {
    margin: 0 auto 0 0;
    max-height: 32px;
    width: auto;
  }
  
  .hamburger {
    display: flex;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
    margin: 3px 0;
  }
  
  .header-right {
    position: static;
    width: 0;
    overflow: visible;
  }
  
  .nav-bar {
    position: fixed;
    top: 42px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .nav-bar.open {
    max-height: 300px;
    padding: 16px 0;
    overflow-y: auto;
  }
  
  .nav-link {
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
    font-size: 18px;
    text-align: center;
  }
  
  .header.fixed-header .lang-switch {
    margin: 12px auto;
    width: calc(100% - 48px);
    box-sizing: border-box;
    text-align: center;
  }
  
  .hamburger span:nth-child(1), 
  .hamburger span:nth-child(3) {
    transition: all 0.3s ease;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .sections {
    height: auto;
    overflow: visible;
    padding-top: 42px;
    margin-top: 0;
  }
  
  .full-section {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-top: 0;
    height: auto;
    min-height: auto;
  }
  
  #about {
    padding-top: 10px;
  }
  
  .section-image.apple-rounded {
    width: calc(100% - 32px);
    height: 50vw;
    min-height: 120px;
    max-width: 100vw;
    margin: 16px;
    margin-top: 24px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .section-content {
    width: 100%;
    min-height: 120px;
    padding: 24px 8vw 32px 8vw;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
  }
}
