body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@media only screen and (max-width: 600px){ 
    /* Hero Page */
    .hero-page-headline h1, p {
        display: flex;
        align-items: center;
        padding: 0px 70px;
    }

    /* Work Preview Section */
    @media (max-width: 768px) {
        .preview {
            flex-direction: column;
            gap: 16px;
            padding: 10px;
        }
    
        .work-preview-box {
            width: 100%;
            max-width: 90%;
            height: auto;
            padding: 16px;
        }
    
        .work-preview-box img {
            width: 100%;
            height: auto;
        }
    }
    /* Work Preview Section End */

    
    /* Testimony Preview Section */
#testimonyPreview {
    padding: 32px 80px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--black);
}

.testimony-preview-box {
    width: 537px;
    height: auto;
    border: none;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    background-color: var(--grey);
    color: white;
    filter: drop-shadow(0px 1px 5px rgba(255, 255, 255, 0.31));
    flex: 0 0 auto;
}

.testimony-preview-box p {
    font-size: 20px;
}

.testimony-people {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10%;
}

.testimony-people img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.testimony-people-name {
    display: flex;
    flex-direction: column;
}

.testimony-people-name h5 {
    font-size: 20px;
    font-weight: normal;
}

.testimony-people-name h6 {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.8;
}

/* Responsive Design for Tablets and Phones */
@media (max-width: 1024px) {
    #testimonyPreview {
        padding: 24px;
        gap: 16px;
    }
    
    .testimony-preview-box {
        width: 100%;
        padding: 24px;
    }

    .testimony-preview-box p {
        font-size: 18px;
    }

    .testimony-people img {
        width: 40px;
        height: 40px;
    }

    .testimony-people-name h5 {
        font-size: 18px;
    }

    .testimony-people-name h6 {
        font-size: 12px;
    }
}
/* Testimony Preview Section End  */

/* Service Section */
.services {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.services h1 {
    font-size: 64px;
    margin-bottom: 14px;
    font-weight: 700;
}

.services p {
    font-size: 24px;
    margin-bottom: 80px;
    width: 1056px;
}

.services-boxes {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
}

.services-box {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.services .gradient-lightblue {
    top: 20px;
    left: 600px;
}

.services .gradient-lightblue {
    top: 700px;
    left: 10px;
    z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services h1 {
        font-size: 36px;
    }

    .services p {
        font-size: 18px;
        width: 90%; /* Adjusting width for smaller screens */
    }

    .services-boxes {
        flex-direction: column;
        gap: 20px;
        flex-wrap: wrap;
    }

    .services-box {
        gap: 16px;
        flex-direction: column;
        width: 100%;
        justify-content: center;
    }

    .services .gradient-lightblue {
        top: 10px;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services h1 {
        font-size: 28px;
    }

    .services p {
        font-size: 16px;
        width: 100%;
    }

    .services-boxes {
        gap: 16px;
    }

    .services-box {
        gap: 12px;
    }
}
/* service images */
#service-img-ss,
#service-img-s {
    max-width: 72%;
    height: auto;
    border-radius: 8px;
}

.services .servie-box img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
}

/* Mobile Responsiveness for Images */
@media (max-width: 768px) {
    .services .servie-box img {
        max-width: 80%;  /* Make the images a bit smaller on tablet */
    }
}

@media (max-width: 480px) {
    .services .servie-box img {
        max-width: 80%;  /* Full width images on smaller screens */
    }
}
/* Service Section End */ 

/* About Section */
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.about h1 {
    font-size: 64px;
    font-weight: normal;
    margin-bottom: 48px;
}

.about-datas {
    display: flex;
    gap: 90px;
}

.about-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.about-data h4 {
    font-size: 64px;
    font-weight: 500;
}

.about-data p {
    font-size: 32px;
}

.about-datas hr {
    height: 150px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 100px;
    z-index: 1;
}

.about-headlines {
    width: 577px;
}
.about-headlines button {
    cursor: pointer;
    margin-left: 50px;
}

.about-headlines h1 {
    font-weight: 600;
    margin-bottom: 12px;
}

.about-headlines p {
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 24px;
}

.about-img {
    display: flex;
    gap: 15px;
}

.about-img div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about .gradient-lightblue {
    left: 700px;
    top: 200px;
}

.about .gradient-violet {
    left: 200px;
    top: 500px;
}

/* Media Queries for Smaller Screens */

@media screen and (max-width: 1200px) {
    .about-datas {
        gap: 40px;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
    }

    .about-headlines {
        width: 90%;
        text-align: center;
    }

    .about-img {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about h1 {
        font-size: 48px;
    }

    .about-data h4 {
        font-size: 48px;
    }

    .about-data p {
        font-size: 28px;
    }

    .about .gradient-lightblue {
        left: 500px;
        top: 300px;
    }

    .about .gradient-violet {
        left: 150px;
        top: 400px;
    }
}

@media screen and (max-width: 768px) {
    .about {
        padding-top: 50px;
    }

    .about h1 {
        font-size: 36px;
    }

    .about-datas {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .about-data h4 {
        font-size: 36px;
    }

    .about-data p {
        font-size: 24px;
    }

    .about-container {
        flex-direction: column;
        gap: 32px;
        margin-top: 50px;
    }

    .about-headlines {
        width: 90%;
        text-align: center;
    }

    .about-img {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .about .gradient-lightblue {
        left: 200px;
        top: 200px;
    }

    .about .gradient-violet {
        left: 50px;
        top: 300px;
    }
}

@media screen and (max-width: 480px) {
    .about h1 {
        font-size: 28px;
    }

    .about-datas {
        gap: 16px;
    }

    .about-data h4 {
        font-size: 32px;
    }

    .about-data p {
        font-size: 20px;
    }

    .about-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .about-headlines {
        width: 100%;
        text-align: center;
    }

    .about-img {
        flex-direction: column;
        gap: 25px;
    }

    .about .gradient-lightblue {
        left: 100px;
        top: 100px;
    }

    .about .gradient-violet {
        left: 20px;
        top: 150px;
    }
}

/* About Section End  */



    /* Projects */  
    .work,
    .work h1,
    .work-boxes,
    .work-box,
    .work-box img,
    .work-box h4,
    .social-media,
    .work-tags,
    .footer,
    .bottom-footer,
    .newsletter,
    .footer-links,
    .footer-link,
    .socials {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: auto;
      height: auto;
    }
    .work-boxes {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 45px;
        margin: 20px;
    }
    .work-box{
        width: auto;
        margin: 0 0 20px;
        height: auto;
        overflow: hidden;
        
    }
  
    .work-box img {
      width: 100% !important;
      height: auto !important;
    }

    /* Footer */
    .social-media a {
      margin: 5px;
    }
  
    .newsletter form {
      flex-direction: column;
    }
  
    .newsletter input[type="email"] {
      width: 80%;
      margin-bottom: 10px;
    }

    .footer-link {
        margin: 20px;
    }
  
    .footer-links .navigation {
      align-items: center;
    }
  
}