#portfolio-filter {
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-filter .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-filter .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-filter .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .header-desc {
    line-height: 1.7;
  }
}
#portfolio-filter .project-nav {
  padding: 8px;
  margin-inline: auto;
  margin-bottom: 30px;
  max-width: 1100px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: rgba(55, 78, 162, 0.025);
}
@media screen and (max-width: 768px) {
  #portfolio-filter .project-nav {
    margin-bottom: 24px;
    padding: 7px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .project-nav {
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
  }
}
#portfolio-filter .project-list {
  flex-wrap: wrap;
}
#portfolio-filter .project-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#portfolio-filter .project-list {
  gap: 6px;
}
@media screen and (max-width: 640px) {
  #portfolio-filter .project-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .project-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}
#portfolio-filter .project-item a {
  display: block;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #515152;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .project-item a {
    padding: 10px 15px;
    font-size: 14px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .project-item a {
    padding: 9px 13px;
    font-size: 13px;
    white-space: nowrap;
  }
}
#portfolio-filter .project-item a:hover {
  color: #374ea2;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#portfolio-filter .project-item a[aria-current=page] {
  color: #fff;
  font-weight: 600;
  background: #374ea2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
#portfolio-filter .portfolio-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
@media screen and (max-width: 1280px) {
  #portfolio-filter .portfolio-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}
@media screen and (max-width: 1024px) {
  #portfolio-filter .portfolio-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
#portfolio-filter .portfolio-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 1024px) {
  #portfolio-filter .portfolio-item {
    min-width: 0;
  }
}
#portfolio-filter .portfolio-item:hover {
  transform: translateY(-4px);
  border-color: #adb8d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#portfolio-filter .portfolio-item:hover .portfolio-image img {
  transform: scale(1.04);
}
#portfolio-filter .portfolio-item:hover .portfolio-title a {
  color: #374ea2;
}
#portfolio-filter .portfolio-image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16/10;
  background: #e5e7eb;
}
#portfolio-filter .portfolio-image a {
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio-filter .portfolio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#portfolio-filter .portfolio-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-content {
    padding: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-content {
    padding: 17px;
  }
}
#portfolio-filter .portfolio-type {
  align-self: flex-start;
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #da2128;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-type {
    margin-bottom: 9px;
    font-size: 11px;
  }
}
#portfolio-filter .portfolio-title {
  margin: 0 0 14px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-title {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.4;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-title {
    font-size: 18px;
  }
}
#portfolio-filter .portfolio-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
#portfolio-filter .portfolio-title a:hover {
  color: #374ea2;
}
#portfolio-filter .portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  list-style: none;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-meta {
    gap: 6px;
    margin-bottom: 14px;
    padding: 12px 0;
  }
}
#portfolio-filter .portfolio-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-meta li {
    font-size: 12px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-meta li {
    font-size: 13px;
  }
}
#portfolio-filter .portfolio-meta i {
  flex: 0 0 14px;
  margin-top: 3px;
  color: #374ea2;
  text-align: center;
}
#portfolio-filter .portfolio-meta strong {
  font-weight: 600;
  color: #333;
}
#portfolio-filter .portfolio-desc {
  flex: 1;
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-desc {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.65;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-desc {
    font-size: 14px;
    line-height: 1.7;
  }
}
#portfolio-filter .portfolio-btn {
  align-self: flex-start;
  padding: 9px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #374ea2;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .portfolio-btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .portfolio-btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }
}
#portfolio-filter .portfolio-btn:hover {
  border-color: #374ea2;
  color: #fff;
  background: #374ea2;
}
#portfolio-filter .page-nav {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .page-nav {
    margin-top: 38px;
    padding-top: 26px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .page-nav {
    margin-top: 30px;
    padding-top: 22px;
  }
}
#portfolio-filter .page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 640px) {
  #portfolio-filter .page-list {
    flex-wrap: wrap;
    gap: 5px;
  }
}
#portfolio-filter .page-item {
  display: flex;
  align-items: center;
}
#portfolio-filter .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #515152;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-filter .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-filter .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
}
#portfolio-filter .page-link i {
  font-size: 16px;
}
#portfolio-filter .page-link:hover {
  border-color: #adb8d9;
  color: #374ea2;
  background: rgba(55, 78, 162, 0.04);
}
#portfolio-filter .page-link[aria-current=page] {
  border-color: #374ea2;
  color: #fff;
  background: #374ea2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
