@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

header {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

.container-nav {
    width: 95%;
    margin-inline: auto;
    margin-top: 30px;
}

.container {
    width: 90%;
    margin-inline: auto;
    margin-top: 50px;
}

.container-akre {
    width: 65%;
    margin-inline: auto;
    margin-top: 50px;
}

.navbar {
    padding: 5px 0 5px 0;
    position: fixed;
    width: 100%;
    transition: all 0.7s ease;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    z-index: 10;

}

.navbar.scrolling-active {
    background-color: #fff;
    color: #861f1e;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
}

.navbar .box-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .box-nav .menu {
    display: flex;
    column-gap: 50px;
    margin-right: 30px;
}

.logo {
    margin-top: 10px;
    margin-right:30px;
}

.navbar .menu {
    margin-top: 10px;
}

.navbar .box-nav .menu li {
    list-style-type: none;
    padding: 5px 0px 5px 0px;
}

.navbar .box-nav .menu li a {
    text-decoration: none;
    font-weight: 600;
    color: #861f1e;
    transition: 0.5s;
}

.navbar .box-nav .menu li a:hover {
    color: rgb(255, 67, 67);
}

.menu .dropdown {
    position: absolute;
    padding: 0.5rem 0.8rem;
    margin: 0.5rem 2rem 2rem 0;
    background: #fff;
    color: #861f1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
    font-size: 15px;
    display: none;
    cursor: pointer;
}

.menu .dropdown li:hover {
    color: rgb(255, 67, 67);
}

.menu .drop-active:hover .dropdown {
    display: block;
}

.menu .drop-active:hover .fa-caret-down {
    transform: rotate(180deg);
}

.menu-bar {
    color: #861f1e;
    font-size: 24px;
    display: none;
}

@media screen and (max-width : 990px) {
    .menu-bar {
        display: block;
    }

    .navbar .box-nav .menu {
        background: #fff;
        position: absolute;
        flex-direction: column;
        width: 100%;
        height: 300px;
        row-gap: 20px;
        justify-content: center;
        align-items: center;
        top: 100px;
        right: 50%;
        transform: translateX(50%);
        -webkit-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -ms-transform: translateX(50%);
        -o-transform: translateX(50%);
        opacity: 0;
        transition: all 0.3s ease-out;
    }
}

.navbar .box-nav .menu.menu-active {
    top: 100px;
    opacity: 1;
    border-top: 1px solid #861f1e;
    background: #fff;
}

/*-- navbar untuk selain beranda --*/
.navbar-page {
    padding: 15px 0 15px 0;
    position: fixed;
    width: 100%;
    transition: all 0.7s ease;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    z-index: 10;
    background-color: #fff;
}

.navbar-page.scrolling {
    background-color: #000000;
    color: #861f1e;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
}

.navbar-page .box-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-page .box-nav .menu {
    display: flex;
    column-gap: 30px;
}

.navbar-page .menu {
    margin-top: 20px;
}

.navbar-page .box-nav .menu li {
    list-style-type: none;
    padding: 10px 0 10px 0px;
}

.navbar-page .box-nav .menu li a {
    text-decoration: none;
    font-weight: 600;
    color: #861f1e;
    transition: 0.5s;
}

.navbar-page .box-nav .menu li a:hover {
    color: rgb(255, 67, 67);
}


@media screen and (max-width : 990px) {
    .menu-bar {
        display: block;
    }

    .navbar-page .box-nav .menu {
        background: #fff;
        position: absolute;
        flex-direction: column;
        width: 100%;
        height: 300px;
        row-gap: 20px;
        justify-content: center;
        align-items: center;
        top: 100px;
        right: 50%;
        transform: translateX(50%);
        -webkit-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -ms-transform: translateX(50%);
        -o-transform: translateX(50%);
        opacity: 0;
        transition: all 0.3s ease-out;
    }

    .navbar-page .box-nav .menu {
        background: #fff;
        position: absolute;
        flex-direction: column;
        width: 100%;
        height: 300px;
        row-gap: 20px;
        justify-content: center;
        align-items: center;
        top: 100px;
        right: 50%;
        transform: translateX(50%);
        -webkit-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -ms-transform: translateX(50%);
        -o-transform: translateX(50%);
        opacity: 0;
        transition: all 0.3s ease-out;
    }
}

.navbar-page .box-nav .menu.menu-active {
    top: 100px;
    opacity: 1;
    border-top: 1px solid #861f1e;
    background: #fff;
}

/* carousel */

.carousel {
    width: auto;
    height: 100vh;
    margin-top: -50px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 10;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3) {
    left: 67%;
}

.carousel .list .item:nth-child(4) {
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5) {
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6) {
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7) {
    left: calc(67% + 800px);
    opacity: 0;
}

.list .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #fff;
    display: none;
}

