/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: #333;
}

/* ================================
   NAVBAR STYLES (PRIORITY)
   ================================ */
.navbar {
    background-color: #2a2a2a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 80px;
    color: #f1c40f;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 8px;
}

.logo:hover {
    color: #f1c40f;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: stretch;
    height: 100%;
    gap: 0;
    flex-direction: column;
    position: relative;
    width: auto;
    flex: 1;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    min-height: 48px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffd700;
    border-bottom: 2px solid  #ffd700;
    background-color: rgba(255, 215, 0, 0.08);
}

.nav-link.active {
    color: #ffd700;
    border-bottom: 2px solid  #ffd700;
    background-color: rgba(255, 215, 0, 0.1);
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-link:hover .caret {
    opacity: 1;
}

.nav-item.open .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    background-color: #333333;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-left: 3px solid #ffd700;
}

.nav-item.open .dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-item.open .dropdown-menu::-webkit-scrollbar {
    display: none;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #404040;
    transition: all 0.3s ease;
    background: none;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #ffd700;
    color: #2a2a2a;
    padding-left: 24px;
}

.dropdown-item.new-item {
    color: #ffd700;
    font-weight: 600;
    position: relative;
}

.dropdown-item.new-item::after {
    content: 'NEW';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* Desktop Search Container */
.search-container {
    position: relative;
    width: 160px;
    flex-shrink: 0;
}

#search-input {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #FFD700;
    border-radius: 20px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

#search-input::placeholder {
    color: #888;
}

#search-input:focus {
    background-color: #2a2a2a;
    border-color: #FFC700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Search Results Dropdown */
#search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
    z-index: 2500;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#search-results.show {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f8f8;
}

.search-result-item:last-child {
    border-bottom: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

/* Mobile Search Bar Styles */
.mobile-search-container {
    display: none;
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #333333 0%, #3a3a3a 100%);
    border-bottom: 2px solid #ffd700;
    margin-bottom: 8px;
}

.mobile-search-bar {
    position: relative;
    width: 100%;
}

.mobile-search-input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    background: #2a2a2a;
    border: 2px solid #404040;
    border-radius: 25px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-search-input:focus {
    border-color: #ffd700;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.mobile-search-input::placeholder {
    color: #888;
}

.mobile-search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffd700;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #2a2a2a;
}

.mobile-search-button:hover {
    background: #ffed4a;
    transform: translateY(-50%) scale(1.1);
}

.mobile-search-button::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
}

.mobile-search-button::after {
    content: '';
    position: absolute;
    top: 65%;
    left: 25%;
    width: 2px;
    height: 8px;
    background-color: currentColor;
    border-radius: 1px;
    transform: rotate(45deg);
}

/* sembunyikan di desktop */
@media (min-width: 1025px) {
  .chevron-toggle {
      display: none;
  }
}


