* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0a0a0a;
  color: white;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

header.shrink {
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.85);
}

.logo {
  height: 40px;
}

/* CENTER BRAND */
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  background: linear-gradient(270deg, #00f0ff, #00ff9d, #ffd500, #ff4d4d, #00f0ff);
  background-size: 800% 800%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 6s ease infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.brand:hover {
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00ff9d;
}

/* NAV */
nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

nav a:hover {
  color: #38bdf8;
}

/* ACTIVE LINK */
nav a.active {
  color: #38bdf8;
}

nav a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #38bdf8;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* HERO */
.hero {
  margin-top: 70px;
  position: relative;
  height: 50vh;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.8)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.overlay h1 {
  font-size: 42px;
}

.overlay p {
  font-size: 18px;
  opacity: 0.9;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 15px;
  background: #38bdf8;
  padding: 10px 18px;
  width: auto;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: 600;
}
.card .btn {
  margin-top: auto;
}

.btn:hover {
  background: #0ea5e9;
  transform: scale(1.05);
}
/* VIDEO SECTION */
.video-section {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY */
.video-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* TEXT CONTENT */
.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.video-overlay h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.video-overlay p {
  font-size: 18px;
  margin-bottom: 20px;
}
.bg-video {
  filter: brightness(0.7) contrast(1.2);
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .video-section {
    height: 50vh;
  }

  .video-overlay h2 {
    font-size: 24px;
  }

  .video-overlay p {
    font-size: 14px;
  }
  .brand {
    position: static;
    transform: none;
  }
}

/* STATS */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 50px;
  background: #111;
  flex-wrap: wrap;
  text-align: center;
}

/* ABOUT */
.about {
  padding: 60px 20px;
  text-align: center;
}

/* PRODUCTS */
.products {
  padding: 60px 20px;
  text-align: center;
}
/* PRODUCT PAGE */
.products-titel {
  font-size: 38px;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;

  background: linear-gradient(90deg, #38bdf8, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);

  position: relative;
}
.product-page {
  display: flex;
  gap: 40px;
  padding: 120px 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
/* PREMIUM GALLERY */
.premium-gallery {
  padding: 80px 20px;
  background: radial-gradient(circle at top, #0f172a, #000);
  text-align: center;
}

.gallery-title {
  font-size: 34px;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transform: translateY(40px);
  opacity: 0;
  transition: 0.6s ease;
}

.gallery-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* IMAGE */
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER EFFECT */
.gallery-card:hover img {
  transform: scale(1.12) rotate(1deg);
}

/* OVERLAY */
.gallery-card::after {
  content: "VIEW";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s;
}

.gallery-card:hover::after {
  opacity: 1;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  animation: zoomIn 0.4s ease;
}

/* IMAGE SECTION */
.product-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.product-img img:hover {
  transform: scale(1.03);
}

/* INFO SECTION */
.product-info {
  flex: 1;
  max-width: 500px;
}

/* LIST */
.product-info ul {
  margin: 20px 0;
  padding-left: 20px;
}

.product-info li {
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.9;
}
/* GALLERY */
.gallery {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;
}
.gallery-card {
  border-radius: 10px;
}

.gallery-card img {
  border-radius: 10px;
}

.gallery img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
  border: 2px solid transparent;
}

.gallery img:hover {
  transform: scale(1.08);
  border-color: #38bdf8;
}

/* BUTTON CENTER */
.gallery-controls {
  margin-top: 30px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop 3 column */
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 15px;
  width: 100%;
  border-radius: 16px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.card h3 {
  font-size: 16px;
  min-height: 40px;
  margin: 10px 0;
  text-align: center;
}
.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* SERVICE */
.service {
  padding: 60px 20px;
  text-align: center;
  background: #111;
}

/* CTA */
.cta {
  padding: 60px 20px;
  text-align: center;
  background: black;
}

/* CONTACT */
.contact {
  padding: 60px 20px;
  text-align: center;
  background: #111;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
}

/* FOOTER */
footer {
  background: #000;
  padding: 40px 20px;
  color: #ccc;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #222;
  padding-top: 10px;
}

/* FADE IN */
.about,
.products,
.service,
.contact,
.stats {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    width: 85%;
    max-width: 300px;
    padding: 30px 20px;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2000;
  }

  nav.show {
    display: flex;
  }

  nav a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .overlay h1 {
    font-size: 26px;
  }

  .btn {
    width: 90%;
  }
  .product-page {
    flex-direction: column;
    padding: 100px 20px;
    text-align: center;
  }

  .product-img img {
    max-width: 90%;
  }

  .product-info {
    max-width: 100%;
  }

  */ .gallery img {
    width: 70px;
    height: 60px;
  }
  .gallery-title {
    font-size: 26px;
  }

  .gallery-card img {
    height: 200px;
  }
  .gallery-card.hidden {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 column */
  gap: 10px;
}

.gallery-card img {
  height: 140px; /* image ছোট */
}
.grid {
  grid-template-columns: repeat(2, 1fr); 
  /* Mobile: 2 ta kore */
  gap: 15px;
}
.card img {
  height: 120px;
}
card h3 {
  font-size: 14px;
}

.footer-container {
  flex-direction: column;
  text-align: center;
}
