@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}
.white{
  color: red;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: black;
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s ease;
  margin-top: 0; /* Removed margin-top */
}

.logo{
    font-size: 3rem;
    color: #d400ff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color:  #d400ff;
    border-bottom: 3px solid  #d400ff;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid  #d400ff;
        border-bottom: 3px solid  #d400ff;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid  #d400ff;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color:  #d400ff;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid ;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid  #d400ff;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color:  #d400ff;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #d400ff;
    box-shadow: 0  0 25px #d400ff;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #d400ff;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #d400ff;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #d400ff;
    color: black;
    box-shadow: 0 0 25px #d400ff;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #d400ff;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #d400ff;
    }
}

@keyframes words{
    0%, 33.3%{
        content: "Long-Form Editor";
    }
    33.33%, 66.66%{
        content: "Short-Form Editor";
    }
    66.66%, 100%{
        content: "Youtuber";
    }
   
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

.title {
    color: #d400ff; /* Title color same as the border */
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px; /* Increased space between the title and the grid */
  }
  
  .clients-title{
    color:#d400ff;
    font-size: 6em;
    text-align: center; /* Centers text horizontally */
    margin: 0 auto; /* Ensures the element is centered if it has a width */
    display: flex; /* Allows vertical centering */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    height: 2vh; /* Makes the element take up the full viewport height for vertical centering */
  }
  .container {
    max-width: 80%; /* Limits the container width to 80% of the viewport */
    margin: 0 auto; /* Centers the container horizontally */
    margin-top: -400px;
  }
  
  .video-grid {
    background-color: rgba(212, 0, 255, 0.5); /* Translucent background with 50% opacity */
    border: 2px solid #d400ff; /* Border same color as the background */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Padding inside the grid */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px; /* Increased spacing between boxes */
  }
  
  .video-box {
    background-color: black;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0; /* Makes sure the box does not add extra height */
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    position: relative;
  }
  
  .video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .cta-container {
    text-align: center; /* Centers the button horizontally */
    margin-top: 40px; /* Increased space between the grid and the button */
    margin: 0 auto;
    display: inline-block;
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #d400ff;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #d400ff;
    transition: 0.3s ease;
    cursor: pointer;
  }
  
  .btn:hover {
    transform: scale3d(1.03);
    background-color: #d400ff;
    color: black;
    box-shadow: 0 0 25px #d400ff;
  }
  .contact-container {
    background-color: rgba(212, 0, 255, 0.5); /* Translucent background with 50% opacity */
    border: 2px solid #d400ff; /* Border same color as the background */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Padding inside the box */
    max-width: 10%; /* Limits the container width to 80% of the viewport */
    margin: 40px auto; /* Centers the container horizontally and adds margin */
  }
  
  .contact-title {
    color: #d400ff; /* Title color same as the border */
    text-align: center;
    font-size: 2em;
    margin-top: -50px; /* Space between the title and the icons */
    margin-bottom: -30px;
  }
  
  .social-container {
    display: flex;
    justify-content: center; /* Centers icons horizontally */
    gap: 15px; /* Space between icons */
  }
  
  .social-icon {
    display: inline-block;
    color: #d400ff; /* Icon color */
    font-size: 2em; /* Adjust icon size */
    transition: 0.3s ease;
  }
  
  .social-icon:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
    color: black; /* Changes color on hover */
  }
  
  .testimonial-section {
    max-width: 80%; /* Limits the section width */
    margin: 60px auto; /* Centers the section horizontally and adds margin */
    padding: 30px; /* Increased padding for more spacing */
  }
  
  .testimonial {
    background-color: rgba(212, 0, 255, 0.1); /* Light translucent background */
    border: 3px solid #d400ff; /* Thicker border color same as the background */
    border-radius: 20px; /* Larger rounded corners */
    padding: 30px; /* Increased padding inside the section */
    display: flex;
    align-items: center;
    margin-bottom: 60px; /* Increased space between testimonials */
  }
  
  .testimonial.reverse {
    flex-direction: row-reverse; /* Reverses the order for the second testimonial */
  }
  
  .testimonial-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Larger space between circle and text */
  }
  
  .circle {
    width: 150px; /* Larger circle diameter */
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black; /* Background color for the circle */
    border: 3px solid #d400ff; /* Thicker border color same as the background */
  }
  
  .circle img {
    width: 100%;
    height: auto;
  }
  
  .text-content {
    max-width: 600px; /* Increased width of the text content */
  }
  
  .text-content h3 {
    margin: 0 0 15px 0;
    font-size: 2.5em; /* Larger font size for the header */
    color: #d400ff; /* Header color */
  }
  
  .text-content p {
    margin: 0;
    font-size: 1.2em; /* Larger font size for the body text */
    color: #333; /* Body text color */
  }

  .scrolling-section {
    overflow-x: auto;
    height: 450px; /* Adjusted height closer to the box height */
    padding: 0 0 10px 0; /* Reduced padding to remove excess space */
  }
  
  .scroll-container {
    display: flex;
    margin-left: 70px;
    gap: 20px;
    height: 200px;
  }
  
  .scroll-box {
    flex: 0 0 23%;
    height: 400px; /* Fixed height for all boxes */
    background-color: rgba(212, 0, 255, 0.1);
    border: 3px solid #d400ff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-sizing: border-box; /* Ensures padding is included within the height */
  }
  
  .circle {
    width: 180px; /* Larger circle diameter */
    height: 180px;
    margin: 0 auto 20px auto; /* Centers the circle and adds margin below */
    border-radius: 50%;
    overflow: hidden;
    background-color: black;
    border: 3px solid #d400ff;
  }
  
  .circle img {
    width: 100%;
    height: auto;
  }
  
  .scroll-box h3 {
    margin: 10px 0;
    font-size: 1.8em;
    color: #d400ff;
  }
  
  .scroll-box p {
    font-size: 1.2em;
    color: #333;
  }
  
  /* Custom scrollbar styling */
  .scrolling-section::-webkit-scrollbar {
    height: 10px;
  }
  
  .scrolling-section::-webkit-scrollbar-track {
    background: rgba(212, 0, 255, 0.1); /* Faint background color to match design */
    border-radius: 5px;
  }
  
  .scrolling-section::-webkit-scrollbar-thumb {
    background-color: #d400ff; /* Scrollbar color */
    border-radius: 5px;
    border: 2px solid rgba(212, 0, 255, 0.1); /* Matches design with a border */
  }
  
  .scrolling-section::-webkit-scrollbar-thumb:hover {
    background-color: #a600cc; /* Darker shade on hover */
  }
  
