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

html,
body {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
}

#video-Background {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

section {
  padding: 1rem 0;
}

.navbar {
  padding: 1rem 2rem;
}

.navbar .navbar-text {
  font-family: poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.nav-item {
  padding: 0.2rem;
  border-radius: 2rem;
  text-shadow: rgb(146, 180, 230);
}

.nav-item a {
  color: white;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4rem 12rem;
}

.text-box {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#start,
#middle,
#end {
  text-align: center;
  font-weight: bold;
  gap: 1rem;
}

#start {
  color: beige;
  font-size: 3em;
  font-family: poppins, sans-serif;
}

#middle {
  font-size: 3rem;
}

#end {
  color: #00eaff;
  font-size: 2.5em;
  font-family: poppins, sans-serif;

}

.glow {
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #ffffff,
      0 0 20px #ffffff;
  }

  to {
    text-shadow:
      0 0 10px #00eaff,
      0 0 20px #00eaff,
      0 0 40px #00eaff,
      0 0 80px #00eaff;
  }
}


.img-box img {
  width: 20rem;
  height: 22rem;
  filter: drop-shadow(1px 1px 20px rgba(232, 227, 78, 0.826));
}

.container-fluid1 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ribbon {
  background-color: #ffffff;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

.ribbon span {
  display: inline-block;
  white-space: nowrap;
  font-weight: bold;
  font-family: poppins, sans-serif;
  font-size: 1.5rem;
  word-spacing: 0.5rem;
}

.ribbon1 span {
  animation: scrollRight 16s linear infinite;
}

.ribbon2 span {
  animation: scrollLeft 16s linear infinite;
}

@keyframes scrollRight {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes scrollLeft {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

#resume {
  border-radius: 4rem;
  padding: 0.5rem 0rem;
  font-size: 1.5rem;
  font-family: poppins, sans-serif;
  font-weight: bold;
  width: 10rem;
  color: bisque;
  margin: auto;
  background: url('animated bg.avif');
  background-size: cover;
}

.skill-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #5ea5c6;
  border: 2px solid #5ea5c6;
  border-radius: 2rem;
  padding: 0.4rem 2rem;
  width: fit-content;
}


.skill-subtitle {
  font-size: 1.8rem;
  color: #00eaff;
  font-family: poppins, sans-serif;
  font-weight: bolder;
}

.skill-subtitle span {
  color: white;
}

.skill-card {
  border: 2px solid #00eaff;
  border-radius: 2rem;
  padding: 2rem;
}

.skill-card h3 {
  color: #ffffff;
  font-family: poppins, sans-serif;
  font-weight: bold;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #0b5c7a;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.95rem;
  transition: 0.3s;
}

.skill-pill:hover {
  background: #00eaff;
  color: black;
  transform: translateY(-3px);
  cursor: pointer;
}

#projects .card {
  background-color: #0a6c8f;
  color: white;
  transition: all 0.4s ease;
}


#projects .card .card-title,
#projects .card p,
#projects .card h6 {
  color: white;
}


#projects .badge {
  font-weight: 600;
}


#projects .card a {
  color: white;
  transition: color 0.3s ease;
}


#projects .card:hover {
  background-color: white;
  transform: translateY(-8px);
}


#projects .card:hover .card-title,
#projects .card:hover p,
#projects .card:hover h6 {
  color: #0a6c8f;
}


#projects .card:hover a {
  color: #0a6c8f;
}

#projects .proj-heading {
  color: #5ea5c6;
  font-family: poppins, sans-serif;
  font-weight: bolder;
  font-size: 2.5rem;
  border: 2px solid #0a6c8f;
  border-radius: 4rem;
  width: fit-content;
  padding: 0.4rem 1rem;
  margin: auto;
}

#blogs .blog-heading {
  color: #5ea5c6;
  font-family: poppins, sans-serif;
  font-weight: bolder;
  font-size: 2.5rem;
  border: 2px solid #0a6c8f;
  border-radius: 4rem;
  width: fit-content;
  padding: 0.4rem 1rem;
  margin: auto;
}

.blog-subtitle {
  font-size: 1.9rem;
  text-align: center;
  color: #ffffff;

}

.blog-subtitle span {
  color: aqua;
}

.blog-container {
  background-color: #5ea5c6;
  border: 2px solid white;
  height: 14rem;
  width: 14rem;
  border-radius: 50%;
  margin: auto;
}

.blog-title {
  font-size: 1.5rem;
  color: white;
  text-align: center;
  margin: 6rem auto;
}

