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

body{
 /* padding: 50px; */
  margin: auto;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
}

/*header section*/
.header {
  width: 100vw;
  height: 7vh;
  top: 0;
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  position: fixed;
  background-color: #F9F9F9;
}
nav{
  height: 1000px;
}
.nav-logo{
  color: black;
  text-decoration: none;
}
.logo{
  padding-top: 10px;
  margin-left: 50px;
  font-size: 20px;
  font-family: "Raleway", sans-serif;
}
.nav-logo,
.line,
.line1,
.line2,
.about > h1,
.Contact-Address > h2,
.awesome-works > h1{
  animation: popup 5s ease-in-out infinite;
}
@keyframes popup {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.navbar{
  display: flex;
  width: 100%;
  justify-content: space-between;
  height: 10px;  
  z-index: 1; 
  flex-wrap: wrap;
  align-items: center;
  padding: 0 20px;
}

.nav-links{
  display: flex;
  list-style-type: none;
  width: 50%;
  height: 100%;
  justify-content: space-around;
  align-items: center;
  margin-left: auto;
}

.nav-menu {
  display: flex;
}
.nav-links li {
  margin-right: 20px; /* adjust the space between items */;
}

.nav-links li:last-child {
  margin-right: 0; /* remove margin from the last item */
}

.nav-links li a{
  color: black;
  text-decoration: none;
  font-size: 23px;
}

.nav-links a:hover {
  color: blue; /* adjust the hover text color */
}
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* adjust the line thickness */
  background-color: #666; /* adjust the line color */
  transition: opacity 0.2s ease;
}
.nav-links :hover {
  position: relative;
}
.nav-links:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
}
.nav-links.active {
  display: flex;
}
/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  flex-direction: column;
}

/*header section ends here*/

/*hero-section starts*/

.hero-section{
  display: flex; /* Makes text and background behave side by side */
  background-image: url('p11.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment : fixed;
  height: 1000px;
  width: 100vw;
  margin: auto;
}
.hero-contents{
  padding-top: 40px;
  padding-left: 10px;
  margin: auto;
  font-size: 26px;
  line-height: 100px;
  width: 1000px;
  background: rgba(255, 255, 255, 0.7); /* Optional: Light background behind text */
  height: 500px;
}


.hero-btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-btn button {
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  border-radius: 40px;
  border: none; /* Removes the ugly default border */
  background-color: #007BFF; /* Nice blue */
  color: white;
  cursor: pointer; /* Shows a pointer on hover */
  transition: background-color 0.3s ease;
}

.hero-btn a{
  text-decoration: none;
  color: black;
  font-family: raleway;
  font-size: 50px;
}
.hero-btn button:hover {
  background-color: #0056b3;
}
/*hero section ends here*/

/*About section*/
  .about > h1 {
    text-align: center;
}

.line, .line2 {
    width: 50px; 
    height: 2px; 
    margin-left: 80px;
    margin: auto;
    gap: 20px;
    }
.line1{
    width: 90px; 
    height: 2px;  
    margin-left: 80px;
    margin: auto;
    gap: 20px;
    }
.line,
.line1,
.line2{
      margin-bottom: 6px;
      background-color: black; 
    }
.abt{
  padding-top: 0px;
   display: flex;
  flex-wrap: wrap;
  width: 100vw;
}
.about{
 padding: 20px;
  background-color: #F9F9F9;
  padding-top: 30px;
  height: 100vh;
}
.about-texts{
font-family: raleway, sans-serif;
font-size: 25px;
line-height: 40px;
padding-top: 20px;
}
.about-texts > ol{
  list-style: none;
}
.nav-about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
}

.graphic-designer, .web-developer {
  width: 45%;
  margin: 10px;
  gap: 50px;
}

.progress {
  width: 100%;
}

.progress-bar {
  height: 7px;
  border-radius: 5px; /* Add a rounded corner effect */
  overflow: hidden; /* Hide any content that exceeds the progress bar's width */
}
.progress-b {
  height: 100%;
  background-color: black;
  border-radius: 5px; 
  transition: width 0.5s ease-in-out;
}


/*section ends*/

/*awesome-works starts*/

/* General container */
.awesome-works {
  padding: 8w;
  padding-bottom: 4vw;
  background-color: #f9f9f9;
  text-align: center;
  width: 100vw;
  padding-top: 200px;

}

/* Section title */
.awesome-works h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 80px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.skills-grid img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.skills-grid img:hover {
  transform: scale(1.70);
}

/*awesome section ends*/

/*contact starts*/
.container{
  padding-top: 40px;
  background-color: #f9f9f9;
  text-align: center;
  width: 100vw
}


.contacts{
  display: flex;
  color: blue;
  justify-content: space-evenly;
  padding-top: 40px;
  width: 100vw;
  height: 30vh;
}
.contacts img {
  margin: 10px;
  width: 30px;
  height: 30px;
}
/*contacts end*/

/*footer starts*/
.trends{
  font-family: raleway, sans-serif;
  font-size: 20px;
  text-align: center;
  padding-bottom: 50px;
  padding-top: 200px;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  width: 100vw;
}

.footer-container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-section {
  flex-basis: 30%;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-top: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 10px;
}


.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-copyright {
  text-align: center;
/*  display: flex;*/
  align-items: center;
}
.nbsp {
  padding-top: 7px;
}


/*footer ends*/

