/* ============================================================
   MK PRINTECS MACHINERY — PREMIUM LIGHT DESIGN SYSTEM
   Brand: Used Label Printing Machine Supplier | India | Est. 28 Yrs
   Style: Premium WordPress theme (Divi/Avada/BeTheme aesthetic)
   Palette: Deep Navy (#0d1b4b / #1a237e) + Gold (#c9a227 / #f0c040)
   Base: Light white content, navy hero/CTA/footer
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES — DESIGN TOKENS
   ============================================================ */
:root {

    /* --- Primary Navy Palette --- */
    --navy:              #0d1b4b;
    --navy-mid:          #1a237e;
    --navy-light:        #283593;
    --navy-lighter:      #3949ab;
    --navy-deep:         #080f2e;
    --navy-rgb:          13, 27, 75;

    /* --- Gold Palette --- */
    --gold:              #c9a227;
    --gold-light:        #f0c040;
    --gold-bright:       #ffd060;
    --gold-dark:         #a07d10;
    --gold-muted:        #b8941f;
    --gold-rgb:          201, 162, 39;

    /* --- Semantic Surface Colors --- */
    --surface-white:     #ffffff;
    --surface-off:       #f8f9fc;
    --surface-light:     #f1f3f9;
    --surface-card:      #ffffff;
    --surface-border:    #e4e8f0;
    --surface-border-light: #edf0f7;

    /* --- Text Colors --- */
    --text-dark:         #0d1b4b;
    --text-body:         #3a4060;
    --text-muted:        #6b7280;
    --text-light:        #9ca3af;
    --text-white:        #ffffff;
    --text-white-soft:   rgba(255, 255, 255, 0.85);
    --text-white-muted:  rgba(255, 255, 255, 0.60);

    /* --- Gold Transparencies --- */
    --gold-glow:         rgba(201, 162, 39, 0.18);
    --gold-glow-soft:    rgba(201, 162, 39, 0.08);
    --gold-border:       rgba(201, 162, 39, 0.30);
    --gold-border-soft:  rgba(201, 162, 39, 0.15);

    /* --- Navy Transparencies --- */
    --navy-glow:         rgba(13, 27, 75, 0.12);
    --navy-overlay:      rgba(8, 15, 46, 0.75);
    --navy-overlay-deep: rgba(8, 15, 46, 0.90);

    /* --- Gradients --- */
    --grad-navy:         linear-gradient(135deg, #080f2e 0%, #0d1b4b 45%, #1a237e 100%);
    --grad-navy-light:   linear-gradient(135deg, #0d1b4b 0%, #1a237e 60%, #283593 100%);
    --grad-gold:         linear-gradient(135deg, #c9a227 0%, #f0c040 60%, #ffd060 100%);
    --grad-gold-rev:     linear-gradient(135deg, #ffd060 0%, #f0c040 40%, #c9a227 100%);
    --grad-hero:         linear-gradient(135deg, #060c1e 0%, #0d1b4b 40%, #1a237e 75%, #283593 100%);
    --grad-section:      linear-gradient(180deg, #ffffff 0%, #f1f3f9 100%);
    --grad-diagonal:     repeating-linear-gradient(
                             -45deg,
                             transparent,
                             transparent 10px,
                             rgba(255,255,255,0.018) 10px,
                             rgba(255,255,255,0.018) 20px
                         );

    /* --- Typography --- */
    --font-primary:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:      'Poppins', 'Inter', sans-serif;
    --font-mono:         'JetBrains Mono', 'Fira Code', monospace;

    /* --- Type Scale --- */
    --text-xs:    0.75rem;
    --text-sm:    0.875rem;
    --text-base:  1rem;
    --text-lg:    1.125rem;
    --text-xl:    1.25rem;
    --text-2xl:   1.5rem;
    --text-3xl:   1.875rem;
    --text-4xl:   2.25rem;
    --text-5xl:   3rem;
    --text-6xl:   3.75rem;

    /* --- Spacing Scale (8px base) --- */
    --space-1:   0.25rem;
    --space-2:   0.5rem;
    --space-3:   0.75rem;
    --space-4:   1rem;
    --space-5:   1.25rem;
    --space-6:   1.5rem;
    --space-8:   2rem;
    --space-10:  2.5rem;
    --space-12:  3rem;
    --space-14:  3.5rem;
    --space-16:  4rem;
    --space-20:  5rem;
    --space-24:  6rem;

    /* --- Border Radius --- */
    --radius-xs:   4px;
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   14px;
    --radius-xl:   20px;
    --radius-2xl:  28px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-xs:   0 1px 3px rgba(13,27,75,0.06), 0 1px 2px rgba(13,27,75,0.04);
    --shadow-sm:   0 2px 8px rgba(13,27,75,0.08), 0 1px 3px rgba(13,27,75,0.05);
    --shadow-md:   0 4px 16px rgba(13,27,75,0.10), 0 2px 6px rgba(13,27,75,0.06);
    --shadow-lg:   0 10px 32px rgba(13,27,75,0.13), 0 4px 12px rgba(13,27,75,0.08);
    --shadow-xl:   0 20px 50px rgba(13,27,75,0.16), 0 8px 20px rgba(13,27,75,0.10);
    --shadow-2xl:  0 30px 70px rgba(13,27,75,0.20), 0 12px 30px rgba(13,27,75,0.12);
    --shadow-gold: 0 6px 24px rgba(201,162,39,0.30), 0 2px 8px rgba(201,162,39,0.18);
    --shadow-gold-lg: 0 12px 40px rgba(201,162,39,0.35), 0 4px 14px rgba(201,162,39,0.22);
    --shadow-navy: 0 8px 30px rgba(13,27,75,0.25), 0 3px 10px rgba(13,27,75,0.15);

    /* --- Transitions --- */
    --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast:   all 0.18s var(--ease-in-out);
    --transition:        all 0.32s var(--ease-in-out);
    --transition-slow:   all 0.5s var(--ease-out);

    /* --- Z-index Scale --- */
    --z-base:    1;
    --z-raised:  10;
    --z-overlay: 100;
    --z-modal:   1000;
    --z-fixed:   1050;
    --z-toast:   1100;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--surface-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

p { color: var(--text-body); }

a {
    color: var(--navy-mid);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover { color: var(--gold); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; padding: 0; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--surface-light); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--navy-mid), var(--navy));
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Selection */
::selection {
    background: var(--gold);
    color: var(--navy-deep);
}

/* Focus ring */
:focus-visible {
    outline: 2.5px solid var(--gold);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

/* ============================================================
   3. KEYFRAME ANIMATIONS
   ============================================================ */

/* Floating particle drift */
@keyframes particle-float {
    0%   { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.6; }
    25%  { transform: translateY(-30px) translateX(12px) scale(1.05); opacity: 0.9; }
    50%  { transform: translateY(-15px) translateX(-10px) scale(0.95); opacity: 0.7; }
    75%  { transform: translateY(-40px) translateX(8px) scale(1.02); opacity: 0.85; }
    100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.6; }
}

@keyframes particle-drift-2 {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.4; }
    33%  { transform: translateY(-25px) translateX(-15px) rotate(120deg); opacity: 0.7; }
    66%  { transform: translateY(-50px) translateX(10px) rotate(240deg); opacity: 0.5; }
    100% { transform: translateY(0) translateX(0) rotate(360deg); opacity: 0.4; }
}

@keyframes particle-drift-3 {
    0%   { transform: translateY(0) scale(1); opacity: 0.3; }
    50%  { transform: translateY(-60px) scale(1.3); opacity: 0.6; }
    100% { transform: translateY(0) scale(1); opacity: 0.3; }
}

/* Hero shimmer sweep */
@keyframes hero-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Gold shimmer on buttons */
@keyframes btn-shimmer {
    0%   { left: -100%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}

/* Pulse ring for WhatsApp & CTAs */
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.50); }
    70%  { box-shadow: 0 0 0 18px rgba(201, 162, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
}

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Spin for icon hover micro-interaction */
@keyframes icon-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Underline reveal */
@keyframes underline-reveal {
    0%   { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

/* Float bob for hero image */
@keyframes float-bob {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}

/* Diagonal pattern animation */
@keyframes diagonal-slide {
    0%   { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* Stat counter fade-up */
@keyframes stat-reveal {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Gold glow pulse */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.20); }
    50%       { box-shadow: 0 0 40px rgba(201, 162, 39, 0.45); }
}

/* Fade in from below */
@keyframes fade-up {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Navbar shrink */
@keyframes nav-shrink {
    0%   { padding-top: 1rem; padding-bottom: 1rem; }
    100% { padding-top: 0.5rem; padding-bottom: 0.5rem; }
}

/* ============================================================
   4. TOP BAR
   ============================================================ */
.top-bar {
    background: var(--navy-deep);
    color: var(--text-white-muted);
    font-size: var(--text-xs);
    font-family: var(--font-primary);
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: var(--z-fixed);
}

.top-bar a {
    color: var(--text-white-muted);
    transition: var(--transition-fast);
}

.top-bar a:hover { color: var(--gold-light); }

.top-bar .top-bar-info {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.top-bar .top-bar-info span,
.top-bar .top-bar-info a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.top-bar .top-bar-info i { color: var(--gold); font-size: 0.7rem; }

.top-social {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.top-social a {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: var(--text-white-muted);
    font-size: 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition-fast);
}

.top-social a:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* ============================================================
   5. NAVBAR
   ============================================================ */

/* ── DEFAULT: white bg, navy text (all pages) ── */
#mainNav {
    background: var(--surface-white);
    padding: 0.75rem 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    position: sticky;
    top: 0;
    z-index: var(--z-fixed);
    box-shadow: 0 2px 20px rgba(13,27,75,0.09);
    border-bottom: 1px solid var(--surface-border);
}

/* ── SCROLLED: tighter padding + stronger shadow ── */
#mainNav.nav-scrolled {
    padding: 0.55rem 0;
    box-shadow: 0 4px 24px rgba(13,27,75,0.14) !important;
}

/* ── Brand ── */
.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy) !important;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    transition: color 0.3s ease;
}

.navbar-brand img {
    border-radius: var(--radius-sm);
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-text { color: var(--navy); font-weight: 800; }


/* ── Toggler (default navy) ── */
.navbar-toggler {
    border: 1.5px solid var(--navy);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.6rem;
    transition: border-color 0.25s ease;
}

.navbar-toggler:hover { border-color: var(--gold); }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d1b4b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Nav Links — default: navy on white ── */
.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy) !important;
    padding: 0.55rem 1rem;
    position: relative;
    transition: color 0.25s ease;
    letter-spacing: 0.1px;
}

/* Gold active underline */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2.5px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s var(--ease-out);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-dark) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Nav CTA button */
.navbar-nav .nav-link.btn-gold {
    color: var(--navy-deep) !important;
    padding: 0.45rem 1.35rem;
    border-radius: var(--radius-md);
    margin-left: var(--space-3);
}

.navbar-nav .nav-link.btn-gold::after { display: none; }

/* Dropdown */
.navbar-nav .dropdown-menu {
    border: 1px solid var(--surface-border);
    border-top: 2.5px solid var(--gold);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--surface-white);
    padding: var(--space-3) 0;
    margin-top: 0;
    min-width: 200px;
    animation: fade-up 0.22s var(--ease-out);
}

.navbar-nav .dropdown-item {
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 1.25rem;
    transition: var(--transition-fast);
}

.navbar-nav .dropdown-item:hover {
    background: var(--gold-glow-soft);
    color: var(--navy);
    padding-left: 1.5rem;
}

/* ============================================================
   6. MEGA MENU
   ============================================================ */
.mega-menu {
    width: 100%;
    left: 0 !important;
    padding: 2rem;
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: fade-up 0.25s var(--ease-out);
}

.mega-menu-title {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--gold-border-soft);
}

.mega-menu .dropdown-item {
    color: var(--text-body);
    padding: 0.38rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: transparent;
}

.mega-menu .dropdown-item i {
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mega-menu .dropdown-item:hover {
    background: var(--gold-glow-soft);
    color: var(--navy);
    padding-left: 1rem;
}

.mega-menu .dropdown-item:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero-section {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
    min-height: 78vh;
    display: flex;
    align-items: center;
}

/* Deep diagonal pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 28px 28px;
    animation: diagonal-slide 18s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Radial glow upper-right */
.hero-section::after {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(201,162,39,0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Lower-left soft glow */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 15% 85%, rgba(201,162,39,0.08) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

/* All hero children above overlays */
.hero-section > .container,
.hero-section > * > .container {
    position: relative;
    z-index: 2;
}

/* --- Floating Particles (pure CSS) --- */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--gold);
    opacity: 0.55;
}

/* Individual particles with unique sizes, positions, timing */
.particle:nth-child(1) {
    width: 5px; height: 5px;
    top: 18%; left: 12%;
    animation: particle-float 7s ease-in-out infinite;
}
.particle:nth-child(2) {
    width: 3px; height: 3px;
    top: 35%; left: 28%;
    background: var(--gold-light);
    animation: particle-drift-2 9s ease-in-out infinite 1.2s;
}
.particle:nth-child(3) {
    width: 7px; height: 7px;
    top: 60%; left: 8%;
    opacity: 0.35;
    animation: particle-float 11s ease-in-out infinite 0.5s;
}
.particle:nth-child(4) {
    width: 4px; height: 4px;
    top: 22%; left: 65%;
    background: var(--gold-bright);
    animation: particle-drift-3 8s ease-in-out infinite 2s;
}
.particle:nth-child(5) {
    width: 6px; height: 6px;
    top: 75%; left: 45%;
    animation: particle-float 10s ease-in-out infinite 0.8s;
}
.particle:nth-child(6) {
    width: 3px; height: 3px;
    top: 48%; left: 78%;
    background: rgba(255,255,255,0.6);
    animation: particle-drift-2 12s ease-in-out infinite 3s;
}
.particle:nth-child(7) {
    width: 8px; height: 8px;
    top: 10%; left: 50%;
    opacity: 0.25;
    animation: particle-drift-3 14s ease-in-out infinite 1.5s;
}
.particle:nth-child(8) {
    width: 4px; height: 4px;
    top: 88%; left: 22%;
    background: var(--gold-light);
    animation: particle-float 8s ease-in-out infinite 2.5s;
}
.particle:nth-child(9) {
    width: 5px; height: 5px;
    top: 55%; left: 92%;
    animation: particle-drift-2 10s ease-in-out infinite 0.3s;
}
.particle:nth-child(10) {
    width: 3px; height: 3px;
    top: 30%; left: 88%;
    background: rgba(255,255,255,0.5);
    animation: particle-float 9s ease-in-out infinite 4s;
}
.particle:nth-child(11) {
    width: 6px; height: 6px;
    top: 70%; left: 60%;
    opacity: 0.40;
    animation: particle-drift-3 7.5s ease-in-out infinite 1s;
}
.particle:nth-child(12) {
    width: 4px; height: 4px;
    top: 15%; left: 38%;
    background: var(--gold-bright);
    animation: particle-drift-2 13s ease-in-out infinite 0.7s;
}

/* --- Hero Content --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-light);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--gold-border);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.hero-badge i { color: var(--gold-light); font-size: 0.7rem; }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.12;
    margin-bottom: var(--space-5);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

/* Gold shimmer accent on keyword */
.hero-title .text-gold-accent {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-bright) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-shimmer 4s linear infinite;
    display: inline-block;
}

/* Gold underline accent beneath headline word */
.hero-title .underline-gold {
    position: relative;
    display: inline-block;
}

.hero-title .underline-gold::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    animation: underline-reveal 1s 0.8s var(--ease-out) both;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-white-soft);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 2;
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    width: fit-content;
    margin-top: 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-3) var(--space-8);
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(201, 162, 39, 0.30);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
    animation: stat-reveal 0.8s var(--ease-out) both;
}

