  *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scrollbar-width: none;
      /* scroll-padding-top:60px; */
        /* scroll-behavior:smooth; */
  }
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* overflow-x: hidden; */
    /* overflow: hidden; important: disables default scroll */
    /* scroll-behavior: auto; */
  }

  
  .panel {
    height: 100vh;
  }
/* Header styling */
header {
  width: 100%;
  height: 80px;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 4vw; /* Responsive padding */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

/* Navigation container */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo / title */
nav h1 {
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.8rem;
}

/* Nav center container */
.nav-center {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Navigation menu */
.nav-center ul {
  width: 500px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-center ul li a {
  text-decoration: none;
  color: rgb(235, 198, 149);
  font-size: 24px;
  transition: color 0.3s;
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
  position: relative;
  padding-bottom: 5px;
  display: inline-block;
}

.nav-center ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: rgb(255, 178, 78);
  transition: width 0.3s ease;
}

.nav-center ul li a:hover::after {
  width: 100%;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  width: 28px;
  height: 3px;
  background-color: rgb(235, 198, 149);
  display: block;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -9px;
}

.hamburger::after {
  top: 9px;
}

/* Transform hamburger to cross when open */
.hamburger.open {
  background-color: transparent;
}

.hamburger.open::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger.open::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile styles */
@media (max-width: 900px) {
  /* Show hamburger on tablets and smaller */
  .nav-toggle {
    display: block;
  }

  .nav-center {
  position: fixed;
  top: 80px;
  right: 0;
  transform: translateX(100%);
  background-color: #110f1fcc;
  height: calc(100vh - 80px);
  /* width: 10vw; default width for mobiles */
  flex-direction: column;
  justify-content: start;
  transition: transform 0.3s ease;
  padding-top: 20px;
  border-radius: 0 0 0 10px;
  overflow-y: auto;
  max-width: none; /* remove restricting max-width */
}

  .nav-center.open {
    transform: translateX(0);
  }

  .nav-center ul {
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 0 20px;
  }

  .nav-center ul li a {
    font-size: 1.2rem;
  }
  
}

@media (max-width: 480px) {
  /* Extra small phones */
  .nav-center {
    width: 60vw; /* wider for very small screens */
  }

  .nav-center ul li a {
    font-size: 1rem; /* slightly smaller font */
  }

  /* .skills-slider-container{
    display: none;
  } */
  
}

@media (max-width: 768px) {
  header {
    padding-left: 20px;
    padding-right: 20px;
    height: 80px;
  }
  nav h1 {
    font-size: 1.6rem;
  }
  
  

}
@media (max-width: 360px) {
  .nav-center {
    
     /* slightly wider for narrow screens */
    padding-top: 15px; /* possibly smaller padding */
  }

  .nav-center ul li a {
    font-size: 0.9rem; /* smaller font size for tight space */
    padding-bottom: 3px;
  }

  header {
    padding-left: 10px;
    padding-right: 10px;
  }

  nav h1 {
    font-size: 1.4rem; /* smaller logo/title size */
  }
  .skills-slider-container{
    max-width: 280px;
  }
}
/* Tablet styles */
@media (max-width: 1024px) {
  /* Show hamburger on tablets */
  .nav-toggle {
    display: block;
  }

  /* Navigation menu behaves like mobile drawer on tablets */
  .nav-center {
    position: fixed;
    top: 80px;
    right: 0;
    transform: translateX(100%);
    background-color: #110f1fcc;
    height: calc(100vh - 80px);
    width: 50vw; /* slightly wider drawer for tablets */
    flex-direction: column;
    justify-content: start;
    transition: transform 0.3s ease;
    padding-top: 20px;
    border-radius: 0 0 0 10px;
    overflow-y: auto;
  }
  
  .nav-center.open {
    transform: translateX(0);
  }

  /* Navigation links vertical and spaced on tablets */
  .nav-center ul {
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  /* Font size tweaks for tablets */
  .nav-center ul li a {
    font-size: 1.3rem;
  }

  /* Header padding and size adjustment */
  header {
    padding-left: 24px;
    padding-right: 24px;
    height: 80px;
  }
  
  nav h1 {
    font-size: 1.7rem;
  }
  .nav-center{
    min-width: 20vw;
}

}



 

  /* animate underline from left to right */


  /* nav ------------style --------------------------------------ended */

  /* nav-------------responsive-start */
  /* nav----------------responsive-end */


  /* main style start */
  main{
      width: 100%;
      height:100%;
      /* background-color: #09081e; */
      /* padding-top: 80px; */
  }

  .home{
      background-color: #09081e;

      width: 100%;
    height: 100vh;
      /* background-color:green; */
      display: flex;    
      position: relative;
      overflow: hidden;


  }


  .home::before,
  .home::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 223, 138, 0.3), transparent 70%);
    z-index: 0;
  }

  /* Top-left corner gradient */
  .home::before {
    top: -150px;
    left: -150px;
  }

  /* Bottom-right corner gradient */
  .home::after {
    bottom: -150px;
    right: -150px;
  }

  /* Make sure content stays above the glow */
  .home * {
    position: relative;
    z-index: 1;
  }

  /*  */



  .title1{
      width: 60%;
      height: 100%;
      /* background-color: yellow; */
      display: flex;
      flex-direction: column;
      left: 0;
      /* justify-content: space-between; */
      padding-left: 100px;
      padding-top: 200px;


      h1{
          font-family: "Ubuntu", sans-serif;
          font-weight: 700;
          font-style: normal;
          color:rgb(255, 255, 255);
font-size: clamp(2.5rem, 8vw, 9rem);          opacity: 0;
          transform: translateY(30px);
          animation: slideUpFade 1s ease-out forwards;

      }

      

      h2{
          font-family: "Ubuntu", sans-serif;
              font-weight: 700;
              font-style: normal;
              color:rgb(255, 255, 255);
              font-size: clamp(1.5rem, 4vw, 2.5rem);
              display: inline-flex;
              background: linear-gradient(90deg,rgb(255, 178, 78)10%, #ffffff); /* your colors */
              -webkit-background-clip: text;
              background-clip: text;
              -webkit-text-fill-color: transparent;
          /* span{
              color: rgb(255, 177, 74);
          } */
      }


      h3{
          font-family: "Ubuntu", sans-serif;
          font-weight: 400;
          font-style: normal;
          color:rgb(97, 96, 96);
          font-size: clamp(1rem, 2.5vw, 1.5rem);
          margin-top: 20px;

      }
      .typed-text{
          margin-left:15px;


          li{
              list-style: none;
          }
      }

      /* h4{
        font-size: 35px;
        color: white;
      } */
  }

  .title1-top h4{
    color: white;
    font-size: 2em;
    font-family: "Share Tech", sans-serif;
  font-weight: 400;
  font-style: normal;
  }

  @keyframes slideUpFade {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Typing text animation */
  .typed-text {
    background: linear-gradient(90deg, rgb(255, 178, 78) 10%, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .cursor {
    display: inline-block;
    width: 3px;
    background: rgb(255, 178, 78);
    margin-left: 5px;
    animation: blink 0.7s infinite;
  }

  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }

  .btm-heading{
      margin-top: 50px;
      display: inline-block;
      h4{
          font-family: "Ubuntu", sans-serif;
          font-weight: 600;
          font-style: normal;
          color:rgb(255, 255, 255);
          font-size: 30px;
      }
      img{
          width: 30px;
          height: 30px;
          margin-left: 10px;
          transform: rotate(60deg);
      }
  }



 

/* left section scrolling ----------start */



.skills-slider-container {
  width: 400px;
  overflow: hidden;
  /* border: 1px solid #ffb24a; Optional border for visibility */
  /* margin: 20px auto; */
  background-color: #09081e;
  padding: 10px 0;
}



.skills-slider-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;      /* Width of fade */
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, #09081e 0%, transparent 100%);
  z-index: 10;
}

/* Right fade overlay */
.skills-slider-container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;      /* Width of fade */
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, #09081e 0%, transparent 100%);
  z-index: 10;
}
.skills-slider {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  cursor: default;
}

.skills-slider li {
  color: #ffb24a;
  font-weight: 600;
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
  user-select: none;
}












/* lef */

/* Right Side - Profile Section */
.right-section {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    /* align-items: center; */

    position: relative;
}

.profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 178, 78, 0.15), 
        rgba(255, 223, 138, 0.1) 50%,
        transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite alternate;
    z-index: 1;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgb(255, 178, 78);
    box-shadow: 
        0 0 20px rgba(255, 178, 78, 0.6),
        0 0 40px rgba(255, 178, 78, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 178, 78, 0.8),
        0 0 60px rgba(255, 178, 78, 0.4);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    /* object-fit:scale-down; */
    object-position:center;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(255, 178, 78, 0.3), 
        rgba(255, 223, 138, 0.2));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 20%;
    animation-delay: 4s;
}

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

