

/* assets/css/style.css */
:root{
  --accent:#0d6efd;
  --muted:#6c757d;
  --bg:#f8f9fa;
  --container-max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.bg-light{
      background-color: rgb(233, 231, 255) !important ;
}
.bg-navbar{
      background-color: rgba(0, 0, 0, 0) !important ;
      
}

.text-hs{
  color:red !important;
}

/* Navbar */
.navbar-brand { font-weight:700; letter-spacing:0.4px; }
.active{
  font-weight:700 !important;
  color: red !important;
}


/* HERO SLIDER */

.hero-slider {
            position: relative;
            width: 100%;
            height: 90vh;
            min-height: 650px;
            max-height: 900px;
            overflow: hidden;
            background: #000;
        }

        .slider-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 1.2s;
            z-index: 1;
        }

        .slide.active {
            opacity: 1;
            visibility: visible;
            transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0s;
            z-index: 2;
        }

        /* Image with Ken Burns zoom effect */
        .slide-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.05);
            transition: transform 6s ease-out;
            /* filter: brightness(0.45) contrast(1.05); */
        }

        .slide.active .slide-image {
            transform: scale(1);
            transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* Dark overlay gradient for better text readability */
        .slide::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 10%;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
            pointer-events: none;
            z-index: 1;
        }

        /* Text container with modern reveal animation */
        .slide-text {
            position: absolute;
            bottom: 22%;
            left: 5%;              /* or use a fixed value like 60px */
            right: auto;           /* remove auto centering */
            text-align: left;      /* change from center to left */
            color: white;
            z-index: 3;
            padding: 0 1.5rem;
            max-width: 650px;      /* optional: limit width for better readability */
            transform: translateY(40px);
            opacity: 0;
            transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.8s ease;
        }

        .slide.active .slide-text {
            transform: translateY(0);
            opacity: 1;
            transition-delay: 0.3s;
        }

        .slide-text h1 {
            font-size: clamp(2rem, 6vw, 4rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 1.2rem;
            text-shadow: 0 5px 20px rgba(0,0,0,0.4);
            background: linear-gradient(135deg, #ffea00 0%, #ffffff 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .slide-text p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            font-weight: 500;
            margin-bottom: 1.8rem;
            opacity: 0.95;
            text-shadow: 0 2px 12px rgba(0,0,0,0.3);
            letter-spacing: -0.2px;
        }

        .btn-slider {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #FFB347;
            color: #0A0F1C;
            padding: 0.9rem 2.2rem;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            letter-spacing: 0.3px;
        }

        .btn-slider i {
            transition: transform 0.2s ease;
        }

        .btn-slider:hover {
            background: #ffa01e;
            transform: translateY(-3px);
            box-shadow: 0 15px 25px -8px rgba(0,0,0,0.3);
        }

        .btn-slider:hover i {
            transform: translateX(5px);
        }

        /* Slider Controls (prev/next) */
        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 180, 71, 0.5);
            color: white;
            width: 52px;
            height: 52px;
            border-radius: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            cursor: pointer;
            z-index: 20;
            transition: all 0.25s ease;
            opacity: 0.7;
        }

        .slider-btn:hover {
            background: #FFB347;
            color: #0A0F1C;
            border-color: transparent;
            opacity: 1;
            transform: translateY(-50%) scale(1.05);
        }

        .prev {
            left: 2rem;
        }

        .next {
            right: 2rem;
        }

        /* Dots Indicator */
        .slider-dots {
            position: absolute;
            bottom: 2rem;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 12px;
            z-index: 15;
        }

        .dot {
            width: 12px;
            height: 12px;
            background: rgba(255,255,255,0.4);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            padding: 0;
        }

        .dot.active {
            width: 32px;
            border-radius: 20px;
            background: #FFB347;
            box-shadow: 0 0 6px rgba(255,180,71,0.6);
        }

        /* Progress bar (autoplay indicator) */
        .slider-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: #FFB347;
            z-index: 25;
            transition: width linear 0.02s;
            box-shadow: 0 0 8px #FFB347;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-slider {
                min-height: 580px;
                height: 80vh;
            }
            .slide-text {
                left: 1rem;
                max-width: 60%;
            }
            .slider-btn {
                width: 40px;
                height: 40px;
                font-size: 1.3rem;
            }
            .prev { left: 1rem; }
            .next { right: 1rem; }
            .btn-slider {
                display: none;
                padding: 0.7rem 1.6rem;
                font-size: 0.85rem;
            }
            .dot {
                width: 8px;
                height: 8px;
            }
            .dot.active {
                width: 24px;
            }
        }

        /* Pause on hover */
        .hero-slider:hover .slider-progress {
            animation-play-state: paused;
            transition: none;
        }

        /* subtle fade edge */
        @keyframes subtlePulse {
            0% { text-shadow: 0 0 0px rgba(255,180,71,0);}
            100% { text-shadow: 0 0 8px rgba(255,180,71,0.3);}
        }



