/* Mockup Layout Redesign - Award Winning Polish */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --primary: #0B1B3D; /* Dark Blue */
  --cta: #F37021;     /* Vibrant Orange */
  --surface: #FFFFFF;
  --surface-alt: #F8F9FA; /* Premium Light Gray */
  --text-main: #1A202C; /* Deeper text color */
  --text-muted: #718096; /* Elegant muted text */
  --border-light: rgba(0,0,0,0.06);
  --shadow-smooth: 0 20px 40px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
  --shadow-hover: 0 30px 60px rgba(11, 27, 61, 0.08), 0 4px 12px rgba(11, 27, 61, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; background-color: var(--surface); color: var(--text-main); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Bar */
.top-bar { background: var(--cta); font-size: 11px; padding: 10px 0; color: #fff; font-weight: 600; letter-spacing: 0.5px; transition: all 0.3s ease; border-bottom: none; }
.top-bar a { text-decoration: none; color: #fff; transition: 0.3s; }
.top-bar a:hover { opacity: 0.8; }
.top-bar-item { display: flex; align-items: center; gap: 8px; }
.top-bar-item i { color: #fff !important; fill: #fff !important; }
.top-bar-item.dark { background: rgba(0,0,0,0.15); color: #fff; padding: 6px 16px; border-radius: 4px; border: none; }

/* Navbar - Royal Meat Hub Style */
.navbar { background: var(--primary); position: sticky; top: 0; z-index: 1000; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.15); transition: all 0.4s ease; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; border-radius: 0; margin: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 0; }
.logo-container { display: flex; align-items: center; gap: 14px; color: #fff; margin-left: 35px; }
.logo-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--cta); border: 1px solid rgba(255,255,255,0.1); }
.nav-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; align-items: center; }
.nav-links > li > a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 10px; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; padding: 0 0 6px 0; transition: all 0.3s ease; position: relative; letter-spacing: 0.5px; display: block; border-radius: 0; background: transparent !important; box-shadow: none !important; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--cta); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-links > li > a:hover, .nav-links > li > a.active { color: #fff; }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { width: 100%; }


/* Dropdown Menu */
.nav-dropdown { position: relative; padding: 10px 0; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #ffffff;
    min-width: 320px;
    list-style: none;
    padding: 16px 0;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { display: block; }
.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 11px !important;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    line-height: 1.4;
}
.dropdown-menu a:hover {
    background: rgba(243, 112, 33, 0.05);
    color: var(--cta) !important;
    padding-left: 30px;
}

/* Typography */
h1, h2, h3, h4 { margin-top: 0; line-height: 1.15; text-transform: uppercase; color: var(--primary); font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: -0.5px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 16px; border-radius: 4px; margin-bottom: 24px; }
.badge-dark { background: rgba(0,0,0,0.4); color: #fff; border-left: 3px solid var(--cta); }
.badge-light { color: var(--cta); font-size: 11px; margin-bottom: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-size: 12px; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; border: none; cursor: pointer; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); gap: 10px; border-radius: 4px; overflow: hidden; position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background: rgba(255,255,255,0.1); transition: width 0.4s ease; z-index: -1; }
.btn:hover::before { width: 100%; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 10px 25px rgba(243,112,33,0.3); border: 1px solid var(--cta); }
.btn-cta:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(243,112,33,0.4); }
.btn-outline-light { background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); transform: translateY(-4px); box-shadow: 0 15px 35px rgba(255,255,255,0.2); border-color: #fff; }
.btn-outline-dark { background: transparent; border: 1px solid rgba(0,0,0,0.15); color: var(--primary); }
.btn-outline-dark:hover { background: rgba(0,0,0,0.03); color: var(--cta); border-color: var(--cta); transform: translateY(-4px); }

/* Hero (Lapa Ninja Style) */
.hero-section { position: relative; padding: 180px 0 140px; background-color: var(--primary); color: #fff; overflow: hidden; border-bottom: none; }
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1508450859948-4e04fabaa4ea?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    mix-blend-mode: luminosity;
    z-index: 0;
    pointer-events: none;
}
.hero-overlay { position: absolute; top: -50%; left: -20%; width: 140%; height: 200%; background: radial-gradient(circle at 30% 0%, rgba(243, 112, 33, 0.08) 0%, transparent 60%); z-index: 1; pointer-events: none; }

/* Slider Layout */
.hero-slider-container { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; position: relative; z-index: 5; }
.hero-slide {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title { text-transform: none; color: #fff; text-shadow: none; }

/* Staggered Slider Animations */
.hero-slide .hero-content {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}
.hero-slide .hero-image-wrapper {
    transform: translateX(40px) scale(0.95);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active .hero-image-wrapper {
    transform: translateX(0) scale(1);
    opacity: 1;
    transition-delay: 0.2s;
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.control-dot {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.4s ease;
}
.control-dot:hover { background: rgba(255,255,255,0.4); }
.control-dot.active {
    background: var(--cta);
}

/* Sections */
.section-padding { padding: 80px 0; }
.section-title { font-size: 28px; margin-bottom: 40px; }

/* Company Profile Split */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 48px 0; }
.mv-card { background: var(--surface); padding: 40px 32px; border-radius: 8px; border: 1px solid var(--border-light); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: var(--shadow-smooth); position: relative; overflow: hidden; }
.mv-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--cta); transform: scaleX(0); transition: transform 0.5s ease; transform-origin: left; }
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }
.mv-card:hover::after { transform: scaleX(1); }
.mv-card h4 { font-size: 16px; margin: 20px 0 12px; color: var(--primary); text-transform: none; }
.mv-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }
.icon-orange { color: var(--cta); width: 28px; height: 28px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 15px; margin-bottom: 20px; color: var(--text-main); font-weight: 600; }
.check-icon { color: var(--cta); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* Overlapping Image Boxes */
.img-overlap-wrapper { position: relative; border-radius: 8px; overflow: visible; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.img-overlap-wrapper:hover { transform: scale(1.02); }
.img-overlap-wrapper img { width: 100%; height: 600px; object-fit: contain; padding: 20px; box-sizing: border-box; cursor: pointer; display: block; border-radius: 8px; box-shadow: var(--shadow-smooth); }
.overlap-box { position: absolute; background: rgba(11, 27, 61, 0.95); backdrop-filter: blur(10px); color: #fff; padding: 48px; max-width: 380px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); border-radius: 8px; z-index: 10; border-left: 4px solid var(--cta); }
.overlap-box.bottom-left { bottom: -30px; left: -30px; }
.overlap-box.bottom-right { bottom: -30px; right: -30px; }

/* Product Filter */
.product-filter { display: flex; justify-content: center; gap: 56px; margin-bottom: 64px; border-bottom: 1px solid var(--border-light); padding-bottom: 24px; }
.filter-item { font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; color: var(--text-muted); cursor: pointer; letter-spacing: 1px; transition: all 0.4s ease; position: relative; }
.filter-item:hover { color: var(--primary); }
.filter-item.active { color: var(--primary); }
.filter-item.active::after { content: ''; position: absolute; bottom: -22px; left: 0; width: 100%; height: 2px; background: var(--cta); }

/* Products Grid */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.prod-card { background: var(--surface); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-light); border-radius: 12px; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: var(--shadow-smooth); }
.prod-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-color: transparent; }
.prod-img-box { position: relative; height: 300px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-img-box img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.prod-card:hover .prod-img-box img { transform: scale(1.08); }
.prod-tag { position: absolute; top: 20px; right: 20px; background: var(--primary); color: #fff; font-size: 11px; font-family: 'Montserrat', sans-serif; font-weight: 800; padding: 10px 20px; border-radius: 4px; z-index: 2; box-shadow: 0 10px 20px rgba(0,0,0,0.15); letter-spacing: 1px; }
.prod-content { padding: 48px; flex: 1; display: flex; flex-direction: column; background: #fff; position: relative; z-index: 3; }
.prod-title { font-size: 24px; margin-bottom: 16px; text-transform: none; color: var(--primary); font-weight: 900; display: inline-block; background: linear-gradient(120deg, rgba(243,112,33,0.2) 0%, rgba(243,112,33,0.2) 100%); background-repeat: no-repeat; background-size: 100% 30%; background-position: 0 88%; transition: all 0.3s ease; }
.prod-card:hover .prod-title { background-size: 100% 100%; color: var(--primary); padding: 0 4px; }
.prod-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 40px; flex: 1; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.prod-specs { display: flex; border-top: 1px solid var(--border-light); padding-top: 24px; margin-top: auto; }
.spec-item { flex: 1; display: flex; align-items: center; gap: 20px; }
.spec-item:first-child { border-right: 1px solid var(--border-light); padding-right: 24px; margin-right: 24px; }
.spec-icon { color: var(--cta); width: 24px; height: 24px; background: rgba(243,112,33,0.1); padding: 12px; border-radius: 50%; box-sizing: content-box; transition: all 0.4s ease; }
.prod-card:hover .spec-icon { background: var(--cta); color: #fff; transform: rotate(15deg) scale(1.1); box-shadow: 0 10px 20px rgba(243,112,33,0.3); }
.spec-text { font-size: 15px; font-weight: 700; color: var(--primary); display: flex; flex-direction: column; }
.spec-label { font-size: 11px; font-family: 'Montserrat', sans-serif; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; font-weight: 800; letter-spacing: 1px; }

/* Industries Powered */
.industries-section { background: var(--primary); color: #fff; position: relative; padding: 140px 0 180px; text-align: left; overflow: hidden; }
.ind-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.15; background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1920&auto=format&fit=crop') center/cover; mix-blend-mode: overlay; filter: grayscale(100%); }
.ind-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 40px; }
.ind-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 48px 32px; border-radius: 8px; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.ind-card:nth-child(even) { margin-top: 60px; } /* Staggered masonry effect */
.ind-number { position: absolute; bottom: -20px; right: -10px; font-size: 140px; font-weight: 900; font-family: 'Montserrat', sans-serif; color: rgba(255,255,255,0.03); line-height: 1; z-index: 0; transition: all 0.5s ease; user-select: none; }
.ind-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(243,112,33,0.6); transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 20px rgba(243,112,33,0.1); }
.ind-card:hover .ind-number { color: rgba(243,112,33,0.1); transform: translateX(-10px) translateY(-10px); }
.ind-icon-box { width: 64px; height: 64px; background: rgba(243,112,33,0.1); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 32px; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid rgba(243,112,33,0.2); position: relative; z-index: 1; }
.ind-card:hover .ind-icon-box { background: var(--cta); color: #fff !important; transform: scale(1.15) translateY(-5px); box-shadow: 0 15px 30px rgba(243,112,33,0.4); border-color: var(--cta); }
.ind-card h4 { font-size: 18px; margin-bottom: 16px; color: #fff; letter-spacing: 0.5px; position: relative; z-index: 1; }
.ind-card p { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.7; position: relative; z-index: 1; }

/* Quality Section */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.qual-list { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.qual-item { display: flex; gap: 24px; align-items: flex-start; }
.qual-icon { flex-shrink: 0; color: var(--cta); width: 32px; height: 32px; background: rgba(243,112,33,0.1); padding: 12px; border-radius: 50%; box-sizing: content-box; box-shadow: inset 0 0 0 1px rgba(243,112,33,0.2); }
.qual-text h4 { font-size: 18px; margin: 0 0 8px; text-transform: none; color: var(--primary); font-weight: 800; }
.qual-text p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Footer */
/* FAQ Section */
.faq-item { background: #fff; border-radius: 12px; padding: 24px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; border: 1px solid var(--border-light); }
.faq-item:hover { border-color: rgba(11,27,61,0.1); }
.faq-header { display: flex; justify-content: space-between; align-items: center; }
.faq-title { font-size: 16px; font-weight: 700; color: var(--primary); transition: 0.3s; }
.faq-icon { color: var(--text-muted); transition: 0.3s; width: 20px; height: 20px; }
.faq-body { max-height: 0; opacity: 0; transition: all 0.4s ease; padding-top: 0; color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; overflow: hidden; }

.faq-item.active { background: var(--primary); box-shadow: 0 15px 30px rgba(11,27,61,0.15); border-color: transparent; }
.faq-item.active .faq-title { color: #fff; }
.faq-item.active .faq-icon { color: #fff; }
.faq-item.active .faq-body { max-height: 200px; opacity: 1; padding-top: 16px; }

/* Footer */
.footer { 
    background-color: var(--primary);
    background-image: radial-gradient(circle at 100% 100%, rgba(243, 112, 33, 0.05) 0%, transparent 60%),
                      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: #fff; 
    padding: 60px 0 24px; 
    border-top: 8px solid var(--cta); 
    position: relative; 
    overflow: hidden;
    font-family: 'Inter', sans-serif; 
    z-index: 2; 
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 100% 100%, rgba(243,112,33,0.05) 0%, transparent 50%); pointer-events: none; }
.footer p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 0; max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.footer-cta { position: relative; z-index: 10; margin-top: -60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 64px; margin-bottom: 40px; position: relative; z-index: 2; }
.footer h4 { font-size: 14px; color: #fff; margin-bottom: 24px; letter-spacing: 2px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 16px; }
.footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: 0.3s; position: relative; display: inline-block; }
.footer ul a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0%; height: 1px; background: var(--cta); transition: 0.3s; }
.footer ul a:hover { color: #fff; }
.footer ul a:hover::after { width: 100%; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.contact-item i { color: var(--cta); flex-shrink: 0; width: 20px; height: 20px; }
.social-icons { display: flex; gap: 12px; }
.social-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.social-icon:hover { background: var(--cta); border-color: var(--cta); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}
.floating-wa:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}
.floating-wa svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 96px;
    right: 38px;
    width: 40px;
    height: 40px;
    background-color: var(--cta);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(11,27,61,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background-color: var(--cta);
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 8px 20px rgba(243,112,33,0.4);
}

/* CLIENT LOGO SCROLLER */
.client-scroller {
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid var(--border-light);
}
.client-scroller::before,
.client-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.client-scroller::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.client-scroller::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}
.client-track {
    display: inline-block;
    animation: scroll-clients 40s linear infinite;
}
.client-track img {
    width: 160px;
    height: 70px;
    object-fit: contain;
    margin: 0 30px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    vertical-align: middle;
}
.client-track img:hover {
    filter: grayscale(0%) opacity(1);
}
@keyframes scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* LIGHTBOX CSS */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11,27,61, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#lightbox.active {
    display: flex;
    opacity: 1;
}
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    border-radius: 8px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
#lightbox.active img {
    transform: scale(1);
}
#lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; gap: 24px; }
}


/* Breadcrumbs */
.breadcrumb { position: relative; z-index: 2; font-size: 14px; color: rgba(255,255,255,0.6); display: flex; justify-content: center; align-items: center; gap: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; max-width: 600px; margin: 40px auto 0; }
.breadcrumb a { color: #fff; text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--cta); }

/* =========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
========================================================================= */

/* Hamburger Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 1024px) {
    /* Top Bar */
    .top-bar .container { flex-direction: column; gap: 12px; align-items: center !important; text-align: center; }
    .top-bar-left, .top-bar-right { flex-direction: column; gap: 8px !important; align-items: center; }
    
    /* Navbar */
    .mobile-menu-btn { display: block; }
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 10px 0; }
    .nav-links > li > a { font-size: 14px; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.2); min-width: 100%; margin-top: 10px; display: none; }
    .nav-dropdown.active .dropdown-menu { display: block; }

    /* Hero Section */
    
    .hero-layout { display: flex !important; flex-direction: column-reverse !important; gap: 40px; text-align: center; align-items: center; }
    .hero-image-wrapper { width: 100%; text-align: center; }
    .hero-image-wrapper img { max-width: 80% !important; margin: 0 auto; display: block; }

    .hero-title { font-size: 40px !important; line-height: 1.1 !important; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-image-wrapper { transform: none !important; }
    .hero-section { padding: 120px 0 80px; }

    /* Inner Headers (About, Contact, etc) */
    .inner-title { font-size: 40px !important; }

    /* Grids */
    .profile-grid, .mission-vision, .quality-grid, .blog-layout, .contact-creative-grid { grid-template-columns: 1fr; gap: 40px; }
    .img-overlap-wrapper img { height: auto; max-height: 400px; }
    .overlap-box { position: relative; bottom: 0; left: 0; right: 0; max-width: 100%; margin-top: -40px; border-radius: 8px; }
    
    /* Industries */
    .ind-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ind-card:nth-child(even) { margin-top: 0; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-cta { margin-top: 0; margin-bottom: 40px; }
    .footer-logo { justify-content: center; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    
    /* Product Layouts */
    .prod-card .prod-specs { flex-direction: column; gap: 16px; }
    .spec-item:first-child { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border-light); padding-bottom: 16px; margin-bottom: 16px; }
    
    /* Technical Specs Table on Product Pages */
    .spec-table-row { flex-direction: column; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .spec-table-col { border-right: none !important; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 12px 16px !important; width: 100% !important; }
    
    /* Contact Strip */
    .contact-strip { margin-top: 0; }
    .contact-strip-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
    /* Further reduction for small phones */
    .hero-title { font-size: 32px !important; }
    .inner-title { font-size: 32px !important; }
    .ind-grid { grid-template-columns: 1fr; }
    .product-filter { flex-direction: column; gap: 16px; align-items: center; border-bottom: none; }
    .filter-item { border-bottom: 1px solid var(--border-light); padding-bottom: 12px; width: 100%; text-align: center; }
    .filter-item.active::after { display: none; }
    .form-card { padding: 32px 24px; }
}

@media (max-width: 1024px) { .top-bar { display: none !important; } }


@media (max-width: 1024px) { a[href="admin/login.php"] { display: none !important; } }


@media (max-width: 1024px) {
    /* Fix navbar wrapper in index.php */
    .navbar div[style*="gap:40px"] { margin-left: auto; margin-right: 10px;
        gap: 0 !important;
        position: static !important;
    }
    
    .nav-actions {
        display: flex !important;
        border-left: none !important;
        padding-left: 0 !important;
        gap: 10px !important;
        margin-right: 16px;
    }
    .nav-actions .btn-cta {
        padding: 8px 12px !important;
        font-size: 10px !important;
    }

    
    /* Fix nav-container in other pages */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Ensure logo isn't squished */
    .logo-container {
        margin-left: 15px !important;
    }
}






@media (max-width: 1024px) { .hero-stats-block { display: none !important; } }



@media (max-width: 1024px) {
    .nav-links {
        z-index: 99999 !important;
    }
    .mobile-menu-btn {
        z-index: 100000 !important;
        position: relative;
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        background: rgba(255,255,255,0.05) !important;
        border-radius: 8px;
        padding: 10px !important;
    }
    .dropdown-menu a {
        color: #fff !important;
    }
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: var(--cta) !important;
    }
}

@media (max-width: 1024px) {
    .nav-content, .nav-container {
        flex-wrap: nowrap !important;
        padding: 0 10px !important;
    }
    .logo-container img {
        height: 34px !important; 
    }
    .navbar div[style*="gap:40px"] {
        flex: 1;
        justify-content: flex-end;
    }
    .nav-actions {
        margin-right: 8px !important;
    }
    .nav-actions .btn-cta {
        padding: 6px 10px !important;
        font-size: 9px !important;
    }
    .mobile-menu-btn {
        padding: 4px !important;
    }
}

@media (max-width: 1024px) {
    .footer p {
        margin: 0 auto 24px auto !important;
        text-align: center;
    }
    .contact-item {
        justify-content: center !important;
        text-align: center;
    }
    .footer h4, .footer ul {
        text-align: center !important;
    }
    .footer-bottom p {
        margin: 0 auto !important;
    }
}

@media (max-width: 1024px) { .nav-dropdown.active .dropdown-menu, .dropdown.active .dropdown-menu { display: block !important; } }


@media (max-width: 1024px) {
    /* Contact Page Layout Fixes */
    .contact-strip-grid,
    .contact-creative-grid,
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .form-card {
        padding: 32px !important;
    }
    .inner-header {
        padding: 120px 0 60px !important;
    }
}


/* FAQ Layout Fix for Mobile */
.faq-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
@media (max-width: 992px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } }


/* Contact Info Grid Fix for Mobile */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; background: #fff; padding: 48px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-info-item.bordered { border-left: 1px solid rgba(0,0,0,0.05); padding-left: 32px; }
@media (max-width: 992px) {
    .contact-info-grid { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
    .contact-info-item.bordered { border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 32px; }
}


/* Footer Mobile Center Fix */
@media (max-width: 768px) {
    .footer-grid > div { text-align: center; }
    .footer-grid > div > div[style*="display: flex"] { justify-content: center !important; }
    .footer-grid ul li { text-align: center; }
    .footer-mobile-center { justify-content: center !important; text-align: center !important; }
}
