/* /////////////////// Variables /////////////////// */
:root {
    --ITM-price: "£100";
    --CBT-price: "£200";
    --DAS-3-price: "£837";
    --DAS-4-price: "£1,037";
    --DAS-5-price: "£1,237";

    --ff-fira: "Fira Sans Extra Condensed", sans-serif;
    --ff-Vidaloka: "Vidaloka", serif;
    --ff-Engagement: "Engagement", serif;
    --ff-Dancing-Script: "Dancing Script", cursive;
    --ff-Kalam: "Kalam", cursive;
    --ff--Montez: "Montez", cursive;
    --ff-Bangers: "Bangers", system-ui;

    --fs-300: 0.725rem;
    --fs-400: 1rem;
    --fs-500: 1.25rem;
    --fs-600: 1.625rem;
    --fs-800: 2.2rem;

    --header-nav-bg-color: rgb(247 237 208);
    --nav-btn-color: rgb(39, 58, 91);
    --hero-bg: rgb(247 237 208 / 0.6);
    --main-bg-color: rgb(254 190 0 / 0.2);

    --heading-shadow: 3px 3px rgba(0, 0, 0, 0.8);
    --price-shadow: 3px 3px rgba(0, 0, 0, 0.5);
    --box-shadow: 2px 2px 5px rgb(0 0 0 / 0.3);

    --das-bg-gradiant: linear-gradient(to top left, rgba(135, 201, 135, 0.5), rgba(135, 201, 135, 0));
    --das-splash-color: rgba(50, 128, 56, 1);
    --das-primary-color: rgb(135,201,135);

    --cbt-splash-color: rgba(218, 110, 61, 1);
    --cbt-primary-color: rgba(247, 124, 67, 1);
    --cbt-bg-gradiant: linear-gradient(to top left, rgba(247, 124, 67, 0.5), rgba(247, 124, 67, 0));

    --itm-splash-color: rgba(218, 61, 72, 1);
    --itm-primary-color: rgba(218, 61, 72, 1);
    --itm-bg-gradiant: linear-gradient(to top left, rgba(218, 61, 72, 0.5), rgba(218, 61, 72, 0));

    --course-page-info-box: rgb(252, 249, 229);
    --body-p-li-text-color: rgb(0 0 0 / 0.6);
}

/* /////////////////// Resets /////////////////// */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

p {
    text-wrap: pretty;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.3rem;

    height: 100%;
}

body {
    font-family: var(--ff-fira);
    font-weight: 400;
    color: rgb(7, 20, 29);
    background-color: var(--main-bg-color);
    min-height: 100%;

    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

button {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* /////////////////// Header /////////////////// */

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 4.3rem;
    background: var(--header-nav-bg-color);
}

.logo {
    margin-block-start: 0.5rem;
    width: 13rem;
    max-width: 22rem;
}

/* /////////////////// Nav Desktop /////////////////// */
.nav-btn {
    display: none;
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item, .dropdown-btn {
    padding-inline: 1rem;
    padding-block: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.dropdown-menu {
    position: relative;
}

.submenu-list {
    position: absolute;
    top: 3.33rem;
    display: grid;
    grid-template-rows: 0fr;
    transition: 300ms ease-in-out;
}


.submenu-item-wrapper {
    width: max-content;
    background-color: var(--header-nav-bg-color);
    box-shadow: var(--box-shadow);
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
}

.submenu-link {
    display: block;
    padding-inline: 1rem;
    padding-block: 0.5rem;
    cursor: pointer;
}

.submenu-list.show {
    grid-template-rows: 1fr;
}

.dropdown-btn:hover,
.menu-item:hover a,
.submenu-item:hover a {
    color: rgb(239 106 58);
}

.menu-item.active,
.submenu-item.active,
.dropdown-btn.active {
    color: rgb(239 106 58);
}


/* /////////////////// Menu Toggle Btn /////////////////// */
@media (width <= 850px) {
    .nav-btn {
        width: 40px;
        height: 40px;
        background-color: transparent;
        border: 1px solid var(--nav-btn-color);
        border-radius: 6px;
    }

    .nav-btn {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background-color: transparent;
        cursor: pointer;
    }
    .nav-btn .line {
        position: absolute;
        width: 80%;
        height: 4px;
        border-radius: 2px;
        background-color: var(--nav-btn-color);
    }
    .nav-btn .top {
        transform: translateY(-8px);
    }
    .nav-btn .bottom {
        transform: translateY(8px);
    }
    .nav-btn .line {
        transition: rotate 300ms ease-in, transform 300ms ease-in 300ms, opacity 0ms ease 300ms;
        transform-origin: center;
    }

    .nav-btn[aria-expanded = "true"] .line {
        transition: rotate 300ms ease-in 300ms, transform 300ms ease-in, opacity 0ms ease 300ms;
        transform-origin: center;
    }
    .nav-btn[aria-expanded = "true"] .top {
        transform: translateY(0px);
    }

    .nav-btn[aria-expanded = "true"] .bottom {
        transform: translateY(0px);
    }

    .nav-btn[aria-expanded = "true"] .middle {
        opacity: 0;
    }

    .nav-btn[aria-expanded = "true"] .top {
        rotate: 45deg;
    }

    .nav-btn[aria-expanded = "true"] .bottom {
        rotate: -45deg;
    }

/* /////////////////// Nav Mobile /////////////////// */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100vw;
    }
    .header-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 4.3rem;
        background-color: var(--header-nav-bg-color);
        box-shadow: var(--box-shadow);
    }

    .nav-wrapper {
        position: fixed;
        right: -100%;
        width: 100%;
        top: 4.3rem;
        transition: right 550ms ease-in-out;
    }


    .nav {
        flex-direction: column;
        position: relative;
        padding: 1.2rem 0;
        background-color: var(--header-nav-bg-color);
        box-shadow: var(--box-shadow);
    }

    .nav-wrapper[aria-expanded = "true"] {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
    }

    .menu-item {
        padding: 0;
    }

    .main-menu .menu-item .menu-link {
        display: block;
        width: 100vw;
        text-align: center;
        padding-block: 0.5rem;
    }

    .menu-item:not(:nth-last-of-type(1))::after,
    .dropdown-menu::after {
        content: '';
        position: absolute;
        width: 80%;
        height: 1px;
        left: 10%;
        background-image: linear-gradient(to right, rgba(10,10,30,0), rgba(10,10,10,0.5), rgba(10,10,10,0));
    }

    .submenu-list {
        position: relative;
        top: 0;
        text-align: center;
        width: 100%;
    }
    
    .submenu-link,
    .dropdown-menu,
    .dropdown-btn,
    .submenu-item-wrapper  {
        width: 100%;
        background-color: transparent;
        box-shadow: none;
    }
    
    
}

/* /////////////////// Home Page Main /////////////////// */
.content-wrapper p {
    color: var(--body-p-li-text-color);
}


/* /////////////////// Hero Section /////////////////// */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding-block: 1.5rem;
    background-color: var(--hero-bg);
    box-shadow: 0px 2px 12px rgb(0 0 0 / 0.6);
}

