/* ==========================================================================
   PERTIMA FOOD MANUFACTURING - DON MOLINICO INSPIRED LUXURY DESIGN SYSTEM
   ========================================================================== */

/* Custom Font Declaration for CooperLtBT-Bold */
@font-face {
    font-family: 'CooperLtBT-Bold';
    src: local('CooperLtBT-Bold'), local('Cooper Lt BT Bold'), local('Cooper Black');
    font-weight: bold;
    font-style: normal;
}

:root {
    /* Color Palette */
    --color-navy-dark: #FFFFFF;
    --color-navy-main: #FFFFFF;
    --color-navy-card: #FFFFFF;
    --color-navy-light: #F1F5F9;
    --color-red-accent: #E52321;
    --color-red-dark: #B51311;
    --color-gold-accent: #D4AF37;
    --color-gold-glow: #D4AF37;
    --color-bg-dark: #FFFFFF;
    --color-bg-layer: #FFFFFF;
    --color-bg-offwhite: #FFFFFF;
    --color-text-main: #060E26;
    --color-text-muted: #475569;
    --color-text-dim: #64748B;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-heading: 'CooperLtBT-Bold', 'Cooper Black', 'Cooper', serif;
    --font-cooper: 'CooperLtBT-Bold', 'Cooper Black', 'Cooper', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #FFFFFF;
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: default;
    width: 100%;
}

/* Explicit H1 & H2 Font Family Rule */
h1,
h2,
.hero-title,
.page-title,
.section-title,
.card-heading,
.banner-red-stripe h2,
.retailers-title {
    font-family: var(--font-cooper) !important;
}

/* Custom Magnetic Cursor (Don Molinico Signature) */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-red-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.25s, height 0.25s, border-color 0.25s;
}

body.hover-target .cursor-ring {
    width: 55px;
    height: 55px;
    border-color: var(--color-red-accent);
    background-color: rgba(229, 35, 33, 0.1);
}

body.hover-target .cursor-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-gold-glow);
}

@media (max-width: 1024px),
(hover: none),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}


/* ==========================================================================
   STATIC SUBTLE BACKGROUND DECORATION ICONS (ELEGANT LIGHT GREY WATERMARKS)
   ========================================================================== */
.parallax-bg-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-particle {
    position: absolute;
    font-size: 2.8rem;
    color: #CBD5E1;
    /* Light grey color */
    opacity: 0.22;
    /* Subtle and low-visibility watermark style */
    filter: none;
    animation: none !important;
    /* No floating animation */
}

/* Fixed static positions inside section */
.floating-particle.p1 {
    top: 15%;
    left: 5%;
    font-size: 3.2rem;
}

.floating-particle.p2 {
    top: 45%;
    right: 6%;
    font-size: 3.5rem;
}

.floating-particle.p3 {
    top: 75%;
    left: 8%;
    font-size: 3rem;
}

.floating-particle.p4 {
    top: 25%;
    left: 85%;
    font-size: 3.2rem;
}

.floating-particle.p5 {
    top: 82%;
    right: 15%;
    font-size: 3.4rem;
}

.floating-particle.p6 {
    top: 60%;
    left: 78%;
    font-size: 2.9rem;
}

.floating-particle.p7 {
    top: 20%;
    right: 72%;
    font-size: 3.1rem;
}

/* Hero Section Static Subtle Grey Watermark Icons */
.hero-decor-floating {
    position: absolute;
    font-size: 2.8rem;
    z-index: 2;
    pointer-events: none;
    color: #CBD5E1;
    /* Light grey color */
    opacity: 0.25;
    /* Subtle light grey */
    animation: none !important;
    /* No floating animation */
    filter: none;
}

.decor-chili-left {
    top: -15px;
    left: -25px;
    font-size: 3.2rem;
}

.decor-fish-right {
    bottom: 25px;
    right: -30px;
    font-size: 3.4rem;
}

