@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes levitate {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes cursorGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins";
  cursor: none !important;
}
:root {
  --bg-color: #000000;
  --second-bg-color: #242424;
  --text-color: white;
  --main-color: #ff12ff;
  --logo-hover:#DF8908;
  --bubble-color: rgba(223, 137, 8, 0.1);
}
html {
  font-size: 60%;
  overflow-x: hidden;
}
body {
  background: var(--bg-color);
  position: relative;
  overflow-x: hidden;
  color: var(--text-color);
}

.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 4rem 15%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
#menu-icon{
  font-size: 3.5rom;
  color: var(--main-color);
  display: none;
}
.logo{
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor:pointer;
  transition: 0.3s ease-in-out;
  display: inline-block;
  animation: levitate 3s ease-in-out infinite;
}
.logo:hover{
  transform: scale(1.1);
  animation-play-state: paused;
}
span{
  background : linear-gradient(
    270deg,
    #DF8908,
    #ff12ff
  );
  background-clip: text;
  color: transparent;
}
.navbar a{
  font-size: 1.8rem;
  color: var(--text-color);
  padding-top: 2rem;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
}
.navbar a:hover{
  color: var( --main-color);
  border-bottom: 3px solid var( --main-color);
}
.gradient-btn{
  font-size: 1.8rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  background: linear-gradient(
    270deg,
    #DF8908,
    #ff12ff
  );
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  color: var(--text-color);
  border: none;
  text-wrap: nowrap;
}
.gradient-btn:hover{
  transform: scale(1.05);
}

section{
  min-height: 100vh;
  padding: 10rem 15%;
}
.home{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15rem;
}
.home-content{
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
}
.home-content h1{
  color: var(--text-color);
  font-size: 6rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
}
.home-content h3{
  margin-top: 1.5rem;
  color: var(--text-color);
  margin: 1 rem 0;
  font-size: 3rem;
}
.home-content p{
  margin-top: 1.5rem;
  color: var(--text-color);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.53;
  
}
.home-img img{
  width: 24vw;
  border-radius: 50%;
  background: linear-gradient(
    270deg,
    #DF8908,
    #ff12ff
  );
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
  box-shadow: 0 0 25px var(--logo-hover);
  transition: 0.4s ease-in-out;
}


.home-img img:hover{
  box-shadow: 0 0 25px var(--logo-hover);
  box-shadow: 0 0 50px var(--main-color);
  box-shadow: 0 0 100px var(--main-color);
}
.social-icons a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var( --main-color);
  border-radius: 50%;
  color: var( --main-color);
  margin: 3rem 0.5rem;
  transition: 0.3s ease-in-out;
}

.social-icons a:hover{
  color: var( --text-color);
  background-color: var( --main-color);
  transform: scale(1.2)translateY(-5px);
  box-shadow: 0 0 25px var( --main-color);
}
.btn-group{
  display: flex;
  gap: 1.5rem;
}
.btn{
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var( --main-color);
  box-shadow: 0 0 25px var( --main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}
.btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 25px var( --main-color),
              0 0 50px var( --main-color);
    
}
.btn-group a:nth-of-type(2){
  background-color: black;
  color: var( --main-color);
  border: 2px solid var( --main-color);
  box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
  box-shadow: 0 0 25px var( --main-color);
  background-color: var( --main-color);
  color: black;
}

.about{
display: flex;
justify-content: center;
align-items: center;
gap: 10rem;
background: var(--bg-color);
}


.about-img img{
width: 20vw;
border: 50%;
transition: 0.4s ease-in-out;
}
.about-content h2{
color: var(--text-color);
font-size: 7rem;
text-align: left;
}
.about-content p {
color: var(--text-color);
font-size: 1.8rem;
}

::-webkit-scrollbar{
  background-color: transparent;
  width : 15px;
}
  
::-webkit-scrollbar-thumb{
  background: linear-gradient(
    180deg,
    #DF8908,
    #ff12ff
  );
}
::-webkit-scrollbar-track{
  background-color: var(--bg-color);
}

