* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Century Gothic", Arial, sans-serif;
    background-color:  black;
}

#pricing-background{
    min-height: 100vh;
    width: 100%;
    background: url('/static/KeyImages/yortor_background_new4.png');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit, Arial, sans-serif;
}

/* Navbar styles */
.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5000;
    min-height: 56px;
    height: auto;
}

.navbar.with-dropdown {
    background-color: rgba(0, 0, 0, 0.00001); /* Semi-transparent black */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
}


/* Dropdown menu */
.dropdown-menu {
  visibility: hidden;
  position: absolute;
  top: 14px;
  left: 14px;
  margin-left: 53px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5500;
}

.dropdown-menu.show {
  visibility: visible;
  display: flex;
  opacity: 1;
}

#menu-home{
    margin-left: 10px;
    font-size: 25px;
    margin-right: 18px;
    color: black;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    align-items: center;
    text-align: left;
    line-height: 42.5px;
}

#menu-about, #menu-tcs, #menu-privacy, #menu-pricing, #menu-demo{
        font-size: 20px;
        margin-right: 24px;
        color: black;
        cursor: pointer;
        position: relative;
        text-decoration: none;
        align-items: center;
        text-align: left;
        line-height: 42.5px;
    }

#menu-about::after,  #menu-tcs::after,  #menu-privacy::after, #menu-pricing::after,  #menu-demo::after{
        content: ""; /* Create the pseudo-element */
        position: absolute; /* Position relative to the parent */
        bottom: 8px; /* Place at the bottom of the link */
        left: 0; /* Start at the left */
        width: 0; /* Initial width is 0 (hidden) */
        height: 2px; /* Height of the underline */
        background-color: black; /* Black underline */
        transition: width 0.6s ease; /* Smooth animation */
}

#menu-about:hover::after {
        width: 100%
    }

#menu-tcs:hover::after {
        width: 100%
    }

#menu-privacy:hover::after {
        width: 100%
}

#menu-pricing:hover::after {
        width: 100%
}

#menu-demo:hover::after {
        width: 100%
}

#navbar-right{
    display: flex;
}

#signin, #create-account {
    padding: 12px 18px;
    text-decoration: none;
    font-size: 16px;
}

#profile-icon i{
    color: black;
    font-size: 36px;
    line-height: 42.5px; /* match the 'signout' height */
    padding-left: 10px;
    padding-right: 10px;
    cursor:pointer;
}

#profile-icon i:hover {
    transform: scale(1.03);
}

#signout{
    border: 0px;
    color: #FCFCFC;
    background-color: black;
    padding: 12px 18px;
    text-decoration: none;
    font-size: 16px;
    font-family: "Century Gothic", Arial, sans-serif;
    cursor: pointer;
    position:relative;
}

#signout::after {
    content: ""; /* Create the pseudo-element */
    position: absolute; /* Position relative to the parent */
    bottom: 0; /* Place at the bottom of the link */
    left: 0; /* Start at the left */
    width: 0; /* Initial width is 0 (hidden) */
    height: 2px; /* Height of the underline */
    background-color: #fcfcfc; /* Black underline */
    transition: width 0.6s ease; /* Smooth animation */
}

#signout:hover::after {
    width: 100%; /* Full width on hover */
}

#signin{
    color: #FCFCFC;
    background-color: black;
    font-weight: bold;
    position: relative;
}


#create-account{
    color: black;
    background-color: #FCFCFC;
    font-weight: bold;
    position: relative;
}


#create-account::after {
    content: ""; /* Create the pseudo-element */
    position: absolute; /* Position relative to the parent */
    bottom: 0; /* Place at the bottom of the link */
    left: 0; /* Start at the left */
    width: 0; /* Initial width is 0 (hidden) */
    height: 2px; /* Height of the underline */
    background-color: black; /* Black underline */
    transition: width 0.6s ease; /* Smooth animation */
}

#create-account:hover::after {
    width: 100%; /* Full width on hover */
}

#signin::after {
    content: ""; /* Create the pseudo-element */
    position: absolute; /* Position relative to the parent */
    bottom: 0; /* Place at the bottom of the link */
    left: 0; /* Start at the left */
    width: 0; /* Initial width is 0 (hidden) */
    height: 2px; /* Height of the underline */
    background-color: #fcfcfc; /* Black underline */
    transition: width 0.6s ease; /* Smooth animation */
}

#signin:hover::after {
    width: 100%; /* Full width on hover */
}

#content-container{
    display: flex;
    flex-wrap: wrap;
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 80px;
    justify-content: left;
    column-gap: 40px;
    row-gap: 40px;
}

#pricing-statement {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 80px;
}


