.bio-inner,
.card {
  transition: transform .3s, box-shadow .3s
}

#awards h2,
.card {
  max-width: 1200px
}

.top-navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px;
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #111827;
  z-index: 1000
}

.nav-container {
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.nav-title {
  color: #fff;
  font-weight: 700;
  font-size: 16px
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px
}

.nav-links li a:hover,
body.dark a {
  color: #93c5fd
}

.nav-toggle {
  display: none;
  font-size: 22px;
  background: 0 0;
  border: none;
  color: #fff;
  cursor: pointer
}

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #020617;
  padding: 14px 24px;
  width: 100%
}

:root {
  --navbar-height: 64px
}

@media (max-width:900px) {
  .nav-toggle {
    display: block
  }

  .nav-links {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background-color: #020617;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0
  }

  .nav-links li {
    margin: 10px 0
  }

  .nav-links.show {
    display: flex
  }
}

.email-tooltip .tooltip-text,
.icon-toast {
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap
}

body {
  margin: 0;
  background-color: #f5f7fa;
  color: #333
}

.container {
  display: flex;
  min-height: 100vh
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px
}

.designation {
  font-size: 15px;
  color: #d1d5db;
  margin-bottom: 25px
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px
}

.social-icons img {
  width: 22px;
  height: 22px;
  filter: invert(1);
  cursor: pointer
}

.social-links img {
  width: 26px;
  height: 26px;
  filter: invert(1);
  transition: .3s
}

.social-links img:hover {
  transform: scale(1.15);
  opacity: .8
}

.email-tooltip {
  position: relative;
  display: inline-block
}

.email-tooltip .tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 130%;
  background: #111827;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  transition: opacity .3s;
  z-index: 1000
}

.bio-inner:hover,
.card:hover {
  transform: translateY(-4px)
}

.email-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1
}

.page-layout {
  display: flex;
  width: 100%;
  min-height: 100vh
}

.content {
  flex: 1;
  padding: 2rem 3rem
}

section {
  margin-bottom: 0;
  width: 100%;
  padding: 10px 0;
  scroll-margin-top: 40px
}

section h2 {
  color: #1f2937;
  margin-bottom: 20px
}

.card {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .08)
}

.card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .1)
}

footer {
  text-align: center;
  color: #666;
  margin-top: 60px
}

.bio-inner {
  display: flex;
  gap: 24px;
  padding: 24px;
  border-radius: 14px
}

.bio-image img {
  width: 170px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #4f46e5
}

.bio-content {
  flex: 1
}

.bio-social a,
.email-icon {
  align-items: center;
  text-decoration: none;
  color: #fff
}

.bio-content h2 {
  margin: 0;
  font-size: 26px
}

.bio-content h4 {
  margin: 6px 0;
  font-weight: 600
}

.bio-content p {
  margin: 8px 0 14px;
  line-height: 1.6
}

.bio-social {
  display: flex;
  gap: 12px
}

.bio-social a {
  width: 40px;
  height: 40px;
  background: #2b3138;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  font-weight: 1000;
  transition: .25s
}

.bio-social a:hover {
  transform: translateY(-3px)
}

.bio-card {
  margin-bottom: 25px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  border-left: 6px solid #7b7cff
}

.email-icon {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1f2937;
  cursor: pointer;
  font-size: 26px;
  cursor: pointer
}
.scholar-icon {
    font-size: 18px;
    cursor: pointer;
}
.orcid-icon {
    font-size: 18px;
    cursor: pointer;
}

.linkedin-icon {
    font-size: 22px;
    cursor: pointer;
}

.facebook-icon {
    font-size: 22px;
    cursor: pointer;
}
.youtube-icon {
    font-size: 18px;
    cursor: pointer;
}


.icon-toast {
  position: absolute;
  bottom: -38px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35)
}

.email-icon.show-toast .icon-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(4px)
}

.academic-card {
  border-left: 6px solid #6bc831
}