/* Desktop layout - 3 section flexbox */
@media screen and (min-width: 1025px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .nav-menu {
        flex-direction: row;
        align-items: center;
        height: 90%;
        gap: 5px;
        flex: 1;
        justify-content: center;
        max-width: none;
    }

    .search-container {
        flex-shrink: 0;
        width: 160px;
    }

    .nav-item {
        height: 100%;
        flex-direction: column;
    }

    .nav-link {
        height: 100%;
        border-radius: 4px 4px 0 0;
        min-height: auto;
        text-align: center;
        line-height: 1.2;
        padding: 8px 12px;
        font-size: 11px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        min-width: 85px;
    }

    .nav-link:hover {
        border-bottom-color: #ffd700;
        background-color: transparent;
    }

    .nav-link.active {
        border-bottom-color: #ffd700;
    }

    .nav-link .menu-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.15;
        gap: 1px;
    }

    .nav-link .menu-line1 {
        display: block;
        font-size: 13px;
        font-weight: 500;
    }

    .nav-link .menu-line2 {
        display: block;
        font-size: 13px;
        font-weight: 500;
    }

    .nav-link .caret {
        margin-left: 0;
        margin-top: 4px;
        border-top: 5px solid currentColor;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 240px;
        width: auto;
        background-color: #333333;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 8px 8px;
        border-left: none;
        z-index: 1000;
    }

    .dropdown-item {
        padding: 14px 20px;
        font-size: 13.5px;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 1025px) and (max-width: 1400px) {
    .nav-container {
        padding: 0 24px;
    }

    .logo {
        width: 80px !important;
    }

    .logo img {
        height: 36px;
    }

    .search-container {
        width: 160px;
    }

    .nav-link {
        font-size: 11px;
        padding: 8px 10px;
        min-width: 75px;
    }

    .nav-link .menu-line1,
    .nav-link .menu-line2 {
        font-size: 13px;
    }
}
/* Desktop: buka dropdown saat hover */
@media (min-width: 1025px) {
  .nav-item:hover .dropdown-menu {
      max-height: 400px;  
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  .nav-item:hover .dropdown-menu::-webkit-scrollbar {
      display: none;
  }
}

/* Mobile Navbar Styles */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
        gap: 12px;
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -320px;
        z-index: 2000;
        width: 300px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 24px 0;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
        gap: 0;
        border-left: 2px solid #ffd700;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-search-container {
        display: block;
    }

    .search-container {
        display: none;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: flex;
        padding: 18px 24px;
        width: 100%;
        justify-content: space-between;
        align-items: center; /* Tambahkan ini */
        height: auto;
        border-bottom: none;
        border-radius: 0;
        font-size: 11px;
        font-weight: 500;
        min-height: auto;
        text-align: left;
    }

    .nav-link .menu-text {
        flex-direction: row;
    }

    .nav-link .menu-line1,
    .nav-link .menu-line2 {
        display: inline;
        margin: 0;
    }

    .nav-link .menu-line1::after {
        content: ' ';
    }

    .nav-link:hover {
        background-color: rgba(255, 215, 0, 0.1);
        border-bottom: none;
        padding-left: 32px;
    }

    .caret {
        border-top: 6px solid currentColor;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        margin-top: 0;
        margin-left: 8px;
    }

    .dropdown-menu {
        position: static;
        background: linear-gradient(135deg, #3a3a3a 0%, #404040 100%);
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
        border-radius: 0;
        border-top: none;
        border-left: 3px solid #ffd700;
        margin-left: 0;
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .dropdown-item {
        padding: 14px 24px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: none;
    }

    .dropdown-item:hover {
        background-color: #ffd700;
        color: #2a2a2a;
        padding-left: 32px;
    }

    .dropdown-item.new-item::after {
        right: 24px;
        font-size: 9px;
        padding: 3px 8px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        width: auto;
    }

    .logo img {
        height: 32px;
    }
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .logo img {
        height: 28px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }

    .nav-menu {
        width: 280px;
        right: -280px;
    }
}

/* ================================
   TOPBAR & HEADER STYLES (FROM OLD CSS)
   ================================ */
.topbar {
    background: #2c2c2c;
    padding: 8px 0;
    font-size: 14px;
    color: #ccc;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info i {
    color: #f1c40f;
    margin-right: 5px;
}

.contact-info a {
    color: #ccc;
    text-decoration: none;
}

.contact-info a:hover {
    color: #f1c40f;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #ccc;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f1c40f;
}

/* Main Header Styles */
.main-header {
    background: #1a1a1a;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================================
   CONTAINER & LAYOUT STYLES
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container1,
.container2 {
    display: flex;
    width: 100%;
    height: 300px;
}

.left,
.container2 .left {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.left .title,
.container2 .right .title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.left .desc,
.container2 .right .desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}

.right,
.container2 .right {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

/* ================================
   HERO & SLIDER STYLES
   ================================ */
.hero {
    position: relative;
    overflow: hidden;
    height: auto;
    margin-top: 70px;
    background: #000;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
    object-position: center;   
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    color: #f1c40f;
    font-weight: 500;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
    width: 800%;
}

.slide {
    min-width: 12.5%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    color: #FFD700;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: none;
    font-size: 24px;
}

.slider-nav:hover {
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

 .brandstory img {
        width: 500px;
        height: auto;
        display: block;       /* bikin img jadi block */
        margin: 20px auto;    /* auto bikin center */
    }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: #FFD700;
    border-color: #fff;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 215, 0, 0.8);
}

/* ================================
   INFO BOX STYLES
   ================================ */
.info-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.info-box {
    background: linear-gradient(90deg, #edc929e6, #f8aa00d7);
    padding: 20px 25px;
    border-radius: 16px;
    color: #333;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.info-box ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

.info-box ul li {
    margin-bottom: 5px;
}

.info-box p {
    margin: 0;
}

/* ================================
   DISTRIBUTOR SECTION
   ================================ */
.distributor-section {
    padding: 60px 25px;
    background: #f8f9fa;
}

.distributor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.distributor-text,
.quality-badges {
    padding: 10px;
    text-align: justify;
    border-radius: 12px;
    line-height: 1.5rem;
}

.quality-badges h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

.badges-list {
    list-style: none;
    padding-left: 0;
}

.badges-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.badges-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* ================================
   BEST SELLING SECTION
   ================================ */
.best-selling {
    padding: 60px 25px;
    background: white;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.yellow-line {
    flex: 1;
    height: 3px;
    background: #FFD700;
}

.product-selling h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c2c2c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px;  
    margin: 0 auto;
    gap: 30px;
}


.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-item-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    overflow: hidden;
}

.product-item-image img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.product-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 20px 10px;
    color: #2c2c2c;
}

.product-item-desc {
    font-size: 0.9rem;
    color: #666;
    padding: 0 20px 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #FFD700;
    padding: 0 20px 20px;
}

/* ================================
   FOOTER STYLES
   ================================ */
.footer {
    background: #333;
    color: white;
    padding: 3rem 5rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 3rem;
}

.footer-section h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 1rem;
    color: #999;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
}

#backToTop:hover {
    background-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#backToTop:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

.arrow-icon {
    width: 12px;
    height: 12px;
    border-left: 3px solid #2c2c2c;
    border-top: 3px solid #2c2c2c;
    transform: rotate(45deg); 
    margin-bottom: -2px; 
}


/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.distributor-content,
.product-item {
    animation: fadeInUp 1s ease-out;
}

/* ================================
   RESPONSIVE STYLES
   ================================ */
@media (max-width: 768px) {
    .topbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        margin-top: 70px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .distributor-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
     .brandstory img {
        width: 200px;
        height: auto;
        display: block;       /* bikin img jadi block */
        margin: 20px auto;    /* auto bikin center */
    }

    .footer {
        background: #333;
        color: white;
        padding: 1.5rem 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ================================
   PRODUCT/SERIES DETAIL PAGE STYLES
   ================================ */

/* Hero Section for Detail Page */
.hero.detail-hero {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="none"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') center/cover;
    opacity: 0.3;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;    
    text-align: center;   
}

.hero-container h1 {
    color: #FFD700;
}

.hero.detail-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    margin-left: 5%;
    margin-right: 5%;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 2rem;
    border-radius: 15px;
}


.product-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.product-description {
    line-height: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.product-image {
    width: 100%;
    padding: 5%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Series Section */
.series-section {
    padding: 4rem 0;
    margin-left: 5%;
    margin-right: 5%;
}

.series-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight:800;
    margin-bottom: 3rem;
    color: #1a1a1a;
}
.section-title1 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight:700;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.series-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.series-nav {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.series-nav::-webkit-scrollbar {
    display: none;
}

.series-nav h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.series-list {
    list-style: none;
}

.series-item {
    margin-bottom: 0.5rem;
}

.series-link {
    display: block;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.series-link:hover,
.series-link.active {
    background: linear-gradient(135deg, #bdbbb036, #ffc4000f);
    color: #FF8C00;
    transform: translateX(5px);
}

.series-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.series-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.series-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.series-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.spec-label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.spec-value {
    color: #666;
}

.series-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn-outline:hover {
    background: #FFD700;
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive for Detail Pages */
@media (max-width: 1024px) {
    .content-container,
    .series-grid,
    .series-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .series-nav {
        position: relative;
        top: auto;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .hero.detail-hero {
        padding: 120px 0 60px;
    }

    .hero-container,
    .content-container,
    .series-container {
        padding: 1rem;
    }

    .product-description {
        margin-top: 1rem;
        margin-bottom: rem;
        line-height: 1.5rem;
        font-size: 1rem;
        text-align: justify;
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8rem;
        justify-content: center;
        margin-top: 1rem;
        opacity: 0.8;
    }
    .hero-container h1 {
        color: #FFD700;
        font-size: 1.5rem;
    }

    .series-content {
        padding: 2rem 1.5rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }
}
/* ================================
   BREADCRUM
   ================================ */
.breadcrumb-section {
    background: #bfbfbf; /* abu-abu */
    padding: 20px 0;
}

.breadcrumb-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-title {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    color: #000;
}

.breadcrumb-nav {
    font-size: 14px;
    color: #333;
}

.breadcrumb-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.breadcrumb-nav span {
    color: #000;
    font-weight: 400;
}

/* ================================
   SERIES DETAIL PAGE STYLES
   ================================ */

/* Header Navigation for Series Detail */
.header {
    background: rgb(82, 82, 82);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 70px;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav a {
    color: #f3d112;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: white;
}

.send-mail {
    background: #3b5c7d;
    color: white;
    margin: 5px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

/* Main Container for Series Detail */
.main-container {
    margin-top: 133px;
    margin-left: 8%;
    margin-right: 8%;
    display: flex;
    justify-content: center;   
    gap: 20px;                
    min-height: calc(100vh - 2000px);
    flex-wrap: wrap;           
}

/* Left Panel */
.left-panel {
    background: rgba(0, 0, 0, 0.7);
    width: 400px;
    padding: 40px;
    color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.series-title {
    font-size: 38px;
    font-weight: 500;
    color: #f3d112;
    margin-bottom: 20px;
}

.description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
    font-size: 14px;
}

.specs {
    margin-bottom: 30px;
}

.specs .spec-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.specs .spec-label {
    color: #ecf0f1;
    width: 160px;
    flex-shrink: 0;
}

.specs .spec-value {
    color: #bdc3c7;
}

.obsolete-section {
    margin-top: 40px;
}

.obsolete-title {
    color: #f3d112;
    font-weight: bold;
    display: inline-block;
}

.datasheet-btn {
    background: #f1c40f;
    color: black;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.datasheet-btn:hover {
    background: #f39c12;
}

/* Right Panel */
.right-panel {
    flex: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    margin-top: 5%;
}

.oscilloscope-image {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    max-width: 560px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.15s ease;
    opacity: 1;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.thumbnail {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    border-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.thumbnail.active img {
    opacity: 1;
}

.thumbnail:not(.active) img {
    opacity: 0.7;
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Feature Section */
.feature-section {
    margin-top: 8%;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.feature-section:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    padding: 20px;
}

.feature-title {
    font-size: 30px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.oscilloscope-display {
    flex: 1;
}

.screen-border {
    background: linear-gradient(45deg, #333, #444);
    padding: 8px;
    margin: 2rem;
    border-radius: 6px;
}

.screen {
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.no-image {
    color: #666;
    text-align: center;
    padding: 100px 20px;
    background: #111;
}

/* Models Section */
.models-section {
    margin: 40px 25px;
}

.models-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
    -webkit-overflow-scrolling: touch;
}

.models-table {
    width: 100%;
    border-collapse: collapse;
}

.models-table thead {
    background: #2c3e50;
    color: #f1c40f;
}

.models-table thead th {
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border-right: 1px solid #34495e;
}

.models-table thead th:last-child {
    border-right: none;
}

.models-table tbody tr:nth-child(odd) {
    background: #f8f9fa;
}

.models-table tbody tr:nth-child(even) {
    background: #ffffff;
}

.models-table tbody tr:hover {
    background: #e3f2fd;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.models-table tbody td {
    padding: 15px 20px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.models-table tbody td:last-child {
    border-right: none;
}

.models-table tbody tr:last-child td {
    border-bottom: none;
}

.model-name {
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
}

.models-table tbody tr:hover .model-name {
    color: #3498db;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
    font-size: 14px;
    color: #856404;
    text-align: center;
    font-style: italic;
}

/* Accessories Section */
.accessories-section {
    margin: 40px 25px;
}

.accessories-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

.accessories-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 800px;
    border-radius: 10px;
}

.accessories-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accessories-table th {
    background-color: #666;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.accessories-table th:first-child {
    text-align: center;
    width: 30%;
}

.accessories-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.accessories-table tr.highlighted {
    background-color: #fff3cd;
}

.accessories-table tr:not(.highlighted) {
    background-color: #f8f9fa;
}

.model-cell {
    text-align: center;
    font-weight: 600;
    color: #333;
}

.description-cell {
    color: #555;
    line-height: 1.5;
}

.price {
    color: #666;
    font-style: italic;
    margin-left: 10px;
}

/* Software Section */
.software-section {
    margin: 40px 15px;
}

.software-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

.software-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 800px;
    border-radius: 10px;
}

.software-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.software-table th {
    background-color: #666;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.software-table th:first-child {
    text-align: center;
    width: 30%;
}

.software-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.software-table tr.highlighted {
    background-color: #fff3cd;
}

.software-table tr:not(.highlighted) {
    background-color: #f8f9fa;
}

/* Documents Section */
.documents-section {
    margin: 40px 25px;
}

.document-type-section {
    margin-bottom: 40px;
}

.document-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

.document-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 800px;
    border-radius: 10px;
}

.document-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.document-table th {
    background-color: #666;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.document-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    background-color: #f8f9fa;
    text-align: center;
}

.name-cell {
    text-align: center;
    font-weight: 500;
    color: #333;
    width: 40%;
}

.version-cell {
    text-align: center;
    color: #555;
    width: 15%;
}

.date-cell {
    text-align: center;
    color: #555;
    width: 20%;
}

.download-cell {
    text-align: center;
    width: 25%;
}

.download-link {
    background-color: #ffc107;
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    background-color: #e0a800;
    color: #333;
    text-decoration: none;
}

.no-download {
    color: #999;
}

/* Default: sembunyikan */
.category-title {
  display: none;
}

/* Tampilkan hanya di desktop (>=1024px) */
@media (min-width: 1024px) {
  .category-title {
    display: block;
  }
}

/* Responsive for Series Detail Pages */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
    }

    .series-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .nav-link {
        display: flex;
        padding: 18px 24px;
        width: 100%;
        position: relative;        
        align-items: center;
        height: auto;
        border-bottom: none;
        border-radius: 0;
        font-size: 11px;
        font-weight: 500;
        min-height: auto;
        text-align: left;
    }

    .screen-border {
        background: linear-gradient(45deg, #333, #444);
        padding: 8px;
        margin: 0rem;
        border-radius: 6px;
    }
    /* Container text - biarkan expand */
    .nav-link .menu-text {
        flex: 1;
        flex-direction: row;
    }
    .slider-container {
        position: relative;
        width: 100%;
        height: 200px;
    }

    .slider-dots {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 5px;
        z-index: 10;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: all 0.3s;
        border: 2px solid transparent;
    }

    .header {
        padding: 8px 2px;
        top: 70px;
    }

    .feature-content {
        padding: 5%;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 20px;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }
    
    .chevron-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        position: absolute;        /* Gunakan absolute positioning */
        right: 20px;              /* Jarak tetap dari kanan */
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: transform 0.3s;
    }

    .nav-item.open .chevron-toggle {
        transform: translateY(-50%) rotate(180deg); /* Jangan lupa tambah translateY */
    }

    .main-content {
        padding: 0;
        margin-left: 5%;
        margin-right: 5%;
    }

    .product-info {
        padding: 0;
        border-radius: 15px;
    }

    .section-title {
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        font-weight:700;
        margin-bottom: 0.5rem;
        color: #1a1a1a;
    }

    .left-panel {
        padding: 20px;
    }

    .series-title {
        font-size: 28px;
    }

    .right-panel {
        padding: 15px;
        margin-top: 15%;
    }

    .oscilloscope-image {
        padding: 15px;
    }

    .thumbnail img {
        width: 60px;
        height: 45px;
    }

    .thumbnail-gallery {
        gap: 8px;
    }

    .feature-section {
        margin-top: 0px;
        margin-bottom: 0px;
        gap: 20px;
        flex-direction: column !important;
        text-align: justify;
        margin-left: 20px;
        margin-right: 20px;
    }

    .feature-section:nth-child(even) {
        margin-top: 0px;
        flex-direction: column !important;
        text-align: justify;
        margin-left: 20px;
        margin-right: 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .feature-title {
        font-size: 24px;
    }

    .oscilloscope-display {
        max-width: 100%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .models-table-container {
        overflow-x: auto;
    }

    .models-table {
        min-width: 600px;
    }

    .models-table thead th,
    .models-table tbody td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .model-name {
        font-size: 14px;
    }

    .accessories-table th,
    .accessories-table td,
    .software-table th,
    .software-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .accessories-title,
    .software-title,
    .document-title {
        font-size: 24px;
    }

    .document-table th,
    .document-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .download-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .right-panel {
        padding: 10px;
    }

    .oscilloscope-image {
        padding: 10px;
    }

    .thumbnail img {
        width: 50px;
        height: 38px;
    }

    .thumbnail-gallery {
        gap: 6px;
        padding: 8px;
    }
}
.brandstory {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1700px; 
    padding: 0 10%;
    display: flex;
    justify-content: center;
}

.brandstory h1 {
    text-align: center;
    color: #ffd700;
    font-weight: 700;
}

.brandstory h3 {
    text-align: center;
    color: #ffd700;
    font-weight: 700;
}

.brandstory p {
    text-align: justify;
}


/* Floating Chat Button */
.floating-chat-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #FFD700;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(186, 180, 20, 0.582)
  transition: all 0.3s ease;
  z-index: 999;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.floating-chat-button:hover {
  background: #f4cf00;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(186, 180, 20, 0.582)
}

.floating-chat-button svg {
  width: 24px;
  height: 24px;
}


.chat-widget-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.chat-widget-container.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

.chat-widget-container .chat-container {
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  .chat-widget-container {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    z-index: 2000;
  }
  
  .floating-chat-button {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background: #FFD700;
      color: white;
      padding: 10px 20px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(186, 180, 20, 0.582)
      transition: all 0.3s ease;
      z-index: 999;
      font-family: "DM Sans", sans-serif;
      font-weight: 500;
      font-size: 13px;
    }
    
    #backToTop{
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: #FFD700;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        z-index: 9999;
    }
}

.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideDown 0.3s ease-out;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #26A375;
  border: 1px solid #f5c6cb;
}

.alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 1;
}