#pricing-sub-statement {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 30px;
    margin-left: 80px;
    margin-right: 80px;
}



/* Pricing Plans */
    #pricing-plans-container h2{
        font-size: 22px;
        font-weight: normal;
        margin-bottom: 10px;
    }

    #pricing-plans-container{
        max-width: 600px;
    }

    #pricing-plans-container2{
        display: flex;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    #credit-explainer1{
        font-size: 18px;
        font-weight: bold;
        line-height: 26px;
        margin-bottom: 12px;
    }

    #credit-explainer2{
        font-size: 18px;
        line-height: 26px;
    }

    .pricing-card.featured,  .price.featured{
           background-color: black !important;
           color: #fcfcfc !important;
    }

    .get-started-btn.featured{
           background-color: #fcfcfc;
           color: black;
    }

    .perks{
        margin-bottom: 20px;
        line-height: 20px;
    }

    .pricing-card{
         background-color: #FCFCFC;
         padding: 14px;
        border-radius: 12px;
    }

    .pricing-card .price {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 20px;
      color: black;
    }

    .pricing-card .price span {
      font-size: 12px;
    }


    .get-started-btn {
        display: inline-block;
        width: 100%;
        height: 32px;
        background-color: black;
        color: #fcfcfc;
        border: none;
        border-radius: 7px;
        font-family: "Century Gothic", Arial, sans-serif;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        vertical-align: top; /* Align tab headings to the top */
        line-height: 32px; /* Center text vertically */
        text-align: center; /* Center text horizontally */
        text-decoration: none; /* remove underline */
    }

    .get-started-btn:hover {
        background-color: #98EEA0;
        color: black;
    }



