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

* {
  padding: 0;
  margin: 0;
  font-family: "Kalam", cursive;
  font-size: 1em;
  letter-spacing: 0.1em;
}

:root {
  --skills-block: RGB(255, 253, 208);
  --white: #ffffff;
}
/*sections */
body,
html {
  height: 100%;
  scrollbar-width: thin; /* "auto" or "thin" */
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 11px;
  height: 0px;
  /* width of the entire scrollbar */
}
body::-webkit-scrollbar-thumb {
  background-color: rgb(0, 0, 0); /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid rgb(255, 255, 255);
  /* creates padding around scroll thumb */
}

html {
  scroll-behavior: smooth;
}

#btns {
  position: absolute;
  right: 10px;
  bottom: 25px;
}
.btn {
  background: #fea;
  padding: 15px;
  font-family: arial;
}

nav {
  position: relative;
  background: #1b1b1b;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
  /* z-index: 100; */
  z-index: 12;
  padding-bottom: 0px;
  padding-top: 0px;
  
    /* max-width: 100vw; */
    /* box-sizing: border-box */

}
nav .menu {
  max-width: 98%;
  margin-left: 0px;
  margin-right: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0px;
}
.menu .logo-wrapper {
  /* flex: 1; */
  text-decoration: none;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  padding-bottom: 0px;
  margin: 0px;
  /* width:10%; */
}

#coding-projects-list-form {
  display: none;
}

#hamburger-menu-div {
  display: none;
  grid-template-rows: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 12px;
  background: #1b1b1b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hamburger-menu-wrapper {
  position: relative;
  z-index: 14;
  height: 0;
  width: 100%;
  background: #1b1b1b;
}

.menu-wrapper {
  
  /* flex: 5; */
}

.menu .logo-pic {
  margin: 0px;
  /* width: 10%; */
  padding: 0px;
  display: block;
  /* width: 100%; */
  height: auto;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.menu .hamburger-icon {
  position: relative;
  margin-left: auto;
  display: none;
}

.menu .hamburger-icon input {
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0px;
  z-index: 0;
  opacity: 0;
}

.menu .hamburger-icon img {
  z-index: 13;
}


.menu-list-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
}
.menu-list-wrapper li {
  list-style: none;
  margin-left: 0.5em;
  
}

#hamburger-menu-div ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  height: auto;
  width: 100%;
}

#hamburger-menu-div > div:first-child {
  display: none;
}

#hamburger-menu-div ul li {
  display: flex;
  width: 100%;
}

#hamburger-menu-div li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color:  rgba(204, 204, 204, 0.911);
  font-family: "Satisfy";
  background-color: #000;
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  line-height: 1.25;
  font-weight: bold;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.4em;
  transition: all 0.3s ease;
  margin-left: 0;
}

.menu-list-wrapper li:first-child {
  margin-left: 0px;
}
.menu-list-wrapper li a {
  text-decoration: none;
 
  /* color: #005c89; */
  color:  rgba(204, 204, 204, 0.911);
  font-family: "Satisfy";
  letter-spacing: 4px;
  /* background-color: #504e4e9f; */
  font-size: 1.5em;
  font-weight: bold;
  padding: 0.5em 1.5em;
  border-radius: 0.4em;
  transition: all 0.3s ease;
}

.menu-list-wrapper li a:hover {
  background-color: white;
  color: black;
}

.container {
  /* position: relative; */
  width: 100%;
  height: 100%;
  background-color: #005c89;
  vertical-align: middle;
}

.container::before {
  /* margin-top: 11vh; */
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  right: 0;
  bottom: 0;
  background-image: url('images/ethiopian_traditional_cross_fabric_pattern.svg');
  /* background-size: 100px auto; */
  background-size: contain;

  background-repeat: repeat-y;
  opacity: 0.4;
  pointer-events: none;
  background-position: left top;
  z-index: 1;
}

.container::after {
  /* margin-top: 11vh; */

  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/ethiopian_traditional_cross_fabric_pattern.svg');

  /* background-size: 100px auto; */
  background-size: contain;

  background-repeat: repeat-y;
  opacity: 0.4;
  pointer-events: none;
  background-position: right top;
    z-index: 1;

}

.canvas {
  position: relative;
  z-index: 1;
  border: none !important;
  background: radial-gradient(circle at 50% 70%, 
    rgba(0, 92, 137, 0.3) 0%, 
    transparent 60%);
}

