/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  animation: fadeInUp 0.6s forwards;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", serif;
}

hr {
  background-color: #db801a;
  width: 100px;
  height: 4px;
  border: none;
  margin: 50px auto;
}

.nav-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  gap: 100px;
}

.side-nav {
  width: 15px;
  height: auto;
}

.nav-menu,
.nav-contact {
  display: none;
}

.nav-bar-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.website-logo {
  width: 24px;
  height: auto;
}

.nav-bar-title {
  color: #db801a;
  font-weight: 700;
  font-size: 0.875rem;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #333;
  color: #fff;
  display: none; /* Initially hidden */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu ul {
  list-style-type: none;
  padding: 0;
}

.menu ul li {
  margin: 20px 0;
}

.menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
}

.menu ul li a:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/heroImg.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 10px;
  gap: 30px;
}

.hero-header {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.hero-subheader {
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 50px;
  font-weight: 400;
}

.page-hero {
  display: flex;
  justify-content: center;
  padding: 100px 0;
  background-color: #ebebeb;
}

.contact-btn {
  text-decoration: none;
  color: #000;
  padding: 10px 100px;
  background-color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
}

.who-we-are {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
  gap: 30px;
  line-height: 30px;
}

.who-we-are-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 40px;
}

.who-we-are > h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.our-clients {
  width: 100%;
  overflow-x: auto;
  /* white-space: nowrap; */
  display: inline-flex;
  gap: 16px;
  padding-left: 50px;
}

.our-clients img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.quote {
  background-image: url("images/goldBg.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 50px;
  gap: 30px;
  font-size: 1rem;
  text-align: center;
  line-height: 40px;
}

.what-we-do {
  display: flex;
  flex-direction: column;
  padding: 50px;
  gap: 30px;
  line-height: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}

.what-we-do > h3 {
  font-size: 1.25rem;
  font-weight: 700;
  width: 100%;
}

.man-img {
  width: 100%;
  height: auto;
  padding: 50px;
}

.recent-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.recent-works-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.recent-work-img-wrapper {
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.recent-work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 0;
  gap: 50px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service {
  width: 200px;
  height: auto;
  border: 1px solid #000;
}

.service-img-wrapper {
  background-color: #ebebeb;
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img {
  /* width: 100%;
  height: 100%; */
  object-fit: contain;
}

.service-title {
  padding: 20px 5px;
  font-size: 1rem;
  text-align: center;
}

.service > img {
  width: 100%;
  height: auto;
}

.services > h3,
.service > h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.service > p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 30px;
}

.footer {
  background-color: #2f2f2f;
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer > div > h3 {
  font-size: 1.25rem;
  font-weight: 400;
}

.footer > div > p {
  font-size: 1rem;
  font-weight: 400;
}

.footer > div {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.get-in-touch {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.get-in-touch > div {
  display: flex;
  gap: 10px;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.quick-links > a {
  text-decoration: none;
  color: #fff;
}

.footer-line {
  background-color: #fff;
  width: 100%;
  height: 1px;
  border: none;
  margin: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.9rem;
}

.social-media {
  display: flex;
  gap: 30px;
  align-items: center;
}

.copyright {
  font-size: 0.75rem;
  font-weight: 300;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  gap: 20px;
}
.contact-form > input {
  width: 100%;
  height: 54px;
}

.contact-form > textarea {
  height: 150px;
}

.submit-btn {
  background-color: #db801a;
  border: none;
  color: #fff;
  border-radius: 5px;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 100px 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-bar {
    gap: 300px;
  }

  .hero-subheader {
    padding: 0 100px;
  }

  .who-we-are-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
  }

  .who-we-are-content > p {
    flex-basis: 100%;
  }

  .what-we-do-section {
    display: grid;
    gap: 30px;
    padding: 50px 100px;
    grid-template-columns: repeat(2, 1fr);
  }

  .what-we-do {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 0;
  }

  .recent-works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer {
    padding: 30px 25px;
    gap: 50px;
  }

  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 90px;
  }

  .contact-form {
    padding: 10% 20%;
  }

  .recent-work-img-wrapper {
    width: 200px;
    height: 200px;
    overflow: hidden;
  }

  .portfolio-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 15px;
  }
}

@media (min-width: 1024px) and (max-width: 2559px) {
  /* CSS rules for medium screens */

  .side-nav {
    display: none;
  }

  .website-logo {
    width: 30px;
  }

  .nav-bar-title {
    font-size: 1.25rem;
  }

  .nav-bar {
    padding: 30px;
    justify-content: space-between;
  }

  .nav-menu {
    display: flex;
    gap: 20px;
  }

  .nav-menu > a {
    text-decoration: none;
    color: #000;
  }

  .nav-menu > a:hover {
    color: #db801a;
  }

  .nav-menu > a:active {
    color: #db801a;
  }

  .nav-contact {
    display: block;
    text-decoration: none;
    background-color: #db801a;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
  }

  .hero {
    background-size: 100%;
    padding: 200px 10px;
    gap: 60px;
  }
  .hero-header {
    font-size: 3rem;
  }

  .hero-subheader {
    font-size: 1.25rem;
    padding: 0 300px;
  }

  .who-we-are {
    gap: 70px;
    padding: 100px 0;
  }

  .who-we-are > h3 {
    font-size: 1.5rem;
  }

  .who-we-are-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding: 0 200px;
    font-size: 1.25rem;
  }

  .who-we-are-content > p {
    flex-basis: 100%;
  }

  .our-clients {
    display: flex;
    justify-content: center;
  }

  .quote {
    background-size: 100%;
    font-size: 2rem;
    gap: 40px;
  }

  .what-we-do-section {
    display: grid;
    gap: 100px;
    padding: 100px 200px;
    grid-template-columns: repeat(2, 1fr);
  }

  .what-we-do {
    display: flex;
    flex-direction: column;
    gap: 50px;
    line-height: 50px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    font-size: 1.25rem;
    padding: 0;
  }

  .what-we-do > h3 {
    font-size: 1.5rem;
  }

  .recent-works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 90px;
    font-size: 1rem;
  }

  .copyright {
    font-size: 0.75rem;
  }

  .contact-form {
    padding: 10% 30%;
  }

  .portfolio-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-left: 50px;
  }

  .recent-work-img-wrapper {
    width: 200px;
    height: 200px;
    overflow: hidden;
  }
}