.stat-number:nth-child(1) { animation-delay: 0.3s; }
.stat-number:nth-child(2) { animation-delay: 0.5s; }
.stat-number:nth-child(3) { animation-delay: 0.7s; }

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-white-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: var(--space-1);
}

/* --- Hero Image --- */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-machine-img {
    border-radius: var(--radius-xl);
    box-shadow: 0 0 80px rgba(201,162,39,0.20), var(--shadow-2xl);
    border: 1px solid var(--gold-border);
    animation: float-bob 6s ease-in-out infinite;
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

.hero-placeholder {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(201,162,39,0.08), transparent 70%);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gold-border);
    animation: float-bob 6s ease-in-out infinite;
}

/* --- SVG Wave Dividers (hero to white) --- */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill { fill: var(--surface-white); }
.wave-divider.wave-navy .shape-fill { fill: var(--navy); }
.wave-divider.wave-off .shape-fill { fill: var(--surface-off); }
.wave-divider.wave-light .shape-fill { fill: var(--surface-light); }

/* Wave top variant */
.wave-divider-top {
    position: absolute;
    top: -1px;
    bottom: auto;
}

.wave-divider-top svg { transform: rotate(180deg); }

/* ============================================================
   8. SECTION LAYOUT UTILITIES
   ============================================================ */
