@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&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}
:root {
    --primary: rgb(100,100,255);
    --cta: rgb(28, 49, 168);
    --accent: rgb(255, 100, 242);
    --text: rgb(60,60,60);
    --white: rgb(245,245,245);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:'Poppins', Helvetica, sans-serif;
}
body {
    background: var(--white);
    /* background: rgb(37, 37, 51); */
}
a {
    text-decoration: none;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3rem;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
}
header.scrolled {
    background: var(--text);
}
header .logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    text-transform: uppercase;
}
header .logo-image {
    width: 50px;
    height: 100%;
}
header .logo .logo-text {
    padding: 0;
    line-height: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
header .logo h1 {
    font-size: 1.8rem;
    font-weight: bolder;
}
header .logo span {
    font-size:0.6rem;
}
header.scrolled .logo span {
    color: var(--primary);
}
header a {
    color: var(--text);
}
header.scrolled a {
    color:var(--white)
}
header nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
}
header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap:0.5rem;
    text-transform: uppercase;

}
header nav ul li {
    padding: 8px;
    border-bottom: solid 2px transparent;
}
header nav ul li:hover {
    border-bottom:solid 3px var(--primary)
}
header nav ul li.active {
    border-bottom:solid 3px var(--primary)
}
header nav .contact-btn {
    text-transform: uppercase;
    color: var(--white);
    background: var(--text);
    background: rgb(45, 165, 45);
    padding: 8px 16px;
    border-radius: 4px;
}
header.scrolled nav .contact-btn {
    background: var(--primary);
}
header .bars {
    display: none;
}
header.scrolled .bars {
    color: var(--white);
}
.container {
    display: flex;
    justify-content: center;   
    align-items: center; 
}
main {
    padding: 0 2rem;
    
}
section {
    min-height: 100dvh;
    background: linear-gradient(180deg, var(--white), rgb(255,255,255));
    padding: 5rem 1rem 1rem 1rem;
}
section#home {
    padding: 5rem 0rem 0rem 0rem;
}
section#home  .hero-section{
    display: flex;
    justify-content: space-evenly;
    position: relative;
    z-index: 0;
    min-height: 100dvh;
    border-radius: 20px;
    padding: 2rem;
    background:
  radial-gradient(ellipse at left, var(--accent), transparent),
  radial-gradient(ellipse at right, var(--primary), transparent);
  overflow: hidden;
}
section#home  .hero-section::after {
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, var(--primary),transparent,transparent);
}
section#home .left-pane {
    width: 90%;
    height: inherit;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--white);
}
section#home .left-pane p {
    font-size: 0.9rem;
}
section#home .left-pane h1{
    text-transform: uppercase;
    font-size: 2.2rem;
}
section#home .left-pane .cta {
    padding: 12px 40px;
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
    border-radius: 4px;
    text-transform: uppercase;
    position:relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    z-index: 3;
    text-decoration: underline;
}
section#home .left-pane .cta::before {
    z-index: 3;
    transition: 0.3s ease-in-out;
    content:"";
    position:absolute;
    width:200%;
    height: 100%;
    left:-100%;
    top:0;
    background: linear-gradient(90deg, var(--primary),var(--cta),var(--cta));
}
section#home .left-pane .cta:hover::before {
left: 0;
}
section#home .left-pane .cta span {
    position: relative;
    display: block;
    z-index: 4;

}
section#home .left-pane .stars {
    color: rgb(243, 173, 42);
    display: inline-flex;
}

section#home .left-pane .stars span {
    position: relative;
    display: inline-block;
}

section#home .left-pane .stars span:last-child {
    overflow: hidden;
    width: 12px;
}

section#home .left-pane .stars span:last-child .half {
    display: inline-block;
    width: 20px;
}
section#home .left-pane .infos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap:2rem;
}