.image {
    width: 85%;
} 
.image img {
    rotate: -3deg;
    width: 100%;
    box-shadow: var(--box-shadow);
}
.headline-text {
    font-family: var(--ff-Dancing-Script);
    rotate: -20deg;
    text-align: center;
    font-size: 1.65rem;
    margin-block-end: 3rem;
}
.heading-logo {
    width: 10rem;
    margin-inline: auto;
}
@media (width >= 850px) {
    .image {
        width: 40%;
        max-width: 40rem;
        margin-inline-end: 1rem;
        margin-block: 3rem;
    }
    .heading {
        margin-block: auto;
        margin-inline-start: 1rem;
    }
    .headline-text {
        font-size: 2.8rem;
    }
}


/* /////////////////// Hero Section - Book & Learn More Buttons /////////////////// */
.book-btn-wrapper {
    margin-top: .5rem;
    display: flex;
    justify-content: center;
}

.book-btn-wrapper > div {
    width: fit-content;
    margin-block-start: 1rem;
}

.learn-more-btn {
    background-color: #3DD1E7;
    color: #000000;
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(1deg);
    margin-inline: 0.5rem;
}

.learn-more-btn:focus {
  outline: 0;
}

.learn-more-btn:after {
  content: '';
  position: absolute;
  border: 1px solid #000000;
  bottom: 4px;
  left: -4px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transition: 200ms ease-in-out;
}

.learn-more-btn:hover:after {
  bottom: 2px;
  left: 2px;
}

.book-cbt-btn {
    background-color: #ff8eee;
    color: #000000;
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(3deg);
    margin-inline: 0.5rem;
}

.book-cbt-btn:focus {
  outline: 0;
}

.book-cbt-btn:after {
  content: '';
  position: absolute;
  border: 1px solid #000000;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transition: 200ms ease-in-out;
}

.book-cbt-btn:hover:after {
  bottom: 2px;
  left: 2px;
}

/* /////////////////// Courses /////////////////// */
.courses-section {
    padding-block-end: 1.5rem;
    overflow-x: clip;
}

article {
    padding: 1.5rem;
}

.section-title {
    position: relative;
    left: -1.5rem;
    width: 100vw;
    font-family: var(--ff-Vidaloka);
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: -0.15rem;
    color: rgba(0, 0, 0, 0.8);
    padding-block: 1rem;
    background: rgba(254, 190, 0, 0.4);
    text-shadow: 2px 2px rgba(254 190 0 / 0.5);
    box-shadow: var(--box-shadow);
}

.section-title.courses {
    position: static;
}

/* /////////////////// ITM Card /////////////////// */
.itm-wrapper {
    position: relative;
    border: 2px solid black;
    container-type: inline-size;
    max-width: 440px;
    background-image: var(--itm-bg-gradiant);
}


.itm-heading-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    font-family: var(--ff-Kalam);
    font-weight: 700;
    font-style: normal;
}

.itm-heading {
    grid-column-start: 2;
    padding-inline-start: 6rem;
    font-size: 35cqi;
    letter-spacing: -2.2cqi;
    color: var(--itm-primary-color);
    text-shadow: var(--heading-shadow);
}

.itm-splash {
    position: absolute;
    width: 60cqi;
    top: -5cqi;
    left: -8cqi;

    &::before {
      content: var(--ITM-price);
      position: absolute;
      font-size: 20cqi;
      letter-spacing: -1.7cqi;
      rotate: -26deg;
      left: 10cqi;
      top: 8cqi;
      color: white;
      text-shadow: var(--price-shadow);
    }
}

.itm-heading-description {
    h4 {
      font-family: "Vidaloka", serif;
      font-weight: 700;
      font-style: italic;
      font-size: 12cqi;
      letter-spacing: -0.4cqi;
      padding: 0 3cqi;
      margin-top: -12cqi;
    }

    p {
      line-height: 1.5rem;
      padding: 0 3cqi;
      margin-top: 5cqi;
      color: var(--body-p-li-text-color);
    }

}

.itm-image {
    position: relative;
    max-width: 440px;
    margin-top: -15cqi;
    bottom: -6cqb;

    img {
      width: 108cqi;
    }
}

.itm-btn-container {
    position: absolute;
    bottom: 5cqb;
    left: 30cqi;

}

.book-itm-btn {
    background-color: var(--itm-primary-color);
    color: rgba(255 255 255 / 1);
    text-shadow: 2px 2px rgb(0 0 0 / 1);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(3deg);
    margin-inline: 0.5rem;
}

.book-itm-btn:focus {
  outline: 0;
}

.book-itm-btn:after {
  content: '';
  position: absolute;
  border: 2px solid rgb(255 255 255 / .8);
  bottom: 4px;
  left: 4px;
  width: calc(100% - 3px);
  height: calc(100% - 3px);
  transition: 200ms ease-in-out;
}

.book-itm-btn:hover:after {
  bottom: 2px;
  left: 2px;
}

/* /////////////////// CBT Card /////////////////// */
.cbt-wrapper {
    border: 2px solid black;
    container-type: inline-size;
    background-image: var(--cbt-bg-gradiant);
    position: relative;
}