.blog-container {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background-color: #5ea5c6;
  border: 2px solid white;
  perspective: 1000px;
  cursor: pointer;

}

.blog-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.blog-container:hover .blog-inner {
  transform: rotateY(180deg);
}

.blog-front,
.blog-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.blog-front {
  background-color: #5ea5c6;
  color: white;
}

.blog-back {
  background-color: #ffffff;
  transform: rotateY(180deg);
}

.blog-back a {
  text-decoration: none;
  color: #0a6c8f;
  font-weight: bold;
  text-align: center;
}

#certifications .certification-heading {
  color: #5ea5c6;
  font-family: poppins, sans-serif;
  font-weight: bolder;
  font-size: 2.5rem;
  border: 2px solid #0a6c8f;
  border-radius: 4rem;
  width: fit-content;
  padding: 0.4rem 1rem;
  margin: auto;
}

.certificate-sub-title {
  font-size: 1.8rem;
  font-family: poppins, sans-serif;
  color: #ffffff;
  text-align: center;
}

#certificationCarousel {
  max-width: 80%;
  margin: 3rem auto;
}

.carousel-caption.position-static {
  width: max-content;
  margin: auto;
  color: #5ea5c6;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 2px #ffffff;
}

.carousel-caption.position-static:hover {
  color: #0b5c7a;
}

.certificate-image {
  width: 60%;
  height: 100%;
  display: block;
  margin: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 1.5rem;
}

.contact-heading {
  color: #5ea5c6;
  font-family: poppins, sans-serif;
  font-weight: bolder;
  font-size: 2.5rem;
  border: 2px solid #0a6c8f;
  border-radius: 4rem;
  width: fit-content;
  padding: 0.4rem 1rem;
  margin: auto;
}

.container-contact {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-floating {
  width: 30rem;
}

.form-floating .form-control {
  width: 100%;
}

#submit {
  padding: 1rem;
  width: 10rem;
  margin: auto;
  border: none;
  background: #5ea5c6;
  border-radius: 8rem;
  color: #ffffff;
  cursor: pointer;
}

#description{
  height:8rem;
}

.container-thanks {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-thanks p {
  font-size: 1.5rem;
  font-family: poppins, sans-serif;
  color: white;
}

.footer p {
  font-size: 1rem;
  font-family: poppins, sans-serif;
  color: #ffffff;
  border: 0.2rem solid #0b5c7a;
  background: #0b5c7a;
  text-align: center;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:2rem;
}

.no-link{
  display:flex;
  text-decoration: none;
  color:#ffffff;
}

.no-link i{
 font-size: 2rem;
}































































/*media queries*/
@media (max-width: 768px) {

  .about-container {
    flex-direction: column;
    padding: 2rem 1.2rem;
    gap: 2rem;
    text-align: center;
  }

  .text-box {
    max-width: 100%;
    gap: 1.2rem;
  }

  #start {
    font-size: 3rem;
  }

  #middle {
    font-size: 3rem;
  }

  #end {
    font-size: 2rem;
  }

  .img-box img {
    width: 14rem;
    height: 14rem;
  }

  #resume {
    font-size: 1.2rem;
    width: 8rem;
  }

  .ribbon span {
    font-size: 1rem;
    word-spacing: 0.3rem;
  }

    #certifications {
    padding: 1.5rem 0;
  }

  /* Title */
  #certifications .certification-heading {
    font-size: 1.5rem;
    border-radius: 2rem;
  }

  .certificate-sub-title {
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 1.4;
  }

  #certificationCarousel {
    max-width: 80%;
    margin: 1.5rem auto;
  }

  .certificate-image {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: none; 
  }

  .carousel-caption.position-static {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    text-shadow: none;
    color:#ffffff;
  }

  .carousel-caption.position-static p {
    font-size: 0.95rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 1rem;
  }

  .container-contact {
    padding: 0 1rem;
  }
  
  form .form-floating{
    width:20rem;
  }

  #submit {
    width: 100%;
  }

  .container-thanks {
    flex-direction: column;
    gap: 0.5rem;
  }

  .container-thanks p {
    font-size: 1.2rem;
    text-align: center;
  }

  /* Icons */
  .no-link i {
    font-size: 1.8rem;
  }
}



@media (min-width: 992px) {
  .navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background-color: #5ea5c6;
    border-radius: 2.5rem;
    padding: 0.5rem;
  }

  .navbar .nav-link {
    color: white;
    font-family: poppins, sans-serif;
    padding: 0.3rem;
  }

  .navbar .nav-link:hover {
    color: black;
  }
}