/* GLOBAL STYLES */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

body {
  background-color: #0b1120;
  color: white;
  font-family: 'Poppins', sans-serif;

}



.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 2px solid black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0f172a;
}

h3 a {
  font-family:'Pacifico', cursive;
  font-size: 20px;
  font-weight: bolder;
  color: cyan;
  text-decoration: none;
}

h3 a:hover {
  color: white;
}

.nav_bar ul {
  display: flex;
  gap: 50px;
}

.nav_bar ul a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.nav_bar ul a:hover {
  color: cyan;
  text-decoration: underline;
}

/* SECTION GENERAL */
section {
  min-height: 100vh;
  scroll-snap-align: start;
  padding-top: 100px; /* Avoids overlap with fixed header */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HERO SECTION */
.section {
  padding: 0 40px;
}

.content {
  margin-top: 50px;
  max-width: 600px;
}

.content h4 {
  font-size: 30px;
  font-family: cursive;
  color: cyan;
}

.content p {
  font-size: 20px;
  margin-top: 15px;
}

.job,
.name {
  color: cyan;
  font-family:'Pacifico', cursive;
}

.social_Media {
  margin-top: 20px;
}

.social_Media a {
  color: cyan;
  margin-right: 10px;
  text-decoration: none;
}

button {
  padding: 10px 40px;
  margin-top: 30px;
  border: 0;
  border-radius: 15px;
  background-color: cyan;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  box-shadow: 0 0 5px cyan, 0 0 5px cyan;
  transform: translateY(3px);
}

.section img {
  width: 400px;
  height: 360px;
  border-radius: 100%;
  object-fit: cover;
}

/* ABOUT SECTION */
.Henri {
  width: 450px;
  height: 390px;
  border-radius: 20px;
  margin-left: 50px;
  box-shadow: 0 0 10px cyan;
  object-fit: cover;
}

.about {
  max-width: 600px;
  padding: 0 40px;
}

.about h1 {
  font-family: cursive;
  font-size: 30px;
}

.me {
  color: cyan;
}

.about h4,
.about p {
  margin-top: 10px;
}

/* PROJECTS SECTION */
#projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 20px 40px;
  text-align: center;
}

#projects h2{
  margin-bottom: 20px;
  font-family: 'Pacifico', cursive;
}
#projects .service {
  font-size: 1em;
  color: cyan;
  
  
}


.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.card {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  height: 200px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px #00aaff;
}




/* CONTACT SECTION  */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Pacifico', cursive;
}

#contact h2 .contact-me {
  color: cyan;
}

.form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 0px 20px 50px;
  text-align: center;
}
.details{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  
}

.inp input{
  background-color: #1e293b;
  border-radius: 12px;
  padding: 15px;
  width: 400px;
  height: 0px;
  color: white;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
              
}
.inp input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px #00aaff;
}

.inp input:hover {
  border-color: #00aaff;
}
.txt {
  width: 100%;
}

.txt textarea{
  background-color: #1e293b;
  border-radius: 12px;
  padding: 20px;
  width: 800px;
  height: 200px;
  border: 2px solid transparent;
  color: white;
  font-size: 1rem;
  resize: vertical;
  font-family: 'Poppins', sans-serif;

}

.txt textarea:focus {
  outline: none;
  border-color:cyan;
  box-shadow: 0 0 0 3px #00aaff;
}

.txt textarea:hover {
  border-color: cyan;
}

::placeholder {
  color: #94a3b8;
  opacity: 1;
}




















/* ========= MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  /* Header/Navbar */
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav_bar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 10px;
  }

  .section,
  #about,
  #projects {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 160px;
  }

  .content,
  .about {
    margin: 0 auto;
    padding: 20px;
    text-align: center;
  }

  .section img,
  .Henri {
    width: 250px;
    height: 250px;
    margin: 20px auto;
    border-radius: 50%;
  }

  .container {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    gap: 20px;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  h3 a {
    font-size: 1.5rem;
  }

  .nav_bar ul a {
    font-size: 1rem;
  }

  button {
    width: 100%;
    max-width: 200px;
    padding: 10px;
  }
  #contact {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .details {
    flex-direction: column;
    align-items: center;
  }
  
  .inp input {
    width: 100%;
    max-width: 100%;
  }
  
  .txt textarea {
    width: 100%;
    max-width: 100%;
  }
  
}

@media (max-width: 480px) {
  .txt textarea {
    height: 150px;
  }

  .inp input {
    padding: 12px;
  }
}
  
  

