* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  scroll-behavior: smooth;
}

body {
  background-color: rgb(0, 0, 0);
  color: white;
  font-family: "Poppins", sans-serif;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  width: 100%;
  background-color: #000000;
  margin-top: px;
  margin-left: 30px;
  

}
nav ul {
  display: flex;
  justify-content: center;
  margin-left: 380px;
}

nav ul li {
  list-style: none;
  
  
  margin: 0 10px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s;
}

a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 3px;
  left: 0;
  background: #E5B80B;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #e5b80b;
}

nav ul li a:hover::after {
  width: 100%;
}

main hr {
  border: 0;
  background-color: white;
  height: 1.2px;
  margin: 40px 84px;
}

.hr-style-1 {
  border: 0;
  background-color: white;
  margin-top:250px;
  height: 1.2px;
}

.hr-style-2 {
  border: 0;
  background-color: white;
  height: 1.2px;
  margin: 50px 84px;
}

.hr-style-3 {
  border: 0;
  background-color: white;
  height: 1.2px;
}

.hr-style-4 {
  border: 0;
  background-color: white;
  height: 1.2px;
  margin-top: 100px;
  margin-left: 84px;
  margin-right: 84px;
}

.Left {
  font-size: 1.2rem;
  justify-content: left;
  align-content: left;
}

.firstSection {
  margin: 100px auto;
  width: 100%;
  justify-content: left;
  align-content: left;

}



.leftSection {
  font-size: 3rem;
  color: rgb(255, 255, 255);
  margin: 20px;
}

.circle {

  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  text-align: end;
  margin-left: -200px;
  
}

.circle img {
  margin-right: -80px;
  width: 70%;
  /* The image will fill the circle */
  height: 60%;
  /* The image will fill the circle */
  object-fit: fill;
  /* Ensures the image keeps aspect ratio and covers the circle */

  /* Smooth hover transition */
}

.circle img:hover {
  transform: scale(1.1);
  /* Zooms the image slightly on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  /* Adds more shadow when hovered */
}

.purple {
  color: #e5b80b;
}

.secondsection {
  text-align: justify;
}

.thirdsection {

  list-style: none;
}

.thirdsection li {
  margin: 20px 0;
  padding: 10px;
}

.bar {
  background: #353b48;
  display: block;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px (0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;

}

.bar:hover {
  box-shadow: 0 14px 28px (0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.bar span {
  height: 20px;
  float: left;
  background: linear-gradient(135deg,
      rgba(255, 223, 0, 1) 0%,
      rgba(255, 223, 0, 0.5) 100%);
}

.HTML {
  width: 70%;
  animation: HTML 3s;
}

.CSS {
  width: 60%;
  animation: CSS 3s;
}

.HADOOP {
  width: 60%;
  animation: HADOOP 3s;
}

.PYTHON {
  width: 50%;
  animation: PYTHON 3s;
}

.SQL {
  width: 70%;
  animation: SQL 3s;
}

.PYTHON-AUTOMATION {
  width: 60%;
  animation: PYTHON-AUTOMATION 3s;
}

.SPARK {
  width: 45%;
  animation: SPARK 3s;
}

@keyframes HTML {
  0% {
    width: 0%;
  }

  100% {
    width: 70%;
  }
}

@keyframes CSS {
  0% {
    width: 0%;
  }

  100% {
    width: 60%;
  }
}

@keyframes HADOOP {
  0% {
    width: 0%;
  }

  100% {
    width: 60%;
  }
}

@keyframes SQL {
  0% {
    width: 0%;
  }

  100% {
    width: 70%;
  }
}

@keyframes PYTHON {
  0% {
    width: 0%;
  }

  100% {
    width: 50%;
  }
}

@keyframes PYTHON-AUTOMATION {
  0% {
    width: 0%;
  }

  100% {
    width: 60%;
  }
}

@keyframes SPARK {
  0% {
    width: 0%;
  }

  100% {
    width: 45%;
  }
}


h2 {
  padding: 0;
  justify-content: left;
  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: 30px auto;

}

h3 {
  margin-bottom: -500px;
  padding: 0;
  justify-content: left;
  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: auto;

}

h6 {

  padding: 0;
  justify-content: left;
  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: auto;

}

.thirdsection h5 {
  padding: 0;
  justify-content: center;
  align-content: center;
  text-align: justify;
  font-size: 1rem;
  color: rgb(255, 255, 255);
  margin: 30px auto;
}

h7 {
  margin-top: -1000px;
  padding: 0;

  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: auto;
  margin-left: 150px;
}

h8 {
  margin-top: -1000px;
  padding: 0;

  font-size: 2rem;
  color: rgb(255, 255, 255);
  margin: auto;
  margin-left: 150px;
}

p {
  font-size: 1rem;

  margin: 20px 0;
}

.pc {
  height: 50vh;
  width: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, #e0e0e0, #a0a0a0);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-left: 200px;
  margin-right: 250px;
  margin-top: -200px;
}

.pc img {
  object-fit: cover;
}

/* Base styles for the fourth section */
.fourthsection {
  display: flex;
  /* Use flexbox for layout */
  justify-content: space-between;
  /* Space out items */
  align-items: flex-start;
  /* Align items at the top */
  padding: 50px;
  /* Padding around the section */
}

.fourthsection a{
  text-decoration: none;
  color: white;
}

/* Video container styles */
.video-container {
  margin: 0 30px;
  /* Margin for video container */
  width: fit-content;
  /* Adjust width */
}

.video-container video {
  max-width: 400px;
  max-height: 600px;
  display: block;
}

/* Image grid styles */
.image-grid {
  display: grid;
  /* Use grid layout */
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 20px;
  /* Space between grid items */
  width: 100%;
  /* Full width for the grid */
}

/* Individual image container styles */
.image-container,
.img-container,
.imge-container,
.img1-container {
  position: relative;
  /* Positioning for overlays */
  height: 250px;
  /* Fixed height for images */
}

.image-container img,
.img-container img,
.imge-container img,
.img1-container img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overlay styles */
.image-container .overlay,
.img-container .overlay,
.imge-container .overlay,
.img1-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 184, 11, 0.7);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.5em;
  font-weight: bold;
}

.image-container:hover .overlay,
.img-container:hover .overlay,
.imge-container:hover .overlay,
.img1-container:hover .overlay {
  opacity: 1;
  /* Show overlay on hover */
}

.endorsements p {
  font-size: 1em;
  color: #ffffff;
  margin-bottom: 20px;
  justify-content: center;
  justify-items: center;
  text-align: justify;
  display: flex;
  margin: 0 200px;
  margin-top: 50px;
}

.endorsement-container {
  display: flex;
  justify-content: center;

  flex-wrap: wrap;
  gap: 20px;
}

.endorsement-card {
  background-color: #363635;
  border-radius: 10px;

  padding: 20px;
  width: 300px;
  text-align: left;
  position: relative;
}

.endorsement-card p {
  margin: 10px 0;
}

.author {
  font-weight: bold;
  margin-top: 20px;
}

.title {
  color: #999;
  font-size: 0.9em;
}

.contact-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #000;
}

