@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --second-color: #ccc;
    --main-color: #00abf0;
    --big-font: 5rem;
    --h2-font: 3rem;
    --p-font: 1.6rem;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: #ededed;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    padding: 2rem 9%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 25px;
    color: #ededed;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}

.navbar a:hover, 
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    display: none;
}

section {  
    min-height: 100vh;
    padding: 160px 15% 120px;
}

.rumah {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('Home.png') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 9%;
    color: #ededed;
}

.rumah-content {
    max-width: 60rem;
}

.rumah-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00abf0;
}

.rumah-content h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.3;
}

.rumah-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.rumah-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: #00abf0;
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color);
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5;
}

.btn-box a:hover {
    color: var(--main-color);
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: var(--main-color);
}
.btn-box a:nth-child(2):hover {
    color: var(--bg-color);
}

.btn-box a:nth-child(2)::before {
    background: var(--main-color);
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.rumah-sci {
    position: absolute;
    bottom: 4rem;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.rumah-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.rumah-sci a:hover {
    color: var(--bg-color);
}

.rumah-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.rumah-sci a:hover::before {
   width: 100%;
}

.rumah-imgHover {
    position: absolute;
    top: 0;
    right: 0;
    width: 650px;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.rumah-imgHover:hover {
    background: var(--bg-color);
    opacity: .8;
}

header.sticky {
    background: #081b29;
    border-bottom: 1px solid #ffffff1a;
    padding: 20px 10%;
}

.about {
    background: var(--bg-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding: 0 10%;
    color: #ededed;
    gap: 1.5rem;
}

.about-img img {
    max-width: 400px;
    height: auto;
    width: 100%;
    border-radius: 4px;
}

span {
    color: var(--main-color);
}

.about-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
}

.about-text h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* solusi */

/* .main-text {
    text-align: center;
    margin: 0px 0px;
}

.main-text p {
    color: var(--text-color);
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 40px;
}

.main-text h2 {
    font-size: 30px;
    line-height: 1;;
    margin-bottom: 15px;
}

.row {
    display: inline grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, auto));
    align-items: center;
    gap: 2rem;
}

.card img{
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
    border-radius: 20px;
  } */
  
  /* .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  } */
  
  /* img {
    border-radius: 200px;
    align-items: center;
    padding: 15px;
  }
  
  .container {
    padding: 5px 15px;
    text-align: left;
  }

  .container h4 {
    font-size: 16px;
    color: var(--text-color);
  }

  .container h2 {
    font-size: 24px;
    color: var(--main-color);
  }

  .container p {
    font-size: 12px;
    padding-bottom: 10px;
  }

.simak {
    display: inline-block;
    padding: 4px 10px;
    background: #CA111F;
    color: var(--second-color);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    transition: all .45s ease;
    align-items: center;
}

.simak:hover {
    letter-spacing: .5px;
    background: #CA111F;
    color: var(--main-color);
} */

/* -------------- */

.services {
    background: var(--second-bg-color);
}

.main-text {
    text-align: center;
}

.main-text p {
    color: var(--second-color);
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.main-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
    margin-bottom: 30px;
}

.services-content {
    display: inline grid;
    grid-template-columns: 230px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-right: 1rem;
    margin-left: 1rem;
}

.box {
    background: var(--bg-color);
    padding: 30px 40px;
    border-radius: 10px;
    transition: all .45s ease;
}

.s-icons img{
    margin-bottom: 20px;
}

.box h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.box p {
    color: var(--second-color);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read {
    display: inline-block;
    padding: 8px 18px;
    background: var(--second-bg-color);
    color: var(--second-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .45s ease;
}

.read:hover {
    letter-spacing: 1px;
    background: var(--main-color);
    color: var(--text-color);
}

.box:hover {
    transform: translateY(-8px);
    cursor: pointer;
}

.portofolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 5rem;
    }
    
.row {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.row img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5;
}

.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(#00acf0a4, #012243);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
}

.layer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer p {
    color: var(--second-color);
    font-size: 1rem;
    line-height: 1.8;
}

.layer i {
    color: var(--main-color);
    margin-top: 20px;
    font-size: 20px;
    background: var(--text-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img {
    transform: scale(1.1);
}

.row:hover .layer {
    height: 100%;
}

.contact {
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.contact-text h4 {
    color: var(--text-color);
    margin: 18px 0;
    font-size: 20px;
    font-weight: 600;    
}

.contact-text h2 {
    font-size: var(--h2-font);
    line-height: 1;
}

.contact-text p {
    color: var(--second-color);
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.list {
    margin-bottom: 2.8rem;
}

.list li {
    margin-bottom: 12px;
}

.list li a {
    display: block;
    color: var(--second-color);
    font-size: 14px;
    transition: all .45s ease;
}

.list li a:hover {
    color: var(--text-color);
    transform: translate(5px);
}

.contact-icons i {
    height: 45px;
    width: 45px;
    background: var(--main-color);
    color: var(--text-color);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    margin-top: 15px;
    transition: all .45s ease;
}

.contact-icons i:hover {
    background: var(--text-color);
    color: var(--main-color);
}

.contact-icons-whatsapp {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wa-box {
    width: 45px;
    height: 45px;
    background: #14c8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    margin-right: none;
    margin-top: 15px;
}

.wa-box i {
    font-size: 35px;
    color: #fff;
}

.wa-number {
    font-size: 14px;  /* Perbesar ukuran text */
    font-weight: 600;
    color: #ffffff;
}



.contact-form {
    position: relative;
}

.contact-form form input, form textarea {
    width: 100%;
    padding: 14px;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-form textarea {
    resize: none;
    height: 240px;
}

.contact-form .submit {
    display: inline-block;
    font-size: 16px;
    background: var(--main-color);
    color: var(--text-color);
    width: 160px;
    transition: all .45s ease;
}

.contact-form .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.end {
    padding: 20px 15%;
    display: flex;
    flex-wrap: wrap;
    align-items: top;
    justify-content: space-between;
    gap: 2rem;
    background: var(--bg-color);
}

.last-text p {
    color: var(--second-color);
    font-size: 14px;
}

.top i {
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-color);
    background: var(--main-color);
}

@media (max-width: 1480px) {
    header {
        padding: 12px 2.5%;
        transition: .1s;
    }
    header.sticky {
        padding: 10px 2.5%;
        transition: .1s;
    }
    section {
        padding: 110px 3% 60px;
    }
    .end {
        padding: 15px 3%;
    }
}

@media (max-width: 1100px){
    :root{
        --big-font: 3.5rem;
        --h2-font: 2.5rem;
        --p-font: 1rem;
        transition: .1s;
    }
    .rumah-content h1 {
        font-size: 4rem;
    }
    .rumah {
        height: 87vh;
    }
}

@media (max-width: 920px) {
    .about {
        grid-template-columns: 1fr;
    }
    .about-img {
        text-align: center;
        order: 2;
    }
    .about-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 840px) {
    #menu-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: -1000%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        text-align: left;
        transition: all .45s ease;
    }
    .navbar a {
        display: block;
        margin: 17px;
        font-size: 20px;
        transition: all .45s ease;
        color: var(--text-color);
    }
    .navbar a:hover {
        color: var(--main-color);
    }
    .navbar a.active {
        color: var(--text-color);
    }
    .navbar.open {
        top: 100%;
    }

    .about-img img {
    max-width: 400px;
    height: auto;
    width: 100%;
    border-radius: 4px;
    }

    .about-text p {
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 1.5;
    margin-bottom: 2rem;
    }
}