/*  glow effect */
.canvas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  box-shadow: 0 0 100px rgba(0, 92, 137, 0.2);
  z-index: 0;
}

#canvas-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-top: 1em;
  max-width: 50%;
  max-height: 60%;
  height: 60%;
  width: 50%;
}

.canvas-outer-wrapper {
  /* position: relative; */
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  align-items: center;
  text-align: center;
}

#canvas-wrapper {
  position: relative;
  min-height: 400px;
}

.canvas-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.canvas-controls:hover {
  opacity: 1;
}

.interaction-hint {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  animation: fadeInOut 3s ease-in-out infinite;
}

.interaction-hint-mobile {
  display: none;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.8; }
}

.canvas-border {
  position: absolute;
  top: 0;
  left: 20px;
  right: 40px;
  bottom: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  /* border-right-height: 50%; */
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
}

/* */
/* .canvas-border::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 50%;
  background-color: rgba(255, 255, 255, 0.1);
} */

/* Add subtle glow effect around canvas */
#canvas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 0 50px rgba(0, 92, 137, 0.3);
  pointer-events: none;
  z-index: -1;
}

.introduction {
  position: absolute;
  /* left: 0vw;
  top: -3.5vw; */
  left: 1%;
  top: -10%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 40px;
  max-width: 25%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Bubble styling */
.bubble1, .bubble2, .bubble3, .bubble4 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 1;
}

.bubble1 {
  width: 5.4%;
  height: 9%;
  right: -1vw;
  top: 46%;
  /* right: -7%; */
}

.bubble2 {
  width: 3.5%;
  height: 5.6%;
  /* right: -24%; */
  right: -3.5vw;
  top: 48%;
}

.bubble3 {
  width: 2.5%;
  height: 3.8%;
  /* right: -38%; */
  right: -5.5vw;
  top: 60%;
}

.bubble4 {
  width: 1.5%;
  height: 2.5%;
  /* right: -50%; */
  right: -7vw;
  top: 75%;
}

/* Animation for all bubbles */
.bubble1, .bubble2, .bubble3, .bubble4 {
  animation: floatAndGrow 3s ease-in-out infinite;
}

@keyframes floatAndGrow {
  0%, 100% { 
    transform: translate(0, 0) scale(0.7); 
    opacity: 0.5; 
  }
  50% { 
    transform: translate(5px, -5px) scale(1.2);
    opacity: 1; 
  }
}

.introduction p {
  margin: 0;
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.introduction {
  animation: float 3s ease-in-out infinite;
}

.container2-background {
  width: auto;
  height: 100%;
  background-color: #ffffff;
}

.container2 {
  display: flex;
  column-gap: 1em;
  flex-direction: row;
  position: relative;
  height: 100%;
  width: 100%;
}
#about-me-image-wrapper {
  max-height: 100%;
  width: 40%;
  height: 100%;
}
#about-me-image {
  width: 100%;
  max-height: 100%;
  height: 100%;
  max-width: 100%;
}

.introduction2 {
  padding: 30px;
  width: 90%;
  margin-left: auto;
  margin-right: AUTO;
  /* overflow-y: scroll; */
  /* max-height: 100%; */
  height: auto;
  overflow-y: auto;
  width: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 92, 137, 0.1),
    0 1px 8px rgba(0, 92, 137, 0.05);

    /* scrollbar-width: thin;
    overflow-y: scroll;
    scroll-padding: 0.1px;
    scroll-margin: 0.2px;
    text-align: center; */
    /* background-color: #005c89; */
    height: auto;
    max-height: 80%;
    width: 50%;
    /* border-radius: 50px; */
    align-self: center;
    padding: 1em 0;
    /* z-index: 3; */
}

/* Custom scrollbar styling */
.introduction2::-webkit-scrollbar {
  width: 8px;
}

.introduction2::-webkit-scrollbar-track {
  background: rgba(0, 92, 137, 0.05);
  border-radius: 10px;
}

.introduction2::-webkit-scrollbar-thumb {
  background: rgba(0, 92, 137, 0.2);
  border-radius: 10px;
}

.introduction2::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 92, 137, 0.3);
}

.introduction2 h2 {
  color: #005c89;
  font-size: 1.6rem;
  margin: 30px 0 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.introduction2 h2:first-child {
  margin-top: 0;
}

/* Decorative element before headers */
.introduction2 h2::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 3px;
  background: #005c89;
  margin-right: 12px;
  border-radius: 2px;
}

.introduction2 p {
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  padding-left: 37px;
  position: relative;
}

