/* * is a universal selector it is apply on all elements 
used to default auto  spacing remove of browser  used the
 padding & margin in circumstances*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
body{
  background:black;

}
/* navbar (logo,image) */
.navbar{
  display: flex;
  justify-content: space-between;/* elements first mid last */
  padding: 15px 20px;
}
.pro-img img{
  display: flex;
  width: 350px;
  height: auto;
  border-radius: 80%;
  margin-left: 270px;
  margin-top: -5px;
  box-shadow: 0 0 15px rgb(126, 202, 222);

}
.logo{
  color: rgb(51, 163, 190); 
}
/* menu links */
.nav-links{
   display: flex;
   list-style: none;
   padding-left: 600px;
}
.nav-links li{
  margin-left: 20px;
}
.nav-links a{
  position:  relative;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.nav-links a:hover{
  color:rgb(110, 197, 218); 

}
/* menu arrangments */
.menu{
  display: flex; /* it arrange into line or column */
  color: white;
  font-size: x-large;
  cursor: pointer;
  margin-top: -5px;
  padding-right: 10px;
  transition: 0.3s;
}
.menu:hover{
     color:rgb(110, 197, 218); 
}
/* short-intro */
.hero{
  display: flex;
  height: 45vh; /* section cover the screen */
  margin-left: 50px;
  margin-top: 40px;
  color: rgb(181, 213, 247);
}
.hero h1{
  margin-left: 10px;
  color: rgb(233, 221, 221);
  transition: 0.3s;
}
.hero h1:hover{
  color: rgb(164, 213, 225); 
}
.hero h2{
  margin-left: 50px;
  margin-top: 5px;
  color: #fff;
}
.hero h3{
  font-family: 'Courier New', Courier, monospace;
  color: rgb(51, 163, 190);
  margin-top: -28px; 
  margin-left: 250px;
  font-size: x-large;
}
.hero p{
  font-family: 'Courier New', Courier, monospace;
  margin-top: -5px;
  margin-left: 70px;
  font-size: larger;
  max-width: 600px;
  line-height: 1.4;
  color: rgb(246, 238, 238);
  
}
/* about section */
.section{
  height: 70vh;
  margin-left: 40px;
  color: rgb(181, 213, 247);
}
.section p{
  font-family: 'Courier New', Courier, monospace;
  margin-top: -5px;
  margin-left: 70px;
  font-size: larger;
  max-width: 600px;
  line-height: 1.4;
  color:rgb(246, 238, 238);
}
.section h2{
  color:whitesmoke;
  margin-left: 70px;
}
.section h3{
   font-family: 'Courier New', Courier, monospace;
   margin-top: -23px;
   margin-left: 225px;
   font-size: x-large;
   color: rgb(51, 163, 190); 
}
/* buttons cv & hire me */
.btn button{
  padding: 3px 3px 3px 3px;
  margin-top: 30px;
  margin-left: 70px;
  border-radius: 8px;
  box-shadow: 1px 1px 1px  0px;
  color:  #f7f9fa;
  transition: 0.3s;background: transparent;
  
}
.btn button:hover{
  background-color: #124453;
  transform: translateY(-2px);

}
.btn #cv{
 background-color: #124453;
 color: white;
 transition: 0.3s;
}
.btn #cv:hover{
 background-color: #0d0d0d;
}
/* skills with indivdual effects section */
.grid-container{
  display: flex;
  gap: 50px;
  margin-top: 20px;
  margin-left: 300px;
}
.item{ 
  border: none;
  margin-top: 15px;
  width: 100px;
  border-radius: 4px;
  box-shadow: 0px 0px 10px orange ;
  transition: 0.3s;
}
.item:hover{
  color:orangered;
}
 .htmlEd{
  margin-top: 8px;
  margin-left: 21px;
  transition: 0.3s;
}
.cssEd{
  margin-top: 12px;
  margin-left: 26px;
  margin-bottom: 29px;
}
.jsEd{
  margin-top: 20px;
  margin-left: 10px;
}
.reactEd{
   margin-top: 8px;
  margin-left: 26px;
}
.gitEd{
  margin-top: -4px;
  margin-left: 4px;
  margin-bottom: 26px;
}
.html-imgEd{
    width: 60px;
    margin-left: 21px;
}
 .css-imgEd{
    width: 66px;
    margin-left: 15px;
}
.js-imgEd{
    width: 55px;
    margin-top: 10px;
    margin-left: 19px;
}
.react-imgEd{
    width: 55px;
    margin-top: 13px;
    margin-left: 22px;  
}
.git-imgEd{
   width: 80px;
   margin-top: 5px;
   margin-left: 9px;
}
/* projects  */
.projects{
   display: flex;
   height: 100px;
   color:  rgb(24, 23, 23);
   justify-content: center;
   gap: 40px;
   flex-wrap: wrap;
}
.card {
  background:transparent;
  color: antiquewhite;
  border: 1px solid  #7ab7c9;
  border-radius: 4px;
  padding:  7px 7px 7px 7px;
  padding-top: 10px;
  font-size: larger;
  box-shadow: 0px 0px 10px   #7ab7c9;
  transition: 0.3s;
}
.card:hover{
  color: #7ab7c9;
  transform: translateY(-1px);
}
 .card a{
  font-size: small;
  font-weight: lighter;
  margin-top: 14px;
  transition: 0.2s;
 }
 .card a:hover{
  color: rgb(244, 125, 81);
 }
 /* projects links live,github */
