/* Start basic function ================================================*/
:root {
    --white: #FFFFFF;
    --primary: #0088FF;
    --primary-hover: #0080F0;
    --black: #333333;
    --grey: #999999;
    --light-grey: #F2F2F7;
    --success: #25D366;
    --primary-font: "Inter Tight", sans-serif;
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-sm {
    max-width: 600px; 
    margin: 0 auto;    
    padding: 0 15px;  
}

.container-md {
    max-width: 850px; 
    margin: 0 auto;    
    padding: 0 15px;     
}

.container-md-right {
    padding-left: max(15px, calc((100% - 850px) / 2));
    overflow-x: hidden;
}

.bg-light-grey{
    background-color: var(--light-grey) !important;
}

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

.text-center{
    text-align: center !important;
}

.text-black{
    color: var(--black) !important;
}

.text-danger{
    color: rgb(236, 23, 23) !important;
}

.mb-1{
    margin-bottom: 1rem !important;
}

.mb-2{
    margin-bottom: 2rem !important;
}

.mb-3{
    margin-bottom: 3rem !important;
}

.mb-4{
    margin-bottom: 4rem !important;
}

.mb-0{
    margin-bottom: 0rem !important;
}

.my-5{
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/* =========================
   ROW
========================= */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    row-gap: clamp(1.5rem, calc(2.5vw + 1rem), 3rem);
    align-items: stretch;
}

/* =========================
   COLUMNS (BASE)
========================= */
[class^="col-"],
[class*=" col-"] {
    box-sizing: border-box;
    padding-left: 1.5rem;
    padding-right: 1.5rem;

    /* THIS IS CRITICAL */
    flex: 0 0 auto;
}

/* =========================
   MOBILE FIRST
========================= */
.col-12 { width: 100%; }
.col-9  { width: 75%; }
.col-8  { width: 66.666667%; }
.col-6  { width: 50%; }
.col-4  { width: 33.333333%; }
.col-3  { width: 25%; }

/* =========================
   ≥576px (SM)
========================= */
@media (min-width: 576px) {
    .col-sm-12 { width: 100%; }
    .col-sm-9  { width: 75%; }
    .col-sm-8  { width: 66.666667%; }
    .col-sm-6  { width: 50%; }
    .col-sm-4  { width: 33.333333%; }
    .col-sm-3  { width: 25%; }
}

/* =========================
   ≥768px (MD)
========================= */
@media (min-width: 768px) {
    .col-md-12 { width: 100%; }
    .col-md-9  { width: 75%; }
    .col-md-8  { width: 66.666667%; }
    .col-md-7 { width: 58.333333%; }
    .col-md-6  { width: 50%; }
    .col-md-5  { width: 41.666667%; }
    .col-md-4  { width: 33.333333%; }
    .col-md-3  { width: 25%; } /* 4 columns */
}

/* =========================
   ≥992px (LG)
========================= */
@media (min-width: 992px) {
    .col-lg-12 { width: 100%; }
    .col-lg-9  { width: 75%; }
    .col-lg-6  { width: 50%; }
    .col-lg-4  { width: 33.333333%; }
    .col-lg-3  { width: 25%; }
}

.justify-content-center{
    justify-content: center !important;
}

.fw-500{
    font-weight: 500 !important;
}

.btn-success{
    border: 1px solid var(--success) !important;
    color: var(--white) !important;
    background: var(--success);
}

.btn-success:hover{
    border: 1px solid var(--success) !important;
    color: var(--success) !important;
    background: var(--white);
}

.d-flex{
    display: flex !important;
}

.flex-column{
    flex-direction: column !important;
}

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

.justify-content-center{
    justify-content: center !important;
}

.p-3{
    padding: 3rem !important;
}

.pb-0{
    padding-bottom: 0 !important;
}
.pt-0{
    padding-top: 0 !important;
}

.mt-1{
    margin-top: 1rem !important;
}

.mt-3{
    margin-top: 3rem !important;
}

.fs-10{
    font-size: 1rem !important;
}

.w-100{
    width: 100% !important;
}
/* End basic function ================================================*/

.section{
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section .title{
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, calc(2.5vw + 1rem), 3.3rem);
    font-weight: 500;
}

.section .description{
    margin-bottom: 3rem;
    font-weight: 300;
    font-size: clamp(1.6rem, calc(1.8vw + 1rem), 1.8rem);
}

.section .button{
    display: flex;
    align-items: center;
    justify-content: center;
}

.section .section-content{
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 100%;
    transform: translate(-50%, 50%);
}

.convo .convo-left{
    width: 100%;
    height: auto;
    text-align: left;
}
.convo .convo-right{
    width: 100%;
    height: auto;
    text-align: right;
}

.convo .convo-left img,.convo .convo-right img{
    width: 48%;
    object-fit: contain;
}

.section video{
    overflow: hidden;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 65rem;
    object-position: center right;
}

/* start glass ================================== */
.liquid-glass-wrapper{
    z-index: inherit;
    border: 1px solid var(--white);
    border-radius: 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.liquid-glass-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    z-index: 0;
}

.liquid-glass-content {
    position: relative;
    z-index: 1;
}
/* end glass ================================== */

/* start card ================================== */

.card{
    
    border-radius: 30px;
    box-shadow: 0 5px 16px -7px rgba(0, 0, 0, 0.1);
    background-color: var(--light-grey);
    display: flex;
    flex-direction: column;
    background-clip: border-box;
    height: 100%;
}

.card .card-body{
    padding: clamp(1.5rem, calc(2.5vw + 1rem), 3rem);
    padding-top: 0;
}

.card.glass{
    background-color: unset;
    box-shadow: unset;
}

.card-icon{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    margin-top: 5rem;
}

.card-icon::after{
    border-radius: 100%;
    z-index: 0;
    content: '';
    width: 7rem;
    height: 7rem;
    background-color: var(--white);
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);

}