.cbt-heading-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
}

.cbt-heading {
    font-size: 35cqi;
    letter-spacing: -4cqi;
    color: var(--cbt-primary-color);
    text-shadow: var(--heading-shadow);
}

.cbt-splash {
    position: absolute;
    width: 60cqi;
    top: -5cqi;
    left: 49cqi;

    &::before {
      content: var(--CBT-price);
      position: absolute;
      font-size: 20cqi;
      letter-spacing: -1.7cqi;
      rotate: -26deg;
      left: 7cqi;
      top: 8cqi;
      color: white;
      text-shadow: var(--price-shadow);
    }
}

.cbt-heading-description {
    container-type: inline-size;

    h4 {
      font-family: "Engagement", serif;
      font-weight: 300;
      font-size: 20cqi;
      line-height: 4.8rem;
      padding: 0 3cqi;
      margin-top: -15cqi;
    }

    p {
      line-height: 1.5rem;
      padding: 0 3cqi;
      margin-top: 5cqi;
    }

}

.text-wrap-shape {
    width: 40%;
    height: 39.4cqi;
    float: right;
    clip-path: polygon(99.9% 0, 100% 0, 100% 100%, 0 100%, 0 90%, 99.9% 90%);
    shape-outside: polygon(99.9% 0, 100% 0, 100% 100%, 0 100%, 0 90%, 99.9% 90%);
}

.cbt-image {
    position: relative;
    width: 110cqi;
    max-width: 440px;
    margin-top: -17cqi;
    bottom: -3cqb;
    
    img {
        width: 100%;

    }
}

.cbt-btn-container {
    position: absolute;
    bottom: 32%;
    left: 2cqi;

}

.btn-book-cbt {
    background-color: var(--cbt-primary-color);
    color: rgba(255 255 255 / 1);
    text-shadow: 2px 2px rgb(0 0 0 / 1);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-0deg);
    margin-inline: 0.5rem;
}

.btn-book-cbt:focus {
  outline: 0;
}

.btn-book-cbt:after {
  content: '';
  position: absolute;
  border: 1px solid rgb(0 0 0 / .8);
  bottom: 4px;
  left: 4px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transition: 200ms ease-in-out;
}

.btn-book-cbt:hover:after {
  bottom: 2px;
  left: 2px;
}

/* /////////////////// DAS Card /////////////////// */
.das-wrapper {
    border: 2px solid black;
    container-type: inline-size;
    background-image: var(--das-bg-gradiant);
    position: relative;
}

.das-heading-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
}

.das-heading {
    grid-column-start: 2;
    padding-inline-start: 6rem;
    font-size: 35cqi;
    letter-spacing: -4cqi;
    color: var(--das-primary-color);
    text-shadow: var(--heading-shadow);
    z-index: 1;

    .a1-a2 {
        display: none;
    }
}

.das-splash {
    position: absolute;
    width: 63cqi;
    top: -5cqi;
    left: -8cqi;
    rotate: -26deg;

    &::before {
      content: var(--DAS-3-price);
      position: absolute;
      font-size: 20cqi;
      letter-spacing: -1.7cqi;
      rotate: -16deg;
      left: 14cqi;
      top: 7cqi;
      color: white;
      text-shadow: var(--price-shadow);
    }

    &::after {
        content: "From";
        position: absolute;
        font-size: 10cqi;
        letter-spacing: -.7cqi;
        font-style: italic;
        rotate: -16deg;
        left: 5cqi;
        top: 7cqi;
        color: white;
        text-shadow: var(--price-shadow);
    }
}

.das-heading-description {
    h4 {
      font-family: var(--ff--Montez);
      font-weight: 800;
      font-size: 18cqi;
      line-height: 3.5rem;
      padding: 0 1.5rem;
      margin-top: -12cqi;
    }

    p {
      line-height: 1.5rem;
      padding: 0 3cqi;
      margin-top: 5cqi;
    }

}

.das-image {
    position: relative;
    width: 110%;
    max-width: 440px;
    margin-block-start: -19cqi;
    margin-inline-start: 0;
    bottom: -6cqb;

    .das-a {
        display: inline-block;
        width: 48%;
        margin-inline-start: 1rem;
    }

    .das-a2 {
        width: 52%;
        margin-inline-start: -2rem;
    }
}

.das-btn-container {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -3cqb;
    color: rgba(255 255 255 / 1);
}

.book-das-btn {
    background-color: var(--das-splash-color);
    
    text-shadow: 2px 2px rgb(0 0 0 / 1);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-3deg);
    margin-inline: 0.5rem;
}

.book-das-btn:focus {
  outline: 0;
}

.book-das-btn:after {
  content: '';
  position: absolute;
  border: 2px solid rgb(255 255 255 / .8);
  bottom: 4px;
  left: 4px;
  width: calc(100% - 3px);
  height: calc(100% - 3px);
  transition: 200ms ease-in-out;
}

.book-das-btn:hover:after {
  bottom: 2px;
  left: 2px;
}

