*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}

body{
font-family:'serif', sans-serif;
display: flex;
min-height: 100vh;
background-color: #191631;
color: #fff;
}

/* vertical header aside */
.logo{
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}
.logo img{
  width:100px;
  height:auto;
  margin-top: 30px;
  margin-bottom: 50px;
}
.sidebar{
  width: 250px;
  background-color: #051320;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
  position: fixed;
  top: 0;
  bottom: 0;
}
nav{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
nav a{
  display: block;
  text-decoration: none;
  color: #ecf0f1;
  font-size: 20px;
  padding: 5px 15px;
  transition: 0.3s;
  border-bottom: 1px solid #302f2f;
}
nav a:hover{
  color: #9745da;
}
nav a.active{
  color: #ff7e44;
}
nav a i{
  margin-right: 15px;
}
/* signup button */

.signup-btn{
  background-color: #ff7e44;
  color: #000;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 20px;
  align-self: center;
}
.signup-btn a{
 color: #000;
 text-decoration: none;
}
.signup-btn:hover{
  background-color: #9745da;
  color: #fff;
}

/* main content  */
.main-content{
  margin-left: 250px;
}

 /* home section */
 .home{
  display:block;
  margin-left:auto;
  margin-right:auto;
 }
 #particles-js{
 width: 100%;
 height: 100vh;
 background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7))
 ,url('img/Laptop\ Background.jpg');
  background-position: center;
 background-size: cover;
}
.text{
  position: absolute;
  top: 45%;
  left: 56%;
  transform: translate(-50%,-50%);
  color: #fff;
}
.text h1{
  font-size: 60px;
  text-align: center;
  margin-bottom: 0px;
}
.text ol{
  list-style: none;
  --height: 3.8rem;
  height: var(--height);
  line-height: var(--height);
  overflow: hidden;
  text-align: center;
}
.text ol li{
  animation: slide-up 12s infinite;
}
@keyframes slide-up{
  0%,10%{
    transform: translateY(0);
  }
  15%,25%{
    transform: translateY(-100%);
  }
  30%,40%{
    transform: translateY(-200%);
  }
  45%,55%{
    transform: translateY(-300%);
  }
}
.text ol li span {
  font-size: 2rem;
  font-weight: 600;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(20deg, orange, magenta, #9745da, #fb8d2e, #ecf0f1);
  -webkit-background-clip: text;
  white-space: nowrap;
}

/* about section */
.about-section{


}
.about{
  display:block;
  margin-left:auto;
  margin-right:auto;
  width: 60%;
  min-height: 100vh;
  padding-top:30px;
}
.about h1{
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #f8f8f8;
}
.about p{
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  width: auto;
}
.about img{
 display: block;
 margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  width: 95%;
  height: 60%;
  border-radius: 10px;
}
.tech-stack{
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.tech-stack li{
  background-color: #fb8d2e;
  padding: 8px 12px;
  border-radius: 4px;
  color: #000;
}

/* services section */
.services{
  display: block;
  padding-top: 30px;
  margin-left: auto; 
  margin-right: auto;
  width: 60%;
  min-height: 100vh;
}
.services h1{
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #f8f8f8;
}
.services p{
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card{
  background-color: #fff;
  border: 1px solid ;
  border-radius: 10px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}
.service-card:hover{
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}
.service-card img{
  display: block;
  width: 100%;
  height: auto;
}
.service-card h3{
  padding: 15px 20px 5px;
  font-size: 20px;
  color: #191631;
}
.service-card p{
  padding: 0 20px 15px;
  font-size: 14px;
  color: #051320;
  margin-bottom: 10px;
}
.portfolio{
  display: block;
  padding-top: 30px;
  margin-left: auto; 
  margin-right: auto;
  width: 60%;
  min-height: 90vh;
}
.portfolio h1{
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #f8f8f8;
}
.portfolio p{
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.portfolio-card{
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  text-align: center;
}
.portfolio-card:hover{
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.portfolio-card img{
  display: block;
  width: 100%;
  height: auto;
}
.portfolio-card h3{
  padding: 15px 20px 5px;
  font-size: 20px;
  color: #191631;
}
.portfolio-card p{
  padding: 0 20px 15px;
  font-size: 14px;
  color: #051320;
  margin-bottom: 10px;
}
.project-link {
  display: inline-block;
  text-decoration: none;
  color: #000;
  background-color: #fb8d2e;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px; 
  margin: 0 20px 20px;
  transition: background-color 0.3s; 
}

.project-link:hover{
  background-color: #9745da;
  color: #fff;
}

/* contact section */
.contact{
  display: block;
  margin-top: 50px;
  padding-top: 30px;
  margin-left: auto; 
  margin-right: auto;
  width: 60%;
  min-height: 80vh;
  text-align: center;
}
.contact h1{
  font-size: 36px;
  margin-bottom: 20px;
  color: #f8f8f8;
}
.contact p{
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.5;
  color: #f8f8f8;
}
.contact-form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background-color: #051320;
  padding: 50px;
  padding-top: 70px;
  boarder-radius: 6px;
  margin-bottom: 30px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}
.contact-btn{
  background-color: #ff7e44;
  color: #000;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: center;
}
.contact-btn:hover{
  background-color: #9745da;
  color: #fff;
}

/* contact card section */
.contact-card-section{
  display: block;
  margin-left: auto; 
  margin-right: auto;
  width: 100%;
}
.contact-cards{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.contact-card{
  background-color: #ecf0f1;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  width: 250px;
}
.contact-card i{
  font-size: 28px;
  color: #191631;
  margin-bottom: 10px;
}
.contact-card h3{
  font-size: 18px;
  margin: 10px 0 5px;
  color: #191631;
}
.contact-card p{
  font-size: 14px;
  color: #051320;
}
.social-icons{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.social-icons a{
  color: #2c3250;
  font-size: 24px;
  transition: color 0.3s;
}
.social-icons a:hover{
  color: #191631;
  
}

/* footer section */
.footer{
  background-color: #E5703BFF;
  color: #000;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 60px;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 20px;
}

/* acccount page  */
.intro-login-page img {
  display: block;
 background-size: contain;
 width: 100%;
 height: auto;
 margin-left: auto;
  margin-right: auto;
  margin-bottom:100px;
}
.centered{
  position: absolute;
  top: 70px;
  left: 56%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.intro-login-page h1{
  font-size: 36px;
  color: #fff;
  padding-top: 100px;
  text-align: center;
  width: 100%;
}
.account{
  display: block;
  margin-left: auto; 
  margin-right: auto;
  width: 35%;
  margin-bottom: 150px;
}
.login-page{
  padding: 30px;
  boarder-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88);
  background-color: #f5f5f7;
}
.login-page h2{
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}
.login-page p{
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}
.login-form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding:30px;
  boarder-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.88);
  background-color: #f5f5f7;
}
.login-form label{
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}
.login-form input{
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #051320;
  border-radius: 6px;
}
.login-btn{
  width: 100%;
  background-color: #fb8d2e;
  color: #000;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.login-btn:hover{
  background-color: #9745da;
  color: #fff;
}

/* Media Query */

@media (min-width: 846px) {
  .hamburger {
    display: none;
  }
}

@media (max-width: 844px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .particles-js {
    height: 50vh;
  }

  .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
  }

  .text h1 {
    font-size: 36px;
    text-align: center;
  }

  .text ol li span {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .about,
  .services,
  .portfolio,
  .contact,
  .contact-card-section {
    width: 90%;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Burger Menu */

.hamburger {
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  /* margin: 5px 0; */
  margin-top: 0;
  margin-bottom: 5px;
  position: relative;
  top: 10px;
  left: 5px;

  transition: 0.4s;
  border-radius: 2px;
}

/* Animation states */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100vh;
  background: #222;
  transition: 0.3s ease;
  z-index: 1000;
  padding-top: 4rem;
}

.mobile-menu ul {
  list-style: none;
  padding-left: 1.5rem;
}

.mobile-menu ul li {
  margin: 1.5rem 0;
}

/* .mobile-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
} */

.mobile-menu.show {
  left: 0;
}

.logo a {
  border-bottom: none;
}

.signup-btn a {
  border-bottom: none;
}
