@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Add this import at the top of the file */
@import url("css/project-filters.css");

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header.sticky {
  border-bottom: .1rem solid rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 600;
  cursor: default;
}

.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: .3s;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  width: 35vw;
  /* animation: floatImage 4s ease-in-out infinite; */
  /* border-radius: 5rem;
  border: 5px solid #0ef;  */
}


@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2.4rem);
  }

  100% {
    transform: translateY(0);
  }
}

.home-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

span {
  color: var(--main-color);
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content p {
  text-align: justify;
  font-size: 1.6rem;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
}

.social-media img.icon-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  vertical-align: middle;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
  transition: .5s ease;
}

.btn:hover {
  box-shadow: none;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--second-bg-color);
}

.about-img {
  width: 35vw;
}

.heading {
  text-align: center;
  font-size: 4.5rem;
}

.about-content h2 {
  text-align: left;
  line-height: 1.2;
}

.about-content h3 {
  font-size: 2.6rem;
}

.about-content p {
  text-align: justify;
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

.research h2 {
  margin-bottom: 5rem;
}

.research-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.research-container .research-box {
  flex: 1 1 30rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--second-bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: .2rem solid var(--bg-color);
  transition: 0.5s ease;
}

.research-container .research-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.research-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.research-box h3 {
  padding-bottom: 3.5rem;
  padding-top: 3.5rem;
  font-size: 2.6rem;
}

.research-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}

/* skills section  */
.skills h2 {
  margin-bottom: 5rem;
}

.skills-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.skills-container .skills-box {
  flex: 1 1 30rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--second-bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: .2rem solid var(--bg-color);
  transition: 0.5s ease;
}

.skills-container .skills-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.skills-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.skills-box h3 {
  padding-bottom: 3.5rem;
  padding-top: 3.5rem;
  font-size: 2.6rem;
}

.skills-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}

/* certifications section  */
.certifications {
  background: var(--second-bg-color);
}

.certifications h2 {
  margin-bottom: 4rem;
}

.certifications-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.certifications-container .certifications-box {
  position: relative;
  border: 7px solid #0ef;
  border-radius: 2rem;
  box-shadow: 0 0 1rem var(--bg-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 300px;
}

.certifications-container .background-icon {
  position: absolute;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.certifications-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.certifications-box:hover img {
  transform: scale(1.1);
}

.certifications-box .certifications-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), var(--main-color));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: .5s ease;
}

.certifications-box:hover .certifications-layer {
  transform: translateY(0);
}

.certifications-layer h4 {
  font-size: 3rem;
}

.certifications-layer p {
  font-size: 1.6rem;
  margin: .3rem 0 1rem;
}

.certifications-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--text-color);
  border-radius: 50%;
}

.certifications-layer a i {
  font-size: 2rem;
  color: var(--second-bg-color);
}

/* achievements section  */
.achievements {
  background: var(--second-bg-color);
}

.achievements h2 {
  margin-bottom: 4rem;
}

.achievements-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.achievements-container .achievements-box {
  position: relative;
  border: 7px solid #0ef;
  border-radius: 2rem;
  box-shadow: 0 0 1rem var(--bg-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 300px;
}

.achievements-container .background-icon {
  position: absolute;
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.achievements-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.achievements-box:hover img {
  transform: scale(1.1);
}

.achievements-box .achievements-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), var(--main-color));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: .5s ease;
}

.achievements-box:hover .achievements-layer {
  transform: translateY(0);
}

.achievements-layer h4 {
  font-size: 3rem;
}

.achievements-layer p {
  font-size: 1.6rem;
  margin: .3rem 0 1rem;
}

.achievements-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--text-color);
  border-radius: 50%;
}

.achievements-layer a i {
  font-size: 2rem;
  color: var(--second-bg-color);
}

.contact h2 {
  margin-bottom: 3rem;
}

.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--second-bg-color);
  border-radius: .8rem;
  margin: .7rem 0;
}

.contact form .input-box input {
  width: 100%;
}

.contact form textarea {
  resize: none;
}

.contact form .btn {
  margin-top: 2rem;
  cursor: pointer;
}

/* education */
.education {
  padding: 6rem 9%;
  background: var(--second-bg-color);
}

.education .heading {
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 4rem;
}