#portfolio-filter .page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 42px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #787878;
}
@media screen and (max-width: 640px) {
  #portfolio-filter .page-dots {
    min-width: 28px;
    height: 36px;
    font-size: 13px;
  }
}

#portfolio-content {
  padding: 80px 0;
  background: rgba(55, 78, 162, 0.025);
}
@media screen and (max-width: 768px) {
  #portfolio-content {
    padding: 64px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content {
    padding: 52px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-content .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-content .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-content .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-content .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .header-desc {
    line-height: 1.7;
  }
}
#portfolio-content .content-wrap {
  max-width: 960px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-wrap {
    max-width: 100%;
    min-width: 0;
  }
}
#portfolio-content .content-image {
  margin: 48px 0;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-image {
    margin: 36px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-image {
    margin: 28px 0;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-content .content-image {
    margin: 24px 0;
  }
}
#portfolio-content .content-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-image img {
    border-radius: 8px;
  }
}
#portfolio-content .content-image figcaption {
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  color: #787878;
  text-align: center;
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-image figcaption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.55;
  }
}
#portfolio-content .content-block {
  margin-bottom: 42px;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block {
    min-width: 0;
    margin-bottom: 34px;
    overflow-wrap: anywhere;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-block {
    margin-bottom: 28px;
  }
}
#portfolio-content .content-block:last-child {
  margin-bottom: 0;
}
#portfolio-content .content-block h2,
#portfolio-content .content-block h3 {
  margin-top: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  color: #333;
}
#portfolio-content .content-block h2 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.4;
  color: #374ea2;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block h2 {
    margin-bottom: 17px;
    font-size: 26px;
    line-height: 1.38;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-block h2 {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.4;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-content .content-block h2 {
    font-size: 20px;
  }
}
#portfolio-content .content-block h3 {
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.45;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block h3 {
    margin-bottom: 14px;
    font-size: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-block h3 {
    margin-bottom: 12px;
    font-size: 18px;
  }
}
#portfolio-content .content-block p {
  margin: 0 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-content .content-block p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.75;
  }
}
#portfolio-content .content-block p:last-child {
  margin-bottom: 0;
}
#portfolio-content .content-block a {
  color: #374ea2;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
#portfolio-content .content-block a:hover {
  color: #da2128;
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block img {
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-content .content-block pre {
    max-width: 100%;
    overflow-x: auto;
  }
}

#portfolio-cta {
  background-color: rgba(55, 78, 162, 0.025);
}
@media screen and (max-width: 768px) {
  #portfolio-cta .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-cta .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-cta .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-cta .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .header-desc {
    line-height: 1.7;
  }
}
#portfolio-cta .cta-wrap {
  gap: 56px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  margin: 0 auto;
  max-width: 1100px;
  padding: 48px 52px;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}
@media screen and (max-width: 1024px) {
  #portfolio-cta .cta-wrap {
    gap: 32px;
    padding: 40px 36px;
    grid-template-columns: 1.2fr 0.8fr;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-wrap {
    gap: 24px;
    padding: 32px 28px;
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-wrap {
    gap: 22px;
    padding: 26px 20px;
    border-radius: 12px;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-cta .cta-wrap {
    padding: 22px 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-content {
    min-width: 0;
  }
}
#portfolio-cta .cta-content h2 {
  margin: 0 0 18px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  color: #374ea2;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-content h2 {
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-content h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-cta .cta-content h2 {
    font-size: 20px;
  }
}
#portfolio-cta .cta-content > p {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-content > p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-content > p {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
  }
}
#portfolio-cta .cta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-list {
    gap: 10px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-list {
    gap: 9px;
  }
}
#portfolio-cta .cta-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-list li {
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-list li {
    gap: 8px;
    font-size: 13px;
  }
}
#portfolio-cta .cta-list i {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 100rem;
  background: rgba(55, 78, 162, 0.08);
  font-size: 12px;
  color: #374ea2;
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-list i {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}
#portfolio-cta .cta-action {
  padding: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: rgba(55, 78, 162, 0.035);
}
@media screen and (max-width: 1024px) {
  #portfolio-cta .cta-action {
    padding: 26px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-action {
    min-width: 0;
    padding: 24px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-action {
    padding: 20px;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-cta .cta-action {
    padding: 18px 16px;
  }
}
#portfolio-cta .cta-note {
  margin: 0 0 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-note {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-note {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.65;
  }
}
#portfolio-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid #da2128;
  border-radius: 8px;
  background: #da2128;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-cta .cta-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-cta .cta-btn {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 13px;
  }
}
#portfolio-cta .cta-btn:hover {
  border-color: #fa0103;
  background: #fa0103;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

