@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    font-family: "Poppins", serif;    
    scroll-behavior: smooth;

}
/* navbar */
/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  padding: 0 20px;
  background: linear-gradient(90deg, #242323, #444444);
  color: white;
  z-index: 9999;
  height: 110px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
  cursor: pointer;
  max-width: 100%;
  border-radius: 40px;
  height: auto;
  max-height: 80px;
}
.logo img:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}
/* Navigation Links */
.nav-center {
  display: flex;
  gap: 40px;
  transition: transform 0.3s ease;
}

.nav-center a {
  text-decoration: none;
  color: white;
  font-size: 1.6rem;
  transition: color 0.3s, transform 0.3s;
}

.nav-center a:hover {
  color: #ffcc00;
  transform: scale(1.1);
  text-decoration: underline;
}

/* Contact Button */
.contact-btn {
  padding: 8px 16px;
  background: linear-gradient(90deg, #007BFF, #0056b3);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger div {
  width: 30px;
  height: 4px;
  background-color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger:hover div:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger:hover div:nth-child(2) {
  opacity: 0;
}

.hamburger:hover div:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 952px) {
  .nav-center {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 90px;
      left: 0;
      width: 100%;
      background-color: #242323;
      padding: 10px 0;
      text-align: center;
      border-top: 1px solid white;
  }
  .logo img{
    width: 60px;
  }

  .nav-center.active {
      display: flex;
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
  }

  .hamburger {
      display: flex;
  }

  .contact-btn {
      display: none;
  }
}

@media (min-width: 200px) and (max-width: 768px) {
  .text-container h1 {
    margin-left: -180px;
    margin-top: 20px;
    text-align: center;
  }
 
  .image-container img{
    margin-left: -50px;
    max-width: 73%;
  }
  .hire-me {
margin-left: -90px;
width: 100px;
text-align: center;
  }

}

/* Section main writing */
.content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #f9f9f9;
    /* margin-left: 100px; */
    flex-wrap: wrap; /* Make sure it wraps on smaller screens */
}

.text-container {
    flex: 1;
    max-width: 60%;
    margin-left: 180px;
    padding-right: 20px;
}
.text-container h1 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
}
.text-container h1:hover{
  color: #ffcc00;
  cursor: pointer;
}
.skills  {
    text-align: center;
    font-size: 3rem;
    color: #333;
    margin-top: 10px;
    white-space: nowrap;
    display: inline-block;
}
@media (min-width: 430px) and (max-width: 768px) {
.skills  {
    width: 100%;
    margin-left: -250px;
    font-size: 1.5rem;

  }
}
@media(min-width: 768px) and (max-width: 1100px) {
.skills {
      width: 50%;
      margin-left: -100px;
      font-size: 1.5rem;
      
    }
  }
  @media (min-width: 200px) and (max-width: 430px) {
    .skills  {
        width: 100%;
        margin-left: -250px;
        font-size: 1.3rem;
    
      }
    }
/* General Styles */
.services-section {
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 40px;
  background-color: #f9f9f9;
}
.services-section h2{
  font-size: 2rem;
  color: #333;
  margin-bottom: 50px;
}
.services-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  background-color: #333;
  padding: 20px 0;
  border-radius: 10px;
}

