@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

:root {
    --bunting: #181f48;
    --zircon: #f5f7ff;
    --gray-chateau: #99a1a7;
    --periwinkle-gray: #c2cbe1;
    --pigeon-post: #aeb9d6;
    --zircon: #f0f5ff;
    --melrose: #aec4ff;
    --haiti: #0f1634;
    --waikawa-gray: #5f699a;
    --loafer: #eff6e8;
    --catskill-white: #e2e7f3;
    --big-stone: #18223c;
    --trout: #495057;
    --dodger-blue: #316aff;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--bunting);
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--haiti);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    position: relative;
    background-color: var(--zircon);
}

header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1.8rem 0;
    background: var(--bunting);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
    transition: position 500ms ease;
    z-index: 9999;
    white-space: nowrap;
}

.menu {
    display: none;
}

header.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    transition: all 300ms ease;
}

header nav {
    display: flex;
    align-items: center;
}

header nav .nav-item {
    padding: 0 2rem;
    margin-left: 100px;
}

header nav .nav-item a {
    text-decoration: none;
    color: var(--gray-chateau);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.2px;
    transition: color 500ms ease;
}

header .nav-logo h1 {
    text-decoration: none;
    color: var(--zircon);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1.2px;
    transition: color 500ms ease;
    margin-left: 17px;
}

header nav .nav-item a:hover,
header nav .nav-item.active a {
    color: var(--zircon);
}

header .demo a {
    background-color: var(--dodger-blue);
    color: var(--zircon);
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 1px;
    padding: .8rem 1rem;
    border-radius: 30px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

header .demo a:hover {
    filter: drop-shadow(3px 3px 4px rgba(255, 255, 255, 0.1));
}

header .close,
header .hamburger {
    display: none;
}

#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bunting);
}

#hero .owl-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    width: 70%;
}

#hero .owl-carousel .item {
    width: 100%;
    display: none;
}

#hero .navigation {
    position: absolute;
    bottom: 8%;
}

#hero .navigation .btn {
    height: 15px;
    width: 15px;
    background-color: var(--gray-chateau);
    border-radius: 50%;
    margin: 0 5px;
    display: inline-block;
}

#hero .navigation .btn.active {
    background: var(--dodger-blue);
}

#hero .owl-carousel .item.active {
    display: inline;
    --webkit-animation: fade 1s;
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: .7
    }

    to {
        opacity: 1;
    }
}

#hero .owl-carousel .item .container {
    text-align: center;
    color: var(--zircon);
    margin: 70px 0 150px;
}

#hero .owl-carousel .item .container h1 {
    font-size: 6rem;
    margin-top: 150px;
    letter-spacing: .5rem;
}

#hero .owl-carousel .item .container p {
    font-size: 1.2rem;
    margin: 1rem 0;
    letter-spacing: 1.2px;
}

#hero .owl-carousel .item .container .default-img {
    max-width: 90%;
    margin: auto;
    height: auto;
    margin-bottom: 1rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
}

.mobile-container {
    display: grid;
    grid-template-columns: auto auto auto;
      justify-content: center;  /* centers the grid as a whole horizontally */
  align-items: center;      /* centers items vertically within each grid cell */
  gap: 1rem;   
}


#hero .owl-carousel .item .container .mobile-banner {
    border-radius: 10px;
    max-height: 500px;
    width: auto;
    margin: auto;
    margin-bottom: 1rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
}

#features {
    width: 100%;
    background: white;
}

#features .container {
    padding: 10rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#features .container .hero {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#features .container .hero h3 {
    font-size: 30px;
    width: 35rem;
    margin-right: 10rem;
    color: var(--bunting);
}

#features .container h2 {
    font-size: 3rem;
    color: var(--bunting);
    text-align: center;
    margin-top: 7rem;
    transition: all 300ms ease;
}

#features .container .main {
    position: relative;
    margin-top: 5rem;
    width: max-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: .3rem 5rem;
}