section#home .left-pane .infos .info h1 {
    font-size: 4.5rem;
    line-height: 3.5rem;
}
section#home .left-pane .infos .info span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
section#home .right-pane {
    width: 100%;
    background: url('logo bw.png');
    background-size:60%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
}
section#home .right-pane .mhs {
    width: 100%;
    height: 100%;
    object-position:bottom center;
    object-fit: contain;
}
section#prodi {
    display: flex;
    justify-content: center;
    align-items: center;
}
section#prodi .left-pane {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
section#prodi .left-pane .cards{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    perspective: 1200px;
    height: 300px;
    width: 80%;
}
section#prodi .left-pane .cards .prev-button, section#prodi .left-pane .cards .next-button {
    position: absolute;
    width: 30px;
    height: 30px;
    border-right: solid 6px var(--text);
    border-bottom: solid 6px var(--text);
}
section#prodi .left-pane .cards .prev-button {
    top: 50%;
    left: 10%;
    z-index: 7;
    transform: translate(-10%, -50%) rotate(135deg);
    cursor: pointer;
}
section#prodi .left-pane .cards .next-button {
    top: 50%;
    right: 10%;
    z-index: 7;
    transform: translate(-10%, -50%) rotate(-45deg);
    cursor: pointer;
}
section#prodi .left-pane .cards .prodi-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    /* gap: 1rem; */
    overflow: hidden;
    width: 60%;
    /* height: 100%; */
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%) scale(0.8);
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 3;
    background: rgb(255, 255, 255);
    /* background: var(--prodi-card); */
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 12px;
    opacity: 0;
    text-wrap: nowrap;
    font-size: 0.9rem;
}
/* section#prodi .left-pane .cards .prodi-card::before {
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    top: 0;
    left: 0;
    background: url("logo-wh.png");
    background-position:top center;
    background-size: contain;
    opacity: 0.2;
    background-repeat: no-repeat;
} */
section#prodi .left-pane .cards .prodi-card .card-image {
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    z-index: 5;
}
section#prodi .left-pane .cards .prodi-card .card-image span {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
section#prodi .left-pane .cards .prodi-card .card-image span img{
    width: 70%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
section#prodi .left-pane .cards .prodi-card .card-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    height: 50%;
    z-index: 5;
    /* background: red; */
    
}
section#prodi .left-pane .cards .prodi-card .card-body h1 {
    color: var(--prodi-card);
    /* color: var(--white); */
}
section#prodi .left-pane .cards .prodi-card .card-footer {
    padding: 1rem;
    background: var(--prodi-card);
    width: 100%;
    color: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
    height: 100%;
    z-index: 5;
}
section#prodi .left-pane .cards .prodi-card .card-footer .footer-item span{
    background: var(--white);
    color: var(--prodi-card);
    padding: 0.5rem;
    border-radius: 4px;
}
section#prodi .left-pane .cards .prodi-card.prev-card {
    opacity: 0.6;
    transform: translate(-70%, -50%) scale(0.9);
    z-index: 6;
}
section#prodi .left-pane .cards .prodi-card.next-card {
    opacity: 0.6;
    transform: translate(-30%, -50%) scale(0.9);
    z-index: 6;
}
section#prodi .left-pane .cards .prodi-card.shown-card {
    opacity: 1;
    z-index: 7;
    transform:translate(-50%, -50%) scale(1);
}
section#prodi .right-pane {
    width: 100%;
}
section#prodi .right-pane .images-prodi {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* overflow: hidden; */
}
section#prodi .right-pane .images-prodi .image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20%, -50%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    justify-content: center;
    /* width: 500px; */
}
section#prodi .right-pane .images-prodi .image.shown {
    transform: translate(-50%, -50%);
    opacity: 1;
}
section#prodi .right-pane .images-prodi .image img{
    width: 100%;
    height: 100%;
    object-position:center;
}
h1.page-title {
    text-align: center;
    font-size: 2.5rem;
}
.grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}
.grid > * {
    justify-self: center;
    align-self: stretch;
}
section#keunggulan .grid .card {
    min-height: 300px;
    padding: 1rem;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    overflow: hidden;
    position: relative;
}
section#keunggulan .grid .card:before {
    content:"";
    position: absolute;
    width: 20%;
    height: 20%;
    top: -10%;
    right: -10%;
    background: var(--icon-clr);
    border-radius: 50%;
    transition: 0.5s ease-in-out;
}
section#keunggulan .grid .card:hover::before {
    top: -30%;
    right: -30%;
    width: 200%;
    height: 200%;
}
section#keunggulan .grid .card:hover, section#keunggulan .grid .card:hover .card-header span{
    color: rgb(255, 255, 255);
    opacity: 1;
}
section#keunggulan .grid .card .card-header {
    min-height: 150px;
    position: relative;
}
section#keunggulan .grid .card .card-header span{
    position: absolute;
    font-size: 10rem;
    color: var(--icon-clr);
    opacity: 0.5;
    top: -30%;
    right: -5%;
    z-index: 2;
    transition: 0.5s ease-in-out;
}
section#keunggulan .grid .card .card-body {
    z-index: 3;
    display: block;
    position: relative;
}

