*{
    font-family:Arial, Helvetica, sans-serif
}
body {
    font-family: 'Inter', sans-serif;
  }

/* Center the navbar */

.custom-navbar {
  background-color: rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mirror effect below navbar */
.custom-navbar::after {
  content: "";
  display: block;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  transform: scaleY(-1);
  opacity: 0.5;
  margin-top: -10px;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  
}

/* Style active and disabled links */
.nav-link.active {
  font-weight: bold;
  color: #222223 !important;
}

.nav-link.disabled {
  color: #adb5bd !important;
}


.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  background-color: #f4f4f4;
  flex-wrap: wrap;
  flex-direction: row;  /* Now: image left, text right */
}

.about-image {
  flex: 1;
  max-width: 50%;
}
.about-image img {
  width: 100%;
  width: 350px;
 /* ↓ reduced from 500px */
 
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.about-image img:hover {
  transform: scale(1.05);
}

.intro-section {
  background-color: #0a0a23;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif; /* Match your base font */
}

.intro-section h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

.intro-section .highlight {
  color: #c084fc;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

.intro-section .subtext {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 20px;
  color: #ccc;
}
@media (max-width: 768px) {
  .intro-section {
    padding: 40px 15px;
  }

  .intro-section h1 {
    font-size: 2rem;
  }

  .intro-section .subtext {
    font-size: 0.95rem;
  }
}
.about-image {
  max-width: 100%;
  height: auto;
}





/* Responsive for mobile */
@media screen and (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
@media screen and (max-width: 768px) {
  .about-image img {
    max-width: 250px;
  }
}


  .about-content, .about-image {
    max-width: 100%;
    padding: 0;
  }

  .about-content {
    margin-top: 30px;
  }
}

.about {
  padding: 50px 20px;
  background-color: #fff;
  color: #333;
  max-width: 800px;
  margin: auto;
}

.about-content {
  text-align: left;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #5f3d32;
}

.about p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.work{
     margin-top: 10px;
     text-align: center;
}

.skills-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

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

.skill-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.skill-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #333;
}

.contact-section {
  max-width: 800px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 15px;
  background-color: #f1f5f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #374151;
}

.email-card {
  background-color: #fff1f2;
}

.phone-card {
  background-color: #f0f9ff;
}

.contact-card img {
  width: 32px;
  height: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  background-color: #f1f5f9;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background-color:#c084fc;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  width: 180px;
  align-self: center;
}

.contact-form button:hover {
  background-color: #c084fc;
}

.contactme{
    margin-top: 30px;
    text-align: center;
}

.skill-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Animation Base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Triggered when in view */
.reveal.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Styling */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s ease;
  
}

.navbar-nav .nav-link:hover {
  color: #c084fc;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #c084fc;
  left: 0;
  bottom: 0;
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #c084fc;
  font-weight: bold;
}

/* Fix for fixed-top offset */
body {
  scroll-behavior: smooth;
    /* match navbar height */
}

.navbar {
  transition: top 0.3s;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding: 2rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1); /* translucent look */
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.skill-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

#work .card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

#work .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

#work .card img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.container1 {
      padding: 20px 40px;
      position: relative;
      background-color: inherit;
      width: 50%;
    }

    .left {
      left: 0;
    }

    .right {
      left: 50%;
    }

    .content {
      padding: 20px;
      background-color: white;
      position: relative;
      border-radius: 6px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }
    .content:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 10px #c084fc;
}

    .container1::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      right: -10px;
      background-color: #c084fc;
      border: 4px solid #fff;
      top: 20px;
      border-radius: 50%;
      z-index: 1;
    }

    .right::after {
      left: -10px;
    }

    @media screen and (max-width: 768px) {
      .timeline::after {
        left: 31px;
      }

      .container1 {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }

      .container1::after {
        left: 15px;
      }

      .right {
        left: 0%;
      }
    }
.timeline {
      position: relative;
      margin: 50px auto;
      padding: 20px 0;
      width: 90%;
      max-width: 1000px;
    }

    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: #c084fc;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px; /* Move it to the left */
    margin-left: 0;
  }
}
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icons a img {
  width: 32px;
  height: 32px;
  filter: grayscale(100%);
  transition: transform 0.3s, filter 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: grayscale(0%);
   
}

.card {
    position: relative;
    width: 350px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(232, 228, 228, 0.07) 0px 1px 2px, rgba(255, 255, 255, 0.07) 0px 2px 4px, rgba(232, 232, 232, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(236, 231, 231, 0.216)0px 32px 64px;
    cursor: pointer;
}
.text>span {
    display: flex;
    gap: 10px;
}
.card:hover .overlay {
    height: 60%;
}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00000091;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
.text p {
    color: #C0EEF2;
    font-weight: 700;
}

.demo-btn {
    position: relative;
    display: inline-block;
    margin: 15px 0;
    padding: 10px 30px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #C0EEF2;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid #725AC1;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #725AC1;
}

.demo-btn:hover {
    color: white;
    box-shadow: inset 0 -100px 0 0 #725AC1;
}

.demo-btn:active {
    transform: scale(0.9);
}

/* #about{
  display: flex ;
  text-align: center;
} */