/* Paragraph hover effect */
.introduction2 p:hover {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

/* Section transitions */
.introduction2 h2,
.introduction2 p {
  transition: all 0.3s ease;
}

/* Custom styling for different sections */
.introduction2 h2:nth-of-type(1)::before { background: #2E86C1; }
.introduction2 h2:nth-of-type(2)::before { background: #3498DB; }
.introduction2 h2:nth-of-type(3)::before { background: #21618C; }
.introduction2 h2:nth-of-type(4)::before { background: #1B4F72; }

/* Add subtle highlight to paragraphs */
.introduction2 p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(0, 92, 137, 0.1);
  border-radius: 2px;
}

.container3 {
  scrollbar-width: thin; /* "auto" or "thin" */
  width: auto;
  height: 100%;
  text-align: center;
  padding: 2rem 0;
  background-color: #005c89;
}

.container3-nav-bar {
  margin-top: 3%;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  /* background-color: #f1f1f1; */
  background-color: #ffffff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 10%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 2rem;
}

.container3-nav-bar ul {
  /* display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0; */
  list-style: none;
  column-gap: 6vw;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-inline-start: 0px;
  margin-block-start: 0px;
  margin-block-end: 0px;
  height: 100%;
}

.button-list {
  margin: 0 10px;
}

.skills-button {
  background-color: #005c89;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.skills-button:hover {
  border-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.clicked-skills-button .skills-button {
  background-color: #FFFFFF;
  color: #005c89;
  border-color: #005c89;
  font-weight: bold;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.clicked-skills-button .skills-button {
  animation: pulse 1.5s infinite;
}


@media (max-width: 768px) {
  .container3-nav-bar ul {
    flex-wrap: wrap;
  }

  .button-list {
    margin: 5px;
  }
}

.container3-skills-block {
  height: 70%;
  width: 88%;
  background-color: rgba(255, 255, 255, 0.849);
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2%;
  overflow-y: auto;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;  /* overflow-y: auto; */
  border-radius: 8px;
}

/* Custom scrollbar styling */
.container3-skills-block::-webkit-scrollbar {
  width: 8px;
}

.container3-skills-block::-webkit-scrollbar-track {
  background: rgba(0, 92, 137, 0.05);
  border-radius: 10px;
}

.container3-skills-block::-webkit-scrollbar-thumb {
  background: rgba(0, 92, 137, 0.2);
  border-radius: 10px;
}

.container3-skills-block3::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 92, 137, 0.3);
}


.container3-skills-block div {
  /* background-color: #ffffff; */
  /* height: 100%; */
}
#container3-programming {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  display: none;

}

#container3-programming > div {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

#container3-programming > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#container3-programming img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 1rem;
  background-color: #f8f9fa;
  border-bottom: 2px solid #005c89;
}


#container3-programming p {
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  text-align: center;
}


@media (max-width: 1200px) {
  #container3-programming {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  #container3-programming {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #container3-programming {
    grid-template-columns: 1fr;
  }
}

#container3-design {
  /* display: grid; */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  display: none;

}

#container3-design > div {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

#container3-design > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#container3-design img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 1rem;
  background-color: #f8f9fa;
  border-bottom: 2px solid #005c89;
}

#container3-design p {
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1200px) {
  #container3-design {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  #container3-design {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #container3-design {
    grid-template-columns: 1fr;
  }
}

#container3-other {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  display: none;

}

#container3-other > div {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

#container3-other > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#container3-other img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 1rem;
  background-color: #f8f9fa;
  border-bottom: 2px solid #005c89;
}

#container3-other p {
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1200px) {
  #container3-other {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  #container3-other {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #container3-other {
    grid-template-columns: 1fr;
  }
}

#container3-leadership {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

#container3-leadership > div {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

#container3-leadership > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#container3-leadership img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 2px solid #005c89;
}

#container3-leadership p {
  padding: 0.75rem;
  font-size: 0.8rem;
  color: #333;
  line-height: 1.4;
  flex-grow: 1;
}

#container3-leadership a {
  color: #005c89;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
}

#container3-leadership a:hover {
  text-decoration: underline;
}

/* Style for the "Read More" links */
#container3-leadership a:last-of-type {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  background-color: #005c89;
  color: white;
  border-radius: 15px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  margin-left: 0.75rem;
  margin-bottom: 0.75rem;
}

#container3-leadership a:last-of-type:hover {
  background-color: #003d5b;
  text-decoration: none;
}