section#testimoni .grid .card{
    min-height: 300px;
    padding: 1.5rem;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    transition: 0.5s ease-in-out;
}
section#testimoni .grid .card:hover{
    margin-top: -20px;
    margin-bottom: 20px;
    background: rgb(230, 230, 230);
}
section#testimoni .grid .card .card-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}
section#testimoni .grid .card .card-header .profil-image {
    width: 100px;
    height: 100px;
    border: solid 2px rgb(100,100,255);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
section#testimoni .grid .card .card-header .profil-image img{
    width: 100%;
    height: 100%;
}
section#testimoni .grid .card .card-header .stars{
    color:rgb(243, 173, 42);
}
section#testimoni .grid .card .card-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}
section#testimoni .grid .card .card-body h1 {
    line-height: 1.5rem;
}
section#testimoni .grid .card .card-body p,section#testimoni .grid .card .card-body span {
    font-size: 0.8rem;
    text-align: justify;
}
.accordions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
}
.accordions .accord-item {
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 8px;
    padding:1rem 1rem 0rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: max-height 0.5s ease-in-out;
    cursor: pointer;
}
.accordions .accord-item .accord-header{
    position: relative;
    width: 100%;
}
.accordions .accord-item .accord-header::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    border-right: solid 3px var(--text);
    border-bottom: solid 3px var(--text);
    top: 50%;
    right: 2%;
    transform: translate(2%, -50%) rotate(-45deg);
    transition: 0.5s ease-in-out;
}
.accordions .accord-item.active .accord-header::before {
    transform: rotate(45deg);
}
.accordions .accord-item .accord-content {
    width: 100%;
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.5s ease-in-out;
}
.accordions .accord-item .accord-content .maps{
    width: 100%;
}
/* .accordions .accord-item.active .accord-content {
    padding-bottom: 1rem;
} */
section#promo .promo-card{
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    background: rgb(255,255,255);
    max-width: 300px;
}
section#promo .promo-card img{
    width: 100%;
}

footer {
    background: var(--text);
    color: var(--white);
}
footer .grid {
    padding: 2rem 1rem ;
}
footer .grid .part {
    max-width: 300px;
}
footer .grid .part .foot-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
footer .grid .part img{
    opacity: 0.5;
    width: 80%;
    object-position:top center;
    object-fit: contain;
}
footer .grid .part ul  {
    list-style: none;
}
footer .grid .part ul  li {
    padding: 0.3rem;
}
footer .grid .part ul  li a{
    color: var(--white);
}
footer .copy {
    padding: 0.5rem;
    text-align: center;
    background: rgb(46, 45, 58);
    display: block;
    position: relative;
    bottom: 0;
    width: 100%;
}
@media (max-width:768px){
    body {
        position:relative;
    }
    header .logo h1 {
        font-size: 1.2rem;
    }
    header .logo span {
    line-height: 1rem;
    }
    header nav {
        background: rgba(60,60,60, 0.5);
        position:fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        z-index: -3;
        transition: 0.3s ease-in-out;
        display: none;
    }

    header nav.show {
        opacity: 1;
        z-index: 99;
        display: flex;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header nav a {
        color: var(--white);
    }
        header .bars {
        display: block;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }
    main {
        padding: 0;
    }

    section#home .hero-section{
        flex-direction: column;
        
    }
    section#home .hero-section .left-pane h1{
        font-size: 1.3rem;
    }
    section#home .right-pane {
        height:50%;
        display: none;
    }
    section#home .right-pane .mhs {
        width: 300px;
        height: 350px;
        object-fit: cover;
        object-position: top;
    }

    section#home .left-pane .infos .info h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
    section#prodi {
        flex-direction: column-reverse;
        min-height: 90dvh;
    }
    section#prodi .left-pane .cards {
        width: 100%;
    }
    section#prodi .left-pane .cards .prev-button,section#prodi .left-pane .cards .next-button{
        z-index: 10;
    }
    section#prodi .left-pane .cards .prev-button {
        left: 5%;
            transform: translate(-5%, -50%) rotate(135deg);
    }
    section#prodi .left-pane .cards .next-button {
        right: 5%;
        transform: translate(5%, -50%) rotate(-45deg)
    }
    section#prodi .left-pane .cards .prodi-card{
        min-width: 250px;
    }
    section#prodi .left-pane .cards .prodi-card .card-body h1{
        font-size: 1rem;
    }
    section#prodi .left-pane .cards .prodi-card .card-footer{
        font-size: 0.6rem;
    }
    section#prodi .right-pane {
        height: 500px;
        display: none;
    }
    section#prodi .right-pane .images-prodi .image {
        height: 300px;
    }
    section#testimoni .grid .card:hover{
    margin-top: 0;
    margin-bottom: 0;
    background: rgb(230, 230, 230);
}
}

