@import url('../css/shared.css');
.main-content {
  padding: 40px 0;
  background-color: #fff;
}
.content-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.sidebar {
  width: 280px;
  flex-shrink: 0;
}
.search-section {
  margin-bottom: 32px;
}
.search-container {
  position: relative;
}
.search-input {
  width: 100%;
  padding: 12px 45px 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}
.search-input:focus {
  outline: none;
  border-color: #007bff;
}
.search-input::placeholder {
  color: #999;
}
.search-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.search-button img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.search-button:hover img {
  opacity: 1;
}
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}
.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-results {
  max-height: 200px;
  overflow-y: auto;
}
.search-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
  transition: background-color 0.3s ease;
}
.search-item:hover {
  background-color: #f8f9fa;
}
.search-item:last-child {
  border-bottom: none;
}
.continents-accordion .continent-group {
  border-bottom: 1px solid #eee;
}
.continents-accordion .continent-group:last-child {
  border-bottom: none;
}
.continent-toggle {
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #03256C;
  transition: color 0.3s ease;
}
.continent-toggle:hover {
  color: #1a4fff;
}
.continent-toggle.active {
  color: #1a4fff;
}
.continent-name {
  font-weight: 500;
}
.toggle-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}
.continent-toggle.active .toggle-icon {
  transform: rotate(180deg);
}
.continent-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.continent-content.active {
  max-height: 300px;
}
.country-list {
  padding-bottom: 16px;
}
.country-item {
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  border-left: 3px solid transparent;
  padding-left: 12px;
}
.country-item:hover {
  color: #007bff;
  border-left-color: #007bff;
}
.country-item.selected {
  color: #007bff;
  font-weight: 500;
  border-left-color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}
.main-section {
  flex: 1;
}
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.service-card {
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #979797;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
}
.service-card:hover {
  background: #F7F8F9;
  border: 1px solid #353CF6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .service-card {
    flex-direction: column;
  }
}
.card-image {
  border-radius: 8px;
  aspect-ratio: 314 / 176;
  width: 314px;
  flex-shrink: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .card-image {
    width: 100%;
    height: 100px;
  }
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #03256C;
  margin: 0;
  line-height: 1.3;
}
.card-description {
  font-size: 15px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 20px 0;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
@media (max-width: 480px) {
  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.card-meta {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-label {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.meta-label::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #374151;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}
.meta-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  background: transparent;
  color: #353CF6;
  padding: 0;
  border-radius: 0;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.tag:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #353CF6;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}
.meta-value {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  color: #2563EB;
  font-weight: 500;
}
.view-button {
  background: #353CF6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.view-button:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .view-button {
    align-self: flex-end;
  }
}
.service-footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}
.see-more-button {
  background: transparent;
  color: #353CF6;
  border: none;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.see-more-button:hover {
  color: #1D4ED8;
}
.see-more-button:hover .arrow {
  transform: translateX(4px);
}
.see-more-button .arrow {
  transition: transform 0.3s ease;
}
@media (max-width: 1024px) {
  .content-layout {
    flex-direction: column;
    gap: 32px;
  }
  .sidebar {
    width: 100%;
  }
  .service-card {
    flex-direction: column;
  }
  .card-image {
    width: 100%;
    height: 200px;
  }
}
@media (max-width: 767px) {
  .main-content {
    padding: 24px 0;
  }
  .content-layout {
    gap: 24px;
  }
  .service-card {
    margin: 0 -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .card-content {
    padding: 20px 16px;
  }
  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .view-button {
    width: 100%;
    text-align: center;
  }
  .search-input {
    padding: 14px 45px 14px 16px;
  }
  .continent-toggle {
    padding: 18px 0;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .card-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .card-icon {
    align-self: flex-start;
  }
  .card-title {
    font-size: 16px;
  }
  .meta-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .meta-label {
    min-width: auto;
  }
}
