/* CSS Document */

/* Table of Contents
-----------------------------------------------------------------------------
=> Clean Base
=> Base Typography
=> Images
=> Links
=> Forms
=> Framework
*/
/* Clean Base
------------------------------------------------------------------------------*/

:root {
    --color-100: #36C2CC;
    --color-200: #005463;
    --color-300: #FFC200;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-sans: 'Kanit', sans-serif;
    --font-helvetica: 'Helvetica', sans-serif;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-48:3rem;
    --text-32: 2rem;
    --text-24: 1.5rem;
    --text-20: 1.25rem;
    --text-10: 0.63rem;
    --container: 72.5rem;
    --gutter: 3.125rem;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, a, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    outline: none;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html, body {
    -webkit-text-size-adjust: none;
    height: 100%;
}

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block;
}

iframe {
    vertical-align: top;
}

textarea:focus, input:focus, a, div, img {
    outline: none;
}

picture {
    display: inline-block;
    vertical-align: top;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Base Typography
------------------------------------------------------------------------------*/
body {
    color: var(--color-200);
    font-size: var(--text-base);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--color-white);
    display: flex;
    flex-wrap: wrap;
    min-height: -webkit-fill-available;
    height: auto;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    body {
        height: 100%;
    }
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-200);
    line-height: 1.3;
    font-family: inherit;
    font-weight: 500;
}

.h1,
h1 {
    font-size: var(--text-48);
    margin-bottom: 1.25rem;
}

.h2,
h2 {
    font-size: var(--text-32);
    margin-bottom: 1.25rem;
}

.h3,
h3 {
    font-size: var(--text-24);
    margin-bottom: 1.1rem;
}

.h4,
h4 {
    font-size: var(--text-20);
    margin-bottom: 1rem;
}

.h5,
h5 {
    font-size: var(--text-base);
    margin-bottom: 0.80rem;
}

.h6,
h6 {
    font-size: var(--text-sm);
    margin-bottom: 0.60rem;
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a,
h6 a,
.h6 a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    padding-left: 20px;
}

ul li {
    padding-bottom: 10px;
}

ul li:last-child {
    padding-bottom: 0;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
}

img[src$=".svg"] {
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
}

/* Link
------------------------------------------------------------------------------*/
a {
    color: #4777ac;
    transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

a:focus {
    outline: none;
}

/* 5. Forms
------------------------------------------------------------------------------*/
label {
    color: var(--color-200);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.5;
    display: block;
}

input,
select,
textarea {
    font-family: var(--font-sans);
}

input[type="text"],
input[type="submit"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
    -webkit-appearance: none;
    outline: none;
}

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
textarea {
    border: 2px solid var(--color-100);
    border-radius: 2px;
    padding: 0 15px;
    color: #000;
    font-size: 16px;
    height: 46px;
    font-weight: 400;
    width: 100%;
}

.checkbox-cell input[type="checkbox"] {
    display: none;
}

.checkbox-cell .checkbox-text{
    display: flex;
    flex-wrap: wrap;
}
.checkbox-cell .checkbox-text:before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 10%;
    border-style: solid;
    border-width: 2px;
    border-color: var(--color-100);
    margin-right: 0.5rem;
}

.checkbox-cell input[type="checkbox"]:checked + .checkbox-text:before {
    content: "✓";
    color: var(--color-white);
    text-align: center;
    background: var(--color-200);
    border-color: var(--color-200);
}

label > input[type="checkbox"]:checked + .checkbox-text {
    color: var(--color-200);
}

.form-control {
    margin-bottom: 1rem;
    position: relative;
}

.form-action{
    text-align: center;
}

.contact-form .form-control .placeholder {
    position: absolute;
    top: 12px;
    left: 17px;
    font-size: 1rem;
    color: var(--color-200);
    pointer-events: none;
    transition: 0.4s ease;
}

.contact-form .form-control.focused .placeholder {
    top: 2px;
    font-size: var(--text-10);
    font-weight: 700;
}

.success-msg{
    display: none;
    padding: 0.8rem;
    border: 1px solid var(--color-300);
    margin-top: 1rem;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: var(--color-300);
    outline: none;
}

input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    padding: 0 25px;
    height: 43px;
    font-size: var(--text-base);
    line-height: 1.5;
    text-align: center;
    border: none;
    text-transform: uppercase;
    border-radius: 0px;
    color: var(--color-200);
    background-color: var(--color-300);
    outline: none;
    font-weight: 500;
}

input[type="submit"]:hover {
    background-color: #66afe9;
    color: #fff;
    outline: none;
}

::-webkit-input-placeholder {
    opacity: 0.60 !important;
    color: var(--color-200);
}

:-moz-placeholder {
    opacity: 0.60 !important;
    color: var(--color-200);
}

::-moz-placeholder {
    opacity: 0.60 !important;
    color: var(--color-200);
}