.section-padding { padding: 5.5rem 0; }
.section-padding-sm { padding: 3.5rem 0; }
.section-padding-lg { padding: 7rem 0; }

.section-header { margin-bottom: 3.5rem; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(90deg, rgba(201,162,39,0.10) 0%, rgba(201,162,39,0.04) 100%);
    color: var(--gold-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--gold-border-soft);
    margin-bottom: var(--space-4);
}

.section-badge i { font-size: 0.65rem; }

/* On navy backgrounds */
.section-badge.badge-light {
    background: rgba(255,255,255,0.10);
    color: var(--gold-light);
    border-color: rgba(255,255,255,0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    letter-spacing: -0.3px;
}

.section-title.light { color: var(--text-white); }

/* Gold accent underline for section titles */
.section-title .gold-underline {
    position: relative;
    display: inline-block;
}

.section-title .gold-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.75;
}

.section-subtitle.light { color: var(--text-white-muted); }

/* Divider bar */
.section-divider {
    width: 56px;
    height: 3.5px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    margin: var(--space-4) 0;
}

.section-divider.center { margin-left: auto; margin-right: auto; }

/* Background variants */
.bg-white { background: var(--surface-white); }
.bg-off { background: var(--surface-off); }
.bg-light-section { background: var(--surface-light); }

.bg-navy {
    background: var(--grad-navy);
    position: relative;
    overflow: hidden;
}

.bg-navy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
}

.bg-navy .section-title { color: var(--text-white); }
.bg-navy .section-subtitle { color: var(--text-white-muted); }
.bg-navy p { color: var(--text-white-muted); }
.bg-navy h1, .bg-navy h2, .bg-navy h3,
.bg-navy h4, .bg-navy h5, .bg-navy h6 { color: var(--text-white); }

/* min-vh utility */
.min-vh-75 { min-height: 75vh; }

/* ============================================================
   9. BUTTONS
   ============================================================ */