/* Savings Calculator */
    #savings-statement{
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: bold;
    }

    #savings-calculator-container{
        width: 100%;
        display: flex;
        column-gap: 20px;
        flex: 1;
    }

    #savings-calculator-results{
        display: flex;
    }

    #savings-calculator-results i{
            font-size: 22px;
            margin-top: 20px;
            margin-right: 10px;
            margin-left: 2px;
    }

    #savings-calculator-container2{
        background-color: #FCFCFC;
        padding: 20px;
        display: inline-block;
        border-radius: 12px;
        width: 100%;
        max-width: 400px;
    }

    #savings-tours-input{
        margin-bottom: 20px;
    }

    #savings-vehicle-input{
        margin-bottom: 20px;
    }

    #savings-vehicle-input i{
        margin-right: 6px;
    }

    .savings-input-titles{
        font-size: 13px;
        color: #9AA8C3;
        margin-bottom: 4px;
        font-weight:bold;
    }

    #without-optimiser-stats{
        border: solid 1px #9AA8C3;
        border-radius: 7px;
        margin-bottom: 10px;
        padding: 12px;
        overflow: hidden;
    }

    #with-optimiser-stats{
        border: none;
        border-radius: 7px;
        background-color: black;
        padding: 12px;
        color: #FCFCFC !important;
        overflow: hidden;
    }

    .dropdown-toggle {
        width: 100%;
        border: none;
        text-align: left;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-content {
        display: none;
        margin-top: 6px;
    }

    #without-optimiser-stats .dropdown-toggle {
        background: none;
        color: #9AA8C3;
    }

    #with-optimiser-stats .dropdown-toggle {
        background: none;
        color: #fcfcfc;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown.open .arrow {
        transform: rotate(180deg);
        display: inline-block;
    }


    #final-savings-stats{
        border-radius: 7px;
        padding: 20px 0px;
        font-size: 20px;
        width: max-content;
    }

    #final-savings-stats i{
        margin-right: 6px;
    }

    #without-optimiser-stats p{
        margin-bottom: 4px;
        color: #9AA8C3;
    }

    #with-optimiser-stats p{
        margin-bottom: 4px;
    }

    #fuel-with-optimiser, #fuel-without-optimiser {
        padding-bottom: 4px;
    }

    #fuel-cost-saved{
        font-weight:bold;
    }

    #emissions-saved{
        font-weight:bold;
    }

    #fuel-without-optimiser{
        color: #9AA8C3 !important;
    }

    .number-stepper {
        align-items: center;
        gap: 4px;
        margin-left: 40px;
        display: flex;
    }

    .stepper-btn{
        border: 0px;
        background: #FCFCFC;
        font-size: 16px;
        padding: 2px;
        cursor: pointer;
        color: #9AA8C3;
    }

    .minus:hover {
        color: black;
        background-color: #e9eef5;
    }

    .plus:hover {
        color: black;
        background-color: #e9eef5;
    }

    .number-input-container{
        display: flex;
        justify-content: space-between;
    }


    #savings-form input[type="number"] {
            background-color: #FCFCFC;
            border: 0px;
            height: 27px;
            width: 40px;
            padding: 6px 10px;
            font-size: 16px;
            border-radius: 0px;
            font-weight:bold;
            text-align: right;
            margin-bottom: 2px;
        }

    input[type="number"] {
        -moz-appearance: textfield;   /* Firefox */
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;     /* Chrome/Safari/Edge */
        margin: 0;
    }

     #savings-form input[type="number"]:focus {
      outline: none;
      z-index:1000;
    }

    #savings-tours-input label,
    #savings-vehicle-input label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        font-weight: bold;
    }

    #savings-tours-input label span {
      display: inline-block;
      width: 126px;
    }

    #savings-vehicle-input-hgv label span {
      display: inline-block;
      width: 106px;
    }

     #savings-vehicle-input-other label span {
      display: inline-block;
    }

    #savings-form{
        padding-left: 12px;
        padding-right: 12px;
    }

    .fuel-value {
        font-weight: bold;
        font-size: 42px;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .emissions-value {
        font-weight: bold;
        font-size: 42px;
        margin-top:4px;
        margin-bottom: 4px
    }

    .fuel-litre-value{
        font-weight: bold;
    }

    #fuel-litre-saved{
        margin-bottom: 14px;
        font-size: 16px;
    }

    #footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        background-color: black;
    }

    #footer-links{
        display: flex;
        flex-direction: column;
    }

    #footer-about, #footer-tcs, #footer-privacy, #footer-pricing, #footer-demo, #footer-account{
        width: fit-content;
        font-size: 18px;
        margin-bottom: 20px;
        color: #fcfcfc;
        cursor: pointer;
        position: relative;
        text-decoration: none;
    }

     #footer-about::after,  #footer-tcs::after,  #footer-privacy::after, #footer-pricing::after, #footer-demo::after, #footer-account::after{
        content: ""; /* Create the pseudo-element */
        position: absolute; /* Position relative to the parent */
        bottom: -3px; /* Place at the bottom of the link */
        left: 0; /* Start at the left */
        width: 0; /* Initial width is 0 (hidden) */
        height: 2px; /* Height of the underline */
        background-color: #FCFCFC; /* Black underline */
        transition: width 0.6s ease; /* Smooth animation */
    }

    #footer-about:hover::after {
        width: 47px;
    }

    #footer-tcs:hover::after {
        width: 175px;
    }

    #footer-privacy:hover::after {
        width: 114px;
    }

   #footer-pricing:hover::after {
        width: 55px;
    }

   #footer-demo:hover::after {
        width: 49px;
    }

   #footer-account:hover::after {
        width: 95px;
    }


    #panel-logo {
        width: auto;
        height: 34px;
        display: block;
    }

    #footer-company{
        margin-top: 80px;
        position: relative;
    }

    #footer-company p{
        color: #fcfcfc;
    }

    #footer-email{
        margin-top: 10px;
    }

    #footer-logo{
        margin-bottom: 20px;
        float: right;
        padding-left: 20px;
    }

    #footer-logo-contact{
        position: absolute;
        right: 0;
        bottom: 0;
    }

    #footer-copyright{
        width: 45%;
        padding-right: 20px;
    }
@media screen and (max-width: 900px) {
    #savings-calculator-container {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
        #pricing-statement {
            font-size: 36px;
             -webkit-text-size-adjust: 100%;
        }

        #pricing-sub-statement {
            font-size: 20px;
             -webkit-text-size-adjust: 100%;
        }

        #menu-home {
            margin-left: 0px;
        }

       #profile-icon i{
            padding-right: 0px
       }

        #menu-about, #menu-tcs, #menu-privacy, #menu-pricing, #menu-demo{
            margin-right: 20px;
         }

        .dropdown-menu {
              margin-left: 43px;
        }

        #content-container, #pricing-statement, #pricing-sub-statement{
            margin-left: 40px;
            margin-right: 40px;
        }


    }

@media screen and (max-width: 670px) {
    .dropdown-menu {
              visibility: hidden !important;
    }
}


@media screen and (max-width: 490px)  {

        #pricing-sub-statement {
            margin-bottom: 20px;
        }

        #pricing-statement {
            margin-top: 100px;
        }

        #savings-vehicle-input {
            display: block;
        }

         #savings-vehicle-input-hgv label span {
            margin-left: 0px;
        }

        #savings-vehicle-input-other label span, #savings-vehicle-input-hgv label span  {
            width: 126px;
        }

}


@media screen and (max-width: 420px)  {

    #pricing-plans-container{
        flex-wrap: wrap;
    }

    .pricing-card {
          flex: 1 1 130px;
    }
}