* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Farsan", cursive;
}

hr {
  border-color: #128f39;
}

/* NAVBAR */

header {
  background-color: #a6a6a6;
  padding: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  gap: 10px;
  font-size: 0.6rem;
}

.logo img {
  width: 30%;
  border-radius: 100%;
}

.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: black;
}
.nav-links {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  width: 20%;
  cursor: pointer;
  font-size: 10px;
}
.nav-links a {
  text-decoration: none;
  color: #000;
}
.nav-links.show {
  display: flex;
}

/* MAIN */

/* welcome */
.welcome {
  background-image: url(./asset/background.jpg);
  background-position: center;
  height: 70vh;
  background-size: cover;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.welcome-text {
  font-size: 0.6rem;
  width: 70%;
}

.welcome-text p {
  font-size: 0.8rem;
}

.welcomeSpan {
  color: #18f361;
  font-family: "Markazi Text", serif;
  font-size: 1.5rem;
  font-weight: 900;
}

/* About Us */

.about {
  background-color: #a6a6a6;
}

.about-text {
  padding: 2rem 0;
  margin: 0 auto;
  width: 80%;
  text-align: justify;
}
.about-text h2,
.vimsion-text h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.about-img img {
  width: 100%;
  height: 100vh;
}

/* Vision and Mission */

.vimsion {
  background-image: url(./asset/picture1.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

.vimsion-text {
  font-size: 1.2rem;
  width: 40%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

/* Services we Offer */

.offer {
  background-color: #a6a6a6;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.offer-img img {
  width: 100%;
  height: 100%;
}

.offer-img {
  width: 49%;
}
.offer-text {
  font-size: 0.8rem;
  width: 49%;
  margin: 0 auto;
}

.offer-text h2 {
  padding: 1rem 0;
  text-align: center;
}

.offer-text ul {
  list-style: none;
}

.offer-contact {
  margin: 1rem 0;
}

.offer-btn {
  border: 1px solid #19b44c;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-top: 2px;
}

.offer-btn:hover {
  background-color: #19b44c;
  color: #fff;
}

/* Projects */

.projects {
  padding: 2rem 1rem;
  background-color: #a6a6a6;
  text-align: center;
}

.projects h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.project-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: #19b44c;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #333;
}

.more-text {
  display: none;
}

.read-more-toggle {
  background-color: transparent;
  color: #19b44c;
  border: none;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
}

.read-more-toggle:hover {
  color: #128f39;
}

/* Coming Soon Card */
.project-card.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e0e0e0;
  color: #555;
  text-align: center;
}

.coming-soon .coming-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #999;
}

/* Team Lead */
.bigTams {
  background-color: #a6a6a6;
  padding: 2rem;
  text-align: center;
}

.bigTams h1 {
  margin-bottom: 2rem;
}

.bigTams-profile p {
  margin: 1rem 0;
  width: 100%;
  text-align: justify;
}

.bigTams-profile img {
  width: 40%;
  border-radius: 100%;
  margin-bottom: 1rem;
}

/* Gallery */
.gallery-section {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #a6a6a6;
}

.gallery-wrapper {
  position: relative;
  overflow-x: hidden;
}

.image-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
}

.image-row img {
  height: 180px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.scroll-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-color: rgba(166, 166, 166, 0.7);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  border-radius: 8px;
}

/* Contact Us */
.social-media {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #a6a6a6;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #333;
  margin: 0 1rem;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.container {
  background-color: #333;
  color: #128f39;
  text-align: center;
}

/* ===== Tablet view (medium screens) ===== */
@media (min-width: 768px) {
  nav {
    flex-wrap: nowrap;
    align-items: center;
  }

  .logo {
    width: auto;
    font-size: 1rem;
  }

  .logo img {
    width: 50px;
  }

  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    font-size: 1rem;
    gap: 20px;
  }

  .welcome-text {
    font-size: 1.5rem;
    width: 60%;
  }

  .welcome-text p {
    font-size: 1.5rem;
  }

  .welcomeSpan {
    font-size: 3rem;
  }

  .vimsion-text {
    width: 35%;
    font-size: 1.5rem;
  }

  .offer {
    gap: 2rem;
  }

  .offer-img,
  .offer-text {
    width: 50%;
  }

  .offer-btn {
    margin-top: 1.5rem;
    font-size: 1.3rem;
  }

  .offer-text {
    font-size: 1.5rem;
  }

  .bigTams-profile {
    width: 60%;
    margin: 0 auto;
  }

  .bigTams {
    font-size: 1.49rem;
  }

  .gallery-section {
    font-size: 1.5rem;
  }

  .social-media {
    font-size: 1.5rem;
  }

  .container {
    font-size: 1.5rem;
  }

  .projects {
    font-size: 1.5rem;
  }

  .project-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Desktop view (large screens) ===== */
@media (min-width: 1024px) {
  nav {
    padding: 0 2rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 2rem;
    gap: 2rem;
    font-size: 1.3rem;
  }

  .about-text {
    width: 50%;
  }

  .about-img {
    width: 50%;
  }

  .vimsion {
    padding: 3rem;
  }

  .vimsion-text {
    width: 30%;
  }

  .offer-text {
    width: 50%;
  }

  .bigTams-profile {
    width: 40%;
  }

  .gallery-wrapper {
    padding: 0 3rem;
  }

  .image-row img {
    height: 220px;
  }

  .project-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .social-icons a {
    font-size: 2rem;
  }

  .bigTams {
    font-size: 1.49rem;
  }

  .gallery-section {
    font-size: 1.5rem;
  }

  .social-media {
    font-size: 1.5rem;
  }

  .container {
    font-size: 1.5rem;
  }

  .projects {
    font-size: 1.5rem;
  }
}