/* Gold CTA — Primary */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--grad-gold);
    color: var(--navy-deep);
    border: none;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.72rem 1.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.15px;
    white-space: nowrap;
}

/* Shimmer sweep */
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    animation: btn-shimmer 2.8s ease-in-out infinite 1s;
}

/* Top highlight */
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    pointer-events: none;
}

.btn-gold:hover {
    color: var(--navy-deep);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
    filter: brightness(1.05);
}

.btn-gold:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-gold span, .btn-gold i { position: relative; z-index: 1; }

/* Icon spin on hover */
.btn-gold:hover i { animation: icon-spin 0.5s var(--ease-out); }

/* Navy solid button */
.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--navy);
    color: var(--text-white);
    border: 2px solid var(--navy);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.68rem 1.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.15px;
    white-space: nowrap;
}

.btn-navy:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-navy);
}

/* Navy outline secondary */
.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.68rem 1.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.15px;
    white-space: nowrap;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-navy);
}

/* Light outline — for use on navy backgrounds */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: transparent;
    color: var(--text-white) !important;
    border: 2px solid rgba(255,255,255,0.40);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.68rem 1.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.15px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.70);
    color: var(--text-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

/* Gold outline */
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.68rem 1.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline-gold:hover {
    background: var(--grad-gold);
    color: var(--navy-deep);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Size modifiers */
.btn-sm { padding: 0.45rem 1.1rem; font-size: var(--text-sm); border-radius: var(--radius-sm); }
.btn-lg { padding: 0.9rem 2.4rem; font-size: 1.05rem; border-radius: var(--radius-lg); }

/* ============================================================
   10. PAGE BANNER
   ============================================================ */
.page-banner {
    background: var(--grad-navy);
    padding: 5rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe overlay */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 24px 24px;
    animation: diagonal-slide 20s linear infinite;
    pointer-events: none;
}

/* Gold bottom border accent */
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
}

/* Right-side radial glow */
.page-banner .banner-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

/* Gold underline on banner title */
.page-banner h1 .gold-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    margin: var(--space-3) auto 0;
}

.page-banner-sm { padding: 3rem 0 2.5rem; }

.page-banner .breadcrumb {
    background: none;
    margin: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb-item a {
    color: var(--text-white-muted);
    transition: var(--transition-fast);
}

.page-banner .breadcrumb-item a:hover { color: var(--gold-light); }

.page-banner .breadcrumb-item.active { color: var(--gold-light); }

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.30);
    content: "/";
}

/* ============================================================
   11. BRAND CARDS
   ============================================================ */
.brand-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.brand-card-inner {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    border: 1.5px solid var(--surface-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Gold left-border on hover */
.brand-card-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--grad-gold);
    border-radius: 0 0 var(--radius-xs) 0;
    transition: height 0.38s var(--ease-out);
}

/* Subtle top-left radial glow */
.brand-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.brand-card:hover .brand-card-inner {
    border-color: var(--gold-border);
    transform: translateY(-7px);
    box-shadow: var(--shadow-gold-lg);
}

.brand-card:hover .brand-card-inner::before { height: 100%; }
.brand-card:hover .brand-card-inner::after { opacity: 1; }

.brand-img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.brand-card:hover .brand-img { transform: scale(1.03); }

.brand-placeholder {
    width: 100%;
    height: 155px;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold-border);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.brand-card:hover .brand-name { color: var(--navy); }

/* ============================================================
   12. SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

/* Gold left-border accent on hover */
.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--grad-gold);
    transition: height 0.40s var(--ease-out);
}

/* Bottom gold glow on hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    transition: width 0.38s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
}

.service-card:hover::before { height: 100%; }
.service-card:hover::after { width: 70%; }

.service-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-3);
    transition: var(--transition-fast);
}

.service-card:hover h5 { color: var(--navy); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Gold gradient circle service icon */
.service-icon {
    width: 72px;
    height: 72px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--navy-deep);
    margin: 0 auto var(--space-5);
    transition: var(--transition);
    box-shadow: 0 4px 16px var(--gold-glow);
    position: relative;
}

/* Outer ring on icon */
.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold-border-soft);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(8deg) scale(1.08);
    box-shadow: var(--shadow-gold-lg);
    animation: glow-pulse 2s ease-in-out infinite;
}

.service-card:hover .service-icon::before {
    border-color: var(--gold-border);
    inset: -6px;
}

/* Service detail icon */
.service-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: var(--surface-light);
    border: 1.5px solid var(--surface-border);
    border-radius: var(--radius-lg);
    font-size: 5rem;
    color: var(--gold-border);
}

/* ============================================================
   13. MACHINE CARDS
   ============================================================ */
.machine-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.machine-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}

/* Navy subtle shadow glow — card bottom on hover */
.machine-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease-out);
    z-index: 2;
}

.machine-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
}

.machine-card:hover::before { transform: scaleX(1); }

.machine-card-img {
    height: 235px;
    overflow: hidden;
    position: relative;
    background: var(--surface-light);
}

.machine-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out);
}

.machine-card:hover .machine-card-img img { transform: scale(1.06); }

/* Overlay gradient on image */
.machine-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(13,27,75,0.18));
    pointer-events: none;
}

.machine-card-img.machine-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--gold-border);
}

.machine-card-body {
    padding: var(--space-6);
    position: relative;
    z-index: 1;
}

.machine-card-body h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-dark);
    line-height: 1.3;
    transition: var(--transition-fast);
}

.machine-card:hover .machine-card-body h4 { color: var(--navy); }

.machine-card-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
    line-height: 1.6;
}

/* Machine badge tag */
.machine-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--gold-glow-soft);
    color: var(--gold-dark);
    padding: 0.22rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid var(--gold-border-soft);
}

/* Machine Gallery Detail */
.machine-gallery .main-image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--surface-border);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.thumb-img {
    cursor: pointer;
    opacity: 0.60;
    transition: var(--transition);
    height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--surface-border);
    width: 100%;
}

.thumb-img:hover,
.thumb-img.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

.machine-content-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-body);
}

.machine-content-text h5 { color: var(--navy); margin-top: var(--space-5); }
.machine-content-text a { color: var(--navy-mid); font-weight: 600; }
.machine-content-text a:hover { color: var(--gold-dark); }
.machine-content-text ul, .machine-content-text li { color: var(--text-body); }
.machine-content-text ul { padding-left: var(--space-6); list-style: disc; }

/* ============================================================
   14. BLOG CARDS
   ============================================================ */