html {
  scroll-behavior: smooth; /* Smooth scrolling effect */
  font-size: 62.5%;
}
/* Other CSS remains the same */


.scrolling-section {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  gap: 20px; /* Adjust space between boxes */
  justify-content: space-between; /* Distribute space between boxes */
  padding: 20px;
}

.scrolling-section .box {
  flex: 1 1 calc(25% - 20px); /* Adjust box size to fit 4 per row */
  max-width: calc(25% - 20px); /* Make sure the boxes don't exceed this width */
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 768px) {
  .scrolling-section .box {
      flex: 1 1 calc(50% - 20px); /* 2 boxes per row on medium screens */
      max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .scrolling-section .box {
      flex: 1 1 calc(100% - 20px); /* 1 box per row on small screens */
      max-width: calc(100% - 20px);
  }
}

.cta-container {
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  margin: 40px auto; /* Adds space above and below the button */
}



.btn {
  display: inline-block;
  padding: 2rem 5.6rem; /* Increased padding for larger button */
  background-color: black;
  border-radius: 4rem;
  font-size: 3.2rem; /* Increased font size */
  color: #d400ff;
  letter-spacing: 0.3rem;
  font-weight: 600;
  border: 2px solid #d400ff;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale3d(1.03);
  background-color: #d400ff;
  color: black;
  box-shadow: 0 0 25px #d400ff;
}


.scroll-box p {
  color: white; /* Change the text color to white */
}
