@media screen and (max-width:980px) {
.header {
  /* width: 100%; */
  display: flex;
  position: relative;
  height: 80px;
  border: 1px solid rgba(128, 128, 128, 0.244);
  background: white;
  margin: 10px 10px 5px 10px;
  z-index: 100;

}

.header .logo-section {
  width: 150px;
  height: 70px;
  margin-right: 50px;
  padding: 0 0 0 20px;
}

.logo-section img {
  width: 80%;
  height: 70px;
}

.header .menu-section {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex: 1;
  width: 250px;
  Height: 100%;
  white-space: nowrap;
  margin: 10px 20px;
  padding: 20px 10px;

}

.menu-section .toggler {
  position: absolute;
  top: -12px;
  right: -5px;
  margin: 0.3rem;
  width: 75px;
  height: 75px;
  cursor: pointer;
  Z-index: 60;
  opacity: 0;
}

.menu-section .hamburger {
  display: flex;
  position: absolute;
  top: -8px;
  right: 0;
  width: 60px;
  height: 60px;
  display: flex;
  border: 1px solid gray;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  z-index: 40;
}

.menu-section .hamburger > div {
  display: flex;
  flex: none;
  position: relative;
  top: 0;
  right: 0;
  width: 90%;
  height: 3px;
  justify-content: center;
  align-items: center;
  background: rgba(3, 3, 88, 0.932);
  transition: all 0.4s ease;
}

.menu-section .hamburger > div:before,
.menu-section .hamburger > div:after {
  content: '';
  position: absolute;
  top: -10px;
  width: 100%;
  height: 3px;
  background: inherit;
  z-index: 30;
}

.menu-section .hamburger > div:after {
  top: 10px;
}

.menu-section .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
}

.menu-section .toggler:checked + .hamburger > div:before,
.menu-section .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
} 

.menu-section .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}

.menu-section .menu {
  display: flex;
  position: absolute;
  visibility: hidden;
  overflow: hidden;
  width: 100%;
  right: -30px;
  
}

/* Menu box styling*/
.menu-section .menu > div {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: start;
  padding: 2rem 0rem 0.1rem 0.8rem;
  width: 80vw;
  height: 60vw;
  /* transform: scale(0); */
  background: rgba(167, 247, 241, 0.995);
  margin-top: 50px;
}

/* (209, 220, 248, 0.995); */

/* Menu Listing Styling */
.menu-section .menu > div > div {
  /* text-align: center; */
  max-width: 90vw;
  max-height: 100vh;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.menu > div > div > ul > li {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  padding: 0.4rem;
  gap: 10px;
  flex-direction: column; 
  Color: rgb(87, 83, 83);
  list-style: none;
  border: 1px solid rgba(128, 128, 128, 0.575);
  width: 180%;
  transition: color 0.4s ease;
}

.menu ul li:hover {
  color: blue;
  background: bisque;
}

.menu > div > div > ul > li > a {
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: color 0.4s ease;
}

.services {
  position: relative;
}


.services > a::after {
  content: "+";
  margin-left: 50%; /* Adds space between text and sign */
  font-weight: bold;
}

.sub-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 90%;
  left: 60px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  width: 77%;
  height: auto;
}

.menu ul li:hover .sub-menu,
.menu ul li:focus-within .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sub-menu a {
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(128, 128, 128, 0.39);
  padding: 4px 20px;
  background: rgb(186, 244, 186);
  color: blue;
  text-decoration: none;
}

.sub-menu a:hover {
  background: blue;
  color: white;
}

.menu-section .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-section .toggler:checked ~ .menu > div {
  transition-duration: 0.75s;
}

.menu-section .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero-thumbnail {
  margin: 10px 5px 10px 5px;
  padding: 10px 15px;  
  height: 50vh;
}

.hero-section .hero-thumbnail h2 {
  font-size: 20px;
  padding: 0 20px;
  max-width: 480px;
}

.hero-section .hero-thumbnail p {
  margin: 10px 15px;
  font-size: 12px;
}

.hero-section .hero-thumbnail a {
  width: max-content;
  text-align: center;
  white-space: nowrap;
  padding: 15px 10px;
  transition: box-shadow 0.4s ease;
}


.home-intro {
  display: flex;
  max-width: 560px;
  padding: 1rem 1rem;
}

.challenge h3 {
  font-size: 14px;
}


.challenge > article:nth-child(1) p,
.challenge > article:nth-child(2) p,
.challenge > article:nth-child(3) p{
  font-size: 12px;
}

.home-about {
  padding: 1rem 0.3rem;
  font-size: 12px;
}
  
.home-services {
  max-width: 560px;
  padding: 1rem 1rem;
}

.home-services .services-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}


.services-card h3 {
  font-size: 14px;
}

.work-process .process-card {
  display: grid;
  max-width: 600px;
  grid-template-columns: 1fr 1fr;
}

.industry-examples {
  max-width: 560px;
  padding: 0.5rem;
}

.form-container {
  width: 80%;
  max-width: 360px;
}

.form-container h2 {
  font-size: 14px;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 80%;
  padding: 8px 10px;
  font-size: 12px;
}

.submit-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  width: max-content;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.samples .website-samples {  
  height: auto; 
}
.samples .website-samples > div > div {
  /* display: flex;
  flex-wrap: wrap; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.samples .website-samples > div > div > div {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  outline: none;
  position: relative;
  -webkit-tap-highlight-color: transparent; 
  cursor: pointer; 
}

.website-samples > div > div > div img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, position;
  transition: transform 0.2s ease-out;
}

.website-samples > div > div > div.is-open img {
  transform: translate(-50%, -50%) scale(2.5); 
  width: auto;
  height: auto;
  max-width: 80vw;;
  max-height: 40vh;
}

.body-container .content-samples > div,
.project-container .content-samples > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.body-container .content-samples iframe,
.project-container .content-samples iframe { 
  width: 100%; 
  height: 20vh;
}

.carousel-slider-track {
  display: flex;
  width: 600%; /* 8 total slides = 800% width */
  transform: translateX(0%);
}

.footer-content .other-info p {
  width: 250px;
  font-size: 11px;
}

.footer-content .social-channels h2 {
  font-size: 12px;
}

.copyright-container {
  font-size: 11px;
}
}