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

body,
html {
  height: 100%;
  scroll-behavior: smooth;
}

.navbar img {
  width: 40px;
}

.navbar-toggler::before,
.navbar-toggler::after,
.navbar-toggler span {
  display: block;
  content: '';
  width: 25px;
  /* Width of the bars */
  height: 3px;
  /* Height of the bars */
  margin: 5px auto;
  /* Spacing between bars */
  background-color: white;
  /* Set bar color to white */
}


ul li {
  list-style: none;
  display: inline-block;
  margin-left: 10px;
}

ul li a {
  /* font-family: arial; */
  color: #f8f8f8;
  text-decoration: none;
  position: relative;
  padding: 15px 10px;
  font-size: 15px;
  display: block;
}

#navbarNav a::after {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 2px;
  background-color: #FEFEFE;
  transform-origin: bottom right;
  transition: transform 0.5s ease;
  transform: scaleX(0);
}

#navbarNav a:hover {
  color: white;
}

#navbarNav a:hover::after {
  transform-origin: bottom left;
  transform: scaleX(1);
  color: rgb(255, 60, 0);
}

/* .navbar a:hover{
  color: darkorange;
} */
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full-screen height */
  overflow: hidden;
  /* Hide any overflow */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Maintain aspect ratio and cover the section */
  transform: translate(-50%, -50%);
  z-index: 1;
  /* Behind the content */
}