.list .item:nth-child(2) .content {
    display: block;
}


.content .title {
    font-size: 60px;
    text-transform: uppercase;
    color: #ee3633;
    font-weight: bold;
    line-height: 1;
    margin-top: 30px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn {
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button {
    background-image: var(--gradient-2);
    background-size: 200%;
    color: var(--white);
    padding: 12px 35px;
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
    border-radius: 0 25px;
    transition: var(--transition-2);
}

.btn:is(:hover, :focus) {
    background-position: right;
}


.content .btn button:hover {
    color: black;
    background-color: #fff;
}

@media screen and (max-width : 360px) {
    .carousel {
        width: auto;
        height: 100vh;
        margin-top: -50px;
        overflow: hidden;
        position: relative;
    }

    .content .des {
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: -111px;
        margin-left: 5px;
        opacity: 0;
        animation: animate 1s ease-in-out 0.9s 1 forwards;
    }
}




@keyframes animate {

    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* next prev arrows */

.arrows {
    position: absolute;
    top: 85%;
    right: 35%;
    z-index: 10;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 100px;
    align-items: center;
}

.arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ee3633;
    ;
    color: #fff;
    border: none;
    outline: none;
    font-size: 20px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover {
    background: #fff;
    color: #ee3633;
}



/* Responsive Design */

@media screen and (max-width: 999px) {
    .list .item .content {
        left: 50px;
    }

    .content .title,
    .content .name {
        font-size: 70px;
    }

    .content .des {
        font-size: 16px;
    }

}

@media screen and (max-width: 690px) {
    .list .item .content {
        top: 40%;
    }

    .content .title,
    .content .name {
        font-size: 45px;
    }

    .content .btn button {
        padding: 10px 15px;
        font-size: 14px;
    }
}


/* servis */
.service-list {
    display: grid;
    gap: 30px;
}

.service-card {
    padding: 30px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-12);
}

.service-card .card-icon {
    background-image: url("../img/service-banner-pattern.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: hsla(335, 87%, 53%, 0.12);
    aspect-ratio: 1 / 1;
    max-width: 165px;
    display: grid;
    place-content: center;
    margin-inline: auto;
    transition: var(--transition-1);
}

.service-card:hover .card-icon {
    background-color: var(--winter-sky);
}

.service-card .card-icon ion-icon {
    font-size: 5rem;
    color: var(--winter-sky);
    --ionicon-stroke-width: 20px;
    transition: var(--transition-1);
}

.service-card .card-icon i {
    font-size: 5rem;
    color: var(--winter-sky);
    --ionicon-stroke-width: 20px;
    transition: var(--transition-1);
}

.service-card:hover .card-icon ion-icon {
    color: var(--white);
}

.service-card:hover .card-icon i {
    color: var(--white);
}

.service-card .title {
    text-align: center;
    margin-block-end: 15px;
}

.service-card .text {
    text-align: center;
    margin-block-end: 20px;
}

.service-card .card-btn {
    margin-inline: auto;
    padding: 15px;
    border: 1px solid var(--winter-sky);
    border-radius: 50%;
    color: var(--winter-sky);
    transition: var(--transition-1);
}

.service-card .card-btn:is(:hover, :focus) {
    color: var(--white);
    background-color: var(--winter-sky);
}

.service-card .card-btn2 {
    margin-inline: auto;
    padding: 10px;
    border: 1px solid var(--winter-sky);
    border-radius: 5%;
    color: var(--winter-sky);
    transition: var(--transition-1);
    text-align: center;
}

.service-card .card-btn2:is(:hover, :focus) {
    color: var(--white);
    background-color: var(--winter-sky);
}







/*---- page kontak ----*/
#banner-contact {
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url("../img/banner.jpg");
    width: 100%;
    height: 35vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
    align-items: center;
    margin-top: 50px;
}

#banner-contact h2 {
    font-size: 50px;
    margin-top: -30px;
}

#banner-contact h2,
#banner-contact p,
#banner-contact a {
    text-decoration: none;
    color: #fff;
}

