*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: 'Times New Roman', Times, serif;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #6e93f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #00f7ff;
}

nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
  background: linear-gradient(135deg, #4070f4 0%, #00b4d8 50%, #00f7ff 100%);
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 25px;
  color: #00f7ff;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: #00f7ff;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #0E2431;
}
.navbar .media-icons a{
  color: #00f7ff;
  font-size: 18px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
}


nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #00f7ff;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}


.home{
  height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #4070f4 0%, #00b4d8 50%, #00f7ff 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}

.home .home-content {
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home .text-one {
  font-size: 25px;
  color: #0E2431;
}

.home .text-two {
  color: #0E2431;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .text-three {
  font-size: 40px;
  margin: 5px 0;
  color: #0299FF;
  display: inline-block;
}

.home .text-four {
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}

.home .text-three .typing-text {
  font-size: 40px;
  margin: 5px 0.1px;
  color: #00f7ff;/*00f7ff*/
  position: relative;
  overflow: hidden;
}

.home .text-three .typing-text::after {
  content: "|";
  position: absolute;
  right: -13px;
  opacity: 1;
  transition: all 0.1s ease-in-out;
}

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

.blink::after {
  animation: blink 0.6s infinite;
}


.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #00f7ff;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #00f7ff;
  background-color: black;
  color: #00f7ff;
}

section{
  padding-top: 40px;
}

section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.about.fade-in {
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.skills.fade-in {
  transition-duration: 1.5s;
  transition-timing-function: ease-in-out;
}

.services.fade-in {
  transition-duration: 1.2s;
  transition-timing-function: cubic-bezier(0.75, 0, 0.25, 1);
}

.contact.fade-in {
  transition-duration: 1.8s;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}

.home.fade-in {
  opacity: 1;
}


section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 100%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}
@media (max-width: 900px) {
  .about .left img{
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 750px) {
  nav .navbar{
    width: 90%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 30px 0;
  }
  nav.sticky .menu a:hover{
    color: #00f7ff;
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1.6;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
    line-height: 1.6;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}
}

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
}

input, textarea, button, select, a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:focus,a:visited,a:active {
  outline: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

footer{
  background: linear-gradient(135deg, #4070f4 0%, #00b4d8 50%, #00f7ff 100%);
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
}

.message-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.message-form.active {
  visibility: visible;
  opacity: 1;
}
.message-form .form-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.message-form .form-content .close-form {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}
.message-form form {
  display: flex;
  flex-direction: column;
}
.message-form form input, .message-form form textarea {
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.message-form form button {
  background: #4070f4;
  color: #fff;
  padding: 10px 10px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  
}
.message-form form button:hover {
  background: #00f7ff;
}


.title {
  text-align: center;
  margin-bottom: 30px;
}

.title span {
  font-size: 2.5em;
  font-weight: bold;
  color: #4070f4;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}


.about {
  background: linear-gradient(135deg, #f7f7f7 0%, #e2e2e2 100%);
}

.about .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .about-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .about-details .left img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about .about-details .right {
  margin-top: 40px;
  font-size: 18px;
  width: 100%;
  text-align: center;
  line-height: 1.6;
}

.about .download-cv {
  margin-top: 50px;
  margin-left: 65px;
  display: inline-block;
  background: #4070f4;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.about .download-cv:hover {
  background: #00f7ff;
  transform: scale(1.05);
}


.skills {
  background: #f7f7f7;
}

.skills .skills-details .text {
  flex-direction: column;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills .content {
  text-align: center;
}

.skills .boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.skills .box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.skills .box:hover {
  background: #00f7ff;
  transform: scale(1.1);
}

.skills .box .icon {
  font-size: 28px;
  color: #4070f4;
}

.skills .box .label {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

.services {
  background: #fff;
}

.services .content {
  text-align: center;
}

.services .services-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.services .box {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.services .box:hover {
  background: #00f7ff;
  transform: scale(1.05);
}

.services .box .icon {
  font-size: 36px;
  color: #4070f4;
}

.services .box .label {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
  line-height: 3;
}


.contact {
  background: #f7f7f7;
}

.contact .content {
  text-align: center;
}

.contact .title {
  font-size: 1em;
  margin-bottom: 50px;
}

.contact .text {
  margin-top: 20px;
  line-height: 1.6;
}

.contact .text .topic {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.contact .text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact .text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.contact .button {
  margin-top: 30px;
}

.contact .button button {
  background: #4070f4;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.contact .button button:hover {
  background: #00f7ff;
  transform: scale(1.05);
}

@media (max-width: 1190px) {
  section .content {
    width: 85%;
  }
}

@media (max-width: 1000px) {
  .about .about-details {
    flex-direction: column;
  }

  .about .about-details .left {
    width: 100%;
  }
  
  .about .download-cv {
    margin-left: 0px;
  }

  .about .about-details .right {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    width: 100%;
  }

  .services .boxes .box {
    width: calc(50% - 20px);
  }
  
  .skills .skills-details {
    flex-direction: column;
    line-height: 1.6;
  }
}

@media (max-width: 750px) {
  .home .text-two {
    font-size: 55px;
  }

  .home .text-three {
    font-size: 33px;
  }

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }

  .navbar.active .menu {
    left: 0;
  }

  nav .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 30px 0;
  }



  .services .boxes .box {
    width: 100%;
  }

  .contact .text {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .home .text-two {
    font-size: 45px;
  }

  .home .text-three {
    font-size: 30px;
  }
}
