@media (max-width: 1024px) {
    .main-layout {
      display: flex;
      flex-direction: column;
      height: 100vh;
      overflow: hidden;
    }
  
    .left-column,
    .right-column {
      display: none;
    }
  
    .center-column {
      flex: 1;
      height: 100vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
      padding: 20px;
    }
  
    .column-inner {
      min-height: 100%;
    }
  }
  
  .hero {
    width: 100%;
    height: 60vh;
    max-height: 500px;
    overflow: hidden;
    position: relative;
  }
  
  .hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
  }
  
  .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    border-radius: 5px;
    z-index: 2;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1024px) {
    .hero {
      height: 45vh;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      height: 250px;
    }
  
    .slide-content {
      bottom: 10px;
      left: 10px;
      padding: 0.75rem;
    }
  
    .slide-content h2 {
      font-size: 1rem;
    }
  
    .slide-content p {
      font-size: 0.8rem;
    }
  }
  

  .hero-slider .slide:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
  }
  
  .nav-item {
  position: relative;
}

.nav-link[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: red;
  padding: 4px 8px;
  border: 1px solid red;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
}

.desktop-nav li {
  position: relative;
}

.nav-link[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -30px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: red;
  padding: 4px 8px;
  border: 1px solid red;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
}

/* Base setup for both desktop and mobile nav */
.nav-item,
.desktop-nav li {
  position: relative;
}

.nav-link[title]::after {
  content: attr(title);
  position: absolute;
  background-color: #240505;
  color: red;
  padding: 4px 8px;
  border: 1px solid red;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  top: 100%; /* tooltip appears below by default */
  left: 50%;
  transform: translateX(-50%);
}

/* Show tooltip on hover */
.nav-link[title]:hover::after {
  opacity: 1;
}

/* Optional: adjust tooltip position on very small screens */
@media (max-width: 480px) {
  .nav-link[title]::after {
    font-size: 11px;
    top: auto;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    text-align: center;
  }
}