@keyframes pulseGlow {
  from { 
    opacity: 0.6;
    transform: scale(0.95);
  }
  to { 
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.typed-text {
  background: linear-gradient(90deg, rgb(255, 178, 78) 10%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 0;
}

.cursor {
  display: inline-block;
  width: 3px;
  background: rgb(255, 178, 78);
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Other sections */

/* Responsive Design */

@media (max-width: 768px) {
    .home {
      width: 100%;
        flex-direction: column-reverse;
        text-align: center;
    }

    .home:after{
      display: none;
    }
    
    .title1, .right-section {
        width: 100%;
    }

    .title h1{
      font-size: 70px;
    }
    
    .title1 {
        padding: 100px 20px 50px;
        height: 60%;
    }
    
    .right-section {
      padding-top: 100px;
      height: 40%;
    }
    
    .profile-pic {
        width: 250px;
        height: 250px;
        margin-top: 60px;
    }
    
    .title1{
      padding-bottom: 10px;
    }
    .title1 h1 {
        font-size: 80px;
    }


    .floating-shapes{
        position: absolute;
        width:300px;

          .shape:first-child{
          top: 0;
          right: 0;
        }
        .shape:last-child{
          bottom: 0;
          right: 10px;
        }
    }

    .btm-heading{
      margin-top: 20px;
      font-size: 24px;
      width: max-content;
    }

   
}

@media (max-width: 480px) {

  .header{
    position: fixed;
    top: 0;
  }
    .title1 h1 {
        font-size: 60px;
    }

    .title1-top h3{
      font-size: 18px;
    }

    .home:after{
      display: none;
    }
    .title1{
      padding-top: 20px;
    }
    
    .right-section{
      padding-top: 100px;

    }
    .floating-shapes{
        position: absolute;
        width:300px;

          .shape:first-child{
          top: 0;
          right: 0;
        }
        .shape:last-child{
          bottom: 0;
          right: 10px;
        }
    }
    .skills-slider-container {
        width: 350px;
    }

    
    .title1 h2 {
        font-size: 15px;
    }
    
    .profile-pic {
        width: 200px;
        height: 200px;
    }
  
    .btm-heading{
      margin-top: 70px;
    }
    .btm-heading h4{
      font-size: 24px;
      width: max-content;
    }


  .title1-top h2 {
  display: flex;
  align-items: center;
  margin-left: 29px;
}

.static {
  flex-shrink: 0;
  width: max-content; /* or set a fixed width like 80px depending on text */
}

.typed-text {
  margin-left:none;
  white-space: nowrap;
  overflow: hidden;
}

.title1-top h2 .typed-text{
  margin-left: 5px;
}

} 



@media (max-width:400px) {
  .profile-pic {
      width: 280px;
      height: 280px;
      margin-top:40px;
  } 


}


@media (min-width: 769px) and (max-width: 1024px) {
  .home {
    flex-direction: column-reverse; /* stack vertically */
    text-align: center;
    height: max-content;
    padding-bottom: 40px;

  }

  .home::after {
    display: none; /* optionally disable large background effects */
  }

  .title1, .right-section {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;

  }
  .title1{
    padding-top: 0;
  }

  /* .title1 {
    /* padding-top: 120px; */
  

  .title1 .title1-top h1 {
    font-size:30px; /* moderate scaling */
  }

  .title1 .title1-top h2 {
    font-size: 20px;
  }
  .title h4{
    font-size: 18px;
  }

  .right-section {
    padding-top: 60px;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .profile-pic {
    width: 260px;
    height: 260px;
    margin-top: 40px;
  }
  
  .floating-shapes {
    width: 220px;
  }
  
  .btm-heading {
    margin-top: 30px;
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .home {
    flex-direction: column-reverse;
    padding-bottom: 30px;
    height: max-content;
    padding-top: 80px;
  }

  .home::before,
  .home::after {
    width: 250px;
    height: 250px;
    top: -100px;
    left: -100px;
    bottom: -100px;
    right: -100px;
  }

  .title1, .right-section {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .title1 {
    padding-top: 20px;
  }

  .title1 h1 {
    font-size:30px;
  }

  .title1 .title1-top h2 {
    font-size: 15px;
    padding-left: 0;
    margin-left: 14px;
  }

  .title1 h3 {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }

  .title1 .title1-top h4{
    font-size: 20px;
  }
   .title1 .title1-top h1{
    font-size: 60px;
  }
  .right-section {
    padding-top: 40px;
    height: auto;
  }

  .profile-pic {
    width: 192px;
    height: 192px;
    margin-top: 30px;
  }

  .floating-shapes {
    width: 150px;
  }

  .btm-heading {
    margin-top: 25px;
    font-size: 18px;
  }

}



/* responsive eneded--------------------------- */

.aboutme {
  background-color: rgb(249, 242, 229);
  width: 100%;
  min-height: 100vh; /* change fixed height to min-height for flexibility */
  display: flex;
  align-items: stretch;
  padding: 80px 30px 50px 50px;
  padding-bottom: 0px;
  box-sizing: border-box;
  font-family: "Ubuntu", sans-serif;
  color: #4a4a4a;
  overflow: hidden;
  gap: 30px;
}

.about-left {
  display: flex;
  width: 40%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 40px;
  overflow-y: auto;
}

.timeline {
  position: relative;
  width: 55%;
  padding-top: 4px;
  padding-left: 30px;
  padding-right: 30px;
  /* padding-bottom:50px; */
  height: calc(100vh - 50px); /* adjusted to include bottom padding */
  overflow-y: auto;
}

/* Containers and animations */
.container {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(-30px);
  box-sizing: border-box;
  transition: opacity 1s ease, transform 1s ease;
}

.container.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #b5651d;
  top: 30px;
  bottom: 30px;
  left: 50%;
  margin-left: -2px;
  margin-bottom:10px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(181, 101, 29, 0.3);
  animation: none;
  z-index: 0;
  height: 0;
}

.timeline.animate::after {
  animation: moveline 4s linear forwards;
}

@keyframes moveline {
  0% { height: 0; }
  100% { height: 90%; }
}

.ani-c {
  animation: movedown 1s linear forwards;
}

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

/* Animation delay */
.container:nth-of-type(1) { animation-delay: 1s; }
.container:nth-of-type(2) { animation-delay: 2s; }
.container:nth-of-type(3) { animation-delay: 3s; }
.container:nth-of-type(4) { animation-delay: 4s; }

/* Timeline containers left and right */
.left-container {
  left: 0;
  text-align: right;
  padding-right: 30px;
}

.right-container {
  left: 50%;
  text-align: left;
  padding-left: 30px;
}

/* Timeline points */
.container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #b5651d;
  border-radius: 50%;
  top: 30px;
  z-index: 10;
  border: 3px solid #fffef9;
  box-shadow: 0 0 10px rgba(181, 101, 29, 0.5);
}

.left-container::after {
  right: -12px;
}

.right-container::after {
  left: -12px;
}

.timeline h3 {
  display: inline;
}

/* Textbox styling */
.textbox {
  width: 100%;
  background: #151336;
  padding: 25px 30px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(181, 101, 29, 0.2);
  border: 1px solid rgba(181, 101, 29, 0.15);
  transition: box-shadow 0.3s ease;
  color: white;
}

.textbox h2 {
  font-size: 15px;
}

.textbox:hover {
  box-shadow: 0 6px 20px rgba(181, 101, 29, 0.35);
}

/* Responsive layout for tablets and below */
@media (max-width: 900px) {
  .aboutme {
    flex-direction: column;
    padding: 20px;
    height: auto;
    gap: 20px;
  }

  .about-left, .timeline {
    width: 100%;
    padding: 0;
  }

  .about-left {
    align-items: flex-start;
  }

  /* Single column timeline containers */
  .container {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 20px !important;
    text-align: left !important;
    left: 0 !important;
  }

  /* Position timeline points on left for single column */
  .container::after {
    left: 20px !important;
    right: auto !important;
    top: 25px;
  }

  /* Vertical timeline line moves left */
  .timeline::after {
    left: 30px;
    height: 100%;
    top: 0;
    bottom: 0;
  }
}

/* Additional adjustments for mobile phones */
@media (max-width: 480px) {
  .textbox {
    padding: 15px 20px;
  }

  .textbox h2 {
    font-size: 1.1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .aboutme {
    flex-direction: column; /* stack vertically on tablets */
    padding: 40px 30px 30px 30px;
    min-height: auto;
    gap: 25px;
  }

  .about-left, 
  .timeline {
    width: 100%; /* full width on tablet for clarity */
    padding: 0 15px;
  }

  .about-left {
    align-items: flex-start;
    padding-bottom: 20px;
    max-height: 400px; /* allow scroll if content large */
    overflow-y: auto;
  }

  .timeline {
    height: auto; /* height adapts to content */
    max-height: 500px;
    overflow-y: auto;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
  }

  /* Timeline containers full width and no left/right side positioning */
  .container {
    width: 100% !important;
    padding-left: 60px !important;
    padding-right: 20px !important;
    text-align: left !important;
    left: 0 !important;
  }

  /* Timeline points and line shifted left */
  .container::after {
    left: 25px !important;
    right: auto !important;
    top: 25px;
  }

  .timeline::after {
    left: 40px;
    height: 100%;
    top: 0;
    bottom: 0;
  }

  /* Textbox font sizing tweaks */
  .textbox h2 {
    font-size: 1.3rem;
  }
  
  .textbox {
    padding: 20px 25px;
  }
}






/* skills ------------section */


.top-skills {
 background-color: rgb(249, 242, 229);
  color: #fff;
}

.skills{
  /* background-color: #09081e; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    h1{
        font-family: "Ubuntu", sans-serif;
        font-weight: 700;
        font-style: normal;
        color: rgb(255, 255, 255);
        font-size: 80px;
    }
}


.top-skills {
  text-align: center;
  padding: 60px 20px;
  height: 100vh;
  padding-top: 200px;

}

.top-skills h2 {
  font-family: "Share Tech", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(90deg,rgb(255, 178, 78)10%, #ffffff); /* your colors */
  -webkit-background-clip: text;
  background-clip: text;
              -webkit-text-fill-color: transparent;
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.top-skills p{
  
   font-family: "Cutive", serif;
  font-weight: 400;
  font-style: normal;
}
.top-skills .subtitle {
  color: #09081e;
  margin-bottom: 40px;
  font-size: 1.1em;
}
 .top-skills {
  background:  #09081e;
  color: #fff;
}

.top-skills {
  text-align: center;
  padding: 100px 15px 50px 15px;
}



.top-skills .subtitle {
  color: #e0e0dd;
  font-size: 1.08rem;
  margin-bottom: 38px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  /* background: rgba(31, 25, 48, 0.95); */
  border-radius: 28px;
  /* border: 1.5px solid rgba(232, 188, 56, 0.24); */
  padding: 40px 18px 25px 18px;
  /* box-shadow: 0 4px 32px 0 rgba(232,188,56,0.07), 0 0 0 2px #35144833 inset; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 
    transform 0.18s,
    box-shadow 0.18s,
    border 0.2s;
  position: relative;
  overflow: hidden;
}
.skill-card:before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 100%;
  /* background: linear-gradient(135deg, #ffe4b4 0%, #fff0 100%); */
  opacity: 0.075;
  pointer-events: none;
  border-radius: 30px;
}

.skill-card:hover, .skill-card:focus {
  transform: translateY(-7px) scale(1.037);
  box-shadow: 0 12px 32px 0 #ffd34b44, 0 1px 12px 0 #8c20e355;
  border-color: #ffd866cc;
  z-index: 1;
}




.skill-icon img {
  height: 60px;
  width: auto;
  display: block;

}

.skill-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  letter-spacing: 1.5px;
  color: #ffe1bc;
  text-shadow: 0 1px 2px #180F23cc;
  margin-top: 10px;
}
.skill-card:nth-child(5) .skill-icon img{
  width: 80px;
  height: 80px;
}

.skill-card:last-child .skill-icon img{
  width: 70px;
  height: 70px;
}

/* Responsive tweaks */

@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }
  .skill-card {
    padding: 30px 15px 20px 15px;
  }
  .skill-icon img {
    height: 50px;
  }
  .skill-label {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 17px;
  }
  .skill-card {
    padding: 18px 5px 10px 5px;
    width: 200px;
    margin-left: 10px;
  }
  
  .skill-icon {
    height: 44px;
    width: 44px;
  }
  .skill-icon img {
    height: 28px;
  }
  
  .skill-label {
    font-size: 1rem;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }
  .skill-card {
    width: 150px;
    margin-left: 0;
  }
  .skill-icon, .skill-icon img {
    height: 40px;
    width: 40px;
  }
  .skill-label {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .skill-card:last-child .skill-icon .skill-label{
    font-size: 0.9rem;
    
    
  }
  
   .skill-card:nth-child(6) .skill-icon img{
    width: 60px;
    height: 50px;
  }
  .skill-card:last-child .skill-icon img{
    width: 50px;
    height: 50px;
  }
}

/* project view */
/* Main container for projects gallery */

.projects-gallery {
  background-color: rgb(249, 242, 229);
  color: #f5f5f5;
  padding: 54px 4vw 60px 4vw;
  padding-top: 90px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading styles */
.projects-gallery h2 {
  font-size: 2.3rem;
  font-family: "Lexend", sans-serif;
  font-style: normal;
  margin-bottom: 22px;
  color: #4a4a4a;
  text-align: center;
}

/* Filters section */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}
.filter-btn {
  background: none;
  border: none;
  color: #000;
  font-family: "Share Tech", sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  transition: color 0.19s;
}
.filter-btn:hover,
.filter-btn.active {
  color: #ffdb62;
}
.filter-btn.active::after,
.filter-btn:hover::after {
  content: "";
  display: block;
  height: 2.5px;
  width: 60%;
  margin: 6px auto 0 auto;
  background: #ffdb62;
  border-radius: 10px;
}

/* Hide filter dropdown on large screens, show on small */
.filter-dropdown {
  display: none;
  font-size: 1.14rem;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1.8px solid #ffdb62;
  background-color: #fff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.3px;
}
/* Show dropdown and hide buttons on small screens */
@media (max-width: 600px) {
  .project-filters {
    gap: 0;
    margin-bottom: 20px;
  }
  .filter-btn {
    display: none;
  }
  .filter-dropdown {
    display: block;
    width: 100%;
    max-width: 260px;
  }
}

/* Projects grid layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.projects-grid.two-items {
  grid-template-columns: repeat(2, 337px); /* smaller fixed size for 2 items */
  justify-content: center; /* center the grid */
  gap: 24px; /* optionally reduce gap */
}

/* @media (max-width: 600px) {
  .projects-grid.two-items {
    grid-template-columns: 1fr; 
    gap: 14px;
  }
}  */


/* Single project item styles */
.project-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1b24;
  box-shadow: 0 4px 24px #14131418, 0 1px 6px #201c2c18;
  transition: box-shadow 0.23s, transform 0.2s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  -webkit-tap-highlight-color: transparent;
}
.project-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.project-item:hover {
  box-shadow: 0 12px 32px 0 #ffd34b44, 0 1px 12px 0 #8c20e355;
  transform: translateY(-5px) scale(1.02);
  z-index: 10;
}

/* Image styling */
.project-thumb {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.2s;
}
.project-item:hover .project-thumb {
  transform: scale(1.06);
}

/* Info overlay at bottom of project card */
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0px;
  background-color: transparent;
   -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* background: linear-gradient(0deg, #191824d9 75%, #19182400 100%); */
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
}
.project-info h3 {
  margin-bottom: 4px;
  margin-left: 10px;
  font-size: 1.23rem;
  font-family: "Share Tech", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.project-type {
  margin-left: 10px;
  color: #cdb26b;
  font-size: 0.98rem;
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Eye icon hover effect */
.eye-icon {
  position: absolute;
  top:0px;
  right: 16px;
  padding: 10px 9px;
  background-color: #09081e;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.26s;
  pointer-events: none;
  z-index: 20;
}
.project-item:hover .eye-icon {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
  .project-thumb {
    height: 160px;
  }
}
@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-thumb {
    height: 180px;
  }
  .project-item {
    width: 65%; 
    height: 200px;
  }
}

@media (max-width: 600px) and (min-width: 551px) {
  .projects-gallery {
    padding: 60px 3vw 40px 3vw;
    padding-top: 90px;
  }

  .project-item{
    width: 70%; 
  }
}
@media (max-width:550px) {

  .projects-gallery{
    height: max-content;
  }
  .projects-grid {
    gap: 12px;
  }
  .project-item {
    width: 350px;
  }
  .project-thumb {
    height: 200px;
    object-fit: contain;
  }


  .project-item:nth-child(4) .project-info h3{
    color: black;
  } 
}

@media (max-width: 410px) {
  .projects-grid {
    grid-template-columns: 1fr; /* single column on very narrow screens */
    gap: 12px;
  }
  .project-item {
    width: 100%; /* use full width */
    height: auto; /* flexible height */
  }
  .project-thumb {
    height: 180px;
    object-fit: contain;
  }
}
@media (min-width: 701px) and (max-width: 1024px) {
  .projects-gallery {
    padding: 80px 4vw 50px 4vw;

  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
  }

  .project-item {
    width: auto; /* remove any fixed widths */
    height: auto; /* allow flexible height */
  }

  .project-thumb {
    height: 180px;
    object-fit: contain;
  }
}
/* contact meee */
/* Wrapper for two-column layout */
.contact-wrapper {
  max-width: 1000px;
  margin: 20px auto 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

/* Left info column */
.contact-info {
  flex: 1.2 1 320px;  /* give left side a bit more weight */
  text-align: left;
  color: #fff;
  font-family: Ubuntu, sans-serif;
}

/* Main left heading */
.contact-heading {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgb(255, 178, 78) 10%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Merriweather', serif;
  text-shadow: 0 2px 4px rgba(247, 188, 56, 0.3);
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #f7bc38;
  margin-bottom: 6px;
}

.contact-info h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Right heading inside form */
.form-heading {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgb(255, 178, 78) 10%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Merriweather', serif;
  text-shadow: 0 2px 4px rgba(247, 188, 56, 0.25);
  text-align: left;
}

/* Optional hover effect only for the gradient headings */
.contact-heading:hover,
.form-heading:hover {
  text-shadow: 0 0 10px rgba(247, 188, 56, 0.5);
}

/* Subtitle under Contact Me */
.contact-info .subtitle {
  margin-bottom: 40px;
  font-size: 1.18rem;
  color: #bbb6a1;
}

/* General text */
.contact-info p {
  font-size: 1rem;
  color: #bbb6a1;
  line-height: 1.6;
  margin-bottom: 18px;
}

.contact-block {
  margin-bottom: 14px;
}

.contact-block .label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f7bc38;
  margin-bottom: 4px;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-text {
  margin: 0;
  color: #e0dfd6;
}

/* Right form column */
.contact-form {
  flex: 1 1 320px;   /* keeps two-column balance */
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
  margin: 0;
  padding: 24px 22px 26px;
  /* background: #151336; */
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

/* Contact section container */
.contact-me {
  background-color: #09081e;
  color: #fff;
  padding: 80px 10px 0 20px;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-x: hidden;  /* prevent AOS transforms from creating horizontal scroll */
}

/* preserve default h2 (used if needed elsewhere) */
.contact-me h2 {
  font-family: 'Merriweather', serif;
}

/* subtitles directly inside .contact-me (not left column) */
.contact-me .subtitle {
  margin-bottom: 40px;
  font-size: 1.18rem;
  color: #bbb6a1;
}

/* Form inputs */
.contact-form input,
.contact-form textarea {
  font-size: 1.05rem;
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  background-color: #1c1838;
  color: #eee;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b3b3c6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 8px #f7bc38cc;
  background-color: #292442;
  color: #fff;
}

/* Submit button */
.btn-submit {
  background-color: #f7bc38;
  color: #110f1f;
  font-weight: 700;
  width: 200px;
  padding: 10px 6px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.18s ease,
              box-shadow 0.18s ease;
  font-size: 1.14rem;
  align-self: center;
}

.btn-submit:hover {
  background-color: #e2a800;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(226, 168, 0, 0.4);
}

.submition {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Status text under form */
.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #e0dfd6;
  text-align: center;
}

/* Footer */
.footer {
  color: #aaa;
  padding: 18px 20px;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  border-top: 1px solid #3a375b;
}

.footer-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a {
  color: #f7bc38;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-social a img {
  width: 40px;
  height: 40px;
  filter: brightness(0.8);
  transition: filter 0.2s ease;
}

.footer-social a:hover img {
  filter: brightness(1);
}

.footer-social a:last-child img {
  height: 35px;
}

/* Responsive: stack on small screens */
@media (max-width: 800px) {
  .contact-me {
    padding: 60px 16px 0 16px;
    height: max-content;
  }

  *{
    scroll-padding-top:50px ;
  }
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .contact-heading {
    font-size: 2rem;
    text-align: center;
  }

  .form-heading {
    font-size: 2rem;
    text-align: center;
  }

  .contact-info .subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .contact-form {
    max-width: 100%;
    width: 100%;
  }

  .btn-submit {
    width: 48%;
  }

  .submition {
    justify-content: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .contact-heading,
  .form-heading {
    font-size: 1.6rem;
  }

  .btn-submit {
    width: 150px;
  }

  .submition {
    flex-direction: column;
    gap: 12px;
  }

  .footer-container {
    flex-direction: column;
    font-size: 0.85rem;
  }

  .footer-links {
    margin-bottom: 10px;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-me {
    padding: 70px 30px 20px 30px;
  }

  .contact-heading {
    font-size: 2.3rem;
  }

  .form-heading {
    font-size: 2.2rem;
  }

  .contact-info .subtitle {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .contact-form {
    max-width: 90%;
    width: 360px;
  }

  .btn-submit {
    width: 120px;
    font-size: 1.1rem;
  }

  .submition {
    justify-content: space-around;
    gap: 16px;
  }

  .footer-container {
    max-width: 90%;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
  }

  .footer-links a {
    margin: 0 8px;
  }

  .footer-social a img {
    width: 35px;
    height: 35px;
  }
}


/* Modal Styles  */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 12, 29, 0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.32s ease-in-out;
  padding: 15px; /* small padding for mobile spacing */
  box-sizing: border-box;
  overflow-y: auto; /* allow scroll if modal content is tall */
}

.project-modal {
  max-width: 500px;
  width: 92vw;
  background: #231f2e;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 38px #18163b39;
  padding: 26px 18px 30px 18px;
  position: relative;
  text-align: center;
  box-sizing: border-box;

  h3{
     font-family: "Voltaire", sans-serif;
  font-weight: 400;
  font-style: normal;
  }
  p{
    color: #ffd866 ;
    font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 3rem;
  width: 30px;
  height: 30px;
  color: #ffd866;
  cursor: pointer;
  transition: color 0.25s;
}

.modal-close:hover,
.modal-close:focus {
  color: #e2a800;
  outline: none;
}

.modal-img {
  width: 100%;
  height: 300px;
  object-fit: fill; /* use cover for better image aspect */
  border-radius: 12px;
  margin-bottom: 16px;
  transition: height 0.3s ease;
}

.modal-preview-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 36px;
  border-radius: 9px;
  background: #ffd866;
  color: #1a1838;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.06rem;
  transition: background 0.23s ease;
}

.modal-preview-btn:hover {
  background: #e2a800;
}

/* Responsive for small devices */
@media (max-width: 550px) {
  .project-modal {
    max-width: 70vw;
    padding: 12px 2vw 24px 2vw;
  }

  .modal-img {
    height: 130px;
  }

  .modal-preview-btn {
    padding: 10px 28px;
    font-size: 1rem;
  }
}

/* Project Grid Responsive: Single Item Expand */
.projects-grid.single {
  grid-template-columns: 1fr;
}

.project-item.single {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  min-height: 310px;
  box-shadow: 0 8px 32px #22201833, 0 1px 8px #422e4b26;
  transition: box-shadow 0.3s ease;
}

/* Accessibility and smooth scrolling */
.project-modal-backdrop:focus {
  outline: none;
}
