/* General styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #1a3c5a;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  
  a {
    color: #1a3c5a;
    text-decoration: none;
  }
  
  a:hover {
    color: #1a3c5a;
    text-decoration: underline;
  }
  
  p {
    margin-bottom: 1.5rem;
  }
  
  /* Navbar */
  .navbar {
    background-color: #1a3c5a;
  }
  
  .navbar .navbar-brand img {
    height: 40px;
  }
  
  .navbar .nav-link {
    color: #fff;
    font-weight: bold;
  }
  
  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    color: #d1e6f3;
  }
  
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
  }
  
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff'%3E%3Cpath stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
      }
      
  
  /* Footer */
  footer {
    font-size: 0.9rem;
  }
  
  footer a {
    color: #333;
  }
  
  footer a:hover {
    color: #1a3c5a;
    text-decoration: none;
  }
  
  /* Utility classes */
  .text-md-right {
    text-align: right;
  }
  
  span {
    margin: 0 0.5rem;
  }
  
  .form-floating-right {
    position: fixed;
    top: 20%;
    right: 5%;
    width: 30%;
    background-color: #f8f9fa; /* Lighter background */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10; /* Ensures the form stays above other content */
  }
/* Form fields and fonts */
.form-floating-right label {
  font-weight: bold;
  color: #1a3c5a;
  margin-bottom: 0.5rem;
}



.form-floating-right input[type="number"],
.form-floating-right select {
  border: 1px solid #ced4da;
  border-radius: 5px;
  padding: 0.5rem;
  font-size: 1rem;
  color: #495057;
  margin-bottom: 1rem;
}

.form-floating-right input[type="number"]:focus,
.form-floating-right select:focus {
  border-color: #1a3c5a;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(26, 60, 90, 0.25);
}

.form-floating-right button {
  background-color: #1a3c5a;
  border: none;
  border-radius: 5px;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.form-floating-right button:hover,
.form-floating-right button:focus {
  background-color: #1e4668;
  outline: none;
}
  
/* Hero Section */
#hero {
  padding: 125px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('erc-hero.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
  text-align: left;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

#hero p {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

/* Calculator Form */
#calculator-form-container {
  position: absolute;
    top: 200px;
    /* right: 10%; */
    transform: translateY(-50%);
    background-color: rgba(26, 60, 90, 0.9);
    color: white!important;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#calculator-form-container h2 {
  color: white;
}



.data-section {
  padding-top: 50px;
}