.blog-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
}

.blog-card-img {
    height: 215px;
    overflow: hidden;
    position: relative;
    background: var(--surface-light);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out);
    display: block;
}

.blog-card:hover .blog-card-img img { transform: scale(1.07); }

/* Category tag on image */
.blog-cat-tag {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--grad-gold);
    color: var(--navy-deep);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    z-index: 2;
}

.blog-card-body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: var(--text-xs);
    color: var(--gold-dark);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date i { font-size: 0.7rem; }

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-card-title a { color: var(--text-dark); transition: var(--transition-fast); }
.blog-card-title a:hover { color: var(--navy); }

.blog-card-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: var(--space-5);
    line-height: 1.65;
}

.read-more {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--navy-mid);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
}

/* Underline reveal on read-more */
.read-more::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--grad-gold);
    transition: width 0.28s var(--ease-out);
}

.read-more:hover { color: var(--gold-dark); gap: var(--space-3); }
.read-more:hover::after { width: 100%; }
.read-more i { transition: transform 0.22s var(--ease-out); }
.read-more:hover i { transform: translateX(4px); }

/* Blog Detail */
.blog-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.28;
    margin-bottom: var(--space-4);
    color: var(--text-dark);
    font-weight: 800;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    align-items: center;
}

.blog-meta span { display: flex; align-items: center; gap: var(--space-2); }
.blog-meta i { color: var(--gold); font-size: 0.75rem; }

.blog-full-content {
    font-size: 1rem;
    line-height: 1.88;
    color: var(--text-body);
}

.blog-full-content p { margin-bottom: var(--space-5); color: var(--text-body); }

.blog-full-content h1, .blog-full-content h2,
.blog-full-content h3, .blog-full-content h4,
.blog-full-content h5, .blog-full-content h6 {
    color: var(--text-dark);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.blog-full-content a { color: var(--navy-mid); font-weight: 600; }
.blog-full-content a:hover { color: var(--gold-dark); }

.blog-full-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
    border: 1.5px solid var(--surface-border);
    box-shadow: var(--shadow-md);
    max-width: 100%;
}

.blog-full-content ul, .blog-full-content ol {
    color: var(--text-body);
    padding-left: var(--space-8);
    margin-bottom: var(--space-5);
}

.blog-full-content ul { list-style: disc; }
.blog-full-content ol { list-style: decimal; }

.blog-full-content blockquote {
    border-left: 4px solid var(--gold);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background: var(--surface-off);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Blog Sidebar */
.sidebar-widget {
    margin-bottom: var(--space-6);
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1.5px solid var(--surface-border);
    box-shadow: var(--shadow-xs);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--surface-border);
    color: var(--text-dark);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--grad-gold);
}

.related-post-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--surface-border-light);
    align-items: flex-start;
}

.related-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.related-post-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    border: 1.5px solid var(--surface-border);
    transition: var(--transition-fast);
}

.related-post-item:hover img { border-color: var(--gold-border); }

.related-post-item a {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.related-post-item a:hover { color: var(--navy); }
.related-post-item small { color: var(--text-light); font-size: 0.75rem; }

/* Blog search */
.blog-search .form-control {
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    padding-left: var(--space-5);
    border-right: none;
}

.blog-search .btn {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    padding: 0 var(--space-5);
}

/* ============================================================
   15. GALLERY
   ============================================================ */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--surface-border);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.55s var(--ease-out);
    display: block;
}

.gallery-item:hover {
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-4px);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,27,75,0.75) 0%, rgba(26,35,126,0.60) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    gap: var(--space-2);
}

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

.gallery-overlay i {
    font-size: 1.75rem;
    color: var(--gold-light);
    transform: scale(0.7);
    transition: transform 0.3s var(--ease-spring);
}

.gallery-overlay span {
    color: var(--text-white-soft);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* ============================================================
   16. CONTACT FORM WRAPPER
   ============================================================ */
.contact-form-wrapper {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1.5px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
}

.contact-info-list { margin-top: var(--space-6); }

.contact-info-item {
    display: flex;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--grad-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-deep);
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 14px var(--gold-glow);
    transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
    transform: rotate(8deg) scale(1.08);
    box-shadow: var(--shadow-gold);
}

.contact-info-item h6 {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
    color: var(--gold-dark);
}

.contact-info-item p, .contact-info-item a {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-info-item a:hover { color: var(--navy); }

/* ============================================================
   17. FORM CONTROLS
   ============================================================ */
.form-control,
.form-select {
    background: var(--surface-white);
    border: 1.5px solid var(--surface-border);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    padding: 0.68rem 1rem;
    font-size: 0.925rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.form-control:focus,
.form-select:focus {
    background: var(--surface-white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3.5px var(--gold-glow);
    color: var(--text-dark);
    outline: none;
}

.form-control::placeholder { color: var(--text-light); }

.form-label {
    color: var(--text-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.form-text { color: var(--text-light); font-size: var(--text-xs); }

/* Textarea */
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   18. CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--grad-navy);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

/* Diagonal pattern overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

/* Central radial glow */
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(201,162,39,0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* Gold bottom border line */
.cta-section .cta-gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
}

.cta-section h2 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section .lead {
    color: var(--text-white-soft);
    font-size: var(--text-lg);
    position: relative;
    z-index: 1;
}

.cta-section p { color: var(--text-white-muted); position: relative; z-index: 1; }
.cta-section .btn { position: relative; z-index: 1; }

/* Pulsing CTA gold button */
.btn-gold.btn-pulse { animation: pulse-ring 2.5s ease-in-out infinite; }

/* ============================================================
   19. ABOUT PAGE SPECIFICS
   ============================================================ */
.about-img-box {
    background: var(--surface-light);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(8,15,46,0.85));
    padding: var(--space-8);
}

.about-img-overlay h4 { color: var(--text-white); margin-bottom: var(--space-1); }
.about-img-overlay p { color: var(--gold-light); font-weight: 700; margin: 0; }

/* Mini stats */
.mini-stat {
    text-align: center;
    padding: var(--space-5) var(--space-4);
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--surface-border);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.mini-stat:hover {
    border-color: var(--gold-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.mini-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.mini-stat span:last-child {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    display: block;
    margin-top: var(--space-1);
}

/* ============================================================
   20. FLOW CARDS (Process Steps)
   ============================================================ */
.flow-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.flow-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
}

.flow-number {
    position: absolute;
    top: var(--space-3);
    right: var(--space-5);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--surface-border);
    line-height: 1;
    transition: var(--transition);
    pointer-events: none;
}

.flow-card:hover .flow-number { color: var(--gold-glow-soft); }

.flow-icon {
    width: 56px;
    height: 56px;
    background: var(--grad-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-deep);
    font-size: 1.3rem;
    margin: 0 auto var(--space-5);
    box-shadow: 0 4px 14px var(--gold-glow);
    transition: var(--transition);
}

.flow-card:hover .flow-icon {
    transform: scale(1.10) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.flow-card h5 {
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-dark);
}

.flow-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* ============================================================
   21. COUNTRY CARDS
   ============================================================ */
.country-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.country-card:hover {
    background: var(--surface-off);
    border-color: var(--gold-border);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.country-flag {
    font-size: 2.2rem;
    display: block;
    margin-bottom: var(--space-3);
    line-height: 1;
}

.country-card h6 {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.country-card small { color: var(--text-muted); font-size: 0.78rem; }

/* ============================================================
   22. VIDEO CARD
   ============================================================ */
.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--surface-border);
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--gold-border);
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-4px);
}

/* ============================================================
   23. CAPABILITY CARD
   ============================================================ */
.capability-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid var(--surface-border);
    height: 100%;
    box-shadow: var(--shadow-xs);
}