.decor-leaf-bottom {
    bottom: -20px;
    left: 25px;
    font-size: 2.8rem;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

/* ==========================================================================
   HEADER & NAVBAR (SYMMETRIC CLEARANCE & BALANCED LAYOUT)
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #0B1B4F;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s var(--ease-out-expo);
}

.navbar-header.scrolled {
    background: #0B1B4F;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container-donmolinico {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    height: 80px;
    transition: height 0.4s ease;
}

.navbar-header.scrolled .nav-container-donmolinico {
    height: 65px;
}

/* Symmetric Navigation Groups with Clear Clearance */
.nav-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 100%;
}

.nav-group.nav-left {
    justify-content: flex-end;
    padding-right: 145px;
}

.nav-group.nav-right {
    justify-content: flex-start;
    padding-left: 145px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2.5px;
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    color: #FCE055;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold-glow);
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.nav-item.active::after,
.nav-item:hover::after {
    width: 100%;
}

/* MATHEMATICALLY DEAD-CENTERED BANNER BLOCK */
.center-banner-block {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1005;
}

.mobile-plain-logo-link {
    display: none;
}

.banner-red-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 125px;
    background: #FFFFFF;
    border-radius: 0 0 18px 18px;
    border: 2px solid var(--color-gold-accent);
    border-top: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.navbar-header.scrolled .banner-red-box {
    width: 135px;
    height: 60px;
    border-radius: 12px;
    border-top: 2px solid var(--color-gold-accent);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    padding: 0.2rem 0.5rem;
}

.accent-double-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
    transition: opacity 0.3s ease;
}

.accent-double-lines .line {
    width: 40px;
    height: 2px;
    background: #0B1B4F;
    border-radius: 2px;
}

.navbar-header.scrolled .accent-double-lines {
    opacity: 0;
    display: none;
}

/* Responsive PERTIMA Logo Container */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.4s var(--ease-out-expo);
}

.official-logo-img {
    max-width: 195px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.4s var(--ease-out-expo);
}

.navbar-header.scrolled .official-logo-img {
    max-width: 105px;
    max-height: 42px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.heritage-tag {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0B1B4F;
    margin-top: 2px;
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease;
}

.navbar-header.scrolled .heritage-tag {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.scroll-progress {
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-red-accent), var(--color-gold-glow));
    transition: width 0.1s ease-out;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(17, 37, 94, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1010;
    padding: 0;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold-accent);
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--color-gold-glow);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #FCE055;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #FCE055;
}

/* Mobile Menu Dropdown Overlay */
.mobile-menu-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B1B4F;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--color-gold-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    z-index: 999;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-nav-item i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gold-accent);
    transition: color 0.25s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: linear-gradient(135deg, var(--color-red-accent), var(--color-red-dark));
    color: #FFFFFF;
    border-color: var(--color-gold-accent);
    box-shadow: 0 6px 20px rgba(229, 35, 33, 0.4);
    transform: translateX(4px);
}

.mobile-nav-item:hover i,
.mobile-nav-item.active i {
    color: #FFFFFF;
}

