.adev-project {
  --gap: 24px;
}
.adev-layout {
  display: flex;
}

/* Left list */
.adev-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.adev-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  height: 250px;
  background-size: cover;
}

.adev-card .name {
  font-weight: 700;
  padding: 10px 12px;
  background: rgba(250, 250, 250, 0.7);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat';
  color: #4d4d4d;
  font-size: 1.5em;
  transition: all ease-in-out 0.4s;
}

.adev-card:hover .name {
  background: rgba(250, 250, 250, 0.9);
}

.adev-card.active .name {
  display: none;
}

.adev-pagination {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.adev-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  position: relative;
}
.adev-bullet.active {
  background: #2e7d32;
}
.adev-bullet .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Right detail */
.adev-proj-category {
  font-size: 0.9em;
  color: #00602e;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 200;
}

.adev-proj-title {
  margin: 14px 0 6px;
  font-size: 2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.adev-proj-status {
  font-weight: 700;
  margin-bottom: 10px;
  color: #faaf3b;
  text-transform: capitalize;
}

/* Gallery */
.adev-gallery-wrap {
  margin-top: 28px;
}
.adev-gallery-main {
  height: 360px;
  background: #ddd center/cover no-repeat;
  border-radius: 18px;
}
.adev-thumbs {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}
.adev-thumbs .thumb {
  width: 80px;
  height: 64px;
  background: #ccc center/cover no-repeat;
  border: none;
  border-radius: 12px;
  opacity: 0.7;
  cursor: pointer;
}
.adev-thumbs .thumb.active {
  opacity: 1;
  outline: 2px solid #2e7d32;
}
.adev-button-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.adev-avance-btn,
.adev-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #1b5e20;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.adev-detail .adev-more-btn {
  margin-top: 20px;
}

/* Contact */
.adev-contact {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--gap);
  margin-top: 40px;
  align-items: start;
}
.adev-contact .pretit {
  color: #2e7d32;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.adev-contact .title {
  font-size: 32px;
  line-height: 1.1;
  margin: 0.2em 0 1em;
}
.adev-form {
  display: grid;
  gap: 10px;
}
.adev-form input,
.adev-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  background: #eef2f3;
  font: inherit;
}
.adev-form button {
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  background: #10723a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.adev-form-msg {
  margin-top: 6px;
  font-size: 14px;
}
.adev-contact-side {
  text-align: left;
}
.adev-contact-side img.person {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.adev-contact-side .person-name {
  font-weight: 800;
  margin-top: 10px;
  font-size: 20px;
}
.adev-contact-side .person-role {
  opacity: 0.8;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 980px) {
  .adev-layout {
    grid-template-columns: 1fr;
  }
  .adev-contact {
    grid-template-columns: 1fr;
  }
}
