/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;300;400&family=Oswald:wght@300;400;700&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");

/*----------------------------------------------------------
GENERAL STYLES
----------------------------------------------------------*/

:root {
    --padding-general-top: 0;
    --padding-general-bottom: 0;
    --padding-general-left: 20%;
    --padding-general-right: 20%;
    
    --main-font: "Josefin Sans", sans-serif;
    --secondary-font: "Oswald", sans-serif;

    --color-1: #02567A;
    --color-2: #00BCFF;
    --color-3: #F1F1E6;
    --color-4: #E99B26;
    --color-black: rgb(70, 70, 70);
}

@media screen and (max-width: 1440px) {
    :root {
        --padding-general-left: 15%;
    }
}
@media screen and (max-width: 1260px) {
    :root {
        --padding-general-left: 10%;
    }
}

@media screen and (max-width: 1110px) {
    :root {
        --padding-general-left: 5%;
    }
}

@media screen and (max-width: 880px) {
    :root {
        --padding-general-left: 2.5%;
    }
}

html {
    box-sizing: border-box;
    /* width: 100vw; */
    overflow-x: hidden;
}

body {
    /* width: 100%; */
    /* border: 2px dashed red; */

    position: relative;
    margin: 0;
    /* padding: 4rem var(--padding-general-left); */
    box-sizing: border-box;
    width: 100%;
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 300;
    /* line-height: 1.2; */
    color: var(--color-3);
}

.section-background {
    position: relative;
    display: flex;
    justify-content: stretch;
    align-items: center;
    transform-origin: left;
    transform: skewY(-2deg);
}

.section-background > section {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: stretch;
    align-items: center;
    transform-origin: left;
    transform: skewY(2deg);
}

section {
    position: relative;
    /* margin: auto 5%; */
    padding: 0 var(--padding-general-left);
    overflow: hidden;
}

section h2 {
    margin-bottom: 1rem;
    color: var(--color-1);
    text-transform: uppercase;
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 30px;
}

section .wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

div h3 {
    color: var(--color-1);
    text-transform: uppercase;
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 20px;
}

div h4 {
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: 400;
    text-decoration: underline;
}


/*----------------------------------------------------------
HERO SECTION
----------------------------------------------------------*/
/* Hero top section */
.hero-section {
    position: relative;
    box-sizing: border-box;
    padding: 8rem var(--padding-general-left) 18vh;
    /* padding-top: 5rem;
    padding-bottom: 18vh; */
    /* width: 100%; */
    height: 80vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to right bottom, #02567a, #046e9a, #0687ba, #05a1dc, #00bcff);
    overflow: hidden;
}

/* Hero text */
.hero-text {
    /* margin-left: 70px; */
    /* margin-top: 70px; */
    width: 45%;
}

.hero-text h1 {
    margin: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: var(--secondary-font);
    font-size: 25px;
}

/* Hero Carousel */
#hero-carousel {
    width: 45%;
}

#hero-carousel img{
    display: block;
    margin: auto;
}

#hero-carousel .carousel-inner {
    height: 100%;
}

#hero-carousel .carousel-inner img {
    width: 80%;
}

/* Hero Categories */
.section-background.hero {
    background-color: var(--color-3);
    height: 30vh;
}

.hero .categories {
    top: -20vh;
    margin: 0;
    padding: 0 var(--padding-general-left);
    height: 40vh;
    justify-content: space-between;
    overflow: visible;
}