/* /////////////////// Courses - Desktop /////////////////// */
@media (width >= 850px) {

    .courses-section {
        padding-block-end: 3rem;
    }

    .courses-wrapper {
        display: grid;
        grid-template-columns: 440px 1fr;
        grid-template-rows: 1fr;
        max-width: 1132px;
        margin-inline: auto;
    }

    .cbt-wrapper, .itm-wrapper {
        height: 46rem;
    }

    .cbt-heading {
        margin-inline: 1.5rem auto;
        margin-block-start: -1rem;
        font-size: 22cqi;
        z-index: 1;
    }

    .cbt-splash {
        width: 50cqi;
        margin-inline-start: 3rem;

        &::before {
            font-size: 18cqi;
            left: 1.4rem;
            top: 2.6rem;
        }
    }

    .cbt-heading-description {
        h4 {
            font-size: 12cqi;
            margin-block-start: -3.2rem;
        }

        p {
            width: 60cqi;
        }
    }

    .cbt-image {
        max-width: 550px;
        right: -7rem;
        bottom: 8rem;
    }

    .cbt-btn-container {
        bottom: 36%;
        left: 10cqi;
    }

    .das-course {
        grid-column: 1 / 3;
    }

    .das-heading {
        font-size: 15cqi;
    }

    .das-splash {
        width: 28cqi;
        rotate: -12deg;
        top: -.5cqi;
        left: -1cqi;
        
        &::before {
            font-size: 10.5cqi;
            letter-spacing: -.7rem;
            rotate: -12deg;
            left: 4.5cqi;
            top: 1.5cqi;
        }

        &::after {
            font-size: 5cqi;
            letter-spacing: -.2rem;
            rotate: -35deg;
            left: 1.5cqi;
            top: 2cqi;
        }
    }

    .das-heading {
        font-size: 14cqi;
        letter-spacing: -2cqi;
        padding: 0;
        margin-inline-start: 10rem;
        margin-block-start: -1.5rem;
        
        .a1-a2 {
            display: inline;
    
            .das-puntuation {
                font-size: 7cqi;
            }
        }
    }

    .das-heading-description {
        h4 {
            width: fit-content;
            font-size: 7cqi;
            margin-block: -2rem;
            margin-inline: auto;
        }

        p {
            margin-block: 4rem;
            max-width: 50%;
            margin-inline: auto;
            padding: 0;
        }
    }
    
    .das-image {
        max-width: 100cqi;
        margin-block-start: -25rem;

        
        .das-a {
            position: relative;
            right: -32rem;
            width: 25cqi;
            margin-inline-start: 2rem;
        }

        .das-a2 {
            width: 28cqi;
        }

        .das-a1 {
            position: relative;
            right: -8rem;
            width: 28cqi;
        }
    }

    .das-btn-container {
        text-align: unset;
        bottom: 12%;
    }

    .book-das-btn:after {
        border: 1px solid rgb(0 0 0 / .8);
    }

}

/* /////////////////// Why Choose Us Page Main /////////////////// */
.why-us-content-wrapper {
    padding-inline: 1.5rem;
    padding-block-end: 1.5rem;
}

.why-us-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-block-start: 1.5rem;
}

.list-wrapper {
    position: relative;
    width: max-content;
    padding-inline-start: 1.5rem;
    margin-block-end: 1.5rem;
}

.why-list {
    font-size: 4.4cqi;
    font-weight: 600;
    line-height: 1.2rem;
    list-style: none;

}

.why-list>li {
    line-height: 1.95rem;
    padding-inline-start: .8rem;
}

.why-list>li::before {
    content: url(../images/bulletStar.svg);
    position: absolute;
    width: 30px;
    left: 0;
}

.class-room> img {
    width: 100%;
    display: block;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 0.8);
}

/* /////////////////// Why Us Desktop Hero section /////////////////// */
@media (width >= 850px) {
    
    .list-wrapper {
        margin-inline-end: 1rem;
        align-content: center;
    }

    .why-list {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .why-list>li {
        position: relative;
        line-height: 3rem;
    }

    .why-list>li::before {
        width: 30px;
        top: 8px;
        left: -1.5rem;
    }

    .class-room {
        max-width: 40%;
        margin-inline-start: 1rem;
    }
}

/* /////////////////// Why Us Cards /////////////////// */
.choose-us-card {
    position: relative;
    background: var(--course-page-info-box);
    padding: 1rem;
    box-shadow: 3px 3px 8px rgb(0 0 0 / 0.3);

    ul > li {
        list-style: none;
        margin-block-start: 0.6rem;
    }

    h3 {
        color: rgb(0 0 0 / 0.7);
        margin-block-end: 0.2rem;
    }

    p {
        color: rgb(0 0 0 / 0.6);
        line-height: 1.5rem;
    }
    

    p {
        color: rgb(0 0 0 / 0.6);
        line-height: 1.5rem;
    }
}

.card-1 {
    rotate: -2deg;
    left: 2px;
    z-index: 1;
}

.card-2 {
    top: 8px;
}

.card-3 {
    rotate: 3deg;
    top: 15px;
}

.card-4 {
    top: 10px;
}

.card-5 {
    rotate: -2.5deg;
}

.why-experts-heading {
    margin-block-end: .5rem;
    line-height: 1.8rem;
}

.why-choose-heading,
.location-heading,
.promise-heading,
.courses-heading {
    font-size: 1rem;
    margin-block-end: 0.6rem;
}

.get-in-touch-wrapper {
    margin-block: 1.5rem;
}

.get-in-touch-heading {
    font-size: 1.5rem;
    margin-block-end: 0.6rem;
}

.get-in-touch-text {
    color: rgb(0 0 0 / 0.7);
    line-height: 1.5rem;
}

.get-in-touch-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-block-start: 1.5rem;
    margin-inline: 1.5rem;
}

.enquiry-btn, .ring-us-btn {
    position: relative;
    display: inline-block;
    font-family: var(--ff-Dancing-Script);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    border: 2px solid rgb(0 0 0 / 0.4);
    padding: 0.5rem 1rem;
    background-color: aquamarine;
    color: rgb(0 0 0 / 0.55);
    cursor: pointer;
}

.enquiry-btn > span {
    display: none;
}

.enquiry-btn::before {
    content: url("../images/50s-Star.svg");
    position: absolute;
    width: 50px;
    left: -35px;
    top: -30px;

}

.ring-us-btn::before {
    content: url("../images/50s-Star.svg");
    position: absolute;
    width: 50px;
    right: -35px;
    bottom: -35px;

}

/* /////////////////// Why Us Cards - Desktop /////////////////// */
@media (width >= 850px) {

    .why-section {
        max-width: 1132px;
        margin-inline: auto auto;
    }

    .why-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .card-1 {
        grid-column: 1 / 3;
        rotate: -1deg;
    }

    .card-4 {
        rotate: 2deg;
    }

    .get-in-touch-wrapper {
        grid-column: 1 / 3;
        margin-inline: 10%;
    }

    .enquiry-btn > span {
    display: inline-block;
}

    .ring-us-btn {
        display: none;
    }
}

/* /////////////////// Contact Form /////////////////// */
.contact-section {
    width: 100vw;
    padding-inline: 1.5rem;
    padding-block-end: 1.5rem;
    background-color: rgb(254 241 201);
}

