/* =====================================================
   About Page - IT/DX Stylish Design
   ===================================================== */

/* Page Hero */
.page-hero {
  position: relative;
  height: 400px;
  margin-top: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #005ca2 0%, #0077cc 50%, #3498db 100%);
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(242, 150, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-hero-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 15px;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.page-hero-text {
  font-size: 18px;
  opacity: 0.8;
}

/* Floating particles */
.page-hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-hero-particles span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.page-hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.page-hero-particles span:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; width: 6px; height: 6px; }
.page-hero-particles span:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; width: 8px; height: 8px; }
.page-hero-particles span:nth-child(4) { top: 70%; left: 80%; animation-delay: 3s; }
.page-hero-particles span:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; width: 5px; height: 5px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-50);
  padding: 15px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  color: var(--gray-300);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Message Section */
/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for message section */
.message-content .section-label.fade-up { transition-delay: 0s; }
.message-content .section-title.fade-up { transition-delay: 0.15s; }
.message-content .message-lead.fade-up { transition-delay: 0.3s; }
.message-content .message-text.fade-up { transition-delay: 0.45s; }
.message-content .message-sign.fade-up { transition-delay: 0.6s; }
.message-visual.fade-up { transition-delay: 0.3s; }

.about-message {
  padding: 100px 0;
  background: #fff;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.message-lead {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin: 30px 0;
}

.message-text p {
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 20px;
}

.message-sign {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sign-title {
  font-size: 14px;
  color: var(--text-muted);
}

.sign-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.message-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-visual img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* Philosophy Section */
.about-philosophy {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.about-philosophy .section-label {
  color: var(--primary);
}

.about-philosophy .section-title {
  color: var(--text);
}

.philosophy-main {
  text-align: center;
  margin: 50px 0 60px;
}

.philosophy-quote {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.6;
  position: relative;
  display: inline-block;
}

.philosophy-quote::before,
.philosophy-quote::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.philosophy-quote::before {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.philosophy-quote::after {
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.philosophy-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  color: var(--text);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  box-shadow: var(--shadow);
}

.philosophy-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-card:nth-child(1) { transition-delay: 0.1s; }
.philosophy-card:nth-child(2) { transition-delay: 0.2s; }
.philosophy-card:nth-child(3) { transition-delay: 0.3s; }

.philosophy-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.philosophy-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

.philosophy-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text);
}

.philosophy-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

/* Company Info Section */
.about-info {
  padding: 100px 0;
  background: #fff;
}

.info-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: #fafbfc;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th,
.info-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 200px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.info-table th i {
  color: var(--primary);
  margin-right: 10px;
  width: 20px;
}

.info-table td {
  color: var(--text-light);
  line-height: 1.8;
}

.info-table .sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 5px;
}

.office-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.office-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.office-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

/* Partners Section */
.about-partners {
  padding: 80px 0;
  background: var(--gray-50);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.partner-item {
  background: #fff;
  padding: 20px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.partner-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-item:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* History Section */
.about-history {
  padding: 100px 0;
  background: #fff;
}

.timeline {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-year {
  width: 80px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  padding-left: 40px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-event {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.event-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  min-width: 40px;
}

.event-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.event-text strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 5px;
}

/* Group Companies Section */
.about-group {
  padding: 100px 0;
  background: var(--gray-50);
}

.group-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.group-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 50px 45px;
  margin-bottom: 35px;
  box-shadow: 0px 22px 60px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 200px;
}

.group-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.group-card:nth-child(1) { transition-delay: 0.1s; }
.group-card:nth-child(2) { transition-delay: 0.2s; }
.group-card:nth-child(3) { transition-delay: 0.3s; }
.group-card:nth-child(4) { transition-delay: 0.4s; }

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 30px 70px rgba(0, 0, 0, 0.1);
}

.group-card-header {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-logo {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.group-card-content {
  flex: 1;
  text-align: left;
}

.group-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.5;
}

.group-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
}

.group-card-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.group-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.group-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.group-btn:hover i {
  transform: translateX(4px);
}

.group-btn-primary {
  background: var(--primary);
  color: #fff;
}

.group-btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 92, 162, 0.3);
}