.education-entry {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.education-img {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--main-color);
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 255, 255, 0.2);
}

.education-content {
  flex: 1 1 600px;
  color: var(--text-color);
}

.education-content h3 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.education-content p {
  font-size: 1.6rem;
  text-align: justify;
  line-height: 1.6;
}

/* project */
.project {
  padding: 6rem 9%;
  background: var(--second-bg-color);
}

.project .heading {
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 4rem;
}

.project-entry {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.project-img {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--main-color);
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 255, 255, 0.2);
}

.project-content {
  flex: 1 1 600px;
  color: var(--text-color);
}

.project-content h3 {
  font-size: 2.4rem;
  color: var(--main-color);
  margin-bottom: 1.2rem;
}

.project-content p,
.project-content ol {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: justify;
}

.project-content ol {
  margin-left: 2rem;
  margin-top: 1rem;
  list-style: decimal;
}

/* publications-research-works */
.publications-research-works {
  padding: 6rem 9%;
  background: var(--second-bg-color);
}

.publications-research-works .heading {
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 4rem;
}

.publications-research-works-entry {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.publications-research-works-img {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.publications-research-works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--main-color);
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 255, 255, 0.2);
}

.publications-research-works-content {
  flex: 1 1 600px;
  color: var(--text-color);
}

.publications-research-works-content h3 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.publications-research-works-content p {
  font-size: 1.6rem;
  text-align: justify;
  line-height: 1.6;
}

/* research interest  */
.research-interest {
  padding: 6rem 9% 4rem;
  background: var(--second-bg-color);
  color: var(--text-color);
}

.research-interest .research-interest-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  margin-top: 25px;
  padding-top: 6px;
}

.research-interest .heading {
  font-size: 4.5rem;
  margin-bottom: 2.5rem;
  text-align: justify;
  text-align-last: center;
  color: var(--main-color);
}

.research-interest p {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

/* Research Projects Section */
.research-projects {
  padding: 6rem 9% 4rem;
  background: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.project-card {
  background: var(--second-bg-color);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Add after the existing project card styles */

/* No projects found state */
.no-projects {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-color);
}

.no-projects i {
  font-size: 6rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  opacity: 0.7;
}

.no-projects h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.no-projects p {
  font-size: 1.6rem;
  opacity: 0.8;
}

/* Improve filtering animations */
.projects-grid.filtering {
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-card.filter-results-enter {
  animation: slideInUp 0.6s ease forwards;
}

/* Better slide animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--main-color);
  box-shadow: 0 15px 30px rgba(0, 239, 255, 0.2);
}

.project-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 239, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay i {
  font-size: 3rem;
  color: white;
}

.project-info {
  padding: 2rem;
}

.project-info h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-info p {
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  background: var(--main-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  height: 90%;
  margin: 2.5% auto;
  background: var(--second-bg-color);
  border-radius: 1.5rem;
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--main-color);
  cursor: pointer;
  z-index: 1001;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: var(--main-color);
  color: var(--bg-color);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  height: 100%;
}

.modal-left {
  flex: 1;
  position: relative;
}

.modal-right {
  flex: 1;
  padding: 3rem;
  overflow-y: auto;
}

/* Image Slider */
.image-slider {
  height: 100%;
  position: relative;
}

.slider-container {
  height: calc(100% - 60px);
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 239, 255, 0.8);
  color: white;
  border: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--main-color);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--main-color);
  transform: scale(1.2);
}

/* Modal Project Info */
.modal-project-info h2 {
  font-size: 2.8rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-tags .tag {
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
}

.modal-description,
.modal-details {
  margin-bottom: 2.5rem;
}

.modal-description h3,
.modal-details h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 0.5rem;
}

.modal-description p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text-color);
  text-align: justify;
}

.modal-details ul {
  list-style: none;
  padding: 0;
}

.modal-details li {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
}

.modal-details li::before {
  content: "▶";
  color: var(--main-color);
  position: absolute;
  left: 0;
}

.modal-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.modal-btn i {
  font-size: 1.6rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Add modal status badge styles */
.modal-status {
  margin-bottom: 2rem;
}

.modal-status-badge {
  position: static;
  display: inline-block;
  margin: 0;
  font-size: 1.3rem;
  padding: 0.8rem 1.5rem;
}

/* Search container styles */
.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--main-color);
  font-size: 1.8rem;
}

