body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;  /* Reset default margin */
    color: #3E4E65;
}

.container {
    flex: 1;
}

.container > :last-child {
    margin-bottom: 150px; /* Adjust as needed */
  }

/* Your footer styles */
footer {
    background-color: #333;  /* A mid-dark grey background */
    color: lightgrey;  /* Light grey text */
    text-align: center;  /* Center the text */
    padding: 1rem;  /* Add some padding */
}

/* In style.css */

.flex-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* In style.css */

.sticky-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.icon-button {
    display: inline-block;
    text-align: center;
    margin: 15px;
    color: inherit;
    text-decoration: none;
  }
  
  .icon-button i {
    display: block;
    margin-bottom: 10px;
  }
  
  .icon-button p {
    margin: 0;
    font-size: 1rem;
  }
  
  .icon-link {
    text-decoration: none;
    color: #3E4E65;
}

.icon-link:hover {
    color: #6780A2;  /* Change to whatever colour you want for hover */
}

/* Custom Card Styling */
.custom-card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .custom-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  .custom-card .card-header {
    background-color: #f1f1f1;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
  }
  
  .custom-card .card-body {
    padding: 1.5em;
  }
  
  .custom-card .card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
  }
  
  .custom-header {
    color: #3E4E65;  /* Same as your header text colour */
}

.custom-button {
    background-color: #3E4E65;  /* Same as your header text colour */
    color: white;  /* Text colour for the button */
}

/* CSS for Heart Rate Zones */
.zone {
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-align: center;
}

/* Additional styles if needed */
.zone:hover {
  opacity: 0.8;
}

/*Kitlist download*/
/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
}

.tabhead{
  background-color: #0e345e;
  color: #f1f1f1;
}

/* Elegant Download Button */
.download-button {
  background-color: #0e345e;
  border: none;
  color: white;
  padding: 8px 30px; /* Adjusted padding to reduce height */
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.download-button i {
  margin-right: 10px; /* Icon on the left */
}

/* Adjusting the width of the Download column */
.download-column {
  width: 15%;
  white-space: nowrap;
}

/* ... (other styles) */

/* Hover effect for the button */
button.download-button:hover, button.download-button:focus {
  background-color: #2b94eb !important;
}

/*UPDATED NAV

/* General navbar styling */
.navbar {
  background-color: #2c3e50; /* Elegant dark background */
}

.navbar-nav .nav-link {
  color: #ecf0f1 !important; /* Light grey text */
  padding: 10px 20px; /* Add padding for space */
  font-size: 1.1rem; /* Slightly larger font */
}

/* Hover effects for links */
.navbar-nav .nav-link:hover {
  color: #e74c3c !important; /* Red hover effect */
  transition: color 0.3s ease; /* Smooth transition */
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background-color: #34495e; /* Darker background for dropdown */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.dropdown-menu .dropdown-item {
  color: #ecf0f1 !important; /* Light text for dropdown */
  font-size: 1rem; /* Normal font size */
  padding: 10px 20px; /* Add padding for space */
}

/* Hover effects for dropdown items */
.dropdown-menu .dropdown-item:hover {
  background-color: #e74c3c; /* Red background on hover */
  color: #fff !important; /* White text */
  transition: background-color 0.3s ease; /* Smooth transition */
}

/* Mobile responsiveness: ensure dropdown looks good on mobile */
@media (max-width: 991px) {
  .navbar-nav {
      text-align: center; /* Center items on smaller screens */
  }
  .dropdown-menu {
      width: 100%; /* Full width on mobile */
  }
}


/* Challenges main layout

/* Card styles */
.challenge-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8f9fa;
}

.challenge-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.challenge-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.challenge-card .card-body {
  text-align: center;
  padding: 15px;
}

.challenge-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.challenge-card .card-text {
  font-size: 1rem;
  color: #6c757d;
}

.challenge-card a {
  text-decoration: none;
  color: inherit;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.challenge-card img {
  width: 100%;
  height: auto; /* Adjust height based on the image’s aspect ratio */
  object-fit: contain; /* Ensures the entire image is shown, fitting within the card */
}

.footer-logo {
  height: 30px;         /* Ensures the logo is small and non-intrusive */
  opacity: 0.7;         /* Slightly faded for subtlety */
  transition: opacity 0.3s ease;  /* Smooth fade effect on hover */
}

.footer-logo:hover {
  opacity: 1;           /* Brighter on hover for improved visibility */
}

.footer-link {
  display: inline-block; /* Ensures spacing is natural */
}


