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

/* Header Section */
.header {
  position: relative;
  background: url("../assets/images/vstore-vertical-operating-system.jpg")
    no-repeat center center/cover;
  height: 200px;
  color: white;
 
  
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 50px;
}

.overlay h1,
.overlay p {
  color: white;
  margin: 0;
}



.container-sectors {
  width: 80%;
  margin: auto;
  /* padding: 2rem 0; */
  padding: 40px 20px;
}


/* Sector Items */
.sector-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

}

/* Sector Row */
.sector-row {
  
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}


.item {

    width: 250px;  /* Ensure all items have the same width */
    height: 200px; /* Ensure consistent height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

  
  position: relative;

  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.3s ease-in-out;
 
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item:hover img {
  transform: scale(1.1);
}

.item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.item:hover .overlay {
  opacity: 1;
}
.item h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.item:hover h3 {
  opacity: 1;
}

.item p {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Typography */
h1 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
}

p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}




@media (max-width: 768px) {
  .header {
    height: 180px;
    padding-left: 20px;
  }
  .overlay {
    padding-left: 20px;
  }
}