.marquee-content {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

.service-item {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 15px;
  background-color: #ff6f61;
  color: white;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-item {
      font-size: 16px;
      padding: 8px 15px;
      margin: 0 10px;
  }

  .services-marquee {
      padding: 15px 0;
  }
}

@media (max-width: 480px) {
  .service-item {
      font-size: 14px;
      padding: 6px 12px;
      margin: 0 8px;
  }

  .services-marquee {
      padding: 10px 0;
      margin-bottom: 45px;
  }
}

/* Hover Effect */
.services-marquee:hover .marquee-content {
  animation-play-state: paused;
}
/* Writing Animation */
.word {
    display: inline-block;
    opacity: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 0.5s steps(1) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Image Styling */
.image-container {
    flex: 1;
    /* background-color: #f9f9f9; */
    cursor: pointer;
    max-width: 40%;
    display: flex;
    justify-content: center;
    padding-left: 20px;
}
.image-container img {
    max-width: 100%;
    border-radius: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.image-container img:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}

/* Responsive Design for Content Section */
@media (max-width: 768px) {
    .content {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .text-container {
        max-width: 70%;

        margin-bottom: 20px;
    }

   
    .text-container h1 {
        font-size: 2rem;
    }
    
}
@media (min-width: 768px) and (max-width:  1525px)  {
    .text-container h1 {
        font-size: 2.4rem;
        /* display: none; */
        margin-left: -100px;
    }
   
    .image-container img{
        max-width: 80%;
        margin-bottom: 20px;
    }
    
}

@media (min-width: 300px) and (max-width: 480px) {
  .image-container img {
    width: 80%;
margin-right: -30px;
    align-items: center;
    
}
  .text-container h1 {
        font-size: 1.4rem;
margin-right: -30px;
        
    }
  
    
}
section{
  background-color: #f9f9f9;
}
/* Button Styling */
.links {

    margin-top: 40px;
    display: flex;
    gap: 15px; /* Space between buttons */
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    transition: background-color 1s ease;
    display: inline-block;
    font-weight: bold;
    text-align: center;
}
.loo img{
  border-radius: 40px;
}
.hire-me {
    background-color: #3A3A3A;
}

.hire-me:hover {
    color: #ffcc00;
    transform: translateY(-2px) scale(1.05);
}

.whatsapp-me {
  background-color: #3A3A3A;
}

.whatsapp-me:hover {
      color: #ffcc00;
    transform: translateY(-2px) scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn {
        font-size: 0.6rem;
        padding: 8px 16px;
    }
}
@media (max-width: 786px) {
  .hire-me {
      font-size: 0.6rem;
margin-left: -150px;

  }
.btn{
  padding: 10px 5px;
}
}

/* Skills arquee */
.skills-section {
    text-align: center;
    margin: 50px 0;
    /* width: 100%; */
    margin-bottom: 130px;
    
  }
  
  .skills-section h2 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .skills-marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    overflow: hidden;
    position: relative;
  }
  
  .skill {
    font-size: 1.5rem;
    color: #f39c12;
    font-weight: bold;
    background-color: #2c3e50;
    padding: 10px;
    border-radius: 5px;
    margin: 0 10px;
    opacity: 0; /* Initially hidden */
    animation: showSkill 5s ease-in-out infinite;
  }
  
  .skill:nth-child(1) {
    animation-delay: 0s;
  }
  
  .skill:nth-child(2) {
    animation-delay: 1.6s;
  }
  
  .skill:nth-child(3) {
    animation-delay: 2.7s;
  }
  
  .skill:nth-child(4) {
    animation-delay: 3.7s;
  }
  
  .skill:nth-child(5) {
    animation-delay: 4.7s;
  }
  
  @keyframes showSkill {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    50% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(-20px);
    }
  }
  @media (min-width: 700px) and (max-width: 768px) {
.skills-container{
  margin-left: -50px;
}
.skills-container1{
  margin-left: -50px;
}
}
@media (min-width: 479px) and (max-width: 566px) {
  .skills-container{
    margin-left: -160px;
  }
  
  .skills-container1{
    margin-left: -160px;
  }
  }
  @media (min-width: 566px) and (max-width: 680px) {
    .skills-container{
      margin-left: -100px;
    }
    
    .skills-container1{
      margin-left: -100px;
    }
    }
    @media (min-width: 680px) and (max-width: 700px) {
      .skills-container{
        margin-left: -70px;
      }
      .skills-container1{
        margin-left: -70px;
      }
      }
  @media (min-width: 200px) and (max-width: 360px) {
  
    .skills-marquee{
display: none;
    }
    .skills-container1{
      margin-left: -20px;
      margin-top: -110px;
    }
    .skills-container{
      margin-left: -20px;
    }
    
  }
  @media (min-width: 360px) and (max-width: 768px) {
  
    .skills-marquee{
width: 400px;
font-size: 0.1rem;
margin-left: -46px;
    }
  }
  @media (min-width: 768px) and (max-width:820px) {
  
    .skills-marquee{
width: 810px;
font-size: 0.1rem;
margin-left: -43px;
    }
  }
  /* Responsive styles */
  @media (max-width: 768px) {
    .skills-section h2 {
      font-size: 1.5rem;
    }
  
    .skill {
      font-size: 1.2rem;
    }
  }
  
  @media (max-width: 480px) {
    .skills-section h2 {
      font-size: 2rem;
    }
  
    .skill {
      font-size: 1rem;
    }
  }
  
  /* Skills cards */
  .skills-section1 {
    cursor: pointer;
    text-align: center;
    margin: -18px 280px;
    
  }
  
  .skills-section1 h2 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 40px;
  }
  
  /* Skills container (grid layout) */
  .skills-container1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
  }
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
  }
 
  .skill-card {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 300px;
  }
  
  .skill-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .skill-card p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  /* Style for images inside skill cards */
  .skill-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Hover effect for the skill cards */
  .skill-card:hover {
    transform: translateY(-10px);
    transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #3498db, #9b59b6);
  }
  
  .skill-card:hover h3 {
    color: #ecf0f1;
  }
  
  .skill-card:hover p {
    color: #ecf0f1;
  }
