body {
    font-family: montserrat;
    overflow-x: hidden;
}

.main {
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 120vh;
}

main h1 {
    top: 100px;
}

.underscroll h1 {
    top: 100px;
    width: 100%;
    size: 20px;
    margin-top: 300px;
    color: rgb(62, 64, 149);
}

a.active,
a:hover {
    transition: .5s;
}

section {
    background: url(bg1.jpg) no-repeat;
    background-size: cover;
    height: calc(100vh - 80px);
}


/* image slider */

.slideshow-topic {
    text-align: center;
    vertical-align: middle;
    font-size: 40px;
    color: rgb(62, 64, 149);
    background-color: #71c7df;
}

@import url(https://fonts.googleapis.com/css?family=Istok+Web);
@keyframes slidy {
    0% {
        left: 0%;
    }
    10% {
        left: 0%;
    }
    20% {
        left: -100%;
    }
    30% {
        left: -100%;
    }
    40% {
        left: -200%;
    }
    50% {
        left: -200%;
    }
    60% {
        left: -300%;
    }
    70% {
        left: -300%;
    }
    80% {
        left: -400%;
    }
    90% {
        left: -500%;
    }
    100% {
        left: -500%;
    }
}

* {
    box-sizing: border-box;
}

body,
figure {
    margin: 0;
    font-family: Istok Web, sans-serif;
    font-weight: 100;
}

div#captioned-gallery {
    margin: 10%;
    width: 80%;
    overflow: hidden;
}

figure.slider {
    position: relative;
    width: 600%;
    font-size: 0;
    animation: 30s slidy infinite;
}

figure.slider figure {
    width: 16.66%;
    height: auto;
    display: inline-block;
    position: inherit;
    border-radius: 50px;
}

figure.slider img {
    width: 100%;
    height: auto;
}

figure.slider figure figcaption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 100%;
    font-size: 2rem;
    padding: .6rem;
}


/*SERVICE FOR HOME------------------*/