.capability-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.capability-card h6, .capability-card h5 {
    color: var(--text-dark);
    margin-top: var(--space-4);
    font-weight: 700;
}

.capability-card p { color: var(--text-muted); font-size: 0.875rem; }

.cap-icon {
    width: 64px;
    height: 64px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-deep);
    font-size: 1.4rem;
    margin: 0 auto;
    box-shadow: 0 4px 16px var(--gold-glow);
    transition: var(--transition);
}

.capability-card:hover .cap-icon {
    transform: rotate(8deg) scale(1.08);
    box-shadow: var(--shadow-gold);
}

/* Service list */
.service-list { list-style: none; padding: 0; }

.service-list li {
    padding: var(--space-2) 0;
    font-size: 0.925rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--surface-border-light);
    transition: var(--transition-fast);
}

.service-list li:last-child { border-bottom: none; }

.service-list li:hover {
    color: var(--navy);
    padding-left: var(--space-2);
}

.service-list li i { color: var(--gold); flex-shrink: 0; font-size: 0.8rem; }

/* ============================================================
   24. PAGINATION
   ============================================================ */
.pagination .page-link {
    background: var(--surface-white);
    color: var(--text-body);
    border-color: var(--surface-border);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm) !important;
}

.pagination .page-item.active .page-link {
    background: var(--grad-gold);
    border-color: transparent;
    color: var(--navy-deep);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.pagination .page-link:hover {
    background: var(--surface-off);
    border-color: var(--gold-border);
    color: var(--navy);
}

.pagination .page-item:not(.active) .page-link:hover { transform: translateY(-1px); }

/* ============================================================
   25. SITE FOOTER
   ============================================================ */
.site-footer {
    background: var(--grad-navy);
    color: var(--text-white-muted);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Diagonal pattern on footer */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
}

/* Top gold border line */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
}

.site-footer > .container { position: relative; z-index: 1; }

.footer-logo { margin-bottom: var(--space-5); }

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-4);
}

/* Gold underline accent */
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2.5px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-white-muted);
}

.footer-social { margin-top: var(--space-5); display: flex; gap: var(--space-2); flex-wrap: wrap; }

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.07);
    color: var(--text-white-muted);
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.10);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--gold-glow);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: var(--space-3); }

.footer-links a {
    color: var(--text-white-muted);
    font-size: 0.875rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0;
}

/* Arrow reveal on hover */
.footer-links a::before {
    content: '›';
    color: var(--gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition-fast);
    display: inline-block;
    margin-right: 0;
    font-size: 1rem;
    line-height: 1;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: var(--space-4);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
    margin-right: var(--space-2);
}

.footer-brands { columns: 2; column-gap: var(--space-4); }

.footer-contact { list-style: none; padding: 0; }

.footer-contact li {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--text-white-muted);
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.footer-contact a { color: var(--text-white-muted); }
.footer-contact a:hover { color: var(--gold-light); }

/* Footer newsletter */
.footer-newsletter {
    display: flex;
    gap: 0;
    margin-top: var(--space-4);
}

.footer-newsletter .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-white);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
}

.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.40); }

.footer-newsletter .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.footer-newsletter .btn-gold {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-5) 0;
    margin-top: var(--space-12);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.40);
    position: relative;
    z-index: 1;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-light); }

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ============================================================
   26. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
    z-index: var(--z-fixed);
    transition: var(--transition);
    animation: whatsapp-pulse 2.8s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    transform: scale(1.14);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* Tooltip label */