/* Responsive design adjustments */
@media (max-width: 768px) {
  .skills-section1 h2 {
    font-size: 1.5rem;


  }

  .skill-card {
    padding: 20px;
    /* display: none; */
  }

  .skill-card h3 {
    font-size: 1.5rem;
  }

  .skill-card p {
    font-size: 1rem;
  }

  .skill-image {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .skills-section1 h2 {
    font-size: 1.2rem;
  }

  .skill-card {
    margin-left: -418px;
    padding: 15px;
/* display: none; */
  }

  .skill-card h3 {
    font-size: 1.3rem;
  }

  .skill-card p {
    font-size: 0.9rem;
  }

  .skill-image {
    width: 50px;
    height: 50px;
  }
}
@media (min-width: 870px) and (max-width:  1280px)  {
.skills-container{
  width: 750px;
  margin-left: -160px;
}

}
@media (min-width: 870px) and (max-width:  1280px)  {
  .skills-container1{
    width: 750px;
    margin-left: -160px;
  }
  
  }
  

/* slider for costumer review */
.heading {
  text-align: center;
  font-size: 4rem;
  color: #333;
  margin-top: 20px;
}


.slider {
  max-width: 1400px;
  padding:  100px 0px;
  margin: 50px auto;
  position: relative;
  color: white;
  overflow: hidden;
  background: linear-gradient(90deg, #242323, #444444);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.slide h3 {
  margin: 0;
  font-size: 1.2rem;
  color: white;
}

.slide p {
  margin: 10px 0 20px;
  font-size: 1rem;
  font-size: 1.4rem;
  color: white;
}

.stars {
  color: #ffc107;
  margin: 10px 0;
  font-size: 1.4rem;
}

.quote {
  font-style: italic;
  color: white;
  line-height: 1.6;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.profile img {
  width: 60px;
  cursor: pointer;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
}

.profile-name {
  font-weight: bold;
  font-size: 1.3rem;
  color: white;
}

/* Navigation buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.nav-btn {
  background-color: transparent;
  /* background: linear-gradient(45deg, #6a11cb, #2575fc); */
  color: #fff;
  border: 2px solid white;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.7rem;
  height: 70px;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 40px;
  width: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .heading {
    font-size: 1.2rem;
  }

  .slide h3 {
    font-size: 1rem;
  }

  .slide p {
    font-size: 0.9rem;
  }
  #Project h1{
    font-size: 2rem;
  }
  .profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
  }
}