:-ms-input-placeholder {
    opacity: 0.60 !important;
    color: var(--color-200);
}

/* buttons */
.btn {
    display: inline-block;
    vertical-align: top;
    padding: 0.5rem 1rem;
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    border: none;
    text-transform: uppercase;
    border-radius: 0px;
    color: var(--color-200);
    background-color: var(--color-300);
}

.btn:hover,
.btn:focus {
    color: var(--color-white);
    background-color: var(--color-100);
    border-color: var(--color-100);
    text-decoration: none;
}

/* Layout Framework
------------------------------------------------------------------------------*/
/*--- main container ---*/
.wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-content: space-between;
    width: 100%;
    min-height: 100%;
    flex-wrap: wrap;
}

.main-container {
    width: 100%;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + (var(--gutter) * 2));
    margin: auto;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
}

.container-half {
    max-width: calc(var(--container)/2);
}

/* flex */
.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

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

.items-end {
    align-items: flex-end;
}

.d-flex-1 {
    flex: 1;
}

.grid-cols {
    display: grid;
    grid-gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* bg color */
.bg-color-100 {
    background-color: var(--color-100);
}

.bg-color-200 {
    background-color: var(--color-200);
}

.bg-color-300 {
    background-color: var(--color-300);
}

.bg-color-white {
    background-color: var(--color-white);
}

/* text color */
.text-color-100 {
    color: var(--color-100);
}

/* font */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

/* test position */
.text-center {
    text-align: center;
}

/*--- header ---*/
.main-header {
    width: 100%;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.main-header .logo {
    width: 11rem;
    display: block;
}

/* hero banner */
.hero-banner {
    padding-top: 1.75rem;
}

.hero-banner input[type="submit"] {
    width: 100%;
}

.hb-left {
    width: 50%;
    padding-left: calc((100vw - var(--container))/2);
    padding-bottom: 1.25rem;
}

.hb-right {
    width: 50%;
    padding-left: 3rem;
}

.hb-right img ,
.hb-right picture {
    width: 100%;
    align-self: flex-end;
    object-fit: cover;
    object-position: top left;
    height: 100%;
}

.hb-text {
    max-width: 34rem;
}

/* contact form */
.contact-form {
    padding: 2.5rem;
    max-width: 28.75rem;
    width: 100%;
    box-shadow: 0px 8px 26px rgb(33 83 97 / 17%);
}

/* welcome form */
.welcome-block {
    margin-top: 4.375rem;
    margin-bottom: 4.375rem;
}

.welcome-block p,
.welcome-block li {
    font-weight: 300;
}

.welcome-block ul {
    padding: 0;
}

.welcome-block li {
    position: relative;
    padding-left: 30px;
    list-style: none;
    padding-bottom: 20px;
}

.welcome-block li:before {
    content: '';
    background-image: url(images/list-icon.svg);
    background-repeat: no-repeat;
    width: 1.1875rem;
    height: 1.1875rem;
    display: block;
    position: absolute;
    top: 0.31rem;
    left: 0;
    background-size: cover;
}

.wb-left,
.wb-right {
    width: 50%;
}

.wb-right {
    padding-left: 4.375rem;
}

/* Testimonials */
.testimonials-slider {
    padding-top: 3.75rem;
    position: relative;
}

.testimonials-slider:before,
.testimonials-slider:after {
    content: '';
    position: absolute;
    top: 0;
    width: 8%;
    height: 100%;
    z-index: 99;
}
.testimonials-slider:before{
    left: 0;
    background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}
.testimonials-slider:after{
    right: 0;
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}

.testimonials-slider .slick-arrow {
    position: absolute;
    align-items: center;
    justify-content: center;
    border: none;
    transform: none;
    z-index: 999;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0;
    background-color: transparent;
    box-shadow: none;
    transition: border .3s ease;
    bottom: 0;
    cursor: pointer;
}
.testimonials-slider .slick-arrow svg{
    width:0.6rem ;
}
.testimonials-slider .slick-next {
    right: calc(50% - var(--dotspace));
}

.testimonials-slider .slick-prev {
    left: calc(50% - var(--dotspace));
}

.testimonials-slider:not(.slick-initialized) .slider:not(:first-child) {
    display: none;
}

.testimonials .icon {
    width: 5rem;
}

.slider-wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.client-say {
    padding-left: 2.5rem;
}

.client-say blockquote {
    font-size: var(--text-20);
    font-weight: 500;
    color: var(--color-200);
}

.client-say span {
    display: block;
    padding-top: 2rem;
    font-size: var(--text-20);
    font-weight: 500;
    color: var(--color-100);
}

/* slick */
.slick-dots {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3.75rem;
}

.slick-dots li {
    list-style: none;
    padding: 0.3125rem;
}

.slick-dots li button {
    width: 0.8125rem;
    height: 0.8125rem;
    border-radius: 100%;
    background-color: var(--color-100);
    font-size: 0;
    border-width: 0;
    padding: 0;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background-color: var(--color-200);
}

/* hand graphics */
.hand-graphics img {
   margin: auto;
   display: block;
   width: 100%;
}

/* Latest from IGI */
.cards {
    padding-top: 1.5rem;
}

.card-img {
    position: relative;
    padding-top: 67%;
    overflow: hidden;
    width: 100%;
}

.card-img img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    max-height: 100%;
    object-fit: cover;
}

.cards .card {
    background-color: var(--color-300);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    box-shadow: 0px 8px 26px rgb(33 83 97 / 17%);
}

.cards .card:hover {
    text-decoration: none;
    background-color: var(--color-200);
}

.cards .card:hover * {
    color: var(--color-white);
}

.card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body .category {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-200);
    font-size: var(--text-sm);
    display: block;
    padding-bottom: 0.4rem;
}