.whatsapp-float::before {
    content: 'Chat with us';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: var(--text-white);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover::before { opacity: 1; }

/* ============================================================
   27. TABLES
   ============================================================ */
.table {
    color: var(--text-body);
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(201,162,39,0.04);
    --bs-table-border-color: var(--surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table thead th {
    background: var(--navy);
    color: var(--text-white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-4) var(--space-5);
    border: none;
}

.table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }

.table td {
    border-color: var(--surface-border);
    vertical-align: middle;
    padding: var(--space-4) var(--space-5);
    color: var(--text-body);
    font-size: 0.9rem;
}

.table tbody tr:hover td { background: rgba(201,162,39,0.04); }

/* ============================================================
   28. ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius-lg);
    border: 1.5px solid;
    padding: var(--space-4) var(--space-5);
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.28);
    color: #15803d;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.28);
    color: #b91c1c;
}

.alert-warning {
    background: rgba(201, 162, 39, 0.08);
    border-color: var(--gold-border-soft);
    color: var(--gold-dark);
}

.alert-info {
    background: rgba(13, 27, 75, 0.06);
    border-color: rgba(13, 27, 75, 0.18);
    color: var(--navy-mid);
}

/* ============================================================
   29. BOOTSTRAP CARD OVERRIDE
   ============================================================ */
.card {
    background: var(--surface-card);
    border-color: var(--surface-border);
    color: var(--text-body);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.card-header {
    background: var(--surface-off);
    border-bottom-color: var(--surface-border);
    font-weight: 700;
    color: var(--text-dark);
}

.card-body { color: var(--text-body); }

/* ============================================================
   30. UTILITY CLASSES
   ============================================================ */

/* Colors */
.text-gold         { color: var(--gold) !important; }
.text-gold-dark    { color: var(--gold-dark) !important; }
.text-gold-light   { color: var(--gold-light) !important; }
.text-navy         { color: var(--navy) !important; }
.text-navy-mid     { color: var(--navy-mid) !important; }
.text-body-muted   { color: var(--text-muted) !important; }
.text-white-soft   { color: var(--text-white-soft) !important; }
.text-white-muted  { color: var(--text-white-muted) !important; }

.bg-gold           { background: var(--gold) !important; }
.bg-gold-gradient  { background: var(--grad-gold) !important; }
.bg-navy           { background: var(--navy) !important; }
.bg-navy-gradient  { background: var(--grad-navy) !important; }
.bg-surface        { background: var(--surface-off) !important; }

/* Borders */
.border-gold       { border-color: var(--gold-border) !important; }
.border-navy       { border-color: var(--navy) !important; }
.border-light      { border-color: var(--surface-border) !important; }

/* Font weight */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Shadows */
.shadow-gold   { box-shadow: var(--shadow-gold) !important; }
.shadow-navy   { box-shadow: var(--shadow-navy) !important; }

/* Radius */
.rounded-xl  { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }

/* Hover glow effect */
.hover-glow { transition: var(--transition); }
.hover-glow:hover { box-shadow: var(--shadow-gold); }

/* Hover lift effect */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Gold gradient text */
.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon spin on parent hover */
.icon-hover-spin i { transition: transform 0.4s var(--ease-out); }
.icon-hover-spin:hover i { transform: rotate(360deg); }

/* Divider horizontal line with gold */
.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    margin: var(--space-6) 0;
}

/* Gold dot list style */
.list-gold { list-style: none; padding: 0; }

.list-gold li {
    padding: var(--space-2) 0;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.925rem;
}

.list-gold li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--grad-gold);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

/* Spec table inside machine detail */
.spec-table th {
    width: 38%;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.6rem 0.9rem;
    background: var(--surface-off);
    border-color: var(--surface-border);
}

.spec-table td {
    font-size: 0.875rem;
    padding: 0.6rem 0.9rem;
    color: var(--text-body);
    border-color: var(--surface-border);
}

/* min-vh */
.min-vh-75 { min-height: 75vh; }
.min-vh-50 { min-height: 50vh; }

/* Section link card */
.section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--navy-mid);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    text-decoration: none;
    transition: var(--transition-fast);
}

.section-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-gold);
    transition: width 0.28s var(--ease-out);
}

.section-link:hover { color: var(--gold-dark); gap: var(--space-3); }
.section-link:hover::after { width: 100%; }
.section-link i { transition: transform 0.22s var(--ease-out); }
.section-link:hover i { transform: translateX(4px); }

/* Overlay for full-width images */
.img-overlay-navy {
    position: relative;
    overflow: hidden;
}

.img-overlay-navy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 20%,
        rgba(13,27,75,0.65) 100%
    );
    pointer-events: none;
}

/* ============================================================
   31. AOS ANIMATION COMPATIBILITY
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Custom AOS fade-up with navy theme */
[data-aos="fade-up-gold"] {
    opacity: 0;
    transform: translateY(24px);
    transition-property: opacity, transform;
}

[data-aos="fade-up-gold"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   32. RESPONSIVE — MOBILE FIRST BREAKPOINTS
   ============================================================ */

/* Tablet — max 991px */
@media (max-width: 991.98px) {

    .hero-section { padding: 5rem 0 4rem; min-height: auto; }
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { max-width: 100%; }
    .hero-stats { width: 100%; }
    .stat-item { padding: var(--space-3) var(--space-5); }
    .hero-image-wrapper { margin-top: var(--space-10); }

    .section-padding { padding: 4rem 0; }
    .section-title { font-size: 2rem; }

    /* Navbar collapses */
    #mainNav { background: var(--surface-white); }

    .navbar-nav .nav-link { padding: 0.65rem 0; }
    .navbar-nav .nav-link::after { display: none; }

    .mega-menu {
        position: static !important;
        box-shadow: none;
        padding: var(--space-3) var(--space-4);
        border-top: none;
        border-radius: var(--radius-md);
        border: 1px solid var(--surface-border);
        background: var(--surface-off);
        margin-top: var(--space-2);
    }

    .mega-menu .row > div { margin-bottom: var(--space-3); }

    .cta-section { padding: 4rem 0; }

    .contact-form-wrapper { padding: var(--space-6); }

    .footer-brands { columns: 1; }
}

/* Mobile — max 767px */
@media (max-width: 767.98px) {

    .hero-section { padding: 4.5rem 0 3.5rem; }
    .hero-title { font-size: 1.9rem; letter-spacing: -0.2px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.32rem 0.9rem; }

    .hero-stats {
        width: 100%;
        flex-wrap: wrap;
        padding: var(--space-4);
    }

    .stat-item { flex: 1; min-width: 80px; padding: var(--space-2) var(--space-3); }
    .stat-number { font-size: 1.7rem; }
    .stat-label { font-size: 0.65rem; }

    .stat-item + .stat-item::before { height: 50%; top: 25%; }

    .section-padding { padding: 3.5rem 0; }
    .section-title { font-size: 1.65rem; }
    .section-subtitle { font-size: 0.95rem; }

    .page-banner { padding: 3.5rem 0 2.5rem; }
    .page-banner h1 { font-size: 1.85rem; }
    .page-banner-sm { padding: 2.5rem 0 2rem; }

    .cta-section { padding: 3.5rem 0; }
    .cta-section h2 { font-size: 1.7rem; }

    .blog-card-img { height: 175px; }
    .machine-card-img { height: 195px; }
    .gallery-item img { height: 155px; }

    .contact-form-wrapper { padding: var(--space-5); }

    .footer-bottom-links { justify-content: flex-start; margin-top: var(--space-3); }

    .wave-divider svg { height: 36px; }

    .hero-stats { width: auto; }

    .hero-cta { flex-direction: column; gap: var(--space-3); }
    .hero-cta .btn-gold,
    .hero-cta .btn-outline-light { width: 100%; justify-content: center; }

    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 20px; right: 20px; }
    .whatsapp-float::before { display: none; }

    .about-img-box { height: 260px; }

    .mini-stat-num { font-size: 1.6rem; }
}

