/*------------- Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Belleza&family=Comfortaa:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*------------- CSS variables --*/
:root {
    --cqc-purple: rgb(109, 39, 106);
    --cqc-green: #458f00;
    --primary-color: #19d5ff;
    --secondary-color: #0f1e39;
    --primary-font: 'Comfortaa';
}

/* Para - built === Barabara - MNR tech */

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

body {
    background-color: white;
    font-family: var(--primary-font), sans-serif;
}

h1,
h2,
h3 {
    text-transform: capitalize;
    text-align: center;
}

h1,
h2 {
    color: var(--secondary-color);
    letter-spacing: 0.7px;
}

section h2 {
    font-size: 35px;
}

.site {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section.top {
    padding: 90px 0 0;
}

.section-heading {
    margin: 0 0 10px
}

.section-body {
    padding: 10px 5px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.service-item {
    padding: 12px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin: 20px 0;
}

.serv-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.serv-head img {
    border-radius: 8px;
}

.serv-head span {
    font-size: 25px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 18px 10px;
    margin: 0 0 10px;
    border-radius: 20px;
    width: 70px;
    height: 60px;
    text-align: center;
}

.serv-title {
    padding: 15px 5px;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: left;
    color: white;
}

.serv-text {
    color: white;
}

.serv-list {
    padding: 5px 10px;
}

.serv-list li {
    display: flex;
    justify-content: left;
    align-items: center;
}

.serv-list p {
    color: white;
}

.serv-list i {
    color: var(--primary-color);
    font-size: 18px;
}

.choose-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 12px 0;
}

.choose-title {
    margin: 5px 0 12px;
    font-weight: 800;
    color: var(--secondary-color);
}

.choose-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 18px 10px;
    margin: 0 0 12px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    text-align: center;
}

.desktop {
    display: none;
}

.mobile {
    display: block;
}

.header-main {
    z-index: 99;
    position: fixed;
    width: 100%;
    background-color: var(--secondary-color);
}

.nav-top {
    /* display: flex; */
    display: none;
    justify-content: end;
    align-items: center;
    width: 100%;
    height: 70px;
    padding: 6px 15px;
    background-color: var(--primary-color);
}

.nav-top .contact-link {
    margin: 0 12px;
    font-size: 14px;
}

.nav-top .button-style {
    margin: 5px;
    text-transform: capitalize;
    font-size: 14px;
}

.navbar-logo {
    display: flex;
    padding: 0;
}

.navbar {
    padding: 0;
}

.navbar-logo img {
    width: 200px;
}

.navbar-item a::after {
    content: "";
    width: 100%;
    height: 2px;
    display: block;
    transform-origin: center;
    transition: transform 0.8s ease;
    transform: scale(0);
    background-color: white;
}

.navbar-item.active a::after {
    content: "";
    width: 100%;
    height: 2px;
    display: block;
    transform-origin: center;
    transition: transform 0.8s ease;
    transform: scale(1);
}

.navbar-item a:hover::after {
    transform: scale(1);
    background-color: white;
}

.hamb-btn {
    position: relative;
    display: block;
    width: 45px;
    height: 45px;
    cursor: pointer;
    margin: 10px 8px;
    appearance: none;
    background: none;
    outline: none;
    border: 2px solid var(--primary-color);
    padding: 1px 4px;
    border-radius: 6px;
}

.hamb-btn .bar,
.hamb-btn::after,
.hamb-btn::before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: 0.4s;
    z-index: 98;
}

.hamb-btn.is-active::before {
    transform: rotate(-45deg) translate(-8px, 6px);
    background-color: var(--primary-color);
}

.hamb-btn.is-active::after {
    transform: rotate(45deg) translate(-9px, -8px);
    background-color: var(--primary-color);
}

.hamb-btn.is-active .bar {
    opacity: 0;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    background-color: var(--secondary-color);
    margin-top: 130px;
    display: block;
    transition: 0.4s;
    padding: 15px;
}

.mobile-nav.is-active {
    left: 0;
}


