:root {
    --primary-color: #0d6efd;
    --primary1-color: #00d4ff;
    --secondary-color: #6c757d;
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
   html {
    scroll-behavior: smooth;
  }
  body {
    font-family: var(--font-family-base);
    scroll-behavior: smooth;
  }

  /* Navbar Customizations */

  .brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: dashed underline;
  }
/* Navbar Bottom Line */
.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px ; /* Thickness of the bottom line */
    background: linear-gradient(to right, #00d4ff, #ffffff); /* Gradient line */
    /* Dashed Gradient Line */
    /* background: repeating-linear-gradient(
      to right,
      #00d4ff,
      #00d4ff 10px,
      #ffffff 10px,
      #ffffff 20px
  ); */

}

  /* Navbar Links */
.navbar-nav .nav-link {
  position: relative;
  color: white; /* Ensure text contrasts against the blue background */
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px; /* Adjust to slightly separate underline from text */
  width: 0;
  height: 2px; /* Thickness of the underline */
  background: linear-gradient(to right, #00d4ff, #ffffff); /* Lighter gradient for better contrast */
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.brand-title:hover {
  color: #00d4ff;
  text-decoration: none;

} 

.navbar-nav .nav-link:hover::after {
  width: 100%; /* Full underline on hover */
}
.navbar-nav .nav-link.active {
  color: #00d4ff;
}

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

  /* Hero Section */
  .hero {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 0 4rem 0;
    text-align: center;
  }
  .hero img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  /* Animations for Sections */
  .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
  }
  .section {
    padding: 2rem 0 1rem 0;
  }
  .about-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .section[data-aos] {
    opacity: 0;
    transition: opacity 1s ease;
  }
  [data-aos].aos-animate {
    opacity: 1;
  }
  /* Project Card Hover Effect */
  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  .read-more {
    color: var(--primary-color);
    text-decoration: none;
  }
  .read-more:hover {
    text-decoration: dashed underline;
  }

/* experience section */
  .timeline {
position: relative;
margin: 2rem 0;
}
.timeline-item {
margin-bottom: 2rem;
}
.timeline-item h3 {
font-size: 1.5rem;
color: var(--primary-color);
}
.timeline-item h4 {
font-size: 1.2rem;
color: var(--secondary-color);
}
.timeline-item .timeline-date {
font-size: 0.9rem;
color: #6c757d;
margin-bottom: 0.5rem;
display: block;
}

/* pdf file preview */
#pdfPreview {
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    display: none;
}

#pdfIcon {
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
.blog {
    padding: 6rem 0 4rem 0;
    text-align: center;
  }
  .blog img {
    width: 350px;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 1rem;
  }
  .blog-details img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 1rem;
  }
  .related-post img {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  /* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0 2rem 0; /* top, right, bottom, left */
  text-align: center;
}

  .social-icons a {
    color: white;
    margin: 0 10px;
  }
  .social-icons a:hover {
    color: #ddd;
  }
