@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
:root {
    --primary-color: #002b5c;
    --red-color: #8B0000;
}
body { 
    font-family: 'Roboto', sans-serif; 
    overflow-x: hidden;
}
/* Custom scrollbar for the textarea */
textarea::-webkit-scrollbar {
    width: 8px;
}
textarea::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 10px;
}
/* Custom styles for the sliding animation */
.inquiry-btn {
    background-color: #444444; /* Lighter green base */
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.table-content table {
    width: 100%;
    border-collapse: collapse;
}
.table-content th, .table-content td {
    border: 1px solid #ddd;
    padding: 8px;
}
/* The sliding background layer */
.inquiry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3rem; /* Matches the arrow section width initially */
    background-color: var(--primary-color); /* Darker green */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Expand background from right to left on hover */
.inquiry-btn:hover::before {
    width: 100%;
}

/* Ensure content stays above the pseudo-element */
.inquiry-btn span {
    position: relative;
    z-index: 2;
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-card img {
    transition: transform 0.3s ease;
}
/* Slider Transitions */
.slide-hidden {
    opacity: 0;
    display: none;
}
.slide-active {
    opacity: 1;
    display: block;
    animation: fadeIn 0.8s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}
.menu-open {
    transform: translateX(0) !important;
}
/* Accordion Transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 1rem;
}
.accordion-item.active .fa-plus {
    display: none;
}
.accordion-item.active .fa-minus {
    display: inline-block !important;
}
/* Multilevel Dropdown Animation */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.group:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 2nd Level Dropdown (Flyout) */
.submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    left: 100%;
    top: 0;
}
.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.text-danger {
    color: var(--red-color);
}
/* Language switcher */
.goog-te-banner-frame,
.skiptranslate,
.goog-logo-link,
.goog-te-gadget,
.VIpgJd-ZVi9od-ORHb{
    display:none !important;
}

body{
    top:0 !important;
}

.goog-te-combo{
    display:none !important;
}

.max-lang {
    height: 410px;
    max-height: 50vh;
    overflow-y: auto;
    max-width: 50vw;
}