/* Global */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100%;
  overflow-x: hidden;
}

/* Fixed left panel */
/* .left-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 100vh;
  background: linear-gradient(180deg, #5E4AE3, #9370DB);
  color: white;
  z-index: 1000;
  overflow-y: auto;
} */

/* Fixed Left Panel */
.left-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background-color:#E9E3DF;
  color: #2c2c54;
  z-index: 1000;
  overflow-y: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Profile Image */
.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-bottom: 10px;
}

/* Name Styling */
.name {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #2c2c54;
}

/* Other Info Text */
.domain, .location, .social-links, .quote {
  font-family: 'Quicksand', sans-serif;
  color: #2c2c54;
}

.domain {
  font-size: 1rem;
  font-weight: 500;
  /* color: #f4eaff; */
}

.location {
  font-size: 0.9rem;
  /* color: #e0d3ff; */
}

.social-links a {
  color: #2c2c54;
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
  color: #1d1d40;
}

.quote {
  font-size: 0.9rem;
  font-style: italic;
  /* color: #1d1d40; */
  margin-top: 1rem;
  padding: 0 10px;
}

.btn-light {
  background-color: #fff;
  color: #2c2c54;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  border: 1.5px solid #2c2c54;

}

.btn-light:hover {
  background-color: #f3f3f3;
  color: white;
}

.left-panel blockquote {
  font-style: italic;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* Right Scrollable Panel */
.right-panel {
  margin-left: 320px;
  width: calc(100% - 320px);
  height: 100vh;
  overflow-y: auto;
  background-color: #D9EAFD;
}

/* Section styling */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Sticky nav inside scrollable right panel */
nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  padding-top: 1rem;
  padding-bottom: 1rem;
  /* background-color: #6ea6ff !important; /* Your soft purple */
  /* color: #2c2c54 !important; */ 
}

.section h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  color: #2c2c54;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .left-panel {
    position: relative;
    width: 100%;
    height: auto;
  }

  .right-panel {
    margin-left: 0;
    width: 100%;
    height: auto;
  }
}


/* ABOUT ME */

.card {
  background-color: white;
  border-radius: 20px;
}


.about-text {
  font-family: 'Quicksand', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.8;
  color: #2c2c54;
}

@media (max-width: 768px) {
  .card .row {
    flex-direction: column;
    text-align: center;
  }
}

/* About me ends */

/* Skills section */

.skill-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  background-color: #BCCCDC;
  color: #2c2c54;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #2c2c54;
  color: white;
  box-shadow: 0 0 8px rgba(44, 44, 84, 0.2);

}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* .skill-pill {
  padding: 10px 18px;
  background-color: #D9EAFD;
  color: #2c2c54;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
} */

.skill-pill {
  padding: 10px 18px;
  background: linear-gradient(to right, #bcccdc, #d9eafd);
  color: #2c2c54;
  border-radius: 30px;
  border: 1px solid #bcccdc;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.skill-pill:hover {
  transform: scale(1.05);
  background-color: #bcccdc;
}


.skills-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.view-toggle {
  background-color: #D9EAFD;
  border: none;
  padding: 8px 16px;
  font-family: 'Quicksand', sans-serif;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  color: #2c2c54;
  transition: all 0.2s ease;
}

.view-toggle.active,
.view-toggle:hover {
  background-color: #2c2c54;
  color: white;
}

/* Skills section Ends*/

/* Education  */
.edu-card {
  background-color: #f9fbff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(44, 44, 84, 0.06);
  transition: 0.3s ease;
  text-align: center;
  height: 100%;
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(44, 44, 84, 0.1);
}

.edu-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  /* border-radius: 50%; */
  background: #fff;
  padding: 6px;
  border: 1.5px solid #ccc;
}

.edu-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  color: #2c2c54;
}

.edu-location {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.edu-list {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  list-style-type: disc;
  font-size: 0.95rem;
}

/* Education Ends */

/* Experience section */

/* Experience Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-block {
  background-color: #f5faff;
  border-left: 4px solid #BCCCDC;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(44, 44, 84, 0.05);
  transition: 0.3s ease;
}

.timeline-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(44, 44, 84, 0.08);
}

.timeline-block h5 {
  color: #2c2c54;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
}

.timeline-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.timeline-block ul {
  margin-left: 1.2rem;
  padding-left: 0;
}

.timeline-block li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-family: 'Quicksand', sans-serif;
}

.exp-filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Quicksand', sans-serif;
  color: #2c2c54;
  background: linear-gradient(to right, #d9eafd, #bcccdc);
  box-shadow: 0 4px 10px rgba(188, 204, 220, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.4px;
}

.exp-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(44, 44, 84, 0.25);
  background: linear-gradient(to right, #bcccdc, #d9eafd);
  color: #1d1d40;
}

.exp-filter-btn.active {
  background: #2c2c54;
  color: white;
  box-shadow: 0 6px 12px rgba(44, 44, 84, 0.35);
  transform: translateY(-1px);
}

.timeline-block.is-hidden { display: none; }

.exp-filter-btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}



/* Experience section Ends */

/* Projects section */
.project-card {
  background-color: #f9fbff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(44, 44, 84, 0.1);
}

.project-image {
  width: auto;
  height: 200px;
  object-fit: cover;
  background-color: #bcccdc; /* fallback color */
  padding: 10px;

}

/* .project-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
} */

/* Make content a 4-row grid:
   title, date, list that soaks up extra space, tags at the bottom */
   
.project-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 1.25rem;
}

/* Tight list spacing, keep indent */
.project-content ul {
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-left: 1.2rem;
  align-self: start;
}

/* Tags stay anchored at the bottom of the card */
.project-tags {
  align-self: end;
}


.project-content h5 {
  color: #2c2c54;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-time {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.project-content p {
  font-size: 0.95rem;
  color: #333;
  flex-grow: 1;
}

.project-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  background-color: #D9EAFD;
  color: #2c2c54;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

/* Projects section Ends */

/* Projects section Ends */

/* Publications section */
.publication-card {
  background-color: #f9fbff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(188, 204, 220, 0.3);
}

.publication-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(44, 44, 84, 0.1);
}

.publication-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(217, 234, 253, 0.5);
  border-radius: 50%;
  margin-top: 5px;
}

.publication-title {
  color: #2c2c54;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
}

.publication-authors {
  color: #555;
  font-size: 0.95rem;
  font-family: 'Quicksand', sans-serif;
}

.publication-venue {
  color: #777;
  font-size: 0.9rem;
  font-style: italic;
}

.publication-abstract {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: 'Quicksand', sans-serif;
}

.publication-links {
  margin-top: 0.5rem;
}

.publication-links .btn {
  font-size: 0.85rem;
  padding: 6px 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

.publication-links .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Publications section Ends */

.contact-card {
  background-color: #d9eafd;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

#contactForm input,
#contactForm textarea {
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Quicksand', sans-serif;
}

#contactForm button {
  background-color: #2c2c54;
  color: white;
  font-weight: 600;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  background-color: #1d1d40;
}
