 /* welcome page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.welcome-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background slideshow container */
.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

/* Each slide (background image) */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Images */
.slide1 {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1950&q=80');
}
.slide2 {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1950&q=80');
}
.slide3 {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1950&q=80');
}


/* Show active slide */
.slide.active {
  opacity: 1;
  z-index: -1;
}

/* Overlay */
.overlay {
  position: relative;
  background-color: rgba(0,0,0,0.6);
  width: 100%;
  height: 100vh;
  color: white;
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Text */
.welcome-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.quote {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 40px;
}

/* Loading bar */
.loading-bar {
  width: 70%;
  height: 12px;
  background-color: #444;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ffcc, #0077ff);
  border-radius: 6px;
  transition: width 0.1s linear;
}

#loading-percent {
  font-size: 1.2rem;
}
.home-page {
  display: none;
}



/* General styles */
 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
      font-family: 'Poppins', sans-serif;
      scroll-behavior: smooth;
      height: 100%;
      overflow: auto;

    }

    nav {
      background: rgba(0, 0, 0, 0.7);
      padding: 1rem 2rem;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 999;
      display: flex;
      justify-content: center;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    nav ul li a {
      text-decoration: none;
      color: white;
      font-weight: bold;
      transition: color 0.3s;
    }

    nav ul li a:hover {
      color: #00ffd0;
    }
    .nav-link.active {
     color: #00ffd0; /* or any active color */
     font-weight: bold;
     border-bottom: 2px solid #00ffd0;
    }


    section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      background-color:#0f172a;
      width:100%;
      margin: 0;
      padding: 0;
     }
 
    .home {
      background: url('images/backgroud_image.jpg');
      color: white;
      text-align: center;
      flex-direction: column;
      position: relative;

     display:flex;
     height:100vh;
     padding:60px 9% 0;

    }

    .home::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 0;
    }

    .home-content {
      position: relative;
      z-index: 1;
      animation: fadeInUp 2s ease forwards;
     
    }

    .home h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      animation: nameGlow 3s ease-in-out infinite alternate;
    }

    @keyframes nameGlow {
      0% { text-shadow: 0 0 5px #00ffd0; }
      100% { text-shadow: 0 0 20px #00ffd0, 0 0 30px #00ffd0; }
    }

   .home-content h2{
    font-size:32px;
    margin-top:-10px;
    }
    .home-content h2 span{
    display:inline-block;
    color:transparent;
    -webkit-text-stroke: .7px  #00ffd0;
    animation:display-text 10s linear infinite;
    animation-delay:calc(-3s *var(--i));
    }
    @keyframes display-text{
    25%,100%{
        display:none;
    }
   }

    .btn {
      background: #00ffd0;
      background-color: #00ffd0;
      display:inline-block;
      padding:10px 30px;
      border:2px solid #00ffd0;
      box-shadow:0 0 10px #00ffd0;
      font-size:16px;
      cursor: pointer;
      border-radius:40px;
      font-weight:600;
      transition:0.5s;
      border-radius: 5px;
      margin-top: 20px; 
    }

    .btn:hover {
      background: #00c0a0;
      background-color:transparent;
      color:#00c0a0;
      box-shadow:none;
    }

   .social-icons{
    margin-left:20px;
    display: flex;
    justify-content: center;
    gap: 20px; /* space between icons */
    margin-top: 20px;

   }
   .social-icons a{
    display:inline-flex;
    padding:8px;
    border:2px solid #00c0a0;
    border-radius:50%;
    font-size:20px;
    color:#00c0a0;
    margin:0 8px;
   }
   .social-icons a:hover{
    background:#00c0a0;
    color:#1f242d;
    box-shadow:0 0 10px #00c0a0;
   }

    @keyframes fadeInUp {
      0% {opacity: 0; transform: translateY(30px);}
      100% {opacity: 1; transform: translateY(0);}
    }

    @keyframes fadeIn {
      0% {opacity: 0;}
      100% {opacity: 1;}
    }

    /*about section*/
    body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f8;
  color: #333;
}

.about-section {
  display: block; /* override flex */
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-section h1 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 40px;
  color: #2c3e50;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 30px;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.about-text h2, .goals h2 {
  margin-top: 0;
  color: #2980b9;
}
.personal-info {
  margin-top:30px;
  padding-left: 100px; /* shifts content slightly to the right */
}
.personal-info ul {
  list-style: none;
  padding: 0;
  font-size: 1.1em;
}

.personal-info li {
  margin-bottom: 10px;
}

.goals h3 {
  margin-bottom: 10px;
  color: #34495e;
}

.goals ul {
  padding-left: 20px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section h1 {
    font-size: 2.2em;
  }
}


/* Projects section */
.projects-section{
   display: block; /* override flex */
   max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
 

.projects-section h1 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 40px;
  color: #2c3e50;
}
.grid-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.grid-cards .card {
  width: 300px;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 0 10px #7cf03d33;
}

.grid-cards .card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.grid-cards .card p {
  margin: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: 00ffd0;
}

.grid-cards .card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px 00ffd0;
}


/* skill section */
.skills-section{
   display: block; /* override flex */
   max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
 

.skills-section h1 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 40px;
  color: #2c3e50;
}

.skills-section {
  padding: 40px;
  background-color: #0f172a;
  color: #fff;
  text-align: center;
}

.skills-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.skill-card {
  background-color: #1e293b;
  padding: 20px;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.progress-bar {
  background-color: #334155;
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  background-color: #3b82f6;
  height: 20px;
  line-height: 20px;
  color: white;
  text-align: right;
  padding-right: 5px;
  border-radius: 5px;
}

/* Contact section */

.contact-section{
   display: block; /* override flex */
   max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
 

.contact-section h1 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 40px;
  color: #2c3e50;
}

.card-for-contact {
  background: rgba(255, 255, 255, 0.05);
  padding: 70px 40px;
  border-radius: 25px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 8px 25px rgba(124, 240, 61, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.card-for-contact:hover {
  transform: scale(1.01);
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  font-size: 16px;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(124, 240, 61, 0.15);
  resize: vertical;
  transition: box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 150px; /* Expanded message box */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 12px #00ffd0(124, 240, 61, 0.4);
}

.contact-form button {
  background-color: #00ffd0;
  color: #000;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #00ffd0;
  transform: scale(1.05);
}







.projects,
.skills,
.contact {
  background-color: #0f172a;
  width: 100%;
  padding: 60px 20px;
}
.projects-section,
.skills-section,
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  background-color: transparent;
}
.projects-section h1,
.skills-section h1,
.contact-section h1 {
  color: #00ffd0;
}

.skill-card h3,
.grid-cards .card p,
.contact-form input,
.contact-form textarea {
  color: white;
}
.projects-section h1,
.skills-section h1,
.contact-section h1 {
  color: #00ffd0;
}

.skill-card h3,
.grid-cards .card p,
.contact-form input,
.contact-form textarea {
  color: white;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 12px rgba(0, 255, 208, 0.4);
}
.home {
  padding-bottom: 0;
  margin-bottom: 0;
}

.about {
  padding-top: 0;
  margin-top: 0;
}
section {
  margin: 0;
  padding: 0;
}
#typing {
  display: block;
  height: 40px; /* or whatever fits your text */
  overflow: hidden;
}
#typing {
  position: relative;
  font-size: 1.5rem;
  white-space: nowrap;
}
/* Ensure body and sections have no default spacing */
body, html {
  margin: 0;
  padding: 0;
}

#typing {
  display: block;
  height: 40px; /* Set a fixed height that fits your text */
  overflow: hidden;
  font-size: 1.5rem;
  white-space: nowrap;
}