#banner-contact h2 span {
    color: #b21b18;
}

#banner-contact p,
#banner-contact a {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
}

#banner-contact a:hover {
    color: #ee3633;
}

#form-contact {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-contact {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    display: flex;
    gap: 80px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    background-color: white;
}

.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 10%, #861f1e);
    position: absolute;
}

.circle.one {
    width: 130px;
    height: 130px;
    top: -50px;
    right: 88%;
}

.circle.two {
    width: 80px;
    height: 80px;
    top: 85%;
    right: 20px;
}

.big-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ee3633, #861f1e);
    bottom: 50%;
    right: -11%;
    transform: translate(-40%, 38%);
    z-index: -1;
    opacity: 0.7;
}

.big-circle-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #861f1e, #ee3633);
    bottom: -30%;
    right: 60%;
    transform: translate(-40%, 38%);
    z-index: -1;
    opacity: 0.7;
}

.big-circle:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-color: #fafafa;
    border-radius: 50%;
    top: calc(50% - 180px);
    left: calc(50% - 180px);
}

.big-circle-2:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-color: #fafafa;
    border-radius: 50%;
    top: calc(50% - 180px);
    left: calc(50% - 180px);
}

.left {
    width: 55%;
}

.heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #861f1e;
}

.text-contact {
    font-size: 15px;
    color: #000;
    font-weight: 400;
    margin-top: 10px;
}

form {
    margin-top: 20px;

}

.inputBox {
    position: relative;
    margin-bottom: 20px;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    color: #000;
    border: none;
    outline: none;
    background-color: whitesmoke;
}

.inputBox input::placeholder,
.inputBox textarea::placeholder {
    color: #000000;
    opacity: 0.3;
    font-size: 14px;
}

.inputBox textarea {
    resize: none;
    height: 150px;
}

.button {
    width: 100%;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    color: #ffffff;
    background-color: #861f1e;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.button:hover {
    border: 1px solid #861f1e;
    background-color: #eee;
    color: #861f1e;
}

.right {
    width: 45%;
}

.map {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.map iframe {
    width: 100%;
    margin: auto;
    margin-top: 30px
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box .icon-loc {
    width: 70px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #861f1e;
    border: 1px solid #861f1e;
}

.info-box .icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #861f1e;
    border: 1px solid #861f1e;
}

.info-box .text-contact-info {
    margin: 0;
}

.info-box .text-contact-info a {
    text-decoration: none;
    color: #000;
}

.social-icon {
    position: absolute;
    right: -50px;
    bottom: 30px;
    width: 50px;
    display: flex;
    flex-direction: column;
    font-size: 25px;
    gap: 10px;
    padding: 10px;
    align-items: center;
    border-bottom-right-radius: 30px;
    color: #fff;
    background-color: #861f1e;
}

.social-icon a {
    color: #ffffff;
    padding: 5px;
}

#sekilas-info {
    min-height: 100vh;
}

