*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    list-style: none;
    border: none;
}
/* Fonts */
@font-face {
    font-family: "TeimerBold";
    src: url("../fonts/TeimerBold.ttf");
}
@font-face {
    font-family: "TeimerSemiBold";
    src: url("../fonts/TeimerSemiBold.ttf");
}
@font-face {
    font-family: "GrangeExtendedBold";
    src: url("../fonts/GrangeExtendedBold.otf");
}
@font-face {
    font-family: "GrangeExtendedSemiBold";
    src: url("../fonts/GrangeExtendedSemiBold.otf");
}
:root{
    /* Brand colors */
    --color-brand-primary: hsl(33, 28%, 57%);
    --color-brand-secondary: hsl(130, 4%, 72%);
    --color-brand-tertiary: hsl(54, 33%, 94%);
    /* Neutral colors */
    --color-neutral-100: hsl(0, 0%, 100%);
    --color-neutral-200: hsl(0, 0%, 95%);
    --color-neutral-300: hsl(0, 0%, 90%);
    --color-neutral-400: hsl(0, 0%, 80%);
    --color-neutral-500: hsl(0, 0%, 70%);
    --color-neutral-600: hsl(0, 0%, 60%);
    --color-neutral-700: hsl(0, 0%, 40%);
    --color-neutral-800: hsl(0, 0%, 20%);
    --color-neutral-900: hsl(0, 0%, 0%);
    /* Highlight colors */
    --color-highlight-success: hsl(136, 53%, 43%);
    --color-highlight-warning: hsl(39, 100%, 50%);
    --color-highlight-danger: hsl(0, 99%, 50%);
    --color-highlight-info: hsl(201, 100%, 45%);
    /* Size, Margin, Spacing */
    --size-1: 0.0625rem;
    --size-6: 0.375rem;
    --size-12: 0.75rem;
    --size-14: 0.875rem;
    --size-16: 1rem;
    --size-18: 1.125rem;
    --size-20: 1.25rem;
    --size-24: 1.5rem;
    --size-36: 2.25rem;
    --size-48: 3rem;
    --size-60: 3.75rem;
    --size-72: 4.5rem;
    /* Fonts */
    --font-heading-bold: 'TeimerBold', sans-serif;
    --font-heading-semibold: 'TeimerSemiBold', sans-serif;
    --font-body: 'Liberation Sans', sans-serif;
    --font-btn-bold: 'GrangeExtendedBold', sans-serif;
    --font-btn-semibold: 'GrangeExtendedSemiBold', sans-serif;
    /* Transitions, box shadow, radius */
    --transition: 300ms ease all;
    --shadow: rgba(0, 0, 0, 0.35) 0 0 0.5rem;
    --border-radius: 0rem;
}
html, body{
    position: relative;
    height: 100%;
}
body{
    font-family: var(--font-body);
    font-size: var(--size-14);
    overflow: hidden;
    position: relative;
}
.container{
    width: 90%;
    margin: auto;
}
h1,h2,h3,h4,h5,h6{
    font-family: var(--font-heading-bold);
    color: var(--color-neutral-800);
}
p{
    font-family: var(--font-body);
}
/* Margins start */
.m-6{
    margin-top: var(--size-6);
    margin-bottom: var(--size-6);
}
.m-12{
    margin-top: var(--size-12);
    margin-bottom: var(--size-12);
}
.m-24{
    margin-top: var(--size-24);
    margin-bottom: var(--size-24);
}
.m-36{
    margin-top: var(--size-36);
    margin-bottom: var(--size-36);
}
.m-48{
    margin-top: var(--size-48);
    margin-bottom: var(--size-48);
}
.m-60{
    margin-top: var(--size-60);
    margin-bottom: var(--size-60);
}
.m-72{
    margin-top: var(--size-72);
    margin-bottom: var(--size-72);
}
/* Margins end */
/* Paddings start */
.p-6{
    padding-top: var(--size-6);
    padding-bottom: var(--size-6);
}
.p-12{
    padding-top: var(--size-12);
    padding-bottom: var(--size-12);
}
.p-24{
    padding-top: var(--size-24);
    padding-bottom: var(--size-24);
}
.p-36{
    padding-top: var(--size-36);
    padding-bottom: var(--size-36);
}
.p-48{
    padding-top: var(--size-48);
    padding-bottom: var(--size-48);
}
.p-60{
    padding-top: var(--size-60);
    padding-bottom: var(--size-60);
}
.p-72{
    padding-top: var(--size-72);
    padding-bottom: var(--size-72);
}
/* Paddings end */
/* General UI start */
::selection {
  color: var(--color-neutral-100);
  background: var(--color-brand-primary);
}
img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-primary{
    padding: var(--size-6) var(--size-24);
    display: inline-block;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-size: var(--size-16);
    font-family: var(--font-btn-semibold);
    transition: var(--transition);
    text-align: center;
    line-height: 2rem;
    letter-spacing: var(--size-1);
    width: fit-content;
    text-transform: capitalize;
    background: var(--color-brand-primary);
    color: var(--color-neutral-100);
    border: var(--size-1) solid var(--color-brand-primary);
}
.btn-primary:focus, .btn-primary:hover,.btn-outline:focus, .btn-outline:hover,.btn-outline-light:focus, .btn-outline-light:hover, .icon-button:hover{
    background: var(--color-brand-secondary);
    color: var(--color-neutral-100);
    border: var(--size-1) solid var(--color-brand-secondary);
}
.btn-outline{
    background: var(--color-neutral-100);
    border: var(--size-1) solid var(--color-neutral-900);
    color: var(--color-neutral-900);
}
.icon-button{
    background-color: var(--color-brand-primary);
    border: var(--size-1) solid var(--color-brand-primary);
    padding: var(--size-12);
    color: var(--color-neutral-100);
    cursor: pointer;
    transition: var(--transition);
    height: 2.625rem;
}
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-spinner {
  width: var(--size-16);
  height: var(--size-16);
  border: 0.125rem solid rgba(255,255,255,0.3);
  border-top: 0.125rem solid #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.submit-area{
    margin-top: var(--size-48);
    text-align: center;
}
.full-width{
    width: 100%;
}
.link{
    font-family: var(--font-btn-semibold);
    text-decoration: underline;
    color: var(--color-brand-primary);
    cursor: pointer;
}
.hint{
    color: var(--color-neutral-700);
}
.small-hint{
    color: var(--color-neutral-500);
    font-size: var(--size-12);
}
label{
    font-weight: 800;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"] {
    background: var(--color-neutral-100);
    width: 100%;
    padding: var(--size-12);
    height: 2.625rem;
    border-bottom: var(--size-1) solid var(--color-neutral-900);
    transition: var(--transition);
    margin: var(--size-6) 0;
}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="number"]::placeholder, input[type="tel"]::placeholder{
    color: var(--color-neutral-500);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="tel"]:focus {
    border-bottom: var(--size-1) solid var(--color-brand-primary);
}
.input-group{
    margin: var(--size-12);
}
.sm-img{
    width: 15rem;
}
.checkbox-container {
    display: block;
    position: relative;
    padding-left: var(--size-24);
    cursor: pointer;
    font-weight: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: var(--size-24) 0;
}
.checkbox-container input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: var(--size-20);
    width: var(--size-20);
    background-color: var(--color-neutral-300);
}
.checkbox-container:hover input ~ .checkmark {
  background-color: var(--color-neutral-400);
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-brand-primary);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-container .checkmark:after {
  left: 0.4rem;
  top: 0.1rem;
  width: .5rem;
  height: 0.875rem;
  border: solid var(--color-neutral-100);
  border-width: 0 0.188rem 0.188rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.success{
    color: #22BB33;
    font-weight: 800;
}
.error{
    color: #FE0303;
    font-weight: 800;
}
#form-feedback1, #form-feedback{
    display: none;
}
/* Toast container */
#toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

