﻿ * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 html {
   overflow-x: hidden;
 }

 body {
   font-family: Arial, sans-serif;
   background: #ebf5ff;
   padding: 0;
   min-width: 320px;
   width: 100%;
   margin: 0;
   overflow-x: hidden;
 }

 /* ======= HEADER ========*/
 .header {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 12px;
   padding: 8px 10px;
   border-bottom: 1px solid #ddd;
   background: #fff;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 100;
   width: 100%;
   box-sizing: border-box;
 }

 .menu {
   font-size: 28px;
   cursor: pointer;
   color: #333;
 }

 .logo img {
   width: 99px;
   height: auto;
 }

 /* Search Bar */
 .search-bar {
   position: relative;
   margin-left: 0;
   flex: 1 1 0%;
 }

 .search-bar input {
   width: 100%;
   padding: 8px 12px 8px 35px;
   border: 2px solid #ddd;
   border-radius: 10px;
   font-size: 16px;
   background-color: #fff;
   color: black;
   box-shadow: 0 2px 8px rgba(40, 116, 240, 0.10), 0 1.5px 4px rgba(0, 0, 0, 0.08);
   max-width: 100%;
 }

 .search-bar input:focus {
   border-color: #2874f0;
   outline: none;
   box-shadow: 0 0 6px rgba(40, 116, 240, 0.5);
 }

 .search-bar input::placeholder {
   color: gray;
   font-size: 15px;
 }

 .search-bar i {
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   color: #2874f0;
   font-size: 18px;
   cursor: pointer;
   z-index: 2;
 }

 /* Sidebar */
 .sidebar {
   position: fixed;
   top: 0;
   left: -260px;
   width: 260px;
   height: 100%;
   background: linear-gradient(145deg, #ffffff, #f0f4ff);
   transition: left 0.3s ease, box-shadow 0.3s ease;
   z-index: 1000;
   overflow-y: auto;
   border-top-right-radius: 15px;
   border-bottom-right-radius: 15px;
   transform-style: preserve-3d;
 }

 .sidebar.active {
   left: 0;
  /* box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5); */
 }

 .sidebar-header {
   background: linear-gradient(145deg, #1e4ed8, #2563eb);
   color: #fff;
   padding: 10px;
   font-size: 14px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-bottom: 2px solid #1c40bf;
 }

 .sidebar-header .back-btn {
   font-size: 12px;
   cursor: pointer;
   color: #fff;
   background: linear-gradient(145deg, #3b82f6, #1e40af);
   padding: 8px 10px;
   border-radius: 50%;
   box-shadow: 0 6px 0 #1e40af, 0 6px 12px rgba(0, 0, 0, 0.3);
   transition: all 0.2s ease-in-out;
 }

 .sidebar-header .back-btn:hover {
   transform: scale(1.1) translateY(-2px);
 }

 .sidebar ul li {
   padding: 14px 20px;
   border-bottom: 1px solid #eee;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 16px;
   font-weight: 600;
   color: #1e40af;
   transition: background 0.2s, transform 0.2s;
 }

 .sidebar ul li:hover {
   background: linear-gradient(145deg, #f0f4ff, #dbe6ff);
   transform: translateX(5px);
 }

 .sidebar ul li i {
   font-size: 18px;
   color: #2563eb;
 }

 /* Overlay */
 .overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.4);
   display: none;
   z-index: 500;
 }

 .overlay.active {
   display: block;
 }

/* Language Modal - use compact panel by default (applies to desktop & mobile)
   This prevents covering the whole screen on laptop and mobile while
   keeping internal scroll for long language lists. */
.language-modal {
  position: fixed;
  top: 60px; /* align below header */
  right: 10px;
  left: auto;
  width: 320px;
  max-width: calc(100% - 20px);
  height: auto;
  max-height: 90vh;
  background: #fff;
  z-index: 100001;
  display: none;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  overflow: hidden;
  overflow-y: auto;
}

/* Make modal compact and centered on smaller screens (mobile) */
@media (max-width: 767px) {
  .language-modal {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 420px;
    top: 70px;
    border-radius: 12px;
    max-height: 85vh;
  }
}

/* Language overlay (covers page when language chooser open) */
.language-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 1999;
  display: none;
}
.language-overlay.active {
  display: block;
}

/* On larger screens show language modal as a compact panel instead of full-screen */
@media (min-width: 768px) {
  .language-modal {
    width: 320px;
    height: auto;
    top: 60px; /* align under header */
    right: 10px;
    left: auto;
    border-radius: 10px;
    background: #fff;
    z-index: 100001; /* above dropdown */
    display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    max-height: auto;
    overflow: hidden;
    overflow-y: auto;
    flex-direction: column;
  }

  .language-modal.active {
    display: flex;
  }

  .language-modal .language-list {
    max-height: calc(80vh - 120px);
    overflow-y: auto;
  }

  /* show overlay when active on larger screens too so clicking outside closes it */
  .language-overlay.active {
    display: block;
  }
}

 .language-modal.active {
   display: flex;
 }

 .language-header {
   background: linear-gradient(145deg, #1e4ed8, #2563eb);
   color: #fff;
   font-size: 15px;
   font-weight: 700;
   padding: 10px;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .language-list {
   list-style: none;
   margin: 0;
   padding: 0;
   flex: 1;
   overflow-y: auto;
 }

 .language-list li {
   padding: 10px;
   border-bottom: 1px solid #eee;
   font-size: 14px;
   display: flex;
   align-items: center;
   gap: 10px;
   font-weight: 600;
   color: #1e40af;
   cursor: pointer;
 }

 .continue-btn {
   background: linear-gradient(145deg, #1e4ed8, #3b82f6);
   border: none;
   color: #fff;
   font-size: 15px;
   padding: 10px;
   width: 100%;
   border-radius: 8px;
   font-weight: 700;
   cursor: pointer;
 }

 .header-links {
   display: none;
   gap: 15px;
   align-items: center;
   font-size: 16px;
 }

 .header-links a {
   text-decoration: none;
   color: black;
   display: flex;
   align-items: center;
   gap: 5px;
 }

 /* ===== Three-dot Dropdown ===== */
 .more-menu {
   position: relative;
   display: none;
   cursor: pointer;
   z-index: 10000;
 }

 .more-menu i {
   font-size: 22px;
   color: #333;
   padding: 6px 10px;
   border-radius: 50%;
   transition: background 0.2s ease;
 }

 .more-menu i:hover {
   background: rgba(0, 0, 0, 0.08);
 }

 .dropdown-menu {
   position: fixed;
   top: 60px;
   right: 10px;
   width: 230px;
   background: #fff;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
   border-radius: 10px;
   overflow: hidden;
   display: none;
   z-index: 99999;
   animation: fadeIn 0.2s ease;
 }

 .dropdown-menu ul {
   list-style: none;
   margin: 0;
   padding: 0;
 }

 .dropdown-menu ul li {
   padding: 6px 15px;
   font-size: 15px;
   color: #1e40af;
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 10px;
   transition: background 0.2s;
 }

 .dropdown-menu ul li:hover {
   background: #f3f6ff;
   cursor: pointer;
 }

 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: translateY(-10px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 /* ===== Responsive Header ===== */
 @media (max-width: 767px) {
   body {
     margin-top: 90px;
   }

   .header {
     padding: 8px 10px;
     gap: 2;
     flex-wrap: wrap;
     justify-content: space-between;
     flex-direction: column;
   }

   .header-row-1 {
     display: flex;
     width: 100%;
     justify-content: space-between;
     align-items: center;
   }
   
   .menu {
     order: 2;
     font-size: 23px;
   }

   .logo img {
     width: 80px;
     flex-shrink: 0;
   }

   .search-bar.desktop-search {
     display: none;
   }

   .search-bar.mobile-search {
     display: block;
     width: 100%;
     margin: 0;
     padding: 0;
     position: relative;
     order: 2;
   }

   .search-bar.mobile-search input {
     width: 100%;
     padding: 8px 12px 10px 35px;
     font-size: 14px;
     height: 36px;
     box-sizing: border-box;
     border: 1px solid #ddd;
     border-radius: 8px;
   }

   .search-bar.mobile-search input::placeholder {
     font-size: 11px;
   }

   .search-bar.mobile-search i {
     left: 8px;
     font-size: 14px;
   }

   .header-links {
     display: none;
   }

   .mobile-header-icons {
     display: flex;
     gap: 8px;
     align-items: center;
   }

   .mobile-header-icons a {
     text-decoration: none;
     color: #333;
     font-size: 14px;
     padding: 4px;
     border-radius: 50%;
     transition: background 0.2s ease;
   }

   .mobile-header-icons a:hover {
     background: rgba(0, 0, 0, 0.1);
   }
 }

 @media (min-width: 768px) {
   .menu {
     display: none;
   }

   .search-bar.mobile-search {
     display: none;
   }

   .mobile-header-icons {
     display: none;
   }

   .header {
     padding: 8px 15px;
     gap: 15px;
     justify-content: space-between;
   }

   .logo img {
     width: 120px;
   }

   .search-bar.desktop-search {
     display: block;
     flex: 1;
     max-width: 500px;
     margin: 0 20px;
   }

   .search-bar.mobile-search {
     display: none;
   }

   .header-links {
     display: flex;
     white-space: nowrap;
     gap: 15px;
   }

   .more-menu {
     display: block;
   }
 }

 /* Improved search bar responsiveness */
 @media (min-width: 480px) and (max-width: 767px) {
   .search-bar.mobile-search {
     width: 95%;
   }
 }

 @media (min-width: 768px) and (max-width: 1024px) {
   .header-links a {
     font-size: 14px;
     gap: 3px;
   }
 }

 /* =====First Section=== */
 .carousel-wrapper {
   border-radius: 0;
   margin: 0;
   position: relative;
   display: flex;
   align-items: center;
   background: transparent;
   padding: 15px 10px;
   width: 100%;
   overflow: hidden;
 }

 .carousel-img {
   padding: 10px;
   background-color: #ADD8E6;
 }

 .categories {
   margin-top: 15px;
   border-radius: 11px;
   border: 1px solid blue;
   display: flex;
   gap: 8px;
   background-color: white;
   overflow-x: auto;
   scroll-behavior: smooth;
   flex-wrap: nowrap;
   width: 100%;
   min-height: 110px;
   padding: 5px;
 }

 .categories::-webkit-scrollbar {
   display: none;
   /* Hide scrollbar */
 }

 .categories a {
   flex: 0 0 auto;
   /* Keep items fixed size */
   text-align: center;
 }

 .categories div {
   border-radius: 12px;
   text-align: center;
   font-size: 14px;
   margin: 5px;
 }

 .categories img {
   width: 68px;
   height: 73px;
   border-radius: 9px;
   object-fit: cover;
 }

 .categories p {
   font-size: 11px;
   margin-top: 6px;
   font-weight: 600;
   color: black;
 }

 /* Responsive carousel images */
 @media (max-width: 480px) {
   .carousel-wrapper {
     margin: 0;
     width: 100%;
     padding: 10px 8px;
   }

   .categories {
     min-height: 95px;
     padding: 8px;
     gap: 6px;
   }

   .categories img {
     width: 50px;
     height: 55px;
   }
   
   .categories p {
     font-size: 9px;
     margin-top: 4px;
   }

   .carousel-img {
     padding: 6px;
   }
 }

 @media (min-width: 481px) and (max-width: 768px) {
   .carousel-wrapper {
     margin: 0;
     width: 100%;
     padding: 12px 10px;
   }

   .categories {
     min-height: 105px;
     gap: 8px;
   }

   .categories img {
     width: 60px;
     height: 65px;
   }

   .categories p {
     font-size: 10px;
   }
 }

 @media (min-width: 1200px) {
   .categories img {
     width: 80px;
     height: 85px;
   }
   
   .categories p {
     font-size: 12px;
   }
 }

 .carousel-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.5);
   color: #fff;
   border: 2px solid #fff;
   /* white border */
   font-weight: bold;
   padding: 6px 10px;
   /* smaller padding â†’ smaller circle */
   cursor: pointer;
   border-radius: 50%;
   font-size: 16px;
   /* smaller arrow */
   z-index: 10;

   /* 3D liquid look */
   box-shadow:
     inset 2px 2px 4px rgba(255, 255, 255, 0.5),
     inset -2px -2px 4px rgba(0, 0, 0, 0.3),
     0 3px 6px rgba(0, 0, 0, 0.4);
   transition: all 0.25s ease-in-out;
 }

 .carousel-btn.left {
   left: 5px;
 }

 .carousel-btn.right {
   right: 5px;
 }

 .carousel-btn:hover {
   background: rgba(0, 0, 0, 0.6);
   box-shadow:
     inset 2px 2px 6px rgba(255, 255, 255, 0.6),
     inset -2px -2px 6px rgba(0, 0, 0, 0.4),
     0 4px 10px rgba(0, 0, 0, 0.5);
 }

 .carousel-btn:active {
   transform: translateY(-50%) scale(0.9);
   /* Press effect */
   background: linear-gradient(145deg, #0d47a1, #2196f3);
   box-shadow:
     inset 3px 3px 8px rgba(0, 0, 0, 0.5),
     inset -3px -3px 6px rgba(255, 255, 255, 0.4);
 }


 .search-box img {
   width: 70px;
   height: 80px;
 }

 .categories a,
 .share-modal a,
 .nav-links a {
   text-decoration: none !important;
 }

 /* ====Second Section=== */
 .carousel-slide {
   margin: 0;
   position: relative;
   width: 100%;
   height: 400px;
   overflow: hidden;
   border-radius: 0;
   background: #fff;
   box-shadow: 0 15px 40px rgba(0, 85, 179, 0.2);
   max-width: none;
 }

 .slides {
   display: flex;
   transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
 }

 .slide {
   display: flex;
   align-items: center;
   justify-content: space-between;
   min-width: 100%;
   padding: 20px;
   padding-top:4rem;
   height: 100%;
   box-sizing: border-box;
   background: linear-gradient(145deg, #ffffff, #f0f6ff);
 }

/* Video slide styles: only affects slides with class .video-slide */
.slide.video-slide {
  position: relative;
  overflow: hidden;
  background: transparent; /* video provides background */
}
.slide.video-slide .image {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  display: block;
  margin-top: 0;
  z-index: 0;
}
.slide.video-slide .image .carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover whole carousel area */
  display: block;
  background: transparent;
}
.slide.video-slide .text {
  position: relative;
  z-index: 2;
  color: #fff; /* ensure text is visible over video */
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.slide.video-slide::before {
  /* subtle dark overlay for readability */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.15));
  z-index: 1;
  pointer-events: none;
}

 .slide .text {
   margin: 0;
   padding: 20px 30px;
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
   height: 100%;
   box-sizing: border-box;
   animation: fadeInLeft 1.2s ease;
 }

 .slide .text p {
   font-size: 1.1rem;
   margin-bottom: 12px;
   color: #444;
   font-weight: bolder;
 }

 .slide .text h1 {
   font-size: 2.8rem;
   margin-bottom: 20px;
   color: #003d99;
 }

 /* Next Button Styles */
 .next-btn {
   background: linear-gradient(135deg, #667eea 0%, #1e90ff 50%, #4169e1 100%);
   color: white;
   border: none;
   padding: clamp(12px, 2.5vw, 15px) clamp(25px, 4vw, 35px);
   border-radius: 30px;
   font-size: clamp(13px, 2.5vw, 15px);
   font-weight: 700;
   cursor: pointer;
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   display: flex;
   align-items: center;
   position: relative;
   overflow: hidden;
   box-shadow: 
     0 10px 25px rgba(102, 126, 234, 0.4),
     0 5px 15px rgba(118, 75, 162, 0.3);
   white-space: nowrap;
   /* text-transform: uppercase; */
   letter-spacing: 1px;
   backdrop-filter: blur(10px);
   margin-top: 10px;
   align-self: flex-start;
 }

 /* Shimmer Effect */
 .next-btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
   transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
 }

 /* Hover Effects */
 .next-btn:hover {
   transform: translateY(-3px) scale(1.05);
   box-shadow: 
     0 15px 35px rgba(102, 126, 234, 0.5),
     0 8px 20px rgba(118, 75, 162, 0.4);
 }

 .next-btn:hover::before {
   left: 100%;
 }

 /* Active State */
 .next-btn:active {
   transform: translateY(-1px) scale(1.02);
 }

 /* Loading Animation */
 .next-btn.loading {
   position: relative;
   pointer-events: none;
 }

 .next-btn.loading::after {
   content: '';
   position: absolute;
   width: 20px;
   height: 20px;
   margin: auto;
   border: 2px solid transparent;
   border-top-color: white;
   border-radius: 50%;
   animation: spin 1s linear infinite;
 }

 @keyframes spin {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
 }

 .slide .image {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100%;
   margin-top:50px;
   overflow: visible;
   animation: fadeInRight 1.2s ease;
 }

 .slide .image img {
   margin: 0;
   width: auto;
   max-width: 380px; /* match Handrails display width */
   height: 260px;    /* fixed display height so all images match visually */
   object-fit: contain; /* preserve aspect ratio inside the fixed box */
   filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
   transform-origin: center center;
   transform: perspective(600px) rotateY(4deg);
   transition: transform 0.5s ease;
 }

 .slide .image img:hover {
   transform: perspective(600px) rotateY(0deg) scale(1.05);
 }

 /* --- Dots --- */
 .dots {
   text-align: center;
   position: absolute;
   bottom: 25px;
   width: 100%;
   perspective: 800px;
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .dots span {
   display: inline-block;
   width: 8px;
   height: 8px;
   margin: 0 6px;
   border-radius: 50%;
   border: none;
   background: linear-gradient(145deg, #ffffff, #e0ebff);
   box-shadow:
     inset 1px 2px 3px rgba(255, 255, 255, 0.8),
     inset -2px -2px 4px rgba(0, 70, 180, 0.2),
     0 4px 10px rgba(0, 60, 130, 0.25);
   cursor: pointer;
   transition: all 0.3s ease;
   transform: translateZ(0);
 }

 .dots span:hover {
   transform: scale(1.3);
   background: linear-gradient(145deg, #e9f3ff, #d0e4ff);
   box-shadow:
     inset 0 2px 5px rgba(255, 255, 255, 0.7),
     0 6px 15px rgba(0, 85, 179, 0.4);
 }

 .dots span.active {
   background: radial-gradient(circle at center, #66aaff, #004aad);
   box-shadow:
     0 4px 12px rgba(0, 85, 179, 0.6),
     inset 0 -1px 3px rgba(0, 0, 0, 0.3);
   transform: scale(1.4);
   animation: pulseGlow 1.5s infinite ease-in-out;
 }

 @keyframes pulseGlow {
   0% {
     box-shadow: 0 0 8px rgba(0, 85, 179, 0.5), 0 5px 15px rgba(0, 85, 179, 0.4);
   }

   50% {
     box-shadow: 0 0 20px rgba(0, 85, 179, 0.9), 0 8px 25px rgba(0, 85, 179, 0.6);
   }

   100% {
     box-shadow: 0 0 8px rgba(0, 85, 179, 0.5), 0 5px 15px rgba(0, 85, 179, 0.4);
   }
 }

 /* Keyframes */
 @keyframes fadeInLeft {
   from {
     opacity: 0;
     transform: translateX(-30px);
   }

   to {
     opacity: 1;
     transform: translateX(0);
   }
 }

 @keyframes fadeInRight {
   from {
     opacity: 0;
     transform: translateX(30px);
   }

   to {
     opacity: 1;
     transform: translateX(0);
   }
 }

 @keyframes fadeInUp {
   from {
     opacity: 0;
     transform: translateY(30px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 /* ===== MOBILE VIEW ===== */
 @media (max-width: 480px) {
   .carousel-slide {
     height: 200px;
     margin: 0;
     margin-top: 5rem;
     width: 100%;
     border-radius: 0;
     padding-top: 1rem;
   }

   .slide {
     height: 100%;
     min-height: auto;
     flex-direction: row;
     text-align: left;
     padding: 10px 8px;
     display: flex;
     align-items: center;
     justify-content: space-between;
   }

   .slide .image {
     order: 1;
     margin: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     flex: 1;
     height: 100%;
     overflow: visible;
     animation: fadeInRight 1.2s ease;
   }

   .slide .image img {
     width: auto;
     max-width: 200px;
     height: 160px; /* smaller fixed box on very small screens */
     margin: 0;
     object-fit: contain;
     filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
     transform: perspective(600px) rotateY(5deg);
     transition: transform 0.5s ease;
   }

   .slide .text {
     order: 0;
     margin: 0;
     padding: 8px 12px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     text-align: left;
     flex: 1;
     height: 100%;
     box-sizing: border-box;
     animation: fadeInLeft 1.2s ease;
   }

   .slide .text h1 {
     font-size: 14px;
     font-weight: bolder;
     margin-bottom: 4px;
     color: #003d99;
     line-height: 1.1;
   }

   .slide .text p {
     font-size: 11px;
     margin-bottom: 6px;
     color: #444;
     font-weight: bolder;
     line-height: 1.2;
   }

   .next-btn {
     padding: 6px 8px;
     font-size: 7px;
     margin-top: 2px;
     align-self: flex-start;
     border-radius: 10px;
     line-height: 1;
     font-weight: 600;
     min-height: auto;
   }

   /* .dots {
     bottom: 10px;
   } */

   .dots span {
     width: 6px;
     height: 6px;
     margin: 0 4px;
   }
 }

 @media (min-width: 481px) and (max-width: 768px) {
   .carousel-slide {
     height: auto;
     margin: 0;
     width: 100%;
     border-radius: 0;
   }

   .slide {
     height: auto;
     min-height: 350px;
     flex-direction: row-reverse;
     text-align: center;
     padding: 25px 20px;
     padding-top:4rem;
     display: flex;
     align-items: start;
     justify-content: start;
   }

   .slide .text {
     order: 1;
     margin: 0;
     padding: 15px;
     display: flex;
     flex-direction: column;
     align-items: start;
     text-align: start;
     width: 100%;
   }

   .slide .text h1 {
     font-size: 20px;
     margin-bottom: 10px;
     text-align: start;
     color: #003d99;
     font-weight: bold;
   }

   .slide .text p {
     font-size: 14px;
     margin-bottom: 15px;
     text-align: start;
     color: #444;
     max-width: 80%;
   }

   .slide .image {
     order: 0;
     margin-bottom: 20px;
     margin-top:20px;
     display: flex;
     align-items: center;
     justify-content: center;
     width: 100%;
   }

   .slide .image img {
     width: auto;
     max-width: 250px;
     height: 200px; /* small desktop / tablet portrait box */
     transform: none;
     object-fit: contain;
   }

   .next-btn {
     padding: 8px 24px;
     align-self: start;
     margin-top: 10px;
   }

   .dots span {
     width: 8px;
     height: 8px;
   }
 }


 /* ===== TABLET VIEW ===== */
 @media (min-width: 769px) and (max-width: 1024px) {
   .slide {
     flex-direction: row;
     /* text left, image right */
     text-align: left;
     padding: 20px 30px;
     padding-top:1rem;
     min-width: 100%;
     box-sizing: border-box;
   }

   .slide .text {
     flex: 1;
     margin: 0;
     padding: 20px 25px;
     order: 0;
     display: flex;
     flex-direction: column;
     justify-content: center;
     height: 100%;
     box-sizing: border-box;
     animation: fadeInLeft 1.2s ease;
   }

   .slide .text h1 {
     font-size: 2.2rem;
   }

   .slide .text p {
     font-size: 1.1rem;
   }

   .slide .image {
     flex: 1;
     order: 1;
     text-align: right;
     margin: 0;
     animation: fadeInRight 1.2s ease;
   }

   .slide .image img {
     width: auto;
     max-width: 380px;
     height: 260px; /* tablet/large screens box to match Handrails */
     margin-right: 50px;
     margin-top: 50px;
     transform: perspective(600px) rotateY(8deg);
     object-fit: contain;
   }
 }

 /* ============third section==== */

 .container-box {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 20px;
   padding: 30px 15px 0 15px;
   perspective: 1200px;
   width: 100%;
   max-width: none;
   margin: 0;
   /* For subtle 3D lift effect */
   opacity: 0;
   transform: translateY(50px);
   transition: opacity 0.8s ease, transform 0.8s ease;
 }

 .container-box.animate {
   opacity: 1;
   transform: translateY(0);
 }

 /* Left & Right Boxes */
 .container-box-left,
 .container-box-right {
   background: #ffffff;
   border-radius: 16px;
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
   padding: 25px;
   transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
   width: 100%;
   opacity: 0;
   transform: translateX(-50px);
   cursor: pointer;
 }

 .container-box-left:hover,
 .container-box-right:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .container-box-right {
   transform: translateX(50px);
 }

 .container-box.animate .container-box-left {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.2s;
 }

 .container-box.animate .container-box-right {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.4s;
 }

 /* Left Grid */
 .container-box-left {
   flex: 3;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 6px 10px;
   min-width: 0;
 }

 /* Right Grid */
 .container-box-right {
   flex: 2;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 6px;
   min-width: 0;
 }

 /* Section Headings */
 .container-box-left h1,
 .container-box-right h1 {
   grid-column: 1 / -1;
   text-align: left;
   font-size: 14px;
   font-weight: 700;
   color: #111;
   /* margin-bottom: 25px; */
   letter-spacing: 1px;
   text-transform: uppercase;
   position: relative;
   opacity: 0;
   transform: translateY(-20px);
   transition: opacity 0.6s ease, transform 0.6s ease, color 0.3s ease;
 }

 .container-box-left:hover h1,
 .container-box-right:hover h1 {
   color: #004aad;
 }

 .container-box.animate .container-box-left h1 {
   opacity: 1;
   transform: translateY(0);
   transition-delay: 0.3s;
 }

 .container-box.animate .container-box-right h1 {
   opacity: 1;
   transform: translateY(0);
   transition-delay: 0.5s;
 }

 /* Decorative underline */
 .container-box-left h1::after,
 .container-box-right h1::after {
   content: "";
   display: block;
   width: 0;
   height: 4px;
   background: linear-gradient(90deg, #0077ff, #00c6ff);
   margin-top: 8px;
   border-radius: 2px;
   transition: width 0.8s ease;
 }

 .container-box.animate .container-box-left h1::after {
   width: 80px;
   transition-delay: 0.6s;
 }

 .container-box.animate .container-box-right h1::after {
   width: 80px;
   transition-delay: 0.8s;
 }

 /* Product Box */
 .box {
   background: linear-gradient(145deg, #ffffff, #f0f8ff);
   border-radius: 14px;
   border: 1px solid #eaeaea;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
   text-align: center;
   /* padding: 15px; */
   cursor: pointer;
   transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, opacity 0.5s ease;
   opacity: 0;
   transform: translateY(30px) scale(0.9);
 }

 .container-box.animate .box {
   opacity: 1;
   transform: translateY(0) scale(1);
 }

 .container-box.animate .box:nth-child(2) { transition-delay: 0.1s; }
 .container-box.animate .box:nth-child(3) { transition-delay: 0.2s; }
 .container-box.animate .box:nth-child(4) { transition-delay: 0.3s; }
 .container-box.animate .box:nth-child(5) { transition-delay: 0.4s; }
 .container-box.animate .box:nth-child(6) { transition-delay: 0.5s; }
 .container-box.animate .box:nth-child(7) { transition-delay: 0.6s; }

 /* Box Hover: 3D lift + glow */
 .box:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 /* Image inside Box */
 .box-img img {
   width: 100%;
   height: 160px;
   object-fit: contain;
   border-radius: 12px;
   transition: transform 0.4s ease, filter 0.4s ease;
 }

 /* Image Hover: zoom + brightness */
 /* .box:hover .box-img img {
   transform: scale(1.08);
   filter: brightness(1.05);
 } */

 /* Box Title */
 .box h2 {
   margin-top: 10px;
   margin-bottom: 10px;
   font-size: 16px;
   font-weight: 600;
   color: #222;
   transition: color 0.3s ease;
 }

 .box:hover h2 {
   color: #004aad;
 }

 /* Tablet & Small Laptops: 768px - 1200px */
 @media (max-width: 1200px) and (min-width: 769px) {
   .container-box {
     display: flex;
     flex-direction: row;
     /* Keep left & right side by side */
     align-items: flex-start;
     gap: 20px;
   }

   .container-box-left {
     flex: 3;
     grid-template-columns: repeat(3, 1fr);
     /* keep 3 columns */
   }

   .container-box-right {
     flex: 2;
     grid-template-columns: repeat(2, 1fr);
     /* keep 2 columns */
   }

   .container-box-left,
   .container-box-right {
     width: auto;
     /* adjust automatically */
   }
 }


 /* Responsive Third Section */
 @media (max-width: 480px) {
   .container-box {
     display: flex;
     flex-direction: column;
     gap: 20px;
     padding: 25px 5px 0 5px;
     width: 100%;
   }

   .container-box-left {
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
     width: 100%;
     flex: none;
   }

   .container-box-right {
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
     width: 100%;
     flex: none;
   }

   .container-box-left,
   .container-box-right {
     padding: 15px;
     margin: 0;
     border-radius: 12px;
   }

   .container-box-left h1,
   .container-box-right h1 {
     font-size: 14px;
     margin-bottom: 15px;
   }

   .box {
     min-height: 150px;
     padding: 10px;
   }

   .box h2 {
     font-size: 12px;
     margin-top: 8px;
   }

   .box-img img {
     height: 100px;
     width: 100%;
     object-fit: contain;
   }
 }

 @media (min-width: 481px) and (max-width: 768px) {
   .container-box {
     display: flex;
     flex-direction: row;
     align-items: flex-start;
     gap: 18px;
     padding: 30px 8px 0 8px;
   }

   .container-box-left {
     flex: 3;
     grid-template-columns: repeat(3, 1fr);
     gap: 10px;
   }

   .container-box-right {
     flex: 2;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
   }

   .container-box-left,
   .container-box-right {
     padding: 18px;
   }

   .box {
     min-height: 160px;
   }

   .box-img img {
     height: 120px;
   }

   .box h2 {
     font-size: 13px;
   }
 }

 @media (min-width: 769px) and (max-width: 1024px) {
   .container-box {
     gap: 20px;
     padding: 30px 15px 0 15px;
   }

   .container-box-left,
   .container-box-right {
     padding: 22px;
   }

   .carousel-slide {
     margin: 25px 0px;
     /* width: calc(100% - 30px); */
     width: 100%;
   }

   .box {
     min-height: 180px;
   }

   .box-img img {
     height: 140px;
   }
 }

 /* ======Forth section=== */

 .container {
   padding: 30px 15px 0 15px;
   display: grid;
   grid-template-columns: 2fr 2fr 1.5fr;
   gap: 20px;
   width: 100%;
   margin: 0;
   max-width: none;
   opacity: 0;
   transform: translateY(50px);
   transition: opacity 0.8s ease, transform 0.8s ease;
 }

 .container.animate {
   opacity: 1;
   transform: translateY(0);
 }

 .section {
   background: #fff;
   padding: 15px;
   border-radius: 8px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   width: 100%;
   min-width: 0;
   opacity: 0;
   transform: translateX(-50px);
   transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
   cursor: pointer;
 }

 .section:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .container.animate .section:nth-child(1) {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.2s;
 }

 .container.animate .section:nth-child(2) {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.4s;
 }

 .container.animate .section:nth-child(3) {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.6s;
   transform: translateX(-50px);
   transition: opacity 0.6s ease, transform 0.6s ease;
 }

 .container.animate .section:nth-child(1) {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.2s;
 }

 .container.animate .section:nth-child(2) {
   opacity: 1;
   transform: translateX(0);
   transition-delay: 0.4s;
 }

 .section h2 {
  font-weight: bold;
   font-size: 18px;
   margin: 0 0 10px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   opacity: 0;
   transform: translateY(-20px);
   transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
 }

 .section:hover h2 {
   color: #004aad;
 }

 .container.animate .section h2 {
   opacity: 1;
   transform: translateY(0);
   transition-delay: 0.3s;
 }

 .section h2 i {
   font-size: 16px;
   color: white;
   cursor: pointer;
 }

 .cards {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 12px;
   width: 100%;
 }

 .offer-card {
   background: white;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
   border: 1px solid #eaeaea;
   border-radius: 6px;
   text-align: center;
   padding: 10px;
   transition: 0.3s;
   cursor: pointer;
   opacity: 0;
   transform: translateY(30px) scale(0.9);
 }

 .container.animate .offer-card {
   opacity: 1;
   transform: translateY(0) scale(1);
   transition: opacity 0.5s ease, transform 0.5s ease;
 }

 .container.animate .section:nth-child(1) .cards .offer-card:nth-child(1) { transition-delay: 0.4s; }
 .container.animate .section:nth-child(1) .cards .offer-card:nth-child(2) { transition-delay: 0.5s; }
 .container.animate .section:nth-child(1) .cards .offer-card:nth-child(3) { transition-delay: 0.6s; }
 .container.animate .section:nth-child(1) .cards .offer-card:nth-child(4) { transition-delay: 0.7s; }
 .container.animate .section:nth-child(2) .cards .offer-card:nth-child(1) { transition-delay: 0.8s; }
 .container.animate .section:nth-child(2) .cards .offer-card:nth-child(2) { transition-delay: 0.9s; }
 .container.animate .section:nth-child(2) .cards .offer-card:nth-child(3) { transition-delay: 1.0s; }
 .container.animate .section:nth-child(2) .cards .offer-card:nth-child(4) { transition-delay: 1.1s; }

 .offer-card:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .offer-card img {
   width: 100%;
   height: 150px;
   object-fit: contain;
   border-radius: 4px;
   transition: transform 0.4s ease, filter 0.4s ease;
 }

 .offer-card p {
   margin: 8px 0 3px;
   font-size: 14px;
   font-weight: 600;
   transition: color 0.3s ease;
 }

 .offer-card:hover p {
   color: #004aad;
 }

 .offer-card span {
   color: green;
   font-size: 13px;
   font-weight: bold;
 }

 /* .offer-card-1 p {
      margin: 8px 0 3px;
      font-size: 14px;
      font-weight: 600;
      color: white;
    }

    .offer-card-1 span {
      color: green;
      font-size: 13px;
      font-weight: bold;
    } */

 .Offer-banner {
   background: #fdfdfd;
   padding: 20px;
   border-radius: 8px;
   text-align: center;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   opacity: 0;
   transform: translateY(30px) scale(0.95);
   transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
   cursor: pointer;
 }

 .Offer-banner:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 .container.animate .Offer-banner {
   opacity: 1;
   transform: translateY(0) scale(1);
   transition-delay: 1.2s;
 }

 .Offer-banner img {
   height: 100%;
   width: 100%;
   border-radius: 8px;
 }

 .Offer-banner h2 {
   font-size: 20px;
   margin: 15px 0 8px;
   color: #333;
 }

 .Offer-banner p {
   color: #666;
   font-size: 14px;
   margin-bottom: 15px;
 }

 .Offer-banner button {
   background: #2d4739;
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 6px;
   font-size: 14px;
   cursor: pointer;
   transition: 0.3s;
 }

 .Offer-banner button:hover {
   background: #1b2a21;
 }

 /* Mobile carousel for offer cards */
 /* @media (min-width: 1280px) {
    .container {
       max-width: 1380px;
    }
} */

 /* Responsive Fourth Section */
 @media (max-width: 480px) {
   .container {
     display: block;
     padding: 20px 5px 0 5px;
     gap: 0;
     width: 100%;
   }

   .section {
     margin-bottom: 15px;
     padding: 12px;
     width: 100%;
     box-sizing: border-box;
   }

   .section h2 {
     font-size: 15px;
     margin-bottom: 12px;
   }

   .cards {
     display: flex;
     overflow-x: auto;
     gap: 8px;
     scroll-behavior: smooth;
     padding: 5px 0 10px 0;
     width: 100%;
   }

   .cards::-webkit-scrollbar {
     display: none;
   }

   .offer-card {
     flex: 0 0 auto;
     min-width: 100px;
     max-width: 100px;
     padding: 6px;
   }

   .offer-card img {
     height: 90px;
     width: 100%;
     object-fit: cover;
   }

   .offer-card p {
     font-size: 10px;
     margin: 6px 0 2px;
   }

   .Offer-banner {
     padding: 8px;
     width: 100%;
     box-sizing: border-box;
   }

   .Offer-banner img {
     width: 100%;
     height: auto;
     border-radius: 6px;
   }
 }

 @media (min-width: 481px) and (max-width: 767px) {
   .container {
     display: grid;
     grid-template-columns: 1fr 1fr;
     grid-template-rows: auto auto auto;
     gap: 15px;
     padding-top: 25px;
   }

   .section:nth-child(1) {
     grid-column: 1;
     grid-row: 1;
   }

   .section:nth-child(2) {
     grid-column: 2;
     grid-row: 1;
   }

   .Offer-banner {
     grid-column: 1 / -1;
     grid-row: 2;
   }

   .cards {
     display: flex;
     overflow-x: auto;
     gap: 12px;
     scroll-behavior: smooth;
   }

   .offer-card {
     flex: 0 0 auto;
     min-width: 120px;
   }
 }

 @media (min-width: 768px) and (max-width: 1024px) {
   .container {
     max-width: 100%;
     gap: 15px;
   }
 }

 @media (min-width: 1025px) {
   .container {
     max-width: none;
     padding: 30px 20px 0 20px;
   }
 }

 /* ======Fifth section== */

 .carousel-container {
   /* padding: 20px 15px 12px 15px; */
   margin: 0;
   /* background: #fff; */
   /* border: 1px solid #ddd; */
   border-radius: 0;
   position: relative;
   overflow: hidden;
   width: 100%;
   max-width: none;
 }

 .carousel-header {
   font-size: 20px;
   font-weight: bold;
   margin-bottom: 15px;
 }

 .carousel-header a {
   padding-top: 2px;
   font-size: 12px;
   color: black;
   text-decoration: none;
   /* margin-left: 10px; */
 }


 .carousel {
   display: flex;
   gap: 16px;
   overflow-x: auto;
   scroll-behavior: smooth;
   scrollbar-width: none;
   width: 100%;
   padding: 20px 15px;
 }

 .carousel::-webkit-scrollbar {
   display: none;
 }

 .card {
   flex: 0 0 120px;
   min-width: 120px;
   max-width: 120px;
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
   padding: 0 4px;
 }

 .card .circle {
   width: 120px;
   height: 120px;
   border-radius: 50%;
   box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4), 0 5px 15px #90CAF9;
   /* box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4), 0 5px 15px rgba(118, 75, 162, 0.3); */
   /* background: linear-gradient(135deg, #a3bffa 0%, #7ec0ee 50%, #87cefa 100%); */
   /* background: #dbe6f9; */
   background: white;;
   display: flex;
   justify-content: center;
   align-items: center;
   transition: box-shadow 0.3s ease;
   cursor: pointer;
 }

 /* Fifth section circle hover effect - glow border only */
 .card .circle:hover {
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 25px rgba(102, 126, 234, 0.4),
     0 5px 15px rgba(118, 75, 162, 0.3);
 }

 /* Image scale-up effect when circle is hovered */
 .card .circle:hover img {
   transform: scale(1.1);
 }

.card img {
  max-width: 80px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Ensure images inside the circular badges are centered and fill the circle proportionally */
.card .circle img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

 .card p {
   margin-top: 8px;
   font-size: 14px;
 }

 .card a {
   display: block;
   margin-top: 8px;
   font-size: 14px;
   text-decoration: none;
   color: #333;
   text-align: center;
   line-height: 1.2;
   font-weight: 600;
 }

 /* Arrows */
 .arrow {
   position: absolute;
   /* top: 50%; */
   top:45%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.5);
   color: #fff;
   border: 2px solid #fff;
   font-weight: bold;
   padding: 6px 10px;
   cursor: pointer;
   border-radius: 50%;
   font-size: 16px;
   z-index: 10;
   box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.5), inset -2px -2px 4px rgba(0, 0, 0, 0.3), 0 3px 6px rgba(0, 0, 0, 0.4);
   transition: all 0.25s ease-in-out;
 }

  .arrow:hover {
   background: rgba(0, 0, 0, 0.6);
   box-shadow:
     inset 2px 2px 6px rgba(255, 255, 255, 0.6),
     inset -2px -2px 6px rgba(0, 0, 0, 0.4),
     0 4px 10px rgba(0, 0, 0, 0.5);
 }

 .arrow:hover {

   transform: translateY(-50%) scale(0.9);
   /* Press effect */
   background: linear-gradient(145deg, #0d47a1, #2196f3);
   box-shadow:
     inset 3px 3px 8px rgba(0, 0, 0, 0.5),
     inset -3px -3px 6px rgba(255, 255, 255, 0.4);
 }


 .arrow.left {
   left: 0;
 }

 .arrow.right {
   right: 0;
 }


 /* Responsive Fifth Section */
 @media (max-width: 480px) {
   .carousel-container {
     /* padding: 15px 5px; */
     margin: 0px 5px;
     width: calc(100% - 10px);
   }

   .carousel {
     padding: 16px 15px;
     gap: 12px;
   }

   .card .circle {
     margin: 0 auto 6px auto;
     width: 70px;
     height: 70px;
   }

   .card img {
     max-width: 40px;
     height: auto;
   }
     
   .card {
     flex: 0 0 75px;
     line-height: 14px;
     min-width: 75px;
     max-width: 75px;
     text-align: center;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     padding: 0 2px;
   }

   .card p {
     font-size: 11px;
     margin: 4px 0 0 0;
     word-wrap: break-word;
     text-align: center;
     width: 100%;
   }

   .card a {
     font-size: 11px;
     margin: 4px 0 0 0;
     word-wrap: break-word;
     text-align: center;
     width: 100%;
   }

   .arrow {
     padding: 6px 8px;
     font-size: 12px;
   }
 }

 @media (min-width: 481px) and (max-width: 768px) {
   .carousel-container {
     margin: 0px 8px;
     width: calc(100% - 16px);
   }

   .card {
     flex: 0 0 95px;
     min-width: 95px;
     max-width: 95px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     text-align: center;
     padding: 0 3px;
   }

   .card .circle {
     margin: 0 auto 8px auto;
     width: 90px;
     height: 90px;
   }

   .card img {
     max-width: 55px;
   }

   .card p {
     font-size: 12px;
     margin: 6px 0 0 0;
     text-align: center;
     width: 100%;
   }

   .card a {
     font-size: 12px;
     margin: 6px 0 0 0;
     text-align: center;
     width: 100%;
   }

   .carousel {
     gap: 15px;
     padding: 20px 15px;
   }
 }

 @media (min-width: 769px) {
   .carousel-container {
     margin: 0px 15px;
     width: calc(100% - 30px);
   }
 }

 /* =====Sixth section==== */
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

 .offers-container {
   padding: 20px 15px 40px 15px;
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   justify-content: space-evenly;
   width: 100%;
   max-width: none;
   margin: 0;
   box-sizing: border-box;
   min-height: auto;
   opacity: 0;
   transform: translateY(50px);
   transition: opacity 0.8s ease, transform 0.8s ease;
 }

 .offers-container.animate {
   opacity: 1;
   transform: translateY(0);
 }

 /* iPad Air Portrait (820x1180) */
 @media (min-width: 810px) and (max-width: 830px) and (orientation: portrait) {
   .offers-container {
     flex-direction: column;
     gap: 22px;
     padding: 25px 20px 45px 20px;
   }

   .offers-card {
     width: 100%;
     min-width: auto;
     max-width: none;
     padding: 22px;
   }

   .offer-images {
     grid-template-columns: repeat(3, 1fr);
     gap: 15px;
   }

   .image-details img {
     height: 120px;
   }

   .offers-card h2 {
     font-size: 1.2rem;
     margin-bottom: 18px;
   }
 }

 /* iPad Air Landscape (1180x820) */
 @media (min-width: 1180px) and (max-width: 1200px) and (orientation: landscape) {
   .offers-container {
     flex-wrap: nowrap;
     gap: 25px;
     padding: 25px 30px 45px 30px;
   }

   .offers-card {
     flex: 1;
     min-width: 300px;
     max-width: 360px;
   }

   .image-details img {
     height: 125px;
   }
 }

 /* Individual card */
 .offers-card {
   background-color: #ffffff;
   border-radius: 14px;
   box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
   padding: 20px;
   flex: 1 1 calc(33.333% - 14px);
   min-width: 280px;
   max-width: 450px;
   width: auto;
   display: flex;
   flex-direction: column;
   transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.6s ease;
   cursor: pointer;
   box-sizing: border-box;
   opacity: 0;
   transform: translateY(30px) scale(0.9);
 }

 .offers-container.animate .offers-card {
   opacity: 1;
   transform: translateY(0) scale(1);
 }

 .offers-container.animate .offers-card:nth-child(1) { transition-delay: 0.2s; }
 .offers-container.animate .offers-card:nth-child(2) { transition-delay: 0.4s; }
 .offers-container.animate .offers-card:nth-child(3) { transition-delay: 0.6s; }

 /* Asus Zenbook Fold - Half screen mode (960px width) */
 @media (min-width: 800px) and (max-width: 1000px) and (orientation: portrait) {
   .offers-container {
     flex-direction: column;
     gap: 20px;
     padding: 20px 15px 40px 15px;
   }

   .offers-card {
     width: 100%;
     min-width: auto;
     max-width: none;
     padding: 18px;
   }

   .offer-images {
     grid-template-columns: repeat(3, 1fr);
     gap: 12px;
   }

   .image-details img {
     height: 110px;
   }
 }

 /* Zenbook Fold - Full screen landscape */
 @media (min-width: 1700px) and (max-width: 1920px) and (orientation: landscape) {
   .offers-container {
     gap: 30px;
     padding: 30px 40px 50px 40px;
   }

   .offers-card {
     min-width: 350px;
     max-width: 420px;
     padding: 25px;
   }

   .image-details img {
     height: 140px;
   }
 }

 .offers-card:hover {
   transform: translateY(-10px) scale(1.03);
   box-shadow:
     0 0 20px rgba(0, 123, 255, 0.45),
     0 0 35px rgba(0, 123, 255, 0.25),
     0 10px 20px rgba(0, 0, 0, 0.1);
 }

 /* Card title */
 .offers-card h2 {
   font-size: 1.2rem;
   margin-bottom: 18px;
   color: #111;
   font-weight: 700;
   text-align: left;
   position: relative;
   line-height: 1.3;
   opacity: 0;
   transform: translateY(-20px);
   transition: opacity 0.6s ease, transform 0.6s ease, color 0.3s ease;
 }

 .offers-card:hover h2 {
   color: #004aad;
 }

 .offers-container.animate .offers-card h2 {
   opacity: 1;
   transform: translateY(0);
   transition-delay: 0.3s;
 }

 /* Adaptive font sizing for different screen densities */
 @media (min-width: 800px) and (max-width: 1200px) {
   .offers-card h2 {
     font-size: clamp(1rem, 2.5vw, 1.15rem);
   }

   .image-caption {
     font-size: clamp(10px, 1.2vw, 12px);
   }
 }

 /* Prevent vertical stacking with blank space - Universal fix */
 @media (min-width: 768px) {
   .sixth-section {
     width: 100%;
     overflow-x: hidden;
   }

   .offers-container {
     display: flex !important;
     flex-wrap: wrap !important;
     width: 100% !important;
     margin: 0 auto !important;
   }

   .offers-card {
     box-sizing: border-box !important;
     margin: 0 !important;
   }
 }

 /* Ensure cards never stack vertically when there's horizontal space */
 @media (min-width: 900px) {
   .offers-container {
     min-height: auto;
     align-items: stretch;
   }

   .offers-card {
     height: auto;
     align-self: stretch;
   }
 }

 .offers-card h2::after {
   content: '';
   width: 50px;
   height: 3px;
   background: #007bff;
   display: block;
   margin-top: 5px;
   border-radius: 3px;
   transform: scaleX(0);
   transition: transform 0.5s ease;
   transform-origin: left;
 }

 .offers-card:hover h2::after {
   transform: scaleX(1);
 }

 /* Grid of images inside the card */
 .offer-images {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 15px;
   width: 100%;
   box-sizing: border-box;
 }

 /* Individual image container */
 .image-details {
   background: linear-gradient(145deg, #f9f9f9, #e6f0ff);
   border-radius: 12px;
   padding: 8px;
   text-align: center;
   transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.5s ease;
   overflow: hidden;
   box-sizing: border-box;
   cursor: pointer;
   opacity: 0;
   transform: translateY(30px) scale(0.9);
 }

 .offers-container.animate .image-details {
   opacity: 1;
   transform: translateY(0) scale(1);
 }

 .offers-container.animate .offers-card:nth-child(1) .image-details:nth-child(1) { transition-delay: 0.4s; }
 .offers-container.animate .offers-card:nth-child(1) .image-details:nth-child(2) { transition-delay: 0.5s; }
 .offers-container.animate .offers-card:nth-child(1) .image-details:nth-child(3) { transition-delay: 0.6s; }
 .offers-container.animate .offers-card:nth-child(1) .image-details:nth-child(4) { transition-delay: 0.7s; }
 .offers-container.animate .offers-card:nth-child(2) .image-details:nth-child(1) { transition-delay: 0.8s; }
 .offers-container.animate .offers-card:nth-child(2) .image-details:nth-child(2) { transition-delay: 0.9s; }
 .offers-container.animate .offers-card:nth-child(2) .image-details:nth-child(3) { transition-delay: 1.0s; }
 .offers-container.animate .offers-card:nth-child(2) .image-details:nth-child(4) { transition-delay: 1.1s; }
 .offers-container.animate .offers-card:nth-child(3) .image-details:nth-child(1) { transition-delay: 1.2s; }
 .offers-container.animate .offers-card:nth-child(3) .image-details:nth-child(2) { transition-delay: 1.3s; }
 .offers-container.animate .offers-card:nth-child(3) .image-details:nth-child(3) { transition-delay: 1.4s; }
 .offers-container.animate .offers-card:nth-child(3) .image-details:nth-child(4) { transition-delay: 1.5s; }

 .image-details img {
   width: 100%;
   height: 160px;
   /* object-fit: cover; */
   object-fit: contain;
   border-radius: 8px;
   transition: transform 0.2s ease;
   display: block;
 }

 .image-details:hover img {
   transform: scale(1.05);
   /* Slight zoom, no tilt */
 }

 /* Fix for devices showing vertical stacking with blank space */
 @media (min-width: 600px) and (max-width: 1100px) {
   .offers-container {
     justify-content: space-around !important;
     align-items: stretch;
     width: 100% !important;
   }

   .offers-card {
     flex-grow: 1;
     flex-shrink: 1;
   }
 }

 /* General Foldable Devices Support */
 @media (min-width: 600px) and (max-width: 900px) and (min-aspect-ratio: 1/2) and (max-aspect-ratio: 2/1) {
   .offers-container {
     flex-direction: row;
     flex-wrap: wrap;
     gap: 15px;
     padding: 20px 15px 40px 15px;
     justify-content: space-between;
   }

   .offers-card {
     flex: 1 1 calc(50% - 8px);
     min-width: 250px;
     max-width: calc(50% - 8px);
     width: calc(50% - 8px);
   }

   .offer-images {
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
     gap: 12px;
   }
 }

 /* High DPI / Retina Display Adjustments */
 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   .offers-card {
     border-radius: 14px;
   }

   .image-details {
     border-radius: 10px;
   }

   .image-details img {
     border-radius: 6px;
   }
 }

 .image-details:hover {
   transform: translateY(-8px) scale(1.02) !important;
   box-shadow:
     0 0 15px rgba(0, 123, 255, 0.4),
     0 0 25px rgba(0, 123, 255, 0.2),
     0 8px 15px rgba(0, 0, 0, 0.08) !important;
   z-index: 10;
 }

 /* Image caption */
 .image-caption {
   font-size: 12px;
   font-weight: bold;
   color: black;
   margin-top: 6px;
   margin-bottom: 6px;
   transition: color 0.3s ease;
 }

 .image-details:hover .image-caption {
   color: #004aad;
 }

 /* Surface Pro 7 Portrait (912x1368) */
 @media (min-width: 900px) and (max-width: 920px) and (orientation: portrait) {
   .offers-container {
     flex-direction: column;
     gap: 24px;
     padding: 25px 25px 45px 25px;
   }

   .offers-card {
     width: 100%;
     min-width: auto;
     max-width: none;
     padding: 24px;
   }

   .offer-images {
     grid-template-columns: repeat(3, 1fr);
     gap: 16px;
   }

   .image-details img {
     height: 130px;
   }

   .image-caption {
     font-size: 13px;
     margin: 8px 0;
   }
 }

 /* Responsive Sixth Section */
 /* Surface Duo Landscape Dual Screen (720x540 per screen) */
 @media (min-width: 720px) and (max-width: 750px) and (orientation: landscape) {
   .offers-container {
     flex-direction: row;
     flex-wrap: wrap;
     gap: 16px;
     padding: 15px 10px 35px 10px;
   }

   .offers-card {
     flex: 1 1 calc(50% - 8px);
     min-width: 200px;
     max-width: calc(50% - 8px);
     padding: 14px;
   }

   .offers-card h2 {
     font-size: 0.95rem;
     margin-bottom: 10px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 8px;
   }

   .image-details img {
     height: 90px;
   }

   .image-caption {
     font-size: 10px;
   }
 }

 @media (max-width: 480px) {
   .offers-container {
     flex-direction: column;
     gap: 20px;
     padding: 20px 10px 35px 10px;
     width: 100%;
   }

   .offers-card {
     width: 100%;
     min-width: auto;
     max-width: none;
     padding: 18px;
     margin: 0;
     flex: none;
     border-radius: 12px;
   }

   .offers-card h2 {
     font-size: 1.1rem;
     margin-bottom: 15px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
     width: 100%;
   }

   .image-details {
     width: 100%;
     padding: 6px;
   }

   .image-details img {
     height: 100px;
     width: 100%;
     /* object-fit: cover; */
     object-fit: contain;
     border-radius: 6px;
   }

   .image-caption {
     font-size: 11px;
     margin: 8px 0 4px;
   }
 }

 @media (min-width: 481px) and (max-width: 540px) {
   .offers-container {
     flex-direction: column;
     gap: 16px;
     width: 100%;
     padding: 20px 12px 40px 12px;
   }

   .offers-card {
     width: 100%;
     min-width: auto;
     max-width: none;
     padding: 16px;
   }

   .offers-card h2 {
     font-size: 1rem;
     margin-bottom: 12px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
   }

   .image-details img {
     height: 105px;
   }
 }

 @media (min-width: 541px) and (max-width: 768px) {
   .offers-container {
     flex-direction: row;
     flex-wrap: wrap;
     gap: 18px;
     width: 100%;
     padding: 20px 15px 40px 15px;
     justify-content: space-between;
   }

   .offers-card {
     flex: 1 1 calc(50% - 10px);
     min-width: 250px;
     max-width: calc(50% - 10px);
     padding: 18px;
   }

   .offers-card h2 {
     font-size: 1rem;
     margin-bottom: 12px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
     width: 100%;
   }

   .image-details img {
     height: 110px;
     width: 100%;
   }

   .image-caption {
     font-size: 10px;
   }
 }

 @media (min-width: 769px) and (max-width: 820px) {
   .offers-container {
     flex-wrap: wrap;
     justify-content: space-between;
     gap: 15px;
     width: 100%;
     padding: 25px 15px 45px 15px;
   }

   .offers-card {
     flex: 1 1 calc(50% - 8px);
     min-width: 280px;
     max-width: calc(50% - 8px);
     width: calc(50% - 8px);
     padding: 20px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 14px;
   }

   .image-details img {
     height: 125px;
   }
 }

 @media (min-width: 821px) and (max-width: 1024px) {
   .offers-container {
     flex-wrap: wrap;
     justify-content: space-between;
     gap: 18px;
     width: 100%;
     padding: 25px 20px 45px 20px;
   }

   .offers-card {
     flex: 1 1 calc(33.333% - 12px);
     min-width: 250px;
     max-width: calc(33.333% - 12px);
     width: calc(33.333% - 12px);
     padding: 20px;
   }

   .offer-images {
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
     width: 100%;
   }

   .image-details img {
     height: 115px;
   }

   .image-caption {
     font-size: 11px;
   }
 }

 @media (min-width: 1025px) and (max-width: 1367px) {
   .offers-container {
     flex-wrap: nowrap;
     width: 100%;
     justify-content: space-between;
     gap: 20px;
     padding: 25px 20px 45px 20px;
   }

   .offers-card {
     flex: 1 1 calc(33.333% - 14px);
     min-width: 280px;
     max-width: calc(33.333% - 14px);
     width: calc(33.333% - 14px);
     padding: 20px;
   }

   .offers-card h2 {
     font-size: 1.15rem;
     margin-bottom: 16px;
   }

   .image-details img {
     height: 160px;
   }
 }

 @media (min-width: 1368px) {
   .offers-container {
     flex-wrap: nowrap;
     width: 100%;
     justify-content: space-between;
     gap: 25px;
     padding: 25px 30px 45px 30px;
   }

   .offers-card {
     flex: 1 1 calc(33.333% - 17px);
     min-width: 300px;
     max-width: calc(33.333% - 17px);
     width: calc(33.333% - 17px);
     padding: 22px;
   }

   .offers-card h2 {
     font-size: 1.2rem;
     margin-bottom: 18px;
   }

   .offer-images {
     gap: 15px;
   }

   .image-details {
     padding: 10px;
   }

   .image-details img {
     height: 130px;
   }

   .image-caption {
     font-size: 12px;
     margin: 8px 0;
   }
 }


 /* Touch-friendly improvements */
 @media (max-width: 768px) {
   /* Increase touch targets */
   .carousel-btn,
   .arrow,
   button,
   .box,
   .offer-card,
   .image-details {
     min-height: 13px;
     min-width: 13px;
   }
   
   .sidebar ul li {
     padding: 12px 20px;
   }
   
   .dropdown-menu ul li {
     padding: 14px 15px;
   }
 }

 /* Global responsive improvements */
 @media (max-width: 320px) {
   body {
     padding: 0px;
   }
   
   .header {
     padding: 4px 8px;
     gap: 8px;
   }
   
   .logo img {
     width: 80px;
   }
   
   .categories img {
     width: 45px;
     height: 50px;
   }
   
   .categories p {
     font-size: 9px;
   }
 }

 /* Large screen optimization - Full width usage */
 @media (min-width: 1025px) {
   .carousel-wrapper {
     margin: 0;
     width: 100%;
     padding: 20px 25px;
   }

   .carousel-slide {
     margin: 0;
     width: 100%;
   }

   .container-box {
     padding: 35px 25px 0 25px;
   }

   .container {
     padding: 35px 25px 0 25px;
   }

   .carousel-container {
     margin: 0;
     width: 100%;
     /* padding: 25px; */
   }

   .offers-container {
     padding: 25px 25px 45px 25px;
   }
 }

 /* Smooth scrolling and performance */
 * {
   -webkit-tap-highlight-color: transparent;
 }

 .categories,
 .carousel,
 .cards {
   -webkit-overflow-scrolling: touch;
   scroll-behavior: smooth;
 }

 /* Global Responsive Fixes */
 html {
   scroll-behavior: smooth;
 }

 /* Prevent horizontal scroll and ensure full width */
 @media (max-width: 768px) {
   html,
   body {
     overflow-x: hidden;
     width: 100%;
   }
   
   .header,
   .carousel-slide,
   .container-box,
   .container,
   .offers-container,
   .carousel-container,
   .carousel-wrapper {
     max-width: 100vw;
     overflow-x: hidden;
   }

   /* Force all sections to use full available width */
   .categories,
   .slides,
   .section,
   .cards,
   .carousel,
   .offers-card,
   .offer-images {
     width: 100%;
     box-sizing: border-box;
   }
 }

 /* Ensure consistent full width across all screen sizes */
 .carousel-wrapper,
 .carousel-slide,
 .container-box,
 .container,
 .carousel-container,
 .offers-container {
   box-sizing: border-box;
 }

 /* Grid items should fill available space */
 .container-box-left .box,
 .container-box-right .box,
 .cards .offer-card,
 .offer-images .image-details {
   width: 100%;
   box-sizing: border-box;
 }

 /* Additional responsive improvements */
 @media (max-width: 320px) {
   body {
     min-width: 320px;
   }
   
   .header {
     padding: 6px 8px;
     gap: 8px;
   }
   
   .logo img {
     width: 70px;
   }

   .search-bar.mobile-search input {
     font-size: 14px;
     padding: 5px 10px 7px 30px;
     height: 32px;
   }
 }

 /* Ultra-wide screen optimization - Full width usage */
 @media (min-width: 1400px) {
   .carousel-wrapper,
   .carousel-slide,
   .container-box,
   .container,
   .carousel-container,
   .offers-container {
     max-width: none;
     width: 100%;
   }
   
   .carousel-wrapper,
   .container-box,
   .container,
   .offers-container {
     padding-left: 30px;
     padding-right: 30px;
   }
   
   /* .carousel-container {
     padding: 30px;
   } */
 }




 /* Top Verified Sellers */
 /* Top Verified Sellers Section - Full Width */
.top-verified-sellers {
  width: 100%;
  max-width: 100%;
  padding: 40px 0px;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.sellers-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 15px;
  text-align: center;
  box-sizing: border-box;
}

.sellers-heading {
  font-size: 36px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 48px;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.sellers-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .sellers-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .sellers-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top-verified-sellers.animate {
  opacity: 1;
  transform: translateY(0);
}

.seller-item {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.seller-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px) scale(1);
}

.seller-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.seller-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  object-fit: cover;
}

.seller-details h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.seller-item:hover .seller-details h4 {
  color: #1d4ed8;
}

.seller-details p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.seller-description {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Animation States */
.top-verified-sellers.animate {
  opacity: 1;
  transform: translateY(0);
}

.top-verified-sellers.animate .sellers-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.top-verified-sellers.animate .seller-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-verified-sellers.animate .seller-item:nth-child(1) { transition-delay: 0.1s; }
.top-verified-sellers.animate .seller-item:nth-child(2) { transition-delay: 0.2s; }
.top-verified-sellers.animate .seller-item:nth-child(3) { transition-delay: 0.3s; }

/* Mobile Responsive - Full Width */
@media (max-width: 640px) {
  .top-verified-sellers {
    padding: 20px 10px;
  }
  
  .sellers-wrapper {
    padding: 0 10px;
  }
  
  .sellers-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .sellers-container {
    gap: 24px;
  }
  
  .seller-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .top-verified-sellers {
    padding: 20px 5px;
  }
  
  .sellers-wrapper {
    padding: 0 5px;
  }
  
  .sellers-heading {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .seller-item {
    padding: 16px;
  }
  
  .seller-details h4 {
    font-size: 18px;
  }
}

.top-verified-sellers.animate .seller-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-verified-sellers.animate .seller-item:nth-child(1) { transition-delay: 0.1s; }
.top-verified-sellers.animate .seller-item:nth-child(2) { transition-delay: 0.2s; }
.top-verified-sellers.animate .seller-item:nth-child(3) { transition-delay: 0.3s; }

.sellers-heading {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.top-verified-sellers.animate .sellers-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.seller-item:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow:
    0 0 15px rgba(0, 123, 255, 0.4),
    0 0 25px rgba(0, 123, 255, 0.2),
    0 8px 15px rgba(0, 0, 0, 0.08) !important;
  z-index: 10;
}

/* Utility to make elements appear immediately when their section becomes visible.
   Applying .fast-appear to a container will remove staggered transition delays
   so child items render as soon as the container is in the viewport. */
.fast-appear .box,
.fast-appear .container-box-left h1,
.fast-appear .container-box-right h1,
.fast-appear .offer-card,
.fast-appear .image-details,
.fast-appear .offers-card,
.fast-appear .offers-card h2,
.fast-appear .seller-item,
.fast-appear .section,
.fast-appear .Offer-banner,
.fast-appear .container .section,
.fast-appear .cards .offer-card,
.fast-appear .container-box .box {
  transition-delay: 0s !important;
  /* optional: slightly shorten duration for snappier appearance */
  transition-duration: 0.28s !important;
  opacity: 1 !important;
  transform: none !important;
}


/* Signup Container */
.signup-container {
    position: relative;
    background: #0a3d62;
    backdrop-filter: blur(8px);
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    padding: 3rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    animation: glow 2s infinite alternate;
    margin-top: 80px; /* to push below navbar */
    font-family: Arial, sans-serif;
    box-sizing: content-box;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px skyblue, 0 0 10px skyblue, 0 0 20px skyblue;
    }

    50% {
        box-shadow: 0 0 20px skyblue, 0 0 30px skyblue, 0 0 40px skyblue;
    }

    100% {
        box-shadow: 0 0 5px skyblue, 0 0 10px skyblue, 0 0 20px skyblue;
    }
}

.signup-container h1 {
    color: #fff;
    margin-bottom: 2rem;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

    .close-btn:hover {
        color: skyblue;
        cursor: pointer;
    }

/* Buttons */
.Login-button {
    width: 100%;
    /*background: #228ee7;*/
    color: #fff;
    border: none;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    animation: button-glow 2s infinite alternate;
}

    .Login-button:hover {
        background: #a8d1f8;
        color: #0a3d62;
    }

@keyframes button-glow {
    0% {
        box-shadow: 0 0 3px skyblue, 0 0 6px skyblue;
    }

    50% {
        box-shadow: 0 0 8px skyblue, 0 0 12px skyblue;
    }

    100% {
        box-shadow: 0 0 3px skyblue, 0 0 6px skyblue;
    }
}

/* Responsive — same layout on all sizes */
@media (max-width: 500px) {
    .signup-container {
        padding: 1.5rem;
        margin: 50px;
        font-size: small;
    }


    .Login-button {
        padding: 14px;
        font-size: 15px;
    }
}


.model-bg-color {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a3d62, #3c6382);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