.categories .category {
    position: relative;
    /* margin: 0 2rem; */

    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    
    width: 20%;
    height: 70%;
    
    background-color: rgba(0, 187, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.categories .category:nth-of-type(1) {
    margin-top: 5rem;
    margin-bottom: auto;
}

.categories .category:nth-of-type(2) {
    margin-top: 4rem;
    margin-bottom: auto;
}

.categories .category:nth-of-type(3) {
    margin-top: 3rem;
    margin-bottom: auto;
}

.categories .category:nth-of-type(4) {
    margin-top: 4rem;
    margin-bottom: auto;
}

.categories .category img {
    display: block;
    margin: auto;
    width: 60%;
}

.categories .category h3 {
    color: var(--color-3);
    font-size: 12px;
}

.categories .category a {
    display: block;
    width: 95%;
    height: 2rem;
    margin: auto;
    padding: 0.5rem 0.2rem;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-3);
    background-color: var(--color-4);
    font-family: var(--main-font);
    /* font-size: 14px; */
}

.categories .category:hover a {
    animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.categories .category h3 {
    margin: 0;
}

/*----------------------------------------------------------
OUR STATS
----------------------------------------------------------*/
.stats {
    margin-bottom: 4rem;
}

.stats .wrapper .stat {
    /* margin: 0.5rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 20%;
}

.stat i {
    font-size: 50px;
    color: var(--color-4);
}

.stat .counting {
    margin-top: 1rem;
    font-size: 30px;
    color: var(--color-1);
}

.stat h3 {
    margin: 0;
    color: var(--color-black);
}

/*----------------------------------------------------------
BULLET SECTION(S)
----------------------------------------------------------*/
.bullets-section .bullet-point{
    margin: 0 0.5rem;
    border: 1px solid var(--color-1);
    border-radius: 1rem;
    padding: 0.5rem;
    /* height: 13rem; */
    width: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
}

.bullets-section .bullet-point strong {
    color: var(--color-1)
}

.bullets-section  img {
    width: 50%;
}

.bullets-section p {
    margin-top: 1rem;
    font-size: 20px;
    text-align: center;
}

.bullets-section.second {
    margin-bottom: 4rem;
}

.bullets-section.second img {
    width: 30%;
}

.bullets-section.second .bullet-point {
    height: auto;
}

.bullets-section.second span {
    display: block;
    margin-bottom: 0.5rem auto;
    color: var(--color-1);
    font-size: 20px;
    font-weight: 400;
}

@media screen and (max-width: 770px) {
    /* .bullets-section.second .wrapper {
        min-height: 800px;
    } */
}

/*----------------------------------------------------------
PRODUCTS PROOF
----------------------------------------------------------*/
.section-background.prd {
    margin-top: 5rem;
    min-height: 280vh;
    background-color: var(--color-3);
}

@media screen and (max-width: 1400px) {
    .section-background.prd {
        min-height: 300vh;
    }
}

.section-background.prd section {
    flex-direction: column;
}

.products-proof .wrapper {
    flex-direction: column;
}

.products-proof .product-section {
    display: flex;
    justify-content: space-around;
    height: 60vh;
    margin-bottom: 5rem;
}

/* Each side of a product section */
.products-proof .product-section > div {
    width: 40%;
    height: 100%;
    margin: 1rem auto;
}

div.product .img-container {
    box-sizing: border-box;
    padding: 1rem;
    height: 50%;
    width: 100%;
}

div.product .img-container img {
    height: 80%;
    width: auto;
}

/* Proof side */
.proofs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.proofs img {
    width: 3rem;
}

.proofs > h3 {
    margin-bottom: 1rem;
    font-size: 30px;
}

.proofs > div > div {
    margin: 1rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.proofs i {
    color: var(--color-4);
    font-size: 30px;
    margin-right: 10px;
}

.proofs p {
    margin: auto 0;
    color: var(--color-black);
    font-weight: 400;
    vertical-align: top;
}

.proofs a > h3 {
    color: var(--color-3);
    margin: 0;
}

.proofs a {
    display: block;
    width: fit-content;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--color-4);
    font-family: var(--main-font);
    font-size: 14px;
    transition: 1s all;
}

.proofs a:hover {
    filter: brightness(105%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(-0.1rem);
}

/* Product side */
.product {
    position: relative;
    border: 1px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product .img-container {
    display: flex;
    width: 100%;
    height: 70%;
    justify-content: center;
    align-items: center;
}

.product .img-container img {
    margin: auto;
    width: 100%;
}

.product .band-content {
    margin: auto;
    padding-top: 3rem;
    width: 85%;
}

@media screen and (max-width: 1400px) {
    .product .band-content {
        padding-top: 1.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 770px) {
    .product .band-content {
        font-size: 1rem;
    }
}

.product .band-content h4 {
    margin-bottom: 0.3rem;
}

.product .bottom-band {
    position: absolute;
    height: 80%;
    width: 100%;
    top: 60%;
    background-image: linear-gradient(to right bottom, #02567a, #046e9a, #0687ba, #05a1dc, #00bcff);
    transform-origin: left;
    transform: skewY(-10deg);
    z-index: -1;
}

@media screen and (max-width: 1400px) {
    .product .bottom-band {
        top: 55%;
    }
}

/*----------------------------------------------------------
TESTIMONIALS
----------------------------------------------------------*/
.testimonials {
    margin-bottom: 5rem;
    overflow: visible;
}

.testimonials .fa-solid {
    position: absolute;
    color: var(--color-1);
    font-size: 40px;
    cursor: pointer;
    z-index: 2;
}

.testimonials .fa-circle-chevron-left {
    left: 1px;
    top: 50%;
}

.testimonials .fa-circle-chevron-right {
    right: 1px;
    top: 50%;
}

.testimonials .wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content:space-between;
    width: 100%;
    overflow: visible;
}

.testimonials .testimonial-card {
    /* display: block; */
    height: 50vh;
    width: 30%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.testimonials .testimonial {
    height: 70%;
    display: flex;
}

.testimonials .testimonial .text {
    position: relative;
    margin: auto;
    padding: 0.5rem;
    color: var(--color-black);
    font-size: 1.3rem;
}

@media screen and (max-width: 1400px) {
    .testimonials .testimonial .text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 770px) {
    .testimonials .testimonial-card {
        height: 40vh;
    }
    
    .testimonials .testimonial .text {
        font-size: 1rem;
    }
}

.testimonials .quote{
    position: absolute;
    right: 0;
    font-size: 400%;
    opacity: .1;
    transform: rotate(10deg) translate(-10px, -40px);
    color:#4D3FA3;
}

.testimonials .footer{
    position:relative;
    background-image: linear-gradient(to right bottom, #00bcff, #00c6d7, #04c68a);
    height: 30%;
    border-radius: 0 0 10px 10px;    
}

.testimonials .image{
    position: absolute;
    top: -50%;
    left: 50%;
    box-sizing: border-box;
    border: 5px solid white;
    border-radius: 50%;
    height: 12vh;
    width: 12vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: translateX(-50%);
    background-image: url(assets);
}

.testimonials .person{
    color:white;
    position: absolute;
    width: 80%;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -100%);
    font-size:1rem;
    font-weight: 600;
}


/*----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
MEDIA QUERIES
------------------------------------------------------------
------------------------------------------------------------
----------------------------------------------------------*/

@media screen and (max-width: 767px) {
/*----------------------------------------------------------
GENERAL STYLES
----------------------------------------------------------*/
    .section-background > section {
        position: relative;
    }

    section .wrapper {
        margin: auto;
        flex-direction: column;
    }
/*----------------------------------------------------------
HERO SECTION
----------------------------------------------------------*/
    .hero-section {
        /* padding-top: 5rem; */
        padding-bottom: 1rem;
        flex-direction: column;
    }

    /* Hero text */
    .hero-text {
        margin: 0;
        /* margin-top: 2rem; */
        width: 100%;
        /* height: 50%; */
    }

    /* Hero Carousel */
    #hero-carousel {
        width: 95%;
        height: 50%;
    }

    #hero-carousel .carousel-item {
        width: 100%;
        height: 100%;
    }
    
    #hero-carousel .carousel-item.active {
        display: flex;
    }

    #hero-carousel img {
        width: 80%!important;
        margin: auto;
    }

    /* Hero Categories */
    .section-background.hero {
        height: auto;
    }
    
    .hero .categories {
        flex-direction: column;
        top: 0;
        height: auto;
    }

    .categories .category {
        margin: 1rem auto!important;
        width: 80%;
        height: 30vh;
    }

    .categories .category:last-of-type {
        margin-bottom: 2rem!important;
    }

/*----------------------------------------------------------
OUR STATS
----------------------------------------------------------*/
    .stats {
        padding-top: 1rem;
    }

    .stats .wrapper {
        width: 95%;
    }

    .stats .wrapper .stat {
        margin: 1rem auto;
    }

/*----------------------------------------------------------
BULLET SECTION(S)
----------------------------------------------------------*/
    .bullets-section .bullet-point {
        margin: 1rem auto;
        padding: 0.5rem;
    }

/*----------------------------------------------------------
PRODUCTS PROOF
----------------------------------------------------------*/
    .section-background.prd {
        margin-top: 1rem;
        min-height: 200vh;
    }

    .section-background.prd section {
        margin: 1rem auto;
    }    

    .products-proof .product-section {
        flex-direction: column;
        align-items: center;
        margin: auto;
        height: auto;
    }

    .products-proof .product-section:nth-of-type(even) {
        flex-direction: column-reverse;
    }

    .products-proof .product-section > div {
        width: 95%;
        height: 50vh;
        margin: 1rem auto;
    }

    .product .band-content {
        margin: 2.5rem 2rem 1rem;
        padding-top: 0rem;
    }

    /* Proof side */
    .proofs > h3 {
        font-size: 25px;
    }

    .proofs p {
        font-weight: 300;
    }

    
/*----------------------------------------------------------
BULLET SECTION(2)
----------------------------------------------------------*/
    section.bullets-section.second {
        margin: 1rem auto;
    }

/*----------------------------------------------------------
TESTIMONIALS
----------------------------------------------------------*/
    .testimonials {
        margin-bottom: 1rem;
    }

    .testimonials i.fa-solid {
        z-index: 2;
    }

    .testimonials .wrapper {
        /* overflow: hidden; */
        flex-direction: row;
    }

    .testimonials .testimonial-card {
        display: none;
    }

    .testimonials .testimonial-card:first-of-type {
        display: block;
        margin: auto;
        width: 90%;
    }
}