/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

.user-card {
    position: absolute;
    top: 45px;
    right: 0;
    width: 180px;
    background: white;
    border-radius: 10px;
    display: none;
    z-index: 999;
}

/* CARD PRODUCT */
.product-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

/* HOVER EFFECT */
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.nav-pills .nav-link.active {
    background-color: #198754;
}
/* GAMBAR SERAGAM */
.product-item img {
    width: 100%;
    height: 220px; /* ini kunci biar sama semua */
    object-fit: cover; /* biar ga gepeng */
}
.product-item .text-center {
    border-top: 1px solid #f1f1f1;
}
.product-item img {
    transition: 0.3s;
}
.product-item {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.product-item:hover img {
    transform: scale(1.05);
}

/* TITLE */
.product-item h5 {
    font-weight: 600;
    margin-top: 10px;
}

.product-item {
    text-align: center;
}

.product-item h5 {
    min-height: 48px; /* biar judul ga loncat */
}

/* HARGA */
.product-item .text-primary {
    font-size: 16px;
    font-weight: bold;
}

/* BUTTON */
.product-item .btn {
    border-radius: 20px;
    padding: 5px 15px;
}

.product-item {
    transition: 0.3s;
}
.product-item:hover {
    transform: translateY(-5px);
}

.filter-btn.active {
    background: #0d6efd;
    color: #fff;
}


.more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.more-content.show {
    max-height: 200px;
}

body {
    padding-top: 0px;
}
.user-card a,
.user-card button {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    background: none;
    text-align: left;
    text-decoration: none;
    color: #333;
}

.user-card a:hover,
.user-card button:hover {
    background: #f5f5f5;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

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

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}

.carousel-item {
    position: relative;
}

/* SAMAIN UKURAN GAMBAR */
.carousel-img {
    width: 100%;
    height: 100vh; /* full layar */
    object-fit: cover; /* biar ga gepeng */
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Gradient hitam elegan */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.1)
    );

    z-index: 1;
}