.box-info {
    display: flex;
    padding: 40px;
    border: 4px solid #ffffff;
    border-radius: 0 60px 0 60px;
    background: #ee3633;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pict img {
    border-radius: 0 0 0 60px;
    margin-right: 50px;
}

.info-text {
    color: #fff;
}

.info-text h3 {
    font-size: 35px;
    font-family: "Poppins";
    margin-bottom: 30px;
}


.info-text p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
}

.info-text a button {
    margin-top: 25px;
    padding: 8px 15px;
    cursor: pointer;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #ee3633;
}

.info-text a button:hover {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: #ee3633;
}


.struktur {
    background: #ffffff;
    border-radius: 40px 0px 40px 0px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.struktur img {
    padding: 20px;
    width: 800px;
    border-radius: 80px;
}


/*----- akreditasi ------*/
.sertif-akre {
    background: #ffffff;
    border-radius: 40px 0px 40px 0px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.sertif-akre img {
    padding: 20px;
    width: 800px;
    border-radius: 80px;
}

.deals__container {
    display: grid;
    gap: 2rem;
}

.deals__card span {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.deals__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.deals__card p {
    color: var(--text-light);
}

.about__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__header .section__description {
    max-width: 600px;
}

.about__btn {
    width: fit-content;
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.about__content {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.about__grid {
    display: grid;
    gap: 2rem;
}

.about__image {
    overflow: hidden;
}

.about__card h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about__card p {
    color: var(--text-light);
}

.product__grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.product__card {
    position: relative;
    isolation: isolate;
    padding: 2rem;
}

.product__card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background-color: var(--extra-light);
    z-index: -1;
    transition: 0.3s;
}

.product__card:hover::before {
    height: 100%;
}

.product__card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.product__card p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.product__card img {
    max-width: 275px;
    margin-inline: auto;
}

.client__content {
    padding: 4rem 1rem;
    background-color: var(--extra-light);
    border-radius: 1rem;
}

.client__content :is(.section__header, .section__description) {
    max-width: 550px;
    margin-inline: auto;
    text-align: center;
}

.client__content .section__header {
    font-size: 3.25rem;
}

.swiper {
    margin-top: 4rem;
    width: 100%;
}

.client__card {
    display: grid;
    gap: 2rem;
    max-width: 750px;
    margin-inline: auto;
    text-align: center;
}

.client__card img {
    max-width: 250px;
    margin-inline: auto;
}

.client__card p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.client__card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.client__card h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}



:root {

    /**
     * colors
     */

    --st-patricks-blue: hsl(236, 57%, 28%);
    --amaranth-purple: hsl(335, 88%, 38%);
    --royal-blue-dark: hsl(231, 68%, 21%);
    --chrome-yellow: hsl(39, 100%, 52%);
    --space-cadet-1: hsl(230, 41%, 25%);
    --space-cadet-2: hsl(230, 59%, 16%);
    --winter-sky_50: hsla(335, 87%, 53%, 0.5);
    --purple-navy: hsl(236, 26%, 43%);
    --ksu-purple: hsl(275, 54%, 33%);
    --winter-sky: #ee3633;
    --razzmatazz: #ee3633;
    --platinum: hsl(0, 0%, 90%);
    --black_70: hsla(0, 0%, 0%, 0.7);
    --rajah: hsl(29, 99%, 67%);
    --white: hsl(0, 0%, 100%);

    --gradient-1: linear-gradient(90deg, var(--royal-blue-dark) 0, var(--ksu-purple) 51%, var(--royal-blue-dark));
    --gradient-2: linear-gradient(90deg, var(--razzmatazz), var(--rajah));

    /**
     * typography
     */

    --ff-source-sans-pro: 'Source Sans Pro', sans-serif;
    --ff-poppins: 'Poppins', sans-serif;

    --fs-1: 4.2rem;
    --fs-2: 3.8rem;
    --fs-3: 3.2rem;
    --fs-4: 2.5rem;
    --fs-5: 2.4rem;
    --fs-6: 2rem;
    --fs-7: 1.8rem;
    --fs-8: 1.5rem;

    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;

    /**
     * border radius
     */

    --radius-4: 4px;
    --radius-12: 12px;

    /**
     * spacing
     */

    --section-padding: 60px;

    /**
     * transition
     */

    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

    /**
     * shadow
     */

    --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);

}




/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a,
img,
input,
button,
ion-icon {
    display: block;
}

button,
input {
    background: none;
    border: none;
    font: inherit;
}

button {
    cursor: pointer;
}

input {
    width: 100%;
}

ion-icon {
    pointer-events: none;
}

img {
    height: auto;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-poppins);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--purple-navy);
    font-size: 1.6rem;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
    padding-inline: 15px;
}