@media (min-width: 2560px) {
  /* CSS rules for medium screens */

  .side-nav {
    display: none;
  }

  .website-logo {
    width: 40px;
  }

  .nav-bar-title {
    font-size: 1.5rem;
  }
  .nav-bar {
    padding: 30px;
    justify-content: space-between;
  }

  .nav-menu {
    display: flex;
    gap: 20px;
  }

  .nav-menu > a {
    text-decoration: none;
    color: #000;
  }

  .nav-menu > a:hover {
    color: #db801a;
  }

  .nav-menu > a:active {
    color: #db801a;
  }

  .nav-contact {
    display: block;
    text-decoration: none;
    background-color: #db801a;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
  }

  .hero {
    background-size: 100%;
    padding: 200px 10px;
    gap: 60px;
  }
  .hero-header {
    font-size: 4rem;
  }

  .hero-subheader {
    font-size: 2rem;
    padding: 0 700px;
  }

  .who-we-are {
    gap: 70px;
    padding: 100px 0;
  }

  .who-we-are > h3 {
    font-size: 2rem;
  }

  .who-we-are-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding: 0 200px;
    font-size: 1.55rem;
    text-align: center;
  }

  .who-we-are-content > p {
    flex-basis: 100%;
    text-align: left;
  }

  .our-clients {
    display: flex;
    justify-content: center;
  }

  .quote {
    background-size: 100%;
    font-size: 2rem;
    gap: 40px;
  }

  .what-we-do-section {
    display: grid;
    gap: 100px;
    padding: 100px 200px;
    grid-template-columns: repeat(2, 1fr);
  }

  .what-we-do {
    display: flex;
    flex-direction: column;
    gap: 50px;
    line-height: 50px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    font-size: 1.5rem;
    padding: 0;
  }

  .what-we-do > h3 {
    font-size: 2rem;
  }

  .man-img {
    display: block;
    width: 100%;
    height: auto;
  }

  .recent-works-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .services-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

  .footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 90px;
    font-size: 1.5rem;
  }

  .copyright {
    font-size: 1rem;
  }

  .contact-form {
    padding: 10% 40%;
  }

  .portfolio-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-left: 100px;
  }

  .recent-work-img-wrapper {
    width: 300px;
    height: 300px;
    overflow: hidden;
  }
}
