:root {
  --main-color: #3A0000;
  --light-color: #ffffff;
}

/* General */
body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  overflow-x: hidden;
  padding-top:  95px;
}

/* Navbar */
#mainNav {
  background-color: var(--main-color);
  transition: 0.3s ease;
  position: fixed;
  top: 32px; /* same as top bar height */
  width: 100%;
  z-index: 1040;
  padding: 5px 0;
}

#mainNav {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-nav .nav-link {
  color: var(--light-color);
  margin: 0 10px;
  position: relative;
  font-weight: 500;
  /*text-transform: uppercase;*/
  font-size: 0.7rem;   /* smaller text */
  letter-spacing: 0.5px;
}


/*.navbar-nav .nav-link {*/
/*  color: var(--light-color);*/
/*  margin: 0 15px;*/
/*  position: relative;*/
/*  font-weight: 500;*/
/*  text-transform: uppercase;*/
/*  font-size: 0.95rem;*/
/*}*/

.navbar .nav-link.active {
    color: #fff !important;
    font-weight: 600;
    border-bottom: 2px solid #fff;
}


/* .navbar .container {
  flex-wrap: nowrap;
} */

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: #fff;
}

/* Hero */
.hero-section {
  position: relative;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(58, 0, 0, 0.6);
}

.carousel-caption {
  bottom: 35%;
  max-width: 600px;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.carousel-caption p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.btn-hero {
  background-color: #fff;
  color: var(--main-color);
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 30px;
  transition: 0.3s ease;
}

.btn-hero:hover {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* Products */
#products {
  background-color: #fff;
}

.product-card {
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(58, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(58, 0, 0, 0.2);
}

.card-title {
  color: var(--main-color);
  font-weight: 600;
}

.btn-view-all {
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-view-all:hover {
  background-color: #210000;
}

/* Footer */
.footer {
  background-color: var(--main-color);
  color: #fff;
  font-size: 0.9rem;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .navbar-nav .nav-link::after {
    width: 0;
  }
  .navbar-nav .nav-link:hover::after {
    width: 40%;
  }
  .carousel-caption h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 0.9rem;
  }
}

/* body {
  padding-top: 80px; /* prevents fixed navbar overlap 
} */

/* @media (max-width: 576px) {
  body {
    padding-top: 70px;
  }
} */

@media (max-width: 576px) {
  .shadow-sm {
    padding: 1.25rem !important;
  }

  .contact-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .ratio {
    height: 260px;
  }

  .ratio iframe {
    height: 100%;
  }
}

.social-icons i {
  font-size: 1.8rem;
}

@media (max-width: 576px) {
  .social-icons i {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.95rem;
  }
}


/* @media (max-width: 420px) {
  .navbar-brand span {
    display: none;
  }
} */

#experts .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#experts .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#experts .btn:hover {
  background-color: #5c0a0a;
  color: #fff;
}


.top-bar {
  background-color: #210000;
  font-size: 0.85rem;
  position: fixed;
  top: 0;
  width: 100%;
  height: 32px;   /* control height */
  display: flex;
  align-items: center;
  z-index: 1050;
}


.top-bar a {
  text-decoration: none;
}

.top-bar i {
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
}



