.elementor-56 .elementor-element.elementor-element-269d31c{--display:flex;--min-height:150px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-56 .elementor-element.elementor-element-269d31c:not(.elementor-motion-effects-element-type-background), .elementor-56 .elementor-element.elementor-element-269d31c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://neevietnam.com/wp-content/uploads/2025/10/bg_cpn.png");background-size:cover;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-56 .elementor-element.elementor-element-3d37699 .elementor-heading-title{font-family:"Noto Sans JP", Sans-serif;font-weight:600;color:var( --e-global-color-astglobalcolor4 );}.elementor-56 .elementor-element.elementor-element-19a8ea6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-56 .elementor-element.elementor-element-19a8ea6{--content-width:1200px;}}@media(max-width:1024px){.elementor-56 .elementor-element.elementor-element-269d31c{--min-height:120px;}.elementor-56 .elementor-element.elementor-element-3d37699{padding:0px 15px 0px 15px;}.elementor-56 .elementor-element.elementor-element-3d37699 .elementor-heading-title{font-size:1.2rem;}}@media(max-width:767px){.elementor-56 .elementor-element.elementor-element-269d31c{--min-height:80px;}.elementor-56 .elementor-element.elementor-element-3d37699{padding:0px 10px 0px 10px;}.elementor-56 .elementor-element.elementor-element-3d37699 .elementor-heading-title{font-size:1.1rem;}}/* Start custom CSS for html, class: .elementor-element-7980230 *//* --- Base layout --- */
.projects-section {
  margin: 15px auto;
  padding: 24px;
  font-family: "Noto Sans JP", sans-serif;
  color: #2b2b2b;
}

/* --- Project Cards --- */
.project-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
  background: #fff;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.project-detail:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.project-detail.reverse .project-media {
  order: 2;
}

.project-media img {
  width: 100%;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}

.project-info .project-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #2b4b26;
}

.project-excerpt {
  margin-bottom: 12px;
  color: #54595f;
  line-height: 1.7;
  font-size: 1rem;
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  color: #54595f;
  font-size: 0.95rem;
}
.project-meta li strong {
  color: #2b4b26;
  font-weight: 600;
}

.project-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  background: #2b4b26;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn:hover {
  background: #fff;
    border: 1px solid #2b4b26;
}
.btn-outline {
  border: 1px solid #2b4b26;
  color: #2b4b26;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn-outline:hover {
  background: #2b4b26;
  color: #fff;
}

/* --- Smaller projects --- */
.projects-small {
  margin-top: 48px;
  text-align: center;
}
.projects-small h4 {
  font-size: 1.1rem;
  color: #2b4b26;
  margin-bottom: 16px;
}
.small-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.small-item {
  text-align: center;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.small-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}
.small-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.small-item figcaption {
  padding: 6px;
  font-size: 0.9rem;
  color: #444;
}

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}
.modal-content {
  background: #fff;
  margin: 60px auto;
  padding: 20px 28px;
  border-radius: 8px;
  max-width: 900px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideIn 0.3s ease;
}
.modal-content img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 14px;
}
.modal-content h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.modal-content p {
  line-height: 1.7;
  color: #444;
  font-size: 0.95rem;
}
.modal-content ul {
  margin: 12px 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}
.modal-content ul li {
  margin-bottom: 4px;
}
.modal-content .close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- Responsive Styles --- */

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
  .project-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-media img {
    max-height: 300px;
    object-fit: cover;
  }
  .project-info .project-name {
    font-size: 1.1rem;
  }
  .project-excerpt,
  .project-meta,
  .btn,
  .btn-outline {
    font-size: 0.9rem;
  }
  .projects-small h4 {
    font-size: 1rem;
  }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .projects-section {
    padding: 16px;
  }
  .project-detail {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .project-info .project-name {
    font-size: 1rem;
  }
  .project-excerpt {
    font-size: 0.8rem;
  }
  .project-meta {
    grid-template-columns: 1fr;
    font-size: 0.9rem;
  }
  .project-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn,
  .btn-outline {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }
  .modal-content {
    margin: 40px 12px;
    padding: 16px;
  }
  .modal-content h3 {
    font-size: 1.1rem;
  }
  .modal-content p,
  .modal-content ul {
    font-size: 0.9rem;
  }
  .small-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .small-item figcaption {
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  .project-card {
    display: flex;
    flex-direction: column;
  }
  .project-image {
    order: 1;
  }
  .project-info {
    order: 2;
  }
}/* End custom CSS */