.search-box input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 5rem;
  background: var(--second-bg-color);
  border: 2px solid transparent;
  border-radius: 3rem;
  color: var(--text-color);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

/* Improve search box styling */
.search-box input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 20px rgba(0, 239, 255, 0.2);
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.clear-search {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--main-color);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.clear-search:hover {
  background: var(--main-color);
  color: var(--bg-color);
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }

  section {
    padding: 10rem 3% 2rem;
  }

  .research {
    padding-bottom: 7rem;
  }

  .skills {
    padding-bottom: 7rem;
  }

  .certifications {
    padding-bottom: 7rem;
  }

  .achievements {
    padding-bottom: 7rem;
  }

  .contact {
    min-height: auto;
  }

  .footer {
    padding: 2rem 3%;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: .1rem solid rgba(0, 0, 0, 0.2);
    box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.2);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  .home {
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.5rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }

  .about {
    flex-direction: column-reverse;
  }

  .about img {
    width: 70vw;
    margin-top: 4rem;
  }

  .research h2 {
    margin-bottom: 3rem;
  }

  .skills h2 {
    margin-bottom: 3rem;
  }

  .education h2 {
    margin-bottom: 4rem;
  }

  .certifications h2 {
    margin-bottom: 3rem;
  }

  .certifications-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements h2 {
    margin-bottom: 3rem;
  }

  .achievements-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-entry {
    flex-direction: column;
    text-align: center;
  }

  .education-img {
    width: 100%;
    height: auto;
  }

  .education-img img {
    max-width: 300px;
    height: auto;
  }

  .education-content p {
    text-align: center;
  }

  .project-entry {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-img {
    width: 100%;
    height: auto;
  }

  .project-img img {
    max-width: 300px;
    height: auto;
  }

  .project-content ol {
    text-align: left;
    margin-left: 1.5rem;
  }

  .publications-research-works-entry {
    flex-direction: column;
    text-align: center;
  }

  .publications-research-works-img {
    width: 100%;
    height: auto;
  }

  .publications-research-works-img img {
    max-width: 300px;
    height: auto;
  }

  .publications-research-works-content p {
    text-align: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-content {
    width: 98%;
    height: 95%;
    margin: 1% auto;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-left,
  .modal-right {
    flex: none;
  }

  .modal-left {
    height: 50%;
  }

  .modal-right {
    height: 50%;
    padding: 2rem;
  }

  .slider-btn {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }

  .prev-btn {
    left: 1rem;
  }

  .next-btn {
    right: 1rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    justify-content: center;
  }
}

@media (max-width: 617px) {
  .certifications-container {
    grid-template-columns: 1fr;
  }

  .achievements-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .contact form .input-box input {
    width: 100%;
  }

  .project-info {
    padding: 1.5rem;
  }

  .project-info h3 {
    font-size: 1.8rem;
  }

  .project-info p {
    font-size: 1.3rem;
  }

  .tag {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }

  .close-btn {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (max-width: 365px) {
  .home-img img {
    width: 90vw;
  }

  .about-img img {
    width: 90vw;
  }

  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    text-align: center;
    margin-top: 2rem;
  }
}

/* Status badge improvements */
.status-badge {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.status-badge.ongoing::before {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.popup-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.popup-modal img {
  max-width: 80%;
  height: auto;
  margin-bottom: 10px;
}

.popup-modal h3 {
  color: #fff;
}

.popup-modal p {
  color: #ddd;
  max-width: 600px;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: var(--second-bg-color);
  gap: 1rem;
}

.footer-about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: var(--bg-color);
  gap: 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
}

.footer-text {
  flex: 1;
  min-width: 250px;
}

.footer-text p {
  margin: 0.5rem 0;
  font-size: 1.6rem;
}

.footer-text i {
  margin-right: 0.5rem;
  color: var(--main-color, #00efff);
}

.footer-text a {
  color: inherit;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-iconTop {
  align-self: center;
}

.footer-iconTop a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .8rem;
  background: var(--main-color);
  border-radius: .8rem;
}

.footer-iconTop a:hover {
  box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
  font-size: 2.4rem;
  color: var(--second-bg-color);
}

.footer-copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
  text-align: center;
}