body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #FEF7EC;
  }
  
  .navbar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 20px;
    
  }
   @media (max-width: 768px) { 
  .navbar{
      gap: 10px;
      text-align: center;
  }
  }
   
  .nav-button {
    text-decoration: none;
    color: black;
    font-size: 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    position: relative;
  }
  
  .nav-button.active {
    font-weight: bold;
    text-decoration: none;
    
  }

  
  
  header {
    text-align: center;
    padding: 20px;
    text-decoration: none;
  }
  
  nav a {
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    
    
  }
  
  nav a:hover,nav a.active {
    border-bottom: 2px solid black;
  }
  
 .grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  
  align-items: start;
}

/* When the screen width is 768px or smaller */
@media (max-width: 768px) { 
  .grid-container {
    
    grid-template-columns: repeat(2, 1fr);
  
   
    

  }
}


 

  .tile {
    text-align: center;
    text-decoration: none;
    color: black;
    transition: transform 0.3s;
    
    
  }

  @media (max-width: 768px) { 
  .tile  {
    gap: 20px;
    display: flex;
    flex-direction: column;
    
  }
}
  
  .tile img {
    max-width: 100%;
    height: auto;
    align-items: center;
  }
  
  .tile p {
    margin-top: 10px;
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  @media (max-width: 768px) { 
  .tile p {
    font-size: 1rem;
    line-height: 1.6rem;
    margin-top: 0;
    
  }
}
  .tile:hover {
    transform: scale(1.05);
  }
  
    h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-top: 1rem;
  }




  
 
   @media (max-width: 768px) { 
  .skills {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 2rem;

  }
}
  
  .grid {
    display: grid;
    grid-template-columns: repeat(2
, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
  }
  
  
  .description {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  @media (max-width: 768px) { 
  .description {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

 .footer {
  border-top: 2px solid #000;
  padding: 15px 0;
  display: flex;
  justify-content: center; /* Keep links centered */
  gap: 20px; /* Space between links */
  width: 99.2vw; /* Full viewport width */
  box-sizing: border-box;
  margin-left: -40px;
  text-decoration: underline;
  
}

  @media (max-width: 768px) { 
  .footer {
    margin-left: -38px;
    font-size: 0.8rem ;
  }
}

.footer-link {
  
  color: #000;
  margin: 10px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.footer-link:hover {
  opacity: 0.7; /* Subtle hover effect */
}

a{
  text-decoration: none;
}

.Question{
  text-align: left;
  font-size: 1.5rem;
  
}


.case-studies {
 
  text-align: center;
  
  margin-bottom: 10%;
  margin-top: 10%;
  
  
}


.case-studies h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.case-studies-grid {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-content: center;
  align-items: center;
  justify-items: center;
 margin: auto;
  max-width: 1200px;
}

.case-study {
  max-width: 250px;
}

.case-study img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.case-study img:hover {
  transform: scale(1.05);
}

.case-study p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}



.divider1 {
  border-top: 2px solid black;
  margin-bottom: 60px;
  margin-top: 60px;
}

  .image{
    max-width: 1000px;
  }

   @media (max-width: 768px) { 
  .image{
    
   max-width: 300px;
  
  }
}
  


.container3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    text-align: left;
}

@media (max-width: 768px){
  .container3{
    flex-direction: column;
    margin-left: -30px;
    max-width: 250px;
  }
}
.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: -5px;
    margin-bottom: 10px;
    color: #333;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card ul li {
    margin-bottom: 8px;
    color: #555;
}

.card p {
    font-size: 0.9rem;
    margin: 10px 0;
    color: #555;
}



.main-display {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 20px;
  
}

.main-display img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 768px){
  .main-display img{
    
    max-width: 400px;
  }
}

.thumbnail-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail-row img {
  width: 120px;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: 0.2s;
}

@media (max-width: 768px){
  .thumbnail-row img{
    
    max-width: 80px;
  }
}


.thumbnail-row img.active {
  border-color: #000000;
}

.square-background {
  position: relative;
    left: 50%;
    width: 99.6vw;             /* Full viewport width */
    margin-left: -50vw;       /* Pull it back so it aligns with page center */
    background-color: #1e1e1e;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;  /* Adjust square size */
    padding: 40px 0;            /* Space above and below content */
    
}

.userflow-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 60px;
    margin-top: 10%;
    margin-bottom: 20%;
    max-width: 1000px;   /* Your existing container width */
    margin: 0 auto;      /* Keep content centered */
 
  }

@media (max-width: 768px){
  .userflow-container{
     display: flex;
    display: flex;
    flex-direction: column-reverse;
    
    gap: 60px;
    margin-top: 10%;
    margin-bottom: 20%;
    max-width: 1000px;   /* Your existing container width */
    margin: 0 auto;      /* Keep content centered */
  }
}

.userflow-text {
    max-width: 400px;
}





.userflow-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;

    
  }

.square-background1 {
  position: relative;
    left: 50%;
    width: 99.6vw;             /* Full viewport width */
    margin-left: -50vw;       /* Pull it back so it aligns with page center */
    background-color: #1e1e1e;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent),
        linear-gradient(135deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;  /* Adjust square size */
    padding: 40px 0;            /* Space above and below content */
    
}


.Question1{
 
  max-width: 1000px;   /* Your existing container width */
    margin: 0 auto;      /* Keep content centered */
    padding: 0 20px;     /* Side padding */
    text-align: left;
    font-size: 24px;
    color: #ffffff;
}


.descirption1{
 
  max-width: 1000px;   /* Your existing container width */
    margin: 0 auto;      /* Keep content centered */
    padding: 0 20px;     /* Side padding */
    text-align: left;
    font-size: 16px;
    color: #ffffff;
}

.light{
  color: #636363;
  font-weight: normal;
  font-family: Helvetica;
  text-align: left;
 
}

.square{
  color: #000;
  font-weight: bolder;
 

}