  html {
    scroll-behavior: smooth;
}

h2 {
    font-size: 2.8rem;
    font-weight: bold;
}

h2 span {
    color: #ff7024;
}

body,
::placeholder,
.form-control,
.form-select {
    font-family: "Assistant", sans-serif;
    font-size: 16px;
}

.form-control,
.form-select {
    border-radius: 1em !important;
}

html, body, p, td, th, tr {
    font-size: 16px;
    line-height: 1.2em;
    color: #666;
}

.btn-link {
    font-weight: 400;
    font-size: 14px;
    color: #ff7024;
    text-decoration: none;
    margin-bottom: 5px;
}

h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.btn {
    border-radius: 5px;
}

.btn-lg {
    font-size: 18px;
}

.btn-primary.btn-outline {
    text-decoration: none;
    border: 2px solid #ff7024;
    color: #ff7024;
    background: none;
    padding: 10px 25px;
    font-size: 21px;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #ff9459;
    border: 2px solid #ff9459;
    color: #ffffff;
}

.btn-primary.btn-outline:hover {
    background-color: #ff7024;
    color: #ffffff;
}

.btn-rounded {
    border-radius: 25px;
}

.text-primary {
    color: #ff7024;
}

.bg-primary {
    background-color: #ff7024;
}

.btn-primary {
    background-color: #ff7024;
    color: #ffffff;
    border-color: #ff7024;
}

.btn-primary:hover {
    background-color: #c4561d;
    border-color: #c4561d;
}

.navbar-brand>img {
    max-height: 40px;
}

.navbar {
    margin-bottom: 0;
}

.title {
    margin-bottom: 15px;
}

.title span {
    color: #ff7024;
}

.chevron-indicator {
    position: absolute;
    margin-top: -2em;
    right: 0;
    font-size: 10em;
    color: rgba(255,255,255,0.7); /* semi-transparent */
    pointer-events: none; /* allow scroll through */
    padding-right: 10px;
    text-shadow: 0 0 1px #ff7024;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #ff7024;
}

.nav-link {
    color: #ff7024;
}

@keyframes backAndForth {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0 0;
    }
}

#galleryCarousel img {
    min-height: 160px;
    object-fit: cover;
}

#main {
    background-color: #000000;
}

#mainform {
    min-height: 20px;
    padding: 1em 2em;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

#mainpic {
    padding: 0;
    box-sizing: border-box;
}

#formHeading {
    font-family: "Roboto Condensed", "Assistant", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1.1em;
    color: #ff7024;
}

#emblems {
    background: linear-gradient(45deg, #180e13, #1e1e41);
}

#emblems .item > img {
    margin: 5px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.why-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.why-content .item {
    border: 1px solid #eeeeee;
    width: 32%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #ffffff;
    box-shadow: rgba(0,0,0,0.03) 2px 2px 5px;
    border-top-right-radius: 15px;
}

.why-content .item p {
    margin-bottom: 0;
}

.why-content .item .head {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.why-content .item .head i {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #ff7024;
    color: #ffffff;
}

.why-content .item:nth-child(even) .head i {
    background-color: #000000;
}

.why-content .item .head h4 {
    margin-bottom: 0;
}

.why-content .item .head h4:after {
    display: block;
    content: "";
    border-bottom: #ff7024 1px solid;
    width: 45px;
}

.why-content .item .head h4,
.why-content .item .head i {
    font-size: 21px;
}

.programmes2 .card-img-top {
    object-fit: cover;
}

.programmes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.programmes .item {
    border-radius: 10px;
    max-width: 24%;
    margin: 5px 5px 15px 5px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.05) 1px 1px 15px;
}

.programmes .item h4,
.programmes .item p {
    margin-left: 15px;
    margin-right: 15px;
}

.programmes .item p {
    color: #ffffff;
}

.programmes .item.item2 {
    max-width: 360px;
    margin: 5px;
}

.programmes .item img {
    border-top-left-radius: 15px;
    object-fit: cover;
    max-height: 120px;
    margin-bottom: 15px;
    border-bottom: 1px #ff7024 solid;
}

#programmes .accordion-button.collapsed:not(.last) {
    border-bottom: 1px solid #eeeeee;
}

#programmes .accordion-button:not(.collapsed) {
    color: #ff7024;
}

#programmes button {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    padding: 1.5rem 1.25rem;
    border: 1px solid #ff7024;
}

section.programmes {
    border-bottom: 2px dashed #ff7024;
}

#programmes .card {
    border-radius: 1em;
    overflow: hidden;
}

.programmes2 .card {
    transition: ease all 0.5s;
}

.programmes2 .card:hover {
    transform: translateY(-10px);
    transition: ease all 0.5s;
    color: #000000;
}


.lead {
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

#carouselFeatured button {
    border: none;
}

p.mqa {
    margin-bottom: 0;
    font-style: italic;
    font-size: 12px;
}

#accordionProgrammes h4,
.programmes .item h4,
#featured-programmes h4 {
    text-transform: uppercase;
    color: #000000;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 15px;
}

#featured-programmes .row > div:nth-child(odd) > .card {
    border: #ff7024 1px solid;
}

#programmes .position-relative {
    background-color: #ffffff;
    padding: 15px;
    margin: -35px 10px 25px 10px;
}

#industry-recognition {
    border-bottom: #ff7024 1px solid;
}

#industry-recognition .item img {
    object-fit: contain;
    max-height: 200px;
}

#industry-recognition .card-text strong {
    color: #ff7024;
}

#industry-recognition .card-text:last-child {
    font-size: 14px;
    border-left: #cccccc 1px solid;
    padding-left: 15px;
    font-style: italic;
}