.hero-content {
  position: relative;
  z-index: 2;
  /* On top of the video */
  color: rgb(255, 255, 255);
  /* Text color */
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

.hero-content h1 {
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.animated-name {
  font-size: 1rem;
  /* Adjust size as needed */
  color: #ffffff;
  opacity: 0;
  /* Start hidden */
  transition: opacity 0.5s ease-in-out;
  /* Smooth transition */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  /* Spacing between icons */
}

.icon {
  display: inline-block;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: black;
  /* Black background */
  color: white;
  /* White icon color */
  border-radius: 50%;
  /* Make icons round */
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  padding-top: 6px;
  margin-top: 40px;
}

.icon:hover {
  background-color: white;
  /* Change background to white on hover */
  color: black;
  /* Change icon color to black on hover */
  text-decoration: none;
}

/* Button Styling */
.btn1 {
  background-color: transparent;
  color: rgb(255, 255, 255);
  padding: 10px 20px;
  text-decoration: none;
  border: 1px solid white;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.4s ease-in-out;
  font-weight: bold;
}

.btn1:hover {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.btn1:before {
  content: '';
  position: absolute;
  left: -100%;
  top: -57px;
  width: 30px;
  height: 150px;
  background-color: rgb(0, 0, 0);
  transform: rotate(35deg);
  opacity: 0.5;
  transition: all 0.4s ease-in-out;
}

.navbar {
  background-color: black;
}

#navbar ul li a {
  margin-right: 20px;
  color: red;
}

/* Project Section Custom Styles */
.projects-section {
  padding: 60px 0;
  background-color: black;
}

.projects-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.card1 {
  animation: rotate 5s linear infinite;
  width: 80px;
  height: 80px;
  filter: invert(100%);
  padding: 20px;
}

.project-card {
  background-color: black !important;
  border: 1px solid white !important;
}

.project_btn {
  background-color: white;
  color: black;
  padding: 3px 9px;
  font-size: 13px;
  /* font-weight: 600; */
  /* border-radius: 5px; */
}

.project_btn:hover {
  color: white;
  border: 2px solid white;
  background-color: black;
  text-decoration: none;
}

.card-body {
  background-color: rgb(1, 1, 1);
  color: white;
}

.project-card {
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

/* Contact Section Custom Styles */
.contact-section {
  padding: 60px 0;
  background-color: black;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-group label {
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.form-input {
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  width: 100%;
  border: 2px solid #ffffff;
  font-size: 16px;
  background: none;
  color: white;
  /* background-color: red; */
}

.form-input:focus {
  outline: none;
  border-bottom-color: #ff9900;
}

.send_btn {
  background-color: white;
  color: black;
  height: 40px;
  font-weight: 600;
  border-radius: 5px;
  transition: opacity 1s ease-in-out;
  /* Smooth transition */

}

.send_btn:hover {
  color: white;
  border: 2px solid white;
  transition: opacity 1s ease-in-out;
  /* Smooth transition */
  background-color: black;
}

/* About Section Styles */
.about-section {
  background-color: #000000;
  padding-top: 200px;
  text-align: left;
  padding-bottom: 200px;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.extra_des {
  margin-top: 10px;
  margin-left: 15px;
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
}

.about_pic img {
  width: 310px;
  border: 2px solid white;

}

/* .about-section strong{
  color: darkorange;
} */
.about-section ul {
  padding: 0;
  list-style: none;
}

.about-section ul li {
  display: inline;
  margin-right: 15px;
  font-weight: bold;
  color: #8a8a8a;
}

.animated-text {
  font-size: 5rem;
  /* Adjust size as needed */
  color: #333;
}

.dot {
  position: relative;
}

.dot-animation {
  position: absolute;
  top: -17px;
  left: 5px;
  color: rgb(255, 255, 255);
  /* Dot color */
  animation: bounce 1s infinite;
}


/* footer */
.footer {
  background-color: rgb(21, 20, 20);
  margin-bottom: 20px;

  padding-bottom: 0px;
  flex-wrap: wrap;
}

.footer-description {
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
  background-color: black;
  border-top: 1px solid rgb(95, 94, 94);
  width: 100%;
  padding-left: 90px;
}


.left-content p {
  font-size: 15px;
  color: white;
  font-family: montserrat, sans-serif;
}

.left-content img {
  width: 60px;
}

.left-content i {
  color: rgb(255, 0, 0);
  font-size: 15px;
}

.left-content-icons i {
  padding: 20px 10px;
  color: white;
}

.left-content-icons a {
  text-decoration: none;
  font-family: montserrat, sans-serif;
}

.left-content-icons i:hover {
  color: darkorange;

}

.middle-content h5 {
  color: white;
  text-transform: uppercase;
}

.middle-content ul li {
  list-style: none;
  margin-top: 15px;
}

.middle-content ul li a {
  text-decoration: none;
  font-size: 12px;
  color: white;
  font-family: montserrat, sans-serif;
}

.middle-content ul li a:hover {
  color: darkorange;

  font-family: montserrat, sans-serif;
}

.chat-title p {
  font-size: 15px;
  margin-top: 10px;
  font-family: montserrat, sans-serif;
}

.second-last-content h5 {
  color: white;
  text-transform: uppercase;
}

.second-last-content ul li {
  list-style: none;
  margin-top: 15px;
}

.second-last-content ul li a {
  text-decoration: none;
  font-size: 12px;
  color: white;
  font-family: montserrat, sans-serif;
}

.second-last-content ul li a:hover {
  color: darkorange;

}

.last-content h5 {
  color: white;
  text-transform: uppercase;
}

.last-content ul li {
  list-style: none;
  margin-top: 15px;
}

.last-content ul li a {
  text-decoration: none;
  font-size: 12px;
  font-family: montserrat, sans-serif;
  color: white;
}

.last-content ul li a:hover {
  color: darkorange;
}

.foot {
  text-align: center;
  background-color: black;
  /* margin-top: 100px; */
  padding-top: 100px;
  /* margin-bottom: 0px; */
  padding-bottom: 10px;
}

.foot p {
  color: white;
  font-size: 15px;
  font-family: montserrat, sans-serif;
}

#line {
  width: 80%;
  margin-left: 10%;
  color: rgb(213, 208, 208);
  background-color: rgb(206, 199, 199);
}

.scroll {
  scroll-behavior: smooth;
  background-color: white;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  position: fixed;
  right: 15px;
  bottom: 15px;
}

.scroll i {
  color: black;
  padding: 14px;
}

.about_des {
  text-align: left;
}


/* Animation keyframes */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
    /* Change this value for more/less bounce */
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
    /* Start at 0 degrees */
  }

  100% {
    transform: rotate(360deg);
    /* Complete one full rotation */
  }
}



/* media queary */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .about_pic img {
    width: 480px;
    border: 2px solid white;
    margin-bottom: 50px;
  }

  .about_des {
    text-align: center !important;
  }
}

@media only screen and (max-width: 599px) {
  .project-card {
    margin-bottom: 20px;
  }

  .col-sm-12 {
    margin-top: 40px;
    margin-left: 10px;
  }

  .about-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about_des {
    margin-top: 50px;
  }

  .about_pic img {
    width: 340px;
    border: 2px solid white;
  }

  .footer-description {
    padding-left: 10px;
  }

  .last-content,
  .second-last-content,
  .middle-content {
    margin-top: 50px;
  }

  .foot p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 376px) {
  .about_pic img {
    width: 295px;
    border: 2px solid white;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}