/* Main navigation */
nav {
    height: 85px;
    width: 100%;
    margin: 0 auto;
    background-color:#ffffff;
    max-width: none !important;
  position:fixed;
  top: 0; /* ensure nav is pinned to the very top */
    z-index: 1000; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-wrapper {
    max-width:980px;
    margin:auto;
  }
  
  .logo img {
    height: auto;
    width: 100px;
    justify-self: start;
    vertical-align: middle;
    margin-right: 30%;
    margin-left: 20px;
  }
  
  nav ul {
    display: inline-block;
  }
  
  nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    position: relative;
  }
  
  nav ul li a {
    color: black;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    font-weight: bold;
  }
  
  nav a:not(.nav-logo)::after {
    content: "";
    top: 80%;
    border-bottom: solid 3px #019fb6;
    transition: transform 250ms ease-in-out;
    position: absolute;
    transform: scaleX(0);
}
  
  nav a:hover::after {
    transform-origin: 0% 50%;
    transform: scaleX(1);
  }
  
  nav a::after {
    right: 50%;
    left: 50%;
  }
  
  nav a:hover::after {
    right: 0;
    left: 0;
  }
  
  a.active {
    color: #28a745;
  }
  
  .checkbtn {
    font-size: 30px;
    color: black;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
  }
  
  #check {
    display: none;
  }
  
  @media (max-width: 858px) {
    label.logo {
      font-size: 30px;
      padding-left: 50px;
      display:none;
    }
    nav ul li a {
      font-size: 16px;
    }
  }
  @media (max-width: 858px) {
    .checkbtn {
      display: block;
    }
    .underwriters {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #2c3e50;
      top: 50px;
      left: -100%;
      text-align: center;
      transition: all 0.5s;
    }
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
    nav ul li a {
      font-size: 20px;
    }
    a:hover, a.active {
      background: none;
      color: #0082e6;
    }
    #check:checked ~ ul {
      left: 0;
    }
  }

  .checkout-form {
    max-width: 400px;
    margin: 24px auto;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.checkout-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-form button:hover {
    background: #0056b3;
}