.w-100 {
    width: 100%;
}

.banner-animation {
    animation: waveAnim 2s linear infinite alternate;
}

@keyframes waveAnim {
    0% {
        transform: translate(40, 40) rotate(0);
    }

    100% {
        transform: translate(20px, 20px) rotate(1deg);
    }
}

.section {
    padding-block: var(--section-padding);
}

.section-title {
    color: var(--st-patricks-blue);
    font-size: var(--fs-3);
    margin-block-end: 60px;
    max-width: max-content;
    margin-inline: auto;
}

.underline {
    position: relative;
}

.underline::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 6px;
    background-image: var(--gradient-2);
    border-radius: 10px;
}

:is(.service-card, .features-card) .title {
    color: var(--st-patricks-blue);
    font-size: var(--fs-4);
    font-weight: var(--fw-700);
}

:is(.service-card, .features-card, .blog-card) .text {
    font-size: var(--fs-8);
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-list {
    display: grid;
    gap: 30px;
}

.service-card {
    padding: 30px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-12);
}

.service-card .card-icon {
    background-image: url("../img/service-banner-pattern.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: hsla(335, 87%, 53%, 0.12);
    aspect-ratio: 1 / 1;
    max-width: 165px;
    display: grid;
    place-content: center;
    margin-inline: auto;
    transition: var(--transition-1);
}

.service-card:hover .card-icon {
    background-color: var(--winter-sky);
}

.service-card .card-icon ion-icon {
    font-size: 5rem;
    color: var(--winter-sky);
    --ionicon-stroke-width: 20px;
    transition: var(--transition-1);
}

.service-card:hover .card-icon ion-icon {
    color: var(--white);
}

.service-card .title {
    text-align: center;
    margin-block-end: 15px;
}

.service-card .text {
    text-align: center;
    margin-block-end: 20px;
}

.service-card .card-btn {
    margin-inline: auto;
    padding: 15px;
    border: 1px solid var(--winter-sky);
    border-radius: 50%;
    color: var(--winter-sky);
    transition: var(--transition-1);
}

.service-card .card-btn:is(:hover, :focus) {
    color: var(--white);
    background-color: var(--winter-sky);
}



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about-banner {
    margin-block-end: 10px;
    width: 400px;
    height: 250px;
}

.about .section-title {
    margin-inline: 0;
}

.about .underline::before {
    left: 0;
    transform: translateX(0);
}

.about-text {
    font-size: var(--fs-8);
    margin-block-end: 20px;
}

.stats-list {
    display: grid;
    gap: 30px;
}

.stats-card {
    text-align: center;
    padding: 15px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-12);
}

.stats-title {
    color: var(--st-patricks-blue);
    font-size: var(--fs-2);
    font-weight: var(--fw-700);
}

.stats-text {
    font-size: var(--fs-8);
}



/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.features-list>li:first-child {
    margin-block-end: 30px;
}

.features-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.features-card .icon {
    background-image: var(--gradient-1);
    background-size: 200%;
    color: var(--white);
    min-width: max-content;
    max-width: max-content;
    font-size: 36px;
    padding: 22px;
    border-radius: 50%;
}

.features-card .icon ion-icon {
    --ionicon-stroke-width: 20px;
}

.features-card .title {
    margin-block-end: 10px;
}