.contact-section h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
}

.contact-section p {
  font-size: 1rem;
  color: #888;
  margin-bottom: 40px;
  margin-left: 200px;
  margin-right: 200px;
  text-align: justify;
}

.contact-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  width: 250px;

  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.contact-item a {
  text-decoration: none;
}

.contact-item:hover {
  background-color: #333;
}

h9 {
  margin: 0;
  justify-content: center;
  font-size: 1.2em;
  color: #ffb400;
  margin-left: 10px;
}

.contact-item p {
  font-size: 1em;
  margin: 10px 0 0;
  margin-left: 8px;
}

.contact-item p {
  justify-content: center;
}

.btn-4,
.btn-4 *,
.btn-4 :after,
.btn-4 :before,
.btn-4:after,
.btn-4:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-4 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: hwb(0 100% 0%);
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
}

.btn-4:disabled {
  cursor: default;
}

.btn-4:-moz-focusring {
  outline: auto;
}

.btn-4 svg {
  display: block;
  vertical-align: middle;
}

.btn-4 [hidden] {
  display: none;
}

.btn-4 {
  border-radius: 99rem;
  border-width: 2px;
  overflow: hidden;
  padding: 0.8rem 3rem;
  position: relative;
}

.btn-4 span {
  mix-blend-mode: difference;
}

.btn-4:before {
  --tilt: 1.2rem;
  background: #fff;
  -webkit-clip-path: polygon(0 0,
      calc(100% - var(--tilt)) 0,
      100% 100%,
      0 100%);
  clip-path: polygon(0 0, calc(100% - var(--tilt)) 0, 100% 100%, 0 100%);
  content: "";
  display: block;
  height: 100%;
  left: calc(-100% - var(--tilt));
  position: absolute;
  top: 0;
  transform: translateX(var(--progress, 0));
  transition: transform 0.2s ease;
  width: calc(100% + var(--tilt));
}

.btn-4:hover:before {
  --progress: 100%;
}

@media (max-width: 992px) {

  /* Your styles for devices with width less than 993px go here */
  .secondsection-btn {
    text-align: center;
  }

  .circle {
    text-align: center;
    margin: 50px 0;
  }

  .leftSection {
    font-size: 20px;
  }

  .endorsements p {
    text-align: justify;
    margin: 0;
  }

  .contact-section p {
    text-align: justify;
    margin: 0;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .fourthsection {
    flex-direction: column;
    /* Stack items vertically for smaller devices */
    align-items: center;
    /* Center items horizontally */
    padding: 20px;
    /* Reduced padding for smaller screens */
  }

  .video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    /* Center video container horizontally */
    width: 90%;
    /* Full width for video container */
  }

  .video-container video {
    max-width: 100%;
    /* Ensure video fits within the container */
    height: auto;
    /* Maintain aspect ratio */
  }

  .image-container,
  .img-container,
  .imge-container,
  .img1-container {
    width: 90%;
    /* Full width for image containers */
    height: auto;
    /* Auto height for images */
    margin: 20px auto;
    /* Center image containers */
  }
}