/* General styles for mobile view */
@media  (max-width: 600px){ /* Fixed syntax */
    
  * {
box-sizing: border-box;
cursor: default;
}
.navbar,
.navbar2 {
display:none;
}
.navbar3{
  display:block;
}
/* LEFT floating navbar container */
.pill-navbar {
  position: fixed;
  top: 1.5rem;
  left: 11rem;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 50%);
  padding: 3px;
  border-radius: 9999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 2000;
}

/* Base button style */
.pill-navbar button {
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff; /* gray */
  transition: all 0.25s ease;
}

/* ACTIVE state (dark) */
.pill-navbar button.active {
  background: #756e4d; /* dark */
  color: #ffffff;
}

/* Hover polish */
.pill-navbar button:hover {
  transform: translateY(-1px);
}
/* Explore dropdown */
.explore-menu {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background:rgba(225, 225, 225);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1999;
}

/* Visible state */
.explore-menu.show {
  display: flex;
}

/* Links */
.explore-menu a {
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: black;
  text-decoration: none;
  transition: background 0.2s ease;
}

/* Hover / tap */
.explore-menu a:active {
  background: #f3f4f6;
}
.explore-menu a:hover {
  background: #756e4d;  
}


  .cursor,
  .cursor-trail {
    display: none !important;
  }
 {
    cursor: default !important;
  }
  /* Floating pill on the LEFT */
.floating-pill-toggle {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  display: flex;
  background: #ffffff;
  border-radius: 9999px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 2000;
}

/* Base button */
.pill-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #555;
}

/* ACTIVE (dark) */
.pill-btn.active {
  background: #1f2937;
  color: #ffffff;
}

/* INACTIVE (white) */
.pill-btn:not(.active) {
  background: #ffffff;
  color: #555;
}

/* Hover polish */
.pill-btn:hover {
  transform: translateY(-1px);
}


  skills-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: center;
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

body, html {
margin: 0;
padding: 0;
overflow-x: hidden;
}

.social-links a:hover .hero-social-svg {
transform: scale(1.2) translateY(-5px) !important;
filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.3)) !important;
}
.hero-social-svg {
width: 2.5em;
height: 2.5em;
max-width: 170%;
max-height: 100%;
display: inline-block;
vertical-align: middle;
background: transparent;
transition: all 0.3s ease;
pointer-events: auto;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: -0.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 2.5s ease forwards;
}
.hero h3{
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: -0.8rem;
  transform: translateY(15px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  color: #c4c4c4;
}
.hero h2{
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 3.5s ease forwards;
  color: #d4c88e;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 3rem;
  margin-right: 1%;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 4.5s ease forwards 0.2s;
  color: #c4c4c4;
}


.social-links a:hover .hero-social-svg {
transform: scale(1.2) translateY(-5px) !important;
filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.3)) !important;
}

html {
  scroll-behavior: smooth;
}
  
  .menu-icon {
      display: block; /* Ensure the hamburger icon is visible */
      font-size: 24px;
      color: white;
       cursor: default;
      position: absolute;
      top: 200%; /* Align vertically with the logo */
      right: 50px; /* Adjust horizontal alignment */
      transform: translateY(-50%); /* Center vertically */
      z-index: 2001; /* Ensure menu icon is above nav-links */
  }
  section {
  padding: 2rem 0;
}
  .menu-icon::before,
  .menu-icon::after, 
  .menu-icon span {
      content: "";
      display: block;
      height: 2px;
      background: white;
      margin: -5px 0;
      width: 20px;
      transition: transform 0.3s ease, opacity 0.3s ease;
      z-index:1000;
      position: relative;
  }
  .menu-icon span:nth-child(1) {
      top: 0;
    }
    
    .menu-icon span:nth-child(2) {
      top: 10px;
    }
    
    .menu-icon span:nth-child(3) {
      top: 20px;
    }
    
    /* Transform into "X" when open */
    .menu-icon.open span:nth-child(1) {
      transform: rotate(228deg) translate(4px, 5px);
      top: 2px;
    }
    
    .menu-icon.open span:nth-child(2) {
      opacity: 0;
    }
    
    .menu-icon.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -7px);
      top: 9px;
    }
    
  .section {
      padding: 2rem 0;
  }
  .skill-card h3 {
  margin-bottom: 0rem;
  }
  
  .hero {
      padding: 4rem 1rem;
      min-height: 100vh;
      background-size: contain;
      background-position: center;
      background-image: url(assests/joswa\ pic.webp);  
  }
  
  .skill-card {
      background:rgb(255 250 250 / 4%);
      padding: 1rem;
      border-radius: 1.5rem;
      transition: var(--transition);
       cursor: default;
      margin: 10px;
  }

  .skills-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: white;
  }

  .hero-background{
      position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 40%); /* Semi-transparent background */
  border-radius: 0px; /* Border radius */


  justify-content: center;

  }
  .container{
      margin-right: -5%;
      padding: 0 1.5rem; 
      margin-bottom: -5%;
      
  }
  .project-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

