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

body {
    font-family: 'poppins';
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 9px;
    background-color: #ffffff;
    margin: 1.5rem 12rem;
    color: black;
}

.name-top {
    font-size: 1.1rem;
    font-weight: 900;
    margin-right: 6rem;
    margin-left: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.name-middle {
    font-size: 0.6rem;
    margin-left: 28%;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.name-bottom {
    font-size: 0.3rem;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 39%;
}

.nav-link {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link a {
    text-decoration: none;
    color: black;
}

.btn-cv {
    background-color: #FF6600;
    color: white;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.9s ease;
}

.btn-cv:hover {
    background-color: #00e60c;
}

/* Hero Section */
.hero {
    padding: 41px 80px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin: 2rem 7rem;
}

.text-section {
    flex: 1;
    min-width: 300px;
    text-align: left;
    justify-content: center;
}

.image-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.greeting {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    margin-bottom: 8px;
}

.name {
    color: #FF6600;
}

.title {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    gap: 2px;
    margin-bottom: -16px;
}

.description {
    font-size: 15px;
    color: #333;
    margin-top: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-hire {
    background-color: #FF6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.9s ease;
}

.btn-hire:hover {
    background-color: #00e60c;
}

.profile-img {
    max-width: 70%;
    height: auto;
    object-fit: cover;
}

.icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 12px;
    font-size: 1.3rem;
}

.icons a {
    color: #000;
    transition: color 0.3s ease;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 80px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    margin: 1rem;
}

.about-img {
    max-width: 65%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.myprogressbar {
    width: 100%;
    max-width: 40vw;
}

.progressbar h4 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 4px;
}

/* Services-section */
.services-section {
    padding: 104px 90px;
    text-align: center;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-description h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 15px;
}

.section-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.6;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1 1 200px;
    max-width: 300px;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: auto;
    margin: 10px;
}

.service-card:hover {
    transform: translateY(-8px);
}

.services-icon {
    width: 60px;
    height: 60px;
    margin: 20px auto;
}

.service-card h3 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Projects Section */
.project-section {
    padding: 0 90px;
    text-align: center;
}

.project-button {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-butt {
    background-color: white;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.9s ease;
    border-radius: 0.6rem;
    font-size: 1rem;
}

.project-butt:hover {
    background-color: #FF6600;
    color: white;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    margin-top: 2.5rem;
}

.project-image {
    background-color: white;
    padding: 20px;
    border-radius: 9px;
    transition: transform 0.3s ease;
    text-align: left;
}

.project-img {
    width: 100%;
    height: auto;
    max-height: 370px;
}

.project-image:hover {
    transform: translateY(-8px);
}

.project-image h4 {
    font-size: 1rem;
    color: #000;
    margin-top: 10px;
    font-weight: 800;
}

.project-image p {
    color: #FF6600;
}

/* Testimonial Section */
.testimonials-section {
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.testimonial-description {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-description p {
    margin: 1rem auto;
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0 20px;
}

.testimonials-card {
    background-color: #f9f9f9;
    margin: 0 auto;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 800px;
    flex-wrap: wrap;
    height: 300px;
}

.testimonial-img {
    width: 11rem;
    height: 11rem;
    position: relative;
    top: 2rem;
}

.testimonial-content {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

.quote {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 0.7rem;
    line-height: 1.3;
    margin-left: 13rem;
    position: relative;
    bottom: 10rem;
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
     margin-left: 13rem;
    position: relative;
    bottom: 10rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: black;
     margin-left: 13rem;
    position: relative;
    bottom: 10rem;
}

/* Contact Section */
.contact-section {
    padding: 104px 90px;
    text-align: center;
}

.contact-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form input {
    padding: 12px 20px;
    background-color: #f8f8f8;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-btn {
    padding: 12px 20px;
    background-color: #FF6600;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background-color: #00e60c;
}

/* Footer Section */
.footer-section {
    background-color: #f8f8f8;
    text-align: center;
    color: black;
    padding: 50px 20px;
}

.footer-logo h1 {
    margin-top: -40px;
}

.footer-logo img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    position: relative;
    bottom: 5%;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6600;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-socials i {
    color: #000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-socials i:hover {
    color: #FF6600;
}

footer p {
    font-size: 0.9rem;
    color: #777;
}


@media (max-width: 1200px) {
    .nav-bar {
        margin: 1.5rem 5rem;
    }
    
    .hero-content, .about-section {
        margin: 2rem 3rem;
    }
  .testimonials-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  .testimonial-img {
    width: 8rem;
    height: 8rem;
    top: 0;
    position: static;
  }

  .testimonial-content {
    align-items: center;
  }

  .quote,
  .testimonial-name,
  .testimonial-role {
    position: static;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .quote {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .testimonial-description p {
    font-size: 0.95rem;
    line-height: 1.4rem;
    padding: 0 10px;
  }


    .services-section, .project-section, .contact-section {
        padding: 80px 40px;
    }
}

@media (max-width: 992px) {
    .nav-bar {
        margin: 1.5rem 2rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .name-top, .name-middle, .name-bottom {
        margin: 0;
        text-align: center;
    }
    
    .hero-content, .about-section {
        margin: 2rem 1rem;
    }
    
    .title {
        font-size: 36px;
    }
    
    .services-section, .project-section, .contact-section {
        padding: 60px 20px;
    }
    
    .testimonials-card {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-content {
        text-align: center;
        
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 15px;
    }
    
    .hero {
        padding: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .text-section, .image-section {
        max-width: 100%;
        text-align: center;
    }
    
    .title {
        font-size: 32px;
    }
    
    .about-section {
        flex-direction: column;
        padding: 40px 20px;
    }
    
  .testimonials-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  .testimonial-img {
    width: 8rem;
    height: 8rem;
    top: 0;
    position: static;
  }

  .testimonial-content {
    align-items: center;
  }

  .quote,
  .testimonial-name,
  .testimonial-role {
    position: static;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .quote {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .testimonial-description p {
    font-size: 0.95rem;
    line-height: 1.4rem;
    padding: 0 10px;
  }


    
    .about-text {
        margin: 1rem 0;
    }
    
    .about-img {
        margin: 0 auto;
        
    }
    
    .myprogressbar {
        max-width: 100%;
    }
    
    .project-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nav-link {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .title {
        font-size: 28px;
    }
    
    .section-description h1 {
        font-size: 2rem;
    }
    
    .section-description p {
        font-size: 1rem;
    }
    
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .testimonials-card {
        flex-direction: column;
        text-align: center;
    }
    .project-button {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form input {
        max-width: 100%;
    }
}
@media screen and (max-width: 425px) {
  .testimonials-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 20px;
    gap: 20px;
  }

  .testimonial-img {
    width: 8rem;
    height: 8rem;
    top: 0;
    position: static;
  }

  .testimonial-content {
    align-items: center;
  }

  .quote,
  .testimonial-name,
  .testimonial-role {
    position: static;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .quote {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .testimonial-description p {
    font-size: 0.95rem;
    line-height: 1.4rem;
    padding: 0 10px;
  }
}