/* Ensure horizontal scrolling on smaller screens */
@media (max-width: 1200px) {
  #container3-leadership {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem; 
  }

  #container3-leadership > div {
    scroll-snap-align: start;
    min-width: 200px; 
  }
}

.container4 {
  scrollbar-width: thin; /* "auto" or "thin" */
  position: static;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  padding-left: 0%;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: 25% 63.3%;
  justify-content: center;
  padding: 5em 0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;  

}

.container4-filter-block {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;  
  border-radius: 8px;
  height: 100%;
  place-items: center;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.container4-filter-block fieldset {
  /* width: 100%;
  height: 100%; */
  min-inline-size: unset;
}

.container4-filter-block fieldset div {
  width: 100%;
  margin-top: 1em;
}
.fieldset-wrapper {
  width: 90%;
  height: auto;
}

#coding-projects-list-form select {
  width: 100%;
}

#coding-projects-list-form {
  width: 100%;
}

.container4-projects-block {
  background-color: #005c89;
  /* center besides using flex*/
  /* margin-bottom: auto;
  margin-left: auto;
  margin-right:auto ; */
  overflow-y: scroll;
  display: grid;
  padding: 4%;
  gap: 2em;
  justify-items: center;
  align-items: center;
  color: #bd4343;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px; 
      z-index: 10; 
}

/* Smooth scroll behavior */
.container4-projects-block {
  scroll-behavior: smooth;
  overflow-y: auto;
}

@media (min-width: 769px) {
  .container4-projects-block {
    box-shadow:
      rgba(0, 0, 0, 0.3) 0px 19px 38px,
      rgba(0, 0, 0, 0.22) 0px 15px 12px,
      inset 0 -30px 30px -20px rgba(0, 0, 0, 0.7);
  }
}