project-content h3{
font-size:15px;

}
  .hero {
      padding: 4rem 1rem;
      min-height: 100vh;
      background-size: cover;
      background-position: center;
  }

  .hero-content {
      padding: 4%;
      text-align: center;
      align-items: center;       
      background: rgb(0 0 0 / 30%);
      margin-right: 0%;
      margin-top: 0rem;
      animation: zoomIn 2s ease forwards;
      position: relative;
      box-shadow:  0px 1px 4px 0px rgb(255 255 255 / 50%);
  }
  @keyframes fadeInUp {
 
       0%{
        opacity: 0;
       }
        100%{
             opacity: 1;
        }
  
    }

  .hero h1 {
      font-size: 2rem;
  }

  .hero h2 {
      font-size: 1.5rem;
  }

  .hero p {
      font-size: 1rem;
  }


  .social-links {
      display: flex;
      gap: 1rem;
      animation: fadeInUp 5s ease forwards ;
      justify-content: center;
    }
    
    .social-links a {
      color: var(--color-text);
      padding: 0.5rem;
      transition: var(--transition);
      border-radius: 50%;
      display: inline-block;
      text-decoration: none;
       cursor: default;
      pointer-events: auto;
    }
    
    .social-links a:hover {
      color: var(--color-primary);
      background: rgba(96, 165, 250, 0.1);
      transform: translateY(-2px);
    }

  .about-container,
  .project-container,
  .contact-container {
      padding: 2rem 1rem;
  }
  

 .experience-background{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: rgba(0, 0, 0, 35%);
  border-radius: 0px; /* Border radius */
  z-index: -1; /* Ensure it is behind the hero content */
  animation: parallax 10s infinite linear; /* Parallax scrolling effect */
} 

  .about-content{
      animation: fadeInUp 5.5s ease forwards
  
  }
  .certification-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0rem;
      justify-content: space-evenly;
  }

  .experience-content{
      animation: fadeInUp 7.5s ease forwards
  }
  .project-content{
      animation: fadeInUp 9.5s ease forwards
  }
  .contact-container{
      animation: fadeInUp 11.5s ease forwards
  }

  .skills-grid {
      display: flex;
      flex-direction: column;
      gap: 0rem;
  }

  .projects-grid {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .project-card {
      width: 90%;
  }

  .contact-links {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
  }

  .contact-links a {
      text-align: center;
  }
  .skills-box p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
  skills-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: white;
}
  .skills-box {
  background: rgb(255 250 250 / 4%);
padding: 0.8rem;
border-radius: 0.5rem;
transition: var(--transition);
cursor: default;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
  
/* Responsive for mobile */

.tools-header {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.tools-grid {
  gap: 1rem;
  margin:0;
  grid-template-columns: 1fr 1.3fr;
  display:grid;
  align-items:center;
  
  }
  .tools-card {
      /* min-width: 90px;
      max-width: 120px; */
      padding: 0rem;
  }
  .tools-section p {
font-size: 1rem;
margin-bottom: 2.5rem;
margin-top: 2.5rem;
color: #fff;
letter-spacing: 0.5px;
}

  .container,
  .about-container,
  
  .project-container,
  .contact-container,
  .certification-container {
      margin: 20px !important;
      padding: 1rem 0 !important;
      max-width: 100vw !important;
      width: 90vw !important;
      box-sizing: border-box;
  }
  .section {
      margin: 0 !important;
      padding: 1.5rem 0 !important;
      width: 100vw !important;
      box-sizing: border-box;
  }
  
.experience{
    padding: 0rem;
      min-height: 120vh;
      background-size: cover;
      background-position: center;
      background-image: url(assests/joswa\ pic.webp);
      
}

.experience-card {
  background: rgb(20 21 23 / 50%);
  padding: 1.2rem;
  border-radius: 0.5rem;
  /* display: column;
  flex-direction: row; */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.experience-header h3 {
 font-size: 1rem;
}
  .experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  
}
.date{

  padding:0.3rem;
  font-size:0.8rem

}
.experience-container{
  width:100vw !important;
  max-width: var(--container-width);
  margin: 30px;
  padding: 0 1.5rem;
  position: relative;
  top: 0;
  bottom:0;
  height: 80%;
  z-index: -1;
  animation: parallax 10s infinite linear;
}

.about-image img {
  width: 90%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  margin-left: 5%;
}
.about-text p {
  margin-bottom: 0rem;
  color: #d3d4d5;
  padding: 1rem;
}
.education{
  color: white;
  margin-bottom: 4%;
  font-size: 20px;
  margin-left: 5%;
}
   .section-header {
  display: flex;
  font-size: 1rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-left: 5%;
}
        section-header h2 {
  font-size: 1.6rem;
  font-weight: bold;
  }
.project-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  transition: var(--transition);
}
 .project-card {
  background: rgb(52 58 59 / 50%);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  margin-left:5%;
 }
  .certification-card {
  background: rgb(20 21 23 / 50%);
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: var(--transition);
   cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin:4%;
  }
  .certification-card h3 {
  margin-bottom: 0.5rem;
  color: #d5d5d5;
  font-size: 1.1rem;
  }
  .certification-card p{
  color: #60a5fa;
  margin: 0;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  }

    /* Hero social SVG styles are already defined above */
  .tools-container {
      margin: 0 ;
      padding: 1rem 0 ;
      max-width: 100vw ;
      width: 100vw ;
      box-sizing: border-box;
  }

  .company{
    color: var(--color-primary);
    font-size:0.9rem;
  }
    .contact-content p {
  color: #d7dce3;
  margin-bottom: 2rem;
  font-size: 1rem;
   }
   footer p{
    font-size: 0.7rem;
   }
   .footer-container{

    max-width: var(--container-width);
    margin:10px 0;
    padding:0 1rem;
    /* padding-right: 50%; */
    }

  }
  
