html{
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: black;
}

#body1{
  background-image: url(https://th.bing.com/th/id/R.aa7d07a5422d253af4fcc1a07531eca6?rik=lV%2f%2fYMD%2fzjQ6oQ&riu=http%3a%2f%2fwallpapercave.com%2fwp%2fibG1tbs.jpg&ehk=42pezURjV99lRRl9GzoYCgQmJk83bevl6p5UHDTtvyw%3d&risl=&pid=ImgRaw&r=0);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  height: 900px;
}
#header{
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.container{
  padding: 10px 5%;
}
.header-text{
  margin-top: 10%;
  font-size: 30px;
}
.header-text h1{
  font-size: 60px;
  margin-top: 20px;
}
.header-text h1 span{
  color:red;
}
/* .container{
  max-width: 960px; 
  padding: 0px; 
  font-size: 60px;
  font-family: 'Times New Roman', Times, serif;
} */

.navbar{
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

header {
  padding: 20px;
  position: relative;
  color: #000000;
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

nav ul li {
  display: inline;
  margin: 0 10px;
}

nav ul li a {
  color: #0a0a0a;
  text-decoration: none;
  font-size: large;
  font-family: 'Times New Roman', Times, serif;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
}

nav ul li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover::before {
  transform: scaleX(1);
}

.hero {
  /* text-align: center; */
  width: 100%;
  padding: 40px;
  color: red;
}

.features {
  padding: 40px;
}

.feature {
  margin-bottom: 30px;
}

#services{
  padding: 30px 0;
}
.services-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
.services-list div{
  background: #262626;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-radius: 10px;
  transition: background 0.5s, transform 0.5s;
}
.services-list div i{
  font-size: 50px;
  margin-bottom: 30px;
}
.services-list div h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
.services-list div a{
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}
.services-list div:hover{
  background: red;
  transform: translate(-10px);
}

.signup {
  background-color: #f9f9f9;
  padding: 40px;
  text-align: center;
}

.signup button {
  background-color: #ffffff;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signup button:hover {
  background-color: #0a0b0b;
}

footer {
  background-color: #000000;
  color: white;
  padding: 20px;
  text-align: center;
}

/* Animations */

.container {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.features {
  animation: slideInLeft 1s ease-in-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.signup {
  animation: slideInRight 1s ease-in-out;
  background-color: #000000;
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Search Form Styles */
#candidateSearchForm {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

#candidateSearchForm input[type="text"] {
  padding: 10px;
  margin-right: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#candidateSearchForm button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4CAF50;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

#candidateSearchForm button:hover {
  background-color: #45a049;
}

/* Candidate Listing Styles */
#candidateListing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.candidateCard {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 20px;
}

.candidateCard h4 {
  margin-top: 0;
}

.candidateCard p {
  margin-bottom: 10px;
}

.candidateCard a {
  display: inline-block;
  padding: 6px 12px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.candidateCard a:hover {
  background-color: #45a049;
}


/* contact */

.contact-left{
  flex-basis: 35%;
}
.contact-right{
  flex-basis: 60%;
}
.contact-left p{
  margin-top: 30px;
}
.contact-left p i{
  color: red;
  margin-right: 15px;
  font-size: 25px;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: red;
  transform: translateY(-5px);

}
.btn.btn2{
  display: inline-block;
  color: #fff;
  border-radius: 10px;
  padding: 14px 60px;
  background: red;
}
.contact-right form{
  width: 100;
}
form input, form textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: #242424;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
form .btn2{
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

.copyright{
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20%;
}

/* Responsive Styles */

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  header {
    padding: 10px;
  }

  nav ul li {
    display: block;
    margin: 0;
    padding: 5px 0;
  }

  nav ul li:first-child {
    margin-top: 0;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .features {
    padding: 20px;
  }

  .feature h4 {
    font-size: 16px;
  }

  .signup {
    padding: 20px;
  }

  .signup button {
    padding: 8px 16px;
    font-size: 14px;
  }

  footer {
    padding: 10px;
  }
}