/* Modern scrollbar styling */
.container4-projects-block::-webkit-scrollbar {
  width: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.container4-projects-block::-webkit-scrollbar-track {
  background: rgba(0, 92, 137, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.container4-projects-block::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.container4-projects-block::-webkit-scrollbar-thumb:hover {
  background: #fea;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.container4-projects-block > div {
  display: grid;
  grid-template-columns: 1fr 5fr;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF; /* White background */
  border-radius: 8px;
  /* overflow: hidden; */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem; /* Space between cards */
}

.container4-projects-block > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.container4-projects-block > div > p {
  color: #000000; /* Text color */
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.container4-projects-block > div a {
  color: #005c89; /* Link color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.project-item-image {
  border-radius: 8px;
}
.container4-projects-block > div a:hover {
  color: #003d5b; 
  text-decoration: underline;
}

.container4-projects-block p {
  padding: 0px 3%;
}

.container4-projects-block > .project-scroll-hint {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  padding: 0.55rem 1rem;
  color: #fff;
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.project-scroll-hint span {
  display: inline-block;
  margin-left: 0.3em;
  animation: project-scroll-cue 1.2s ease-in-out infinite alternate;
}

@keyframes project-scroll-cue {
  to {
    transform: translateY(4px);
  }
}

.container4-projects-block a {
  color: lightgray;
}

.project-item > div {
  background-color: rgba(240, 240, 240, 0.911);
}

.container5 {
  position: static;
  width: 100%;
  height: 100%;
  background: #fcfcfc;  /* Light gray background */
  padding: 4rem 0;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0 2rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  color: #333;  /* Dark gray text */
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #555;  /* Medium gray text */
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  color: #333;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #005c89;
  box-shadow: 0 0 0 2px rgba(0, 92, 137, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: #005c89;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #004a70;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.social-links h2 {
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #333;
  text-decoration: none;
  padding: 1rem 2rem;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.social-icon i {
  font-size: 1.5rem;
  color: #005c89;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    order: -1;
  }
}

footer {
  background-color: #1b1b1b;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-wrapperr {
  max-width: 1200px;
  margin: 0 auto;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
}

.icon-wrapper a {
  margin: 0 10px;
  display: inline-block;
  width: 40px;
  height: 40px;
  color: #fff; 
  border-radius: 50%; 
  background-color: #555; 
  line-height: 48px; 
}

.icon-wrapper i {
  font-size: 20px; 
}

.copyright {
  margin-top: 15px;
}







/* ----------Media Queries--------------  */

/* 1150px */
@media screen and (min-width: 73em) {
  #hamburger-menu-div {
    display: none;
  }
}

@media screen and (max-width: 72em) {
  .introduction {
    top: -7%;
    width: 80%;
  }
  .menu-list-wrapper {
    display: none;
  }
  .menu .hamburger-icon {
    display: block;
  }

  .container3-nav-bar .button {
    padding: 1vw;
  }
  .menu .logo-pic {
    max-height: 70px;
  }
  .contact-form-btn {
    padding: 15px 10px;
  }
  nav {
    z-index: 13;
  }
}

/* 880px */
@media screen and (max-width: 55em) {
  .container5 {
    background-image: url("images/contact-us-one.jpg");
    background-size: cover;
  }
  .contact-form-outer-wrapper {
    background-color: rgba(
      51,
      47,
      47,
      0.514
    ); /* Black background with opacity */
  }

  .contact-form--image {
  }

  .contact-form-img-wrapper {
    display: none;
  }

  .container5 > div {
    display: block;
    width: 80%;
  }

  .contact-form-wrapper > div {
    margin: auto;
    width: 80%;
    display: grid;
  }

  .contact-form-wrapper p {
    margin-block-start: 0px;
    margin-block-end: 0px;
    display: flex;
  }

  .container5 textarea {
    width: 90%;
  }

  .container4 {
    grid-template-columns: unset;
    grid-template-rows: 1fr 8fr;
  }
  .container4-filter-block fieldset {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
  }

  .container4-projects-block {
    grid-template-columns: auto auto;
    width: 80%;
    margin: 0 auto;

    align-items: stretch;
  }

  .container4-projects-block > div {
    grid-template-columns: unset;
    align-items: first baseline;
    display: block;
  }

  #container3-leadership {
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 10%;
  }

  .introduction {
    top: -10%;
    width: 80%;
    left: 67%;
  }

  .container2 {
    flex-direction: row;
    justify-content: end;
  }

  #about-me-image-wrapper {
    image-rendering: -webkit-optimize-contrast;
    position: absolute;
    max-height: 100%;
    height: 100%;
    max-width: 100%;
    width: 100%;
    z-index: 2;
    padding-right: 20%;
    background-image: url("images/saron_standing.jpg");
    background-size: cover;
    filter: blur(0.5px);
  }

  #about-me-image {
    width: 80%;
  }
}

/* 544px */
@media screen and (max-width: 34em) {
  .canvas-outer-wrapper {
    justify-content: unset;
  }
  .introduction2 {
    font-size: 0.8em;
    width: 60%;
  }

  .introduction {
    font-size: 0.8em;
    left: 100%;
  }

  #container3-leadership {
    font-size: 0.8em;
  }

  .container4-filter-block fieldset div {
    font-size: 0.8em;
  }
  .container4-projects-block p {
    font-size: 0.8em;
  }
}

.fieldset-wrapper {
  margin-bottom: 2rem;
}

#project-type-wrapper {
  /* border: none; */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#project-type-wrapper legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000000;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

#project-type-wrapper div {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

#project-type-wrapper input[type="radio"] {
  /* appearance: none; */
  /* -webkit-appearance: none; */
  width: 20px;
  height: 20px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  outline: none;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

#project-type-wrapper input[type="radio"]:checked {
  background-color: #005c89;
  color: #005c89 ;
  accent-color: #005c89 ;
  /* box-shadow: inset 0 0 0 4px #005c89; */
}

#project-type-wrapper label {
  color: #000000;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

#project-type-wrapper label:hover {
  color: #005c89;
}

#coding-projects-list-form {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#coding-projects-list-form div {
  display: flex;
  flex-direction: column;
}

#coding-projects-list-form label {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  padding-left: 2rem;
}

#coding-projects-list-form select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 90%;
  margin: auto;
}

#coding-projects-list-form select:hover,
#coding-projects-list-form select:focus {
  border-color: #005c89;

  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}

#coding-projects-list-form select option {
  background-color: #ffffff;
  color: #000000;
}