#portfolio-faq {
  padding: 80px 0;
  background: #fff;
}
@media screen and (max-width: 768px) {
  #portfolio-faq {
    padding: 64px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq {
    padding: 52px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-faq .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-faq .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-faq .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-faq .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .header-desc {
    line-height: 1.7;
  }
}
#portfolio-faq .faq-wrap {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}
@media screen and (max-width: 768px) {
  #portfolio-faq .faq-wrap {
    max-width: 100%;
  }
}
#portfolio-faq .faq-item {
  border-bottom: 1px solid #e5e7eb;
}
#portfolio-faq .faq-item[open] .faq-question {
  color: #374ea2;
}
#portfolio-faq .faq-item[open] .faq-question::after {
  content: "\f068";
  color: #da2128;
}
#portfolio-faq .faq-item[open] .faq-answer {
  animation: faqFade 0.3s ease;
}
#portfolio-faq .faq-question {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-faq .faq-question {
    padding: 21px 52px 21px 0;
    font-size: 17px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .faq-question {
    padding: 18px 44px 18px 0;
    font-size: 16px;
    line-height: 1.45;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-faq .faq-question {
    padding-right: 40px;
    font-size: 15px;
  }
}
#portfolio-faq .faq-question::-webkit-details-marker {
  display: none;
}
#portfolio-faq .faq-question::after {
  content: "\f067";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 100rem;
  background: rgba(55, 78, 162, 0.04);
  font-family: FontAwesome;
  font-size: 13px;
  font-weight: normal;
  color: #374ea2;
  transform: translateY(-50%);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-faq .faq-question::after {
    right: 2px;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .faq-question::after {
    right: 0;
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-faq .faq-question::after {
    width: 28px;
    height: 28px;
  }
}
#portfolio-faq .faq-question:hover {
  color: #374ea2;
}
#portfolio-faq .faq-question:hover::after {
  border-color: #adb8d9;
  background: rgba(55, 78, 162, 0.08);
}
#portfolio-faq .faq-answer {
  max-width: 880px;
  padding: 0 56px 24px 0;
}
@media screen and (max-width: 768px) {
  #portfolio-faq .faq-answer {
    max-width: 100%;
    padding: 0 52px 21px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .faq-answer {
    padding: 0 44px 18px 0;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-faq .faq-answer {
    padding-right: 40px;
  }
}
#portfolio-faq .faq-answer p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-faq .faq-answer p {
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-faq .faq-answer p {
    line-height: 1.7;
  }
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#portfolio-featured {
  padding: 72px 0;
  background: rgba(55, 78, 162, 0.025);
}
@media screen and (max-width: 768px) {
  #portfolio-featured {
    padding: 60px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured {
    padding: 48px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-featured .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-featured .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-featured .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-featured .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .header-desc {
    line-height: 1.7;
  }
}
#portfolio-featured .project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media screen and (max-width: 1024px) {
  #portfolio-featured .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
#portfolio-featured .project-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media screen and (max-width: 1024px) {
  #portfolio-featured .project-item {
    min-width: 0;
  }
  #portfolio-featured .project-item:last-child:nth-child(odd) {
    grid-column: 1/-1;
    justify-self: center;
    width: calc(50% - 11px);
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-item {
    width: 100%;
  }
  #portfolio-featured .project-item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