.activities-block,
.degree-block {
  padding-left: 10px
}

.academic-title,
.activities-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 5px solid transparent;
  letter-spacing: .3px
}

.academic-title.msc {
  border-color: #bb18dbcd
}

.academic-title.bsc {
  border-color: #4fcd3c
}

.research-section {
  margin-top: 24px
}

.research-card .section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1f2937
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px
}

.research-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  cursor: default;
  transition: .3s;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15)
}

.nowrap {
  white-space: nowrap
}

.research-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25)
}

.research-item .icon {
  font-size: 1.6rem
}

.research-item.ml {
  background: linear-gradient(135deg, #2563eb, #3882f6)
}

.research-item.dl {
  background: linear-gradient(135deg, #16a34a, #22c55e)
}

.research-item.xai {
  background: linear-gradient(135deg, #7c3aed, #a78bfa)
}

.research-item.fl {
  background: linear-gradient(135deg, #0f766e, #14b8a6)
}

.research-item.DigitalHealth {
  background: linear-gradient(135deg, #ec4899, #f472b6)
}

.research-item.AIApplication {
  background: linear-gradient(135deg, #f97316, #fb923c)
}

@media (max-width:600px) {
  .research-card {
    padding: 18px
  }

  .research-item {
    font-size: .95rem
  }
}

.section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #111827
}

.research-card {
  background: #fff;
  border-radius: 14px;
  border-left: 6px solid #c51198;
  padding: 22px 26px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08)
}

.skills-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px
}

.skill-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid
}

.activities-title.reviewer,
.publication-title.journal,
.skill-title.programming {
  border-color: #2563eb
}

.skill-title.research {
  border-color: #16a34a
}

.skill-title.software {
  border-color: #f97316
}

.skill-title.language {
  border-color: #7c3aed
}

.language,
.programming,
.research,
.software {
  border-left: 5px solid transparent
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .95rem;
  border-bottom: 1px dashed #e5e7eb
}

.skill-row:last-child {
  border-bottom: none
}

.level {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff
}

.level.beginner {
  background: #6b7280
}

.level.intermediate {
  background: #2563eb
}

.level.advanced {
  background: #16a34a
}

.level.expert {
  background: #7c3aed
}

.skill-row:hover {
  background: #f9fafb
}

.skills-card {
  border-left: 6px solid #23994e
}

.activities-card {
  border-left: 6px solid #8c9b5e
}

.activities-block.reviewer h3 {
  color: #2563eb
}

.activities-block.volunteer h3 {
  color: #059669
}

.card hr {
  border: none;
  border-top: 1px dashed #d1d5db;
  margin: 22px 0
}

.activities-title.ResearchExperience {
  border-color: #32c079
}

.activities-title.volunteer {
  border-color: #37b3e4
}

.activities-title.leadership {
  border-color: #a81eaf
}

.activity-list {
  margin-top: 10px;
  padding-left: 28px;
  margin-left: 0
}

.activity-list li {
  line-height: 1.8;
  margin-bottom: 8px
}

.publications-card {
  padding: 32px;
  background-color: #fff;
  border-left: 6px solid #28c7d9
}

.publication-group {
  margin-bottom: 24px
}

.publication-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 5px solid transparent;
  letter-spacing: .3px
}

.publication-title.conference {
  border-color: #0f766e
}

.publication-item {
  margin-bottom: 12px
}

.publication-item p {
  margin: 0;
  line-height: 1.6
}

.publications-card hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 28px 0
}

.publication-list {
  padding-left: 20px
}

.publication-list li {
  margin-bottom: 14px;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body,
html {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif
}

.card {
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  background: #fff
}

.awards-card {
  border-left: 6px solid #b45309
}

#awards h2 {
  margin: 0 auto 24px
}

.award-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 5px solid #b45309
}

.certificate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px
}

.certificate-item {
  width: 48%;
  max-width: 48%
}

.cert-img {
  width: 100%;
  display: block;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .3s
}