.card-icon span{
    z-index: 1;
    font-size: 3rem;
    color: var(--black);
}

.card-img{
    height: 8rem;
    margin-bottom: 4rem;
}

.card-img img{
    object-fit: contain;
}

.card-title{
    font-size: clamp(1.6rem, calc(1.8vw + 1rem), 1.8rem);
    color: var(--black);
    font-weight: 500;
    margin-bottom: 1rem;
}
/* end card ==================================  */

/* start swiper  ================================== */
.swiper-wrapper {
    height: 100%;
    align-items: stretch;
}

.swiper {
    height: 100%;
}

.image-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* swiper */
.image-swiper {
    width: 100%;
}

.swiper-slide {
    overflow: hidden;
    border-radius: 3rem;
    height: auto !important;
}

.swiper-slide img {
    border-radius: 30px 30px 0 0 ;
    width: 100%;
    height: clamp(44rem, calc(46vw + 1rem), 56rem);
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-02 .swiper-slide img {
    height: clamp(30rem, calc(30vw + 1rem), 30rem);
}

.swiper-body{
    height: 100%;
    padding: 3rem 2rem;
    background-color: var(--white);
    position: relative;
    padding-bottom: 4rem;
}

.swiper-slide{
    position: relative;
}

.slide-02 .swiper-body{
    background-color: var(--light-grey);
}

.swiper-slide .button a{
    text-decoration: none;
    color: var(--primary);
    font-size: 1.4rem;
}

.swiper-slide .button{
    position: absolute;
    right: 2rem;
    bottom: 3rem;
}

.swiper-slide.slide-01{
    background-color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: start;
}

.swiper-slide.slide-01 .button{
    position: unset;
    right: unset;
    bottom: unset;
}

.swiper-slide.slide-03{
    background-color: rgba(0, 136, 255, 0.04);
    border: 1px solid var(--primary);
}

.swiper-slide.slide-03 .swiper-body{
    background-color: rgba(0, 136, 255, 0.04);
}

.swiper-slide.slide-03 .description{
    padding: 0 3rem;
    text-align: center;
    padding-bottom: 3rem;
}

.swiper-slide.slide-03 .image {
    padding: 2rem;
}

.swiper-slide.slide-03 .image img {
    border-radius: 3rem;
}

/* end swiper ================================== */

/* start cta */
.group-whatsapp .button{
    width: clamp(12rem, calc(15vw + 1rem), 17.5rem); 
    height: clamp(12rem, calc(15vw + 1rem), 17.5rem);
    background-color: var(--success);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.group-whatsapp{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-whatsapp span{
    font-size: clamp(8rem, calc(10vw + 1rem), 12.5rem);
    color: var(--white);
}

.cta{
    padding: 15rem 0;
}

/* end cta */

/* start footer */
footer{
    background-color: var(--black);
    color: var(--white);
    padding-top: 4rem;
    padding-bottom: 1rem;
    letter-spacing: 1px;
}

footer div{
    font-size: 1.2rem;
    line-height: 2rem;
}

.copyright{
    margin-top: 2rem;
    font-size: 1rem;
}

footer .menu{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 3rem;
    flex-wrap: wrap;
}

footer .social-link{
    display: flex;
    justify-content: end;
    align-items: end;
    height: 100%;
    gap: 0rem;
    font-size: 2rem;
}

footer .menu a,footer a{
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem !important;
}

footer .social-link a{
    padding: 0 1rem;
}

footer .social-link a, footer .social-link a i{
    font-size: 1.8rem;
}

footer .social-link a:last-child{
    padding-right: 0;
}

footer .menu a:hover,footer .social-link a:hover{
    color: var(--white);
    font-weight: 500;
}

.contact{
    display: flex;
    justify-content: start;
    flex-direction: column;
}

footer .contact .title{
    text-align: start;
}

.social{
    display: flex;
    justify-content: end;
    flex-direction: column;
}

footer .social .title{
    text-align: end;
}

.company-footer{
    text-align: start;
}

@media (max-width: 992px) {
    footer .menu{
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer .menu{
        gap: 1rem;
    }
    .company-footer{
        text-align: center;
        margin-bottom: 3rem;
    }
    
    footer .contact{
        margin-top: 3rem;
    }

    footer .social-link{
        justify-content: center;
    }

    footer .contact .title{
        text-align: center;
    }
}

.logo-footer{
    height: 8rem;
    text-align: start;
}
.logo-footer img{
    object-fit: contain;
    width: auto;
    height: 100%;
}

.powered{
    font-size: 1rem !important;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .logo-footer{
        text-align: center;
    }

    footer .social .title{
        text-align: center;
    }

    footer .contact .text-start{
        text-align: center;
    }
}
/* end footer */

/* start step */
.step .card{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .step .card{
        aspect-ratio: unset;
    }
}
/* end step */

/* start undang-undang sivil */
/* start section */

.dialog-content{
    box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(60px);
}

.dialog-container {
    max-width: 1140px; 
    margin: 0 auto;    
    padding: 0 15px;  
    position: relative;  
    height: clamp(26rem, calc(55vw + 1rem), 50rem); 
}

.dialog-container .orang{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: clamp(13rem, calc(25vw + 1rem), 30rem);
    opacity: 0;
    display: flex;
    align-items: end;
    justify-content: end;
}

.dialog-container .orang img{
    width: 100%;
    height: auto;        
    object-fit: contain;
}

.dialog{
    padding: clamp(0.5rem, calc(1vw + 1rem), 2rem) clamp(1rem, calc(2vw + 1rem), 3rem);
    color: #1A1A1A;
    background: rgba(0, 136, 255, 0.1);
    width: fit-content;
    height: fit-content;
    border-radius: 2rem;
    font-size: clamp(0.8rem, calc(1vw + 1rem), 1.8rem);
    font-weight: 500;
    opacity: 0;
    transform: translateY(40px);
}

.dialog-1{
    position: absolute;
    bottom: 35%;
    left: 20%;
    transform: rotate(-35deg);
}

.dialog-2{
    position: absolute;
    bottom: 70%;
    left: 40%;
    transform: rotate(-12deg);
}

.dialog-3{
    position: absolute;
    bottom: 35%;
    right: 20%;
    transform: rotate(35deg);
}

.serabut-1{
    position: absolute;
    bottom: 65%;
    left: 20%;
}

.serabut-1 img{
    height: clamp(3rem, calc(13vw + 1rem), 16rem);
    object-fit: contain;
}

.serabut-2{
    position: absolute;
    bottom: 65%;
    right: 10%;
}

.serabut-2 img{
    height: clamp(7rem, calc(17vw + 1rem), 20rem);
    object-fit: contain;
}

.serabut-3{
    position: absolute;
    bottom: 57%;
    right: 30%;
}

.serabut-3 img{
    height: clamp(1rem, calc(7vw + 1rem), 10rem);
    object-fit: contain;
}

.serabut-1, .serabut-2, .serabut-3 {
    display: inline-block; /* ensures rotation center works */
    transform-origin: center center;
}

@media (max-width: 768px) {
    .dialog-1 {
        bottom: clamp(6rem, calc(10vw + 1rem), 10rem);
        left: 5%;
    }
    .dialog-2 {
        bottom: 70%;
        left: 32%;
    }

    .dialog-3 {
        bottom: clamp(6rem, calc(10vw + 1rem), 10rem);
        right: 8%;
    }

    .serabut-1{
        bottom: 65%;
        left: 5%;
    }

    .serabut-2{
        right: 1%;
    }
}

/* start rakan guaman */
.rakan-guaman{
    position: relative;
    width: 100%;
    aspect-ratio: 9/10;
    min-height: clamp(105rem, calc(125vw + 1rem), 125rem);
}

.rakan-guaman-content{
    padding-top: 10rem;
    z-index: 1;
    position: relative;
}

#prosess-sivil{
    position: absolute;
    bottom: 5%;
    right: 50%;
    transform: translate(50%,0);
    width: 100%;
    z-index: 1;
}

#prosess-sivil .row, #prosess-sivil .title{
    margin-left: 15px;
    margin-right: 15px;
}

.liquid-glass-wrapper.white{
    background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
    .rakan-guaman{
        min-height: 115rem;
    }
    .rakan-guaman-content{
        padding-top: 0rem;
    }

    #prosess-sivil{
        bottom: 1%;
    }
}
@media (max-width: 576px) {
    .rakan-guaman{
        min-height: 105rem;
    }
}

.left{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.left img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.right{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

.right img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* end rakan guaman */


/* start kenapa pilih kami */
#scroll-sivil-video video{
    min-height: 95rem;
}
/* end kenapa pilih kami */

/* start cta */
.sivil.cta{
    padding: 0;
    position: relative;
}

.cta img{
    object-position: center bottom;
    min-height: 30rem;
}

.cta-content{
    width: 100%;
    position: absolute;
    top: 20%;
    right: 50%;
    transform: translate(50%, 0);
}

.cta-content .title{
    padding: 0 1rem;
    margin-bottom: clamp(2rem, calc(2vw + 1rem), 4rem);
}
/* end cta */

#ilmu{
    opacity: 0;
}
/* end undang-undang sivil */

/* start harta tanah */
/* start mimpingeri */
.mimpi-ngeri{
    opacity: 0;
}
/* end mimpingeri */

/* start rakan guaman */
#scroll-hartanah-video .section-content{
    bottom: unset;
    top: 10%;
    transform: translate(-50%, 0);
}
/* end rakan guaman */

