* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.header_container {
  padding: 0 20px;
}

.header {
  min-height: 25rem;
  margin: 0 auto;
  background-color: #3bb7ed;
  border-radius: 100px;
  filter: drop-shadow(9px 23px 51px rgba(0, 0, 0, 0.38));
  max-width: 90%;
  height: 424px;
  position: relative;
}

.header p,
.header .icons,
.header .buttons {
  display: none;
}

.header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.selected {
  background-color: #eee !important;
  color: black !important;
}
.footer p a {
  text-decoration: none;
  color: inherit;
}
.header .nav .icon {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  margin-right: 20px;
  margin-left: 20px;
}

.header .nav .icon img {
  width: 100%;
  height: 100%;
}

.header .nav h1 {
  font-size: 14px;
  letter-spacing: 4px;
}

.header .lightmode {
  color: white;
  font-size: 38px;
  margin-right: 20px;
  cursor: pointer;
}
/* nav dropdown */
.header .x {
  z-index: 999;
  position: absolute;
  top: 10px;
  right: 20px;
}
.x p {
  color: white;
}
.header ul {
  top: 70px;
  right: 44px;
  color: white;
  text-align: right;
  position: absolute;
  list-style-type: none;
  z-index: 999 !important;
}
.header ul li {
  padding: 8px 4px;
  cursor: pointer;
}
.header ul li:hover {
  background-color: #29abe2;
}

.nav {
  padding-top: 20px;
}

.nav div {
  display: flex;
  align-items: center;
}

.nav .nav-child1 {
  margin-left: 40px;
}

.nav .nav-child2 {
  margin-right: 30px;
}

.circle1 {
  width: 633px;
  height: 574px;
  background-color: rgba(131, 232, 254, 0.24);
  border-radius: 80%;
  margin: auto;
  transform: translateY(-16px);
}

.circle2 {
  width: 362px;
  height: 151px;
  border-radius: 48px;
  background-color: rgba(131, 232, 254, 0.7);
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(144px);
}

.circle2 img {
  display: none;
}

.main {
  max-width: 1046px;
  height: 407px;
  z-index: 50;
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: white;
  border-radius: 100px;
  box-shadow: 13px 17px 26px 1px rgba(5, 5, 5, 0.21);
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
}

.main .main-child {
  flex: 1;
  max-width: 280px;
  height: 100%;
}

.main .main-child h3 {
  font-size: 38px;
  font-weight: 400;
  line-height: 48px;
  text-align: left;
  color: #ff00e5bd;
  margin-top: 80px;
}

.main .main-child div h5 {
  font-size: 16px;
  font-weight: 400;
  line-height: 36px;
  text-align: left;
}

.main .main-child div p {
  font-size: 14px;
  line-height: 20px;
  text-indent: 40px;
  color: #585858;
}

.main_btn_parent {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
}

.main_btn_parent .main_btn {
  background-color: #3daf9b;
  color: white;
  border: none;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 10px;
}

.main-child1 {
  padding-left: 40px;
}

.main-child2 {
  padding-top: 40px;
}

.main-child2 img {
  object-fit: cover;
}

.main-child3 {
  color: #008ad8;
  text-align: center;
  padding-top: 80px;
}

.main-child3_child {
  display: flex;
  max-width: 180px;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-top: 70px;
}

.main-child3_child .item {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px;
}

.main-child3_child .item2 {
  border: 1px solid gray;
}

.aboutme_container {
  padding: 0 30px;
}
.aboutme_container:first-child {
  font-family: "Baloo 2", cursive;
}

.nav-child2 ul {
  position: absolute;
  top: 80px;
  text-align: right;
  list-style-type: none;
}
.nav-child2 ul li {
  position: relative;
  z-index: 999;
  font-size: 20px;
  padding: 8px 8px;

  border-radius: 10px;
  cursor: pointer;
}
.nav-child2 ul li:hover {
  background-color: #2b7dd5;
}
.aboutme .longbar {
  max-width: 1411px;
  height: 105px;
  background-color: #412372;
  margin: 0 auto;
  border-radius: 30px;
  transform: translateY(120px);
  z-index: -1;
  position: relative;
}

.aboutme .aboutbottomdiv {
  max-width: 796px;
  height: 373px;
  position: absolute;
  top: 290px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: rgba(31, 144, 207, 0.7);
  border-radius: 100px;
  z-index: 49;
  filter: drop-shadow(21px 28px 76px rgba(0, 0, 0, 0.29));
}
.nav-child2 .menu {
  font-size: 40px;
  cursor: pointer;
  margin-right: 20px;
}
.nav-child2 .menu {
  font-size: 40px;
  cursor: pointer;
}

