body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #1c1736;
  scroll-behavior: smooth;
}



h1, h2, h3 {
  margin: 10px 0;
}

a {
  color: #3f51b5;
  text-decoration: none;
}

.container {
  max-width: 900px;
  padding: 20px 20px;
  margin: auto;
  text-align: center;
}

.hero {
  padding: 60px 20px;
  background: #cae5f1;
}

.hero-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.hero-left {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 25px;
  border: 5px solid #bbdefb;
  box-shadow: 0 8px 20px rgba(63, 81, 181, 0.15);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-icons {
  display: flex;
  gap: 10px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #e3f2fd; /* light blue background */
  color: #0d47a1; /* deep blue icon color */
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.icon-circle:hover {
  background-color: #bbdefb;
  transform: scale(1.1);
}


.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}


.hero-right {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.hero-right h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.hero-right h1 span {
  color: #1e88e5;
}

.hero-right h2 {
  font-weight: 500;
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 20px;
}

.typing {
  color: #3f51b5;
  font-weight: 600;
}

.hero-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.06);
  max-width: 500px;
}

.hero-card p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-ghost {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #3f51b5;
  border-radius: 25px;
  color: #3f51b5;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(63, 81, 181, 0.15);
  transition: 0.3s ease;
}

.btn-ghost:hover {
  background: #3f51b5;
  color: white;
}

.buttons a {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  background: #3f51b5;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.buttons a.outline {
  background: white;
  color: #3f51b5;
  border: 2px solid #3f51b5;
}

.buttons a:hover {
  opacity: 0.9;
}

section {
  padding: 20px 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(100, 149, 237, 0.1); /* soft blue shadow */
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  background: #e3f2fd; /* very light blue */
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.2); /* deeper blue glow */
}

.card h3 {
  color: #1565c0;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: #0d47a1;
}

.card p {
  color: #555;
  transition: color 0.3s ease;
}

.card:hover p {
  color: #222;
}


.card h3 {
  margin-bottom: 10px;
  color: #1e88e5;
}

.card a {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.9em;
  color: #3f51b5;
}

.soft-pink {
  background: #e3f2fd;
}

footer {
  text-align: center;
  padding: 20px;
  background: #e3f2fd;
  font-size: 0.9em;
}

/* Tabs */
.project-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.project-tabs button {
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  background: #c5cae9;
  color: #1a237e;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.project-tabs button.active {
  background: #3f51b5;
  color: white;
}

/* Project Cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}



.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(63, 81, 181, 0.1);
  transition: 0.3s;
}
.project-card:hover {
  background: #e3f2fd; /* very light blue */
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.2); /* deeper blue glow */
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-info {
  padding: 15px;
  text-align: left;
}

.project-info h3 {
  color: #1e88e5;
  margin-bottom: 10px;
}

.project-info a {
  display: inline-block;
  margin-top: 10px;
  color: #3f51b5;
  font-weight: 500;
  font-size: 0.9rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.certificates-grid img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.certificates-grid img:hover {
  transform: scale(1.05);
}

/* sliding message by kaustubh */

 .news-ticker {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #11021af1;   /* black background */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid #ffcc00; /* optional highlight line */
    z-index: 500;
  }


.fade {
    animation: fadeEffect 1s ease-in-out;
  }
  .news-ticker p {
    display: inline-block;
    padding-left: 100%; /* start off screen */
    animation: ticker 15s linear infinite;
  }

  @keyframes ticker {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }



  
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.contact-icon {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.contact-icon i {
  color: #1e88e5;
  font-size: 18px;
}

.contact-icon:hover {
  color: #3f51b5;
}

/* Navbar */

/* new design added by kaustubh  */
.navbar {
  background: linear-gradient(90deg, #e8eaf6, #5169f5);
  color: white;
  border-bottom: none;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  
  
}

.navbar a {
  color: white;
  padding: 10px 5px;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.research-text {
    text-align: justify;       /* Aligns text to both left & right edges */
    line-height: 1.6;          /* Adds readable line spacing */
    font-size: 16px;           /* Comfortable reading size */
}
.research-text-pro {
    text-align: justify;       /* Aligns text to both left & right edges */
}

/*.navbar {
  background: #e8eaf6;
  border-bottom: 1px solid #b5bef5;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(63, 81, 181, 0.1);
 } 
*/
.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3f51b5;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;           /* This ensures links stay on the right */
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3f51b5;
}

/* Hide the menu toggle checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger Icon */
.menu-icon {
  display: none;
  font-size: 26px;
  color: #3f51b5;
  cursor: pointer;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #e8eaf6;
    padding: 50px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}


/* testimony section by kaustubh   */

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


 h2 {
  text-align: left;
  font-size: 1.5rem;   /* optional: adjust size */
  margin-bottom: 30px; /* space between heading and testimonials */
  color: #0f172a;      /* adjust color as per theme */
}

 h2 {
  text-align: center;
  font-size: 1.5rem;   /* optional: adjust size */
  margin-bottom: 30px; /* space between heading and testimonials */
  color: #0f172a;      /* adjust color as per theme */
}

.testimonial-container {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}
    
/* testimony Card section */

 .testimonial-card {
  background: #031130;
  padding: 25px;
  border-radius: 50px;
  width: 380px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border: 1px solid #6366f1; /* subtle hover border */
  transform: translateY(-5px);
    }

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #d1d5db;
    }

  .testimonial-footer {
      display: flex;
      align-items: center;
      gap: 20px;
    }
  /* testimony image section */

  .testimonial-footer img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      object-fit: cover;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
    }

  .testimonial-footer .info {
      display: flex;
      flex-direction: column;
    }
  /* testimony name section */
  .testimonial-footer .info strong {
      color: #fff;
      font-size: 15px;
    }

  .testimonial-footer .info span {
      font-size: 12px;
      color: #9ca3af;
    }       