/* Slider css */

/* Continuous Product Slider */
.product-slider {
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: auto;
  animation: scroll-left 20s linear infinite;
}

.slider-track a {
  flex: 0 0 auto;
  display: block;
  margin: 0 15px;
  transition: transform 0.3s ease;
}

.slider-track a:hover {
  transform: scale(1.05);
}

.slider-track img {
  height: 260px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  background: white;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Product carousel */
.section-title{ margin:1.5rem 0 .8rem 0; text-transform:uppercase; font-size:.9rem; color:var(--muted); letter-spacing:1px; }
.product-carousel{
  overflow:hidden;
  position:relative;
  padding:1rem 0;
  width: 100%;
}
.product-track{
  white-space: nowrap;
  display:flex;
  gap:1rem;
  transition:transform 0.3s ease;
  scroll-behavior:smooth;
  padding-bottom:6px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
   /* animation: scroll-left 25s linear infinite; */
   /* width: max-content; */
}
.product-track > * {
  flex: 0 0 auto;
  /* width: 200px; adjust for your card width */
}
.product-card{
  min-width:200px;
  max-width:100%;
  background:rgb(255, 255, 255);
  border-radius:10px;
  box-shadow:0 6px 18px rgba(20,20,20,0.06);
  padding:10px;
  cursor:pointer;
  flex: 0 0 auto;
}
.product-card img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:2px;
}
.product-card h5{ font-size:1rem; margin:.5rem 0 .2rem 0; }
.product-card p{ font-size:.88rem; color:var(--muted); margin:0; }

/* product grid on products page */
.products-grid{ display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

/* product details */
.gallery{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.gallery-main{
  flex:1 1 60%;
  border-radius:8px;
  overflow:hidden;
  position:relative;
  background:#fff;
  min-height:320px;
}
.gallery-thumbs{
  width:150px;
  display:flex;
  flex-direction:row;
  gap:8px;
}
.gallery-thumbs img{ width:100%; height:70px; object-fit:cover; border-radius:6px; cursor:pointer; border:2px solid transparent; }
.gallery-thumbs img.active{ border-color:var(--accent); }

/* PRODUCT SHOWCASE STYLES */
.square-img {
  aspect-ratio: 1 / 1;       /* makes image perfectly square */
  object-fit: cover;         /* prevents stretching */
}

.product-showcase h4 {
  color: #222;
}

.product-showcase p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Description and technical tab css */
.table th {
  width: 35%;
  /* background-color: #0c0d0e; */
  font-weight: 500;
}

.table td {
  color: #333;
}


@media (max-width: 767px) {
  .product-showcase .row {
    text-align: center;
  }
  .product-showcase .btn {
    margin-top: 10px;
  }
}
/* big image table css */
.object-fit-cover {
  object-fit: cover;
}

.product-showcase .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* footer */
.footer a:hover {
  color: #ffc107;
  text-decoration: underline;
  transition: 0.3s ease;
}

.footer input.form-control {
  border: none;
  border-radius: 0;
}

.footer .btn-warning {
  border-radius: 0;
}


/* responsive tweaks */
@media (max-width:767px){
  html, body {
  overflow-x: hidden;
  width: 100%;
}

.container, .row {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  /* padding-left: 0; */
}

* {
  box-sizing: border-box;
}

  .gallery{ flex-direction:column; }
  .gallery-thumbs{ width:100%; flex-direction:row; overflow:auto; }
  .gallery-thumbs img{ width:120px; height:70px; }

}

/* hide scrollbar small */
.product-track::-webkit-scrollbar{ height:8px; }
.product-track::-webkit-scrollbar-thumb{ background:rgba(0,0,0,0.12); border-radius:10px; }

/* Quality Assured row css */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid #a8a1a1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #007bff;
}
.icon i {
  transition: transform 0.3s ease;
}
.feature-card:hover .icon i {
  transform: scale(1.1);
}
/* PAGE RESPONSIVE CSS */
@media (max-width:480px){
  .p-5{
    padding: 0px !important;
  }
  .slide-text h1, p {
    font-size: 10px !important;
    font-weight: 300;
  }
  .slide-text .btn {
    display: none;
  }
  .slider-btn{
    display: none;
  }
  .hero-slider {
    height: 32vh;
    min-height: 0;
    background: none;
}
}
