/* Import Css */
@import url("color.css");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    list-style: none;
}
body {
    min-height: 100vh;
    background: var(--bg-color);
}
h1 {
    color: var(--text-color);
}
p {
    color: var(--text-color);
}

/* ========= NAVBAR ========= */
.navbar-brand i {
    color: var(--main-color);
}
.navbar-brand a {
    color: var(--main-color);
}
.nav-item a:hover {
    color: var(--main-color);
}
.nav-link .active{
    color: var(--main-color);
}
.btn-login i {
    font-size: 25px;
}

/* ========= BANNER ========= */
.hero {
    min-height: 700px; /* desktop tetap tinggi */
    width: 100%;
    background-color: #ebfefa;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;

    padding-top: 120px;   /* kompensasi navbar */
    padding-bottom: 40px;
}

.hero h1 {
    color: var(--main-color);
}
.hero span {
    color: var(--main-color);
}

/* ========= BUTTON ========= */

/* Btn Style */

/*	Khusus Navbar */
.navbar .btn-main-color {
    color: var(--main-color);
    text-decoration: none;
    padding: 5px 18px 5px 18px;
    border: 1px solid var(--main-color);
    background: transparent;
    border-radius: 50px;
    transition: all 0.2s ease-in;
}
.navbar .btn-main-color:hover {
    color: #fff;
    background-color: var(--main-color);
    text-decoration: none;
    padding: 5px 18px 5px 18px;
    border: 1px solid var(--main-color);
    border-radius: 50px;
    transition: all 0.2s ease-out;
}
/*	Bebas Digunakan */
.btn-main-color {
    color: var(--main-color);
    font-size: 20px;
    text-decoration: none;
    padding: 15px 25px 15px 25px;
    border: 1px solid var(--main-color);
    background: transparent;
    border-radius: 50px;
    transition: all 0.2s ease-in;
    font-weight: 600;
}
.btn-main-color:hover {
    color: #fff;
    background-color: var(--main-color);
    text-decoration: none;
    padding: 15px 25px 15px 25px;
    border: 1px solid var(--main-color);
    border-radius: 50px;
    transition: all 0.2s ease-out;
}

/* BTN LOGIN */
.btn-login {
    color: #000;
    text-decoration: none;
    padding: 0px 20px 0px 0px;
    font-size: 20px;
    transition: all 0.2s ease-in;
}

/*	Khusus Navbar */
.navbar .btn-login:hover {
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.2s ease-out;
}

/* ========= Layanan ========= */
#layanan {
    padding: 100px 0;
}

div h3 {
    font-size: 48px;

    font-weight: 500;

    color: var(--main-color);
}

div .sub-title {
    font-size: 18px;

    color: #000;
}

div .card-layanan {
    width: 100%;

    height: 313px;

    border-radius: 5px;

    background-color: #fff;

    padding: 40px;

    box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.05);

    transition: all 0.2s ease-in;
}

div .circle-icon {
    width: 70px;

    height: 70px;

    background-color: var(--main-color);

    border-radius: 50%;

    transition: all 0.1s ease-in;
}

div .card-layanan h3 {
    color: var(--main-color);

    font-size: 24px;

    transition: all 0.1s ease-in;
}

div .card-layanan p {
    color: #000;

    font-size: 14px;

    transition: all 0.1s ease-in;

    font-weight: 600;
}

/* KONDISI HOVER*/

div .card-layanan:hover {
    width: 100%;

    height: 313px;

    border-radius: 5px;

    background-color: var(--main-color);

    padding: 40px;

    box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.05);

    transition: all 0.2s ease-in;
}

div .card-layanan:hover .circle-icon {
    background-color: #fff;

    transition: all 0.2s ease-in;
}

div .card-layanan:hover h3 {
    color: #fff;

    font-size: 24px;

    transition: all 0.2s ease-in;
}

div .card-layanan:hover p {
    color: #fff;

    font-size: 14px;

    transition: all 0.2s ease-in;
}