.aboutme .aboutme_container {
  max-width: 1300px;
  height: max-content;
  z-index: 48;
  padding-bottom: 200px;
  min-height: 420px;
  margin: 0 auto;
  transform: translateY(80px);
  background-color: #33a08d;
  position: relative;
  box-shadow: 0px 24px 51px 0px rgba(0, 0, 0, 0.35) inset;
}

.aboutme .aboutme_container h3 {
  text-align: center;
  color: white;
  font-size: xx-large;
  transform: translateY(80px);
}

.aboutme .aboutme_container p {
  color: #f3f3f3;
  text-align: center;
  transform: translateY(140px);
  font-size: 18px;
  max-width: 82%;
  margin: 0 auto;
  line-height: 33px;
}

.aboutmesmall {
  display: none;
}

.skills {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 500px;
  height: max-content;
  margin-top: 160px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 10px 10px 50px 0px rgba(0, 0, 0, 0.25);
  padding-bottom: 80px;
}

.skills h3 {
  text-align: center;
  font-family: Bahnschrift;
  font-size: 35px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: 0em;
  color: #6e6e6e;
  padding-top: 50px;
}

.skills .skills_parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  align-items: center;
  margin: auto;
  margin-top: 40px;
}

.skills .skills_parent .skill_child {
  margin: 32px;
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 16px;
  margin-bottom: 14px;
  text-align: center;
}

.skills .skills_parent .skill_child img {
  width: 100%;
  height: 100%;
}

.skills .skills_parent .skill_child p {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 11px;
}

.projects {
  min-height: 700px;
}

.projects h3 {
  text-align: center;
  padding-top: 100px;
  font-size: 30px;
  line-height: 53px;
  margin-bottom: 80px;
}

