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

body{
    background-color: #F7F9F6;
    color: #1A202C ;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /
}
header .navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background-color: #F7F9F6;
}

header .navbar h1 {
  font-size: 2rem;
  white-space: nowrap;
}

.navbar ul {
  list-style: none;

  display: flex;
  /* margin-top: 1rem; */
  gap: 3rem;
  font-size: 1rem;
  align-items: center;

}

/* .navbar > ul > li{
    border: none;
  border-radius: 10rem;
  background-color: aquamarine;
} */

ul li a {
  text-decoration: none;
  color: #1A202C;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

ul li a:hover {
  border-radius: 0.2rem;
  background-color: grey;
  color: #010c16;
}


main {
  height: 100%;
}

.bannercontainer {
  position: relative;
  width: 100%;
}
.imagebanner {
  background-image: url("assests/heroimagei.png");
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    display: flex;
  justify-content: center; /* Horizontally centers the text box */
  align-items: center; 
  padding: 0 10%;
}

.textbanner {
  color: white;
  text-align: center;
  /* margin-top: 10rem;
  margin-left: 25rem; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  max-width: 80rem;
}

.textbanner > h2{
  font-size: 2rem;
  line-height: 1.2rem;
}

.textbanner > p{
  font-size: 1.5rem;
}

.textbanner > button{
  cursor: pointer;
  padding: 0.8rem 2rem;
  font-weight: bold;
  background-color: chartreuse;
  border: none;
  border-radius: 1rem;
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.textbanner > button:hover {
    transform: scale(0.96); 
}

.aboutsection {
  margin-top: 1.5rem;
  /* text-align: center; */
  padding: 0 1rem;
}

.aboutsection > h1{
   text-align: center;
   margin: 4rem 0 2rem;
   font-size: 2rem;
}

.aboutme {
  display: flex;
  flex-wrap: wrap;
  max-width: 120rem;
  margin: 0 auto;
  align-items: center;
  gap: 1rem;
}

.aboutmeimg{
  flex: 1 1 30rem;
  display: flex;
  justify-content: center;
}

.aboutmeimg img{
  width: 100%;
  max-width: 35rem;
  height: auto;
  border-radius: 0.8rem;
  object-fit: cover;
}


.aboutmecontent {
  flex: 2 1 50rem;
  font-size: 1.4rem;
  line-height: 1.8rem;
  text-align: justify;
}

.popup-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.popup-content {
  background-color: #fff;
  padding: 3rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 40rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.2);
  color: black;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.4rem;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover {
  color: #000;
}

.popup-input {
  width: 100%;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border: 0.1rem solid #ccc;
  border-radius: 0.4rem;
  box-sizing: border-box;
  font-size: 1.6rem;
}

.popup-submit-btn {
  width: 100%;
  padding: 1.2rem;
  background-color: #0070f3;
  color: white;
  border: none;
  border-radius: 0.4rem;
  font-size: 1.6rem;
  cursor: pointer;
  font-weight: bold;
}

.popup-submit-btn:hover {
  background-color: #0051a8;
}

.container {
  margin-left: 0.5rem;
  background-color: darkblue;
  width: 80%;
  border-radius: 1.5rem;
}

.progressbars{
  display: flex;
  flex-direction: column;
    margin-top: 1rem;
  align-items: center;
  gap: 0.2rem;
}

.progressbars > p{
  text-align: center;
}
.skill {
  background-color: gray;
  color: white;
  text-align: center;
  border-radius: 1.5rem;
}

.skill-row {
  width: 60%;
  margin: 1rem auto;
}
.skill-row p {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.html{
  width: 85%;
}

.css {
  width: 75%;
}

.vanillajs {
  width: 80%;
}

.reactjs {
  width: 80%;
}

.nextjs {
  width: 60%;
}

.python {
  width: 80%;
}

.django {
  width: 90%;
}

.php {
  width: 80%;
}

.laravel {
  width: 70%;
}

.sql {
  width: 80%;
}

.mongodb {
  width: 70%;
}

.ai {
  width: 30%;
}

.ml {
  width: 30%;
}

.bootstrap {
  width: 90%;
}

.nodejs {
  width: 80%;
}

.restapi {
  width: 50%;
}

.gcp {
   width: 50%;
}

.aws {
   width: 50%;
}

.devops {
   width: 40%;
}

.projectssection {
  margin-top: 2rem;
}
.projectssection h2 {
  text-align: center;
}

.containerone {
  display: flex;
  background-color: black;
  gap: 1rem;
  color: white;
}

.containertwo {
  margin-top: 2rem;
  display: flex;
  background-color: black;
  gap: 1rem;
  color: white;
}
.containerthree {
  margin-top: 2rem;
  display: flex;
  background-color: black;
  gap: 1rem;
  color: white;
}
.projectimage {
  margin-top: 1rem;
  margin-left: 1rem;
}
.projectdescription {
  font-size: 1.4rem;
}

.comingsoonsection {
  margin-top: 2rem;
}

.comingsoonsection h2 {
  text-align: center;
}

.comingsoonone {
  margin-top: 2rem;
  height: 25rem;
  width: 25rem;
  border-radius: 50%;
  background-color: gray;
  position: relative;
  margin-left: 35rem;
}

.comingsoononetext {
  position: absolute;
  margin-top: 12rem;
  margin-left: 0.5rem;
}

.contactsection {
  margin: 2rem;

}

.contactsection h2 {
  margin-top: 2.5rem;
  text-align: center;
}

.contactsection .containerforform {
  margin-top: 2rem;
}

.contactsection .containerforform form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

#name {
  width: 50%;
  padding: 0.5rem;
}

#labelname {
}