/* Page Viewport & Section Switches */
.page-viewport {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn-primary-glow,
.btn-glow-gold,
.btn-glow-navy,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    border: none;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #0B1B4F, #060E26);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(11, 27, 79, 0.4);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(11, 27, 79, 0.6);
    background: linear-gradient(135deg, #1A3278, #0B1B4F);
}

.btn-glow-gold {
    background: linear-gradient(135deg, #0B1B4F, #060E26);
    color: #FFFFFF;
    border: 1.5px solid var(--color-gold-accent);
    box-shadow: 0 4px 20px rgba(11, 27, 79, 0.35);
}

.btn-glow-gold:hover {
    background: linear-gradient(135deg, #1A3278, #0B1B4F);
    border-color: var(--color-gold-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(11, 27, 79, 0.5);
}

.btn-glow-navy {
    background: #060E26;
    color: #FFFFFF;
    border: 1px solid var(--color-gold-accent);
}

.btn-glow-navy:hover {
    background: var(--color-navy-light);
    border-color: var(--color-gold-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: #F1F5F9;
    border: 1.5px solid #CBD5E1;
    color: #060E26;
}

.btn-outline-light:hover {
    background: #060E26;
    color: #FFFFFF;
    border-color: #060E26;
}

/* Section Headings */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #B48A1D;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-cooper) !important;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.title-underline-red {
    width: 60px;
    height: 4px;
    background: var(--color-red-accent);
    border-radius: 4px;
    margin: 1rem 0 1.5rem 0;
}

.title-underline-red.center {
    margin-left: auto;
    margin-right: auto;
}

.bg-dark-layer {
    background-color: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* ==========================================================================
   HERO SECTION (PAGE 1) - LUXURY OFF-WHITE CULINARY CANVAS
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 2rem 0 0 0;
    box-sizing: border-box;
    background-color: var(--color-bg-offwhite);
    color: var(--color-navy-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-container-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: calc(100vh - 80px - 2rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    flex: 1;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11, 27, 79, 0.08);
    border: 1px solid rgba(11, 27, 79, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #0B1B4F;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #0B1B4F;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(11, 27, 79, 0.5);
}

.hero-title {
    font-family: var(--font-cooper) !important;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #060E26;
}

.text-gradient {
    background: linear-gradient(135deg, #0B1B4F, #1A3278);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-3d-card-stage {
    position: relative;
    width: 440px;
    max-width: 100%;
    height: 440px;
    border-radius: 32px;
    background: radial-gradient(circle at center, #FFFFFF 0%, #F1F5F9 70%, #E2E8F0 100%);
    border: 3px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 25px 60px rgba(11, 27, 79, 0.25), 0 0 50px rgba(229, 35, 33, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatHero 5s ease-in-out infinite alternate;
    transition: all 0.5s var(--ease-out-expo);
}

@media screen and (max-width: 1920px) {
    .hero-3d-card-stage {
        width: 540px;
        max-width: 100%;
        height: 540px;
    }
}

@media screen and (max-width: 1500px) {
    .hero-3d-card-stage {
        width: 440px;
        max-width: 100%;
        height: 380px;
    }
}

@media screen and (max-width: 1400px) {
    .hero-3d-card-stage {
        width: 360px;
        max-width: 100%;
        height: 310px;
    }
}

@keyframes floatHero {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-product-orbit {
    width: 400px;
    max-width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(6, 14, 38, 0.35);
    transform: rotate(-2deg);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

@media screen and (max-width: 1920px) {
    .hero-product-orbit {
        width: 500px;
        max-width: 100%;
        height: 500px;
    }
}

@media screen and (max-width: 1500px) {
    .hero-product-orbit {
        width: 400px;
        max-width: 100%;
        height: 340px;
    }
}

@media screen and (max-width: 1400px) {
    .hero-product-orbit {
        width: 320px;
        max-width: 100%;
        height: 270px;
    }
}

.hero-3d-card-stage:hover .hero-product-orbit {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 30px 60px rgba(229, 35, 33, 0.3);
}

.orbit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.hero-float-badge {
    position: absolute;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.badge-halal {
    top: -16px;
    left: -18px;
    color: #16A34A;
}

.badge-heritage {
    bottom: -16px;
    right: -18px;
    color: #0B1B4F;
}

/* INTEGRATED STATS RIBBON IN HERO */
.hero-stats-ribbon {
    position: relative;
    background: radial-gradient(ellipse at top, #0F2469 0%, #0B1B4F 60%, #071133 100%);
    border-radius: 20px;
    padding: 1.75rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(11, 27, 79, 0.35);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-cooper) !important;
    font-size: 2.8rem;
    font-weight: 800;
    color: #FCE055;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: #E2E8F0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FEATURED PRODUCTS GRID */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.featured-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold-accent);
}

.card-img-wrap {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.tag-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-red-accent);
    color: #FFF;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
}

.tag-badge.gold {
    background: #B48A1D;
    color: #FFFFFF;
}

.tag-badge.green {
    background: #16A34A;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-family: var(--font-cooper) !important;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #E2E8F0;
    padding-top: 1rem;
}

.weight-tag {
    font-size: 0.8rem;
    color: #B48A1D;
    font-weight: 700;
}

.btn-text-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.btn-text-link:hover {
    color: #0B1B4F;
}

/* CERTIFICATIONS TICKER */
.certifications-ticker-wrap {
    padding: 3rem 0;
    background: var(--color-navy-dark);
}

.ticker-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-text-dim);
    font-weight: 800;
    display: block;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cert-flex-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-box {
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 180px;
    max-width: 220px;
    min-width: 150px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.cert-box:hover {
    transform: translateY(-6px);
    border-color: var(--color-red-accent);
    box-shadow: 0 14px 30px rgba(229, 35, 33, 0.3);
}

.cert-logo-container {
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.cert-logo-img {
    max-height: 100%;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.cert-box-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #0B1B4F;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: auto;
}

.cert-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.text-gold {
    color: var(--color-gold-accent);
}

/* ==========================================================================
   RETAILERS SECTION (BOTTOM OF HOMEPAGE - MATCHING SCREENSHOT EXACTLY)
   ========================================================================== */
.retailers-section {
    background-color: #FFFFFF;
    color: #0B1B4F;
    padding: 4.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.retailers-title {
    font-family: var(--font-cooper) !important;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0B1B4F;
    text-align: center;
    margin-bottom: 0.5rem;
}

.title-underline-small-red {
    width: 38px;
    height: 3px;
    background-color: #E52321;
    border-radius: 2px;
    margin: 0.5rem auto 2.8rem auto;
}

.retailers-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0 1rem;
}

.retailer-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 91px;
    height: 49px;
    padding: 0.3rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.retailer-logo-box:hover {
    transform: translateY(-4px);
}

.retailer-logo-img {
    max-height: 38px;
    max-width: 119px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.06));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.retailer-logo-box:hover .retailer-logo-img {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

.btn-retailers-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 2.2rem;
    border-radius: 12px;
    border: 2px solid #0B1B4F;
    background-color: #FFFFFF;
    color: #0B1B4F;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 27, 79, 0.08);
}

.btn-retailers-contact:hover {
    background-color: #0B1B4F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 27, 79, 0.2);
}

/* ABOUT US PAGE */
.about-hero-header {
    background: #FFFFFF;
    padding: 5rem 0 3rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.sub-heading-red {
    color: #0B1B4F;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.75rem;
}

.page-title {
    font-family: var(--font-cooper) !important;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.about-hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.grid-2-col.align-center {
    align-items: center;
}

.paragraph-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.image-frame-gold {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--color-gold-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-frame-gold img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.frame-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 27, 79, 0.9);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Certifications Grid */
.cert-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cert-card {
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-red-accent);
}

.cert-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 0 auto 1.25rem auto;
}

.cert-card-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Sub-heading Gold Accent */
.sub-heading-gold {
    color: #B48A1D;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    margin-top: 5.5rem;
}

.pt-0 {
    padding-top: 0 !important;
}

/* Awards Cards Grid */
.awards-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.award-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold-accent);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.award-img-wrapper {
    position: relative;
    width: 100%;
    height: 310px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem;
    border-bottom: 1px solid #E2E8F0;
}

.award-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.award-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.award-card-body h3 {
    font-family: var(--font-cooper) !important;
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.award-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Official Certificate & Logo Grid */
.cert-docs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.cert-doc-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 1.35rem);
    min-width: 280px;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.cert-doc-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold-accent);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.cert-doc-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.cert-doc-img-wrapper img {
    max-width: 75%;
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s var(--ease-out-expo);
}

.cert-doc-card:hover .cert-doc-img-wrapper img {
    transform: scale(1.08);
}

.cert-doc-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(11, 27, 79, 0.88);
    border: 1px solid var(--color-gold-accent);
    color: var(--color-gold-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.cert-doc-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cert-doc-body h3 {
    font-family: var(--font-cooper) !important;
    font-size: 1.15rem;
    color: #0B1B4F;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.cert-doc-issuer {
    font-size: 0.82rem;
    font-weight: 700;
    color: #B58B12;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-doc-body p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0;
}

.btn-view-cert {
    width: 100%;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #0B1B4F, #060E26);
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(11, 27, 79, 0.3);
}

.btn-view-cert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 27, 79, 0.5);
    background: linear-gradient(135deg, #1A3278, #0B1B4F);
    border-color: var(--color-gold-accent);
    color: #FFFFFF;
}

.cert-attachment-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-attachment-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    width: 100%;
    margin-bottom: 0.2rem;
}

.btn-attachment-pill {
    background: var(--color-navy-dark);
    border: 1px solid var(--glass-border);
    color: var(--color-text-main);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-attachment-pill:hover {
    border-color: var(--color-gold-accent);
    color: var(--color-gold-accent);
    background: rgba(212, 175, 55, 0.1);
}

.banner-red-stripe {
    position: relative;
    background: #0B1B4F;
    padding: 3rem 0;
    color: #FFFFFF;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-red-stripe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, #0F2469 0%, #0B1B4F 60%, #071133 100%);
    pointer-events: none;
}

.banner-red-stripe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: rgba(15, 36, 105, 0.6);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.banner-red-stripe .container {
    position: relative;
    z-index: 10;
}

.banner-red-stripe h2 {
    font-family: var(--font-cooper) !important;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.factory-gallery-grid {
    columns: 3 300px;
    column-gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 27, 79, 0.85) 0%, rgba(11, 27, 79, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-overlay span {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* PRODUCTS PAGE */
.products-hero-header {
    background: #FFFFFF;
    padding: 5rem 0 3rem 0;
    border-bottom: 1px solid #E2E8F0;
}



.products-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.product-card-item {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card-item:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.p-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.p-img-box {
    position: relative;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-badge-weight {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-gold-glow);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.p-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.p-cat {
    font-size: 0.75rem;
    color: #0B1B4F;
    font-weight: 800;
    text-transform: uppercase;
}

.p-title {
    font-family: var(--font-cooper) !important;
    font-size: 1.1rem;
    margin: 0.25rem 0 0.5rem 0;
}

.p-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.btn-detail-trigger {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--color-text-main);
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: auto;
}

.btn-detail-trigger:hover {
    background: #0B1B4F;
    border-color: #0B1B4F;
    color: #FFFFFF;
}

/* CONTACT US PAGE */
.contact-hero-header {
    background: #FFFFFF;
    padding: 4rem 0 2rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

.contact-form-card,
.contact-info-column {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.card-heading {
    font-family: var(--font-cooper) !important;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.card-subheading {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.form-input {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    color: #060E26;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-red-accent);
    box-shadow: 0 0 0 3px rgba(229, 35, 33, 0.2);
}

.text-area {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-navy {
    width: 100%;
    background: linear-gradient(135deg, #0B1B4F, #060E26);
    color: #FFFFFF;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-submit-navy:hover {
    box-shadow: 0 8px 25px rgba(11, 27, 79, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1A3278, #0B1B4F);
}

.form-alert {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    display: none;
}

.form-alert.success {
    background: rgba(22, 163, 74, 0.2);
    color: #4ADE80;
    border: 1px solid #16A34A;
    display: block;
}

.info-item-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--color-navy-dark);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.info-item-card:hover {
    border-color: var(--color-gold-accent);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 27, 79, 0.1);
    color: #0B1B4F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text {
    flex-grow: 1;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-weight: 800;
    text-transform: uppercase;
}

.info-val {
    display: block;
    font-size: 1rem;
    color: var(--color-text-main);
    margin: 0.2rem 0;
}

.info-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.copy-hint {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* FOOTER */
.footer-primary {
    background: var(--color-navy-dark);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-to-top {
    background: var(--color-navy-card);
    border: 1px solid var(--glass-border);
    color: var(--color-text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: #0B1B4F;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(11, 27, 79, 0.5);
    border-color: var(--color-gold-accent);
}

/* MODALS & TOASTS */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    width: max-content;
    margin: 0 auto;
    text-align: center;
}

.lightbox-box img {
    display: block;
    max-width: 88vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-gold-glow);
    text-align: center;
    width: 100%;
    max-width: 850px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.lightbox-box .modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 14, 38, 0.85);
    border: 1px solid var(--color-gold-accent);
    color: var(--color-gold-accent);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10006;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.lightbox-box .modal-close:hover {
    background: var(--color-red-accent);
    color: #fff;
    border-color: #fff;
    transform: scale(1.1);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--color-navy-card);
    border: 1px solid var(--color-gold-accent);
    color: #FFF;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastIn 0.3s ease-out;
}

@keyframes toastIn {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE DESIGN */
/* Activate Mobile Hamburger Menu for screens < 1024px */
@media (max-width: 1023px) {

    .nav-container-donmolinico {
        height: 65px !important;
        padding: 0 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Hide desktop nav links on tablet/mobile (< 1024px) */
    .nav-group.nav-left,
    .nav-group.nav-right .nav-item {
        display: none !important;
    }

    .nav-group.nav-right {
        flex: initial;
        padding-left: 0;
        justify-content: flex-end;
    }

    /* Move PERTIMA Logo Container to Left side */
    .center-banner-block {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        top: auto !important;
        z-index: 1005;
        margin: 0;
    }

    /* Hide Desktop Banner Red Box on Mobile/Tablet */
    .banner-red-box.desktop-logo-box {
        display: none !important;
    }

    /* Show Plain Mobile Logo (assets/logo-pertima.png) on Left Side */
    .mobile-plain-logo-link {
        display: flex !important;
        align-items: center;
        text-decoration: none;
        padding: 0.25rem 0;
    }

    .mobile-plain-logo-img {
        max-height: 42px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
        transition: transform 0.3s ease;
    }

    .mobile-plain-logo-link:hover .mobile-plain-logo-img {
        transform: scale(1.03);
    }

    /* Display Hamburger Toggle on Right side */
    .mobile-toggle {
        display: flex !important;
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .grid-2-col,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .hero-stats-ribbon {
        padding: 1.25rem 1rem;
    }

    .hero-title,
    .page-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 1.95rem;
    }

    .banner-red-stripe h2 {
        font-size: 1.8rem;
    }

    .featured-products-grid,
    .cert-cards-grid,
    .awards-cards-grid,
    .products-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-doc-card {
        width: calc(50% - 1rem);
    }

    .factory-gallery-grid {
        columns: 2 240px;
    }

    .retailers-logos-row {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal viewport overflow and right side dark gap */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .hero-section {
        overflow-x: hidden !important;
        padding-top: 1rem;
    }

    /* Hero & Page H1 / H2 Typography & Layout Adjustments for Mobile */
    h1,
    .hero-title,
    .page-title {
        font-size: 1.7rem !important;
        line-height: 1.25;
    }

    h2,
    .section-title {
        font-size: 1.45rem !important;
        line-height: 1.25;
    }

    .banner-red-stripe h2 {
        font-size: 1.4rem !important;
    }

    .card-heading {
        font-size: 1.35rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        margin: 1.25rem 0 1rem 0;
    }

    /* Hero 3D Card Stage Responsiveness */
    .hero-3d-card-stage {
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .hero-product-orbit {
        width: 250px;
        height: 250px;
    }

    /* Fix Floating Pill Badges on Mobile (No horizontal screen overflow) */
    .hero-float-badge {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .badge-halal {
        top: -12px;
        left: 2px;
    }

    .badge-heritage {
        bottom: -12px;
        right: 2px;
    }

    /* Hide absolute floating icons that cause viewport overflow */
    .hero-decor-floating {
        display: none;
    }
}

@media (max-width: 576px) {
    .mobile-plain-logo-img {
        max-height: 35px;
    }

    .mobile-toggle {
        width: 40px !important;
        height: 40px !important;
    }

    h1,
    .hero-title,
    .page-title {
        font-size: 2.4rem !important;
        line-height: 1.25;
    }

    h2,
    .section-title {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }

    .banner-red-stripe h2 {
        font-size: 1.2rem !important;
    }

    .retailers-title {
        font-size: 1.2rem !important;
    }

    .card-heading {
        font-size: 1.2rem !important;
    }

    .hero-3d-card-stage {
        max-width: 360px;
        height: 360px;
    }

    .hero-product-orbit {
        width: 310px;
        height: 310px;
    }

    .badge-halal {
        top: -10px;
        left: 0px;
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .badge-heritage {
        bottom: -10px;
        right: 0px;
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .featured-products-grid,
    .cert-cards-grid,
    .awards-cards-grid,
    .products-catalog-grid {
        grid-template-columns: 1fr;
    }

    .cert-doc-card {
        width: 100%;
    }

    .factory-gallery-grid {
        columns: 1;
    }

    .retailers-logos-row {
        gap: 1.2rem 1.5rem;
    }

    .retailer-logo-box {
        height: 46px;
        min-width: 84px;
    }

    .retailer-logo-img {
        max-height: 38px;
        max-width: 112px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 413px) {

    h1,
    .hero-title,
    .page-title {
        font-size: 1.98rem !important;
    }

    h2,
    .section-title {
        font-size: 1.18rem !important;
    }

    .hero-badge {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   FACTORY GALLERY - MASONRY EDITORIAL COLLAGE (SELECTED DESIGN)
   ========================================================================== */
.opt3-masonry-columns {
    columns: 4 240px;
    column-gap: 1.25rem;
}

.opt3-plain-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--color-navy-card);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.4s ease;
}

.opt3-plain-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-gold-accent);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.opt3-plain-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.opt3-plain-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Gallery Navigation Controls */
.lightbox-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(6, 14, 38, 0.85);
    border: 1px solid var(--color-gold-accent);
    color: var(--color-gold-accent);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10005;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-btn:hover {
    background: var(--color-red-accent);
    color: #fff;
    border-color: #fff;
    transform: translateY(-50%) scale(1.12);
}

.lightbox-nav-btn.prev {
    left: -28px;
}

.lightbox-nav-btn.next {
    right: -28px;
}

.lightbox-counter {
    position: absolute;
    top: 14px;
    left: 16px;
    background: rgba(6, 14, 38, 0.85);
    border: 1px solid var(--color-gold-accent);
    color: var(--color-gold-accent);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    z-index: 10005;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .opt3-masonry-columns {
        columns: 3 200px;
    }
}

@media (max-width: 768px) {
    .opt3-masonry-columns {
        columns: 2 150px;
    }

    .lightbox-nav-btn.prev {
        left: 8px;
    }

    .lightbox-nav-btn.next {
        right: 8px;
    }
}

/* ==========================================================================
   CORE WEB VITALS & PERFORMANCE ENHANCEMENTS
   ========================================================================== */
.opt3-masonry-columns,
.products-catalog-grid,
.cert-docs-grid,
.awards-cards-grid {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* Aspect ratio locks for zero Cumulative Layout Shift (CLS) */
.card-img-wrap,
.p-img-box {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.hero-product-orbit {
    aspect-ratio: 1 / 1;
}

/* GPU Hardware Acceleration for buttery-smooth 60 FPS transitions */
.featured-card,
.product-card-item,
.cert-doc-card,
.award-card,
.opt3-plain-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}