body {
  margin: 0;
  padding: 0;
  background: #f2f2f4;
  font-family: 'Merriweather', serif;
  min-width: 450px;
}
.container {
  width: 1100px;
  margin: 0 auto;
  background: #f2f2f4;
  /* box-shadow: 0 2px 16px rgba(0,0,0,0.04); */
  min-height: auto;
}
.logo-row {
  /* width: 100%; */
  text-align: left;
  padding: 15px 0;
  background: #f2f2f4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}
.logo {
  width: 200px;
  height: auto;
  margin: 0;
  display: inline-block;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.nav-link:hover {
  background-color: #e0e0e0;
}
.nav-link.active {
  border-width: 0 0 1px 0;
  border-color: #F38243;
  border-style: solid;
  color: #F38243;
  border-radius: 0;
  font-weight: 800;
}

.header {
  position: relative;
  width: 100vw;
  height: 260px;
  background: url('../img/top_background.jpg') center/auto no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: #F38243;
}
.header-content {
  position: relative;
  width: 1100px;
  text-align: center;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header-title {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.header-subtitle {
  font-size: clamp(20px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.contact {
  display: inline-block;
  background: #e60039;
  color: #fff;
  padding: 4px 10px 5px 10px;
  border-radius: 0;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  vertical-align: middle;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact:hover {
  background: #cc0033;
}
.email {
  background: rgba(255,255,255);
  color: #000;
  padding: 4px 10px 5px 10px;
  border-radius: 0;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  display: inline-block;
  margin-left: 0;
  vertical-align: middle;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.email:hover {
  background: rgba(240,240,240);
}
.capabilities-title {
  text-align: center;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 700;
  margin: 30px;
  letter-spacing: 1px;
  color: #000;
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* padding: 0 0 48px 0; */
}
.capability-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.capability-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.capability-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.capability-content {
  padding: 20px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.capability-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.capability-index {
  background: #222;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 3px;
  margin-right: 10px;
  letter-spacing: 1px;
}
.capability-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-character: "-";
}
.capability-desc > div:not(:last-child) {
  margin-bottom: 8px;
}
.intro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.company-section, .founder-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  padding: 0 0 30px 0;
}
.section-title {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
  color: #000;
  padding: 18px 18px 0 18px;
}
.content-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-character: "-";
  padding: 0 18px;
}
.section-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin-bottom: 0;
}

/* Payment Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: 'Merriweather', serif;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  background-color: #F38243;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close-success {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 20px 20px 20px 20px;
}

.product-info {
  border: 1px solid #F38243;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-label {
  font-weight: bold;
  font-size: 16px;
}

.product-price {
  font-weight: bold;
  font-size: 18px;
}

.email-section {
  margin-bottom: 25px;
}

.email-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.email-input {
  width: 100%;
  padding: 12px;
  border: 0px solid #F38243;
  background: #FEF9F6;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.email-input:focus {
  outline: none;
  border-color: #F38243;
  box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

.email-note {
  font-size: 12px;
  color: #F38243;
}

.paypal-button {
  width: 100%;
  background-color: #0070ba;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  transition: background-color 0.3s;
}

.paypal-button:hover {
  background-color: #005ea6;
}

/* Success Modal Styles */
.success-message {
  margin-bottom: 25px;
}

.success-text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.contact-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.4;
}

.contact-email {
  color: #F38243;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.return-home-button {
  width: 100%;
  background-color: #F38243;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  transition: background-color 0.3s;
}

.return-home-button:hover {
  background-color: #e6733a;
}

/* Membership Form Styles */
.form-header {
  background-color: #F38243;
  color: white;
  padding: 15px 20px;
  text-align: left;
  margin-bottom: 0;
}

.form-header h1 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.offer-section {
  background-color: #FAFAFF;
  padding: 10px 20px;
  margin: 0 20px 0 20px; /* 只保留左右下边距 */
  /* border-left: 4px solid #F38243; */
}

.offer-section h2 {
  color: #F38243;
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.offer-section p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #999999;
}

.offer-section h2 .offer-subtitle {
  font-size: 14px;
  color: #999999;
  font-weight: normal;
}

.offer-intro {
  font-size: 14px !important;
  color: #333 !important;
  margin-bottom: 15px !important;
}

.offer-section ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
}

.offer-section li {
  margin-bottom: 8px;
  color: #555;
}

.form-container {
  display: block;
  margin-bottom: 40px;
  background-color: white;
  padding: 20px 0 0 0;
}

.form-left {
  width: 100%;
}

.form-section {
  padding: 20px 20px 0 20px;
  margin-bottom: 0;
}

.form-section h3 {
  color: #F38243;
  font-size: 18px;
  font-weight: bold;
  margin: 0 20px 20px 0;
  border-bottom: 2px solid #F38243;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: normal;
  color: #333;
  font-size: 14px;
}

.form-group label .required-star {
  color: #F38243;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.form-group select {
  width: 100%;
  padding: 12px 35px 12px 12px;
  border: none;
  background-color: #FEF9F6;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

.select-wrapper .dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  transition: transform 0.3s;
  pointer-events: none;
}

.form-group select:invalid {
  color: #999999;
}

.form-group select option {
  color: #333;
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  background-color: white;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  min-height: 48px;
  box-sizing: border-box;
}

.form-group select option:hover {
  background-color: #F38243;
  color: white;
}

.form-group select option:checked {
  background-color: #F38243;
  color: white;
}

.form-group select option:last-child {
  border-bottom: none;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #FEF9F6;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
}

.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #FEF9F6;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
  resize: vertical;
  min-height: 80px;
  max-height: 240px;
  overflow-y: auto;
  transition: height 0.2s ease;
}

.form-group textarea:focus {
  outline: none;
  border: 1px solid #F38243;
  box-shadow: 0 0 5px rgba(243, 130, 67, 0.3);
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-family: 'Merriweather', serif;
}

.char-counter.warning {
  color: #F38243;
}

.char-counter.error {
  color: #e74c3c;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border: 1px solid #F38243;
  box-shadow: 0 0 5px rgba(243, 130, 67, 0.3);
}

.form-group input.valid {
  border: 1px solid #27ae60;
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.form-group input.invalid {
  border: 1px solid #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

/* Multiselect validation styles */
.custom-multiselect.valid .multiselect-trigger {
  border: 1px solid #27ae60;
  box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.custom-multiselect.invalid .multiselect-trigger {
  border: 1px solid #e74c3c;
  box-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

/* Checkbox validation styles removed - checkboxes don't need visual validation styling */

.form-group select[multiple] {
  height: 48px;
  padding: 12px;
  background-color: #FEF9F6;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-group select[multiple]:focus {
  outline: none;
  border: 1px solid #F38243;
  box-shadow: 0 0 5px rgba(243, 130, 67, 0.3);
  height: auto;
  min-height: 48px;
  max-height: 200px;
  overflow-y: auto;
}

/* When focused, show the options */
.form-group select[multiple]:focus option {
  padding: 8px 12px;
  background-color: #FEF9F6;
  display: block;
}

.form-group select[multiple] option {
  padding: 8px 12px;
  background-color: #FEF9F6;
  display: none;
}

.form-group select[multiple] option:checked {
  background-color: #F38243;
  color: white;
  display: block;
}

.year-input-group {
  display: flex;
  gap: 10px;
}

.year-input-group input {
  flex: 1;
}

.present-btn {
  background-color: #F38243;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  font-size: 14px;
  white-space: nowrap;
}

.present-btn:hover {
  background-color: #e55a2b;
}

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

.submit-btn {
  background-color: #F38243;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #e55a2b;
}

/* Checkbox Styles */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  position: relative;
  padding-left: 30px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s;
}

.checkbox-label:hover input ~ .checkmark {
  border-color: #F38243;
}

.checkbox-label input:checked ~ .checkmark {
  background-color: #F38243;
  border-color: #F38243;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

@media (max-width: 1200px) {
  .container { 
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .header-content {
    width: 100%;
    padding: 0 20px;
  }
}
@media (max-width: 850px) {
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 0px 0px 0px;
  }
  .header {
    height: auto;
    background: url('../img/top_background_mobile.jpg') center/cover no-repeat;
    height: 200px;
    padding: 40px 0;
  }
  .logo-row {
    padding: 16px 0;
  }
  .intro-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
}
@media (max-width: 600px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    /* padding: 0 0 24px 0; */
  }
  .container { 
    width: 100%;
    padding: 0 16px;
  }
  .header { 
    padding: 32px 0;
    background: url('../img/top_background_mobile.jpg') center/cover no-repeat;
    height: 180px;
  }
  .header-content {
    padding: 0;
  }
  .logo {
    width: 160px;
  }
  .capabilities-title {
    margin: 24px;
  }
  .capability-title {
    font-size: 16px;
    min-height: 40px;
  }
  .capability-desc {
    font-size: 14px;
  }
  .logo-row {
    padding: 16px 0;
  }
  .company-section, .founder-section {
    margin-top: 20px;
    padding: 0 0 16px 0;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 12px;
    padding: 16px 16px 0 16px;
  }
  .content-text {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 16px;
  }
  .intro-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .company-section, .founder-section {
    margin-top: 0px;
  }
}
/* Yearbook Page Styles */
.yearbook-container {
  display: flex;
  gap: 20px;
}

.yearbook-left-column {
  width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yearbook-main {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 30px;
}

.yearbook-right-column {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yearbook-sidebar {
  width: 100%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px;
  height: fit-content;
}

.yearbook-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.yearbook-description {
  margin-bottom: 30px;
}

.yearbook-description p {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.yearbook-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yearbook-features li {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  padding-left: 0;
}

.yearbook-cover {
  text-align: center;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
}

.cover-placeholder {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 40px 20px;
  margin: 0 auto;
  max-width: 300px;
  border: 2px dashed #ddd;
}

.cover-title-chinese {
  font-size: 20px;
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 10px;
}

.cover-title-english {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.cover-year {
  font-size: 48px;
  font-weight: 300;
  color: #999;
}

.pricing-section {
  margin-bottom: 30px;
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pricing-box {
  border: 1px solid #999999;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
}

.pricing-box .pricing-label,
.pricing-box .pricing-amount {
  color: #999999;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.pricing-label {
  font-size: 20px;
}

.pricing-amount {
  font-size: 32px;
  font-weight: 700;
}

.pricing-box.active {
  background-color: #FEF9F5;
  font-weight: 1000;
  border-color: #F38243;

}


.pricing-box.active .pricing-label,
.pricing-box.active .pricing-amount {
  color: #F38243 !important;
}

.pricing-note {
  font-size: 14px;
  color: #666;
}

.survey-link {
  color: #F38243;
  text-decoration: none;
}

.survey-link:hover {
  text-decoration: underline;
}

.action-buttons {
  height: 50px;
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-buy-now {
  background: #F38243;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Merriweather', serif;
  cursor: pointer;
  transition: background-color 0.2s;
  flex: 1;
}

.btn-buy-now:hover {
  background: #F38243;
}

.btn-download-sample {
  background: white;
  color: #F38243;
  border: 1px solid #F38243;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Merriweather', serif;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.btn-download-sample:hover {
  background: #F38243;
  color: white;
}

.tab-container {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px 30px;
  margin-top: 0;
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  background: transparent;
}

.tab-header {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-header.active {
  color: #F38243;
  border-bottom-color: #F38243;
  font-size: 18px;
  font-weight: 600;
}

.tab-header:hover {
  color: #333;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 20px 0 10px 0;
}

.tab-panel h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 15px 0 8px 0;
}

.tab-panel p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tab-panel ul {
  margin-bottom: 15px;
}

.tab-panel li {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 8px;
}

.sidebar-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar-label {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.sidebar-unit {
  font-size: 16px;
  font-weight: 400;
  color: #666;
}

.sidebar-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

.contact-link {
  color: #F38243;
  text-decoration: none;
}

.contact-outside {
  line-height: 1.4;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-item {
  border-bottom: none !important;
}

.contact-label {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.contact-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* @media (max-width: 1200px) {
  .yearbook-container {
    flex-direction: column;
  }
  
  .yearbook-left-column {
    width: 100%;
  }
  
  .yearbook-right-column {
    width: 100%;
  }
} */

@media (max-width: 850px) {
  .yearbook-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .yearbook-left-column {
    width: 100%;
    gap: 15px;
  }
  
  .yearbook-right-column {
    width: 100%;
    gap: 15px;
  }
  
  .yearbook-main {
    padding: 20px;
  }
  
  .yearbook-title {
    font-size: 24px;
  }
  
  .yearbook-description p {
    font-size: 16px;
  }
  
  .yearbook-features li {
    font-size: 14px;
  }
  
  .pricing-amount {
    font-size: 28px;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
  }
  
  .btn-buy-now, .btn-download-sample {
    width: 100%;
    text-align: center;
  }
  
  .tab-container {
    padding: 20px;
  }
  
  .tab-header {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .tab-panel h3 {
    font-size: 18px;
  }
  
  .tab-panel h4 {
    font-size: 16px;
  }
  
  .tab-panel p, .tab-panel li {
    font-size: 14px;
  }
  
  .sidebar-label {
    font-size: 20px;
  }
  
  .sidebar-desc {
    font-size: 14px;
  }
  
  .yearbook-main {
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  
  .yearbook-sidebar {
    padding: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  
  .contact-outside {
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  body {
    min-width: auto;
    overflow-x: hidden;
  }
  .container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('../img/top_background_mobile.jpg') center/cover no-repeat;
    height: 160px;
  }
  .header-content {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .capabilities-title {
    margin: 16px;
  }
  .capabilities-grid {
    padding: 0 0 24px 0;
  }
  .company-section, .founder-section {
    margin-top: 16px;
    padding: 0 0 12px 0;
  }
  .section-title {
    font-size: 18px;
    margin-bottom: 10px;
    padding: 12px 12px 0 12px;
  }
  .content-text {
    font-size: 13px;
    line-height: 1.4;
    padding: 0 12px;
  }
  .intro-container {
    gap: 16px;
    margin-top: 16px;
  }
  .company-section, .founder-section {
    margin-top: 16px;
    /* padding: 12px; */
  }
  
  /* Mobile yearbook styles */
  .yearbook-container {
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  .yearbook-left-column {
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
  .yearbook-right-column {
    gap: 12px;
  }
  
  .yearbook-main {
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  
  .yearbook-title {
    font-size: 20px;
  }
  
  .yearbook-description p {
    font-size: 14px;
  }
  
  .yearbook-features li {
    font-size: 13px;
  }
  
  .yearbook-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  
  .pricing-amount {
    font-size: 24px;
  }
  
  .pricing-label {
    font-size: 16px;
  }
  
  .action-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    height: auto !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .btn-buy-now, .btn-download-sample {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .tab-container {
    padding: 16px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .tab-header {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .tab-panel h3 {
    font-size: 16px;
  }
  
  .tab-panel h4 {
    font-size: 14px;
  }
  
  .tab-panel p, .tab-panel li {
    font-size: 13px;
  }
  
  .sidebar-label {
    font-size: 18px;
  }
  
  .sidebar-desc {
    font-size: 12px;
  }
  
  .yearbook-sidebar {
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  
  .yearbook-right-column {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .contact-outside {
    margin-top: 12px;
  }
  
  .contact-label {
    font-size: 16px;
  }
  
  .contact-desc {
    font-size: 12px;
  }
  
  .logo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .main-nav {
    flex-direction: row;
    gap: 15px;
    align-self: center;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 8px;
  }

  /* Modal responsive styles */
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .product-info {
    padding: 12px;
    margin-bottom: 20px;
  }

  .product-label {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
  }

  .email-input {
    padding: 10px;
    font-size: 13px;
  }

  .paypal-button {
    padding: 12px;
    font-size: 14px;
  }

  /* Success modal responsive styles */
  .success-text {
    font-size: 14px;
    margin-bottom: 12px;
  }

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

  .return-home-button {
    padding: 12px;
    font-size: 14px;
  }

  /* Form responsive styles */
  .form-container {
    display: block;
    gap: 20px;
  }

  .form-header h1 {
    font-size: 20px;
  }

  .offer-section {
    padding: 15px;
  }

  .offer-section h2 {
    font-size: 18px;
  }

  .form-section {
    padding: 20px 20px 0 20px;
  }

  .form-section h3 {
    font-size: 16px;
  }

  .form-group input,
  .form-group select {
    padding: 10px;
    font-size: 13px;
  }

  .year-input-group {
    flex-direction: column;
    gap: 8px;
  }

  .present-btn {
    padding: 10px 15px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .checkbox-label {
    font-size: 13px;
    padding-left: 25px;
  }

  .checkmark {
    height: 16px;
    width: 16px;
  }
}

/* Custom Multiselect Styles */
.custom-multiselect {
  position: relative;
  width: 100%;
}

.multiselect-trigger {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #FEF9F6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: border-color 0.3s;
  color: #999999;
  min-height: 48px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.multiselect-trigger:hover {
  border: 1px solid #F38243;
}

.multiselect-trigger:focus {
  outline: none;
  border: 1px solid #F38243;
  box-shadow: 0 0 5px rgba(243, 130, 67, 0.3);
}

.multiselect-trigger .selected-text {
  flex: 1;
  text-align: left;
  line-height: 1.4;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 2.8em; /* 大约2行的高度 */
  overflow: hidden;
}

.dropdown-arrow {
  font-size: 12px;
  color: #666;
  transition: transform 0.3s;
}

.custom-multiselect.active .dropdown-arrow {
  transform: rotate(180deg);
}

.multiselect-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  margin-top: 1px;
}

.custom-multiselect.active .multiselect-dropdown {
  display: block;
}

.multiselect-option .option-title {
  color: #333;
  font-weight: normal;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.multiselect-option .option-desc {
  color: #999999;
  font-weight: normal;
  font-size: 12px;
  margin-top: 2px;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.multiselect-option {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  position: relative;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.multiselect-option:hover {
  background-color: #f8f9fa;
}

.multiselect-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.multiselect-option.disabled .checkmark {
  opacity: 0.3;
}

.multiselect-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.multiselect-option .checkmark {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin-right: 12px;
  transition: all 0.3s;
}

.multiselect-option:hover .checkmark {
  border-color: #F38243;
}

.multiselect-option input:checked ~ .checkmark {
  background-color: #F38243;
  border-color: #F38243;
}

.multiselect-option .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Benefits Section */
.benefits-section {
  padding: 0 20px 0 20px;
  background-color: #f8f9fa;
  margin: 0 20px 20px 20px;
}

.benefits-section h3 {
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  padding: 20px 20px 10px 0;
  text-align: left;
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.benefit-item {
  margin-bottom: 10px;
}

.benefit-item h4 {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.benefit-item p {
  color: #666;
  font-size: 12px;
  margin: 0;
}

/* Acknowledgement and Payment Sections */
.acknowledgement-section,
.payment-section {
  color: #666 !important;
  padding: 0px 25px;
  margin: 0px 0;
}

.acknowledgement-section h3,
.payment-section h3 {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-group .checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.checkbox-group .checkbox-label .required-star {
  margin-right: 4px;
  margin-top: 2px;
}

/* Submit Button */
.submit-btn {
  width: calc(100% - 40px);
  background-color: #F38243;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Merriweather', serif;
  transition: background-color 0.3s;
  margin: 20px 20px 0 20px;
}

.submit-btn:hover {
  background-color: #e6733a;
}

.multiselect-option input:checked ~ .checkmark:after {
  display: block;
}

.multiselect-option:last-child {
  border-bottom: none;
}

/* Payment terms styles */
.payment-terms {
  margin: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.payment-terms h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

.terms-section {
  margin-bottom: 10px;
  text-align: left;
}

.terms-section strong {
  color: #333;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

.terms-section ul {
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.terms-section li {
  margin-bottom: 5px;
  color: #666;
  text-align: left;
}

.terms-section ul ul {
  margin-top: 5px;
  padding-left: 15px;
}

.company-info {
  padding: 0 20px 20px 20px;
  font-size: 14px;
  text-align: left;
}

.company-info p {
  margin: 5px 0;
  color: #666;
}

.company-info strong {
  color: #333;
}

.contact-email {
  color: #F38243;
  font-weight: bold;
}