#email {
  width: 50%;
 
  padding: 0.5rem;
}

#labelemail {

}

#phno {
  width: 50%;

  padding: 0.5rem;
}

#labelphno {

}

#message {
  width: 50%;
  height: 15rem;
  padding: 0.5rem; /* Lower padding is better for inputs */
  vertical-align: top;
}

#labelmessage {
  
}

#submit {
 
  width: 20%;
  padding: 1rem;
}

#submit:hover{
  cursor: pointer;

}


#emailcontact {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#name:focus, #email:focus, #phno:focus, #message:focus {
  border-color: #3182CE; /* Highlights blue when clicking into fields */
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


.skills{
  margin-top: 0.2rem;
}

.skills > h2{
  text-align: center;
  font-size: 2rem;
}

/* .certifications {
  margin-top: 1rem;
    display: flex;        
  flex-wrap: wrap;     
  justify-content: center;
} */

.hidden-field {
    display: none;
    visibility: hidden;
}


.cert{
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 0.6rem -0.1rem rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  /* margin-bottom: 0.5rem;
  margin-top: 1rem; */
  height: 100%;
}

.imagesforcert{
  height: auto;
  width: 100%;
  object-fit: contain;
  border-radius: 0.4rem;
  max-width: 18.5rem;
  max-height: 10rem;
}

.certifications{
  width: 100%;
  padding: 0 1rem;
}

.certifications > h2{
  text-align: center;
  font-size: clamp(1.5rem,5vw,2.5rem);
  margin: 4rem 0 2rem;
}

.certificationsarragement{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,28rem), 1fr));
  gap: 2rem;
  max-width: 120rem;
  margin: 0 auto;
  width: 100%;
}


footer{
  border: 1rem solid #E2E8F0;
   background-color: transparent; 
  width: 100%;
  padding: 2rem 0; 
 
}

footer > p{
   margin: 0;
  text-align: center;
  background: none;
}

@media screen and (max-width: 768px){
  
  header .navbar {
  flex-direction: column;
  text-align: center;
  gap: 0.8rem;
  padding: 0.5rem;
}

.navbar ul {
  flex-direction: column;
  /* margin-top: 1rem; */
  gap: 1rem;
  width: 100%;

}

ul li{
  width: 100%;
}

ul li a {
  display: block;
  padding: 0.8rem;
  
}

.imagebanner{
  padding: 0 1.2rem;
}

.textbanner h2{
  font-size: 1.5rem;
}

.textbanner > p{
  font-size: 1.1rem;
}

.textbanner > button{
  font-size: 1rem;
  padding: 0 0.6rem 1.5rem;
  width: auto;
}

.aboutme{
  flex-direction: column;
  text-align: center;
}

.aboutmecontent{
  font-size: 1rem;
  line-height: 1.6rem;
  text-align: left;
}

.skills{
  /* margin-top: 0.1rem; */
  margin-top: -8rem;
}

.skills > h2{
  text-align: center;
  font-size: 1.5rem;
}

#submit {
 
  width: 20%;
  padding: 0.2rem;
}

} 