/* Toast */
.toast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--size-12);
  align-items: start;

  padding: var(--size-12) var(--size-12) var(--size-12) var(--size-14);
  border-radius: var(--size-14);
  backdrop-filter: blur(--size-12);

  box-shadow: 0 var(--size-12) var(--size-36) rgba(0,0,0,0.25);

  transform: translateX(--size-18);
  opacity: 0;
}

/* Slide in */
.toast.is-in {
  transform: translateX(0);
  opacity: 1;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* Slide out */
.toast.is-out {
  transform: translateX(--size-18);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast-title {
  font-weight: 700;
  font-size: var(--size-14);
  margin: 0;
}

.toast-msg {
  margin: var(--size-1) 0 0;
  font-size: var(--size-14);
  opacity: 0.85;
  line-height: 1.35;
}

/* Close button */
.toast-close {
  width: var(--size-36);
  height: var(--size-36);
  border-radius: var(--size-1);
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.toast-close:hover {
  background: rgba(255,255,255,0.08);
}

/* Types */
.toast.success { 
    background: var(--color-highlight-success);
    color: var(--color-neutral-100);
}
.toast.error   { 
    background: var(--color-highlight-danger);
    color: var(--color-neutral-100);
}
.toast.info    { 
    background: var(--color-highlight-info);
    color: var(--color-neutral-100);
}
.toast.warning { 
    background: var(--color-highlight-warning);
    color: var(--color-neutral-100);
}

/* Mobile placement (optional) */
@media (max-width: 560px) {
  #toast-container {
    left: var(--size-16);
    right: var(--size-16);
    top: var(--size-16);
    width: auto;
  }
}

/* General UI end */
/* Nav start */
nav{
    background: var(--color-brand-tertiary);
    padding: var(--size-12) 0;
    height: 8%;
}
.inner-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    width: 9.375rem;
    height: 3.125rem;
    overflow: hidden;
}
.social a{
    margin: 0 var(--size-12);
    background: var(--color-brand-secondary);
    color: var(--color-neutral-100);
    font-size: var(--size-14);
    padding: var(--size-12);
    transition: var(--transition);
}
.social a:hover{
    background: var(--color-brand-primary);
}
/* Nav end */
/* Main start */
.main{
    height: 92%;
    display: flex;
}
.hero{
    width: 40%;
    height: 100%;
    position: relative;
}
.hero img {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 350ms ease;
  opacity: 1;
}

.hero img.is-fading {
  opacity: 0;
}
.hero .caption{
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: var(--size-36);
    font-family: var(--font-heading-bold);
    color: var(--color-neutral-100);
}
.panel{
    height: 100%;
    width: 60%;
    padding: var(--size-20) 0;
    overflow-y: auto;
    position: relative;
}
.footer{
    padding: var(--size-12);
    color: var(--color-neutral-800);
    background: var(--color-neutral-100);
    width: 100%;
    text-align: right;
}
@media only screen and (max-width: 1200px){
    .main{
        flex-direction: column;
        height: 92%;
        overflow-y: auto;
    }
    .hero, .panel{
        width: 100%;
    }
    .panel{
        overflow-y: visible;
    }
    .top span{
        text-align: right;
    }
}
.heading{
    padding: var(--size-24) 0;
}
.progress{
    height: var(--size-6);
    width: 100%;
    background: var(--color-neutral-200);
    position: relative;
    margin-top: var(--size-24);
}
.progress-bar{
    height: 100%;
    width: 0%;
    background: var(--color-brand-primary);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.4s ease;
}
.overview p{
    margin: var(--size-12) 0;
    color: var(--color-neutral-700);
}
.accordion-group{
    margin-top: var(--size-24);
}
.acc-item{
    margin: var(--size-12) 0;
}
.acc{
    padding: var(--size-24) var(--size-20);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--size-1) solid var(--color-neutral-200);
    transition: var(--transition);
    cursor: pointer;
    font-size: var(--size-16);
    font-weight: 600;
}
.acc:hover{
    border: var(--size-1) solid var(--color-neutral-500);
}
.acc-panel-wrapper{
    margin-top: var(--size-12);
}
.acc-panel{
    background: var(--color-neutral-200);
    margin: var(--size-12) 0;
    padding: var(--size-20);
}
.acc-panel .title{
    font-size: var(--size-16);
    font-weight: 700;
    margin: var(--size-12) 0;
}
.modules{
    margin: var(--size-12) 0;
}
.modules .title{
    font-size: var(--size-14);
    margin: var(--size-12) 0;
}
.modules p{
    color: var(--color-neutral-800);
    margin: var(--size-12) 0;
}
.modules ul li{
    list-style-type: disc;
    list-style-position: inside;
    color: var(--color-neutral-800);
    padding: 0 var(--size-12);
    margin: var(--size-6) 0;
}
.modules button{
    margin-top: var(--size-24);
}
.acc-panel-wrapper{
    height: auto;
    display: none;
    overflow: hidden;
}
.nested-acc-trigger{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-24);
    background: none;
    width: 100%;
    cursor: pointer;
}
.nested-acc-trigger span{
    font-size: var(--size-16);
    font-weight: 700;
    margin: var(--size-12) 0;
}
.nested-acc-panel{
    padding: var(--size-20);
    width: 100%;
    display: none;
}
.nested-acc-panel p{
    color: var(--color-neutral-800);
}
.checkout-panel{
    padding: var(--size-20);
    border: var(--size-1) solid var(--color-neutral-400);
}
.checkout-panel p{
    margin: var(--size-24) var(--size-12);
}
.checkout-panel form{
    width: 30%;
    padding: 0 var(--size-20);
}
.inline-input{
    position: relative;
}
.inline-input .icon-button{
    position: absolute;
    right: 0;
    bottom: 0.5rem;
}
.email-list{
    display: flex;
    flex-direction: column;
    gap: var(--size-12);
    margin-top: var(--size-12);
}
.email-list .email{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.email-list .email i{
    color: var(--color-highlight-danger);
    cursor: pointer;
}
.confirmation{
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--size-12);
}
.confirmation i{
    font-size: var(--size-36);
    color: var(--color-brand-primary);
}
.invoice-wrapper{
    width: 100%;
    background: var(--color-neutral-200);
}
.invoice-container{
    background: var(--color-neutral-100);
}
.invoice-container .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--size-36) 0;
    border-bottom: var(--size-1) solid var(--color-neutral-500);
}
.top span{
    font-size: var(--size-24);
    font-weight: 800;
}
.invoice-details{
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: var(--size-36) 0;
}
.invoice-details p{
    margin: var(--size-12) 0;
}
.invoice-details .right, .invoice-date .right{
    text-align: right;
}
.invoice-date{
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: var(--size-24) 0;
}
.invoice-items{
    background: var(--color-neutral-200);
    padding: var(--size-20);
}
.invoice-items p{
    font-size: var(--size-20);
    font-weight: 800;
}
.invoice-items table{
    width: 100%;
    background: var(--color-neutral-100);
    padding: var(--size-20) var(--size-12);
    margin-top: var(--size-24);
    border-collapse: collapse;
}
.invoice-items table th, .invoice-items table td{
    text-align: left;
    padding: var(--size-20);
}
.invoice-items table thead, .invoice-items table thead tr th, .invoice-items table tr, .invoice-items table tr td{
    border-bottom: var(--size-1) solid var(--color-neutral-300);
    border-right: var(--size-1) solid var(--color-neutral-300);
}
.invoice-items table thead tr th:last-child, .invoice-items table tr td:last-child{
    border: none;
}
tr .total{
    text-align: right;
}
.invoice-footer{
    padding: var(--size-36) 0;
    display: flex;
    justify-content: center;
    gap: var(--size-12);
}
@media only screen and (max-width: 1200px){
    .invoice-items{
        width: 100%;
        overflow-x: auto;
    }
    .invoice-items table{
        width: max-content;
    }
    .invoice-footer{
        flex-wrap: wrap;
    }
    .confirmation{
        height: 24vh;
    }
    .checkout-panel form{
        width: 100%;
    }
}
#payfast-form{
    width: 100%;
}
/* Main end */