html {
  scroll-padding-top: 2rem; /* prevent hidden content under navbar */
  font-size: 16px; /* base for rem units */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

/* Navbar */

.navbar {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.navbar-nav a {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  float: left;
  display: block;
  padding: 0.875rem 1rem; /* 14px 16px */
  transition: 0.3s;
}

/* Remove Bootstrap's default focus outline and border */
.navbar-toggler {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Optional: Add visible feedback ONLY on hover */
.navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0.1); /* subtle highlight */
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

/* Responsive navbar behavior */
@media (max-width: 62rem) { /* 992px */
  .navbar {
    background-color: white;
    padding: 0.625rem; /* 10px */
  }
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .navbar-nav .nav-link {
    display: block;
    width: 100%;
    padding: 0.625rem;
    text-align: left;
  }
  .hero-column-left {
    flex: 1 1 100%;
    width: 100%;
  }
  .hero-column-right {
    display: none;
  }
}

/* Navbar when scrolled */
.navbar.scrolled {
  background-color: #f4f4f4;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.2);
}

/* Login */
.modal-backdrop {
    z-index: 1050 !important;
}

.modal {
    z-index: 1060 !important;
}

/* Make sure nothing covers the modal */
nav.navbar {
    z-index: 1030 !important;
}

/* Optional: smooth animation */
.animate-modal {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.25s ease-out;
}

.modal.show .animate-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Hero Section */

.hero-column-left {
  float: left;
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-column-right {
  float: right;
  width: 50%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../assets/images/Hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
  background-color: #f8f9fa;
  opacity: 0.9;
  overflow: hidden;
}

#product-showcase {
  position: relative;
  overflow: hidden;
  padding: 5vh 0;
}

.transition-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

/* Each Card */
#product-showcase .card {
  flex: 0 0 100%;
  height: 55vh; /* responsive height */
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
}

/* Text Side */
#product-showcase .card-body {
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f8f9fa;
}

#product-showcase .card-title {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

/* Image Side */
#product-showcase .card-img-right {
  width: 50%;
  overflow: hidden;
  background-color: #f8f9fa;
}

#product-showcase .card-img-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navigation Buttons */
#product-showcase .nav-btn {
  z-index: 5;
  border: none;
  background: rgba(255, 255, 255, 0.0);
  color: #000;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

#product-showcase:hover .nav-btn {
  opacity: 1;
}

#product-showcase .nav-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 48rem) { /* 768px */
  #product-showcase .card {
    flex-direction: column;
    height: auto;
  }

  #product-showcase .card-body,
  #product-showcase .card-img-right {
    width: 100%;
  }

  #product-showcase .card-img-right img {
    height: 40vh;
  }
}

/* --- Read More Slide-Down Panel --- */

.product-details {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 2rem;
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.4s ease,
    padding 0.3s ease;
  border-bottom: none;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
}

.product-details.open {
  opacity: 1;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #ddd;
}

/* Read More button */
.read-more-btn {
  opacity: 1 ;          /* prevent fading */
  background: #33b6ff ;  /* Bootstrap primary color */
  color: #fff ;
  border-radius: 0.5rem ;
  width: auto ;
  height: auto ;
  padding: 0.5rem 1.2rem ;
  font-size: 0.9rem ;
  border: none ;
}

.read-more-btn:hover {
  background: #49f2fb ;
}

/* About */

.flex-container {
    display: flex;
    flex-direction: row;
}

@media (max-width: 62rem) { /* 992px */
  .flex-container {
    flex-direction: column;
    align-items: center;
  }
}

.affiliates-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #f4f4f4;
}

.mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-wrapper {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.icon-wrapper img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.icon-wrapper:hover {
  background-color: #e0e0e0;
  transform: scale(1.1);
}

.mission-item p {
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* Product */

.cuso-container img {
  width: 50%;
  height: auto;
  object-fit: contain;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Footer */

footer {
  bottom: 0;
  left: 0;
  width: 100%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}


/* Circular outline centered on screen */
/*
.hero-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;     <!-- diameter -->
    height: 500px;    <!-- diameter -->
    transform: translate(-50%, -50%);
    border: 7px solid #000;  <!-- black outline -->
    border-radius: 50%;
    pointer-events: none; <!-- so it doesn't block interactions -->
}
*/

/* Centered text styling */
/*
.hero-content {
    position: relative;
    z-index: 2; <!-- keep text above the circle -->
}
*/