.contact-form {
    max-width: 700px;
    margin-inline: auto auto;
    margin-block-start: 1.5rem;
    background-color: rgb(255 248 229);
    box-shadow: 3px 3px 6px rgb(0 0 0 / 0.4);
}


/* /////////////////// ITM page /////////////////// */
.itm-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.itm-page-wrapper h2 {
    margin-block-end: 1rem;
    font-size: 2rem;
}

.itm-page-wrapper p,
.itm-page-wrapper ul {
    color: rgb(0 0 0 / .6);
}

.details,
.what-you-do,
.requirements {
    padding-inline: 1rem;
    padding-block-start: 1.25rem;
    box-shadow: 3px 3px 8px rgb(0 0 0 / 0.4);
    line-height: 1.5rem;
}

.details > h2 > span {
    font-family: var(--ff-Kalam);
    font-size: 5rem;
    letter-spacing: -0.4rem;
    line-height: 4rem;
    color: var(--itm-primary-color);
    text-shadow: var(--heading-shadow);
}

.details {
    border: 1px solid rgb(0 0 0 / .8);
    margin-block: 1rem 2rem;
    background: var(--itm-bg-gradiant);
    display: flow-root;
    position: relative;
}


.itm-page-splash {
    position: absolute;
    right: -3rem;
    top: -2rem;
    width: 45cqi;
    max-width: 15rem;
    font-family: var(--ff-Kalam);
    font-weight: 700;
    

    &::before {
      content: var(--ITM-price);
      position: absolute;
      font-size: 16cqi;
      letter-spacing: -1.7cqi;
      rotate: -26deg;
      left: 7cqi;
      top: 15cqi;
      color: white;
      text-shadow: var(--price-shadow);
    }
}


.itm-riding {
    float: right;
    shape-outside: url(../images/itm-image-m.webp);
    width: 45vw;
    max-width: 15rem;
    margin-right: -1rem;
    margin-bottom: -2.5rem;
}

.itm-instruction {
    display: none;
}

.what-you-do {
    padding-block-end: 0.5rem;
    rotate: 2deg;
    background: var(--course-page-info-box);
}

.requirements {
    position: relative;
    padding-block-end: 1rem;
    margin-block-end: 1rem;
    background: var(--course-page-info-box);
}

.requirements > ul > li {
    padding-inline-start: 1.75rem;
    margin-block: 0.5rem;
}

.requirements > ul > li::before {
    content: url(../images/bulletStar.svg);
    position: absolute;
    width: 20px;
    left: 1rem;
}

.important {
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin-block: 1rem 0.5rem;
    border: 1px solid red;
    background: var(--itm-bg-gradiant);
    box-shadow: 3px 3px 8px rgb(0 0 0 / 0.4);
}

.warning {
    font-size: 1.5rem;
    margin-block-end: 0.3rem;
    color: rgb(236 36 36);
}

.itm-page-wrapper > .book-itm-btn {
    transform: rotate(0deg);
    width: 100%;
    margin-inline: auto auto;
    margin-block-end: 1rem;
}

.itm-page-wrapper > .book-itm-btn:after {
    border: 1px solid black;
}