/* Small mobile — max 480px */
@media (max-width: 479.98px) {

    .hero-title { font-size: 1.65rem; }
    .section-title { font-size: 1.45rem; }

    .service-card, .machine-card, .blog-card, .flow-card { border-radius: var(--radius-md); }

    .stat-item { padding: var(--space-2); }
    .stat-number { font-size: 1.45rem; }

    .btn-gold, .btn-navy, .btn-outline-navy, .btn-outline-light {
        font-size: 0.875rem;
        padding: 0.65rem 1.4rem;
    }
}

/* ============================================================
   33. PRINT STYLESHEET
   ============================================================ */
@media print {
    .top-bar,
    #mainNav,
    .hero-particles,
    .wave-divider,
    .wave-divider-top,
    .whatsapp-float,
    .cta-section,
    .site-footer,
    .btn-gold,
    .btn-navy,
    .sidebar-widget {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
        line-height: 1.5;
    }

    h1, h2, h3, h4, h5, h6 { color: #000; }

    a { color: #000; text-decoration: underline; }

    .page-banner {
        background: #f0f0f0;
        padding: 1.5rem 0;
    }

    .page-banner h1 { color: #000; font-size: 1.8rem; }

    .machine-card, .blog-card, .service-card, .brand-card-inner {
        border: 1px solid #ccc;
        box-shadow: none;
        break-inside: avoid;
    }

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

/* ============================================================
   34. FORCED DARK MODE PREVENTION
       (keep light theme even if OS dark mode is on)
   ============================================================ */
@media (prefers-color-scheme: dark) {
    /* Override OS dark mode — site stays light */
    body {
        color: var(--text-body);
        background-color: var(--surface-white);
    }
}

/* ============================================================
   35. REDUCED MOTION ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.15ms !important;
    }

    .hero-machine-img { animation: none; }
    .particle { animation: none; opacity: 0.4; }
    .btn-gold::before { animation: none; }
    .whatsapp-float { animation: none; }
}

/* ============================================================
   36. PREMIUM ANIMATIONS — EXTENDED
   ============================================================ */

/* ── Hero entrance stagger ── */
@keyframes hero-fade-up {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-right {
    0%   { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes hero-scale-in {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-16px) rotate(1deg); }
    66%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes gold-line-grow {
    0%   { width: 0; }
    100% { width: 80px; }
}

@keyframes badge-pop {
    0%   { opacity: 0; transform: scale(0.7) translateY(10px); }
    70%  { transform: scale(1.05) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes ripple-out {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes slide-in-left {
    0%   { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
    0%   { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes number-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shine-sweep {
    0%   { left: -120%; }
    100% { left: 120%; }
}

@keyframes border-dance {
    0%,100% { border-color: rgba(201,162,39,0.20); }
    50%      { border-color: rgba(201,162,39,0.55); }
}

@keyframes ripple-click {
    0%   { transform: scale(0); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ── Hero content entrance animations ── */
.hero-badge {
    animation: badge-pop 0.7s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero-title {
    animation: hero-fade-up 0.9s 0.4s var(--ease-out) both;
}

.hero-subtitle {
    animation: hero-fade-up 0.9s 0.6s var(--ease-out) both;
}

.hero-cta {
    animation: hero-fade-up 0.9s 0.8s var(--ease-out) both;
}

.hero-stats {
    animation: hero-fade-up 0.9s 1.0s var(--ease-out) both;
}

.hero-image-wrapper {
    animation: hero-scale-in 1.1s 0.5s var(--ease-out) both;
}

.hero-machine-img {
    animation: hero-float 6s ease-in-out infinite 1.6s;
}

/* ── Section title gold underline ── */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
    border-radius: 2px;
    transition: width 0.8s var(--ease-out);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title.in-view::after,
.section-title.animated::after {
    width: 80px;
}

/* ── Brand card shine on hover ── */
.brand-card-inner {
    overflow: hidden;
}

.brand-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.18),
        transparent
    );
    transform: skewX(-20deg);
    transition: none;
}

.brand-card:hover .brand-card-inner::after {
    animation: shine-sweep 0.55s var(--ease-out) forwards;
}

/* ── Service icon ring pulse ── */
.service-icon {
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--gold);
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.4s var(--ease-spring);
}

.service-card:hover .service-icon::after {
    opacity: 0.5;
    transform: scale(1.1);
}

/* ── Machine card — animated gold bottom bar ── */
.machine-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.4s var(--ease-out);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 2;
}

.machine-card:hover::after { width: 100%; }

/* ── Blog card image zoom more smoothly ── */
.blog-card-img img {
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

/* ── CTA section animated background ── */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-diagonal);
    background-size: 28px 28px;
    animation: diagonal-slide 20s linear infinite;
    opacity: 0.6;
}

/* ── Page banner entrance ── */
.page-banner h1 {
    animation: hero-fade-up 0.7s 0.1s var(--ease-out) both;
}

.page-banner .breadcrumb {
    animation: hero-fade-up 0.7s 0.25s var(--ease-out) both;
}

/* ── Number stat pop when counter runs ── */
.stat-number {
    display: inline-block;
}

/* ── Contact icon ring on hover ── */
.contact-icon {
    transition: all 0.3s var(--ease-spring);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deep);
    box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}

/* ── Footer link hover slide ── */
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.25s var(--ease-out);
}

.footer-links a i {
    color: var(--gold);
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s var(--ease-out);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ── Pagination hover ── */
.page-link {
    transition: all 0.22s var(--ease-out);
}

.page-link:hover {
    transform: translateY(-2px);
}

/* ── Scroll-triggered gold line under section headers ── */
[data-aos="fade-up"] .section-title::after {
    transition-delay: 0.4s;
}

/* ── Gallery item caption ── */
.gallery-overlay {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(0px);
}

.gallery-item:hover .gallery-overlay {
    backdrop-filter: blur(4px);
}

/* ── WhatsApp button ring ripple ── */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: ripple-out 2s ease-out infinite;
}

/* ── Form input focus glow ── */
.form-control:focus,
.form-select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201,162,39,0.18), 0 0 0 3px rgba(201,162,39,0.12);
}

/* ── AOS custom variants ── */
[data-aos="zoom-in-up"] {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="zoom-in-up"].aos-animate {
    transform: scale(1) translateY(0);
    opacity: 1;
}

[data-aos="flip-left"] {
    transform: perspective(600px) rotateY(-20deg);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(600px) rotateY(0deg);
    opacity: 1;
}

/* ============================================================
   END OF MK PRINTECS PREMIUM DESIGN SYSTEM
   ============================================================ */