/* Biar text & button di atas overlay */
.carousel-caption {
    z-index: 2;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

.custom-arrow {
    font-size: 40px;
    color: white;
    font-weight: bold;

    background: rgba(0, 0, 0, 0.4);
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    transition: 0.3s;
}

/* Hover effect */
.carousel-control-prev:hover .custom-arrow,
.carousel-control-next:hover .custom-arrow {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Gambar lebih hidup */
.about-img img {
    transition: 0.4s;
    width: 100%;
    max-width: 550px;   /* BATASIN BIAR GA KEGEDEAN */
    height: 450px;      /* tinggi fix biar rapi */
    object-fit: cover;  /* biar ga gepeng */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img img:hover {
    transform: scale(1.03);
}

/* Tombol modern */
.btn-modern {
    border-radius: 50px;
    font-weight: 500;
}

/* Badge kecil */
.badge {
    font-size: 14px;
    border-radius: 20px;
}

/* WARNA HIJAU BRAND */
:root {
    --main-green: #22c55e;
    --soft-green: #dcfce7;
}

/* CARD */
.feature-card {
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ICON BULAT */
.icon-box {
    width: 80px;
    height: 80px;
    margin: auto;
    background: var(--soft-green);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 40px;
}

/* TITLE */
.feature-card h4 {
    font-weight: 600;
}

:root {
    --main-green: #22c55e;
    --soft-green: #dcfce7;
}

/* CARD */
.feature-card {
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ICON */
.icon-box {
    width: 80px;
    height: 80px;
    margin: auto;
    background: var(--soft-green);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 40px;
}

/* TEXT */
.feature-card h4 {
    font-weight: 600;
}

/* BUTTON */
.toggle-btn {
    border-color: var(--main-green);
    color: var(--main-green);
}

.toggle-btn:hover {
    background: var(--main-green);
    color: white;
}

/* EXPAND */
.more-text {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
}

.feature-card.active .more-text {
    max-height: 200px;
}

:root {
    --main-green: #22c55e;
    --soft-green: #dcfce7;
}

/* CARD */
.feature-card {
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ICON */
.icon-box {
    width: 80px;
    height: 80px;
    margin: auto;
    background: var(--soft-green);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 40px;
}

/* BUTTON */
.btn-outline-success {
    border-color: var(--main-green);
    color: var(--main-green);
}

.btn-outline-success:hover {
    background: var(--main-green);
    color: white;
}

/* MODAL */
.premium-modal {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: zoomIn 0.3s ease;
}

/* HEADER */
.premium-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 20px;
}

/* ICON MODAL */
.modal-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

/* DIVIDER */
.modal-divider {
    height: 2px;
    background: #e5e7eb;
    margin: 10px 0;
}

/* ANIMASI */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}

/* CARD */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* IMAGE */
.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* TITLE */
.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.blog-title:hover {
    color: #22c55e;
}

/* DESC */
.blog-desc {
    font-size: 14px;
    color: #666;
    min-height: 60px; /* biar rata */
}

/* META */
.blog-meta {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 15px;

    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}

.blog-meta i {
    color: #22c55e;
    margin-right: 5px;
}

/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/* BIKIN ITEM FLEX */
.testimonial-item {
    display: flex;
    height: 100%;
}

/* CARD FULL TINGGI */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 100%;
}

/* BATASIN TINGGI TEXT */
.testimonial-card p {
    min-height: 90px; /* ini kunci biar rata */
}

/* BINTANG */
.stars {
    color: #facc15;
    font-size: 18px;
}



/*** Footer ***/
/* BACKGROUND */
.footer-modern {
    background: #111;
    color: #ccc;
}

/* TITLE */
.footer-title {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

/* LINK */
.footer-link {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #22c55e;
    padding-left: 5px;
}

/* SOCIAL */
.social-icon {
    width: 40px;
    height: 40px;
    background: #222;
    color: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

.social-icon:hover {
    background: #22c55e;
    transform: translateY(-3px);
}

/* COPYRIGHT */
.footer-bottom {
    border-top: 1px solid #222;
    background: #0d0d0d;
    color: #aaa;
}

/* SOCIAL */
.social-icon {
    width: 40px;
    height: 40px;
    background: #222;
    color: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

.social-icon:hover {
    background: #22c55e;
    transform: translateY(-3px);
}

/* NEWSLETTER */
.newsletter-box {
    display: flex;
    background: #222;
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-box input {
    border: none;
    padding: 10px 15px;
    background: transparent;
    color: white;
    width: 100%;
    outline: none;
}

.newsletter-box button {
    background: #22c55e;
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.newsletter-box button:hover {
    background: #16a34a;
}

/* COPYRIGHT */
.footer-bottom {
    border-top: 1px solid #222;
    background: #0d0d0d;
    color: #aaa;
}


/* HEADER */
.page-header-modern {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../img/nasbox(2).jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

/* ABOUT IMAGE */
.about-img-modern img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* HOVER */
.about-img-modern img:hover {
    transform: scale(1.03);
    transition: 0.3s;
}

/* HEADER PREMIUM */
.page-header-premium {
    position: relative;
    background: url('../img/carousel-1.jpg') center center/cover no-repeat;
    padding: 140px 0;
}

/* OVERLAY GELAP */
.page-header-premium .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.5)
    );
}

/* TEXT DI ATAS */
.page-header-premium .container {
    z-index: 2;
}

/* SUBTITLE */
.page-header-premium p {
    max-width: 600px;
    margin: auto;
    color: #ddd;
}

/* BREADCRUMB */
.breadcrumb-modern {
    margin-top: 10px;
    font-size: 14px;
}

.breadcrumb-modern a {
    color: #22c55e;
    text-decoration: none;
}

.breadcrumb-modern span {
    margin: 0 5px;
    color: #ccc;
}

.breadcrumb-modern .active {
    color: #fff;
}

/* PRODUCT HEADER */
.product-header {
    position: relative;
    background: url('../img/nasbox(3).jpg') center center/cover no-repeat;
    padding: 140px 0;
}

/* OVERLAY */
.product-header .overlay-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.4)
    );
}

/* TEXT */
.product-header .container {
    z-index: 2;
}

.product-header p {
    color: #ddd;
}

.profile-sidebar {
    transition: 0.3s;
}
.profile-sidebar:hover {
    transform: translateY(-5px);
}

.avatar-wrapper img {
    border: 4px solid #198754;
}

.custom-tabs .nav-link {
    background: #f8f9fa;
    color: #555;
    transition: 0.3s;
}

.custom-tabs .nav-link.active {
    background: #198754;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-tabs .nav-link:hover {
    background: #e9f7ef;
}