/* Add subtle stage/glow effect */
#canvas-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 70%, 
    rgba(0, 92, 137, 0.3) 0%, 
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.collapse-btn {
    background: none;
    border: none;
    color: #005c89;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.collapse-btn:hover {
    background: rgba(0, 92, 137, 0.1);
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.content.active {
    max-height: 500px; /* Adjust based on content */
}

.collapse-btn.active {
    transform: rotate(45deg);
}
.container6 {
  /* max-width: 800px; */
  margin: auto;
  padding: 20px;

  scrollbar-width: thin; /* "auto" or "thin" */
  position: relative;
  width: 100%;
  height: 100%;
  padding-left: 0%;
  /* display: grid; */
  box-sizing: border-box;
  grid-template-columns: 25% 63.3%;
  justify-content: center;
  padding: 5em 0;
  border-radius: 8px;
  background-color: #005c89;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;  

}

.carousel-speed-hover-zone {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 10;
  display: grid;
  width: 20%;
  height: 30%;
  place-items: center;
  transform: translateY(-50%);
  /* color: rgba(255, 255, 255, 0.85); */
  /* background: rgba(27, 27, 27, 0.72); */
  /* border-radius: 12px 0 0 12px; */
  /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); */
  /* cursor: ew-resize; */
  /* transition: background-color 0.2s ease, width 0.2s ease; */
}

.carousel-speed-hover-zone::before {
  content: "";
}

.carousel-speed-hover-zone:hover {
  /* background: rgba(27, 27, 27, 0.9); */
}

.carousel-speed-indicator {
  position: absolute;
  top: 50%;
  right: 12%;
  z-index: 11;
  display: flex;
  gap: 0.15em;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-speed-indicator.is-visible {
  opacity: 0.5;
  visibility: visible;
  animation: carousel-speed-indicator-move 0.55s ease-in-out infinite alternate;
}

@keyframes carousel-speed-indicator-move {
  to {
    transform: translate(8px, -50%);
  }
}

@media (hover: none), (pointer: coarse) {
  .carousel-speed-hover-zone {
    display: none;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@-webkit-keyframes carousel-animate {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(200%) scale(0.7);
  }
  3%, 14.2857142857% {
    visibility: visible;
    opacity: 0.25;
    transform: translateX(100%) scale(0.9);
  }
  17.2857142857%, 28.5714285714% {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  31.5714285714%, 42.8571428571% {
    visibility: visible;
    opacity: 0.25;
    transform: translateX(-100%) scale(0.9);
  }
  45.8571428571% {
    visibility: visible;
    opacity: 0;
    transform: translateX(-200%) scale(0.9);
  }
  100% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-200%) scale(0.7);
  }
}
@keyframes carousel-animate {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(200%) scale(0.7);
  }
  3%, 14.2857142857% {
    visibility: visible;
    opacity: 0.25;
    transform: translateX(100%) scale(0.9);
  }
  17.2857142857%, 28.5714285714% {
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  31.5714285714%, 42.8571428571% {
    visibility: visible;
    opacity: 0.25;
    transform: translateX(-100%) scale(0.9);
  }
  45.8571428571% {
    visibility: visible;
    opacity: 0;
    transform: translateX(-200%) scale(0.9);
  }
  100% {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-200%) scale(0.7);
  }
}
:root {
  --light: 0;
  --light: 0;
  --max-width-post: 420px;
  --primary: hsl(
  	calc(64 + 220 * var(--light)),
  	calc(77% - 7% * var(--light)),
  	calc(79% - 56% * var(--light))
  );
  --bg: hsl(
  	calc(284 - 220 * var(--light)),
  	calc(70% + 7% * var(--light)),
  	calc(23% + 56% * var(--light))
  );
  --text-primary: hsl(
  	calc(60 * var(--light)),
  	calc(19% * var(--light)),
  	calc(97% - 89% * var(--light))
  );
  --font-size-sm: clamp(0.7rem, 0.91vw + 0.47rem, 1.2rem);
  --font-size-base: clamp(0.88rem, 1.14vw + 0.59rem, 1.5rem);
  --font-size-md: clamp(1.09rem, 1.42vw + 0.74rem, 1.88rem);
  --font-size-lg: clamp(1.37rem, 1.78vw + 0.92rem, 2.34rem);
  --font-size-xl: clamp(1.71rem, 2.22vw + 1.15rem, 2.93rem);
  --font-size-xxl: clamp(2.14rem, 2.77vw + 1.44rem, 3.66rem);
  --font-size-xxxl: clamp(2.67rem, 3.47vw + 1.8rem, 4.58rem);
}

/* *,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  width: 100vw;
  height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--text-primary);
  overflow: hidden;
}
@supports (height: 100dvh) {
  body {
    height: 100dvh;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
} */

.container_test {
  --container-padding-horizontal: 32px;
  position: relative;
  padding-inline: var(--container-padding-horizontal);
  display: grid;
  place-items: center;
  height: 100%;
}