#features .container .main .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 200px;
    height: 200px;
    background: var(--zircon);
    margin: 30px;
    padding: 10px;
    box-shadow: 0px 4px 15px 1px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: box-shadow 500ms ease;
}

#features .container .main .item svg {
    color: var(--dodger-blue);
    margin: 10px 0;
    width: 75px;
    height: 75px;
}

#features .container .main .item span {
    text-align: center;
    font-size: 16px;
    width: 150px;
    height: 50px;
    color: var(--bunting);
}

#features .container .main .item:hover {
    box-shadow: none;
}

#about, #privacy-policy {
    padding: 13rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#about h3, #privacy-policy h3 {
    font-size: 3rem;
}

#about .content{
    margin: 2rem 0;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#privacy-policy .content{
    display: flex;
    justify-content: center;
    margin: 2rem 13rem;
    gap: 1rem;
}

#about .content .image {
    display: flex;
    flex-direction: column;
}

#about .content .image img {
    height: 200px;
}

#about .content .image img:first-child {
    margin-right: 2rem;
    margin-bottom: 2rem;
}

#about .content .image img:last-child {
    margin-left: 10rem;
    margin-bottom: 2rem;
}

#about .content .text, #privacy-policy .content .text {
    width: 85%;
    height: 100%;
}

#about .content .text p, #privacy-policy .content .text p {
    font-size: 21.7px;
    text-justify: auto;
    margin-top: 20px;
}

#demo {
    display: none;
    background: white;
    padding: 6.80rem 0;
}

#demo .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#demo .content h4 {
    color: var(--bunting);
    font-size: 26px;
    margin: 1rem 0;
}

#demo .content .success-message {
    height: 70px;
    width: 560px;
    margin: 1rem 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bunting);
    text-align: center;
    display: none;
}

#demo .content .success-message span {
    font-size: 18px;
    color: var(--bunting);
    cursor: default;
}

#demo .content .input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 0 0 0;
}

#demo .content .input-group .input-demo {
    width: 560px;
    height: 50px;
    border: 2px solid var(--dodger-blue);
    border-radius: 30px;
    padding: 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--bunting);

}

#demo .content .input-group span {
    align-self: flex-start;
    margin: 0 20px 0;
    color: red;
    display: none;
}

#demo .content .g-recaptcha {
    margin-top: 17px;
}

#demo .content .input-demo::placeholder {
    color: var(--gray-chateau);
}

#demo .content .input-group textarea {
    width: 560px;
    height: 200px;
    border: 2px solid var(--dodger-blue);
    border-radius: 30px;
    padding: 1rem;
    font-size: 16px;
    color: var(--bunting);
    resize: none;
    font-family: 'Lato', sans-serif;
    padding-bottom: 2rem;
    margin-bottom: 5px;
}

#demo .content .input-group textarea #demo .content .input-group .input-demo:focus,
#demo .content .input-group .input-demo:active,
#demo .content .input-group textarea:active,
#demo .content .input-group textarea:focus {
    border: 3px solid var(--dodger-blue);
}



#demo .content form {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
}

#demo .content form .demo {
    width: 160px;
    height: 49px;
    margin: 1rem 0;
    background: var(--dodger-blue);
    color: #fff;
    border-radius: 30px;
    border: none;
    filter: drop-shadow(0px 4px 4px rgba(89, 89, 89, 0.25));
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

#contact-us {
    background: white;
    padding: 5rem 0 0 2rem;
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

#contact-us .info {
    padding: 0 13rem;
    width: 80%;
    display: flex;
    justify-content: start;
    flex-direction: column;
}

#contact-us .info .item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

#contact-us .info .item .text {
    margin: 20px 0 0 20px;
}

#contact-us .info .item:nth-child(3) .text {
    margin-top: 0;
}

#contact-us .info .item .text h5 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

#contact-us .info .item .text p, a {
    color: var(--waikawa-gray);
    text-decoration: none;
}