.cert-img.expanded {
  transform: scale(1.08)
}

.cert-box,
.site-footer:hover .footer-name::after {
  width: 100%
}

.cert-info {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify
}

@media (max-width:768px) {
  .bio-inner {
    flex-direction: column;
    text-align: center
  }

  .bio-image img {
    margin: 0 auto
  }

  .bio-social {
    justify-content: center
  }

  section {
    padding: 24px 0
  }

  .card {
    padding: 16px;
    max-width: 100%
  }

  .certificate-grid {
    justify-content: flex-start
  }

  .certificate-item {
    width: 100%;
    max-width: 100%
  }

  .cert-img {
    transform-origin: center
  }
}

.award-title.extracurriculum,
.video-heading.OverleafTutorial {
  border-color: #eb25c3
}

.award-title.publication {
  border-color: #20c6f4
}

.award-title.reviewer {
  border-color: #8c1eed
}

.video-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 5px solid #2563eb;
  color: #111827
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px
}

.video-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15)
}

.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  transition: .3s
}

.video-card:hover .play-btn {
  background: rgba(0, 0, 0, .55)
}

.video-heading.ResearchGuideline {
  border-color: #25ebeb
}

.video-block {
  border-left: 6px solid #7b138d
}

#videos h2 {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 16px
}

@media (max-width:1100px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:600px) {
  .video-grid {
    grid-template-columns: 1fr
  }
}

.contact-card,
.contact-wrapper,
.content,
.section-container {
  max-width: 1200px;
  margin: 0 auto
}

.contact-card {
  padding: 40px
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
  position: relative
}

.contact-form h2 {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
  text-align: center
}

.input-group {
  position: relative;
  margin-bottom: 28px
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1.8px solid #d1d5db;
  font-size: 15px;
  background: 0 0;
  transition: .3s
}

.input-group textarea {
  resize: vertical
}

.input-group input:focus,
.input-group textarea:focus {
  outline: 0;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15)
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #6b7280;
  font-size: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  background: #fff;
  padding: 0 6px;
  transition: .3s
}

body.dark,
body.dark .content,
body.dark .sidebar,
body.dark .top-navbar {
  background-color: #020617
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
  top: -8px;
  font-size: 12px;
  color: #000
}

body.dark,
body.dark .publication-list li,
body.dark h2,
body.dark h3 {
  color: #e5e7eb
}

.word-counter {
  text-align: right;
  font-size: 12px;
  margin-top: 6px;
  color: #6b7280
}

.send-btn,
.sidebar-title {
  font-size: 16px;
  font-weight: 600
}

.send-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  cursor: pointer;
  transition: .3s
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, .4)
}

.sidebar-box {
  background: rgba(255, 83, 83, .04);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px
}

.sidebar-title {
  margin-bottom: 10px;
  color: #fff
}

.visitor-map img {
  width: 100%;
  border-radius: 8px;
  margin: 8px 0
}

.visitor-count {
  font-size: 14px;
  color: #fff;
  text-align: center
}

.news-box {
  background-color: #454545
}

.theme-btn {
  background: 0 0;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #fff
}

body.dark .card {
  background-color: #0f172a;
  color: #e5e7eb
}

body.dark .skill-bar {
  background-color: #1e293b
}

.site-footer {
  margin-top: 60px;
  font-weight: 800;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  background: linear-gradient(90deg, #f8fafc, #eef2ff);
  border-top: 1px solid #e5e7eb;
  color: #475569;
  transition: background .3s
}

.site-footer .footer-name {
  font-weight: 800;
  color: #4f46e5;
  position: relative;
  cursor: default
}

.site-footer .footer-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  transition: width .3s
}

.site-footer:hover {
  background: linear-gradient(90deg, #eef2ff, #e0e7ff)
}

body.dark .site-footer {
  background: linear-gradient(90deg, #020617, #020617);
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #cbd5f5
}

body.dark .site-footer .footer-name {
  color: #a5b4fc
}

