:root {
    /* Colors */
    --primary-color: #0A192F;
    /* Deep Navy - Trust & Stability */
    --secondary-color: #FF4500;
    /* Safety Orange - Action & Industry */
    --accent-color: #E6E6E6;
    /* Steel Grey */
    --text-dark: #1A1A1A;
    --text-light: #F4F4F9;
    --bg-light: #FFFFFF;
    --bg-dark: #0f172a;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 2rem;
    --container-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Text Selection */
::selection {
    background-color: var(--secondary-color);
    color: white;
    text-shadow: none;
}

::-moz-selection {
    background-color: var(--secondary-color);
    color: white;
    text-shadow: none;
}

/* Global Interactive Transitions */
a,
button,
input,
select,
textarea {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img:not(.nav-logo) {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

img:not(.nav-logo):hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e03e00;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-dark-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-dark-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Unique Quote Button */
.btn-quote {
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    will-change: transform, box-shadow;
    -webkit-transform: translateZ(0);
}

.btn-quote::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -2;
}

.btn-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-quote:hover {
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 12px 25px rgba(255, 69, 0, 0.4);
    transform: translateY(-4px);
}

.btn-quote:hover::before {
    left: 0;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.01rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 100px;
    height: 100px;
    max-width: 15vw;
    max-height: 15vw;
    object-fit: contain;
    margin-right: 10px;
}

.company-name {
    font-size: clamp(12px, 2.5vw, 22px);
    font-weight: bold;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    /* Ensure vertical alignment */
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    left: 0;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: white !important;
}

.dropdown:hover .dropdown-content {
    display: flex;
}


.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    position: relative;
    padding-bottom: 4px;
}

/* Hover effect for unselected pages: Sliding underline */
.nav-links a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.nav-links a:not(.active):hover::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffc107;
    opacity: 1;
}

/* Active page effect: Pulsing glowing underline */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffc107;
    animation: pulseGlow 2s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 2px #ffc107;
        opacity: 0.7;
    }

    100% {
        box-shadow: 0 0 8px #ffc107, 0 0 15px #ffc107;
        opacity: 1;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    /* Ensure button stays on top when menu is open */
}

.mobile-menu-btn i {
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
    display: inline-block;
}

/* Page Headers */
.page-header {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.6)), url('../images/header .webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1,
.page-header h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
    animation: forgeStamp 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, forgePulse 3s ease-in-out 1.2s infinite alternate;
    display: inline-block;
    opacity: 0;
}

@keyframes forgeStamp {
    0% {
        transform: scale(1.05) translateY(-10px);
        opacity: 0;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    }
}

@keyframes forgePulse {
    0% {
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    }

    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.6);
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Value Props / Features */
.features {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 69, 0, 0.05));
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Home Page Slider */
.slider-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    margin: 2rem auto;
    overflow: hidden;
    background-color: transparent;
    padding-bottom: 40px;
    /* Room for dots */
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease-in-out;
    gap: 20px;
}

.slide {
    flex: 0 0 42%;
    /* Shows 2 full slides, and part of the 3rd is waiting */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: white;
    color: var(--primary-color);
    border: none;
    width: 45px;
    height: 70px;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dev-credit-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: devHighlightPulse 4s infinite;
}

.dev-credit-link:hover {
    animation: none;
    color: var(--secondary-color, #ff4500);
    background-color: rgba(255, 69, 0, 0.1);
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.4);
}

@keyframes devHighlightPulse {

    0%,
    100% {
        color: #aaa;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    50% {
        color: var(--secondary-color, #ff4500);
        background-color: rgba(255, 69, 0, 0.1);
        box-shadow: 0 0 8px rgba(255, 69, 0, 0.4);
    }
}

.slider-btn:hover {
    background-color: white;
    color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #999;
}

.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slide {
        flex: 0 0 85%;
        /* 1 full slide, 2nd is waiting on mobile */
    }

    .slider-btn {
        width: 35px;
        height: 50px;
        font-size: 1.2rem;
        top: 45%;
    }

    .prev-btn {
        left: 0px;
    }

    .next-btn {
        right: 0px;
    }

    .slider-dots {
        bottom: 0px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Footer */
footer {
    background: #060d1a;
    color: white;
    padding: 5rem 1rem 2rem;
    border-top: 4px solid var(--secondary-color);
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #e03e00;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.3));
    margin-bottom: 0.8rem;
}

.footer-company-name {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer-desc {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-inline {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8em;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    overflow: hidden;
}

.footer-bottom p {
    font-size: clamp(0.6rem, 3vw, 0.9rem);
    white-space: nowrap;
    margin: 8px 0;
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-on-load {
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem 0;
        text-align: center;

        /* Mobile Menu Animation Styles */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.98);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        transform-origin: top;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1,
    .page-header h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links ul {
        display: block;
        align-items: flex-start;
    }

    .footer-contact ul li {
        justify-content: flex-start;
        text-align: left;
    }
}

/* TV and Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

.social-icon {
    color: white;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
}

.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
}

.widget-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    position: relative;
}

.link-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: waWidgetSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation: waWidgetSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.link-wrapper:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.link-wrapper:nth-child(2) {
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}

.link-wrapper:nth-child(3) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

@-webkit-keyframes waWidgetSlideIn {
    0% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes waWidgetSlideIn {
    0% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}




.wa-close {
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: -5px;
    right: -5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: background 0.3s ease;
    opacity: 0;
    animation: fadeInClose 0.5s ease forwards 1s;
}

@keyframes fadeInClose {
    to {
        opacity: 1;
    }
}

.wa-close:hover {
    background: #ff4500;
}

.wa-link,
.im-link {
    width: 55px;
    height: 55px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    will-change: transform, box-shadow;
    -webkit-transform: translateZ(0);
}

.wa-link {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulseLoop 2s infinite 1s;
}

.im-link {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: pulseLoopRed 2s infinite 1.4s;
}

.im-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}


.wa-link:hover,
.im-link:hover {
    transform: scale(1.1);
    animation: none;
}

.im-link:hover .im-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Product Filter & Search Styles */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    margin: 0 auto 1rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

#product-search {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

#product-search:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.filter-btn:hover {
    background: rgba(255, 69, 0, 0.1);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: white;
}

/* For smooth filtering transition */
.product-section {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.wa-link:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.im-link:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulseLoop {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}



@keyframes pulseLoopRed {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(10, 25, 47, 0.4);
    /* Dark blue transparent liquid glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

#back-to-top:hover {
    background: rgba(255, 69, 0, 0.8);
    /* Solidifies to orange on hover */
    border-color: rgba(255, 69, 0, 1);
    color: white;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.3);
}

/* Enhanced Responsiveness */
@media (max-width: 1100px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .company-name {
        font-size: clamp(12px, 2.5vw, 20px);
    }

    .nav-logo {
        width: 80px;
        height: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .company-name {
        font-size: clamp(10px, 3.8vw, 16px) !important;
        white-space: nowrap !important;
        line-height: 1.2;
    }

    .nav-logo {
        width: 55px;
        height: 55px;
        margin-right: 8px;
    }

    .wa-widget {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .wa-link,
    .im-link {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .chat-link {
        width: 50px;
        height: 50px;
    }


    .section-header h2 {
        font-size: 2rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .page-header {
        padding: 4rem 1rem;
    }

    .hero p {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    #back-to-top {
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .footer-content {
        padding-bottom: 2rem;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}