.projects button {
  margin: 100px auto;
  padding: 0 40px;
  background-color: gray;
  color: white;
  border: none;
  display: block;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 45px;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project-container .project-container2 {
  position: relative;
}

.project-container .project-items {
  max-width: 550px;
  max-height: 360px;
  overflow: hidden;
  border-radius: 20px;
  margin: 38px 10px;
  box-shadow: 16px 16px 100px 0px rgba(0, 0, 0, 0.3);
  /* max-width: 550px;
  max-height: 360px;
  overflow: hidden;
  border-radius: 20px;
  margin: 38px 38px;
  box-shadow: 16px 16px 100px 0px rgba(0, 0, 0, 0.3); */
}

.project-container .project-items img {
  border-radius: 20px;
  width: 100%;
}

.project-container .project-items button {
  background-color: white;
  color: #606060;
  width: 72%;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

.contact hr {
  max-width: 521px;
  height: 4px;
  background-color: #0071bc;
  margin: 120px auto;
}

.contact h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 46px;
  /* font-size: 30px; */
  font-family: "Baloo 2", cursive;
  line-height: 84px;
  color: #2b7dd5;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 30px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  display: block;
  width: 100%;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid gray;
  padding-top: 36px;
}

.contact-form input {
  padding-left: 10px;
  border-radius: 10px;
  margin: 12px 0;
}

.contact-form textarea {
  border: 1px solid gray;
  margin-top: 12px;
  border-radius: 10px;
  padding-left: 10px;
}

.contact-form button {
  margin: 20px auto;
  margin-top: 28px;
  background-color: #29abe2;
  color: white;
  border-radius: 12px;
  padding: 18px 0;
}

.footer {
  background-color: #383838;
}

.footer p {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 10px;
  font-size: medium;
  color: #b3b3b3;
}

.footer .copyright {
  padding: 20px 0;
  color: #b3b3b3;
  font-size: large;
}

@media only screen and (max-width: 720px) {
  .header {
    border-radius: 0;
    filter: drop-shadow(9px 23px 51px transparent);
    min-height: 100vh;
    height: max-content;
    padding-bottom: 20px;
  }
  .header .nav h1 {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .header .buttons {
    display: flex;
    justify-content: center;
    padding-top: 28px;
  }
  .header .buttons button {
    border: none;
    background-color: #3daf9b;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    margin: 0 10px;
    font-size: 12px;
  }
  .header .icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header .icons img {
    height: 40px;
    margin: 0 10px;
  }
  .header p {
    color: white;
    text-align: center;
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.195em;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.22em;
  }
  .header .p1 {
    display: block;
    margin-top: 90px;
    margin-bottom: 10px;
  }
  .header .p1 span {
    color: #faff00;
  }
  .header .p3 {
    display: block;
    letter-spacing: 0.1rem;
    margin-top: 50px;
    margin-bottom: 40px;
    font-weight: 600;
  }
  .header .nav .icon {
    width: 38px;
    height: 38px;
    border: 2px solid white;
    margin-left: 0;
    margin-right: 10px;
  }
  .header .nav .nav-child1 {
    margin-left: 10px;
  }
  .header .circle1 {
    width: 252px;
    height: 295px;
    transform: translateY(36px);
    border-radius: 49px;
  }
  .header .circle2 {
    width: 208px;
    height: 241px;
    border-radius: 38px;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header .circle2 .circle1_child {
    width: 80%;
    height: 80%;
    background-color: white;
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    z-index: 51;
  }
  .header .circle2 .circle1_child img {
    /* width: 100%; */
    display: block;
    height: 92%;
    margin-top: 15.6px;
    object-fit: cover;
  }
  .circle2 {
    top: -32px;
  }
  .container1 .container2 {
    max-width: 440px;
    padding: 0 28px;
  }
  .container1 .container2 .item {
    height: 68px;
    border-radius: 10px;
  }
  .container1 .container2::after {
    bottom: 34px;
  }
  .container2 .item .item_child1 {
    width: 73.47px;
    height: 52.9px;
    border-radius: 6px;
    margin-left: 8px;
  }
  .item .item_child2 h3 {
    margin: 2px;
    text-align: left;
    line-height: 13px;
    font-size: 16px;
  }
  .item .item_child2 p {
    margin: 2px;
    font-size: 12px;
  }
  .contact hr {
    max-width: 290px;
  }
  .education {
    max-width: 94%;
  }
  .education h3 {
    text-align: center;
    font-size: 30px;
    font-family: "Baloo 2", cursive;
  }
  .header .nav {
    padding-top: 5px;
  }
  .nav .nav-child2 .lightmode {
    font-size: 22px;
    margin-right: 10px;
  }
  .nav .nav-child2 .menu {
    font-size: 24px;
    margin-right: 10px;
  }
  .nav ul {
    width: 30px;
    margin-right: 20px;
  }
  .nav ul .li1 {
    height: 4px;
    width: 100%;
    margin: 8px 0;
    background-color: white;
  }
  .nav ul .li2 {
    width: 80%;
    height: 4px;
    margin: 6px 0;
    background-color: white;
    margin-left: 7px;
  }
  .main {
    display: none;
  }
  .main .main-child1,
  .main .main-child2,
  .main .main-child3 {
    display: none;
  }
  .aboutme {
    display: none;
  }
  .skills {
    display: none;
  }
  .aboutmesmall {
    position: relative;
    margin: 0 auto;
    padding-top: 30px;
    z-index: 56;
    display: block;
    min-height: 100vh;
  }
  .aboutmesmall .h3_1 {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    line-height: 54px;
    letter-spacing: 0em;
    margin-bottom: 40px;
    font-family: "Baloo 2", cursive;
    color: #ed6135;
  }
  .aboutmesmall p {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.03em;
    max-width: 440px;
    margin: 0 auto;
    text-indent: 60px;
    padding: 0 20px;
    text-align: justify;
  }
  .aboutmesmall .h3_2 {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    line-height: 54px;
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-family: "Baloo 2", cursive;
    color: rgba(43, 137, 53, 0.76);
  }
  .aboutmesmall .aboutmesmall_skills {
    min-height: 360px;
    max-width: 480px;
    margin: 0 auto;
  }
  .aboutmesmall_skills .child1 {
    display: flex;
    justify-content: center;
  }
  .aboutmesmall_skills .child1 button {
    background-color: transparent;
    color: #3c3c3c;
    width: 100%;
    height: 46px;
    border-radius: 3px;
    border: 1px solid #f0f0f0;
  }
  .aboutmesmall_skills .child1 .frontend_btn::before {
    content: "🎉";
  }
  .aboutmesmall_skills .child1 .backend_btn::before {
    content: "🎊";
  }
  .aboutmesmall_skills .child1 .all_btn::before {
    content: "✌️";
  }
  .aboutmesmall_skills .child2 {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .aboutmesmall_skills .child2 .item {
    width: 58.611576080322266px;
    height: 57.182029724121094px;
    border-radius: 3px;
    border: 1px solid gray;
    margin: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .aboutmesmall_skills .child2 .item p {
    position: absolute;
    font-size: 12px;
    width: max-content;
    bottom: -30px;
    text-indent: 0;
    color: black;
  }
  .aboutmesmall_skills .child2 img {
    max-width: 80%;
    max-height: 80%;
  }
  .project-container .project-items {
    max-height: 220px;
    border-radius: 10px;
  }
  .project-container .project-items button {
    width: 60%;
    padding: 0;
    border-radius: 6px;
    font-size: 12px;
    /* width: 60%;
    padding: 0;
    border-radius: 6px;
    font-size: 24px; */
  }
  .project-container .project-items img {
    border-radius: 10px;
  }
}

.education {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.education-title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.education-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3b82f6;
}

.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -54px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.timeline-content {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 24px;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-box {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-details {
  flex-grow: 1;
}

.year {
  display: inline-block;
  background: #f0f7ff;
  color: #3b82f6;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.school {
  font-size: 1.25rem;
  color: #1f2937;
  margin: 8px 0;
  font-weight: 600;
}

.degree {
  color: #4b5563;
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .education {
    padding: 40px 16px;
  }

  .education-title {
    font-size: 2rem;
  }

  .education-details .school {
    font-size: 1rem;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 0;
  }

  .logo-box {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .timeline-item::before {
    left: -44px;
  }
}

@media screen and (max-width: 480px) {
  .education-title {
    font-size: 1.75rem;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -34px;
  }
}

@media only screen and (max-width: 992px) {
  .aboutme_container {
    padding: 0;
  }
  .header_container {
    padding: 0;
  }
  .nav .nav-child1 {
    margin-left: 0px;
  }
  .nav .nav-child2 {
    margin-right: 0px;
  }
  .header {
    border-radius: 0;
    max-width: 100%;
  }
  .main {
    border-radius: 20px;
    margin: 0 14px;
  }
  .aboutme .longbar {
    border-radius: 0;
  }
  .aboutme .aboutbottomdiv {
    margin: 0 90px;
  }
  .skills {
    margin: 0 40px;
    margin-top: 160px;
  }
  .skills .skills_parent .skill_child {
    margin: 44px;
    width: 70px;
    height: 60px;
  }
}

/* darkmode */
.dark1 {
  background-color: #565555 !important;
}
.headerdark {
  background-color: #293235 !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-backdrop.fullscreen {
  padding: 0;
}

.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  /* transition: all 0.3s ease; */
}

.modal-content.fullscreen {
  width: 100%;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  margin: 0;
}

.modal-content.dark-mode {
  background-color: #1a1a1a;
  color: #fff;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dark-mode .modal-header {
  border-bottom-color: #333;
}

.modal-header-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: inherit;
}

.modal-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.modal-action-button {
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  /* transition: all 0.2s ease; */
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.dark-mode .modal-action-button {
  color: #999;
}

.modal-action-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

.dark-mode .modal-action-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-image-container {
  position: relative;
  height: 400px;
  border-bottom: 1px solid #eaeaea;
  overflow: auto;
  /* transition: height 0.3s ease; */
}

.modal-content.fullscreen .modal-image-container {
  height: calc(100vh - 180px);
}

.dark-mode .modal-image-container {
  border-bottom-color: #333;
}

.modal-image {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 500px);
  /* transition: max-height 0.3s ease; */
}

.modal-content.fullscreen .modal-body {
  max-height: calc(100vh - 500px);
}

.modal-body p {
  margin: 0 0 20px 0;
  line-height: 1.6;
  font-size: 1.1rem;
  color: inherit;
}

.modal-body h4 {
  margin: 0 0 16px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: inherit;
}

.project_tech {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project_tech li {
  background-color: #f0f7ff;
  color: #0066cc;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  /* transition: all 0.2s ease; */
}

.dark-mode .project_tech li {
  background-color: rgba(0, 102, 204, 0.2);
  color: #66b3ff;
}

/* Scrollbar styling */
.modal-image-container::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modal-image-container::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-image-container::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.dark-mode .modal-image-container::-webkit-scrollbar-thumb,
.dark-mode .modal-body::-webkit-scrollbar-thumb {
  background: #404040;
}

.modal-image-container::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

.dark-mode .modal-image-container::-webkit-scrollbar-thumb:hover,
.dark-mode .modal-body::-webkit-scrollbar-thumb:hover {
  background: #505050;
}

/* Firefox scrollbar styling */
.modal-image-container,
.modal-body {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 transparent;
}

.dark-mode .modal-image-container,
.dark-mode .modal-body {
  scrollbar-color: #404040 transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }

  .modal-image-container {
    height: 300px;
  }

  .modal-content.fullscreen .modal-image-container {
    height: calc(100vh - 160px);
  }

  .modal-body {
    max-height: calc(90vh - 400px);
  }

  .modal-content.fullscreen .modal-body {
    max-height: calc(100vh - 420px);
  }

  .modal-header-title {
    font-size: 1.25rem;
  }

  .modal-body p {
    font-size: 1rem;
  }

  .project_tech li {
    padding: 4px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 10px;
  }

  .modal-image-container {
    height: 250px;
  }

  .modal-content.fullscreen .modal-image-container {
    height: calc(100vh - 140px);
  }

  .modal-content {
    width: 100%;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
    max-height: calc(90vh - 350px);
  }

  .modal-content.fullscreen .modal-body {
    max-height: calc(100vh - 370px);
  }

  .modal-action-button {
    padding: 6px;
  }
}