/* MEDIA QUERIES FOR RESPONSIVENESS */

/* Media Query for Tablets (768px and below) */
/* Responsive Design for 250px to 900px */

@media (min-width: 250px) and (max-width: 1500px){

  .line-ham{
      width: 30px;
      height: 3px;
      background: black;
      margin: 5px;
  }
  .logo{
      font-size: 2rem;
      padding-top: 5px;
  }
  .hamburger{
      position: absolute;
      cursor: pointer;
      right: 5%;
      top: 50%;
      transform: translate(-5%, -50%);
      z-index: 90;
      display: block;
  }
  .nav-links{
      background: blue;
      height: 100vh;
      width: 100%;
      flex-direction: column;
      clip-path: circle(100px at 90% -10%);
      -webkit-clip-path: circle(60px at 90% -10%);
      transition: all 1s ease-in-out;
      pointer-events: none;
  } 
  .nav-links.open{
      clip-path: circle(1000px at 90% -10%);
      -webkit-clip-path: circle(1000px at 90% -10%);
      pointer-events: all;
  }

  .header{
    max-width: 100%;
    position: relative;
  }

  .nav-links.active {
    display: flex;
  }
  .nav-links li{
    opacity: 0;
}
.nav-links li a{
    font-size: 25px;
}
.nav-links li:nth-child(1){
    transition: all 0.5s ease-in-out 0.2s;
}
.nav-links li:nth-child(2){
    transition: all 0.5s ease-in-out 0.4s;
}
.nav-links li:nth-chil(3){
    transition: all 0.5s ease-in-out 0.6s;
}
li.fade{
    opacity: 1;
} 

  /* Hero Section */
  .hero-section {
    display: flex; /* Makes text and background behave side by side */
    align-items: center; /* Center text vertically */
    background-image: url('p11.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh; /* full screen height */
  }


  .hero-section p {
    font-size: 1rem;
    padding: 20px;
  }
  
  .hero-contents h2 {
    font-size: 20px;
}

.hero-contents p {
    font-size: 20px;
}
.hero-contents {
  text-align: center;
  line-height: normal;
  width: 1000px; /* You can adjust */
  background: rgba(255, 255, 255, 0.7); /* Optional: Light background behind text */
  padding-top: 100px;

}                                                                                                             

  .hero-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-btn button {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 40px;
    border: none; /* Removes the ugly default border */
    background-color: #007BFF; /* Nice blue */
    color: white;
    cursor: pointer; /* Shows a pointer on hover */
    transition: background-color 0.3s ease;
}

/* Optional: hover effect */
.hero-btn button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}



  /* About Section */
  .abt{
    padding-top: 0px;
    
  }
  .about-texts {
    text-align: center;
    font-size: 2.0rem;
    line-height: 2.5;
  }

  .expertise {
    flex-direction: column;
    align-items: center;
  }

  .graphic-designer,
  .web-developer {
    width: 100%;
    margin: 10px 0;
  }

  .progress {
    width: 90%;
    margin: 0 auto;
  }

  /* About section ends */

  /* Awesome Works Section */
  .images-container {
   padding-top: 20px;
  }
  .skills-grid {
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5px; /* More space between images */
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
  justify-items: center;
  align-items: center;
}
  .skills-grid img {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  border: 4px solid #222;
  background: #fff;
}

.skills-grid img:hover {
  transform: scale(1.70);
}
  /* Footer */
  .footer-container {
    flex-direction: row;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
}

@media (min-width: 1551px) and (max-width: 2800px) {
   .logo,
   .nav-links li a{
    font-size: 2.5rem;
    padding-top: 40px;
   }
   .hero-contents,
   .hero-btn,
   .about-texts{
      font-size: 2.5rem;
  }
  .hero-section{
    padding-top: 100px;
  }
  .hero-contents{
  padding-top: 60px;
  padding-left: 10px;
  margin: auto;
  font-size: 2.5rem;
  line-height: 100px;
  width: 1500px;
  background: rgba(255, 255, 255, 0.7); /* Optional: Light background behind text */
  height: 700px;
  text-align: center;
}
  .hero-btn button {
    width: 100%;
    padding: 1rem;
    font-size: 2.5rem;
    border-radius: 40px;
    border: none; /* Removes the ugly default border */
    background-color: #007BFF; /* Nice blue */
    color: white;
    cursor: pointer; /* Shows a pointer on hover */
    transition: background-color 0.3s ease;
}
  .about-texts{
      font-size: 3rem;
      line-height: 1.5;
      padding-top: 20px;
      text-align: center;
      width: 80%;
  }
  .skills-grid {
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5px; /* More space between images */
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 100px;
  justify-items: center;
  align-items: center;
}

.skills-grid img {
  width: 500px;
  height: 500px;
  /* object-fit: cover; */
  border-radius: 18px;
  border: 4px solid #222;
  /* box-shadow: 0 8px 32px rgba(0,0,0,0.18); Stronger shadow */
  /* transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; */
  background: #fff;
}

.skills-grid img:hover {
  transform: scale(1.40);
}

.images-container h1 {
  font-size: 4rem;
  padding-top: 300px;
}
.Contact-Address {
  font-size: 2rem;
  margin-bottom: 200px;
}
.contacts img {
  margin: 10px;
  width: 70px;
  height: 70px;
}
.footer-container{
  font-size: 2rem;
}
.footer-copyright{
  font-size: 2rem;
}

}
