@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

:root {
    --main-color: #93B4FF;
    --second-color: #93B4FF;
    --third-color: #93B4FF;
    --fourth-color: #93B4FF;
    --fifth-color: #229cd18e;
    --sixth-color: #93B4FF;
    --black: #229cd18e;
    --bg: #229cd18e;
    --border: .1rem solid #229cd18e;
    backdrop-filter: saturate(180%) blur(20px);

}

* {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem; 
}

html::-webkit-scrollbar-track {
    background: transparent;
}
.promo-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: saturate(220%) blur(30px);
    -webkit-backdrop-filter: saturate(220%) blur(30px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  }
  
html::-webkit-scrollbar-thumb{
    background: #fff;
    border-radius: 5rem;
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: saturate(180%) blur(20px);
}

section {
    padding: 2rem 7%;
}


/* BOT SECTION */

.botText.fade, .userText {
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  .keyword {
    color: red;
    font-weight: bold;
  }
  .keyword {
    color: red;
    font-weight: bold;
  }
  .keyword-btn {
    background-color: #ff0040;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    margin: 5px 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .keyword-btn:hover {
    background-color: #cc0033;
  }
  
/* HEADER SECTION */
.header {
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.img-logo {
    width: 100px;
    height: 100px;
}

.header .navbar a {
    margin: 0 1rem;
    font-size: 1.6rem;
    color: #fff;
}

.header .navbar a:hover{
    color: var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;
    color: #96efff;

}

.header .icons div {
    color: #96efff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color: var(--main-color);
}

#menu-btn {
    display: none;
}

.header .search-form {
    position: absolute;
    top: 115%;
    right: 7%;
    background-color: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

.header .search-form.active {
    transform: scaleY(1);
}

.header .search-form input {
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem;
    text-transform: none;
}

.header .search-form label {
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black);
}

.header .search-form label:hover {
    color: var(--main-color);
}

.header .cart {
    position: absolute;
    top: 100%;
    right: -100%;
    height: calc(100vh - 9.5rem);
    width: 35rem;
    background-color: #fff;
    padding: 0 1.5rem;
}

.header .cart.active {
    right: 0;
}

.header .cart .cart-item {
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header .cart .cart-item .fa-times {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

.header .cart .cart-item .fa-times:hover {
    color: var(--main-color);
}

.header .cart .cart-item img {
    height: 7rem;
}

.header .cart .cart-item .content h3 {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: .5rem;
}
 
.header .cart .cart-item .content .price {
    font-size: 1.5rem;
    color: var(--main-color);
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--main-color);
    cursor: pointer;
}

.btn:hover {
    letter-spacing: .2rem;
    background-color: var(--main-color);
}

.header .cart .btn {
    width: 100%;
    text-align: center;
}


/* HERO SECTION */

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: left;
    background: url(../images/beckgrond.jpeg) no-repeat center center / cover;
    position: relative;
}

.home::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(180%) blur(20px);
}

.home .content {
    position: relative;
    z-index: 1;
    max-width: 60rem;
    padding: 2rem;
}

.home .content h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 4rem;
    text-transform: uppercase;
    color: #ffffff; /* ungu muda */
}

.home .content p {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.8;
    padding: 1rem 0;
    color: #ffffff;
}


/* ABOUT SECTION */


.heading {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 50px;
    font-size: 4rem;
    margin-top: 50px;
}

.heading span {
    color: var(--main-color);
    text-transform: uppercase;
}

.about .row {
    display: flex;
    align-items: center;
    background: var(--black);
    flex-wrap: wrap;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
}

.about .row .content {
    flex: 1 1 45rem;
    padding: 2rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: #fff;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #ccc;
    padding: 1rem 0;
    line-height: 1.8;
}




/* GALLERY SECTION */


.gallery .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.gallery .box-container .box {
    text-align: center;
    border: var(--border);
    padding: 2rem;
}

.gallery .box-container .box .image {
    padding: 2.5rem 0;
}

.gallery .box-container .box img {
    width: 200px;
    height: 250px;
}

.gallery .box-container .box .content h3 {
    color: #fff;
    font-size: 2.5rem;
}

.gallery .box-container .box .content .stars {
    padding: 1.5rem;
}

.gallery .box-container .box .content .stars i {
    font-size: 1.7rem;
    color: var(--main-color);
}


/* BLOGS SECTION */


.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.blogs .box-container .box {
    border: var(--border);
}

.blogs .box-container .box .image {
    height: 25rem;
    overflow: hidden;
    width: 100%;
}

.blogs .box-container .box .image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blogs .box-container .box:hover .image img {
    transform: scale(1.2);
}

.blogs .box-container .box .content {
    padding: 2rem;
}

.blogs .box-container .box .title {
    font-size: 2.5rem;
    line-height: 1.5;
    color: #fff;
}

.blogs .box-container .box .content .title:hover {
    color: var(--main-color);
}

.blogs .box-container .box span {
    color: var(--main-color);
    display: block;
    padding-top: 1rem;
    font-size: 2rem;
}

.blogs .box-container .box p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #ccc;
    padding: 1rem 0;
}


