/*
.values-section {
  height: 10vh; 
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.values-sectionA {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.values-sectionA:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}
*/

.values-section {
  /*
  height: 10vh; 
  display: flex;
  justify-content: center; 
  align-items: center;
  */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  
}

.values-sectionA {

  display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 250px;
      height: 50px;
      background-color: white;
      color: #fff ;
      font-weight: bold;
      font-size: 18px;
      text-decoration: none !important;
      border-radius: 10px;
      position: relative;
      z-index: 0;
      cursor: pointer;
      text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
      transition: color 0.3s ease-in-out;
}

.values-sectionA:before {
  content: '';
  background: linear-gradient(45deg, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.values-sectionA:hover:before {
  opacity: 1;
}

.values-sectionA:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1e90ff;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.values-sectionA:active {
  color: #000;
}

.values-sectionA:active:after {
  background: transparent;
}


@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.values-sectionA:hover {
  color: white; 
}

.beliefs-benefits-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.beliefs-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.beliefs-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  padding: 40px 30px;
  border-radius: 8px;
  text-align: left;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.benefit-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.blue-bg {
  background-color: #add8e6;
  color: #333;
}

.white-bg {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #e0e0e0;
}

/* Responsive design */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .beliefs-title {
    font-size: 36px;
  }

  .beliefs-subtitle {
    font-size: 16px;
  }

  .benefit-card {
    padding: 30px 20px;
  }
}

.benefits-section {
    height: 10vh; 
    justify-content: center; /* horizontal center /
    align-items: center;     / vertical center /
    font-size: larger;
    text-align: center;
    padding: 350px 20px;
}

.card-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    flex-wrap: wrap; / allows cards to wrap if screen is too small */
  }

  .card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    flex-shrink: 0;
    text-align: left;
  } 


  /* Floating Navbar CSS */
  #floating-bar-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    justify-content: center;
  }

  #floating-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  #floating-bar .nav-link {
    color: grey;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 30px;
    transition: color 0.3s ease, background-color 0.3s ease;
  }

  #floating-bar .nav-link:hover {
    background-color: rgba(51, 209, 206, 0.2);
  }

  #floating-bar .nav-link.active {
    font-weight: 700;
    background-color: rgb(145, 115, 115);
    color: white;
  }

  @media (max-width: 768px) {
    #floating-bar-container {
      display: none;
    }
  }
    

  @media (max-width: 767px) {
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid #ccc !important;
        padding: 4px 8px !important;
        background-color: white !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    
    #mainNav {
        z-index: 1050 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
    }
    
    
    #floating-bar-container {
        z-index: 999 !important;
    }
}