#contact-us .info .item:last-child {
    flex-direction: column;
    align-items: flex-start;
}

#contact-us .info .item:last-child .text,
#contact-us .info .item:last-child .icon {
    margin-left: 3rem;
}

#contact-us .logo {
    padding: 0 15rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


footer {
    background: var(--bunting);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    color: var(--zircon);
}

footer a {
    text-decoration: none;
    margin: 0 5px;
    color: var(--zircon);
    font-weight: bold;
}

@media (min-width: 320px) and (max-width: 547px) {
    header {
        display: none;
    }

    header nav {
        display: none;
    }

    header.toggle {
        position: fixed;
        height: 100%;
        width: 100%;
        background: rgba(245, 247, 255, 0.9);
        box-shadow: none;
        display: flex;
        justify-content: start;
        align-items: flex-end;
        flex-direction: column;
        padding: 1.3rem 1rem 0 0;
        animation: toleft 1000ms ease;
        animation-direction: alternate;
        z-index: 9999;
    }

    @keyframes toleft {
        0% {
            left: 100%;
        }

        100% {
            left: 0;
        }
    }

    header.toggle .logo-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 2rem;
    }

    header.toggle nav {
        flex-direction: column;
        align-items: flex-end;
    }

    header.toggle nav {
        display: flex;
        flex-direction: column;
    }

    header.toggle .logo-brand a {
        visibility: hidden;
    }


    header.toggle .logo-brand .close {
        display: block;
        margin: 0;
        padding: 0;
    }

    header.toggle nav .nav-item {
        margin: 1rem 0;
    }

    header.toggle nav .nav-item a {
        font-size: 20px;
        margin: 0;
        color: var(--bunting);
    }

    header.toggle .demo {
        box-shadow: none;
        border: none;
        margin-top: .8rem;
        margin-right: 1rem;
    }

    header.toggle .demo a {
        filter: none;
        color: var(--bunting);
        background: none;
        font-size: 20px;
        padding: 0;
        margin-right: 1rem;

    }

    header.toggle .close {
        margin-top: 0;
    }

    header.toggle nav .nav-item.active a,
    header .demo.active a {
        border-bottom: 3px solid var(--bunting);
        border-radius: 0;
    }

    .menu {
        --webkit-position: sticky;
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 3rem;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;

    }

    .menu .close {
        display: inline;
    }

    header .logo-brand a svg {
        height: 150px;
    }

    header nav .nav-item {
        padding: 0 1rem;
    }

    header nav .nav-item a {
        font-size: 10px;
    }

    header .demo a {
        font-size: 10px;
    }

    #hero .owl-carousel .item .container p {
        font-size: 12px;
    }

    #hero .owl-carousel .item .container img {
        max-width: 95%;
    }

    #hero .owl-carousel .item:first-child .container h1 {
        font-size: 25px;
        margin-bottom: 1rem;
    }

    #hero .owl-carousel .item:first-child .container p {
        font-size: 12px;
    }

    #features .container {
        padding: 5rem 0 2rem 0;
    }

    #features .container .hero {
        margin: 0;
    }

    #features .container .hero h3 {
        font-size: 16px;
        max-width: 150px;
        margin: 0;
        color: var(--bunting);
    }

    #features .container .hero svg {
        height: auto;
        width: 150px;
    }

    #features .container h2 {
        font-size: 30px;
        margin: 5rem 0 0 0;
    }

    #features .container .main {
        margin: 2rem 0 0 0;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0;
    }

    #features .container .main .item {
        width: 120px;
        height: 120px;
        margin: 20px;
        padding: 20px;
        box-shadow: 0px 4px 8px 1px rgba(0, 0, 0, 0.15);
    }

    #features .container .main .item svg {
        width: 50px;
        height: 50px;
    }

    #features .container .main .item span {
        font-size: 10px;
        width: 100px;
    }

    #about, #privacy-policy {
        padding: 2rem 0;
    }

    #about h3, #privacy-policy h3 {
        font-size: 30px;
    }

    #about .content, #privacy-policy .content {
        padding: 2rem 0 1rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #about .content .image img {
        height: 90px;

    }

    #about .content .image img:last-child {
        padding: 0;
        margin: 0;

    }

    #about .content .text p, #privacy-policy .content .text p {
        font-size: 14px;
    }

    #demo {
        padding: 1rem 0;
    }

    #demo .content svg {
        height: 100px;
        margin: 0;
    }

    #demo .content h4 {
        font-size: 20px;
        margin: 0;
    }

    #demo .content .input-group .input-demo {
        height: 50px;
        width: 350px;
        font-size: 14px;
    }

    #demo .content .input-group textarea {
        width: 350px;
    }

    #demo .content .input-group .input-demo::placeholder {
        font-size: 14px;
    }

    #demo .content form .demo {
        font-size: 14px;
        letter-spacing: .4px;
        height: 40px;
        width: 8rem;
    }

    #demo .content form .g-recaptcha {
        transform: scale(.9);
        -webkit-transform: scale(.9);
        transform-origin: 100 0;
        -webkit-transform-origin: 0 0;
    }

    #contact-us {
        padding: 1.5rem;
    }

    #contact-us .info {
        display: flex;
        margin: auto;
        padding: 0 0 0 .1rem;
        white-space: nowrap;
    }

    #contact-us .info .item {
        margin: 0;
    }

    #contact-us .info .item .icon svg {
        height: 20px;
    }

    #contact-us .info .item .text h5 {
        font-size: 9px;
    }

    #contact-us .info .item .text p {
        font-size: 8px;
    }

    #contact-us .logo a img {
        width: 50px;
        margin: auto;
        white-space: nowrap;
    }

    footer span {
        font-size: 10px;
        text-align: center;
    }
}