.section a{
  justify-content: center;
  color: #fff; 
  display: flex;
  text-decoration: none;
}
.section a button{
    background-color: #dccece;
    color: #121111;
    padding: 8px 8px 8px 60px;
    padding-right: 70px;
    border-radius: 50px;
    box-shadow: 1px 1px 1px 1px ;
    border-color:  #7ab7c9;
    transition: 0.3s;
}
.section a button:hover{
    background-color: #4ea5af;
    transform: translateY(-1px);
  
}
/* form in touch */
.form-container{
    justify-content: center;
    text-align: center;
    margin-top: 50px;

}
.form-container input{
  background-color: rgba(63, 62, 62, 0.905);
  font-size: large;
  color:whitesmoke;
  backdrop-filter: blur(10px);
  width: 220px;
  height: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0px 0px 2px;
  outline: none;
  font-weight: lighter;
}
.form-container input:focus{
   box-shadow: 0 0 10px;
}
.form-container textarea{
   background-color: rgba(63, 62, 62, 0.905);
   backdrop-filter: blur(10px);
   font-size: large;
   width:220px;
   height: 220px;
   border: 1px solid  rgba(255,255,255,0.1);
   border-radius: 12PX;
   box-shadow: 0PX 0PX 3px;
   color: whitesmoke;
   outline: none;
   font-weight: lighter;
}
.form-container textarea:focus{
  box-shadow: 0 0 10px;
}
/* contact ph-no */
.form-container button{
  background-color: #000;
  border: transparent;
  box-shadow: 0px 0px 1px;
  color: whitesmoke;
  border-radius: 3px;
  padding: 4px 4px 4px 4px;
  transition: 0.3s;
}
.form-container button:hover{
  background-color: rgb(28, 118, 140);
  box-shadow: 0 0 4px;
}
/* copyright & github etc links */
.footer{
 display: flex;
 color:   rgb(38, 149, 176);
 margin-left: 20px ;
 margin-bottom: 20px; 
 justify-content: space-between;
}
 .footer-link a{
  cursor: pointer;
  color: whitesmoke;
  margin-right: 40px;
  margin-bottom: 15px;
  gap: 3px;
  border: transparent;
  border-radius: 2px;
  padding: 5px 5px 5px 5px;
  box-shadow: 0px 0px 0px;
  transition:0.3s ;
}
.footer-link a:hover{
  color:whitesmoke;
  background-color: rgb(28, 118, 140);
  color: 0.1s ease;
}
/* menu media query 
responsive as mobile app */
@media(max-width:770px)
{
  .nav-links{
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
  }
  .nav-links.active{
    display: flex;
  }
  .menu{
    display: block;
    
  }
  /* --- RESPONSIVE MOBILE LAYOUT (up to 768px) --- *
  
  /* --- Global Text & Layout --- */
  body {
    text-align: center; /* Center all text */
    padding-left: 20px;   /* Left text cover/padding */
    padding-right: 20px;  /* Right text cover/padding */
  }

  /* --- Logo (Centered & Smaller) --- */
  .logo {
    font-size: 20px;      /* Smaller logo font */
    text-align: center;    /* Center logo text */
    margin-bottom: 20px;   /* Margin below logo */
  }

  /* --- Hero Container (Flex Column) --- */
  .hero {
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center;    /* Center everything horizontally */
  }

  /* --- Hero Image & Menu Icon --- */
  .pro-img {
    order: -1;            /* Move image to top of hero section */
    margin-bottom: 25px;  /* Space below the image */
  }
  
  .pro-img img {
    max-width: 150px;     /* Set a max width for the picture */
    width: 100%;
    height: auto;
  }


  /* --- Hero Text & Content Gap --- */
  .hero-text {
    width: 100%;          /* Take full width */
    margin-bottom: 40px;  /* Create gap between hero and about */
  }
  
  /* --- Paragraph/Text Cover & Readability --- */
  p, .hero-text p, #about p {
    max-width: 350px;     /* Control line width for readability */
    margin-left: auto;    /* Center the block */
    margin-right: auto;   /* Center the block */
    line-height: 1.6;     /* Improve line height for readability */
    font-size: 16px;      /* Readable font size for paragraphs */
  }

  /* --- About Section & Content --- */
  #about {
    margin-bottom: 50px;  /* Add space below about section */
  }
  
  #about h2 {
    font-size: 24px;      /* Adjust 'About Me' font size */
    margin-bottom: 15px;  /* Gap below heading */
  }

  /* --- Optional: Add gap to buttons --- */
  .btn {
    margin-top: 20px;
  }
}
 


