/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
/* GLOBAL */
html {
    scroll-behavior: smooth;
}
body{
    background-color: black;
    color: white;
    font-family: "Roboto Slab", serif;
    height: 100vh;
    margin: 0;
    padding: 50px;
}
/* Navbar */
nav{
    height: 90px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom:1px solid rgba(255, 255, 255, 0.3) ;
    font-family: "Roboto Slab", serif;
    z-index: 3;
    background-color: rgba(0, 0, 0, 9)
}
nav .navLinks {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin:0;
    padding: 0;
    height: inherit;
}
nav li {
    cursor: pointer;
}
nav li a {
     text-decoration: none;
     color: white;
     font-weight: bold;
}
nav li a:hover{
  transform: scale(1.2);
    color: #ccc;
}
.high{
    color: black;
    background: #B3AA91;
    padding: 2px 5px;
}
nav .navLinks .logo{
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 50%;
}


/* Image Background */
.bg{
    width: 100%;
    height: 100%;
    /* background: url(../images/space.webp); */
    opacity: .3;
    position: absolute;
    top: 0;
    left: 0;
    animation: bg 50s linear infinite;
}
@keyframes bg {
    0%{
        background-position-x:0%;
    }
    100%{
        background-position-x:100%;
    }
}
/* Main */
.main-constent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    padding-bottom: 50px;
    padding-bottom: 50px;
}
.main-constent h1 {
    font-size: 100px;
    margin-bottom: 5px;
}
.main-constent p {
    font-size: 25px;
    opacity: 0.8;
    text-align: center;
}
.animated-text{
    font-size: 100px;
    font-weight: 600;
    min-width: 280px;
}

.animated-text span{
    position: relative;
}

.animated-text span::before{
    content: "HOPE";
    color: #aa50ff;
    animation: words 20s infinite;
}

.animated-text span::after{
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: #2f3542;
    border-left: 2px solid #6250ff;
    right: -8px;
    animation: cursor .8s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to{
        border-left: 2px solid #ff7f5000;
    }
}


.animated-text{
    font-size: 50px;
    font-weight: 600;
    min-width: 280px;
}

.animated-text span{
    position: relative;
}

.animated-text span::before{
    content: "HOPE";
    color: #ffffff;
    animation: words 20s infinite;
}

.animated-text span::after{
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: #000000;
    border-left: 2px solid #ff7f50;
    right: -8px;
    animation: cursor .8s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
    to{
        border-left: 2px solid #ff7f5000;
    }
}

@keyframes words {
    0%,20%{
        content: "HOPE";
    }
    21%,40%{
        content: "FREE";
    }
    41%,60%{
        content: "LIFE";
    }
    61%,80%{
        content: "TRUTH";
    }
    81%,100%{
        content: "SURVIVAL";
    }
}

@keyframes typing {
    10%,15%,30%,35%,50%,55%,70%,75%,90%,95%{
        width: 0;
    }
    5%,20%,25%,40%,45%,60%,65%,80%,85%{
        width: calc(100% + 8px);
    }
}

/* LEFT SIDE SOCIAL MEDIA */
.header-wrp .socials{
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translate(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.header-wrp .socials a {
    color: white;
    font-size: 1.4rem;
    transition: color .3s ease;
    text-decoration: none;
}
.header-wrp .socials a:hover{
    color: #B3AA91;
}


/* TIMELINE CSS */
.head-text{
    font-size: 4rem;
    font-weight: 600;
    min-width: 280px;
    text-align: center;
}


/* wraper */
.quote{
    width: 100%;
    height: 50px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 30px 0;
    /* position: absolute; */
    left: 0;
    right: 0;
    bottom: 0;
}
@media (max-width: 600px) {
    .quote {
      display: none;
    }
  }
.quote q {
    color: #000000;
    font-size: 2rem;
    text-transform: capitalize;
}

/* TIME LINE */
.date-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.story {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.date {
    font-size: 1rem;
}
.All-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    margin-bottom: 50px;
  }
  
  .story {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 25px 10px;
    text-align: center;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(50px);
    opacity: 0;
    animation: riseUp 0.8s forwards;
    font-size: 1.5rem;
  }
  
  .story:hover {
    transform: translateY(-5px);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  
  .date-div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .date {
    font-weight: bold;
    font-size: 16px;
  }
  
  .story-text {
    color: #f5f5f5;
    line-height: 1.6;
    font-size: 20px;
  }
  
  /* Responsive Grid Layout */
  @media (min-width: 600px) {
    .All-story {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .All-story {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .skills-section {
    padding: 60px 20px;
    text-align: center;
    padding-top: 10px;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
  }
 .skills-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
  }
  .skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 25px 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(9, 153, 153, 0.1);
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(50px);
    opacity: 0;
    animation: riseUp 0.8s forwards;
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .skill-card:nth-child(1) { animation-delay: 0.1s; }
  .skill-card:nth-child(2) { animation-delay: 0.2s; }
  .skill-card:nth-child(3) { animation-delay: 0.3s; }
  .skill-card:nth-child(4) { animation-delay: 0.4s; }
  .skill-card:nth-child(5) { animation-delay: 0.5s; }
  
  .skill-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  
  .skill-card i {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #fff;
  }
  
  @keyframes riseUp {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  

  /* Contact me section */

.contact-section {
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    background-color: #111;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #888;
    background-color: #222;
  }
  
  .contact-form button {
    padding: 15px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
  }
  
  /* Animation */
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    h2 {
      font-size: 2rem;
    }
  
    .contact-form input,
    .contact-form textarea {
      font-size: 0.9rem;
    }
  }

  /* footer.css */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
  }
  
  .footer-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-logo h3 {
    font-size: 1.8rem;
  }
  
  .footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #aaa;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .footer-social a:hover {
    transform: scale(1.2);
    color: #ccc;
  }
  
  .footer-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
  }
  
  /* Responsive */
  @media (min-width: 600px) {
    .footer-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  
    .footer-links {
      gap: 20px;
    }
  }
  
  /* About us */
  /* about.css */
.about-section {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-in-out;
}

.about-container {
  max-width: 800px;
  text-align: left;
  line-height: 1.8;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  animation: slideIn 1.2s ease-in-out;
}

.about-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: white;
  margin-top: 10px;
}

.about-text {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #ddd;
  animation: fadeIn 0.8s ease-in-out forwards;
  opacity: 0;
}

.about-thanks {
  margin-top: 30px;
  font-weight: bold;
  font-size: 1.05rem;
  color: #aaa;
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
}

.about-signature {
  margin-top: 10px;
  text-align: right;
  font-style: italic;
  font-size: 1rem;
  color: #999;
  animation: fadeIn 1.2s ease-in-out forwards;
  opacity: 0;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }
}
