
html, body {
  height: -webkit-fill-available ;         /* Full height */
  display: flex;          /* Flexbox for centering */
  justify-content: center; /* Horizontally center */
  align-items: center;    /* Vertically center */
  margin: 0;              /* Remove default margin */
}
* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
  }

  /* For small mobile devices */
@media screen and (max-width: 375px) {
  .hero h2 {
    font-size: 14px; /* Smaller text for small screens */
    padding-top: 10px;
  }
}

/* For tablets and small laptops */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero h2 {
    font-size: 18px;
  }
}

/* For desktops */
@media screen and (min-width: 1025px) {
  .hero h2 {
    font-size: 22px;
  }
}
  
    body {
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(180deg, #0f0f0f, #1b3d2f, #000000); /* Updated background */
      color: #fff;
      overflow-x: hidden;
      font-size: 16px;
  }
  
  header {
    /*background: #121212; /* Dark header */
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);*/
  }
  
  header .logo h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-top: 100px;
    animation: smoothGlow 3s infinite alternate;
  }
  
  header nav ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
  }
  
  header nav ul li {
    display: inline;
    margin: 0 10px;
  }
  
  header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  header nav ul li a:hover {
    color: #1b5145; /* Subtle hover color */
  }
  
  .hero {
    /*background: linear-gradient(to right, #121212, #0f0f0f, #1b1b1b); /* Darker background */
    color: #fff;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 30px;
    animation: smoothFade 4s cubic-bezier(0.6, -0.28, 0.74, 0.05), smoothGlow 3s infinite alternate;
    letter-spacing: 4px;
  }
  
  .hero p {
    font-size: 1.4rem;
    opacity: 0;
    animation: fadeInText 2s 2s forwards;
    margin-top: 85px;
    letter-spacing: 3px;
  }
  /*
  button {
    padding: 12px 25px;
    background-color: #1f5145;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 40px;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  button:hover {
    background-color: #1b3d2f;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  }
  */
  .services {
    padding: 50px 20px;
    text-align: center;
    /*background-color: #181818;*/
  }
  
  .service-card {
    display: inline-block;
    width: 30%;
    background-color: #222;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-in-out forwards;
  }
  
  .service-card:nth-child(1) {
    animation-delay: 0.2s;
  }
  
  .service-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  .service-card:nth-child(3) {
    animation-delay: 0.6s;
  }
  
  .service-card h3 {
    font-size: 1.8rem;
  }
  
  .about, .contact {
    padding: 50px 20px;
    text-align: center;
    /*background-color: #121212;*/
  }
  
  .contact form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact label {
    display: block;
    margin: 10px 0 5px;
  }
  
  .contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  footer {
    /*background-color: #181818;
      position: fixed;
          width: 100%;
              padding: 14px*/
    color: #fff;
    text-align: center;
;
    bottom: 0;

  }
  
  @keyframes smoothGlow {
    0% {
      text-shadow: 0 0 5px #fff, 0 0 10px #1f5145, 0 0 15px #1b5145, 0 0 20px #0f0f0f;
    }
    50% {
      text-shadow: 0 0 10px #fff, 0 0 20px #1b5145, 0 0 20px #1f5145, 0 0 40px #0f0f0f;
    }
    100% {
      text-shadow: 0 0 5px #fff, 0 0 10px #1f5145, 0 0 15px #1b5145, 0 0 20px #0f0f0f;
    }
  }
  
  @keyframes smoothFade {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInText {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes slideUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }



  .social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: #f2f2f2;
    box-shadow: 0px 0px 15px #00000027;*/
    padding: 15px 10px;
    border-radius: 5em;
    margin-top: 100px;
  }
  
  .social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0px 0px 4px #00000027;
    transition: 0.3s;
  }
  
  .social-button:hover {
    background-color: #f2f2f2;
    box-shadow: 0px 0px 6px 3px #00000027;
  }
  
  .social-buttons svg {
    transition: 0.3s;
    height: 20px;
  }
  
  .facebook {
    background-color: #3b5998;
  }
  
  .facebook svg {
    fill: #f2f2f2;
  }
  
  .facebook:hover svg {
    fill: #3b5998;
  }
  
  .github {
    background-color: #333;
  }
  
  .github svg {
    width: 25px;
    height: 25px;
    fill: #f2f2f2;
  }
  
  .github:hover svg {
    fill: #333;
  }
  
  .linkedin {
    background-color: #0077b5;
  }
  
  .linkedin svg {
    fill: #f2f2f2;
  }
  
  .linkedin:hover svg {
    fill: #0077b5;
  }
  
  .instagram {
    background-color: #c13584;
  }
  
  .instagram svg {
    fill: #f2f2f2;
  }
  
  .instagram:hover svg {
    fill: #c13584;
  }
  
  .content {
    display: none;
  }
 /* From Uiverse.io by mobinkakei */ 
.wrapper {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 9999;
  animation: fadeInOut 3s infinite; /* Apply the fadeInOut animation */
}

.circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left: 15%;
  transform-origin: 50%;
  animation: circle7124 .5s alternate infinite ease;
}

@keyframes circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

.circle:nth-child(2) {
  left: 45%;
  animation-delay: .2s;
}

.circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: .3s;
}

.shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.9);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: shadow046 .5s alternate infinite ease;
}

@keyframes shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: .7;
  }

  100% {
    transform: scaleX(.2);
    opacity: .4;
  }
}

.shadow:nth-child(4) {
  left: 45%;
  animation-delay: .2s
}

.shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: .3s;
}

.content.visible {
  display: block;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  animation: fadeIn 2s ease-out; /* Apply fade-in animation */
}

/* Define the fade-in and fade-out animation */
@keyframes fadeInOut {
  0% {
      opacity: 0;   /* Start fully transparent */
  }
  50% {
      opacity: 1;   /* Fade in to full visibility */
  }
  100% {
      opacity: 0;   /* Fade out back to fully transparent */
  }
}

/* Define the fade-in animation */
@keyframes fadeIn {
  0% {
      opacity: 0;   /* Start fully transparent */
  }
  100% {
      opacity: 1;   /* Fade in to full visibility */
  }
}

/* Container for the logo and text */
.logo-container {
  display: flex;
  align-items: center;
  opacity: 1;  /* Initially hide the content */
  justify-content: center;
}

/* Styling for the logo image */
.logo {
  width: 50px;
  height: 88px;
  opacity: 1;  /* Keep it visible */
}

/* Styling for the text */
.logo-text {
  font-size: 40px;
  letter-spacing: 3px;
  margin-top: 0;
  opacity: 1;  /* Keep it visible */
  animation:  smoothGlow 3s infinite alternate;
  margin-left: 12px;

}

@keyframes slideInEffect {
  0% {
    transform: translateX(-100%);  /* Start off-screen to the left */
    opacity: 0;  /* Start fully transparent */
  }
  100% {
    transform: translateX(0);  /* End at the original position */
    opacity: 1;  /* Fully visible */
  }
}
.p {
  color: white;
 }