/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:black;
  padding: 15px 10%;

  top: 0;
  z-index: 1000;
}
.logo {

  font-size: 26px;
  font-weight: bold;
  color: rgb(66, 25, 214);
}
nav ul {
  display: flex;
  gap: 25px;
}
nav ul li {
 list-style: none;
 display: inline-block;
  margin-top: 10px;
}
nav ul li a {
  
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: rgb(66, 25, 214);
}

.menu-btn {
  display: none;
  opacity: 0; }


  /* Home Section */
  .home {
    padding: 100px 10%;
    background-color: #333;
  }
  .home .text {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .header .p {
    font-size: 20px;
    color: #fff;
  }
  .h1 h1 {
    font-size: 50px;
    color: #fff;
    margin-top: -50px;
    margin-bottom: 90px;
    text-align: center;
  }

  .h2 {
    font-size: 32px;
    font-weight: bold;
  }
  .p2 {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 10px;
  }
  .pic {
    width: 450px;
    height: auto;
    border-radius: 50%;
    margin-top: 20px;
    box-shadow: 0px 0px 18px 12px rgba(35, 202, 212, 1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1)
  }
  
  /* About Section */
  .aboutt {
    padding: 80px 10%;
    background-color: #333;
  }
  .aboutt .h2 {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 120px;
    text-align: center;
    margin-top: -10px;
  }
  .detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
  }
  .pic2 img {
    width: 450px;
    border-radius: 10px;
    box-shadow: 0px 0px 18px 12px rgba(35, 202, 212, 1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1)
  }
  .tex {
    flex: 1;
    color: #fff;
  }
  .tex span {
    font-weight: bold;
    font-size: 20px;
  }
  .tex p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;

  }
  .about {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    color: #fff;
  }
  .skill {
    flex: 1;
  }
  .socia {
    flex: 1;
  }
  .social {
    margin-bottom: 10px;
  }
  .box, .box1, .box2, .box3 {
    height: 8px;
    background-color: #2522b9;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  .box { width: 100%; }
  .box1 { width: 82%; background: #198754; }
  .box2 { width: 96%; background: #dc3545; }
  .box3 { width: 85%; background: #ffc107; }
  
  /* Services */
  .service {
    padding: 80px 10%;
    background-color: #333;

  }
  .service .h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 60px;
    text-align: center;
  }
  .gap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  .product {
    flex: 1;
    min-width: 300px;

  }
  .sa {
    margin-bottom: 30px;
    padding: 20px;

    border-radius: 10px;
    color: #fff;
  }
  .sa:hover {
    box-shadow: 2px 0px 20px 12px rgba(106, 187, 216, 1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
     transition: all 0.3s ease-in-out;
  }
  .sa .h1 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
  }
  .sa .text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* Reviews */
  .reaview {
    padding: 60px 10%;
    background-color: #333;
  }
  .reaview .h3 {
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 60px;
    text-align: center;
  }
  .reaview .text h4 {
    font-size: 16px;
    margin-bottom: 40px;
    color: #fff;
  }
  .img {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .imgg {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .img1 {
    width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* Contact */
  .contact-new {
    background-color: #333;
    color: #fff;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-text {
    flex: 1 1 45%;
    padding-bottom: 70px;
}

.contact-text h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #fff;
}

.contact-text p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 30px;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    margin-bottom: 15px;
}

.social-links a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    transition: color 0.3s;
}

.social-links a i {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

.social-links a:hover {
    color: #0d1fc0;
}

.contact-image {
    flex: 1 1 45%;
    text-align: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

  
  /* Footer */
  .footer {
    background:black;
    color: #fff;
    text-align: center;
    padding: 20px 10%;
  }
  .footer ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }
  .footer ul li {
    list-style: none;
    font-size: 15px;
  }
  .footer ul li a {
    color: #fff;
    font-weight: 400;
    text-decoration: none;
  }
  .footer a:hover {
    color: #ffc107;
  }

  /* Responsive */
   /* Responsive */
   @media (max-width: 768px) {
    .text {
      flex-direction: column;
      align-items: center;
    }
    .detail {
      flex-direction: column;
    }
    .about {
      flex-direction: column;
    }
    .gap {
      flex-direction: column;
    }
    .pic, .pic2 img {
      width: 90%;
      margin-top: 50px;
    }
    .img1 {
      width: 100%;
    }
    .immg .img {
      width: 100%;
    }
  }
    @media (max-width: 480px) {
        .home .h1 h1 {
        font-size: 36px;
        }
        .home .h2 {
        font-size: 24px;
        }
        .home .p2 {
        font-size: 14px;
        }
        .aboutt .h2, .service .h2, .reaview .h3, .contact .h2 {
        font-size: 28px;
        }
        nav ul {
        flex-direction: column;
        gap: 10px;
        }
    } 

    /* ty */

/* last ty */
@media (max-width: 768px) {
  #nave {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: relative;
  }

  #nave ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333; /* change if needed */
    width: 150px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  #nave.show ul {
    display: flex;
  }

  .menu-btn {
    opacity: 1;
    display: inline-block;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
  }

  #nave ul li {
    text-align: center;
    padding: 10px 15px;
    border-bottom: 1px solid #fff;
  }

  #nave ul li a {
    color:#fff;
    text-decoration: none;
  }

  .logo {
    font-size: 18px;
  }
}