/* ========= Testimonial ========= */
#testimonials{
    background-image: url('../image/bg-testimonial.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.testimonials-section {
    width: 100%;
    padding: 20px;
}
.testimonials-section .section-header {
    max-width: 700px;
    text-align: center;
    margin: 30px auto;
}
.testimonials-container {
    position: relative;
}
.testimonials-container .testimonial-card {
    padding: 20px;
}
.testimonial-card .test-card-body {
    background-color: #fff;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.12);
    padding: 20px;
}
.test-card-body p {
    margin: 10px 0px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-clr);
}
.test-card-body .ratings {
    margin-top: 0px;
}
.test-card-body .ratings i {
    font-size: 17px;
    color: #ffba79;
    cursor: pointer;
}
.testimonial-card .profile {
    display: flex;
    align-items: center;
    margin-top: 25px;
}
.profile .profile-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}
.profile .profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.profile .profile-desc {
    display: flex;
    flex-direction: column;
}
.profile-desc span:nth-child(1) {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.profile-desc span:nth-child(2) {
    font-size: 15px;
    color: var(--text-clr);
}
.owl-nav {
    position: absolute;
    right: 20px;
    bottom: -10px;
}
.owl-nav button {
    border-radius: 50% !important;
}
.owl-nav .owl-prev i,
.owl-nav .owl-next i {
    padding: 10px !important;
    border-radius: 50%;
    font-size: 18px !important;
    color: #fff;
    cursor: pointer;
}
.owl-nav .owl-prev i:hover,
.owl-nav .owl-next i:hover {
    background-color: #00d6a3 !important;
    color: #fff;
}

/* ========= BLOG ========= */
.blog-text a{
    text-decoration: none;
}
.blog-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: var(--main-color);
    margin: 50px 100px 20px 100px;
    border-radius: 10px;
}
.blog-filter li{
    padding: 5px 15px;
    color: #fff;
    cursor: pointer;
    margin: 3px;
    font-weight: 400;
    letter-spacing: 0.5px;
    user-select: none;
}
.blog-filter li:hover,
.blog-filter-active{
    background-color: rgba(0,0,0,0.1);
    color: #fff !important;
    transition: all ease 0.3s;
}
.ad{
    width:40%;
    margin: 20px auto;
    display: flex;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.06);
}
.ad img{
    width:100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.blog-container{
    display: grid;
    max-width: 1200px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    margin: auto;
}
.blog-box{
    padding: 20px;
    background-color: #ffffff;
    margin: 20px;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.05);
}
.blog-img{
    display: flex;
    width:100%;
    min-height: 185px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}
.blog-img img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.category{
    color: #ffffff;
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 2px 10px;
    font-size: 0.9rem;
    background-color: var(--main-color);
}

.blog-text strong{
    font-size: 1.2rem;
    color: var(--main-color);
    display: flex;
    font-weight: 400;
    margin: 10px 0px;
    line-height: 25px;
}
.category-time{
    display: flex;
    align-items: center;
}
.category-time span{
    font-size: 0.8rem;
}
.blog-category{
    padding: 3px 6px;
    color: #484f61;
    font-weight: 500;
    background-color: rgba(0,0,0,0.06);
}
.published-time{
    margin-left: 10px;
    color: var(--main-color);
    font-weight: 500;
}
.publisher-profile{
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.publisher-profile img{
    width:30px;
    height: 30px;
    object-position: center;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}
.publisher-profile span{
    color: #6d7ca1;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-left: 10px;
}

/* ========= BLOG ========= */
#blog-artcile{
    display: grid;
    grid-template-columns: 1fr 900px 1fr;
}
.article-container{
    background-color: #ffffff;
    border-left: 1px solid rgba(0,0,0,0.13);
    border-right: 1px solid rgba(0,0,0,0.13);
    padding: 30px;
}
.side-ad{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.side-ad a{
    position: fixed;
}
.article-main-heading{
    display: flex;
    justify-content: center;
    align-items: center;
}
.article-main-heading h1{
    color: #313131;
    font-size: 2rem;
    font-weight: 600;
    line-height: 40px;
}
.by-date{
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
}
.article-by,
.article-date{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    color: #838eab;
}
.article-by i,
.article-date i{
    margin: 0px 10px;
}
.article-img{
    width:100%;
    min-height: 500px;
    margin: 10px 0px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}
.article-img img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.content-ad{
    width:80%;
    display: flex;
    margin: 20px auto 10px auto;
}
.content-ad img{
    width:100%;
    object-position: center;
    object-fit: contain;
}
.article-text{
    display: flex;
    flex-direction: column;
}
.article-text-box{
    margin: 10px 0px;
    padding: 10px;
    border-left: 2px solid var(--main-color);
    background-color: #ffffff;
}
.article-text-box strong{
    color: #20232b;
    font-size: 1.3rem;
    margin-top: 4px;
    font-weight: 500;
}
.article-text-box p{
    color: #6d6d6d;
}

/* FOOTER */
footer {
    background-color: #ebfefa;
}
.text-footer {
    color: #000;
}

/* === YOUTUBE CARD === */
.yt-card {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.yt-thumb {
  position: relative;
}

.yt-thumb img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* content bawah */
.yt-content {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.yt-channel img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.yt-meta {
  flex: 1;
}

.yt-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #111;
}

.yt-channel-name,
.yt-stats {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}


/* ================= WA GROUP BUTTON (TOP ONLY) ================= */
.wa-group-bar {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
}

.wa-group-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 900px;
    margin: 0 auto;

    padding: 14px 22px;
    border-radius: 999px; /* tumpul */
    
    background: linear-gradient(135deg, #00d6a3, #00b18a);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0, 214, 163, 0.25);
    transition: all 0.25s ease;
}

.wa-group-btn i {
    font-size: 20px;
    margin-right: 10px;
}

.wa-group-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 214, 163, 0.35);
    color: #ffffff;
}
/* ================= END ================= */