/* TESTIMONIALS SECTION */


.review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.review .box-container .box {
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
}

.review .box-container .box p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ccc;
    padding: 2rem 0;
}

.review .box-container .box .user {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3 {
    padding: 1rem 0;
    font-size: 2rem;
    color: #fff;
}

.review .box-container .box .stars i {
    font-size: 1.5rem;
    color: var(--main-color);
}


/* CONTACT US SECTION */

.contact .row {
    display: flex;
    background-color: var(--black);
    flex-wrap: wrap;
    gap: 1rem;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
}

#map {
    height: 550px;
    width: 100%;
}

.contact .row form {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
}

.contact .row form h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    color: #fff;
}

.contact .row form .inputBox {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: var(--bg);
    border: var(--border);
}

.contact .row form .inputBox span {
    color: #fff;
    font-size: 2rem;
    padding-left: 2rem;
}

.contact .row form .inputBox input {
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: #fff;
    text-transform: none;
    background: none;
}

.contact .row form .inputBox textarea {
    width: 100%;
    height: 200px;
    padding: 2rem;
    font-size: 1.7rem;
    color: #fff;
    text-transform: none;
    background: none;
}

/* FOOTER SECTION */


.footer {
    background-color: var(--black);
    /*text-align: center;*/
    padding: 30px
}

.footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}

.footer .logo img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.footer .logo h3 {
    font-size: 4rem;
    color: var(--main-color);
}

.footer .logo i {
    font-size: 2rem;
    color: var(--main-color);
    margin-right: 5px;
    margin-top: 1rem;
}

.footer .logo p {
    display: inline-block;
    margin: 0;
    font-size: 1.5rem;
    color: var(--main-color);
    vertical-align: middle;
    text-transform: none;
}

.footer .support, 
.footer .company,
.footer .newsletters  {
    flex: 0 0 calc(25% - 30px);
}

.footer .support h2, 
.footer .company h2,
.footer .newsletters h2  {
    font-size: 2.5rem;
    color: #ffffff;
}

.footer .support a, 
.footer .company a,
.footer .newsletters a  {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.7rem;
}

.footer .support a:hover, 
.footer .company a:hover,
.footer .newsletters a:hover  {
    color: var(--main-color);
}

.footer .newsletters p {
    width: 100%;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.7rem;
}

.footer .newsletter {
    width: 100%;
    border-radius: 2.5rem;
    padding: 1.8rem;
    color: #fff;
    background-color: var(--main-color);
    padding-right: 30px;
}  

.newsletter::placeholder {
    color: #ffffff;
}

.footer .input-wrapper {
    position: relative;
    color: #afecff;

}

.fas.fa-paper-plane {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #ececec;
    font-size: 1.8rem;
    cursor: pointer;
}

.footer .credit {   
    font-size: 2rem;
    color: #fff;
    font-weight: lighter;
    margin-top: 30px;
    padding: 1rem;
    flex: 0 0 100%;
    text-align: center;
}

.footer .logo {
    text-align: left;
  }
  
  .footer .logo p {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.6rem;
    vertical-align: middle;
    color: #ffffff;
  }
  
  .footer .logo i {
    font-size: 1.6rem;
    color: #ffffff;
  }
    

.footer .credit h2 {
    font-weight: lighter;
    font-size: 1.7rem;
    margin-top: 1rem;
    color: #ffffff;

}

.footer .credit span {
    color: #00d5ff;
}

.footer .credit hr {
    color: var(--main-color);
}

/* MEDIA QUERIES */
@media (max-width:991px){
    html { 
        font-size: 55%; 
    }

    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 2rem;
    }

}
@media (max-width:768px){
    #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #1e0a0a;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active {
        right: 0%;
    }

    .header .navbar a {
        color: var(--black);
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }

    .header .search-form {
        width: 90%;
        right: 2rem;
    }

    .home {
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3 {
        font-size: 4.5rem;
    }

    .home .content p {
        font-size: 1.5rem;
    }

}