.carousel {
  pointer-events: none;
  /* position: absolute; */
  /* -webkit-padding-before: 67px; */
          /* padding-block-start: 67px; */
  -webkit-padding-after: max(24px, calc(29px + var(--font-size-md)));
          padding-block-end: max(24px, calc(29px + var(--font-size-md)));
  perspective: 100px;
  width: 100%;

  display: flex;
  justify-content: center;
  height: 100%;
z-index: 5;
  /* margin-top: 12.5%; */

  /* display: grid;
  grid-template-rows: auto 1fr;  */
  /* height: 80%; */
}

.carousel {
 
  /* max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover; */
  /* height: 100%; */
}

@media (max-width: 568px) {
  .carousel {
    -webkit-padding-after: 52px;
            padding-block-end: 52px;
  }
}
.carousel__wrapper {
  /* position: relative; */
  display: flex;
  justify-content: center;
  height: 100%;
  /* height: 61.2vh; */
}


.carousel .item {
  background-color: white;
  position: absolute;
  /* max-width: 418px; */
  width: 100%;
  height: 81.5%;
  margin-inline: var(--container-padding-horizontal);
  opacity: 0;
  will-change: transform, opacity;
  -webkit-animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1) infinite;
          animation: carousel-animate 27s cubic-bezier(0.37, 0, 0.63, 1) infinite;

          --border: 1px solid var(--primary);
          border-bottom-color: var(--border);
          border-bottom-left-radius:  20px;
          border-bottom-right-radius:  20px;

}
/* image */
.company-name {
height: 75%;
  /* padding: 3.3% 0; */
}
@media (max-width: 568px) {
  .carousel .item {
    margin-inline: calc(var(--container-padding-horizontal) + 1px);
  }
}
.carousel .item:nth-child(1) {
  -webkit-animation-delay: calc(3.8571428571s * -1);
          animation-delay: calc(3.8571428571s * -1);
}
.carousel .item:nth-child(2) {
  -webkit-animation-delay: calc(3.8571428571s * 0);
          animation-delay: calc(3.8571428571s * 0);
}
.carousel .item:nth-child(3) {
  -webkit-animation-delay: calc(3.8571428571s * 1);
          animation-delay: calc(3.8571428571s * 1);
}
.carousel .item:nth-child(4) {
  -webkit-animation-delay: calc(3.8571428571s * 2);
          animation-delay: calc(3.8571428571s * 2);
}
.carousel .item:nth-child(5) {
  -webkit-animation-delay: calc(3.8571428571s * 3);
          animation-delay: calc(3.8571428571s * 3);
}
.carousel .item:nth-child(6) {
  -webkit-animation-delay: calc(3.8571428571s * 4);
          animation-delay: calc(3.8571428571s * 4);
}
.carousel .item:last-child {
  -webkit-animation-delay: calc(-3.8571428571s * 2);
          animation-delay: calc(-3.8571428571s * 2);
}

.carousel img {
  /* max-width: 100%; */
  /* -o-object-fit: cover; */
     object-fit: cover;
     height: 100%;
     width: 100%;}



.position-title, .years-of-experience {
/* height: %; */
  background-color: white;
  size: 2rem;
  text-align: center;
  /* margin: 0 auto; */
  display: flex;
  justify-content: center; /* Align horizontally */
  align-items: center; /* Align vertically */
  /* Set the height of the div */
  border: 1px solid black; /* For visibility */
  padding: 4%;


  /* --border: 1px solid var(--primary); */
  max-width: var(--max-width-post);
  border: var(--border);
  border-radius: 20px;
}



/* .carousel > div:first-of-type {
  flex: 0.3; 
} */

/* .carousel > div:nth-child(1) {
  flex: 0 1 100px;
}

.carousel > div:nth-child(2) {
  flex: 1; 
} */

.instagram {
  --pading-horizontal: 16px;
  --border: 1px solid var(--primary);
  max-width: var(--max-width-post);
  width: 100%;
  border: var(--border);
  border-radius: 20px;
  height: 86%;
}
.instagram__header {
  position: relative;
  padding-block: 12px;
  border-bottom: var(--border);
  z-index: 1;
  display: flex;
justify-content: center;
color: white;
gap: 2%;
/* background-color: #1f1515; */
}


/* .instagram__header figure {
  padding-block: 0;
  padding-inline: var(--pading-horizontal);
  margin: 0;
  display: flex;
  align-items: center;
  color: white;
  justify-content: center;

} */


