html {
  scroll-behavior: smooth;
}
body {
  background-color: #1F2933;  /* deep dark */
  color: #ffffff;             /* makes text readable */
  margin: 0;
  font-family: 'Inter', sans-serif; /* optional */
}

h1 {
  color: white;
}
p {
  width: 80%;
  margin: 2% auto;
  text-align: center;
}
.navbar {
  display: flex;
  backdrop-filter: blur(6px);
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  color: #d9d9d9;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  transition: 0.3s;
}

/* Hover effect */
.navbar ul li a:hover {
  background-color: white;
  border-radius: 4px;
}
.logo-container {
  background-color: white;
  padding: 1px;
  display: inline-block;
  border-radius: 5px;
}

.logo-container img {
  width: 100px;   /* scale image */
  height: auto;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #0f1724;                    
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #1f2a3a;
  box-shadow: 0 15px 45px rgba(0,0,0,.45);
  max-width: 950px;
  margin: 60px auto 40px auto;            
}

/* IMAGE */
.profile-img {
  width: 260px;
  height: 360px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* TEXT */
.profile-text h1 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  letter-spacing: .5px;
}

.profile-text p {
  margin: 0;
  font-size: 1.2rem;
  color: #bfbfbf;
}
/* Hide menu button on desktop */
.menu-btn {
  display: none;
}
.awards-wrapper {
  display: flex;
  justify-content: center;   /* centers horizontally */
  width: 100%;
}
.awards-slider {
  position: relative;
  width: 100%;
  max-width: 900px;  
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border: none;
  color: white;
  font-size: 22px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.slide-btn.left { left: 5px; }
.slide-btn.right { right: 5px; }
.awards-container {
  scrollbar-width: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;                 /* spacing between rectangles */
  padding: 40px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}


.award-card {
  margin: 5px;
  flex: 0 0 150px;            /* ❗ fixed width in slider */
  max-width: 150px;
  height: 280px;
  background-color: #F2F4F7;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  scroll-snap-align: start;   /* snap each card */
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;

}
.awards-container::-webkit-scrollbar {
  display: none;
}
.award-card.active {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  opacity: 1;
}
.award-img {
  width: 100%;
  height: 70%;                 /* main photo size */
  object-fit: contain;           /* keeps photo inside without stretching */
}

.award-desc {
  height: 30%;
  background-color: #444;      /* lighter grey bottom rectangle */
  color: white;
  text-align: center;
  padding: 10px 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-text {
  background-color: #1F2933; /* deep blue-grey to match slider */
  color: #F2F4F7;            /* light text for contrast */
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  line-height: 1.6;
  font-size: 16px;
}
.about-wrapper {
  max-width: 1000px;
  margin: 90px auto;
  padding: 20px;
}

/* Main Headline */
.about-heading {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #F5F7FA;
  margin-bottom: 20px;
}

.about-heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #7dd3fc);
  border-radius: 50px;
  margin: 14px auto 0;
}

/* Glass Panel */
.about-panel {
  margin-top: 35px;
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 35px 40px;
  color: #E8EBEF;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  line-height: 1.75;
  font-size: 16.5px;
}

/* Subtle animated hover lighting */
.about-panel:hover {
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
  transition: 0.35s ease;
}

.publications-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

/* Card Container */
.pub-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: 0.3s ease;
}

.pub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
}

/* Journal Image */
.pub-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(0,0,0,0.4);
}

/* Text Content */
.pub-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #F5F7FA;
}

.pub-content p {
  margin-top: 6px;
  color: #E6E9ED;
  line-height: 1.6;
  font-size: 15px;
}
.pub-content h3 {
  text-align: center;
  width: 100%;
}






.skills-section {
  max-width: 900px;
  margin: 90px auto;
  padding: 20px;
  text-align: center;
}

.skills-heading {
  font-size: 28px;
  font-weight: 800;
  color: #F5F7FA;
  margin-bottom: 25px;
}

.skills-heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 40px;
  background: linear-gradient(90deg, #FFD700, #7dd3fc);
}

/* Grid Layout */
.skills-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Skill Card */
.skill-card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255,255,255,0.35);
}

/* Text Styling */
.skill-card h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: #F5F7FA;
}

.skill-card p {
  color: #E6E9ED;
  font-size: 14px;
  line-height: 1.5;
}


.experience-section {
  max-width: 900px;
  margin: 90px auto;
  padding: 20px;
}

.experience-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #F5F7FA;
  margin-bottom: 25px;
}

.experience-heading::after {
  content: "";
  display: block;
  width: 140px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 40px;
  background: linear-gradient(90deg, #FFD700, #7dd3fc);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Card */
.exp-card {
  display: flex;
  gap: 18px;
  align-items: center;

  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: 0.35s ease;
}

.exp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.35);
}

/* Logo */
.exp-logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  padding: 8px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.4);
}

/* Text */
.exp-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #F5F7FA;
}

.exp-date {
  display: inline-block;
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 13px;
}

.exp-content p {
  margin-top: 8px;
  color: #E6E9ED;
  line-height: 1.6;
  font-size: 15px;
}

.exp-content ul {
  margin-top: 8px;
  padding-left: 18px;
  color: #dde2e6;
  line-height: 1.6;
  font-size: 14px;
}

.personal-section {
  margin-top: 90px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  color: #bdbdbd;
  margin-bottom: 35px;
  font-size: 1rem;
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.personal-card {
  background: #11151c;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  text-align: left;
  }

.personal-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(.9);
}

.personal-title {
  margin: 0 0 12px 0;
  text-align: left;
}

.personal-list {
  padding-left: 18px;
  color: #bbbbbb;
  line-height: 1.5;
}

.personal-list li {
  margin-bottom: 8px;
}
.contact-section {
  margin-top: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* CARD */
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #0f1724;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  transform: translateY(-2px);
  transition: 0.2s;
}
/* ICON BOX */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make icons nicely sized */
.contact-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* TEXT */
.contact-text {
  font-size: 1.2rem;
  font-weight: 500;
}


.email-bg {
  background: #38BDF8;   /* Cyan highlight */
}

.github-bg {
  background: #A78BFA;   /* soft purple / techy */
}

.linkedin-bg {
  background: #67E8F9;   /* bright cyan */
}

.instagram-bg {
  background: #F472B6;   /* pink accent */
}























/* --- Mobile Menu --- */
@media (max-width: 600px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    border-radius: 8px;
  }

  .navbar ul.show {
    display: flex;
  }

  .menu-btn {
    color: white;
    font-size: 26px;
    cursor: pointer;
    display: block;
  }
  .award-card {
  width: 45%;        /* two per row on mobile */
  height: 240px;
}
  .modern-heading {
    font-size: 26px;
  }
  .modern-panel {
    padding: 24px;
  }
    .pub-card {
    flex-direction: column;
    text-align: center;
  }

  .pub-img {
    width: 110px;
    height: 110px;
  }
    .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-text {
    font-size: 1.1rem;
  }

  
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  .exp-card {
    flex-direction: column;
    text-align: center;
  }

  .exp-content ul {
    text-align: left;
  }

  .exp-logo {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 850px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 22px;
  }

  .profile-img {
    width: 70vw;
    max-width: 380px;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .profile-text h1 {
    font-size: 1.8rem;
  }

  .profile-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 450px) {
  .profile-card {
    padding: 18px;
  }

  .profile-img {
    width: 85vw;
  }

  .profile-text h1 {
    font-size: 1.6rem;
  }

  .profile-text p {
    font-size: 1rem;
  }
}