@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600&family=Josefin+Sans:ital,wght@0,100;0,400;0,700;1,500&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;800&display=swap');

/*
Brand Colors
 red: #ec1c24
 blue: #0093ba
*/
h1,
h2 {
    font-family: 'Cabin', sans-serif;
}

h3,
h4,
p {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.8;

}

body {
    background-color: rgb(253, 253, 252);
}

a {
    text-decoration: none;
}

.s {
    margin-bottom: 55px;
}

section {
    padding: 50px 0px;
}

#demo img {
    height: 100vh;
    object-fit: cover;
}

@media only screen and (max-width: 600px) {
    #demo img {
        height: 120vh;
        object-fit: cover;
    }
}

@media only screen and (max-width: 400px) {
    #demo img {
        height: 150vh;
        object-fit: cover;
    }
}

/* Why Us */
.why-us img {
    height: 250px;
    width: 250px!important;
}

.why-us {
    background-color: #e9f6f0;
}

.why-us .background-layer-one {
    position: absolute;
    left: 0px;
    top: 150px;
    width: 620px;
    height: 120px;
    background-position: center top;
    background-repeat: repeat-x;
}

.card-text {
    font-size: 0.9rem;
}

/* Success Stories */
.eight-container {
    /* background:black; */
}

.eight-section {

    width: 100%;
    /* background:red; */

}

.eight-main-container {
    width: 70%;
    margin: auto;
}

.eight-main-container span {
    font-size: 25px;
    color: rgb(100, 100, 100, .4);
    /* padding:70px 0px; */
}

.eight-main-container h1 {
    font-weight: bold;
}

.eight-main-container h1 span {
    font-size: 38px;
    color: #ec1c24;
}

.eight-container-left {
    /* background:pink; */
    width: 50%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.eight-container-right {
    /* background:aqua; */
    display: flex;
    align-items: center;
    width: 50%;
    gap: 30px;
}

.eight-flex-container {
    display: flex;
    gap: 50px;

}

#eight-name {
    color: #0093ba;
    font-weight: bolder;
    font-size: 22px;
    /* color:#209e2e; */
    /* padding-left:30px; */
    display: flex;
    gap: 20px;
}

#eight-box {
    float: right;
    font-weight: bold;
    color: #8b7b7b;
}

.quotation {
    font-size: 40px;
    padding: 0px 5px;
    color: #0093ba;
    display: inline;
}

.eight-section img {
    /* background-position: center; */
    width: 400px;
    height: 400px;
    /* border-radius: 50%; */
}

.eight-container-left:hover #eight-section-img {
    /* display:none; */
    transform: translateY(-60px);
}

.eight-container-right:hover #eight-section-img {
    /* display:none; */
    transform: translateY(-60px);
}

.another-transform:hover .hover-red {
    transform: translateX(60px);
}

#eight-section-img {
    transition: transform 1s;
}

.eight-section .left {
    color: rgba(23, 23, 23, 0.4);
    font-size: 18px;
    margin-top: -18px;
    margin-left: 65px;
}

#eight-para {
    line-height: 27px;
    color: rgb(7, 7, 7, .4);
}

.wrapper {
    margin: 10vh;
}

.stories .icon-layer-one {
    position: absolute;
    left: 110px;
    top: 50px;
    width: 66px;
    height: 58px;
    background-repeat: no-repeat;
}

.stories .icon-layer-two {
    position: absolute;
    left: 120px;
    width: 535px;
    height: 535px;
    background-repeat: no-repeat;
}

.stories .carousel-control-next-icon,
.stories .carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-color: #ec1c24;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    border-radius: 50%;
    background-size: 1rem;
}
.carousel-control-next-icon svg{
    font-size: 1rem;
}

.headings h2 {
    font-size: 3rem;
    font-family: 'Cabin', sans-serif;
}

.page-sections .card img {
    height: 200px;
    object-fit: cover;
}

.navbar {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0);
    width: 100%;
    transition: all ease 0.4s;
    padding: 10px 50px;
}

.navbar a {
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    font-weight: 500;
    font-family: 'Cabin', sans-serif;
}

.navbar li {
    padding: 0px 20px;
}

/* Search Button */

.search-container {
    position: relative;
    display: inline-block;
    margin: 4px 2px;
    height: 50px;
    width: 50px;
    vertical-align: bottom;
    border-radius: 12px;
}