/* .instagram__header figure img {
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: var(--border);
  -webkit-margin-end: 8px;
          margin-inline-end: 8px;
} */
.instagram__media {
  display: flex;
  border-bottom: var(--border);
}
.instagram__media .img {
  max-width: 100%;
  height: 61.2vh;
}
.instagram__buttons {
  padding-block: 12px;
  padding-inline: var(--pading-horizontal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.instagram__buttons .left {
  display: flex;
  align-items: center;
}
.instagram__buttons .left svg:nth-of-type(2) {
  margin-inline: 12px;
}
.instagram__icon {
  cursor: pointer;
  width: 1em;
  height: 1em;
  font-size: var(--font-size-md);
  min-width: 24px;
  min-height: 24px;
}
.instagram__icon:hover {
  opacity: 0.7;
}
.instagram__icon path {
  stroke: var(--primary);
  stroke-linejoin: round;
}
.instagram__icon--comment path {
  stroke-width: 2;
}
.instagram__icon--message {
  -webkit-margin-before: 3px;
          margin-block-start: 3px;
}
.instagram__icon--message path {
  stroke-width: 2;
}
.instagram__icon--saved path {
  stroke-width: 2;
}

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
    letter-spacing: 0.03em;
  }

  .container2-background,
  .container2 {
    height: auto;
  }

  .container2 {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  #about-me-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 55vh;
    padding: 0;
    background-image: none;
  }

  #about-me-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: cover;
  }

  .introduction2 {
    width: 100%;
    max-height: none;
    height: auto;
    padding: 1.25rem;
    overflow: visible;
  }

  .introduction2 > div {
    padding: 0 !important;
  }

  .introduction2 h2 {
    font-size: 1.35rem;
  }

  .introduction2 p {
    padding-left: 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .container3 {
    height: auto;
    padding: 1.5rem 1rem;
  }

  .container3-nav-bar {
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    padding: 0.75rem;
  }

  .container3-nav-bar ul {
    gap: 0.5rem;
  }

  .button-list {
    margin: 0;
  }

  .skills-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .container3-skills-block {
    width: 100%;
    height: auto;
    margin: 0;
    overflow: visible;
  }

  #container3-programming,
  #container3-design,
  #container3-other {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
  }

  #container3-leadership {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    overflow: visible;
  }

  #container3-leadership > div {
    min-width: 0;
  }

  .container4 {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .container4-filter-block {
    height: auto;
    padding: 1rem;
  }

  .container4-filter-block fieldset {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.75rem;
  }

  .container4-filter-block fieldset div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .container4-projects-block {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 1rem;
    overflow: visible;
  }

  .container4-projects-block > div {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .project-item-image {
    width: min(100%, 180px);
    margin: 1rem auto 0;
  }

  .container4-projects-block > div > p {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .container6 {
    height: auto;
    padding: 2rem 0;
    overflow: hidden;
  }

  .container_test {
    height: auto;
    min-height: 440px;
    width: 100%;
    padding-inline: 1rem;
  }

  .instagram {
    height: 390px;
  }

  .carousel {
    height: 320px;
  }

  .carousel .item {
    width: 100%;
    height: 82%;
    margin-inline: 0;
  }

  .container5 {
    height: auto;
    padding: 2.5rem 0;
  }

  .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .form-control {
    max-width: 100%;
  }

  .social-links {
    padding: 1rem 0;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .social-icon {
    padding: 0.75rem 1rem;
  }

  footer {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 480px) {
  .container3-nav-bar ul {
    justify-content: space-around;
  }

  .skills-button {
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
  }

  .container4 {
    padding-inline: 0.75rem;
  }

  .container4-projects-block {
    padding: 0.75rem;
  }

  .social-icon {
    flex: 1 1 130px;
    justify-content: center;
  }
}

@media (max-width: 544px) {
  .container::before,
  .container::after {
    background-size: 70px auto;
  }

  .introduction {
    width: 50vw;
    max-width: 50vw;
    top: -19%;
  }

  .canvas-controls,
  .interaction-hint-desktop {
    display: none;
  }

  .interaction-hint {
    left: 50vw;
    width: min(85vw, 360px);
    white-space: nowrap;
  }

  .interaction-hint-mobile {
    display: inline;
  }

  .bubble1,
  .bubble2,
  .bubble3,
  .bubble4 {
    right: auto;
  }

  .bubble1 {
    left: -1vw;
  }

  .bubble2 {
    left: -3.5vw;
  }

  .bubble3 {
    left: -5.5vw;
  }

  .bubble4 {
    left: -7vw;
  }
}