/* ==== Base ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  /* background: #1a001f; */
  background: #1c0022;
  color: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==== Particles Background ==== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ==== Navbar ==== */
.navbar.scrolled .container {
 backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.navbar.scrolled {
  padding-top: 0.1rem;
  padding-bottom: 0.3rem;
}
.navbar {
  transition: all 0.3s ease;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.navbar .container {
    padding: 10px 30px;
  transition: all 0.3s ease;
}


/*  */

.navbar-brand {
  font-size: 28px;
  /* font-weight: bold; */
  /* color: #fff !important; */
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
  color: #9d43bd !important;
}

.nav-link:active{
  color: #9d43bd;
}

.navbar .btn {
  background-color: #9d43bd;
  border: none;
 
}
.navbar .btn:hover {
  background-color: #9d43bd;
}

/* ==== Hero Section ==== */
#hero {
  padding-top: 80px;
  padding-bottom: 100px;
  color: #fff;
}

.welcome {
  color: #ffb3ff;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#hero h1 {
  /* font-size: 50px; */
  margin: 10px 0;
}
#hero h1 span{
   
}
#hero h2 {
  font-size: 24px;
  color: #ff91ff;
  margin-bottom: 10px;
}

.highlight-word {
  color: #ff0dff;
  font-weight: 600;
}

.description {
  font-size: 17px;
  color: #d6d6d6;
  
  /* margin-top: 10px; */
  /* max-width: 600px; */
}

.btn-primary {
  background-color: #9d43bd !important;
  border-color: #9d43bd !important;
  color: #fff;
  font-weight: 400;
}
.btn-outline-light {
  border: 2px solid #9d43bd !important;
  color: #d86bff !important;
  font-weight: 400;
  background: transparent;
}
.btn-outline-light:hover {
  background-color: #9d43bd !important;
  color: #fff !important;
}

.btn {
  padding: 12px 25px;
  font-size: 18px;
  transition: transform 0.3s;
}
.btn:hover {
  transform: scale(1.05);
}

/* Hero Image */
#hero img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

/* Typed text cursor */
.cursor {
  display: inline-block;
  background-color: #ffffff;
  width: 3px;
  margin-left: 3px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* social icons */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: white; */
  color: #6c2c89;
  /* background-color: rgba(255, 255, 255, 0.1); */
  /* color: #fff; */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.icon-circle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  /* background-color: #fff; */
  /* color: #6c2c89; */
  transform: scale(1.1);
}

/* circle icon for downlword */
.scroll-indicator {
  /* margin-top: 20px; */
}

.scroll-circle {
  width: 48px;
  height: 48px;
  background-color: white;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  animation: bounce 2s infinite;
  transition: transform 0.3s, background 0.3s;
}

.scroll-circle i {
  font-size: 24px;
   color: #6c2c89;
}

.scroll-circle:hover {
 background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.scroll-circle:hover i {
  color: #6c2c89;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

html {
  scroll-behavior: smooth;
}

/* about */

.icon-skill{
    height: 40px;
    width: 40px;
    display: inline-flex;
  justify-content: center;
  align-items: center;
    
    color: white;
}


/* projects */
.card{
      border: 0.5px solid #5c2a70c9;
  background: linear-gradient(145deg, #1c0022, #5c2a70c9);
  color: #d6d6d6;
}

.card:hover{
  background: #1c0022;
  box-shadow: #5c2a70c9 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}

.know-more{
  color: #6c2c89;
}

.modal-content {
  background-color: #fff !important;
  color: #000 !important;
  border-radius: 1rem;
}



/* contact us  */
.contact-container {
  max-width: 75vw;
      background: linear-gradient(145deg, #1c0022, #5c2a70c9);
    }

    .contact-heading {
      font-size: 2.2rem;
      font-weight: 600;
    }

    .highlight-text {
      font-weight: bold;
      background: linear-gradient(to right, #ff4ecd, #8e44ad);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .form-control {
      color: white !important;
      background-color: transparent;
      border: 1px solid #666;
      border-radius: 10px;
      padding: 10px 15px;
    }
    
    .form-control:focus{
      background-color: transparent;
      color: white;
      box-shadow: none;
      border-color: #ff4ecd;
    }


    .btn-custom {
      background: linear-gradient(to right, #ff4ecd, #7209b7);
      color: white;
      border-radius: 12px;
      padding: 10px 20px;
      border: none;
      font-weight: 500;
    }

    .btn-custom:hover {
      opacity: 0.9;
    }

    input::placeholder{
      color: #d6d6d6 !important;
    }
    textarea::placeholder {
      color: #d6d6d6 !important;
    }

   
  
    @media (max-width: 768px) {
      .contact-container {
  max-width: 90vw;
      }
    }

/* footer */
.footer{
background-color: rgb(255 255 255 / 11%);
}

.footer img{
  width:30px;
  height: 30px;
}

/* === Original Styles (unchanged) === */
/* ... your existing styles remain here ... */


/* === Added Enhancements Below === */

/* Smooth transitions for all elements */
* {
  transition: all 0.3s ease-in-out;
}

/* Hover effects for buttons */
button, .btn {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover, .btn:hover {
  transform: scale(1.05);
}

/* Icon hover grow effect */
a:hover i, .social-icon:hover {
  transform: scale(1.2);
  color: #007bff;
}

/* Anchor scroll fix so sections aren't hidden behind navbar */
section {
  scroll-margin-top: 100px; /* Adjust according to navbar height */
}

/* AOS smoother fade-up enhancement */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ===================== */
/* 📱 Mobile Menu Fix     */
/* ===================== */

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #2e003e; /* Deep purple or match your theme */
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
    z-index: 999;
  }

  .navbar-collapse.show {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .navbar-toggler {
    border: none;
    background-color: rgba(255, 255, 255, 0.1); /* Light background for contrast */
    border-radius: 8px;
    padding: 6px 10px;
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1); /* Make icon white */
  }
}
