@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.navbar-brand {
    padding:40px
}

.navbarheader {
    padding: 30px;
    width: 350px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}   

.fzservice-item {
    transition: 0.3s ease;
}

.fzservice-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.fzservice-img {
    width:100%;
    height:250px;      /* Besarkan gambar */
    object-fit:cover;  /* Isi penuh card tanpa herot */
}

.fzservice-item h4 {
    font-weight:600;
}

.fzservice-item p {
    font-size:15px;
    line-height:1.7;
}

.vendor-carousel img {
    border:1px solid #ddd;
    padding: 0 10px;
}

/* ===== card ===== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.card{
    background:#fff;
    padding:15px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:6px;
}

.mission::before{
    background:var(--primary);
}

.vision::before{
    background:var(--secondary);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eef7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    margin-bottom:25px;
}

.vision .icon{
    background:#e9fff5;
}

.card h3{
    font-size:28px;
    margin-bottom:20px;
    color:#0b2545;
}

.card p{
    padding-top: 15px;
    color:#555;
    font-size:16px;
}

.card-body {
    padding: 15px 0;
}

@media(max-width:768px){

    .section-title h2{
        font-size:32px;
    }

    .card{
        padding:30px;
    }

}

.fab-icon {
    position: absolute;
    top: 18%;
    right: 10%;
}

.floating {
    position: fixed;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50px;
    /* box-shadow: 2px 2px 3px rgba(0, 0, 0, .5); */
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .5));
    z-index: 100;
    transition: ease .3s;
    text-decoration: none;
}

.floating:hover {
    text-decoration: none;
    color: white;
    transform: scale(1.1);
}
 
.i-wa {
    background-color: #0cc143;
    bottom: 115px;
    right: 50px;
    font-size: 25px;
}

.dropdown-menu {
    right: 0;
}

/* ===== Product Sidebar ===== */
.product-sidebar {
    position: sticky;
    top: 100px;
}

.filter-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,.06);
    margin-bottom: 20px;
}

.filter-section h5 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .3s;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background: #f0f7f2;
    color: var(--primary);
    padding-left: 18px;
}

.category-link.active {
    background: #f0f7f2;
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

.brand-link {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .3s;
    border-left: 3px solid transparent;
    display: block;
}

.brand-link:hover {
    background: #f0f7f2;
    color: var(--primary);
    padding-left: 18px;
}

.brand-link.active {
    background: #f0f7f2;
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
}

/* ===== Product Grid ===== */
.product-item {
    border: 1px solid #eee;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all .35s ease;
    background: #fff;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,.1);
    border-color: transparent;
}

.product-img {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.08);
}

.product-img .product-overlay-placeholder {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item:hover .product-img .product-overlay-placeholder {
    background: rgba(0,0,0,.4);
}

.product-img .product-overlay-placeholder::after {
    content: '\f00e';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    font-size: 30px;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
}

.product-item:hover .product-img .product-overlay-placeholder::after {
    opacity: 1;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 0 5px;
    opacity: .7;
    transition: opacity .3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    text-align: center;
    max-width: 90%;
}

/* ===== No Results ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.no-results h5 {
    color: #999;
}

/* ===== Contact Cards ===== */
.contact-card {
    transition: all .35s ease;
    border-bottom: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    border-bottom-color: var(--primary);
}

.contact-card .bg-primary {
    transition: transform .35s ease;
}

.contact-card:hover .bg-primary {
    transform: scale(1.08);
}

@media (max-width: 991.98px) {
    .product-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .product-img {
        height: 180px;
    }
}

/* ===== Enhanced Service Cards ===== */
.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.service-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.service-content {
    padding: 28px 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 149, 68, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 149, 68, 0.4);
}

.service-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-content p {
    color: #666;
    font-size: 14.5px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #555;
    padding: 6px 0;
    transition: all 0.2s ease;
}

.service-features li:hover {
    color: var(--primary);
    padding-left: 4px;
}

.service-features i {
    font-size: 11px;
    width: 18px;
    flex-shrink: 0;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 149, 68, 0.35);
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(4px);
}

/* ===== CTA Card ===== */
.service-cta-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, var(--primary) 0%, var(--dark) 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    text-align: center;
    max-width: 360px;
}

.cta-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: #fff;
    transition: all 0.4s ease;
}

.service-cta-card:hover .cta-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.cta-contact-item {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cta-contact-item:hover {
    transform: scale(1.1);
}

.cta-contact h2 {
    font-size: 24px;
}

.cta-contact a {
    transition: color 0.3s ease;
}

.cta-contact a:hover {
    color: var(--light) !important;
}

.service-cta-card .btn-light {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 16px 40px;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-cta-card .btn-light:hover {
    background: #f8f9fa;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== Section Title Enhancement ===== */
.section-title p {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .service-img-wrapper {
        height: 200px;
    }
    
    .service-content {
        padding: 24px 20px 28px;
    }
    
    .service-cta-card {
        min-height: auto;
        padding: 40px 24px;
    }
    
    .cta-content {
        padding: 0;
    }
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .cta-contact h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .service-img-wrapper {
        height: 180px;
    }
    
    .service-content h4 {
        font-size: 18px;
    }
    
    .service-features li {
        font-size: 13px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .cta-content h3 {
        font-size: 22px;
    }
    
    .service-cta-card .btn-light {
        padding: 14px 32px;
        font-size: 14px;
    }
}