.service {
    height: auto;
    padding-block: var(--section-padding);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.service-card {
    right: 5%;
    align-items: center;
    position: relative;
    background: var(--white);
    text-align: center;
    padding: 30px 0px;
    box-shadow: var(--shadow-2);
}

.service-card .card-icon {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 20px;
}

.service-card .card-title {
    margin-bottom: 15px;
}

.service-card .card-title>a:is(:hover, :focus) {
    color: var(--orange-soda);
}

.service-card .card-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-card .card-link {
    color: var(--opal);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.service-card:is(:hover, :focus) .card-link {
    color: var(--ourblue);
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--ourblue);
    transition: var(--transition);
}

.service-card:is(:hover, :focus)::after {
    width: 100%;
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/


/**
 * responsive for larger than 600px screen
 */

@media (min-width: 600px) {
    /**
   * CUSTOM PROPERTY
   */
     :root {
        /**
     * typography
     */
        --fs-2: 1.875rem;
    }
    /**
   * REUSED STYLE
   */
    .container {
        max-width: 550px;
        margin-inline: auto;
    }
    .has-scrollbar {
        gap: 25px;
        margin-inline: -25px;
        padding-inline: 25px;
        scroll-padding-left: 25px;
    }
    .has-scrollbar>li {
        min-width: calc(50% - 12.5px);
    }
    /**
   * SERVICE
   */
    .service-list>li {
        width: calc(50%);
    }
    /**
   * FOOTER
   */
    .footer-link-box {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
    .btn {
        padding: 15px 40px;
    }
    /**
   * HEADER
   */
    .header-top-list,
    .header-top .wrapper {
        gap: 30px;
    }
    /**
   * ABOUT
   */
    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 10px;
    }
    .about-banner {
        margin-bottom: 0;
    }
    .about-banner>img {
        width: 100%;
    }
    /**
   * SERVICE
   */
    .service-list>li {
        width: calc(33.33%);
    }
}


/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
    /**
   * CUSTOM PROPERTY
   */
     :root {
        /**
     * typography
     */
        --fs-2: 2.75rem;
        --fs-4: 1.5rem;
    }
    /**
   * REUSED STYLE
   */
    .container {
        max-width: 1200px;
    }
    .has-scrollbar>li {
        min-width: calc(33.33% - 16.66px);
    }
}

@media (min-width: 768px) {
    /**
   * CUSTOM PROPERTY
   */
     :root {
        /**
     * typography
     */
        --fs-1: 2.5rem;
        --fs-5: 0.938rem;
        --fs-6: 0.875rem;
    }
    /**
   * REUSED STYLE
   */
    .container {
        max-width: 720px;
    }
    .btn {
        --fs-5: 1rem;
        padding: 12px 28px;
    }
    /**
   * ABOUT
   */
    .about .section-title {
        max-width: 30ch;
    }
    .about-text {
        max-width: 55ch
    }
    .about-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.about {
    padding-block: var(--section-padding);
    height: auto;
}

.about-banner {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.about-banner>img {
    max-width: max-content;
    width: 80%;
}

.about-banner .abs-img {
    position: absolute;
    bottom: 100px;
    left: 15px;
    width: 50%;
    border-radius: 4px;
}

.about .section-subtitle {
    margin-inline: 0;
    background-color: rgb(62, 64, 149);
    color: white;
    font-size: 20px;
}

.about .section-title {
    left: 40%;
    --margin-bottom: 15px;
}

.about-text {
    color: var(--cadet);
    font-size: 23px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-list {
    margin-bottom: 30px;
}

.about-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.about-item-icon {
    background: var(--ourblue);
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
}

.about-item-icon ion-icon {
    color: var(--orange-soda);
    font-size: 18px;
}

.about-item-text {
    color: var(--cadet);
    font-size: 15px;
}

.about .callout {
    background: rgb(9, 14, 81, 0.5);
    ;
    color: white;
    font-size: 15px;
    font-weight: var(--fw-500);
    line-height: 1.8;
    padding: 20px 25px;
    border-left: 8px solid var(--ourblue);
    margin-bottom: 40px;
}

.about .btn {
    max-width: max-content;
    z-index: 0;
    --text-transform: uppercase;
    color: white;
    background-color: rgb(62, 64, 149);
}

.about-content {
    text-align: center;
}

.about-content .section-subtitle {
    margin-left: 30%;
}

.count {
    height: auto;
}

.features {
    height: auto;
    padding-block: var(--section-padding);
    background-color: rgb(214, 232, 251);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 20px;
}

.features-list>li {
    width: calc(50% - 10px);
}

.features-card {
    position: relative;
    background: var(--white);
    padding: 40px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-1);
}

.features-card:is(:hover, :focus) {
    background: var(--ourblue);
}

.features-list li a {
    text-decoration: none;
}

.features-card .card-icon {
    background: var(--seashell);
    color: var(--ourblue);
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 28px;
}

.features-card .card-icon ion-icon {
    --ionicon-stroke-width: 20px;
}

.features-card .card-title {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    font-size: 20px;
    font-weight: var(--fw-600);
    text-align: center;
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-title {
    color: var(--white);
}

.features-card .card-btn {
    background: var(--white);
    color: var(--cadet);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px hsla(219, 56%, 21%, 0.1);
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-btn {
    color: var(--orange-soda);
}

.loctext {
    font-size: 30px;
}

:root {
    /**
   * colors
   */
    --dark-jungle-green: hsl(188, 63%, 7%);
    --prussian-blue: hsl(200, 69%, 14%);
    --raisin-black-1: hsl(227, 29%, 13%);
    --raisin-black-2: hsl(229, 17%, 19%);
    --yellow-green: hsl(89, 72%, 45%);
    --orange-soda: hsl(0, 100%, 50%);
    --cultured-1: hsl(0, 0%, 93%);
    --cultured-2: hsl(192, 24%, 96%);
    --misty-rose: hsl(7, 56%, 91%);
    --alice-blue: hsl(210, 100%, 97%);
    --seashell: hsl(198, 87%, 84%);
    --cadet: hsl(200, 15%, 43%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --opal: hsl(180, 20%, 62%);
    --ourblue: rgb(62, 64, 149);
    /**
   * typography
   */
    --ff-nunito-sans: "Nunito Sans", sans-serif;
    --ff-poppins: "Poppins", sans-serif;
    --fs-1: 1.875rem;
    --fs-2: 1.5rem;
    --fs-3: 1.375rem;
    --fs-4: 1.125rem;
    --fs-5: 0.875rem;
    --fs-6: 0.813rem;
    --fs-7: 0.75rem;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    /**
   * transition
   */
    --transition: 0.25s ease;
    /**
   * spacing
   */
    --section-padding: 100px;
    /**
   * shadow
   */
    --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
    --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
}

#REUSED STYLE \-----------------------------------/ .container {
    padding-inline: 15px;
}

button,
a {
    transition: var(--transition);
}

.h1,
.h2,
.h3 {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    line-height: 1.3;
}

.h1 {
    font-size: var(--fs-1);
    line-height: 1;
}

.h2 {
    font-size: var(--fs-2);
}

.h3 {
    font-size: var(--fs-4);
    font-weight: var(--font-weight, 700);
}

.h3>a {
    color: inherit;
}

.btn {
    position: relative;
    background: var(--orange-soda);
    color: var(--white);
    font-family: var(--ff-poppins);
    font-size: var(--fs-5);
    text-transform: var(--text-transform, capitalize);
    border: 1px solid var(--orange-soda);
    padding: 10px 20px;
    z-index: 1;
}

.btn:is(:hover, :focus) {
    background: var(--black);
    color: var(--dark-jungle-green);
    border-color: var(--black);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn:is(:hover, :focus)::before {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.section-subtitle {
    color: white;
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    padding: 5px 20px;
    background: rgb(62, 64, 149);
    width: max-content;
    border-radius: 50px;
    margin-inline: auto;
    margin-bottom: 15px;
}

.bi .section-subtitle {
    margin-left: 15%;
}

.section-title {
    text-align: var(--text-align, center);
    margin-bottom: var(--margin-bottom, 50px);
}

.card-badge {
    background: var(--black);
    color: var(--white);
    font-size: var(--fs-7);
    text-transform: uppercase;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
}

.card-badge.green {
    background: var(--yellow-green);
}

.card-badge.orange {
    background: var(--orange-soda);
}

.has-scrollbar>li {
    min-width: 100%;
    scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track {
    background: var(--cultured-2);
    outline: 2px solid var(--cadet);
    border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background: var(--cadet);
    border: 1px solid var(--cultured-2);
    border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-button {
    width: 15%;
}

table,
th,
td {
    border: 1px solid black;
    font-size: small;
    z-index: -1;
}

td,
th {
    border: 1px solid #000000;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    border: 1px solid black;
    background-color: #dddddd;
}

@media (max-width: 952px) {
    .slideshow-topic {
        font-size: x-large;
    }
    figure.slider figure figcaption {
        font-size: large;
    }
    .features-card {
        right: 10%;
    }
    .features-card .card-title {
        font-size: 13px;
    }
    .jobs-title {
        padding-top: 80px;
    }
    .service-image {
        padding-top: 60px;
    }
    .service .container li {
        width: 90%;
    }
}