/* About */
#About{
  margin-bottom: 100px;
}
#About h1{
  text-align: center;
  font-size: 4rem;
  color: #333;
}
.about-me {
  background-color: #fff;
  padding: 50px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 100%;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-me img {
  width: 500px;
  cursor: pointer;
  border-radius: 300px;
  margin-left: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.about-me img:hover{
  border:2px solid gray;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}
.about-me-content {
  max-width: 500px;
  text-align: left;
  margin-right: 40px;
}

.about-me-content h1 {
  font-size: 4rem;
  color: #333;
  margin-bottom: 20px;
}

.about-me-content p {
  font-size: 1rem;
  color: #555;
  margin: 10px 0 20px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat h2 {
  font-size: 1.5rem;
  color: #007BFF;
  margin: 0;
}

.stat p {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
  .about-me {
      flex-direction: row;
      align-items: left;
justify-content: space-between;
  }

  .stats {
      flex-direction: column;
  }

  .stat {
      margin-bottom: 10px;
  }

  .about-me img {
      margin-bottom: 20px;
  }
}
@media (min-width: 200px) and (max-width: 768px) {
  .about-me img {
      width: 200px;
      margin-left: 14px;
  }
#name  
{
  display: none;
}
.about-me-content p{
width: 240px;
}
  .stats {
      flex-direction: column;
  }
.download-btn{
  margin-left: 50px;
}
  .stat {
      margin-bottom: 10px;
  }

  .about-me img {
      margin-bottom: 20px;
  }
}
@media (min-width: 200px) and (max-width: 768px){
  .nav-btn{
    height: 54px;
    width: 50px;
font-size: 15px;
    margin-top: 100px;
  }
}
/* Skills */
/* General Styles for the Skills Section */
.skills1-section {
  padding: 20px;
  max-width: 600px;
  margin: auto;
}

.skills1-section h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 4rem;
  color: #333;
}

/* Individual Skill */
.skill1 {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skill1 span {
  flex: 1;
  font-size: 1.5rem;
}

/* Progress Bar Container */
.progress-bar {
  flex: 3;
  height: 25px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-left: 10px;
  
}

/* Progress (Animated) */
.progress {
  
  height: 100%;
  background-color: #00d4ff;
  border-radius: 4px;
  color: #0e0c0c;
  font-size: 1rem;
  line-height: 10px;
  text-align: right;
  padding-right: 5px;
  transition: all 1.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .skill1 span {
    font-size: 0.9rem;
  }

  .progress-bar {
    height: 15px;
    font-size: 1rem;
    margin-left: 8px;
  }

  .skills1-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .skill span {
    font-size: 0.5rem;
  }

  .progress-bar {
    height: 10px;
width: 10px;
    margin-left: 5px;
  }
 
  .skills-section {
    padding: 10px;
  }
}
/* project */
#Project h1{
  text-align: center;
  font-size: 4rem;
  color: #333;
}
#Project{
  margin-bottom: 100px;
}
#my-slider-container {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: auto;
  margin-bottom: 3%;
  overflow: hidden;
}

.my-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.my-slide {
  min-width: 100%;
  height: auto;
}

#my-slider-container   img {
  border-radius: 50px;
  border: 1px solid grey;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  display: block;
  
     
}
@media (max-width: 1840px) {
 
  #my-slider-container  img{
    max-width: 96%;

    justify-content: center;
    align-items: center;
text-align: center;
margin: auto;
}
 
 
}
#my-dots {
  text-align: center;
  margin-top: 10px;
}

.my-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.my-dot.active {
  background-color: #717171;
}

@media (max-width: 768px) {
  #my-slider-container {
      max-width: 100%;
  }
  #my-slider-container  img{
    
    max-width: 96%;
        border-radius: 19%;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
}
  .my-dot {
      width: 8px;
      height: 8px;
  }
 
}
 /* footer */

 footer {
  background: linear-gradient(90deg, #242323, #444444);
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}

footer a {
  color: #00bcd4;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}
@media (max-width: 768px) {
  footer {
      padding: 15px 5px;
      font-size: 14px;
  }

  footer a {
      margin: 0 5px;
  }
}


/* Project link */
#projectlink {
  cursor: pointer;
  text-align: center;
  margin: 130px 280px;
 
}
#projectlink h1{
  text-align: center;
  font-size: 4rem;

  color: #333;
  margin-top: -20px;
}
.live-link {
  display: inline-block;
  text-decoration: none;
  background-color: #007BFF;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.live-link:hover {
  background-color: #0056b3;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}
@media (max-width: 768px) {
#projectlink h2{
  font-size: 1.2rem;
  
}
#About h1{
  font-size: 2rem;
}
.skills1-section h2{
  font-size: 2rem;
  margin-top: 10px;
}
#Project h1{
  font-size: 2rem;
}
}
@media (min-width : 768px) and (max-width: 1024px) {
  #projectlink h1{
    text-align: center;
    font-size: 2rem;
    

   
  }
  .skills-section h2{
    font-size: 2rem;
    margin-left: -20px;

  }
  .about-me img{
   margin-left: 110px;
  }
  .about-me-content {
    margin-left: 110px;
  }
}