/* /////////////////// ITM Page Desktop /////////////////// */
@media (width >= 850px) {
    .itm-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .details{
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .itm-page-splash {
        right: 6rem;

        &::before {
            font-size: 5.6rem;
            letter-spacing: -0.5rem;
            top: 5.6rem;
            left: 2rem;
        }
    }

    .itm-riding {
        max-width: 240px;
        margin-block-start: -12rem;
    }

    .itm-instruction {
        display: block;
        float: left;
        shape-outside:border-box;
        width: 290px;
        margin-block-start: -3rem;
        margin-inline-start: -1.5rem;
        margin-inline-end: 1.5rem;
        rotate: -4deg;
        box-shadow: var(--box-shadow);
    }

    .details > p {
        margin-inline: auto;
        max-width: 50%;
    }

    .details > h2 {
        margin-inline: auto;
        text-align: center;
        max-width: 50%;
    }

    .what-you-do {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .itm-page-wrapper > button:last-child {
        display: none;
    }

    .itm-page-wrapper .book-itm-btn {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        justify-self: center;
        align-self: end;
        margin-block-end: 3rem;
        max-width: 30%;
        width: 30%;
    }



}


/* /////////////////// ITM Booking Form /////////////////// */
.form-wrapper {
    min-width: 100%;
}

.itm-booking-form {
    margin-inline: 1.5rem;
    margin-block: 1.5rem;
    box-shadow: 2px 2px 5px rgb(0 0 0 /0.8);
}


@media (width >= 850px) {
    
    .form-wrapper {
        margin-inline: auto auto;
    }

    .itm-booking-form {
        max-width: 700px;
        margin-inline: auto auto;
        padding-inline: 1.5rem;
        background: var(--course-page-info-box);
    }
    
}

/* /////////////////// CBT Page /////////////////// */
.cbt-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.cbt-page-wrapper h2 {
    margin-block-end: 1rem;
    font-size: 2rem;
}

.cbt-page-wrapper p,
.cbt-page-wrapper .elements > ol > li {
    color: rgb(0 0 0 / 0.6);
}

.section-title.courses {
    padding-inline: 1rem;
}

.cbt-hero-wrapper, .das-hero-wrapper {
    width: 100%;
    padding: 1rem;
    margin-block-start: 1rem;
    border: 1px solid rgb(0 0 0 / .8);
    box-shadow: var(--box-shadow);
}

.cbt-hero-wrapper {
    background: var(--cbt-bg-gradiant);
}

.cbt-hero-text {
    margin-block-start: 1.5rem;
    line-height: 1.5rem;
    position: relative;
}

.cbt-hero-text > h2 > span {
    font-family: var(--ff-Kalam);
    font-size: 5rem;
    letter-spacing: -0.7rem;
    line-height: 4rem;
    color: var(--cbt-primary-color);
    text-shadow: var(--heading-shadow);
}

.cbt-page-splash {
    position: absolute;
    right: -3rem;
    top: -5.5rem;
    width: 50cqi;
    max-width: 15rem;
    font-family: var(--ff-Kalam);
    font-weight: 700;

    &::before {
      content: var(--CBT-price);
      position: absolute;
      font-size: 18cqi;
      letter-spacing: -1.7cqi;
      rotate: -26deg;
      left: 5cqi;
      top: 16cqi;
      color: white;
      text-shadow: var(--price-shadow);
    }
}

.hero-img {
    width: 100%;
    margin-inline: auto;
    margin-block-end: 2rem;
    rotate: -3deg;
}

.hero-img > img {
    width: 100%;
    display: block;
    box-shadow: var(--box-shadow);
}

.cbt-desktop-img {
    display: none;
}

.cbt-page-wrapper .cbt-btn-container {
    position: relative;
    margin-block: 1rem;
    width: 100%;
    left: 0;
    top: 0;
}

.cbt-page-wrapper .btn-book-cbt {
    width: 100%;
    margin-inline-start: 0;
}

.cbt-page-wrapper .btn-book-cbt-1to1 {
    background-color: var(--cbt-primary-color);
    color: rgba(255 255 255 / 1);
    text-shadow: 2px 2px rgb(0 0 0 / 1);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-0deg);
    margin-inline: 0.5rem;
    
}

.cbt-page-wrapper .btn-book-cbt-1to1:focus {
  outline: 0;
}

.cbt-page-wrapper .btn-book-cbt-1to1:after {
  content: '';
  position: absolute;
  border: 1px solid rgb(0 0 0 / .8);
  bottom: 4px;
  left: 4px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transition: 200ms ease-in-out;
}

.cbt-page-wrapper .btn-book-cbt-1to1:hover:after {
  bottom: 2px;
  left: 2px;
}

.cbt-page-wrapper .cbt-btn-container-1to1 {
    position: relative;
    margin-block-start: 1rem;
    width: 100%;
    left: 0;
}

.cbt-page-wrapper .btn-book-cbt-1to1 {
    width: 100%;
    margin-inline-start: 0;
}

.elements,
.how-long,
.experience-what-bring {
    padding-block: 1.5rem 1rem;
    padding-inline: 1rem 1rem;
    line-height: 1.75rem;
    background: var(--course-page-info-box);
    box-shadow: var(--box-shadow);
}

.elements {
    rotate: -2deg;
}

.experience-what-bring {
    rotate: 3deg;
    box-shadow: 2px 2px 8px rgb(0 0 0 / .3);
}

.experience-what-bring > h2:nth-child(3) {
    margin-block-start: 1rem;
}

.cbt-page-wrapper .elements ol li::marker,
.cbt-page-wrapper .elements ol li span {
    font-weight: bold;
    color: rgb(7, 20, 29);
}

ol li {
    margin-inline-start: 1rem;
    margin-block-end: 1rem;
}


/* /////////////////// CBT Page - Desktop /////////////////// */
@media (width >= 850px) {
    .cbt-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        
    }

    .cbt-hero-wrapper {
        grid-column: 1 / 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        justify-content: center;
    }

    .hero-img {
        width: 80%;
        margin-block-start: 1rem;
    }

    .cbt-desktop-img {
        display: block;
        width: 70%;
        position: absolute;
        right: -13rem;
        bottom: -5rem;
        z-index: 10;
        
    }

    .cbt-desktop-img > img {
        width: 100%;
    }

    .cbt-hero-text {
        width: 70%;
        shape-outside: url(../images/cbt-vespa-rider.webp);
    }

    .cbt-page-splash {
        right: -12rem;
        top: -3.5rem;


        &::before {
            font-size: 5.8rem;
            letter-spacing: -0.6rem;
            top: 5.5rem;
            left: 1.2rem;
        }
    }

    .cbt-page-wrapper .cbt-hero-wrapper .cbt-btn-container {
        width: 80%;
        display: inline-block;
        /* margin-block-start: 3rem; */
    }

    .cbt-page-wrapper .cbt-hero-wrapper .cbt-btn-container-1to1 {
        width: 80%;
        display: inline-block;
    }

    .elements {
        grid-column: 1 / 3;
        box-shadow: 0px 3px 10px rgb(0 0 0 / .4);
    }

    .cbt-page-wrapper > .cbt-btn-container {
        display: none;
    }

}

/* /////////////////// DAS Page /////////////////// */

.das-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.das-page-wrapper .das-btn-container {
    position: relative;
    margin-block-start: 1rem;
    width: 100%;
    left: 0;
    bottom: 0;
}

.das-btn-container p {
    margin-block-start: 1rem;
}

.das-page-wrapper .book-das-btn {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: .5rem 1rem;
    text-align: center;
    cursor: pointer;
    transform: rotate(0deg);
    margin-inline: 0rem;
    width: 100%;
}