.features-banner {
    margin-block: 40px;
}

.features-banner>img {
    max-width: max-content;
    margin-inline: auto;
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
    padding-block-end: 120px;
}

.blog-list {
    display: grid;
    gap: 30px;
}

.blog-card {
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: var(--radius-12);
}

.blog-card .banner {
    border-radius: var(--radius-12);
    overflow: hidden;
    margin-block-end: 15px;
}

.blog-card .banner img {
    transition: var(--transition-2);
}

.blog-card .banner a:is(:hover, :focus) img {
    transform: scale(1.1);
}

.blog-card .title {
    color: var(--st-patricks-blue);
    font-size: var(--fs-6);
    line-height: 1.2;
    margin-block-end: 15px;
}

.blog-card .title>a {
    color: inherit;
}

.blog-card .title>a:is(:hover, :focus) {
    color: var(--razzmatazz);
}

.blog-card .text {
    margin-block-end: 15px;
}

.blog-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: var(--fs-8);
    color: var(--purple-navy);
    font-weight: var(--fw-500);
    padding-block-end: 10px;
}

.blog-card .meta ion-icon {
    color: var(--winter-sky);
    font-size: 22px;
    --ionicon-stroke-width: 35px;
}

.publish-date,
.comment {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment {
    color: inherit;
    margin-inline-start: auto;
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
    font-size: var(--fs-8);
}

.footer a {
    color: inherit;
}

.footer-top {
    background-image: url("../img/footer-bg.png"), var(--gradient-1);
    background-repeat: no-repeat;
    background-size: auto, 200%;
    background-position: center, center;
    color: var(--white);
}

.footer-brand {
    margin-block-end: 30px;
}

.footer-brand .logo {
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-brand .text {
    font-size: var(--fs-8);
    margin-block-end: 20px;
}

.social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer-top .social-link {
    background-color: var(--white);
    color: var(--winter-sky);
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
}

.footer-top .social-link:is(:hover, :focus) {
    background-image: var(--gradient-2);
    color: var(--white);
}

.footer-list:not(:last-child) {
    margin-block-end: 25px;
}

.footer-list-title {
    font-family: var(--ff-source-sans-pro);
    font-size: var(--fs-5);
    font-weight: var(--fw-700);
    margin-block-end: 15px;
}

.footer-link {
    padding-block: 5px;
}

:is(.footer-link, .footer-item-link):not(address):is(:hover, :focus) {
    text-decoration: underline;
}

.footer-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
}

.footer-item-icon {
    background-image: var(--gradient-2);
    padding: 13px;
    border-radius: 50%;
}

.footer-bottom {
    background-color: var(--space-cadet-2);
    padding: 20px;
    text-align: center;
    color: var(--white);
}

.copyright-link {
    display: inline-block;
    text-decoration: underline;
}

.copyright-link:is(:hover, :focus) {
    text-decoration: none;
}





/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top {
    position: fixed;
    bottom: 0;
    right: 15px;
    background-color: var(--winter-sky);
    color: var(--white);
    font-size: 2rem;
    padding: 14px;
    border-radius: var(--radius-4);
    box-shadow: -5px 3px 15px var(--winter-sky_50);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-1);
}

.go-top.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(-15px);
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 550px screen
 */

@media (min-width: 550px) {

    /**
     * REUSED STYLE
     */

    .container {
        max-width: 550px;
        margin-inline: auto;
    }

    .section-title {
        --fs-3: 3.6rem;
    }

    /**
   * ABOUT
   */

    .stats-list {
        grid-template-columns: repeat(3, 1fr);
    }


    /**
   * BLOG
   */

    .blog-list {
        margin-top: 20px;
    }

    .blog-card {
        display: grid;
        grid-template-columns: 0.75fr 1fr;
        gap: 20px;
        padding: 30px;
    }

    .blog-card .banner {
        margin-block-end: 1000;
    }

    .blog-card .banner a {
        height: 100%;
    }

    /**
   * FOOTER
   */

    .footer-brand,
    .footer-list:not(:last-child) {
        margin-block-end: 0;
    }

    .footer-top .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px -50px;
    }

}