/* Add to your current CSS */
/* Navigation buttons for slider */
.nav-btn:hover {
  transform: scale(1.2);
   /* Enlarge the button slightly */
   transform: translateY(-2px) scale(1.05);
   box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
   background-color: rgba(255, 255, 255, 0.2); /* Add a translucent background */
  color: #ff5722; /* Change the icon color */
  border-color: #ff5722; /* Match border color */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance hover shadow */
}
/* Add to your current CSS */


 /* On-Load Animation */
 .animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.1s ease-in-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* box bottom */
#scrollTo1Top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s;
}

#scrollTo1Top:hover {
  background-color: #0056b3;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 123, 255, 0.5);
}

#scrollTo1Top.hidden1 {
  opacity: 0;
  pointer-events: none;
}
/* repsonive */
@media (max-width: 768px) {
  #scrollTo1Top {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
}

@media (max-width: 480px) {
  #scrollTo1Top {
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
/* ai chatbot */

.chat-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  box-shadow: 0 0 30px #ff00ff;
  animation: pulse 2s infinite, spin 4s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: all 0.3s;
}
.chat-button, .chat-container {
  display: block !important;
  visibility: visible !important;
  z-index: 9999 !important;
  /* background: red !important; Highlight for debugging */
}
.chat-button:hover {
  transform: scale(1.2) rotate(180deg);
  filter: hue-rotate(90deg);
}

.chat-container {
  width: 463px;
  height: 600px;
  position: fixed;
  bottom: 120px;
  right: 30px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(255,105,180,0.5);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: all 0.5s cubic-bezier(0.4, 2.3, 0.6, 0.9);
}

.chat-container.open {
  transform: scale(1) rotate(0deg);
}

.chat-box {
  height: 465px;
  padding: 20px;
  overflow-y: auto;
  background: rgba(255,255,255,0.9);
  margin: 10px;
  border-radius: 15px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.input-box {
  display: flex;
  padding: 10px;
  background: rgba(255,255,255,0.9);
  margin: 10px;
  border-radius: 15px;
}

input {
  flex: 1;
  padding: 15px;
  border: 3px dashed #ff6b6b;
  border-radius: 10px;
  margin-right: 10px;
  font-size: 16px;
  transition: all 0.3s;
  min-width: 50px;
}

input:focus {
  border-style: dotted;
  background: #ffff88;
  outline: none;
}
 
button {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

 button:hover  {
  transform: scale(1.1) rotate(1.1deg);
  filter: hue-rotate(45deg);
}

.message {
  margin: 10px;
  padding: 15px;
  border-radius: 20px;
  max-width: 80%;
  animation: popIn 0.5s ease-out;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.user-message {
  background: #4ecdc4;
  color: white;
  margin-left: auto;
  transform-origin: right;
}

.bot-message {
  background: #ff6b6b;
  color: white;
  margin-right: auto;
  transform-origin: left;
}

/* Animations */
@keyframes popIn {
  0% { transform: scale(0) rotate(-10deg); }
  80% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff0000;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .chat-container {
      width: 90% !important;
      right: 5% !important;
      bottom: 100px !important;
      height: 70vh !important;
  }

  .chat-box {
      height: calc(70vh - 120px) !important;
  }

  .chat-button {
      width: 60px;
      height: 60px;
      font-size: 30px;
      bottom: 20px;
      right: 20px;
  }

  input {
      padding: 12px;
      font-size: 14px;
  }

   button {
      padding: 12px 20px;
      font-size: 14px;
  }

  .message {
      max-width: 90%;
      font-size: 14px;
      padding: 10px;
  }
}

@media (max-width: 480px) {
  .chat-container {
      height: 65vh;
      border-radius: 15px;
  }

  .chat-box {
      height: calc(65vh - 110px);
      padding: 10px;
  }

  .input-box {
      padding: 8px;
      margin: 8px;
  }

  .chat-button {
      width: 50px;
      height: 50px;
      font-size: 25px;
  }
 button {
      padding: 10px 15px;
  }
}
#About .h123 {
margin-bottom: -80px;
margin-top: -50px;
}