/* Reset and general styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  body {
    margin: 20px;
  }
  
  /* header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    padding: 1rem 2rem;
  } */
  header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    padding: 1rem 2rem;
    box-sizing: border-box; /* Prevent padding from affecting width */
  }
  
  
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  header ul li {
    margin-left: 1.5rem;
  }
  
  header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  header ul li a:hover {
    text-decoration: underline;
  }
  /* untested nav styling
  nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-right: 15px;
}

nav ul li a {
  text-decoration: none;
  color: black;
}

nav ul li a:hover {
  color: blue;
}
*/
  
  .hero {
    text-align: center;
    background: url('https://images.unsplash.com/photo-1472145246862-b24cf25c4a36?q=80&w=1471&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    color: #ff0c0c;
    padding: 6rem 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
  
  .content-section {
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .services {
    background: #f4f4f4;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .service-box {
    display: inline-block;
    width: 30%;
    margin: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .service-box:hover {
    transform: scale(1.05);
  }
  
  footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
  }
  
  footer .social-icons a {
    margin: 0 1rem;
    color: #fff;
    text-decoration: none;
  }
  
  footer .social-icons a:hover {
    text-decoration: underline;
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .service-box {
      width: 80%;
    }
  }


  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* background: rgba(0, 0, 0, 0.8); */
  }

  .carousel {
    position: relative;
    height: 600px; /* Adjust this to your desired height or remove to let images dictate height */
    overflow: hidden; /* Ensures content outside this height is not visible */
    display: flex;
    align-items: center; /* Center images vertically */
    justify-content: center; /* Center images horizontally */
    background-color: #000; /* Add a background color to fill empty space if needed */
  }
  
.carousel img {
    display: none;
    width: auto; /* Allow width to adjust automatically */
    height: 100%; /* Ensure the height fits within the container */
    object-fit: contain; /* Ensures the entire image is visible without cropping */
}
.carousel img.active {
    display: block;
  }

.medium-image {
    width: 400px;
    height: auto;
  }
  
/* tools page */
/* body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

.form-container {
  max-width: 400px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

select, input, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.result {
  font-weight: bold;
  color: #333;
} */
/* 
body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

.form-container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

select, input, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


button {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.result {
  font-weight: bold;
  color: #333;
} */



.form-container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

select, input, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Ensures padding and border are included in width */
  font-size: 16px; /* Ensures consistent font size */
}

button {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.result {
  font-weight: bold;
  color: #333;
}

/* section {
  padding-top: 60px; /* Adjust based on navbar height 
  margin-top: -60px; /* Optional: Offset the padding 
  height: 100vh; /* Just for example 
} */

code {
  background-color: #f4f4f4;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
  white-space: pre-wrap; /* Preserves new lines and wraps text */
}
/* body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #1a1a1a;
  color: white;
  font-family: Arial, sans-serif;
} */

canvas {
  width: 80%;
  max-width: 800px;
  height: 300px;
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-top: 20px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
}

button:hover {
  background-color: #0056b3;
}

/* begin performance styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

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

.metric-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-card h3 {
  color: #444;
  margin-bottom: 10px;
}

.metric-card p {
  color: #666;
  font-size: 1.1em;
}
/* end performance styling */