.card-body .tag {
    color: var(--color-200);
    font-size: var(--text-sm);
}

/* ready for more */
.ready-for-more {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 6.25rem;
}

.ready-for-more:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url(images/contact-bg-effect.svg);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.ready-for-more .rfm-left {
    position: relative;
    width: 50%;
    padding-right: 1.5rem;
}

.ready-for-more .rfm-right {
    position: relative;
    width: 50%;
}

.ready-for-more .field-suggetion {
    font-size: var(--text-10);
    display: block;
}

.group-wrap {
    display: grid;
    grid-gap:0 25px;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

/*--- footer ---*/
.main-footer {
    position: relative;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.main-footer:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url(images/footer-bg-effect.svg);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.footer-content-wrap {
    position: relative;
    max-width: 10rem;
    margin: 0 auto;
}

.footer-logo {
    display: block;
    max-width: 7rem;
    margin: 0 auto 2rem;
}

.footer-content-wrap p, .footer-content-wrap a {
    color: var(--color-white);
    font-family: var(--font-helvetica);
}

.footer-content-wrap p {
    margin-bottom: 8px;
}

.footer-content-wrap a {
    text-decoration: none;
}

.footer-content-wrap a:hover, .footer-content-wrap a:focus {
    color: var(--color-300);
}

.social-feed {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0;
    padding: 0;
}

.social-feed li {
    display: inline-block;
    margin: 0 12px;
    padding: 0;
    list-style: none;
}

.social-feed li a {
    max-width: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.social-feed .linkedin svg{
    width: 2rem;
}
.social-feed .twitter svg{
    width: 2rem;
}
.social-feed .facebook svg{
    width: 1rem;
}
.social-feed .youtube svg{
    width: 2.5rem;
}

.social-feed li a:hover path {
    fill:var(--color-300)
}

/* ==========RESPONSIVE========== */
@media (max-width: 1160px) {
    .hb-left {
        padding-left: var(--gutter);
    }

    .wb-right {
        padding-left: 1.5rem;
    }
    .contact-form{
        max-width: 48rem;
        margin: auto;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    :root {
        --gutter: 2rem;
    }

    .hb-left {
        width: 100%;
        padding-right: var(--gutter);
    }

    .hb-right {
        width: 100%;
    }

    .container-half,
    .hb-text {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    :root {
        --gutter: 1.5rem;
    }

    .main-header{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hb-left {
        width: 100%;
        padding:0 var(--gutter);
    }

    .hb-right {
        width: 100%;
        padding-top: 1.5rem;
    }

    .container-half,
    .hb-text {
        max-width: 100%;
    }

    .wb-left, .wb-right{
        width: 100%;
    }
    .wb-right{
        padding-left: 0;
        order: -1;
        padding-bottom: 2.5rem;
    }

    .slider-wrap{
        flex-direction: column;
    }
    .client-say{
        padding-left: 0;
        padding-top: 1.2rem;
    }
    .testimonials-slider{
        padding-top: 0;
    }
    .testimonials .icon{
        margin: auto;
    }
    .client-say span{
        padding-top: 1rem;
    }
    .slick-dots{
        margin-top: 1.8rem;
    }
    .hand-graphics{
        margin-bottom: 2.5rem;
    }
    .card-body{
        padding: 1.25rem;
        min-height: 12rem;
    }
    .ready-for-more{
        margin-top: 5rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .ready-for-more .rfm-left{
        width: 100%;
        padding-right: 0;
        padding-bottom:1.5rem ;
    }
    .ready-for-more .rfm-right{
        width: 100%;
    }
    .contact-form{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .form-action{
        text-align: left;
    }

    .main-footer{
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }
    .social-feed .linkedin svg{
        width: 2.18rem;
    }
    .social-feed .twitter svg{
        width: 2.18rem;
    }
    .social-feed .facebook svg{
        width: 1.12rem;
    }
    .social-feed .youtube svg{
        width: 3.12rem;
    }
}
