html {
  scroll-behavior: smooth;
  /* Simple smooth scroll */
}

#mainNavbar {
  background: transparent;
  transition: all 0.4s ease;
  padding: 20px 0;
}

#mainNavbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


nav.navbar {
  height: 60px;
}

.hero-banner {
  height: 100vh;
  background: url('https://picsum.photos/1920/1080?grayscale') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeUp 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   ABOUT SECTION
============================= */

.about-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(157, 75, 3, 0.85), rgba(0, 0, 0, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: url('/assets/media/about-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.5;
  filter: blur(5px);
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-floating-img {
  max-width: 400px;
  opacity: 0.9;
  animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Section small top label */
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.7;
  font-weight: 500;
}

/* Right side content spacing */
.about-content {
  padding-left: 40px;
}

/* Mini title */
.mini-title {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 15px;
}

/* Large stylish title */
body h1 {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-weight: normal !important;
  letter-spacing: 2px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Description */
.about-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  max-width: 500px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
  .about-content {
    padding-left: 0;
    text-align: center;
    margin-top: 30px;
  }

  .main-title {
    font-size: 2.2rem;
  }
}


@media (max-width: 991px) {
  .about-section {
    text-align: center;
  }

  .about-floating-img {
    margin-bottom: 40px;
  }
}

/* =============================
   CONTACT SECTION
============================= */

.contact-section {
  padding: 120px 0;
  position: relative;
}

.contact-overlay {
  position: absolute;
  top: -150px;
  inset: 0;
  height: 100%;
  width: 100%;
  background: url('/assets/media/contact-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  filter: blur(1px);
  opacity: 0.2;
}

/* Top section label (dark version) */
.dark-label {
  color: #333;
  opacity: 0.6;
}

/* Right content spacing */
.contact-content {
  padding-left: 40px;
}

/* Mini title */
.dark-mini {
  color: #0d6efd;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 15px;
}

/* Large stylish title */
.dark-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

/* Description */
.contact-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  max-width: 500px;
  color: #555;
  margin-bottom: 15px;
}

/* Transparent image */
.contact-image {
  opacity: 0.9;
  position: absolute;
  height: 400px;
  width: 100%;
  object-fit: contain;
  bottom: 0;
  left: -25%;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Email link styling */
.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: #0d6efd;
  position: relative;
  transition: all 0.3s ease;
}

.contact-email::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #0d6efd;
  transition: width 0.3s ease;
}

.contact-email:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-content {
    padding-left: 0;
    text-align: center;
    margin-top: 30px;
  }

  .dark-title {
    font-size: 2.2rem;
  }
}

/* =============================
   KNOWLEDGE STACK
============================= */

.knowledge-section {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ks-overlay {
  position: absolute;
  inset: 0;
  background: url('/assets/media/ks-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  /* opacity: 0.75; */
}

.knowledge-section .section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Framed carousel container */
.knowledge-frame {
  background: #fff;
  padding: 30px;
  border: 2px solid #0d6efd;
  /* outer border */
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Add subtle inner border effect */
.knowledge-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid rgba(13, 110, 253, 0.3);
  border-radius: 12px;
  pointer-events: none;
}

/* Swiper slide padding */
.swiper-slide {
  padding: 35px 70px;
}

/* Slide text */
.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

.slide-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

/* Slide image */
.slide-image {
  border-radius: 10px;
  max-width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.slide-image:hover {
  transform: scale(1.05);
}

/* Swiper navigation arrows color */
.swiper-button-next,
.swiper-button-prev {
  width: 35px;
  height: 35px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #3c3c3c;
  /* brand color */
  color: #fff;
  /* arrow color */
  border: 1px solid #3c3c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #fff;
  color: #3c3c3c;
  border: 1px solid #3c3c3c;
}

/* Remove default pseudo-element */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  color: inherit;
  text-shadow: none;
}


/* Responsive adjustments */
@media (max-width: 991px) {
  .swiper-slide .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .slide-title {
    font-size: 1.7rem;
    margin-top: 20px;
  }

  .slide-description {
    max-width: 100%;
  }
}

.modal-body {
  max-height: 60vh;
  overflow-y: auto;
}

/* _____________________________________________________________________ */
/* _____________________________________________________________________ */

/* =============================
   PRODUCTS SECTION
============================= */

/* =============================
   PRODUCTS PAGE BANNER
============================= */

.products-banner {
  height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)),
    url('/assets/media/product-ban.jpg') center center/cover no-repeat;
  color: #ffffff;
  position: relative;
}

.banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .products-banner {
    height: 35vh;
  }

  .banner-title {
    font-size: 2rem;
  }
}

.products-section {
  padding: 100px 0;
  background: #f8f9fa;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
  max-height: 180px;
  object-fit: contain;
  margin-top: 15px;
}

.card-title {
  /* font-family: 'Playfair Display', serif; */
  font-size: 1.1rem;
  margin: 15px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #555;
  font-weight: 500;
  margin-bottom: 20px;
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
}

.slide-subtitle {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #666;
}

.slide-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.slide-image {
  max-height: 350px;
  object-fit: contain;
}

.table {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.about-section .section-label {
  color: #fff;
}

@media(max-width: 768px) {
  .swiper-slide {
    padding: 0;
  }

  .contact-image {
    display: none;
  }

  .about-floating-img {
    max-width: 300px;
  }

  .about-section,
  .contact-section {
    padding: 60px 0px;
    padding-left: 15px;
  }

  a.nav-link {
    text-align: right;
    padding-right: 15px;
  }

  .navbar-toggler:focus {
    outline: 0 !important;
    box-shadow: none !important;
  }

  nav.navbar {
    height: auto;
  }

  .slide-image {
    max-height: 250px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    transform: translateY(-100px);
  }

  .swiper-wrapper {
    align-items: center;
  }
}

/* =============================
   SCROLL TO TOP BUTTON
============================= */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  background: #000;
  color: #fff;
  transform: translateY(0) scale(1.1);
}

/* Show State */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}