/* start rakan strategik */
.box-marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.box-track {
    display: flex;
    gap: clamp(0.5rem, calc(1vw + 1rem), 2rem);
    width: max-content;
    will-change: transform;
}

/* CARD */
.box-card {
    display: flex;
    flex-direction: column;
}

/* SQUARE IMAGE BOX */
.box-image {
    width: 100%; 
    height: clamp(16rem, calc(25vw + 1rem), 29rem);
    aspect-ratio: 447/475;
    border-radius: 30px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 1rem;
}

.box-image.rakan {
    background: transparent;
    height: clamp(10rem, calc(15vw + 1rem), 15rem) !important;
}
.box-image.rakan img{
    height: auto;
    object-fit: contain;
    border-radius: 30px;
}
/* end rakan strategik */

.estet.cta img{
    object-fit: contain;
}

@media (max-width: 576px) {
    .hartanah.cta img{
        min-height: 65rem;
    }

    #rumah img{
        min-height: 75rem;
    }
}

@media (max-width: 768px) {
    #rumah img{
        min-height: 75rem;
    }
}
/* end harta tanah */

/* start kalkulator */
/* start tab */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 0;
    margin-top: 2rem;
    width: 100%;
    max-width: 70rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(142, 142, 147, 1);
}

.tab-nav li {
    cursor: pointer;
    font-weight: 400;
    color: var(--black);
    position: relative;
    transition: color 0.2s ease;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    border-radius: 1.2rem;
    color: rgba(89, 89, 89, 1);
}

