@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Orbitron', sans-serif;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0;
}
.about-container {
  display: flex;
  flex-direction: column;
  gap:20px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* Header */
header {
  background: #111;
  padding: 20px 0;
  text-align: center;
  border-bottom: 2px solid #0ff;
  position: relative;
  z-index: 10;
}

header h1 {
  font-size: 2rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.header-container {
  display: flex;
  justify-content: space-between;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #0ff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

/* Sections */
section {
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 0 20px #0ff2;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin:20px auto;
  width: 90%;
  padding-top: 30px;
}
.about-me {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}
.about-me .left {
  flex: 1;
  text-align: left;
  a{
    color: #0ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 2rem;
    transform: translate(20px, 40px);
    margin-top: 3.3rem
  }
  }
  strong {
    color: #0ff;
    text-shadow: 0 0 5px #0ff;
    font-size: 1.3rem;
  }
  a:hover {
    color: #fff;
    transform: translate(0, 0); 
}
.about-me .right {
  flex: 1;
  text-align: right;
}
.about-me .left a:hover {
  color: #fff;
  transform: translate(0, 0);
}
.about-me-details {
  display: flex;
  color: #ccc;
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  justify-content: space-around;
  align-items: center;
}
.about-me img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid #0ff;
  box-shadow: 0 0 10px #0ff;
}
h2,
h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #0ff;
}
 #projects h2{
  text-align: center;
  margin-bottom: 20px;
 }
ul.interests {
  margin-top: 10px;
  margin-left: 20px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 20px;
}

.project-card {
  flex: 1 1 45%;
  box-shadow: 0 0 10px #0ff;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.3s ease;
  width: 300px;
}
.project-card img{
  width:100%;
  height:auto;
  border-radius: 5px;
}
.project-card:hover {
  transform: scale(1.03);
}
.project-card h3 {
  margin-bottom: 10px;
}
.project-card p {
  margin-bottom: 15px;
  color: #ccc;
}
.project-card a {
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.project-card a:hover {
  color: #fff;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 15px;
  background: #0ff;
  color: #111;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #00b3b3;
  color: #fff;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  background: #000;
  border: 1px solid #0ff;
  color: #0ff;
  border-radius: 5px;
}

.contact-form button {
  background: #0ff;
  color: #111;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #00b3b3;
  color: #fff;
}

/* Footer */
footer {
  background: #111;
  color: #0ff;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid #0ff;
  margin-top: 20px;
}
footer .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
footer .social-links a  {
  color: #0ff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s;
}
footer .social-links a:hover {
  color: #fff;
}
footer .social-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}
footer .social-links ul li {
  display: inline;
}
footer .social-links ul li a {
  color: #0ff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s;
}
footer .social-links ul li a:hover {
  color: #fff;
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 1.2s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 1s;
}

.delay-3 {
  animation-delay: 1.5s;
}
.delay-4 {
  animation-delay: 2.0s;
}
.delay-5 {
  animation-delay: 2.5s;
}
.delay-6 {
  animation-delay: 3s;
}
.fa-bars {
  display: none;
}

/* Mobile Styles */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
  }

  .project-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
.project-card {
    width: 100%;
    padding: 10px;
    box-shadow: none;
    border-radius: 5px;
  }
  .header-container nav {
    display: none;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
  }

  .fa-bars {
    display: block;
    color: #0ff;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 20px;
    cursor: pointer;
  }

  .fa-bars:hover {
    color: #fff;
  }

  .active {
    display: flex;
  }
 .menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .menu-wrapper:hover  nav {
    display: flex;
    position: absolute;
    top: 30px;
    right: 5px;
    background: #111;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px #0ff;
    z-index: 1;
    flex-direction: column;
    height: auto;
    min-width:300px;
    transition: all 0.3s ease;
  }
  .about-me-details{
    flex-direction: column;
    align-items: center;
    gap:30px;
  }
}
@media (max-width: 268px) {
 
  .about-me img {
    width: 100px;
    height: 100px;
  }
  .about-me-details {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .about-me-details .left a{
    font-size: 1.2rem;
    transform: translate(10px, 20px);
  }
  footer .social-links ul {
    align-items: center;
  }
  footer .social-links ul li {
    margin: 5px 0;      
  }
  footer .social-links a i{
    font-size: 1rem;
  }
}
@media (max-width: 350px) {
 
  .project-card {
    padding:03px;
    width:150px;
  }
  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .project-card h3 {
    font-size: 1.2rem;  
  }
  strong{
    font-size: 1rem;
  }
  .btn {
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
}

@media (max-width:170px) {
  .project-card {
    width: 100px;
    padding: 5px;
  }
  .project-card img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .project-card h3 {
    font-size: 1rem;  
  }
  strong{
    font-size: 0.8rem;
  }
  .btn {
    padding: 3px 5px;
    font-size: 0.7rem;
    margin-bottom: 5px;
  }
  p{
    font-size: 0.8rem;
  }
}