// ===============================
// Bootstrap SCSS (URUTAN BETUL)
// ===============================

@import "bootstrap/scss/bootstrap";


// 🎨 warna sendiri (WAJIB sebelum variables)
$warna-utama: #51A95F;
$warna-kedua: #78E5C0;
$warna-ketiga: #E2BE79;


section {

  &.pertama {
    background-color: $warna-utama;
    color:#ffffff;
  }
  &.kedua {
    background-color: $warna-kedua;
  }
  &.ketiga {
    background-color: $warna-ketiga;
  }
}

.sectionbox {
        padding-top:5rem;
        padding-bottom:5rem;
        min-height:30rem;
    }

    h1,h2,h3,h4 {
      text-transform:uppercase;
    }

    label {
      font-weight:bold;
    }


    section {
  scroll-margin-top: 60px; /* lebih besar dari tinggi navbar */
}


ul.haha {
    list-style: none;
    padding-left: 1.5rem;

    li {
        position: relative;
        padding-left: 1.5rem;

        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.35rem;
            width: 1rem;
            height: 1rem;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>      <path d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5z' fill='%23000000'/>    </svg>");
            background-size: contain;
            background-repeat: no-repeat;
            color: #ff4da6;
        }
    }
}


.navbar { 
    
    .nav-link {
    
        &:hover {
            color: $warna-utama !important; 
            border-bottom: 3px solid $warna-utama;
            transition: 0.2s ease-in-out;
            background-color: #d3d3d3;
        }

        &.active {
            color: $warna-utama; /* Change text color */
            border-bottom: 3px solid $warna-utama; /* Add a border */
            font-weight: bold;
        }

        
    }

}




/* For dropdown items within an active parent */
.dropdown-item.active {
    background-color: #007bff;
    color: #fff;
}

html {
  scroll-behavior: smooth;
}

.scroll-container {
  height: 100vh; /* tinggi penuh skrin */
  overflow-y: auto;
}

body {
  padding-top: 61px; /* ikut tinggi navbar Faezil */
}

.video-section {
    position: relative;
    width: 100%;
    height: 600px; /* ubah ikut ketinggian yang dikehendaki */
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
  
    video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* pastikan video isi penuh section */
    }
}

  

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* lapisan gelap supaya teks jelas */
  }


.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1; width:80%;
    h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    p {
        font-size: 1.2rem;
    }

}

  /* Gaya kecil untuk efek korporat + halus */
  .why-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 4rem 0;
  }
  .why-card {
    border: 1px solid rgba(16,24,40,0.06);
    border-radius: 12px;
    padding: 1.4rem;
    transition: transform .22s ease, box-shadow .22s ease;
    background: #fff;
    height: 100%;
  }
  .why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  }
  .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg,#0d6efd22,#6f42c122);
    color: #0d6efd;
    margin-bottom: .6rem;
  }
  .why-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f1724;
  }
  .why-desc {
    color: #374151;
    font-size: .96rem;
    margin-top: .45rem;
  }
  /* Accent left for first card (optional) */
  .accent-left::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(180deg,#0d6efd,#6f42c1);
  }

  .kaki {

    background:#000000;
    color:#ffffff;

    a,a:visited {
      color:#00ff00;
    }

    a:hover {
      color:yellow;
    }
  }

.menu-inline {
    list-style: none;       /* hilangkan bullet */
    padding: 0;             /* hilangkan padding default */
    margin: 0;              /* hilangkan margin default */
    display: flex;          /* jadikan horizontal */
    gap: 0.5em;             /* jarak antara item */

    li::after {
        content: "|";           /* simbol pemisah */
        margin-left: 0.5em;     /* jarak selepas simbol */
    }

     li:last-child::after {
      content: "";            /* buang "|" untuk item terakhir */
  }

}