.mglass {
    display: inline-block;
    pointer-events: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

.searchbutton {
    position: absolute;
    font-size: 22px;
    width: 100%;
    margin: 0;
    background-color: #0093ba;
    color: #fff;
    padding: 5px;
    text-align: center;
}

.search:focus+.searchbutton {
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    background-color: white;
    color: black;
}

.search {
    position: absolute;
    left: 49px;
    /* Button width-1px (Not 50px/100% because that will sometimes show a 1px line between the search box and button) */
    background-color: #fff;
    outline: none;
    border: none;
    padding: 0;
    width: 0;
    height: 43px;
    z-index: 10;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

.search:focus {
    width: 150px;
    /* Bar width+1px */
    padding: 0 16px 0 10px;
}

.expandright {
    left: auto;
    right: 49px;
    /* Button width-1px */
}

.expandright:focus {
    padding: 0 0 0 16px;
}

.slider-desc {
    position: absolute;
    top: 20%;
    z-index: 1;
    width: 80%;
}

/* Videos */
.videos iframe {
    border-radius: 6px;
}

.videos {
    background-color: #e9f6f0;
}

.universities {
    background-color: #2d7199;
}

.universities img {
    width: 150px;
    height: 150px;
    align-self: center;
    position: relative;
    /* left: 20%; */
    object-fit: contain;
    
}

.universities .card {
    border: none;
}

/* Buttons */
.btn-style-one {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 30px;
    color: #ffffff;
    padding: 10px 35px;
    font-weight: 500;
    overflow: hidden;
    border-radius: 3px;
    overflow: hidden;
    background-color: #0093ba;
    text-transform: uppercase;
    font-family: 'Noto Sans TC', sans-serif;
}
a.termsLink
{
    color:#000;
    text-decoration: underline;
}
a.termsLink:hover
{
    color:#666;
}
.slider-desc h3 {
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
}

.slider-desc h2 {
    font-family: 'Cabin', sans-serif;
    color: #fff;
}

.form {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    height: auto;
}

.form input[type="text"],
.form select {
    background-color: #fff;
    height: 40px;
    width: 100%;
    border: 1px solid #888;
}

.form label {
    color: #fff;
    font-weight: 400;
}

.form h3 {
    color: rgb(23, 23, 126);
    font-weight: 600;
    font-size: 1.8rem;
    font-family: 'Josefin Sans', sans-serif;
}

.form {
    border-radius: 12px;
}

.form button {
    background-color: #ec1c24;
    width: 20%;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
}

.form button:hover {
    background-color: #0093ba;
    color: #fff;
}

.testimonial-card .card-up {
    height: 120px;
    overflow: hidden;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;

}

.testimonial-card .avatar {
    position: relative;
    top: -50px;
}

.aqua-gradient {
    background-color: #0093ba;
}

.testimonial-card .avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    align-self: center;
    object-fit: cover;
    overflow: hidden;
    border: 5px solid #fff;
}

.testimonial-card h4 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.3rem;
}

.testimonials {
    background: url('../img/testimonials2.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    background-attachment: fixed;
}

.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.mtn-75 {
    margin-top: -75px;
}

.card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 300px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 30px !important;
}


.card.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;
}


.card .card-footer {
    background: none;
    border-top: none;
}


.card .card-body {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card:hover {
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card:hover .card-body {
    margin-top: 5px;
    transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: #234f6d;
    background: linear-gradient(0deg, rgba(35, 79, 109, 0.3785889355742297) 0%, rgba(69, 95, 113, 1) 100%);
}

/* Universities */

.hexagon-gallery {
    margin: auto;
    margin-top: 50px;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 200px;
    grid-gap: 14px;
    padding-bottom: 100px;
}

.hex {
    display: flex;
    position: relative;
    width: 265px;
    height: 265px;
    background-color: #fff;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {
    .hexagon-gallery {
        margin-top: 30px;
        max-width: 600px;
        grid-auto-rows: 85px;
        grid-gap: 14px;
        padding-bottom: 130px;
    }

    .hex {
        width: 100px;
        height: 100px;
    }

    .universities img {
        width: 50px;
        height: 50px;
    }

}

@media only screen and (min-width: 400px) {
    .hexagon-gallery {
        margin-top: 30px;
        max-width: 600px;
        grid-auto-rows: 100px;
        grid-gap: 14px;
        padding-bottom: 130px;
    }

    .hex {
        width: 100px;
        height: 100px;
    }

    .universities img {
        width: 80px;
        height: 80px;
    }

}

@media only screen and (min-width: 600px) {
    .hexagon-gallery {
        margin-top: 30px;
        max-width: 650px;
        grid-auto-rows: 140px;
        grid-gap: 14px;
        padding-bottom: 100px;
    }

    .hex {
        width: 180px;
        height: 180px;
    }

    .universities img {
        width: 100px;
        height: 100px;
    }

}

@media only screen and (min-width: 768px) {
    .hexagon-gallery {
        margin-top: 30px;
        max-width: 650px;
        grid-auto-rows: 150px;
        grid-gap: 14px;
        padding-bottom: 100px;
    }

    .hex {
        width: 200px;
        height: 200px;
    }

    .universities img {
        width: 120px;
        height: 120px;
    }
}

@media only screen and (min-width: 992px) {
    .hexagon-gallery {
        margin-top: 30px;
        max-width: 800px;
        grid-auto-rows: 200px;
        grid-gap: 14px;
        padding-bottom: 100px;
    }

    .hex {
        width: 265px;
        height: 265px;
    }

    .universities img {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (min-width: 1200px) {
    .hexagon-gallery {
        margin: auto;
        margin-top: 50px;
        max-width: 1000px;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-auto-rows: 200px;
        grid-gap: 14px;
        padding-bottom: 100px;
    }

    .hex {
        width: 265px;
        height: 265px;
    }

    .universities img {
        width: 150px;
        height: 150px;
    }
}


.hex:first-child {
    grid-row-start: 1;
    grid-column: 2 / span 2;
}

.hex:nth-child(2) {
    grid-row-start: 1;
    grid-column: 4 / span 2;

}

.hex:nth-child(3) {
    grid-row-start: 1;
    grid-column: 6 / span 2;
}

.hex:nth-child(4) {
    grid-row-start: 2;
    grid-column: 3 / span 2;
}

.hex:nth-child(5) {
    grid-row-start: 2;
    grid-column: 5 / span 2;
}


/* Footer*/
.footer-row-2 {
    background-color: #333;
    color: #fff;
    padding-top: 45px;
    width: 100%;
}


.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider
{
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;
    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

@media (max-width: 768px) {
    .why-us .background-layer-one {
        width: auto;  
    }
}