.tab-nav li .description{
    font-size: clamp(1rem, calc(1vw + 1rem), 1.2rem);
    margin-top: 0.2rem;
    margin-bottom: 0;
}

.tab-nav li:hover,.tab-nav li.active {
    color: var(--white);
    background: var(--primary);
}

/* Content */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Mobile tweak */
@media (max-width: 735px) {
    .tab-nav {
        justify-content: center;
    }

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

    .tab-nav li {
        border: 1px solid rgb(173, 173, 173);
        width: 100%;
    }
}

.tab-content{
    width: 100%;
    max-width: 70rem;
}
/* end tab */

/* start form */
.form-label{
    font-size: 1.6rem;
    color: rgba(26, 26, 26, 1);
}

.form-input{
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1.6rem;
    color: rgba(26, 26, 26, 1);
    border-radius: 1rem;
    border-width: 1px;
    box-sizing: border-box;
}

.form-input:focus-visible,.form-input:focus{
    outline: var(--primary);
    border: 1px solid var(--primary) !important;
}

.formula {
    color: var(--primary);
    font-size: clamp(1rem, calc(1vw + 1rem), 1.2rem);
    margin: 2rem 0 1rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chevron {
    display: inline-block;
    transition: transform 0.3s ease;
}

.formula-details {
    font-size: clamp(1rem, calc(1vw + 1rem), 1.2rem);
    color: #595959;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Active state */
.formula.active + .formula-details {
    max-height: 300px; /* adjust if content taller */
    opacity: 1;
}

.formula.active .chevron {
    transform: rotate(180deg);
}

.result{
    background-color: rgba(52, 199, 89, 0.1);
    color: #34C759;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 1rem;
}

.result .number{
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.result .description{
    margin-bottom: 0;
    font-size: 1.6rem;
}

.calculate-result.loading {
    pointer-events: none;
    opacity: 0.8;
}

.calculate-result.loading .btn-text::after {
    content: " ...";
    animation: dots 1s infinite;
}

@keyframes dots {
    0% { content: " ."; }
    33% { content: " .."; }
    66% { content: " ..."; }
}

.calculate-result-sales-purchase-agreement:disabled, .calculate-result-sales-purchase-transfer:disabled,
.calculate-result-loan:disabled{
    opacity: 0.5 !important;
}

.disclaimer{
    font-size: 1rem;
}

/* end form */

/* start breadcrumb */
.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb ul li {
    position: relative;
    color: #333;
}

/* Add separator after each li except the last */
.breadcrumb ul li:not(:last-child)::after {
    content: "\e90c";
    font-family: "icomoon";
    display: inline-block;
    margin: 0 8px;
    font-size: 12px; 
    color: #999;
}

/* Optional: active breadcrumb item */
.breadcrumb ul li.active {
    font-weight: bold;
    color: #000;
}

.breadcrumb.kalkulator{
     max-width: 70rem;
     width: 100%;
}
/* end breadcrumb */
/* end kalkulator */