#portfolio-featured .project-item:hover {
  transform: translateY(-5px);
  border-color: #adb8d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#portfolio-featured .project-item:hover .project-image img {
  transform: scale(1.04);
}
#portfolio-featured .project-item:hover .project-title a {
  color: #374ea2;
}
#portfolio-featured .project-image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16/10;
  background: #e5e7eb;
}
#portfolio-featured .project-image a {
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio-featured .project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#portfolio-featured .project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-content {
    padding: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-content {
    padding: 18px;
  }
}
#portfolio-featured .project-type {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(55, 78, 162, 0.08);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #374ea2;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-type {
    margin-bottom: 10px;
    font-size: 12px;
  }
}
#portfolio-featured .project-title {
  margin: 0 0 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-title {
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.4;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-title {
    margin-bottom: 13px;
    font-size: 18px;
  }
}
#portfolio-featured .project-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
#portfolio-featured .project-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  list-style: none;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-info {
    gap: 7px;
    margin-bottom: 16px;
    padding: 14px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-info {
    margin-bottom: 15px;
    padding: 13px 0;
  }
}
#portfolio-featured .project-info li {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-info li {
    font-size: 13px;
  }
}
#portfolio-featured .project-info strong {
  font-weight: 600;
  color: #333;
}
#portfolio-featured .project-desc {
  flex: 1;
  margin: 0 0 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-desc {
    margin-bottom: 19px;
    font-size: 14px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-desc {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
  }
}
#portfolio-featured .project-btn {
  align-self: flex-start;
  padding: 10px 18px;
  border: 1px solid #374ea2;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374ea2;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-featured .project-btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-featured .project-btn {
    width: 100%;
    min-height: 44px;
  }
}
#portfolio-featured .project-btn:hover {
  color: #fff;
  background: #374ea2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 768px) {
  #portfolio-list .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-list .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .header-desc {
    line-height: 1.7;
  }
}
#portfolio-list .portfolio-list {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-list {
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-list {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }
}
#portfolio-list .portfolio-item {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid #e5e7eb;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-item {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px;
    padding: 28px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 26px 0;
  }
  #portfolio-list .portfolio-item:nth-child(2) {
    padding-top: 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-item {
    padding: 22px 0;
  }
  #portfolio-list .portfolio-item:nth-child(2) {
    padding-top: 22px;
  }
}
#portfolio-list .portfolio-item:first-child {
  padding-top: 0;
}
#portfolio-list .portfolio-item:hover .portfolio-image img {
  transform: scale(1.035);
}
#portfolio-list .portfolio-item:hover .portfolio-title a {
  color: #374ea2;
}
#portfolio-list .portfolio-image {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e5e7eb;
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-image {
    width: 100%;
    border-radius: 8px;
  }
}
#portfolio-list .portfolio-image a {
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-image a {
    height: 250px;
  }
}
#portfolio-list .portfolio-image img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-image img {
    height: 100%;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-image img {
    aspect-ratio: 16/10;
  }
}
#portfolio-list .portfolio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-content {
    min-width: 0;
    justify-content: flex-start;
    padding-top: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-content {
    padding-top: 17px;
  }
}
#portfolio-list .portfolio-type {
  align-self: flex-start;
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: #da2128;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-type {
    margin-bottom: 9px;
    font-size: 12px;
  }
}
#portfolio-list .portfolio-title {
  margin: 0 0 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-title {
    margin-bottom: 14px;
    font-size: 21px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-title {
    font-size: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-title {
    margin-bottom: 12px;
    font-size: 18px;
  }
}
#portfolio-list .portfolio-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
#portfolio-list .portfolio-title a:hover {
  color: #374ea2;
}
#portfolio-list .portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-meta {
    gap: 8px 18px;
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-meta {
    gap: 7px 16px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-meta {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
  }
}
#portfolio-list .portfolio-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #515152;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-meta li {
    font-size: 13px;
  }
}
#portfolio-list .portfolio-meta i {
  width: 16px;
  color: #374ea2;
  text-align: center;
}
#portfolio-list .portfolio-meta strong {
  font-weight: 600;
  color: #333;
}
#portfolio-list .portfolio-desc {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #515152;
}
@media screen and (max-width: 1024px) {
  #portfolio-list .portfolio-desc {
    margin-bottom: 19px;
    font-size: 14px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-desc {
    margin-bottom: 17px;
    font-size: 13px;
    line-height: 1.65;
  }
}
#portfolio-list .portfolio-btn {
  align-self: flex-start;
  padding: 10px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374ea2;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-list .portfolio-btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-list .portfolio-btn {
    width: 100%;
    min-height: 44px;
  }
}
#portfolio-list .portfolio-btn:hover {
  border-color: #374ea2;
  color: #fff;
  background: #374ea2;
}

