
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Poppins, sans-serif;
  background: #000;
  color: #fff;
}


.main {
  background: url("recruit.jpg") no-repeat center center/cover;
  height: 89vh;
  position: relative;
  overflow: hidden;
}
.main .info{
  font-weight: lighter;
}

.main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Header Navigation */
header.nav {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 1);
  z-index: 10;
}

/* Left group */
.left-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo img {
  width: 150px;
}

.nav nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav a {
  color: rgb(184, 182, 182);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: white;
}


.profile-dropdown {
  position: relative;
}

.profile-button {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 5px;
}

.arrow {
  font-size: 20px;
  color: white;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: 100%;
  font-size: 14px;
  background-color: #000;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 100;
  border-radius: 5px;
  border: 0.5px solid rgb(102, 102, 102);
  margin-top: 5px;
}

.profile-dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-content a {
  color: white;
  padding: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-content a:hover {
  background-color: #1a1a1a;
}

/* Main Content */
.main-content {
  position: absolute;
  top: 55vh;
  left: 4%;
  z-index: 2;
  max-width: 70vw;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about {
  font-size: 2.5vw;
  font-weight: bold;
}

.about b {
  display: block;
  margin-bottom: 0.5rem;
}

.info {
  font-size: 1.2vw;
  line-height: 1.5;
  max-width: 100%;
}

.main-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-white {
  background-color: white;
  color: black;
  border: none;
}

.btn-white:hover {
  background-color: #e0e0e0;
}

.btn-transparent {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-transparent:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.box {
  margin-top: 4%;
  margin-left: 4%;
  font-size: 25px;
}


.tiles-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  max-width: 100%;
  box-sizing: border-box;
}

.tiles-wrapper::-webkit-scrollbar {
  height: 8px;
}

.tiles-wrapper::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 4px;
}

.container {
  flex: 0 0 auto;
  width: 250px;
  display: flex;
  justify-content: center;
}

.container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container img:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1);
  border: solid 1px rgb(255, 255, 255);
  border-radius: 25px;
}

.footer {
  text-align: center;
  padding: 15px 0;
  background-color: #111;
  color: #ccc;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #333;
  margin-top: 50px;
}


@media (max-width: 1024px) {
  .main-content {
    top: 35vh;
    left: 5%;
    max-width: 90%;
  }

  .about {
    font-size: 4.5vw;
  }

  .info {
    font-size: 1.8vw;
  }

  .nav nav {
    gap: 1rem;
  }

  .container {
    width: 180px;
  }
}

@media (max-width: 650px) {
  .main-content {
    top: 5%;
    left: 5%;
    max-width: 90%;
  }

  .about {
    font-size: 6vw;
  }

  .info {
    font-size: 2vw;
  }

  .main-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    width: 140px;
  }
}

@media (max-width: 500px) {
  header.nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 1rem;
  }

  .nav nav {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .main {
    height: 70vh;
  }

  .about {
    font-size: 7vw;
    margin-top: 100px;
  }

  .info {
    font-size: 12px;
  }

  .profile-button {
    padding: 0;
  }

  .dropdown-content {
    min-width: 120px;
    padding: 5px;
    gap: 5px;
    font-size: 13px;
  }



}


@media (max-width: 500px) {
  header.nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.8rem;
    height: auto;
    flex-wrap: nowrap;
  }

  .left-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }

  .nav nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 0.6rem;
    padding: 0;
    background: none;
    border: none;
  }

  .nav a {
    font-size: 0.8rem;
    padding: 0;
    margin: 0;
    color: #ccc;
    white-space: nowrap;
  }

  .logo img {
    width: 90px;
  }

  .profile-dropdown {
    position: relative;
    margin-left: 0.5rem;
  }

  .dropdown-content {
    min-width: 120px;
    font-size: 11px;
  }


  .main-buttons {
    display: flex;
    flex-direction: row;
    justify-content: left;
    flex-wrap: wrap;
    gap: 0.8rem;
   
    padding: 0 1rem;
  }

  .main-buttons a.btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
    text-align: center;
    
    border-radius: 8px;
  }

  .btn-white {
    background-color: white;
    color: black;
  }

  .btn-transparent {
    background-color: transparent;
    color: white;
    border: 1px solid white;
  }
}
