/* Hero Slider */
    #hero-slider {
      border-radius: 25px;
      position: relative;
      box-shadow: 10px 11px 9.9px rgba(0, 0, 0, 0.25);
    }

    #slider-parent{
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 4px;
      overflow: hidden;
      border-radius: 22px;
    }

    .hero-slide {
      position: relative;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      will-change: transform, opacity;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
    }
	
		.hero-inner{
			
			 padding: 0.75rem 2rem 1rem 2rem;
		}
	
	.hero-backdrop::before{
	 content: '';
	  position: absolute;
	  inset: 0;
	  z-index: 0;
	  background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.0) 0%,      /* Dark at top */
		rgba(0, 0, 0, 0.2) 15%,
		rgba(0, 0, 0, 0.4) 20%, 	
		rgba(0, 0, 0, 0.5) 50%,
		rgba(0, 0, 0, 0.2) 60%,	
		rgba(0, 0, 0, 0.0) 100%      
	  );
	  border:none;
	  transform-origin: center;
	  pointer-events: none;
	}
	
	.hero-slide::before {
	  content: '';
	  position: absolute;
	  inset: 0;
	  z-index: 0;
	}
	
	.hero-backdrop img{
		border:0px rgba(0,0,0,0);
		
	}
	
	#hero-slider .category-badge{
		background:rgba(0,0,0,0.3);
		padding:2px 6px 2px 6px;
		border-width:3px;
		
		
	}
    
	    /* Buttons */
    .yellow-gradient-btn {
      background: linear-gradient(180deg, #FFBE28 0%, #FF7C00 100%);
    }
  
    .gray-gradient {
      background: linear-gradient(180deg, #525252 0%, #525252 100%);
    }

    /* Bottom bar */
    .hero-bottom-bar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 25%;
      background: linear-gradient(to top, rgba(25, 24, 33, 0.9) 30%, rgba(25, 24, 33, 0.27) 90%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 0 0 22px 22px;
      z-index: 10;
      padding: 1rem 0;
      overflow: hidden;
    }

    /* Menu item container */
    .menu-item-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      position: relative;
      padding: 0.5rem 0.25rem;
      width: 66px;
      flex-shrink: 0;
      transition: transform 0.2s;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
      touch-action: pan-x pan-y;
      box-sizing: border-box;
    }

    .menu-item-container:hover {
      transform: translateY(-2px);
    }

    .menu-icon-box {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      transition: all 0.3s;
    }

    .menu-label {
      font-size: 0.75rem;
      font-weight: 600;
      text-align: center;
      color: #d1d5db;
      transition: color 0.3s;
      line-height: 1.2;
      
    }
    .menu-item-container.active 
    {
        text-decoration: none;
    }

	.menu-item-container i{
		color:#000;
	}
    .menu-item-container.active .menu-label {
      color: #fbbf24;
    }

    /* Progress bar below each icon */
    .progress-bar-container {
      width: 100%;
      height: 3px;
      background: rgba(63, 63, 70, 0.5);
      border-radius: 9999px;
      overflow: hidden;
      position: relative;
    }

    .progress-bar {
      height: 100%;
      background: #ca8a04;
      border-radius: 9999px;
      width: 0%;
      transform: scaleX(0);
      transform-origin: left;
      transition: none;
    }
	
    /* Active progress bar: Fill from left to right over 4 seconds */
    .menu-item-container.active .progress-bar {
      transform: scaleX(1);
      transform-origin: left;
      animation: progressFill .5s linear forwards;
	  width: 100%;
    }

  
    @keyframes progressFill {
      0% {
        transform: scaleX(0);
      }
      100% {
        transform: scaleX(1);
      }
    }

 

    /* Hero slide clickable */
    .heroSwiper .swiper-slide {
      cursor: pointer;
    }

    /* Swiper customization */
    .swiper {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      /* Ensure main container is a block context, not flex */
      display: block; 
      overflow: hidden;
      /* Fix tailwind conflict */
      box-sizing: border-box; 
    }

    .swiper-wrapper {
     position: relative;
      width: 100%;
      height: 100%;
      z-index: 1;
      display: flex;
      transition-property: transform;
      box-sizing: content-box;
    }
    
	.menuSwiper .swiper-wrapper.centered {
      justify-content: center;
    }
    
    .menuSwiper .swiper-wrapper.scrollable {
      justify-content: center;
    }

    .swiper-slide {
      flex-shrink: 0;
      width: 100%;
      height: 100%;
      position: relative;
      transition-property: transform;
      display: block;
    }
    
	  /* 1. HERO SWIPER SPECIFIC STYLES (Full Width) */
    .heroSwiper {
      /* Explicitly set z-index to handle stacking */
      z-index: 0; 
    }

    /* Hero Swiper specific styles - full width slides */
    .heroSwiper .swiper-slide {
      /* NUCLEAR OPTION: Force 100% width regardless of screen size */
      width: 100% !important;
      min-width: 100% !important; 
      max-width: 100% !important;
      
      /* Disable shrinking/growing */
      flex: 0 0 100% !important;
      
      /* Ensure no margins create offsets */
      margin: 0 !important;
      padding: 0 !important;
      
      /* Ensure content is centered */
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
	  /* Ensure the inner image container fills the slide */
    .heroSwiper .hero-slide {
       width: 100%;
       height: 100%;
    }
	
    .heroSwiper .swiper-wrapper {
      height: 100%;
      display: flex;
    }
    
    .heroSwiper {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

   /* 2. MENU SWIPER SPECIFIC STYLES (Auto Width) */
   
       /* Ensure swiper fills full width and contains content */
    .menuSwiper {
      padding: 0 1rem;
    }
	
   
    .menuSwiper .swiper-slide {
   
      width: auto !important;
      min-width: 0 !important;
      flex: 0 0 auto !important;
      display: flex;
      justify-content: center;
    }
	
	.hero-read-btn, .article-date {
		 position:absolute;
	}
	
	 
		#hero-slider{
			height: 450px;
		}

		.hero-read-btn {
			left: 50%;
			top: 260px;
			transform:translate(-50%, -50%);
			
		}

    @media (max-width: 640px) {
      .menuSwiper {
        padding: 0 0.5rem;
      }
	  
 
    }

    /* Responsive font sizes */
    @media (max-width: 1024px) {
      .menu-label {
        font-size: 0.7rem;
      }
      .menu-icon-box {
        width: 32px;
        height: 32px;
      }
       .menu-item-container {
        width: 56px;
      }
    }

    @media (max-width: 768px) {
      .menu-label {
		display:none;
        font-size: 0.65rem;
      }
      .menu-icon-box {
        width: 28px;
        height: 28px;
      }
      .menu-item-container {
        width: 52px;
        padding: 0.25rem 0.15rem;
      }
      .hero-bottom-bar {
        height: 20%;
        padding: 0.5rem 0;
      }

	   .menuSwiper .swiper-wrapper.scrollable {
		  justify-content: start;
		}
	
    }

    @media (max-width: 640px) {
      .menu-label {
        font-size: 0.6rem;
      }
      .menu-icon-box {
        width: 26px;
        height: 26px;
      }
      .menu-item-container {
        width: 56px;
        padding: 0.25rem 0.1rem;
      }
    }

    @media (max-width: 480px) {
      .menu-label {
        font-size: 0.55rem;
      }
      .menu-icon-box {
        width: 24px;
        height: 24px;
      }
      .menu-item-container {
        width: 50px;
        gap: 0.35rem;
        padding: 0.25rem 0.05rem;
      }
	  
	  .hero-slide h2{
			-webkit-line-clamp: 2;
			
		}
		
    }
	

  
    @media (max-width: 767px) {
		
		
      .menuSwiper {
        padding: 0 0.75rem;
      }
	
	
		#hero-slider{
		 height: 320px;
		 border-radius: 8px;
		}
		
		#slider-parent{
		 border-radius: 6px;
		}
		
		.hero-bottom-bar{
		 border-radius: 0 0 6px 6px;
		}
		
		#hero-slider h2{
		 margin-top : 0px
		}
		

		.hero-read-btn {
			top: 200px;
			
		}

	 
	
					 
		.hero-read-btn, .article-date  {
			 position:absolute;
			 z-index: 100;
		}
		
		.article-date {
			right: 30px;
			top: 28px;
		}
    }
	
	