.heading{
  text-align: center;
  font-size: 7rem;
  margin: 5rem 0;
  }
  
  .services{
  background-color: var( --bg-color);
  color: black;
  position: relative;
  }
  .services h2{
  color: var(--text-color);
  }

  .services p{
    color: var(--text-color);
  }
  .services-container{
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
  align-items:center;
  }
  .service-box{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var( --main-color);
    height: 600px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
  }
    .service-box:hover{
    background: var( --second-bg-color);
    color: var( --main-color);
    border: 5px solid var( --main-color);
    transform: scale(1.03);
    }

    .service-info{
      display: flex;
      flex-direction: column;
      text-align: center;
      justify-content: center;
      align-items: center;
      padding: 5rem;
    }
    .service-info h4{
      font-size: 4rem;
      margin: 2rem 0;
      Font-weight: 800;
    }
    .service-info p{
      font-size: 1.4rem;
      font-weight: 600;
      line-height: 1.7;
    }
    .service-info i{
      font-size: 8rem;
    }

    .project{
      background-color: var(--bg-color);
    }

    .heading {
      color: white;
    }
    .projects-box{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax
      (350px, 1fr));
      place-items: center;
      gap: 3rem;
      row-gap: 5rem;
    }
      .project-card{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      
      background-color: black; /* Change background to black */
      border: 2px solid var( --main-color);
      border-radius: 3rem;
      gap: 2rem;
      padding: 5rem 2rem;
      overflow: hidden;
      cursor: pointer;
      transition:0.03s ease-in-out;
      
      }
      .project-card:hover{
        box-shadow: 0 0 25px var( --main-color),
        0 0 50px var( --main-color);
        transform: scale(1.02);
      }
        .project-card img{
        max-width: 300px;
        border-radius: 2em;
        object-fit: cover;
        }
        .project-card h3{
        font-size: 3rem;
        }
        form {
          display: flex;
          flex-direction: column;
          gap: 1.5rem;
        }
        
        form input,
        form textarea {
          background-color: var(--bg-color);
          border: 2px solid var(--main-color);
          border-radius: 0.5rem;
          color: var(--text-color);
          font-size: 1.6rem;
          padding: 1.5rem;
          resize: none;
        }
        
        form textarea {
          height: 15rem;
        }
        
        .gradient-btn {
          align-self: flex-end;
        }

        .contact form .input-box input,
        .contact form textarea{
          width: 100%;
          padding: 2.5rem;
          font-size: 1.8rem;
          color: var( --text-color);
          background-color: var( --bg-color);
          border-radius: 2rem;
          border: 2px solid var( --main-color);
          margin: 1.5rem 0;
          resize: none;
        }

          I

          .footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: var(--second-bg-color); /* Ensure this background color is correct */
            padding: 2rem 15%;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .navbar {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .copyright {
          color: white; /* Change text color to white */
          font-size: 1.2rem; /* Adjust font size as needed */
          margin-top: 1rem; /* Add some margin if needed */
          text-align: center; /* Center align the text */
          background-color: #242424;
      }
      @media(max-width:1285px){
        #menu-icon{
          font-size: 48px;
          display:block;
        }
        .navbar{
          position: absolute;
          top: 100%;
          right: 0;
          width: 50%;
          padding: 1rem 3rem;
          background: rgba(0, 0, 0, 0.8);
          border-bottom-left-radius: 2rem;
          border-left: 2px solid var(--main-color);
          border-bottom: 2px solid var(--main-color);
          display: none;

        }
        
        .navbar a{
          display: block;
          font-size: 2rem;
          margin: 3rem 0;
          color: var(--text-color);

        }
        .navbar.active{
          display: block;
        }
        .home{
          flex-direction: column-reverse;
          margin: 5rem 0;
          gap: 5rem;
        }
        .home-content{
          align-items: center;
          text-align: center;
          }
        .home-img img{
          max-width: 56vw;
        }
        .about{
          flex-direction: column-reverse;
          text-align: center;
        
        }
        .about h2{
          text-align: center;
          margin: 2rem 0;

        }
        .about img{
          width: 52vw;
        }
      }

      /* Cursor styles */
      body, a, button, input, textarea, 
      .service-box, .service-box:hover, 
      .service-box *, .service-box:hover * {
        cursor: none !important;
      }
      
      .custom-cursor {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
        background: linear-gradient(45deg, #DF8908, #ff12ff, #DF8908);
        background-size: 200% 200%;
        animation: cursorGradient 3s ease infinite;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 10px rgba(223, 137, 8, 0.5);
      }
      
      .bubble {
        position: fixed;
        width: 10px;
        height: 10px;
        background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(223, 137, 8, 0.4));
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        animation: bubble-rise 3s ease-in forwards;
      }

      @keyframes bubble-rise {
        0% { 
          opacity: 0.8; 
          transform: translateY(0) scale(1); 
        }
        100% { 
          opacity: 0; 
          transform: translateY(-100px) scale(0.5); 
        }
      }

      #bubble-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 9998;
      }

      /* Light mode styles */
      body.light-mode {
        --bg-color: #f0f0f0;
        --second-bg-color: #e0e0e0;
        --text-color: #333333;
      }

      body.light-mode .header {
        background-color: rgba(240, 240, 240, 0.3);
      }

      body.light-mode .service-box {
        background-color: var(--main-color);
        color: var(--text-color);
      }

      body.light-mode .service-box:hover {
        background: var(--second-bg-color);
        color: var(--main-color);
      }

      body.light-mode .project-card {
        background-color: black; /* Set background to black in light mode */
        color: var(--text-color); /* Ensure text color is appropriate */
      }

      body.light-mode .footer {
        background-color: #f0f0f0; /* Set footer background to match light mode background */
      }

      body.light-mode .copyright {
        color: var(--text-color);
        background-color: var(--second-bg-color);
      }

      body.light-mode .about {
        background-color: var(--bg-color);
      }

      body.light-mode .services {
        background-color: var(--bg-color);
      }

      body.light-mode .heading {
        color: black;
      }

      body.light-mode .contact h2 {
        color: black;
      }

      body.light-mode ::-webkit-scrollbar-track {
        background-color: transparents;
      }

      .theme-switch-container {
        display: flex;
        align-items: center;
        margin-left: 20px; /* Space between navbar and switch */
      }

      .theme-switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
        margin: 0 10px; /* Space between icons and switch */
        background-color: #6a0dad; /* Set a solid background color for the switch */
        border-radius: 34px; /* Ensure the switch has rounded corners */
      }

      .theme-switch input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #6a0dad; /* Dark mode background */
        transition: .4s;
        border-radius: 34px; /* Ensure the slider has rounded corners */
      }

      .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white; /* Slider knob color */
        transition: .4s;
        border-radius: 50%;
      }

      input:checked + .slider {
        background-color: orange; /* Light mode background when checked */
      }

      input:checked + .slider:before {
        transform: translateX(26px);
      }

      /* Light mode styles for the slider */
      body.light-mode .slider {
        background-color: #ff12ff; /* Change to your desired color in light mode */
      }

      /* Icon styles */
      #moon-icon {
        color: purple; /* Moon icon color in dark mode */
        font-size: 2rem; /* Increase size */
      }

      #sun-icon {
        color: orange; /* Sun icon color in light mode */
        font-size: 2rem; /* Increase size */
      }

      /* Light mode styles */
      body.light-mode .navbar {
        background: rgba(0, 0, 0, 0); /* Lighter background for the hamburger menu */
      }

      body.light-mode .navbar a {
        color: black; /* Change text color to black */
      }

      @media(max-width:1285px) {
        body.light-mode .navbar {
          background: rgba(240, 240, 240, 0.8); /* Lighter background for the hamburger menu in light mode */
        }
      }
      @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
        .custom-cursor {
            display: none; /* Hide the custom cursor on mobile */
        }
    }

    .floating-icons {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none; /* Prevent interaction with the icons */
      z-index: 0; /* Ensure it's behind other content */
    }

    .floating-icon {
      position: absolute;
      font-size: 50px; /* Adjust size as needed */
      opacity: 0.7; /* Slightly transparent */
      animation: float 6s ease-in-out infinite; /* Animation for floating effect */
    }

    @keyframes float {
      0% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-20px); /* Move up */
      }
      100% {
        transform: translateY(0); /* Move back down */
      }
    }

    /* Optional: Add random movement */
    .floating-icon:nth-child(1) {
      left: 10%;
      animation-delay: 0s;
    }

    .floating-icon:nth-child(2) {
      left: 50%;
      animation-delay: 1s;
    }

    .floating-icon:nth-child(3) {
      left: 80%;
      animation-delay: 2s;
    }

    body.light-mode .floating-icon {
      opacity: 0.5;
    }

    .service-icon {
      position: absolute;
      transition: transform 0.3s ease-in-out;
      width: 100px; /* Adjust width as needed */
      height: 100px; /* Adjust height as needed */
    }

    .rocket-icon {
      top: 10%; /* Adjust as needed */
      right: 5%; /* Adjust as needed */
    }

    .cloud-icon {
      bottom: 10%; /* Adjust as needed */
      left: 5%; /* Adjust as needed */
    }

    .service-icon:hover {
      transform: scale(1.1); /* Same hover effect as the logo */
    }

    /* Add this to your existing keyframes section */
    @keyframes levitate {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    /* Apply the levitate animation to the icons */
    .phone-icon,
    .rocket-icon,
    .cloud-icon {
      animation: levitate 3s ease-in-out infinite; /* Add levitate effect */
    }

    /* Remove hover effect from the icons */
    .phone-icon,
    .rocket-icon,
    .cloud-icon {
      width: 150px;  /* Set width to 150px */
      height: 150px; /* Set height to 150px */
     animation: levitate 3s ease-in-out infinite; /* Add levitate effect */
}

    .envelope-icon {
      position: absolute; /* Change to absolute positioning */
      bottom: 10%; /* Adjust as needed */
      right: 5%; /* Adjust as needed */
    }

    .phone-icon {
      bottom: 10%; /* Adjust as needed */
      right: 5%; /* Adjust as needed */
    }

    @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
      .cloud-icon {
        bottom: 1%; /* Adjust this value to lower the cloud icon */
      }
    }

      @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
        .phone-icon {
          bottom: 1%; /* Adjust this value to lower the cloud icon */
        }
    }
    @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
      .theme-switch-container {
        position: absolute; /* Position it absolutely */
        right: 10px; /* Align to the right */
        top: 30; /* Adjust top position as needed */
        z-index: 1000; /* Ensure it is above other elements */
      }
    
      .header {
        display: flex;
        justify-content: space-between; /* Space between elements */
        align-items: center; /* Center items vertically */
      }
    
      .logo {
        position: absolute; /* Position it absolutely */
        left: 11px; /* Align logo to the left */
        margin-left: 0; /* Remove any margin */
      }
    
      #menu-icon {
        position: absolute; /* Position it absolutely */
        left: 50%; /* Center it horizontally */
        transform: translateX(-50%); /* Adjust for centering */
      }
    }
    @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
      .services-container {
        justify-content: center; /* Center the service boxes */
      }
    }
    @media(max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
      .cloud-icon {
        display: none; /* Hide the cloud icon on mobile */
      }
    }