.mobile-nav li {
    text-align: center;
    margin: 0 auto 16px;
    padding: 12px 16px;
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.mobile-nav li:hover {
    background-color: var(--middle-blue);
    color: var(--secondary-color);
}

.logo-text {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.logo-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    font-family: "Archivo Black", sans-serif;
}

.logo-motto {
    color: var(--secondary-color);
    font-size: 13px;
    text-transform: capitalize;
    font-family: "Belleza", sans-serif;
}

.nav-list {
    display: none;
    padding: 0 15px;
    background-color: var(--secondary-color);
}

.nav-list .nav-link {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 10px 15px;
}

.navbar-item.active .nav-link,
.nav-list .nav-link:hover {
    font-weight: 700;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 5px;
    margin: 0 auto;
    max-width: 1200px;
}

.section p {
    padding: 10px;
    text-align: center;
}

.section.hero {
    margin: 0;
    max-width: 100vw;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel {
    width: 100%;
}

/* hero section */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.15);
    /* margin: 0 5px; */
}

.hero-item {
    width: 100%;
    -webkit-clip-path: circle(0% at 0 50%);
    clip-path: circle(0% at 0 50%);
}

.hero-item.active {
    -webkit-clip-path: circle(150% at 0 50%);
    clip-path: circle(150% at 0 50%);
    -webkit-transition: 2s;
    -o-transition: 2s;
    transition: 2s;
    -webkit-transition-property: -webkit-clip-path;
    transition-property: -webkit-clip-path;
    -o-transition-property: clip-path;
    transition-property: clip-path;
    transition-property: clip-path, -webkit-clip-path;
}

.hero-text {
    padding: 15px 30px;
}

.hero-text h3 {
    color: purple;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 10px;
    text-align: center;
}

.slide-control {
    z-index: 2;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    bottom: 80px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.slide-control .btn-item {
    background-color: rgb(202, 156, 202);
    width: 15px;
    height: 6px;
    margin: 10px;
    cursor: pointer;
}

.slide-control .btn-item.active {
    background: purple;
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.059);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.059);
}

.section.intro p {
    text-align: center;
}

.section.intro h2 {
    text-align: center;
    padding: 10px 15px;
}

.button-style {
    margin: 5px 10px;
    border-radius: 6px;
    padding: 8px 12px;
    height: 42px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    letter-spacing: 0.7px;
}

.button-style:hover {
    transform: scale(1.04);
    box-shadow: 0 4px #091f0a88;
}