#portfolio-pagination {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  #portfolio-pagination {
    margin-top: 34px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-pagination {
    margin-top: 28px;
  }
}
#portfolio-pagination .page-nav {
  display: flex;
  justify-content: center;
}
#portfolio-pagination .page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 640px) {
  #portfolio-pagination .page-list {
    flex-wrap: wrap;
    gap: 5px;
  }
}
#portfolio-pagination .page-item {
  display: flex;
  align-items: center;
}
#portfolio-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #515152;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-pagination .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-pagination .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
}
#portfolio-pagination .page-link i {
  font-size: 16px;
}
#portfolio-pagination .page-link:hover {
  border-color: #adb8d9;
  color: #374ea2;
  background: rgba(55, 78, 162, 0.04);
}
#portfolio-pagination .page-link[aria-current=page] {
  border-color: #374ea2;
  color: #fff;
  background: #374ea2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
#portfolio-pagination .page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 42px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #787878;
}
@media screen and (max-width: 640px) {
  #portfolio-pagination .page-dots {
    min-width: 28px;
    height: 36px;
    font-size: 13px;
  }
}

#portfolio-related {
  padding: 80px 0;
  background: rgba(55, 78, 162, 0.025);
}
@media screen and (max-width: 768px) {
  #portfolio-related {
    padding: 64px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related {
    padding: 52px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-related .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-related .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-related .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-related .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .header-desc {
    line-height: 1.7;
  }
}
#portfolio-related .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media screen and (max-width: 1024px) {
  #portfolio-related .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
#portfolio-related .related-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 1024px) {
  #portfolio-related .related-item {
    min-width: 0;
  }
  #portfolio-related .related-item:last-child:nth-child(odd) {
    grid-column: 1/-1;
    justify-self: center;
    width: calc(50% - 11px);
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-item {
    width: 100%;
  }
  #portfolio-related .related-item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
#portfolio-related .related-item:hover {
  transform: translateY(-4px);
  border-color: #adb8d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#portfolio-related .related-item:hover .related-image img {
  transform: scale(1.04);
}
#portfolio-related .related-item:hover .related-title a {
  color: #374ea2;
}
#portfolio-related .related-image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16/9;
  background: #e5e7eb;
}
#portfolio-related .related-image a {
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio-related .related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#portfolio-related .related-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
@media screen and (max-width: 768px) {
  #portfolio-related .related-content {
    padding: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-content {
    padding: 18px;
  }
}
#portfolio-related .related-type {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: #da2128;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
@media screen and (max-width: 768px) {
  #portfolio-related .related-type {
    margin-bottom: 9px;
    font-size: 11px;
  }
}
#portfolio-related .related-title {
  margin: 0 0 14px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #portfolio-related .related-title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-title {
    font-size: 17px;
  }
}
#portfolio-related .related-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
#portfolio-related .related-title a:hover {
  color: #374ea2;
}
#portfolio-related .related-desc {
  flex: 1;
  margin: 0 0 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-related .related-desc {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-desc {
    margin-bottom: 16px;
    line-height: 1.65;
  }
}
#portfolio-related .related-btn {
  align-self: flex-start;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #adb8d9;
  border-radius: 0px;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #374ea2;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-related .related-btn {
    min-height: 40px;
    font-size: 13px;
  }
  #portfolio-related .related-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-related .related-btn {
    width: auto;
    min-height: 44px;
    padding-top: 10px;
  }
}
#portfolio-related .related-btn:hover {
  border-color: #da2128;
  color: #da2128;
}

