
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(135deg, #191919 70%, #e3651d 100%);
  color: white;
}

header {
  margin-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: #e3651d;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
}

.logo:hover {
  transform: scale(1.1);
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: #e3651d;
  border-bottom: 3px solid #e3651d;
}

@media (max-width: 995px) {
  nav {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid #e3651d;
    border-bottom: 3px solid #e3651d;
    border-bottom-left-radius: 2rem;
    padding: 1rem;
    background-color: #161616;
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  nav a:hover,
  nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #e3651d;
  }
}

section {
  min-height: 100vh;
  padding: 5rem 9% 5rem;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background-color: #191919;
}

.home .home-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
}

span {
  color: #e3651d;
}

.home-content h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.home-content p {
  font-size: 1.6rem;
}

.home-img {
  border-radius: 50%;
}

.home-img img {
  position: relative;
  width: 30vw;
  border-radius: 50%;
  box-shadow: 0 0 25px solid #e3651d;
  cursor: pointer;
  transition: 0.2s linear;
}

.home-img img:hover {
  transform: scale(1.05);
}



.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  border: 0.2rem solid #e3651d;
  font-size: 2rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: #e3651d;
}

.social-icons a:hover {
  color: #191919;
  transform: scale(1.3) translateY(-5px);
  background-color: #e3651d;
  box-shadow: 0 0 25px #e3651d;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: linear-gradient(90deg, #e3651d 60%, #ff7700 100%);
  color: #fff;
  border-radius: 3rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 24px #e3651d44;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
  cursor: pointer;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.4s;
  pointer-events: none;
}

.btn:hover {
  background: #fff;
  color: #e3651d;
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 8px 32px #e3651d77;
  border: 2px solid #e3651d;
}

.btn:hover::after {
  left: 180%;
}


.typing-text {
  font-size: 3.4rem;
  font-weight: 600;
  position: relative;
}

.cursor {
  display: inline-block;
  font-weight: 700;
  color: #e3651d;
  animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.education {
  padding: 10rem 9% 5rem;
  text-align: center;
}
.education h1 {
  font-size: 4rem;
  margin-bottom: 4rem;
}
.education-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
.edu-item {
  background: #222;
  padding: 2rem 3rem;
  border-radius: 1.5rem;
  max-width: 500px;
  box-shadow: 0 0 15px #1114;
  text-align: left;
}
.edu-icon {
  font-size: 3rem;
  color: #e3651d;
  margin-bottom: 1rem;
}
.edu-item h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.edu-item h3 {
  font-size: 1.6rem;
  color: #e3651d;
  margin-bottom: 0.5rem;
}
.edu-item span {
  font-size: 1.3rem;
  color: #bbb;
  display: block;
  margin-bottom: 1rem;
}
.edu-item p {
  font-size: 1.4rem;
  color: #ccc;
}

.contact {
  background: linear-gradient(135deg, #191919 70%, #e3651d 100%);
  color: white;
  padding: 7rem 9% 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-title {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.contact-title span {
  color: #e3651d;
}
.contact-container {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
}
.contact-form, .contact-info {
  background: #222;
  border-radius: 1.5rem;
  box-shadow: 0 0 20px #1117;
  padding: 2.5rem 2rem;
  flex: 1 1 320px;
  min-width: 300px;
  max-width: 500px;
}
.contact-form {
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: #e3651d;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  color: white;
  background-color: #191919;
  border: 1.5px solid #e3651d;
  border-radius: 0.5rem;
  transition: border 0.3s, box-shadow 0.3s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff7700;
  box-shadow: 0 0 10px #e3651d;
}
.btn {
  display: inline-block;
  padding: 1.3rem 20px;
  background: linear-gradient(90deg, #e3651d 60%, #ff7700 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-top: 1rem;
}
.btn:hover {
  background: #fff;
  color: #e3651d;
  border: 2px solid #e3651d;
}
.contact-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #e3651d;
  font-weight: 700;
}
.contact-info p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ccc;
}
.contact-info a.highlight-email {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}
.contact-info a.highlight-email:hover {
  color: #e3651d;
}
.social-icons {
  margin-top: 2rem;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 0.5rem;
  background: #191919;
  border-radius: 50%;
  color: #e3651d;
  font-size: 2rem;
  border: 1.5px solid #e3651d;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.social-icons a:hover {
  background: #e3651d;
  color: #191919;
  transform: scale(1.15);
}
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form, .contact-info {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .contact-title {
    font-size: 2.5rem;
  }
  .contact-form, .contact-info {
    padding: 1.2rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .education-list {
    padding: 0 1rem;
  }
  .edu-item {
    padding: 1.5rem 1rem;
  }
  .education h1 {
    font-size: 2.5rem;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1000px) {
  .home {
    gap: 4rem;
  }
}

@media (max-width: 995px) {
  .home {
    flex-direction: column;
    margin: 5rem 4rem;
  }

  .home .home-content h3 {
    font-size: 2.5rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }
}

