/* CONTACT PAGE STYLES */
.contact-container {
  max-width: 1400px;
  width: 90%;
  margin: auto;
  padding: 1.5rem;
}

.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 2rem;
}

.contact-tagline {
  font-weight: 600;
  background-color: #f5f5f5;
  padding: 0.4rem 1rem;
  border-radius: 5px;
}

.contact-title {
  font-size: 3rem;
  font-weight: 600;
  color: #0a0d31;
  text-align: center;
  line-height: 50px;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-wrapper span {
  color: #0a0d31;
  display: block;
  font-size: 1.1rem;
}

.contact-wrapper span:last-child {
  font-weight: bold;
}

.contact-button {
  background-color: #004767;
  font-family: "Inter Tight", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  font-style: normal;
  line-height: 1.2em;
  letter-spacing: 0px;
  word-spacing: 0em;
  color: #fff;
  border-radius: 4px 4px 4px 4px;
  padding: 14px 24px 14px 24px;
  text-decoration: none;
  margin-top: 1.2rem;
  display: block;
}

.bg-wrapper {
  margin: 2rem 0;
}
.bg-contact {
  display: block;
  max-width: 100%;
  width: 100%;
}

.contact-location-wrapper {
  margin: 2rem 0;
  padding: 1rem;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.location-left h2 {
  font-size: 2.5rem;
  color: #0a0d31;
}

.location-left p {
  font-size: 1.2rem;
  line-height: 35px;
}

.social-wrapper {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0;
}

@media (max-width: 600px) {
  .contact-hero {
    gap: 1rem;
    min-height: auto;
    padding: 1rem 0;
  }
  .contact-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .contact-wrapper {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
  }

  .contact-location-wrapper {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .contact-wrapper span {
    font-size: 1rem;
  }
  .contact-button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .bg-wrapper {
    margin: 1rem 0;
  }
  .location-left h2 {
    font-size: 1.6rem;
  }
  .location-left p {
    font-size: 1rem;
    line-height: 1.4;
  }
  .social-wrapper {
    justify-content: flex-start;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .contact-title {
    font-size: 2.4rem;
    line-height: 1.2;
  }
  .contact-wrapper,
  .contact-location-wrapper {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }
  .contact-button {
    align-self: start;
    padding: 12px 20px;
  }
  .location-left h2 {
    font-size: 2rem;
  }
  .location-left p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* OUR PROJECT */
.project-hero {
  min-height: 80vh;
  background-image: url("../../media/ourProject.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  background-blend-mode: hard-light;
}

.project-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.project-wrapper > h1 {
  color: white;
  max-width: 800px;
  text-align: center;
  font-size: 4rem;
  line-height: normal;
  margin-top: 1.2rem;
}

.project-wrapper > span {
  background-color: #0a0d31;
  color: #fff;
  font-weight: 600;
  padding: 0.42em;
  border-radius: 2px;
}

.project-container {
  min-height: 80vh;
  background-color: #f9f9f9;
}

@media (max-width: 600px) {
  .project-wrapper > h1 {
    font-size: 3rem;
    width: 90%;
  }

  .project_grid {
    grid-template-columns: repeat(1, 1fr);
    width: 90%;
  }

  .project-header h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .project-wrapper > h1 {
    font-size: 3rem;
    width: 90%;
  }
}

.portfolio-section {
  padding: 60px 5%;
}

.portfolio-tabs {
  text-align: center;
  margin-bottom: 35px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  margin: 0 12px;
  padding-bottom: 8px;
  cursor: pointer;
  position: relative;
  color: gray;
  transition: 0.3s;
}

.tab-btn.active {
  color: #004767;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #004767;
  border-radius: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: #ffffff;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: 0.3s ease;
}

.portfolio-img {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 15px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.portfolio-img:hover img {
  transform: scale(1.15);
}

.portfolio-meta {
  color: #004767;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.portfolio-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}

.portfolio-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #d8e0ea;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.portfolio-btn:hover {
  background: #004767;
  color: #fff;
}

.portfolio-item.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 601px) and (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}
