html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
 }

.logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  padding: 6px;
  background: white;
}

.hero-wrapper {
  background: white;
  border-radius: 0;
}

.hero-slide {
  min-height: 60vh;
  background: transparent;
  position: relative;
  padding: 3rem 0;
}

.hero-copy {
  max-width: 520px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: #2c3a35;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  opacity: 0.82;
  color: #3b4a44;
}

@media (max-width: 767.98px) {
  .hero-slide {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }
}

/* Custom styles for Roots Alliance landing page */
.hero-slide {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 3rem 1rem;
  color: white;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 0.75rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.section-overline {
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.25rem;
}

.section-title {
  font-family: var(--bs-font-family-serif, serif);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: #2a3a33;
}

.product-hero {
  position: relative;
  border-radius: .2rem;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: white;
}

.product-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-tag {
  position: absolute;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
}

.product-hero-tag--top {
  top: 1rem;
  left: 1rem;
  font-size: 1.1rem;
}

.product-hero-tag--left {
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 1.1rem;
}

.product-hero-tag--right {
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 1.1rem;
}

.mission-heading {
  font-family: var(--bs-font-family-serif, serif);
  font-size: clamp(2.5rem, 6vw, 3.6rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #3a3a3a;
}

.mission-block p {
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
}


.contact-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px;
  background: white;
}

.contact-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
}


.contact-title {
  font-family: var(--bs-font-family-sans-serif);
  font-weight: 700;
  font-size: 1.75rem;
}

.contact-submit {
  background: #111;
  border: none;
  letter-spacing: 0.1em;
  padding: 0.75rem 1rem;
}

.contact-submit:hover {
  background: #000;
}

.site-footer {
  background: #7b7b7b;
  color: rgba(255, 255, 255, 0.92);
  padding: 2.25rem 0;
}

.footer-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.84;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 1.5rem 0;
  }

  .footer-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .product-hero-tag--left,
  .product-hero-tag--right {
    left: 1rem;
    right: auto;
    transform: none;
    writing-mode: vertical-rl;
    top: 1.25rem;
  }
}

/* Animations and Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.animate-fade-in.animate {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.animate-slide-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.animate-slide-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Hover Effects */
.product-hero {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-hero:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.brand-logo {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.contact-submit {
  transition: all 0.3s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-slide img {
  transition: transform 0.5s ease;
}

.hero-slide:hover img {
  transform: scale(1.02);
}

/* Parallax Effect for Hero */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-slide {
    background-attachment: scroll;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  animation: fadeIn 0.5s ease-in;
}

/* Hero section styles removed to keep original slider appearance */

.product-card {
  min-height: 320px;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

.product-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .hero-overlay {
    padding: 2rem 1rem;
  }

  .product-card {
    min-height: 260px;
  }
}