.group-btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.group-btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* CTA Section */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #f5a623 100%);
}

.cta-content {
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
}

/* =====================================================
   Solution Page Styles
   ===================================================== */

/* Solution Intro */
.solution-intro {
  padding: 80px 0 60px;
  background: #fff;
}

.solution-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.solution-intro-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--text);
}

/* Solution List - Full Width Block Layout */
.solution-list {
  padding: 0;
  background: #fff;
}

.solution-block {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 600px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.solution-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-block:nth-child(odd) {
  background: #fff;
}

.solution-block:nth-child(even) {
  background: var(--gray-50);
}

.solution-block-text {
  flex: 1;
  padding: 80px;
  padding-left: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.solution-block-image {
  flex: 1;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.solution-block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reverse layout */
.solution-block.reverse {
  flex-direction: row-reverse;
}

.solution-block.reverse .solution-block-text {
  padding-left: 80px;
  padding-right: 10%;
}

/* Text content styles */
.solution-block-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.solution-block-en {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.solution-block-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 20px;
}

.solution-block-catch {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.solution-block-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2.2;
  margin-bottom: 30px;
  text-align: justify;
  letter-spacing: 0.5px;
}

.solution-block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.solution-block-tags span {
  display: inline-block;
  padding: 8px 18px;
  background: var(--gray-100);
  border-radius: 25px;
  font-size: 13px;
  color: var(--text);
}

.solution-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.solution-block-btn i {
  transition: transform 0.3s ease;
}

.solution-block-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 92, 162, 0.3);
}

.solution-block-btn:hover i {
  transform: translateX(5px);
}

/* Why Choose Us */
.solution-why {
  padding: 100px 0;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }

.why-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

/* Solution CTA */
.solution-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0077cc 100%);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

/* =====================================================
   Contact Page Styles
   ===================================================== */

.contact-section {
  padding: 80px 0 100px;
  background: #fff;
}

.contact-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}

.contact-form-wrapper {
  max-width: 900px;
  margin: 0 auto 80px;
  background: var(--gray-50);
  padding: 60px 80px;
  border-radius: 16px;
}

/* Sophia Form Styles */
.sophia-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.soph-field,
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soph-field label,
.form-field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.soph-field .soph-required-mark,
.soph-field .required-mark,
.form-field .required-mark {
  color: #e53935;
  margin-left: 5px;
}

.soph-field input[type="text"],
.soph-field input[type="tel"],
.soph-field input[type="email"],
.soph-field input[type="url"],
.soph-field input[type="number"],
.soph-field input[type="date"],
.soph-field textarea,
.soph-field select {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.soph-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 45px;
  cursor: pointer;
}

.soph-field input:focus,
.soph-field textarea:focus,
.soph-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 92, 162, 0.1);
}

.soph-field input::placeholder,
.soph-field textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.soph-field textarea {
  min-height: 200px;
  resize: vertical;
}

/* Radio & Checkbox Group */
.soph-field .radio-group,
.soph-field .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.soph-field .radio-item,
.soph-field .checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.soph-field .radio-item:hover,
.soph-field .checkbox-item:hover {
  background-color: rgba(0, 102, 204, 0.06);
}

.soph-field .radio-item input,
.soph-field .checkbox-item input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

/* File Input */
.soph-file-input {
  position: relative;
}

.soph-file-input input[type="file"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  border: 2px dashed var(--gray-300);
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.soph-file-input input[type="file"]:hover {
  border-color: var(--primary);
  background: #f0f7ff;
}

.soph-file-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

/* Hidden Field */
.soph-field-hidden {
  display: none;
}

/* Privacy Agree Field */
.soph-field-privacy-agree {
  margin-top: 10px;
}

.soph-field-privacy-agree.has-error {
  padding: 15px;
  background: #fff5f5;
  border-radius: 8px;
  border: 1px solid #ffcccc;
}

.soph-field-privacy-agree .soph-form-error {
  margin-top: 10px;
  margin-bottom: 0;
}

.soph-form-actions {
  margin-top: 20px;
  text-align: center;
}

.soph-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 18px 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.soph-form-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0, 92, 162, 0.3);
  transform: translateY(-2px);
}

