.what-we-do{
    margin-top:40px;
    margin-bottom:40px;
    width:49%;
    display:inline-block;
}
.what-we-do p{
    line-height:1.6;
}
.lerner-car{
    width:49%;
}

.how-it-works h2{
    margin-top:70px;
    text-align:center;
}
.how-it-works div{
    width:31%;
    display:inline-table;
    padding:1%;
}
.how-it-works h3{
    text-align:center;
}
.how-it-works p{
    line-height:1.6;
}
.pricing{
    overflow:visible!important;
    padding-bottom:50px;
}
.pricing h2{
    text-align:center;
    padding-top:70px;
    padding-bottom:30px;
}
.most-popular{
    position:absolute;
    top:-30px;
    width:96%;
    left:0;
    background:#6f0303;
    padding:2%;
    border-radius:20px 20px 0 0;
}
div.package:has(> div.most-popular){
    border-radius:0 0 20px 20px;
}
.package{
    width:29%;
    display:inline-table;
    position:relative;
    margin:1%;
    padding:1%;
    background:#b20a0a;
    text-align:center;
    border-radius: 20px;
    transition: transform 0.2s ease-in-out;
    -webkit-box-shadow:0px 30px 40px 0px rgb(0 0 0 / 20%);
    box-shadow:0px 30px 40px 0px rgb(0 0 0 / 20%);
}
.package:hover {
  transform: scale(1.05);
}
.package h4{
    border-bottom:1px solid rgba(255,255,255,0.2);
    padding-bottom:1.33em;
    margin-bottom:0;
}
#instant-plans h1{
    padding-top:0;
}
#instant-plans h1 span{
    font-size:13px;
}
.package span{
    font-size:.8em;
    margin-bottom:10px;
}
.package p{
    border-bottom:1px solid rgba(255,255,255,0.2);
    padding-bottom:1em;
    display:inline-block;
    width:75%;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:0;
}
.strike{
    text-decoration:line-through;
    opacity:.6;
}
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}
.question{
    background:rgba(0,0,0,0.4);
    border-radius:999px;
    padding: 2px 5px;
}
.package a{
    border-radius:99px;
    margin:30px auto 20px auto;
    background:#dd3333;
    display:inline-block;
    padding:11px 1.2em;
    font-weight:bold;
}
.package a:hover{
    background-color:#8e2121;
}

/* Pricing bar styles */

.nav-bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  border-radius:50px;
}

.active-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33.333334%;
  height: 100%;
  background-color: #b20a0a;
  transition: transform 0.3s ease-out;
  z-index:1;
  border-radius:50px;
}

.pricing-option {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0 20px;
  cursor: pointer;
  z-index:2;
  width:100%;
  text-align:center;
  height:100%;
  padding:15px;
}

/* Pricing plan styles */
.pricing-plans {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px 10px;
}

#instant-plans{
    width:100%;
}

#unavailable{
    position: absolute;
    width: 90%; 
    height: 95%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    padding: 5%;
}

#unavailable span{
    position: relative;
    top: 40%;
    left: 0;
    font-size: 25px;
    width: 77%;
}
@media only screen and (max-width: 1050px){
    .how-it-works div{
        width:30.9%;
    }
    .package{
        width:28.9%;
    }
}
@media only screen and (max-width: 740px){
    .how-it-works div{
        width:30.8%;
    }
    .package{
        width:28.8%;
    }
    
}
@media only screen and (max-width: 600px){
    .what-we-do{
        width:100%;
    }
    .lerner-car{
        width:100%;
        margin-bottom:30px;
    }
    .how-it-works div{
        width:100%;
    }
    .package{
        width:98%;
        margin:20px 0;
    }
}
@media only screen and (max-width: 500px){
    .nav-bar{
        display:block;
        border-radius:26px;
    }
    .active-border{
        height:33.33334%;
        width:100%;
        transform:translateY(-200%);
    }
    .pricing-option{
        position:inherit;
        margin:0;
        padding:15px 0;
    }
}