body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-image: url('Image/Full-bg.jpg'); /* Replace with your image path */
  background-size: cover; /* Ensures the image covers the entire background */
  background-position: center; /* Centers the image */
  background-attachment: fixed; /* Keeps the image fixed while scrolling */
  background-repeat: no-repeat; /* Prevents the image from repeating */
}

.menu-icon {
  cursor: pointer; /* Change cursor to pointer to indicate clickable */
  padding: 10px; /* Add some padding */
}


/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 10px 20px;
  height: 70px;
  position: relative;
}

.menu-icon i, .user-icon i {
  font-size: 1.5rem;
  color: white;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  height: 40px;
  object-fit: contain;
}

/* Image Grid Layout */
.image-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Default to one column for mobile */
  gap: 10px; /* Space between boxes */
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Updated Image Box Style */
.image-box {
  background-color: rgba(255, 255, 255, 0.35); /* 35% cream color */
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  padding: 0; /* Remove padding from the box */
  transition: transform 0.3s ease;
  display: flex; /* Flexbox to align content side by side */
  overflow: hidden;
  width: 350px; /* Width of the box */
  height: 200px; /* Height of the box */
  position: relative; /* Position relative to allow absolute positioning of child elements */
}

/* Add the invisible slash */
.image-box::after {
  content: ''; /* Empty content for the pseudo-element */
  position: absolute; /* Position it absolutely within the image box */
  top: 0; /* Align to the top */
  right: 0; /* Align to the right */
  width: 1px; /* Width of the slash */
  height: 100%; /* Full height of the box */
  background: rgba(0, 0, 0, 0); /* Fully transparent background */
  z-index: 0; /* Make sure it sits behind the text and image */
  transform: rotate(180deg); /* Rotate the slash 180 degrees */
}

/* Text Content */
.text-content {
  position: absolute; /* Position the text absolutely */
  left: 5px; /* Position from the left */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust vertical alignment */
  width: auto; /* Allow the width to adjust based on content */
  white-space: nowrap; /* Prevent text wrapping */
  color: #febd14;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 1; /* Ensure the text appears above the image */
}

/* Image Content */
.image-content {
  right: -20%;
  width: 90%; /* Adjust % of the box width for the image */
  height: 100%; /* Full height */
  overflow: hidden;
  position: relative; /* Position relative for inner content */
  padding: 0; /* Remove padding */
}

/* Parallelogram effect for the image */
.image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Remove border-radius to have full edge */
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%); /* Create the parallelogram shape */
  mask-image: linear-gradient(to left, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0)); /* For Safari */
  filter: blur(0.3px); /* Apply blur to the image */
  transition: transform 0.3s ease; /* Keeps the hover effect */
  position: relative; /* Ensure it stacks correctly with the text */
  z-index: 0; /* Ensure it appears below the text */
}

/* Hover Effect */
.image-box:hover {
  transform: scale(1.05);
}

a {
  text-decoration: none; /* Removes underline from all links */
}

/* Media Queries for Responsiveness */
@media (min-width: 600px) {
  /* For tablets and medium-sized screens */
  .image-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns */
  }
}

@media (min-width: 900px) {
  /* For desktops and large screens */
  .image-container {
    grid-template-columns: repeat(3, 1fr); /* Three columns */
  }
}