.soph-form-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #666;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.soph-form-back:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.soph-form-error {
  background: #fff5f5;
  border: 1px solid #ffcccc;
  color: #cc0000;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
}

/* Confirm Page */
.soph-form-confirm {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.soph-confirm-list {
  margin: 0;
  padding: 0;
}

.soph-confirm-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.soph-confirm-row:first-child {
  padding-top: 0;
}

.soph-confirm-row:last-child {
  border-bottom: none;
}

.soph-confirm-label {
  flex-shrink: 0;
  width: 180px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.soph-confirm-value {
  flex: 1;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}

.soph-confirm-value:empty::before {
  content: '-';
  color: #aaa;
}

.soph-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* Complete Page */
.soph-form-complete {
  background: #fff;
  border-radius: 12px;
  padding: 60px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.soph-complete-message {
  font-size: 16px;
  color: #555;
  line-height: 2;
}

.soph-complete-message h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
}

/* Confirm/Complete Responsive */
@media (max-width: 768px) {
  .soph-form-confirm,
  .soph-form-complete {
    padding: 30px 20px;
  }

  .soph-confirm-row {
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
  }

  .soph-confirm-label {
    width: 100%;
  }

  .soph-confirm-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .soph-form-submit,
  .soph-form-back {
    width: 100%;
    min-width: auto;
  }

  .soph-form-complete {
    padding: 40px 20px;
  }

  .soph-complete-message h2 {
    font-size: 20px;
  }
}

/* Privacy Box */
.soph-field-privacy {
  margin-top: 10px;
}

.soph-privacy-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.soph-privacy-link-inline {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.soph-privacy-link-inline:hover {
  text-decoration: underline;
}

.soph-privacy-link-inline i {
  font-size: 11px;
}

.soph-privacy-box {
  max-height: 250px;
  overflow-y: auto;
  padding: 25px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-light);
}

.soph-privacy-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.soph-privacy-box h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

.soph-privacy-box p {
  margin-bottom: 10px;
}

/* Checkbox Field */
.soph-field-checkbox {
  margin-top: 10px;
}

.soph-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  padding: 14px 14px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.soph-checkbox-label:hover {
  background-color: rgba(0, 102, 204, 0.06);
}

.soph-checkbox-label input[type="checkbox"] {
  display: none;
}

.soph-checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: all 0.2s ease;
}

.soph-checkbox-label input[type="checkbox"]:checked + .soph-checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.soph-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.soph-checkbox-label input[type="checkbox"]:checked + .soph-checkbox-custom::after {
  opacity: 1;
}

.soph-checkbox-text a {
  color: var(--primary);
  text-decoration: underline;
}

.soph-checkbox-text a:hover {
  text-decoration: none;
}

.soph-checkbox-text .required-mark {
  color: #e53935;
  margin-left: 3px;
}

/* Form Complete Message */
.soph-form-complete {
  text-align: center;
}

.complete-message {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.8;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background: var(--gray-50);
  border-radius: 12px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
}

.contact-info-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-info-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-tel {
  font-size: 28px !important;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 5px;
}

.contact-time {
  font-size: 13px !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .page-hero {
    height: 300px;
    margin-top: 65px;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .message-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .message-visual {
    order: -1;
  }

  .message-lead {
    font-size: 22px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-quote {
    font-size: 24px;
  }

  .info-table-wrapper {
    padding: 20px;
  }

  .info-table th,
  .info-table td {
    display: block;
    padding: 10px 15px;
  }

  .info-table th {
    width: 100%;
    background: var(--gray-100);
    border-radius: 6px 6px 0 0;
  }

  .info-table td {
    border-radius: 0 0 6px 6px;
    margin-bottom: 10px;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 10px;
    padding-left: 50px;
  }

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

  .timeline-content {
    padding-left: 0;
  }

  .timeline-content::before {
    left: -42px;
  }

  .group-card {
    flex-direction: column;
    text-align: center;
    padding: 35px 30px;
    gap: 25px;
  }

  .group-card-header {
    width: 100%;
  }

  .group-card-content {
    text-align: center;
  }

  .group-card h3 {
    font-size: 18px;
  }

  .group-card p {
    font-size: 14px;
  }

  .group-card-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .group-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Solution Page Responsive */
  .solution-intro {
    padding: 60px 0 40px;
  }

  .solution-intro-text {
    font-size: 14px;
    line-height: 2;
  }

  .solution-block {
    flex-direction: column;
    min-height: auto;
  }

  .solution-block.reverse {
    flex-direction: column;
  }

  .solution-block-text {
    padding: 50px 20px;
    order: 2;
  }

  .solution-block.reverse .solution-block-text {
    padding: 50px 20px;
  }

  .solution-block-image {
    min-height: 300px;
    order: 1;
  }

  .solution-block-image img {
    min-height: 300px;
  }

  .solution-block-title {
    font-size: 24px;
  }

  .solution-block-catch {
    font-size: 16px;
  }

  .solution-block-desc {
    font-size: 14px;
  }

  .solution-block-btn {
    width: 100%;
    justify-content: center;
  }

  .solution-why {
    padding: 60px 0;
  }

  .why-card {
    padding: 30px 20px;
  }

  .why-number {
    font-size: 36px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Contact Page Responsive */
  .contact-section {
    padding: 60px 0 80px;
  }

  .contact-intro {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
    margin-bottom: 50px;
  }

  .sophia-form {
    gap: 25px;
  }

  .soph-form-submit {
    width: 100%;
    min-width: auto;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-item {
    padding: 25px 20px;
  }

  .contact-tel {
    font-size: 24px !important;
  }
}

/* =====================================================
   News Page Styles
   ===================================================== */

   .news-page {
    padding: 60px 0 100px;
    background: #fff;
  }
  
  /* Category Navigation */
  .news-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    /* border-bottom: 1px solid var(--gray-200); */
  }
  
  .category-link {
    display: inline-block;
    min-width: 140px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--gray-100);
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .category-link:hover {
    color: var(--primary);
    background: var(--gray-200);
  }
  
  .category-link.active {
    color: #fff;
    background: var(--secondary);
  }
  
  /* News List Wrapper */
  .news-list-wrapper {
    margin-bottom: 50px;
  }
  
  .news-page .news-list {
    border-top: none;
    min-height: auto;
  }
  
  .news-page .news-item {
    border-bottom: 1px solid var(--gray-200);
  }
  
  .news-page .news-item:first-child {
    border-top: 1px solid var(--gray-200);
  }
  
  .news-page .news-item a {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 22px 15px;
    transition: all 0.3s ease;
  }
  
  .news-page .news-item a:hover {
    background: var(--gray-50);
    padding-left: 25px;
  }
  
  .news-page .news-item a:hover .title {
    color: var(--secondary);
  }
  
  .news-page .news-item time {
    font-size: 14px;
    color: var(--text-muted);
    min-width: 130px;
    white-space: nowrap;
  }
  
  .news-page .news-item .badge {
    min-width: 120px;
  }
  
  .news-page .news-item .title {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  /* Pagination */
  .soph-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }

  .soph-pagination__list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .soph-pagination__item a,
  .soph-pagination__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--gray-100);
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .soph-pagination__item a:hover {
    background: var(--gray-200);
    color: var(--text);
  }

  .soph-pagination__item--current span {
    background: var(--secondary);
    color: #fff;
  }

  .soph-pagination__item--prev a,
  .soph-pagination__item--prev span,
  .soph-pagination__item--next a,
  .soph-pagination__item--next span {
    width: auto;
    padding: 0 20px;
    border-radius: 50px;
  }

  .soph-pagination__item--prev a:hover,
  .soph-pagination__item--next a:hover {
    background: var(--secondary);
    color: #fff;
  }

  .soph-pagination__item--disabled span {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .news-page {
      padding: 40px 0 60px;
    }
  
    .news-category-nav {
      gap: 8px;
      margin-bottom: 30px;
    }
  
    .category-link {
      padding: 8px 16px;
      font-size: 13px;
    }
  
    .news-page .news-item a {
      flex-wrap: wrap;
      gap: 10px;
      padding: 18px 10px;
    }
  
    .news-page .news-item a:hover {
      padding-left: 15px;
    }
  
    .news-page .news-item time {
      min-width: auto;
      width: auto;
    }
  
    .news-page .news-item .badge {
      min-width: auto;
    }
  
    .news-page .news-item .title {
      width: 100%;
      flex: none;
      font-size: 14px;
    }
  
    .soph-pagination__list {
      gap: 5px;
    }

    .soph-pagination__item a,
    .soph-pagination__item span {
      min-width: 38px;
      height: 38px;
      padding: 0 12px;
      font-size: 13px;
    }

    .soph-pagination__item--prev a,
    .soph-pagination__item--prev span,
    .soph-pagination__item--next a,
    .soph-pagination__item--next span {
      padding: 0 14px;
    }
  }

/* =====================================================
   News Detail Page
   ===================================================== */

.page-hero--small {
  height: 300px;
}

.page-hero--small .page-hero-title {
  font-size: 36px;
}

.news-detail {
  padding: 60px 0 100px;
  background: #fff;
}

.news-detail-inner {
  max-width: 900px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.news-detail-meta time {
  font-size: 14px;
  color: var(--text-muted);
}

.news-detail-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.news-detail-thumbnail {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-detail-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-content {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}

.news-detail-content p {
  margin-bottom: 1.5em;
}

.news-detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 2em 0 1em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.news-detail-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.5em 0 0.8em;
  padding-left: 15px;
  border-left: 4px solid var(--secondary);
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 1em 0 1.5em 1.5em;
}

.news-detail-content li {
  margin-bottom: 0.5em;
  list-style: disc;
}

.news-detail-content ol li {
  list-style: decimal;
}

.news-detail-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

.news-detail-share {
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-detail-share span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.share-btn--facebook {
  background: #1877f2;
}

.share-btn--twitter {
  background: #1da1f2;
}

.share-btn--line {
  background: #00b900;
}

.news-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

.news-detail-nav-link {
  flex: 1;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.news-detail-nav-link:hover {
  background: var(--gray-100);
}

.news-detail-nav-link--next {
  text-align: right;
}

.news-detail-nav-link .nav-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-detail-nav-link .nav-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.news-detail-back {
  margin-top: 50px;
  text-align: center;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  background: transparent;
  border: 2px solid var(--secondary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn--outline:hover {
  color: #fff;
  background: var(--secondary);
}

/* News Detail Responsive */
@media (max-width: 768px) {
  .page-hero--small {
    height: 220px;
  }

  .page-hero--small .page-hero-title {
    font-size: 28px;
  }

  .news-detail {
    padding: 40px 0 60px;
  }

  .news-detail-title {
    font-size: 22px;
  }

  .news-detail-content {
    font-size: 15px;
  }

  .news-detail-content h2 {
    font-size: 19px;
  }

  .news-detail-content h3 {
    font-size: 17px;
  }

  .news-detail-nav {
    flex-direction: column;
  }

  .news-detail-nav-link--next {
    text-align: left;
  }

  .news-detail-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* =====================================================
   Password Protection Page
   ===================================================== */

.soph-password-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
}

.soph-password-container {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 50px 40px;
  text-align: center;
}

.soph-password-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.soph-password-icon i {
  font-size: 28px;
  color: #fff;
}

.soph-password-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.soph-password-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.soph-password-form {
  text-align: left;
}

.soph-password-field {
  margin-bottom: 20px;
}

.soph-password-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.soph-password-field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.soph-password-field input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.soph-password-field input::placeholder {
  color: #aaa;
}

.soph-password-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}

.soph-password-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.soph-password-submit:active {
  transform: translateY(0);
}

.soph-password-error {
  background: #fff5f5;
  border: 1px solid #ffcccc;
  color: #cc0000;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.soph-password-error.show {
  display: block;
}

.soph-password-back {
  margin-top: 25px;
}

.soph-password-back a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.soph-password-back a:hover {
  color: #0066cc;
}

.soph-password-back a i {
  margin-right: 6px;
}

/* Password Page Responsive */
@media (max-width: 480px) {
  .soph-password-container {
    padding: 40px 25px;
  }

  .soph-password-title {
    font-size: 20px;
  }
}
  