
    * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background-color: #f8f8f8;
    }



    .hero-container {
      min-height: 89vh; /* Better on mobile than 100vh */
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }


        /* For tablets and medium devices */
@media (max-width: 1024px) {
    .hero-container {
        min-height: 80vh;
    }
}

/* For small tablets and large phones */
@media (max-width: 768px) {
    .hero-container {
        min-height: 70vh;
    }
}

/* For smaller phones */
@media (max-width: 480px) {
    .hero-container {
        min-height: 60vh;
    }
}
        
        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            background-image: url("/images/portfolio\ section.jpg"); /* Replace with your actual image path */
            background-size: cover;
            background-position: center;
        }
        
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5); /* Optional overlay for better text readability */
            z-index: 2;
        }
        
        .hero-text {
            z-index: 3;
            position: relative;
            padding: 0 2rem;
            color: #f8f8f8;
        }
        
        .hero-text h1 {
            font-size: 3rem;
            color: #f8f8f8;
            font-weight: 400;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .hero-text h2 {
            font-size: 2.5rem;
            font-weight: 400;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .red-text {
            color: #ff0000;
        }
        
        @media (max-width: 768px) {
            .hero-text h1 {
                font-size: 2rem;
            }
            
            .hero-text h2 {
                font-size: 1.6rem;
            }
        }


    .buttons {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;

  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.buttons button {
  padding: 10px 20px;
  border: 2px solid black;
  cursor: pointer;
  background-color: white;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase; /* Uppercase text */
}

.buttons button:hover {
  background-color: red;
  color: white;
  border-color: red;
}

.buttons button.active {
  background-color: black;
  color: white;
  border-color: black;
}

/* Mobile responsive: stack vertically and full width */
@media (max-width: 480px) {
  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .buttons button {
    width: 80%;
    text-align: center;
  }
}


    .background-wrapper {
      background-image: url('/images/minimal background.webp');
     
      background-position: center;
      padding: 40px 20px;
      position: relative;
    }

    .background-wrapper::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    #imageContainer {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .image-wrapper {
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s;
      background: white;
      opacity: 1;
      transform: translateY(0);
    }

    .image-wrapper:hover {
      transform: scale(1.03);
    }

    .image {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
    }

    .hidden {
      display: none !important;
    }

    .jigsaw-effect {
      opacity: 0;
      transform: scale(0.8) rotate(3deg) translateY(30px);
      animation: jigsawIn 0.4s ease forwards;
    }

    @keyframes jigsawIn {
      to {
        opacity: 1;
        transform: scale(1) rotate(0) translateY(0);
      }
    }

    @media (max-width: 1024px) {
      #imageContainer {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      #imageContainer {
        grid-template-columns: 1fr;
        padding: 0 10px;
      }

      .image-wrapper {
        max-width: 320px;
        margin: 0 auto;
      }

      .image {
        border-radius: 6px;
      }

      .buttons {
        padding: 15px;
        gap: 8px;
      }

      .buttons button {
        padding: 8px 12px;
        font-size: 14px;
      }
    }
