* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section.hero_main {
  height: 640px;
  width: 100%;
  background-image: url("../images/marwa_banner.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.hero_container {
  margin-left: 150px;
}
h1.hero-head {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 700;
}

p.hero-desc {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  width: 690px;
  margin-bottom: 20px;
}

button.hero_button {
  font-size: clamp(14px, 2vw, 18px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  height: 55px;
  width: 260px;
  border: none;
  border-radius: 30px;
  color: white;
  background-color: #000000;
  border: 1px solid white;
  gap: 10px;
  cursor: pointer;
}
button.hero_button:hover {
  font-weight: 600;
}
.hero_button i {
  font-size: clamp(14px, 2vw, 18px);
  transition: transform 0.3s ease;
}

.hero_button:hover i {
  transform: translateX(4px);
}

/* Projects Section */
.projects_main {
  height: auto;
  width: 100%;
  padding: 10px 100px 50px 100px;
  background-color: #0f0f0f;
  margin-bottom: 50px;
}

.projects-container {
  max-width: 740px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.projects-title {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 600;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
}

.filter-tabs {
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tab {
  padding: 12px 20px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.filter-tab:hover {
  color: #eaeaea;
}

.filter-tab.active {
  color: #ffffff;
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.filter-tab:hover::after,
.filter-tab.active::after {
  width: 100%;
}

.project-cards {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.project-card1 {
  height: 380px;
  width: 270px;
  background-color: #ffffff;
  border-radius: 5px;
  position: relative;
  display: flex;
  align-items: end;
  cursor: pointer;
  flex: 1 1 250px;
  max-width: 100%;
}
.project-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border-radius: 5px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.project-details {
  height: auto;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
}

.project-name {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: #ffffff;
}

.project-location {
  font-size: clamp(12px, 2vw, 14px);
  color: #ffffff;
}
.viewmore-main {
  text-align: center;
}
.viewmore-btn {
  height: 55px;
  width: 200px;
  font-size: clamp(14px, 2vw, 18px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  color: #363636;
  background-color: white;
  border-radius: 5px;
}

.about-section {
  min-height: 600px;
  width: 100%;
  box-shadow: 0 0 10px 10px rgba(0, 10, 10, 0.25);
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  padding: 50px 100px;
}

.about-container {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  /* margin-right: 50px; */
}

.about-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.about-content {
  flex: 1 1 400px;
}

.about-content h1 {
  font-size: clamp(24px, 5vw, 50px);
  font-weight: 700;
  color: #363636;
  margin-bottom: 10px;
}

.about-content p {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: #363636;
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-content button {
  font-size: clamp(14px, 2vw, 18px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  height: 55px;
  width: 260px;
  border: none;
  border-radius: 10px;
  color: white;
  background-color: #0f0f0f;
  border: 1px solid white;
  gap: 10px;
  cursor: pointer;
  
  justify-content: center;
  transition: all 0.3s ease;
}

.about-content button:hover {
  font-weight: 600;
  background-color: #242424;
}

.about-content i {
  font-size: clamp(14px, 2vw, 18px);
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.about-content button:hover i {
  transform: translateX(4px);
}

.map_section {
  width: 100%;
  margin-bottom: 50px;
}
.map_container {
  width: 100%;
}
.map_container iframe {
  width: 100%;
  height: 500px;
}

.contact-container {
  display: flex;
  align-items: center;
  gap: 90px;
  flex-wrap: wrap;
}
.contact-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 10px 10px rgba(0, 0, 10, 0.25);
  padding: 50px;
  border-radius: 10px;
  flex: 1 1 500px;
}
.contact_form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.contact-area h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  color: #363636;
  text-align: center;
}
.contact-area p {
  width: 100%;
  max-width: 440px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: #363636;
  text-align: center;
  margin-bottom: 30px;
}
.contact_form input,
.contact_form textarea {
  width: 100%;
  height: 50px;
  font-family: 'Montserrat', sans-serif;
  padding: 12px;
  font-size: clamp(14px, 2vw, 16px);
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

.contact_form textarea {
  height: 120px;
  resize: vertical;
}

.contact_form button {
  width: 100%;
  height: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact_form button:hover {
  background-color: #333;
}

.contact-ctn {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex: 1 1 400px;
}

.contact-phone h1 {
  color: #363636;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-phone p {
  color: #363636;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
}
.contact-email h1 {
  color: #363636;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-email p {
  color: #363636;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
}
.contact-address h1 {
  color: #363636;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-address p {
  color: #363636;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero_container {
    margin-left: 20px;
    margin-right: 20px;
  }

  p.hero-desc {
    width: 100%;
  }

  .projects_main {
    padding: 10px 20px;
    margin-bottom: 20px;
  }
   .about-section {
    /* flex-direction: column; */
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    gap: 30px;
    padding: 0;
  }

  .about-image {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: auto;
  }

  /* .about-content {
    text-align: center;
  } */

  .about-content h1 {
    font-size: 26px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-content button {
    width: 200px;
    height: 50px;
    font-size: 16px;
    margin: 0 auto;
  }

  .contact-container {
    margin: 30px 20px;
    gap: 30px;
  }

  .contact-area {
    padding: 30px 20px;
  }

  .project-card1 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  section.hero_main {
    height: 500px;
  }
  .projects-title {
    margin-bottom: 20px;
  }
  .filter-tabs {
    margin-bottom: 20px;
  }
  .contact-ctn {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .map_container iframe {
    height: 300px;
    width: 100%;
  }
  .about-content button,
  button.hero_button,
  .viewmore-btn {
    width: 190px;
    max-width: 100%;
    max-height: 40px;
  }
}