@media (min-width: 548px) and (max-width: 768px) {

    header {
        padding: .5rem 0;
    }

    header .logo-brand a svg {
        height: 50px;
    }

    header nav .nav-item {
        padding: 0 .5rem;
        margin: auto;
    }

    header nav .nav-item a {
        font-size: 8px;
        margin: auto;
    }

    header .demo a {
        font-size: 7px;
    }
    
    #hero .owl-carousel .item .container {
        font-size: 12px;
        margin-bottom: 10rem;
    }

    #hero .owl-carousel .item .container p {
        font-size: 12px;
    }

    #hero .owl-carousel .item .container img {
        max-width: 90%;
    }

    #hero .owl-carousel .item:first-child .container h1 {
        font-size: 50px;
        margin-bottom: 1.5rem;
    }

    #hero .owl-carousel .item:first-child .container p {
        font-size: 12px;
    }

    #features .container {
        padding: 3rem 0 2rem 0;
    }

    #features .container .hero {
        margin: 0;
    }

    #features .container .hero h3 {
        font-size: 20px;
        max-width: 250px;
        margin: 0;
        color: var(--bunting);
    }

    #features .container .hero svg {
        height: 200px;
    }

    #features .container h2 {
        font-size: 30px;
        margin: 5rem 0 0 0;
    }

    #features .container .main {
        margin: 2rem 0 0 0;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0;
    }

    #features .container .main .item {
        width: 150px;
        height: 150px;
        margin: 10px;
        padding: 10px;
    }

    #features .container .main .item svg {
        width: 40px;
        height: 40px;
    }

    #features .container .main .item span {
        font-size: 14px;
        width: 120px;
    }


    #about, #privacy-policy {
        padding: 2rem 0;
    }

    #about h3, #privacy-policy h3 {
        font-size: 26px;
    }

    #about .content, #privacy-policy .content {
        padding: 2rem 0 1rem 0;
    }

    #about .content .image img {
        height: 90px;
        margin: 0;
        padding: 0;
    }

    #about .content .text p, #privacy-policy .content .text p {
        font-size: 14px;
    }

    #demo {
        padding: 1rem 0;
    }

    #demo .content svg {
        height: 100px;
        margin: 0;
    }

    #demo .content h4 {
        font-size: 20px;
        margin: 0;
    }

    #demo .content .input-group .input-demo {
        height: 45px;
        width: 350px;
        font-size: 14px;
    }

    #demo .content .input-group .input-demo::placeholder {
        font-size: 14px;
    }

    #demo .content .input-group textarea {
        width: 350px;
        height: 150px;
    }

    #demo .content .input-group textarea::placeholder {
        font-size: 14px;
    }

    #demo .content form .demo {
        font-size: 14px;
        letter-spacing: .4px;
        height: 40px;
        width: 8rem;
        margin-top: 5px;
    }

    #contact-us {
        padding: 1rem;
    }

    #contact-us .info {
        display: flex;
        margin: auto;
        padding: 0;
    }

    #contact-us .info .item {
        margin: 0;
    }

    #contact-us .info .item .icon svg {
        height: 25px;
    }

    #contact-us .info .item .text h5 {
        font-size: 10px;
    }

    #contact-us .info .item .text p {
        font-size: 14px;
    }

    #contact-us .logo a img {
        height: auto;
        width: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    header {
        padding: .6rem 0;
        margin: auto;
    }

    header .logo-brand a svg {
        height: 30px;
    }

    header nav .nav-item a {
        font-size: 10px;
        margin: auto;
    }

    header .demo a {
        font-size: 9px;
        margin: auto;
    }

    #hero .owl-carousel .item .container p {
        font-size: 12px;
    }

    #hero .owl-carousel .item .container img {
        max-width: 95%;
    }

    #hero .owl-carousel .item:first-child .container h1 {
        font-size: 50px;
        margin-bottom: 1.5rem;
    }

    #hero .owl-carousel .item:first-child .container p {
        font-size: 20px;
    }

    #features .container {
        padding: 5rem 0 1rem 0;
    }

    #features .container .hero {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #features .container .hero h3 {
        font-size: 20px;
        max-width: 400px;
        color: var(--bunting);
    }

    #features .container .hero svg {
        height: 200px;
    }

    #features .container h2 {
        font-size: 30px;
        margin: 5rem 0 0 0;
    }

    #features .container .main {
        margin: 2rem 0 0 0;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0;
    }

    #about, #privacy-policy {
        padding: 3rem 0;
    }

    #about h3, #privacy-policy h3 {
        font-size: 30px;
    }

    #about .content, #privacy-policy .content {
        padding: 2rem 0 1rem 0;
    }

    #about .content .image img {
        height: 150px;
        margin: 0;
        padding: 0;
    }

    #about .content .text p, #privacy-policy .content .text p {
        font-size: 20px;
    }

    #demo {
        padding: 1rem 0;
    }

    #demo .content svg {
        height: 150px;
        margin: 0;
    }

    #demo .content h4 {
        font-size: 20px;
        margin: 0;
    }

    #demo .content .input-demo {
        margin: 1rem 0;
        height: 20px;
        width: 350px;
        font-size: 16px;
    }

    #demo .content .input-demo::placeholder {
        font-size: 16px;
    }

    #demo .content form .demo {
        font-size: 14px;
        height: 40px;
        width: 8rem;
    }

    #contact-us {
        padding: 1.5rem;

    }

    #contact-us .info {
        display: flex;
        margin: 0 0 0 5rem;
        padding: 0;
    }

    #contact-us .info .item {
        margin: 0;
    }

    #contact-us .info .item .icon svg {
        height: 30px;
    }

    #contact-us .info .item .text h5 {
        font-size: 16px;
    }

    #contact-us .info .item .text p {
        font-size: 14px;
    }

    #contact-us .logo a img {
        width: 100px;
    }
}

@media (min-width: 1025px) and (max-width: 1244px) {
    #features .container .main {
        margin: 2rem 0 0 0;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 4rem;
    }
}