.das-page-wrapper .book-das-btn:after {
    border: 1px solid rgb(0 0 0 / .8);
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

.das-page-wrapper h2 {
    margin-block-end: 1rem;
    font-size: 2rem;
}

.das-hero-wrapper {
    background: var(--das-bg-gradiant);
    /* margin-block-end: 0.5rem; */
    line-height: 1.5rem;
}

.das-hero-img img {
    width: 100%;
    rotate: 3deg;
    box-shadow: var(--box-shadow);
    margin-block-end: 0.3rem;
}

.das-hero-title > h2 > span {
    font-family: var(--ff-Kalam);
    font-size: 3.8rem;
    letter-spacing: -0.5rem;
    line-height: 3rem;
    color: var(--das-primary-color);
    text-shadow: var(--heading-shadow);
    margin-inline-start: -1rem;
}

.das-hero-title > h2 {
    text-align: center;
    color: rgb(7, 20, 29);
}

.das-page-hero-text > p {
    text-wrap: wrap;
    color: rgb(0 0 0 / 0.6);
}

.the-licenses {
    padding-block: 1.5rem 1rem;
    padding-inline: 1rem 1rem;
    line-height: 1.5rem;
    background: var(--course-page-info-box);
    box-shadow: var(--box-shadow);
}

.the-licenses {
    rotate: -2deg;
}

.prices {
    border: 1px solid black;
    text-align: center;
    font-family: var(--ff-Bangers);
    color: var(--das-primary-color);
    background: var(--das-bg-gradiant);
    box-shadow: var(--box-shadow);
    padding: 0.5rem 1rem;
    margin-block: 0.5rem 1rem;
}

.prices h2 {
    font-size: 3.2rem;
    margin-block-end: 0rem;
    text-shadow: 2px 2px var(--das-splash-color);
}

.das-page-wrapper p {
    text-wrap: wrap;
    color: rgb(0 0 0 / 0.6);
}

.course-days-3, .course-days-4,
.course-days-5 {
    padding-block: 1rem 1rem;
    padding-inline: 1rem 1rem;
    background: var(--course-page-info-box);
    box-shadow: var(--box-shadow);
    position: relative;
}

.course-days-3 span, .course-days-4 span,
.course-days-5 span {
    font-weight: 700;
    color: #000000;
}

.course-days-3 {
    rotate: 2deg;
    margin-block-end: 0.5rem;
}

.course-days-5 {
    rotate: -3deg;
    margin-block: 0.5rem 1rem;    
}

.course-days {
    border: 2px solid rgb(0 0 0 / .6);
    font-family: var(--ff-Bangers);
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    margin-block-end: 2rem;
}

.course-days-4 .course-days {
    text-align: right;
}

.das-price-splash-3 {
    position: absolute;
    width: 13rem;
    max-width: 15rem;
    right: -2.5rem;
    top: -2rem;
    margin-block-end: -6rem;
    font-family: var(--ff-Kalam);
    font-weight: 700;
    
    &::before {
        content: var(--DAS-3-price);
        position: absolute;
        font-size: 4.3rem;
        color: white;
        text-shadow: var(--price-shadow);
        letter-spacing: -0.5rem;
        rotate: -20deg;
        top: 1.5rem;
        left: 1.8rem;
    }
}

.das-price-splash-3 svg {
    fill: var(--das-splash-color);
}

.das-price-splash-4 {
    position: absolute;
    width: 13rem;
    max-width: 15rem;
    left: -2.5rem;
    top: -2rem;
    margin-block-end: -6rem;
    font-family: var(--ff-Kalam);
    font-weight: 700;
    
    &::before {
        content: var(--DAS-4-price);
        position: absolute;
        font-size: 4.3rem;
        color: white;
        text-shadow: var(--price-shadow);
        letter-spacing: -0.5rem;
        rotate: -26deg;
        top: 1.5rem;
        left: 1.4rem;
    }
}

.das-price-splash-4 svg {
    fill: var(--das-splash-color);
}

.das-price-splash-5 {
    position: absolute;
    width: 14rem;
    max-width: 15rem;
    right: -4rem;
    top: -2.5rem;
    margin-block-end: -6rem;
    font-family: var(--ff-Kalam);
    font-weight: 700;
    
    &::before {
        content: var(--DAS-5-price);
        position: absolute;
        font-size: 4.3rem;
        color: white;
        text-shadow: var(--price-shadow);
        letter-spacing: -0.5rem;
        rotate: -20deg;
        top: 1.8rem;
        left: 1.5rem;
    }
}

.das-price-splash-5 svg {
    fill: var(--das-splash-color);
}

/* /////////////////// DAS Page - Desktop /////////////////// */
@media (width >= 850px) {
    .das-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .das-hero-wrapper {
        grid-column: 1 / 3;
        display: grid;
        grid-template-columns: 4fr 3fr;
        gap: 1.5rem;
        justify-content: center;
    }

    .das-hero-title {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        text-align: center;
        margin-block-start: 2rem;
    }

    .das-hero-title > h2 > span {
        font-size: 6rem;
    }

    .das-page-hero-text {
        margin-block: auto auto;
    }

    .das-page-hero-text .das-btn-container {
        display: none;
    }

    .das-hero-img {
        margin-inline-start: -1rem;
    }

    .course-days-3, .course-days-4,
    .course-days-5 {
        grid-column: 2 / 3;
    }

    .the-licenses {
        grid-row: 2 / 6;
    }

    .prices {
        margin-block: 0.5rem 0rem;
    }

    .das-price-splash-3 {
        right: -1.5rem;
    }

    .das-price-splash-5 {
        right: -1.5rem;
    }

    .das-btn-container {
        grid-column: 1 / 3;
        justify-self: center;
        text-align: center;
    }

    .das-btn-container p {
        margin-block-start: 1rem;
    }
}

/* /////////////////// License Info Page /////////////////// */

.license-page-wrapper h2 {
    line-height: 2rem;
}

.license-page-wrapper h3 {
    color: rgb(0 0 0 / 0.7);
}

.categories p, .categories td {
    color: var(--body-p-li-text-color);
}

.categories .license-cat-table {
    margin-block-start: 1.5rem;
}

.categories table {
    border-collapse: collapse;
}

.categories th,
.categories td {
    border-bottom: 1px solid rgb(0 0 0 / 0.075);
    text-align: center;
    padding: 5px;
}

.categories ul {
    list-style-type: disc;
    margin-inline-start: 1rem;
}

.categories li::marker {
    color: var(--body-p-li-text-color);
    line-height: 1.5rem;
}

.license-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.license-page-wrapper h2 {
    margin-block-end: 1rem;
    font-size: 2rem;
}

.categories {
    padding-block: 1rem 1rem;
    padding-inline: 1rem 1rem;
    background: var(--course-page-info-box);
    box-shadow: var(--box-shadow);
    position: relative;
    line-height: 1.5rem;
}

.on-road-cannot {
    margin-block-start: 1rem;
}

.cat-explained {
    rotate: -2deg;
}

.official-link {
    margin-block-start: 1rem;
}

.official-link a {
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.official-link a::after {
    font-family: "Material Symbols Outlined";
    content: 'arrow_outward';
}

.bike-tests {
    rotate: 3deg;
}

.categories.bike-tests ul {
    list-style: none;
    margin-inline-start: 0;
}

.routes {
    rotate: -1deg;
}

.the-routes {
    margin-block-start: 1rem;
}

.the-rules {
    margin-block-start: 1rem;
}

.rules {
    rotate: 1deg;
}

/* /////////////////// License Info Page - Desktop /////////////////// */

@media (width >= 850px) {
    .license-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-start: 0.5rem;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .categories table {
        margin-inline: auto auto;
    }

    .cbt-can-cannot {
        display: grid;
        grid-template-columns: 1fr 1fr;

    }

    .on-road-cannot {
        margin-block-start: 0;
    }

}

/* /////////////////// Changes Page /////////////////// */

.changes-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.changes-page-wrapper h3 {
    color: rgb(0 0 0 / 0.7);
}

.categories.changes p,
.categories.first p,
.categories.first ul,
.categories.why p,
.categories.why ul,
.categories.why h3,
.categories.rights p,
.categories.plan p,
.categories.imposition p,
.categories.imposition ul,
.categories.imposition h3,
.categories.training p {
    margin-block-start: 1rem;
}

.categories.first ul li p,
.categories.why ul li p,
.categories.rights ul li p,
.categories.imposition ul li p {
    margin-block-start: 0;
}


.categories.first {
    rotate: -1deg;
}

.categories.rights {
    rotate: 2deg;
}

.categories.imposition {
    rotate: -2deg;
}

.categories.training {
    margin-block-end: 1rem;
}

/* /////////////////// Changes Page - Desktop /////////////////// */

@media (width >= 850px) {
    .changes { grid-area: changes; }
    .first { grid-area: first; }
    .why { grid-area: why; }
    .rights { grid-area: rights; }
    .plan { grid-area: plan; }
    .imposition { grid-area: imposition; }
    .training { grid-area: training; }

    .changes-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-start: 0.5rem;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-areas: 
        'changes first'
        'why first'
        'why rights'
        'plan imposition'
        'training training';
    }

    .why {
        rotate: 2deg;
    }

    .categories.rights {
        rotate: -2deg;
    }

    .training {
        margin-block-start: 0.5rem;
    }
}

/* /////////////////// Video Page /////////////////// */

.video-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.categories.videos {
    margin-block-start: 1rem;
}

.categories.videos p {
    margin-block-start: 1rem;
}

.mod-1,
.mod-2,
.on-road-training {
    margin-block-start: 1rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.video {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
}

/* /////////////////// Video Page - Desktop /////////////////// */

@media (width >= 850px) {
    .video-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-start: 0.5rem;
        margin-block-end: 1.5rem;
    }
}

/* /////////////////// Locations Page /////////////////// */

.locations-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.welling h2,
.sidcup h2 {
    margin-block-end: 1rem;
}

.welling h3, .sidcup h3 {
    color: rgb(0 0 0 / 0.7);
    margin-block-start: 1rem;
}

.welling {
    rotate: 3deg;
}

.sidcup {
    rotate: -1deg;
}

/* /////////////////// Locations Page - Desktop/////////////////// */

@media (width >= 850px) {
    .locations-page-wrapper {
        max-width: 1132px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-inline: auto auto;
    }
    
    .location-intro {
        max-width: 50%;
        margin-inline: auto auto;
        grid-column: 1 / 3;
    }

    .location-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

}

/* /////////////////// Jobs Page /////////////////// */

.instructor-jobs-page-wrapper {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    overflow-x: clip;
}

.instructor-jobs-page-wrapper h3 {
    color: rgb(0 0 0 / 0.7);
    margin-block-start: 0.5rem;
}

.instructor-jobs-page-wrapper h2 {
    margin-block-end: 0.5rem;
}

.looking-for ul li,
.must-haves ul li {
    color: var(--body-p-li-text-color);
}

.become-instructor {
    margin-block-start: 0.3rem;
    rotate: 3deg;
}

.why-instructor {
    rotate: -1deg;
}

.looking-for {
    rotate: 2deg;
}

.start-today {
    rotate: 2deg;
    margin-block-end: 1rem;
}

/* /////////////////// Jobs Page - Desktop /////////////////// */

@media (width >= 850px) {
    .become-instructor { grid-area: become; }
    .who-are-we-instructor { grid-area: who; }
    .why-instructor { grid-area: why; }
    .looking-for { grid-area: looking; }
    .must-haves { grid-area: must; }
    .start-today { grid-area: today; }

    .instructor-jobs-page-wrapper {
        max-width: 1132px;
        margin-inline: auto auto;
        margin-block-start: 0.5rem;
        margin-block-end: 1.5rem;
        display: grid;
        grid-template-areas: 
        'become become'
        'who who'
        'why looking'
        'why must'
        'today today';
    }

    .become-instructor {
        rotate: 0.5deg;
    }

    .who-are-we-instructor {
        rotate: -1deg;
    }

    .why-instructor {
        rotate: 1.5deg;
    }

    .must-haves {
        rotate: -1deg;
    }

    .start-today {
        rotate: 0deg;
    }
}


/* /////////////////// Footer /////////////////// */
footer {
    color: rgb(229, 228, 228);
    background-color: rgb(54, 54, 54);
    margin-top: auto;

}

.footer-wrapper {
    margin-inline: auto auto;
    padding: 1rem 1.1rem 1rem 1.2rem;
    font-size: 0.9rem;
    line-height: 1.3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.socials {
    max-width: 100%;
    margin-block-end: 1rem;
    grid-column: 1 / 3;
    display: flex;
    justify-content: center;
}

.facebook > a > img, .instagram > a > img {
    max-width: 50px;
    margin-inline-end: 1rem;
}

.footer-contact, .footer-locations {
    max-width: 400px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-block-end: 0.3rem;
}

.phone, .email, .harris, .sherwood {
    display: inline-block;
}

.phone, .harris {
    margin-block-end: 1rem;
}

.copy-right {
    font-size: 0.8rem;
    text-align: center;
    margin-block-start: 1.5rem;
    grid-column: 1 / 3;
}


@media (width >= 850px) {
    .footer-wrapper {
        width: 80%;
    }

    .footer-contact {
        margin-inline-end: 2rem;
        justify-self: end;
    }

    .phone, .harris {
        margin-inline-end: 1rem;
        margin-block-end: 0rem;
    }

}