.button-primary,
.button-primary-light:hover {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.button-primary-light,
.button-primary:hover {
    color: var(--primary-color);
    background-color: white;
    border: 2px solid var(--primary-color);
}

.button-secondary,
.button-secondary-light:hover {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.button-secondary-light,
.button-secondary:hover {
    color: var(--secondary-color);
    background-color: white;
    border: 2px solid var(--secondary-color);
}

.button-white {
    color: white;
    border: 2px solid white;
    font-weight: 700;
}

.button-white:hover {
    color: var(--primary-color);
    background-color: white;
}

.button-purple {
    color: white;
    background-color: var(--cqc-green);
    font-weight: 700;
    text-transform: capitalize;
    text-decoration: underline;
}

.button-blue {
    color: var(--secondary-color);
    background-color: white;
    font-weight: 800;
    text-transform: capitalize;
}


.button-indigo,
.button-indigo-light:hover {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.button-indigo-light,
.button-indigo:hover {
    color: var(--secondary-color);
    background-color: white;
    border: 2px solid var(--secondary-color);
}

/* start footer */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    position: relative;
    color: var(--primary-color);
    padding: 10px;
}

.wrapper-cqc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wrapper-cqc .overlap {
    height: 200px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -1px;
    z-index: -1;
}

.footer-cqc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 10px 15px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 40px;
}

.footer-cqc p {
    color: white;
    margin: 15px 10px 10px;
    text-align: center;
}

.img-cqc {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.img-cqc img {
    max-height: 110px;
    margin: 15px;
}

.text-cqc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-cqc a,
.text-cqc a:hover,
.text-cqc a:visited,
.text-cqc a:active {
    margin: 20px;
    color: white;
}

.footer-logo {
    width: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footer-top {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px 30px;
    padding-top: 10px;
}

.footer-item {
    margin: 10px 15px;
}

.footer-item.notice p {
    font-weight: 800;
}

.footer-item h4 {
    margin: 15px 0 30px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    text-align: center;
}

.footer-item h4::after {
    content: "";
    width: 20%;
    height: 5px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-item p.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-item p.contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--secondary-color);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 25px;
    color: var(--secondary-color);
    margin: 15px 0 10px;
}

.footer-item p.contact span {
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    text-align: center;
}

.quick-links .footer-link,
.business-hours td,
.business-hours th {
    color: var(--secondary-color);
}

.business-hours tr {
    border-bottom: 1px solid lightgrey;
}

.business-hours th {
    padding: 10px;
    text-align: left;
}

.business-hours td,
.business-hours .top {
    padding: 10px;
    text-align: center;
}

.footer-item address {
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

.footer-item.address p {
    margin: 5px 0;
}

/*--- video footer ---*/
.footer-video {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
    height: 250px;
    width: 290px;
    padding: 0;
}

.footer-video p {
    color: white;
}

.video-bg {
    width: 100%;
    height: 80%;
    filter: brightness(50%);
    object-fit: cover;
    border-radius: 10px;
}

.footer-video .cta-video {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, 0);
    height: max-content;
    width: 295px;
    align-content: center;
}

.footer-video p {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 8px;
    font-size: 14px;
}

.cta-video a {
    margin: 10px 0;
}

/* end footer */

/* start contact */
.box-parent {
    padding: 160px 20px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.box-wrapper {
    background-color: white;
    border-radius: 1rem;
    -webkit-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 20px 5px 30px;
    max-width: 550px;
    margin: 35px 0;
}

.box-wrapper h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: capitalize;
}

.box-form {
    padding: 30px 25px;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
}

.form-header h3 {
    font-weight: 800;
    margin-bottom: 15px;
}

.form-label {
    font-weight: 700;
}

.form-control {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.form-control::placeholder {
    color: var(--secondary-color);
    opacity: 1;
}

.box-form .custom-icon {
    width: 35px;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(19%) sepia(12%) saturate(6485%) hue-rotate(196deg) brightness(95%) contrast(91%);
}

.box-form .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.box-form .form-check-label {
    display: flex;
    align-items: center;
    text-transform: capitalize;
    margin-left: 12px;
}

input[type="radio"] {
    appearance: none;
}

input[type="radio"]:checked,
.form-check-input:checked {
    background-color: var(--primary-color);
    border: 2px solid #098879;
}

.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #7df63bb3;
    border: 1px solid #458c1f;
    border-radius: 10px;

}

.success-container h3 {
    margin: 15px 0 0;
    color: var(--secondary-color);
    font-weight: 800;
}

.success-container p {
    text-align: center;
    color: var(--secondary-color);
    margin: 15px;
}

.success-container .button-style {
    justify-content: space-evenly;
    width: max-content;
    text-transform: capitalize;
    font-size: 1.2rem;
}

.success-container .button-style i {
    padding-right: 20px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
}

/* end contact  */

.hidden-item {
    display: none;
}

.auto-show {
    animation: autoShowAnimation both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
}

@media screen and (min-width: 375px) {

    .box-wrapper {
        width: 90%;
    }
}

@media screen and (min-width: 768px) {

    .nav-list .nav-link {
        padding: 10px 5px;
        font-weight: 500;
    }

    .navbar-logo img {
        width: 260px;
    }

    .nav-list {
        display: flex;
    }

    .slide-control .btn-item {
        width: 30px;
    }

    .section.intro {
        flex-direction: row;
    }

    .section.intro p {
        width: 50%;
    }

    .section.intro h2 {
        width: 50%;
    }

    .section-body {
        flex-direction: row;
    }

    .service-item {
        width: 310px;
        margin: 20px;
    }

    .choose-item {
        width: 220px;
    }

    .section.about {
        flex-direction: row;
    }

    .section.about .section-body {
        flex-direction: column;
        width: 50%;
    }

    .section.about .section-heading {
        width: 350px;
    }

    .footer-cqc {
        flex-direction: row;
    }

    .img-cqc img {
        max-height: 300px;
    }

    .text-cqc {
        padding: 5px 10px;
        width: 85%;
    }

    .footer {
        flex-direction: row;
    }

    .footer-item {
        margin: 30px 15px;
    }

    .footer-item h4 {
        margin: 15px 0 20px;
    }

    .box-wrapper {
        -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        padding: 20px 20px 30px;
    }
}

@media screen and (min-width: 992px) {

    .img-cqc img {
        max-height: 150px;
    }

    .footer-top {
        justify-content: center;

    }

    .footer-item.address,
    .footer-item.business-hours {
        padding-left: 50px;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-video {
        height: 280px;
    }

    .video-bg {
        width: 400px;
    }

}


/* ------------------------------
 --------------  Keyframes  ------
 ------------------------------- */

@keyframes autoShowAnimation {
    from {
        opacity: 0;
        transform: translateY(300px) scale(0.1);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}