#portfolio-solution {
  padding: 80px 0;
  background: #fff;
}
@media screen and (max-width: 768px) {
  #portfolio-solution {
    padding: 64px 0;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution {
    padding: 52px 0;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-solution .header-wrap {
    margin-bottom: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .header-wrap {
    margin-bottom: 16px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-solution .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  #portfolio-solution .header-title {
    font-size: 22px;
  }
}
@media screen and (max-width: 768px) {
  #portfolio-solution .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .header-desc {
    line-height: 1.7;
  }
}
#portfolio-solution .solution-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media screen and (max-width: 1024px) {
  #portfolio-solution .solution-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .solution-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
#portfolio-solution .solution-item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 1024px) {
  #portfolio-solution .solution-item {
    min-width: 0;
  }
}
#portfolio-solution .solution-item:hover {
  transform: translateY(-5px);
  border-color: #adb8d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#portfolio-solution .solution-item:hover .solution-image img {
  transform: scale(1.04);
}
#portfolio-solution .solution-item:hover .solution-title a {
  color: #374ea2;
}
#portfolio-solution .solution-image {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16/10;
  background: #e5e7eb;
}
#portfolio-solution .solution-image a {
  display: block;
  width: 100%;
  height: 100%;
}
#portfolio-solution .solution-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#portfolio-solution .solution-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
@media screen and (max-width: 768px) {
  #portfolio-solution .solution-content {
    padding: 20px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .solution-content {
    padding: 18px;
  }
}
#portfolio-solution .solution-title {
  margin: 0 0 12px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #portfolio-solution .solution-title {
    margin-bottom: 11px;
    font-size: 18px;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .solution-title {
    font-size: 17px;
  }
}
#portfolio-solution .solution-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}
#portfolio-solution .solution-title a:hover {
  color: #374ea2;
}
#portfolio-solution .solution-desc {
  flex: 1;
  margin: 0 0 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #515152;
}
@media screen and (max-width: 768px) {
  #portfolio-solution .solution-desc {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.7;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .solution-desc {
    margin-bottom: 16px;
    line-height: 1.65;
  }
}
#portfolio-solution .solution-btn {
  align-self: flex-start;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #374ea2;
  border-radius: 0px;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #374ea2;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media screen and (max-width: 768px) {
  #portfolio-solution .solution-btn {
    min-height: 40px;
    font-size: 13px;
  }
  #portfolio-solution .solution-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (max-width: 640px) {
  #portfolio-solution .solution-btn {
    width: auto;
    min-height: 44px;
    padding-top: 10px;
  }
}
#portfolio-solution .solution-btn:hover {
  border-color: #da2128;
  color: #da2128;
}

.header-wrap {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 20px;
  max-width: 1100px;
}
@media screen and (max-width: 768px) {
  .header-wrap {
    margin-bottom: 18px;
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .header-wrap {
    margin-bottom: 16px;
  }
}

.header-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
@media screen and (max-width: 768px) {
  .header-content {
    max-width: 100%;
  }
}

.header-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 20px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  color: #374ea2;
}
@media screen and (max-width: 768px) {
  .header-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 30px;
  }
}
@media screen and (max-width: 640px) {
  .header-title {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 25px;
    line-height: 1.35;
  }
}
@media screen and (max-width: 480px) {
  .header-title {
    font-size: 22px;
  }
}
.header-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 56px;
  height: 2px;
  background: #da2128;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .header-title::after {
    width: 48px;
  }
}
@media screen and (max-width: 640px) {
  .header-title::after {
    width: 40px;
  }
}

.header-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 1020px;
  font-size: 15px;
  font-weight: 400;
  color: #515152;
  line-height: 1.85;
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 768px) {
  .header-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
@media screen and (max-width: 640px) {
  .header-desc {
    line-height: 1.7;
  }
}
.header-desc strong {
  font-weight: 600;
  color: #333;
}

/*# sourceMappingURL=portfolio.css.map */