@media (max-width:450px){
    html { 
        font-size: 50%; 
    }
}
.cart {
    background: rgba(170, 255, 251, 0.584);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 2rem;
    border-radius: 1rem;
  }
  
    .cart img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
  }
  .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  #cart-count {
    min-width: 18px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
  }
  
  body {
    background: url('../images/beckgrond.jpeg') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: saturate(180%) blur(20px);

}
.blur-container {
    background: rgba(123, 200, 255, 0.434);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    padding: 2rem;
  }
  .btn-gradient {
    background: linear-gradient(135deg, #98c8ff, #88dbff);
    border: none;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-weight: bold;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
  }
  
  .btn-gradient:hover {
    background: linear-gradient(135deg, #75dcff, #9af7ff);
    transform: scale(1.03);
  }
  .heading {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }
  
  .heading span {
    color: #9fd5ff;
  }
  .btn-pesan {
    color: #fff !important;
    border: none;
    padding: 70px 95px; 
    border-radius: 80px;
    font-weight: 800;
    font-size: 75rem;
    box-shadow: 0 12px 28px rgba(34, 1, 63, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    backdrop-filter: saturate(180%) blur(20px);

  }
  
  .btn-pesan:hover {
    background: #9af3ff;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 32px rgba(145, 242, 255, 0.6);
  }
  
  section {
    scroll-margin-top: 80px; /* Biar section gak ketutup navbar saat discroll otomatis */
  }
  html {
    scroll-behavior: smooth;
  }
  #voiceBtn.pulsing {
    animation: pulseMic 1s infinite;
  }
  
  @keyframes pulseMic {
    0% {
      box-shadow: 0 0 0 0 rgba(169, 124, 80, 0.6);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(169, 124, 80, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(169, 124, 80, 0);
    }
  }
  .chat-command-btn {
    background-color: #fff8f0;
    color: #5e4a3f;
    border: 2px solid #d6a98d;
    border-radius: 12px;
    padding: 10px 16px;
    margin: 6px 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    width: 100%;
    text-align: left;
  }
  
  .chat-command-btn:hover {
    background-color: #ffe4cc;
  }
  
  .chat-command-btn:active {
    transform: scale(0.97); /* animasi saat ditekan */
    background-color: #ffcfaa;
  }
  .scroll-snap {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  /* QRIS Payment Side Panel */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.qris-panel {
    position: fixed;
    left: -400px;
    top: 0;
    width: 350px;
    height: 100%;
    background: rgba(129, 228, 255, 0.313);
    padding: 25px;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 1001;
    transition: left 0.3s ease-out;
    backdrop-filter: saturate(180%) blur(20px);

}

.payment-overlay.active .qris-panel {
    left: 0;
}

.qris-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.qris-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.qris-code {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 20px;
    display: block;
    border: 1px dashed #ddd;
    padding: 10px;
    border-radius: 8px;
}

.payment-form {
    margin-top: 20px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.btn-submit-bukti {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;

}

.btn-submit-bukti:hover {
    background: #45a049;
}


.promosi-section {
    background: url('assets/bg-cafe.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: saturate(180%) blur(20px);
    animation: fadeInUp 1.2s ease-in-out;
    border-radius: 12px;
  }
  
  .promo-title {
    color: #fff;
    font-size: 45px;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
  }
  
  .carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    scroll-behavior: smooth;
    padding: 10px 0;
  }
  
  .promo-card {
    flex: 0 0 auto;
    width: 900px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  
    /* Centering content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  
  .promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
  }
  
  .promo-card:hover::before {
    top: -10%;
    left: -10%;
    opacity: 1;
  }
  
  .promo-card:hover {
    transform: scale(1);
    box-shadow: 
      0 14px 50px rgba(255, 255, 255, 0.25),
      0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
  
  .promo-card img {
    width: 150%;
    height: 50%;
    border-radius: 12px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    position: relative;
  }
  
  .promo-card:hover img {
    transform: scale(1.05);
  }
  
  .promo-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
    color: #fff;
    font-family: 'Great Vibes', cursive;  }
  
  .promo-card p {
    font-size: 25px;
    color: #eee;
    font-family: 'Caveat', cursive;
  }
    
  .btn-nav {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
  }
  
  .btn-nav:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  
  .btn-prev {
    left: -15px;
  }
  
  .btn-next {
    right: -15px;
  }
  
  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  .form-payment {
    display: none;
}
.form-payment.show {
    display: block;
    animation: fadeIn 0.5s;
}
.form-label {
    font-weight: 600;
}
.input-group .form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}
textarea:focus, input:focus {
    border-color: #0d6efd;
    box-shadow: none;
}
textarea.form-control {
    resize: none;
}


.notif-ios {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 20px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: fadeInUp 0.6s ease;
    z-index: 9999;
  }
  .notif-ios a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate(-50%, 40px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }
  @media (max-width: 768px) {
    .img-logo {
        width: 120px !important;
        height: auto;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .promo-card, .card, .box, .chat-bar-collapsible {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
@media (max-width: 768px) {
    .navbar-nav {
      flex-direction: column;
      align-items: center;
    }
  
    .nav-link {
      padding: 10px 0;
    }
  }
  @media (max-width: 768px) {
    .navbar-nav {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding-bottom: 1rem;
    }
  
    .nav-link {
      padding: 0.5rem 1rem;
      font-size: 1rem;
    }
  
    .navbar-collapse {
      background-color: rgba(0, 0, 0, 0.384); /* transparan gelap */
      border-radius: 10px;
      margin-top: 10px;
      padding: 1rem;
    }
  }
  /* ---- Mic listening animation ---- */
@keyframes pulse-mic {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(169,124,80,0.6); }
    70%  { transform: scale(1.25);box-shadow: 0 0 0 12px rgba(169,124,80,0); }
    100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(169,124,80,0); }
  }
  #voiceBtn.listening {
    animation: pulse-mic 1.2s ease-out infinite;
    color: #d2691e;                /* lebih terang saat aktif */
  }
  .blur-text span {
    display: inline-block;
    filter: blur(6px);
    transition: filter 0.3s ease;
}

.blur-text span.revealed {
    filter: blur(0);
}