#thank-you-box {
    padding: 35px 25px;
}

#thank-you-box a {
    color: #ff7024;
    text-decoration: none;
}

.alert-primary {
    background-color: #ff7024;
    color: #ffffff;
    padding: 5px 55px;
}

.accordion-item {
    border: none;
}

.accordion-button:not(.collapsed) {
    color: unset;
    background: unset;
    box-shadow: unset;
}

.accordion-item h4 .accordion-button {
    font-weight: bold;
    font-size: 18px;
    border-bottom: #cccccc 1px dotted;
}

.accordion-button:hover,
.accordion-button:not(.collapsed) {
    color: #ff7024;
}

.testimonial-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial-grid .item {
    width: 24%;
}
.testimonial-grid .item p {
    color: #ffffff;
}

.testimonial-grid .item img {
    width: 100%;
    margin-top: 15px;
}

.testimonial-grid h4 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ff7024;
}

h2.carousel-text {
    font-size: calc(1rem + .9vw);
}

#cta1 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 2)), url("/toa/images/bg1.webp");
    background-size: cover;
    background-attachment: fixed;
}

#contact {
    background-image: url("/toa/images/google-map.webp");
    background-size: cover;
    background-attachment: fixed;
}

#contact i {
    margin-right: 5px;
    color: #ff7024;
}

#contact h3 {
    font-size: 21px;
}

#contact h4 {
    margin-top: 25px;
    font-size: 18px;
}

.sharing-icons img {
    width: 50px;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 80px;
    display: none;
    cursor: pointer;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    height: 50px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
}

.navbar-nav .nav-link {
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #ff7024 !important;
    text-decoration: none;
}

.big-text {
    font-size: 34px;
    color: #ff7024;
    text-transform: uppercase;
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;

}

.frame-form .form-control,
.frame-form .form-select {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px;
}

label.text-small {
    text-transform: uppercase;
    font-size: 12px;
    padding: 5px;
    margin-bottom: -5px;
}
.form-group {
    margin-bottom: 10px;
}

#mobileAccordion .accordion-button {
    font-weight: 600;
    border-bottom: 1px #cccccc solid;
    font-size: 18px;
    padding: 1em;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    70% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    90% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#why .fa,
.shaking {
    animation: shake 1s infinite;
}

.delay-1 {
    animation-delay: 1s;
}
.delay-2 {
    animation-delay: 2s;
}
.delay-3 {
    animation-delay: 3s;
}
.delay-4 {
    animation-delay: 4s;
}
.delay-5 {
    animation-delay: 5s;
}
@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

label {
    font-weight: bold;
}

#programmes .item .item-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    padding: 15px;
    min-height: 350px;
    height: 100%;
}
#programmes .item .item-text h4 {
    font-weight: bold;
    font-size: 23px;
}
#programmes .item:hover {
    animation: moveBackground 10s infinite alternate;
}
#programmes .item .item-text h4,
#programmes .item .item-text p {
    margin-left: 0;
    margin-right: 0;
}
#programmes .item .item-text p.mqa {
    color: #ffffff;
}
#programmes .item.item3 {
    max-width: 32%;
}


#emblems .item > img {
    height: 160px;
    margin: 5px;
}

.accordion-body {
    padding: 1rem 0;
}

.card-title {
    font-weight: bold;
    font-size: 21px;
}

.programmes2 .card-body,
.programmes3 .card-body {
    border-top: 3px solid #ff7024;
}

.programmes2 .card,
.programmes3 .card {
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 768px) {

    #mainform {
        position: relative;
    }

    #mainform::before {
        content: "";
        position: absolute;
        top: 40%; /* adjust to position vertically */
        left: -30px; /* place it to the left of the box */
        width: 0;
        height: 0;
        border-top: 40px solid transparent;
        border-bottom: 40px solid transparent;
        border-right: 35px solid #f5f5f5; /* match the background color */
    }

    .text-sm-white {
        color: #ffffff;
    }
    #divider1 {
        background-image: url("/toa/images/building.webp");
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center;
        height: 700px;
    }

}

@media (max-width: 991px) {
    .why-content .item {
        width: 48%;
    }

    .programmes2 .card {
        display: flex;
        flex-direction: row;
    }

    .programmes2 .card .card-img-top {
        width: 35%;
    }
    .programmes2 .card .card-body {
        border-top: 0;
        width: 65%;
    }

    .programmes2 .card .card-body p {
        font-size: 14px;
    }

    .programmes2 .card .card-body h4 {
        color: #000000;
    }

    .programmes2 .card .card-body p.mqa {
        font-size: 10px;
    }

}

@media (max-width: 767px) {

    .card-title {
        font-weight: bold;
        font-size: 18px;
    }

    header .container {
        display: block !important;
        text-align: center;
        width: 100%;
        padding: 10px 0;
    }

    #emblems {
        display: none;
    }

    .title h2 {
        font-family: "Roboto Condensed", "Assistant", sans-serif;
        font-size: 24px;
    }

    #formHeading {
        font-size: 26px;
    }

    #programmes .item.item3 {
        max-width: 100%;
    }
    .big-text {
        font-size: 28px;
    }
    .why-content .item {
        width: 100%;
    }

    .programmes .item {
        max-width: 100%;
    }

    .programmes .item img {
        max-height: 250px;
    }

    .testimonial-grid .item {
        width: 48%;
    }
}

@media (max-width: 1199px) {
    #emblems .overflow-x-scroll {
        overflow-x: scroll;
    }
    #emblems .item > img {
        height: 100px;
        width: auto;
    }
}