/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

    /**
     * REUSED STYLE
     */

    .container {
        max-width: 720px;
    }



    /**
   * SERVICE
   */

    .service-list {
        grid-template-columns: 1fr 1fr;
    }



    /**
   * FEATURES
   */

    .features-list>li:first-child {
        margin-block-end: 0;
    }

    .features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    /**
   * FOOTER
   */

    .footer-top .container {
        grid-template-columns: repeat(3, 1fr);
    }

}


/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

        /**
       * typography
       */

        --fs-1: 5.4rem;

    }

    /**
   * ABOUT
   */

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }


    /**
     * REUSED STYLE
     */

    .container {
        max-width: 950px;
    }


    /**
   * SERVICE
   */

    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /**
   * FEATURES
   */

    .features-list {
        grid-template-columns: 1fr;
    }

    .features .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .features .section-title {
        grid-column: 1 / 4;
    }

    .features-banner {
        margin-block: 0;
        display: grid;
        place-items: center;
    }

    /**
   * FOOTER
   */

    .footer-top .container {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-brand {
        grid-column: 1 / 5;
    }

    .footer-brand .text {
        max-width: 45ch;
    }

}


/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

    /**
     * REUSED STYLE
     */

    .container {
        max-width: 1200px;
    }

    .section-title {
        --fs-3: 4.6rem;
    }


    /**
   * BLOG
   */

    .blog-list {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card {
        height: 100%;
    }

    .blog-card .content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }



    /**
   * FOOTER
   */

    .footer-top .container {
        grid-template-columns: 1fr 0.5fr 0.7fr 0.5fr 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}

/*---- rps =====*/

#rps {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: -150px;
}

.wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.wrapper i {
    height: 50px;
    width: 50px;
    background: hsla(335, 87%, 53%, 0.12);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0px 3px 3px rgba(110, 107, 107, 0.9);
    font-size: 1.9rem;
}

.wrapper i:hover {
    background: var(--winter-sky);
    color: #ffffff;
}

.wrapper i:first-child {
    left: -40px;
}

.wrapper i:last-child {
    right: -40px;
}

.wrapper .carou {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 4) - 12px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: 0;
    scroll-behavior: smooth;
}

.carou::-webkit-scrollbar {
    display: none;
}

.carou.no-transisi {
    scroll-behavior: auto;
}

.carou.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carou.dragging .card-rps {
    cursor: grab;
    user-select: none;
}

.carou .card-rps {
    scroll-snap-align: start;
    height: 350px;
    list-style: none;
    background: #f8f8f8;
    border-radius: 10px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10;
    box-shadow: 0 25px 10px rgba(0, 0, 0, 0.3);
}

.carou .card-rps:hover {
    background: var(--winter-sky);
}

.card-rps .img {
    background: #ffffff;
    width: 148px;
    height: 148px;
    border-radius: 10px 0 10px 0;
    margin-bottom: 20px;
}

.card-rps .img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px 0 10px 0;
}

.card-rps h2 {
    font-size: 18px;
    text-align: center;
}

.card-rps span {
    font-size: 14;
    margin: 10px 0;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .wrapper .carou {
        grid-auto-columns: calc((100% / 2) - 9px);
    }

    .wrapper i:first-child {
        left: 0;
    }

    .wrapper i:last-child {
        right: 0;
    }

}

@media screen and (max-width: 600px) {
    .wrapper .carou {
        grid-auto-columns: 100%;
    }
}

.card-rps .img-dosen img {
    width: 200px;
    height: 230px;
    object-fit: cover;
    border-radius: 10px 0 10px 0;
    margin-bottom: 10px;
}

/* .about-content {
    margin-top: 100px;
}

.about-banner img {
    max-width: 420px;
    margin-top: -70px;
} */