/* ============================================================
   ANN Engineering — Premium Design System v2
   ============================================================ */

/* ==================== Design Tokens ==================== */
:root {
    /* Core Gold Palette */
    --gold: #d4af37;
    --gold-light: #e5c158;
    --gold-dark: #b89327;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --gold-subtle: rgba(212, 175, 55, 0.10);

    /* Accent */
    --accent-blue: #0284c7;

    /* Transitions & Shape */
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-xl: 24px;

    /* Light Theme */
    --bg-body: #f0f4f8;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-card-alt: #f1f5f9;
    --primary-dark: #0b1329;
    --primary: #111d3d;
    --primary-light: #1b2a52;
    --text-main: #1e293b;
    --text-heading: #0b1329;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --header-bg: rgba(11, 19, 41, 0.96);
    --topbar-bg: #070d1e;
    --form-bg: #f8fafc;
    --input-border: #cbd5e1;
    --section-alt-bg: #f1f5f9;

    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.13);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.17);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.30);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    --gradient-primary: linear-gradient(135deg, #0b1329 0%, #1b2a52 100%);
    --gradient-hero: linear-gradient(160deg, rgba(7, 13, 30, 0.88) 0%, rgba(11, 19, 41, 0.65) 45%, rgba(7, 13, 30, 0.90) 100%);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-body: #070d1e;
    --bg-white: #0f1936;
    --bg-card: #0f1936;
    --bg-card-alt: #162244;
    --primary-dark: #070d1e;
    --primary: #0f1936;
    --primary-light: #1c2b52;
    --text-main: #e2e8f0;
    --text-heading: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(7, 13, 30, 0.97);
    --topbar-bg: #040814;
    --form-bg: #142042;
    --input-border: rgba(255, 255, 255, 0.15);
    --section-alt-bg: #0b142d;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.10);
}

/* ==================== Base Reset ==================== */
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* LTR Flips */
html[dir="ltr"] .service-icon-floating {
    right: auto;
    left: 24px;
}

html[dir="ltr"] .footer-col h4::after {
    right: auto;
    left: 0;
}

/* RTL-aware project category title underline */
html[dir="rtl"] .project-category-title::after {
    right: 0;
    left: auto;
}

html[dir="ltr"] .footer-links a:hover {
    transform: translateX(4px);
}

html[dir="ltr"] .floating-actions {
    left: auto;
    right: 25px;
}

html[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 0;
}

/* ==================== Utilities ==================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll-reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 {
    transition-delay: 0.08s !important;
}

.stagger-2 {
    transition-delay: 0.16s !important;
}

.stagger-3 {
    transition-delay: 0.24s !important;
}

.stagger-4 {
    transition-delay: 0.32s !important;
}

.stagger-5 {
    transition-delay: 0.40s !important;
}

.stagger-6 {
    transition-delay: 0.48s !important;
}

/* ==================== Top Bar ==================== */
.top-bar {
    background-color: var(--topbar-bg);
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.top-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px;
    flex-wrap: nowrap !important;
}

.top-info-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.82rem;
    white-space: nowrap;
}

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

.top-info-item:hover {
    color: var(--gold-light);
}

.top-divider {
    display: inline-block;
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.14);
}

.work-hours-badge {
    background: rgba(212, 175, 55, 0.10);
    color: var(--gold-light);
    padding: 2px 10px;
    border-radius: 14px;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(212, 175, 55, 0.20);
    white-space: nowrap;
}

/* Top Bar Actions (RFQ, Theme, Lang - Side-by-Side in a single row) */
.top-actions-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.top-rfq-btn {
    background: var(--gradient-gold);
    color: #0b1329 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 28px;
    line-height: 28px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    box-sizing: border-box;
}

.top-rfq-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
    color: #000 !important;
}

.top-rfq-btn i {
    font-size: 0.82rem;
}

/* ==================== Top Bar Portal & Staff Buttons ==================== */
.top-portal-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 16px !important;
    height: 34px !important;
    line-height: 34px !important;
    border-radius: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.55), 0 0 0 1px rgba(37,99,235,0.3) !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    filter: none !important;
    letter-spacing: 0.01em !important;
}

.top-portal-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.7) !important;
}

.top-portal-btn i {
    color: #fde047 !important;
    font-size: 0.95rem !important;
    filter: drop-shadow(0 0 3px rgba(253,224,71,0.6)) !important;
}

.top-staff-btn {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    color: #0b1329 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 16px !important;
    height: 34px !important;
    line-height: 34px !important;
    border-radius: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.1) !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    filter: none !important;
    letter-spacing: 0.01em !important;
}

.top-staff-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
}

.top-staff-btn i {
    color: #1d4ed8 !important;
    font-size: 0.95rem !important;
}

.top-lang-btn {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(212, 175, 55, 0.12);
    padding: 0 11px;
    height: 28px;
    line-height: 26px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    white-space: nowrap;
    transition: var(--transition);
    box-sizing: border-box;
}

.top-lang-btn:hover {
    background: var(--gold);
    color: #0b1329;
    border-color: var(--gold);
}

.top-lang-btn i {
    font-size: 0.82rem;
}

/* Theme Toggle */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--gold-light);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.top-bar .theme-toggle-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    font-size: 0.80rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: rotate(20deg) scale(1.06);
}

/* ==================== Header & Nav ==================== */
header .container,
.top-bar .container {
    max-width: 100%;
    padding-left: 28px;
    padding-right: 28px;
}

header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

@media (min-width: 993px) {
    header .nav-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        gap: 20px;
    }

    header .nav-links {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    header .nav-links li {
        flex: 0 0 auto;
    }

    header .header-actions {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    header .nav-links {
        gap: 24px;
    }
}

@media (max-width: 1150px) and (min-width: 993px) {
    .d-none-lg {
        display: none !important;
    }

    header .nav-links {
        gap: 10px;
        font-size: 0.86rem;
    }

    header .nav-links a {
        padding: 4px 1px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {

    header .container,
    .top-bar .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 768px) {

    header .container,
    .top-bar .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 185px;
    object-fit: contain;
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(212, 175, 55, 0.22);
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-gold);
}

@media (max-width: 992px) {
    .logo-img {
        height: 46px;
        max-width: 155px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px;
        max-width: 130px;
        padding: 3px 8px;
    }
}

/* Nav Links (Desktop) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Animated underline */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Header Actions Group */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Nav RFQ Button (Pill) */
.nav-rfq-btn {
    background: var(--gradient-gold);
    color: #0b1329 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
    transition: var(--transition);
    white-space: nowrap;
    border: none;
}

.nav-rfq-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: #000 !important;
}

.nav-rfq-btn i {
    font-size: 0.92rem;
}

/* Nav lang switcher */
.nav-lang-btn {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 13px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-lang-btn:hover {
    background: var(--gold);
    color: #0b1329;
    border-color: var(--gold);
}

.nav-lang-btn i {
    color: var(--gold);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-lang-btn:hover i {
    color: #0b1329;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 1200;
    transition: var(--transition);
    padding: 0;
}

.hamburger:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold);
    box-shadow: 0 0 14px var(--gold-glow);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Responsive adjustments for header */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-rfq-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: 6px;
    }

    .nav-lang-btn span {
        display: none;
    }

    .nav-lang-btn {
        padding: 6px 10px;
    }

    .theme-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .hamburger {
        width: 38px;
        height: 38px;
    }

    .hamburger span {
        width: 20px;
    }
}

/* ==================== Mobile Navigation Drawer (Luxury Slide-in) ==================== */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 2100;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.38s ease;
}

.mobile-nav.open {
    pointer-events: auto;
    visibility: visible;
}

/* Backdrop */
.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 20, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open .mobile-nav-backdrop {
    opacity: 1;
}

/* Slide-in Panel */
.mobile-nav-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: linear-gradient(175deg, #0b142d 0%, #060a17 100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    transition: transform 0.38s cubic-bezier(0.32, 1, 0.23, 1);
    z-index: 2;
}

/* Direction-aware slide */
html[dir="rtl"] .mobile-nav-panel {
    right: 0;
    transform: translateX(105%);
    border-left: 1px solid rgba(212, 175, 55, 0.22);
}

html[dir="ltr"] .mobile-nav-panel {
    left: 0;
    transform: translateX(-105%);
    border-right: 1px solid rgba(212, 175, 55, 0.22);
}

.mobile-nav.open .mobile-nav-panel {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-nav-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.mobile-nav-logo {
    height: 38px;
    width: auto;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-nav-brand-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.brand-name {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-tagline {
    color: var(--gold);
    font-size: 0.70rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.30);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--gold);
    color: #0b1329;
    transform: rotate(90deg);
}

/* Drawer Body */
.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.96rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-nav-links a i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.10);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.90rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.22);
}

.mobile-nav-links a:hover i,
.mobile-nav-links a.active i {
    background: var(--gradient-gold);
    color: #0b1329;
}

/* Drawer Quick Actions */
.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-btn-rfq {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px;
    border-radius: 12px;
    background: var(--gradient-gold);
    color: #0b1329;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    transition: var(--transition);
}

.mobile-btn-rfq:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: #000;
}

.mobile-nav-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-wa-btn {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.30);
}

.mobile-wa-btn:hover {
    background: #25d366;
    color: #fff;
}

.mobile-phone-btn {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.30);
}

.mobile-phone-btn:hover {
    background: var(--gold);
    color: #0b1329;
}

/* Drawer Footer */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-switchers {
    display: flex;
    gap: 10px;
}

.mobile-theme-btn,
.mobile-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    height: auto;
    width: auto;
}

.mobile-theme-btn:hover,
.mobile-lang-btn:hover {
    background: var(--gold);
    color: #0b1329;
    border-color: var(--gold);
}

/* ==================== Mobile Bottom App Dock ==================== */
.mobile-bottom-dock {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: rgba(7, 13, 30, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(212, 175, 55, 0.28);
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.45);
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
    }

    .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.70rem;
        font-weight: 700;
        flex: 1;
        transition: var(--transition);
        text-align: center;
        padding: 4px 0;
    }

    .dock-item i {
        font-size: 1.15rem;
        transition: var(--transition);
    }

    .dock-item:hover,
    .dock-item.active {
        color: var(--gold);
    }

    .dock-item.dock-wa {
        color: #25d366;
    }

    .dock-item-highlight {
        position: relative;
        margin-top: -22px;
        z-index: 2;
    }

    .dock-highlight-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--gradient-gold);
        color: #0b1329;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
        border: 3px solid #070d1e;
        transition: var(--transition);
        animation: dockPulse 2.8s ease-in-out infinite;
    }

    @keyframes dockPulse {

        0%,
        100% {
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
        }

        50% {
            box-shadow: 0 8px 30px rgba(212, 175, 55, 0.75);
        }
    }

    .dock-highlight-btn:hover,
    .dock-highlight-btn:active {
        transform: scale(1.1);
    }

    .dock-item-highlight span {
        margin-top: 3px;
        color: var(--gold-light);
        font-weight: 800;
    }

    /* Adjust page padding for bottom dock */
    body {
        padding-bottom: 68px;
    }

    /* Hide floating actions on mobile since dock provides instant buttons */
    .floating-actions {
        display: none !important;
    }
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 0 110px;
    text-align: center;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Background photo with reveal animation */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        var(--gradient-hero),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    clip-path: circle(0% at 50% 42%);
    animation: heroReveal 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes heroReveal {
    to {
        clip-path: circle(130% at 50% 42%);
    }
}

/* Fades */
.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-fade-top {
    top: 0;
    height: 28%;
    background: linear-gradient(to bottom, var(--primary-dark), transparent);
}

.hero-fade-bottom {
    bottom: 0;
    height: 20%;
    background: linear-gradient(to top, var(--bg-body), transparent);
}

/* Light beams */
.hero-beams {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-beams span {
    position: absolute;
    top: 0;
    left: 0;
    height: 150%;
    transform-origin: top left;
    border-radius: 24px;
}

.hero-beams span:nth-child(1) {
    width: 560px;
    transform: rotate(-45deg) translate(-8%, -55%);
    background: radial-gradient(68% 68% at 55% 31%, hsla(210, 100%, 85%, 0.09) 0%, hsla(210, 100%, 55%, 0.03) 50%, transparent 80%);
}

.hero-beams span:nth-child(2) {
    width: 240px;
    transform: rotate(-45deg) translate(4%, -50%);
    background: radial-gradient(50% 50% at 50% 50%, hsla(210, 100%, 85%, 0.07) 0%, hsla(210, 100%, 55%, 0.02) 80%, transparent 100%);
}

.hero-beams span:nth-child(3) {
    width: 240px;
    transform: rotate(-45deg) translate(-180%, -70%);
    background: radial-gradient(50% 50% at 50% 50%, hsla(210, 100%, 85%, 0.05) 0%, hsla(210, 100%, 45%, 0.02) 80%, transparent 100%);
}

/* Particle canvas layer — z:4 puts it above hero-fades(z:2) and hero-beams(z:3) */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.9;
}

/* Hero content */
.hero-inner {
    position: relative;
    z-index: 5;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.38);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
    animation: heroTagSlide 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    background-image: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: heroTagSlide 0.9s ease 0.6s both, shimmer 3s linear 1.8s infinite;
}

@keyframes heroTagSlide {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.7rem);
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 22px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.80), 0 2px 8px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
    animation: heroH1 1s cubic-bezier(0.4, 0, 0.2, 1) 0.85s both;
}

@keyframes heroH1 {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

.hero p {
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    font-weight: 600;
    color: #e2e8f0;
    max-width: 860px;
    margin: 0 auto 44px;
    line-height: 1.95;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.70);
    animation: heroP 1s ease 1.05s both;
}

@keyframes heroP {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroActions 1s ease 1.25s both;
}

@keyframes heroActions {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.btn-hero-primary {
    background: var(--gradient-gold);
    color: #111111;
    font-size: 1.04rem;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.40);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero-primary:hover::after {
    transform: translateX(100%);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(212, 175, 55, 0.50);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.04rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.22);
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    animation: cuePulse 2.4s ease-in-out infinite;
    transition: var(--transition);
}

.hero-scroll-cue i {
    font-size: 0.9rem;
    animation: cueArrow 2.4s ease-in-out infinite;
}

.hero-scroll-cue:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@keyframes cuePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }
}

@keyframes cueArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-bg,
    .hero-tag,
    .hero h1,
    .hero p,
    .hero-actions {
        animation: none;
        clip-path: none;
        opacity: 1;
        transform: none;
    }

    .hero-scroll-cue {
        animation: none;
    }
}

/* ==================== Stats Section ==================== */
.stats-section {
    position: relative;
    margin-top: -55px;
    z-index: 10;
    padding-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    padding: 32px 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        var(--gradient-gold) border-box;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 80px;
    height: 200%;
    background: rgba(212, 175, 55, 0.06);
    transform: rotate(20deg);
    transition: left 0.55s ease, opacity 0.55s ease;
    opacity: 0;
}

.stat-card:hover::after {
    left: 130%;
    opacity: 1;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 18px;
    transition: var(--transition);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.07);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-gold);
    color: #0b1329;
    box-shadow: var(--shadow-gold), 0 0 0 8px rgba(212, 175, 55, 0.12);
    transform: scale(1.08) rotate(-4deg);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    font-weight: 600;
    margin: 0;
}

/* ==================== Section Headers ==================== */
.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    background: var(--gold-subtle);
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.20);
}

.section-badge::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header h2 span {
    color: var(--gold);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

/* ==================== About Section ==================== */
.about-boxes-grid {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-box {
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-box:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(212, 175, 55, 0.10);
    transform: translateY(-4px);
}

.about-box-title {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.about-box-title i {
    color: var(--gold);
    font-size: 1.1rem;
}

.about-box p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.85;
}

/* ==================== Services Cards ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.35);
}

.service-img-wrap {
    height: 195px;
    overflow: hidden;
    position: relative;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.55s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.10);
    filter: brightness(0.88);
}

/* Glass overlay on hover */
.service-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 41, 0.72) 0%, rgba(11, 19, 41, 0.05) 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-img-wrap::after {
    opacity: 1;
}

.service-icon-floating {
    position: absolute;
    bottom: -22px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--primary-dark);
    color: var(--gold);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(212, 175, 55, 0.35);
    border: 2px solid var(--gold);
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover .service-icon-floating {
    background: var(--gradient-gold);
    color: #0b1329;
    box-shadow: var(--shadow-gold), 0 0 0 3px rgba(212, 175, 55, 0.20);
    transform: scale(1.10) rotate(-5deg);
}

.service-content {
    padding: 36px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--gold);
    gap: 14px;
}

/* ==================== Projects Portfolio ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 175, 55, 0.25);
}

.project-thumbnail {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.10);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 13, 30, 0.97) 0%, rgba(7, 13, 30, 0.40) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: white;
}

.project-badge {
    background: var(--gradient-gold);
    color: #0b1329;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.project-details {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Project category */
.project-category-block {
    margin-bottom: 48px;
}

.project-category-block:last-child {
    margin-bottom: 0;
}

.project-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.project-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    inset-inline-end: 0;
    right: auto;
    left: auto;
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

html[dir="ltr"] .project-category-title::after {
    right: auto;
    left: 0;
}

.project-category-title i {
    color: var(--gold);
}

.project-category-count {
    background: var(--gradient-gold);
    color: #0b1329;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==================== Accreditations / Partners ==================== */
.accreditations-section {
    background: var(--section-alt-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.accreditations-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    pointer-events: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 18px;
    text-align: center;
}

.partner-box {
    background: var(--bg-card);
    padding: 22px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.partner-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.partner-box:hover::before {
    transform: scaleX(1);
}

.partner-box:hover {
    border-color: rgba(212, 175, 55, 0.40);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.partner-box i {
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
}

.partner-box:hover i {
    transform: scale(1.15) rotate(-6deg);
}

.partner-box span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-heading);
    line-height: 1.4;
}

/* ==================== Clients ==================== */
.clients-section {
    background: var(--bg-body);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.40);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.client-logo-wrap {
    height: 110px;
    padding: 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.client-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.client-logo-fallback {
    font-size: 2.4rem;
    color: var(--gold);
}

.client-name {
    padding: 14px 14px 8px;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-heading);
    text-align: center;
    min-height: 48px;
}

.client-actions {
    margin-top: auto;
    padding: 0 14px 16px;
    display: flex;
    justify-content: center;
}

.client-details-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.client-details-link:hover {
    gap: 10px;
    color: var(--gold);
}

/* ==================== Testimonials ==================== */
.testimonials-section {
    background: var(--section-alt-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.testimonial-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

html[dir="ltr"] .testimonial-card::before {
    transform-origin: left;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.25);
}

.testimonial-quote-icon {
    position: absolute;
    top: 16px;
    inset-inline-end: 18px;
    font-size: 2.4rem;
    color: rgba(212, 175, 55, 0.13);
    line-height: 1;
}

.testimonial-stars {
    color: #d97706;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.94rem;
    line-height: 1.95;
    color: var(--text-main);
    margin: 0;
    flex-grow: 1;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.testimonial-person img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.testimonial-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.testimonial-person strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-heading);
}

.testimonial-person small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Testimonial submit */
.tst-submit-wrap {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.tst-open-btn {
    background: var(--gradient-gold);
    color: #111;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
    position: relative;
    overflow: hidden;
}

.tst-open-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.tst-open-btn:hover::after {
    transform: translateX(100%);
}

.tst-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.tst-form-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 28px 30px;
    margin-top: 20px;
    text-align: right;
    box-shadow: var(--shadow-md);
    animation: fadePanel 0.3s ease forwards;
}

@keyframes fadePanel {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.tst-form-panel.open {
    display: block;
}

.tst-form-panel h3 {
    color: var(--text-heading);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.tst-form-panel h3 i {
    color: var(--gold);
}

.tst-form-panel>form p,
.tst-form-panel p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.tst-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 18px;
}

.tst-form-grid .full {
    grid-column: span 2;
}

.tst-form-grid label {
    display: block;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.tst-form-grid .req {
    color: #dc2626;
}

.tst-form-grid input[type="text"],
.tst-form-grid textarea {
    width: 100%;
    background: var(--form-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    resize: vertical;
    transition: var(--transition);
}

.tst-form-grid input:focus,
.tst-form-grid textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 0 !important;
    transition: color .15s ease, transform .15s ease;
}

.star-rating label:hover {
    transform: scale(1.18);
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #d97706;
}

.tst-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.93rem;
    margin-bottom: 16px;
}

.tst-feedback.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.tst-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ==================== Contact & RFQ ==================== */
.contact-section {
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.04) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
    position: relative;
    z-index: 1;
}

.contact-info-panel {
    background: var(--gradient-primary);
    color: white;
    padding: 42px 34px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
}

/* Decorative glow blobs */
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    inset-inline-end: -60px;
    right: auto;
    left: auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    inset-inline-start: -40px;
    right: auto;
    left: auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-panel h3 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.contact-info-panel p.lead {
    color: #cbd5e1;
    font-size: 0.94rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.info-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: var(--transition);
}

.info-card-item:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateX(-4px);
}

html[dir="ltr"] .info-card-item:hover {
    transform: translateX(4px);
}

/* RTL-aware translate for mobile timeline content */
html[dir="rtl"] .timeline-content {
    transform: translateX(40px);
}

html[dir="rtl"] .timeline-content.reveal-done {
    transform: translateX(0);
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
    transform: translateX(-40px);
}

html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content.reveal-done {
    transform: translateX(0);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-gold);
    color: #0b1329;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-card-text h4 {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.info-card-text a,
.info-card-text p {
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.91rem;
    line-height: 1.6;
    margin: 0;
}

.info-card-text a:hover {
    color: var(--gold-light);
}

.direct-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn-action-call {
    background: var(--gradient-gold);
    color: #0b1329;
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.30);
}

.btn-action-call:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-action-whatsapp {
    background: #25d366;
    color: white;
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-action-whatsapp:hover {
    background: #1fbd5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.30);
}

/* RFQ Form */
.rfq-form-panel {
    background: var(--bg-card);
    padding: 42px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.rfq-form-panel h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.rfq-form-panel p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-group label i {
    color: var(--gold);
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--input-border);
    background: var(--form-bg);
    color: var(--text-heading);
    font-size: 0.94rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--gold);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.form-control:hover:not(:focus) {
    border-color: rgba(212, 175, 55, 0.40);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

select.form-control {
    cursor: pointer;
}

/* Custom File Upload Box for Engineering Drawings & Site Photos */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 5;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px dashed rgba(212, 175, 55, 0.45);
    background: var(--form-bg);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-label,
.file-upload-input:focus+.file-upload-label {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.file-upload-icon {
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

.file-upload-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-upload-browse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-browse {
    background: var(--gold);
    color: var(--primary-dark);
}

.file-upload-wrapper.dragover .file-upload-label {
    border-color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.12) !important;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.25) !important;
    transform: scale(1.01);
}

.file-preview-card {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-top: 8px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.3s ease;
}

.file-preview-card.active {
    display: flex;
}

.file-preview-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.file-preview-icon {
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
}

.file-preview-details {
    min-width: 0;
}

.file-preview-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-preview-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-preview-remove {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.file-preview-remove:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

/* Upload Progress Bar */
.upload-progress-container {
    display: none;
    margin-top: 14px;
    animation: fadeIn 0.3s ease;
}

.upload-progress-container.active {
    display: block;
}

.upload-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: var(--gold);
    font-weight: 600;
}

.upload-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.upload-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
    background-size: 200% 100%;
    border-radius: 99px;
    transition: width 0.2s ease;
    animation: shimmerBar 1.5s linear infinite;
}

@keyframes shimmerBar {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Modern RFQ Alert */
.rfq-alert {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: slideDown 0.35s ease;
}

.rfq-alert.active {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rfq-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.rfq-alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.rfq-alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.rfq-alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rfq-alert-content {
    flex: 1;
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--gold);
    border: 2px solid rgba(212, 175, 55, 0.40);
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.btn-submit:hover::after {
    transform: translateX(100%);
}

.btn-submit:hover {
    background: var(--gradient-gold);
    color: #0b1329;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ==================== Footer ==================== */
footer {
    background: var(--topbar-bg);
    color: #94a3b8;
    padding: 72px 0 28px;
    border-top: 2px solid transparent;
    background-image: linear-gradient(var(--topbar-bg), var(--topbar-bg)),
        radial-gradient(circle at top, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-image: var(--gradient-gold) 1;
    position: relative;
    overflow: hidden;
}

/* Dot grid pattern */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Gold glow top edge */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.08), transparent);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 38px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.91rem;
    line-height: 1.85;
    color: #cbd5e1;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-gold);
    color: #0b1329;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.91rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(-4px);
}

html[dir="ltr"] .footer-links a:hover {
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.89rem;
    color: #cbd5e1;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.86rem;
    position: relative;
    z-index: 1;
}

/* ==================== Floating CTA ==================== */
.floating-actions {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    transition: var(--transition);
    position: relative;
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.14);
}

.floating-whatsapp {
    background: #25d366;
}

.floating-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.50);
}

.floating-whatsapp::before {
    border-color: rgba(37, 211, 102, 0.40);
}

.floating-call {
    background: var(--gradient-gold);
    color: #0b1329;
}

.floating-call:hover {
    box-shadow: var(--shadow-gold);
}

.floating-call::before {
    border-color: rgba(212, 175, 55, 0.40);
}

/* Pulse animation on whatsapp */
.floating-whatsapp {
    animation: floatPulse 3s ease-in-out infinite;
}

@keyframes floatPulse {

    0%,
    100% {
        box-shadow: 0 8px 22px rgba(37, 211, 102, 0.30);
    }

    50% {
        box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
    }
}

/* ==================== Homepage Overlay Header ==================== */
body.home .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1101;
    background: rgba(7, 13, 30, 0.30);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: background-color 0.35s ease;
}

body.home header {
    position: fixed;
    top: 41px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(7, 13, 30, 0.70), rgba(7, 13, 30, 0.28) 68%, rgba(7, 13, 30, 0));
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.home.scrolled .top-bar {
    background: var(--topbar-bg);
}

body.home.scrolled header {
    background: var(--header-bg);
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(212, 175, 55, 0.18);
}

body.home section[id] {
    scroll-margin-top: 96px;
}

/* Mobile: header sits at top since top-bar is hidden */
@media (max-width: 768px) {
    body.home header {
        top: 0 !important;
    }

    body.home section[id] {
        scroll-margin-top: 68px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    body.home header {
        top: 33px !important;
    }

    body.home section[id] {
        scroll-margin-top: 80px;
    }
}

body.home .feedback-banner {
    position: relative;
    z-index: 600;
}

/* ==================== Responsive ==================== */

/* ── Tablet & Below (≤992px) ── */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Compact top bar for tablet */
    .top-bar {
        padding: 4px 0;
        font-size: 0.75rem;
    }

    .top-bar-inner {
        justify-content: center !important;
    }

    .top-info-list {
        justify-content: center;
    }

    .work-hours-badge {
        display: none !important;
    }

    .top-divider.d-none-lg {
        display: none !important;
    }

    header {
        top: 33px !important;
    }

    .hero {
        padding-top: 140px;
    }

    .stats-section {
        margin-top: -40px;
    }

    .about-boxes-grid {
        padding: 28px;
        gap: 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .calculator-section .calc-container {
        grid-template-columns: 1fr;
    }

    .marquee-item {
        padding: 10px 18px;
    }

    .marquee-item span {
        font-size: 0.8rem;
    }

    .timeline-section {
        padding: 68px 0;
    }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

    /* Hide top bar completely — replaced by compact mobile header */
    .top-bar {
        display: none !important;
    }

    header {
        top: 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .top-info-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 12px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .section-header p {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .tst-form-grid {
        grid-template-columns: 1fr;
    }

    .tst-form-grid .full {
        grid-column: span 1;
    }

    /* ── Hero Mobile ── */
    .hero {
        padding: 110px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.92rem;
        margin-bottom: 28px;
        line-height: 1.8;
    }

    .hero-tag {
        font-size: 0.78rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .hero-typed-wrapper {
        font-size: 1rem;
        flex-direction: column;
        gap: 4px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 13px 24px;
        font-size: 0.95rem;
    }

    .hero-floating-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-pill-badge {
        font-size: 0.78rem;
        padding: 8px 16px;
    }

    .hero-scroll-cue {
        bottom: 16px;
    }

    /* ── Stats Mobile ── */
    .stats-section {
        margin-top: -30px;
        padding-bottom: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 22px 16px 18px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .stat-card p {
        font-size: 0.82rem;
    }

    /* ── About Mobile ── */
    .about-boxes-grid {
        padding: 20px;
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .about-box {
        padding: 16px;
    }

    .about-box-title {
        font-size: 1.05rem;
    }

    .about-box p {
        font-size: 0.88rem;
    }

    /* ── Service Cards Mobile ── */
    .service-img-wrap {
        height: 170px;
    }

    .service-content {
        padding: 28px 18px 20px;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.88rem;
    }

    /* ── Project Cards Mobile ── */
    .project-thumbnail {
        height: 200px;
    }

    .project-overlay {
        padding: 16px;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-details {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    /* ── Calculator Mobile ── */
    .calc-container {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 24px;
    }

    .calc-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .calc-option-btn {
        padding: 12px 10px;
        font-size: 0.8rem;
    }

    .calc-option-btn i {
        font-size: 1.1rem;
    }

    .calc-result-card {
        padding: 22px 18px;
    }

    .calc-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .calc-breakdown-item {
        font-size: 0.82rem;
    }

    .calc-range-value {
        font-size: 1.1rem;
    }

    /* ── Contact Mobile ── */
    .contact-info-panel {
        padding: 28px 20px;
    }

    .contact-info-panel h3 {
        font-size: 1.35rem;
    }

    .contact-info-panel p.lead {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }

    .contact-cards-stack {
        gap: 12px;
        margin-bottom: 22px;
    }

    .info-card-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .info-card-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .info-card-text h4 {
        font-size: 0.85rem;
    }

    .info-card-text a,
    .info-card-text p {
        font-size: 0.85rem;
    }

    .direct-actions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-action-call,
    .btn-action-whatsapp {
        padding: 12px;
        font-size: 0.9rem;
    }

    .rfq-form-panel {
        padding: 24px 18px;
    }

    .rfq-form-panel h3 {
        font-size: 1.3rem;
    }

    .rfq-form-panel p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.82rem;
    }

    .form-control {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    textarea.form-control {
        min-height: 90px;
    }

    .btn-submit {
        padding: 13px 20px;
        font-size: 0.92rem;
    }

    .maps-embed-wrap {
        margin-top: 22px;
    }

    .maps-header-bar {
        padding: 8px 12px;
    }

    .maps-badge strong {
        font-size: 0.78rem;
    }

    .maps-actions-row {
        padding: 8px 12px;
        gap: 6px;
    }

    .maps-open-link,
    .maps-copy-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    /* ── Footer Mobile ── */
    footer {
        padding: 48px 0 24px;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .footer-about p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* ── Testimonials Mobile ── */
    .testimonial-card {
        padding: 22px 18px 18px;
    }

    .testimonial-text {
        font-size: 0.88rem;
    }

    /* ── WhatsApp Widget Mobile ── */
    .wa-chat-widget {
        bottom: 80px;
        left: 16px;
    }

    .wa-chat-panel {
        width: calc(100vw - 32px);
        max-width: 310px;
    }

    /* ── Marquee Mobile ── */
    .marquee-section {
        padding: 36px 0;
    }

    .marquee-header {
        margin-bottom: 20px;
    }

    .marquee-item {
        padding: 10px 16px;
        gap: 8px;
    }

    .marquee-item i {
        font-size: 1rem;
    }

    .marquee-item span {
        font-size: 0.78rem;
    }

    /* ── Timeline Mobile ── */
    .timeline-section {
        padding: 56px 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.82rem;
    }

    /* ── BA Slider Mobile ── */
    .ba-section {
        padding: 48px 0;
    }

    /* ── Maps Mobile ── */
    .maps-embed-wrap iframe {
        height: 180px;
    }

    /* ── Lightbox Mobile ── */
    .lightbox-inner {
        max-height: 85vh;
    }

    .lightbox-img-wrap {
        max-height: 60vh;
    }

    .lightbox-img-wrap img {
        max-height: 60vh;
    }

    .lightbox-caption h4 {
        font-size: 0.95rem;
    }

    /* ── Scroll-top button ── */
    .scroll-top-btn {
        bottom: 80px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* ── Custom cursor off on mobile ── */
    .custom-cursor-dot,
    .custom-cursor-ring {
        display: none !important;
    }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {

    .hero {
        padding: 90px 0 60px;
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-tag {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .hero-typed-wrapper {
        font-size: 0.88rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .hero-pill-badge {
        font-size: 0.72rem;
        padding: 7px 14px;
        gap: 6px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 18px 12px 14px;
        border-radius: 10px;
    }

    .stat-card h3 {
        font-size: 1.3rem;
    }

    .stat-card p {
        font-size: 0.75rem;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .section {
        padding: 44px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header p {
        font-size: 0.82rem;
    }

    .section-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .client-logo-wrap {
        height: 90px;
        padding: 12px;
    }

    .client-name {
        font-size: 0.8rem;
        padding: 10px 10px 6px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .partner-box {
        padding: 16px 10px;
    }

    .partner-box i {
        font-size: 1.5rem;
    }

    .partner-box span {
        font-size: 0.75rem;
    }

    .contact-info-panel {
        padding: 22px 16px;
    }

    .rfq-form-panel {
        padding: 20px 14px;
    }

    .footer-col h4 {
        font-size: 0.92rem;
    }

    .footer-links a {
        font-size: 0.82rem;
    }

    .footer-contact-item {
        font-size: 0.82rem;
    }

    .footer-links a:hover {
        transform: none;
    }

    .contact-info-panel {
        padding: 22px 16px;
    }

    .contact-info-panel h3 {
        font-size: 1.2rem;
    }

    .rfq-form-panel {
        padding: 20px 14px;
    }

    .info-card-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-card-icon {
        width: 34px;
        height: 34px;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .info-card-text h4 {
        font-size: 0.8rem;
    }

    .info-card-text a,
    .info-card-text p {
        font-size: 0.8rem;
    }

    .direct-actions-grid {
        gap: 8px;
    }

    .btn-action-call,
    .btn-action-whatsapp {
        padding: 11px;
        font-size: 0.85rem;
    }

    .calc-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .calc-option-btn {
        padding: 10px 8px;
        font-size: 0.75rem;
    }

    .calc-option-btn i {
        font-size: 1rem;
    }

    .calc-group-title {
        font-size: 0.85rem;
    }

    .tst-open-btn {
        font-size: 0.9rem;
        padding: 11px 24px;
    }

    .tst-form-panel {
        padding: 20px 16px;
    }

    .mobile-nav-panel {
        width: min(300px, 88vw);
    }

    .maps-embed-wrap iframe {
        height: 160px;
    }
}

/* ==================== Detail Pages ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb i.sep {
    opacity: 0.5;
    font-size: 0.7rem;
}

.service-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 34px;
}

.service-hero-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.service-hero-body {
    padding: 34px 36px 38px;
    position: relative;
}

.service-hero-body .service-icon-floating {
    top: -26px;
    bottom: auto;
}

.service-hero-body h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--text-heading);
    margin: 14px 0 12px;
    line-height: 1.4;
}

.service-hero-lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 860px;
}

.rich-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    line-height: 2;
    color: var(--text-main);
    font-size: 1rem;
    overflow-wrap: break-word;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 18px 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    color: var(--primary-dark) !important;
    margin: 22px 0 10px;
    font-weight: 800;
}

.rich-content p {
    margin-bottom: 14px;
}

.rich-content ul,
.rich-content ol {
    padding-inline-start: 28px;
    margin-bottom: 14px;
}

.rich-content li {
    margin-bottom: 8px;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.rich-content td,
.rich-content th {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
}

.details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 992px) {
    .details-layout {
        grid-template-columns: 1fr;
    }
}

.side-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.side-panel-title {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-panel-title i {
    color: var(--gold);
}

.other-service-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.92rem;
    font-weight: 600;
}

.other-service-item:last-of-type {
    border-bottom: none;
}

.other-service-item i.ico {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--gold-subtle);
    color: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.other-service-item:hover {
    background: var(--bg-card-alt);
    color: var(--gold);
    padding-inline-start: 26px;
}

.other-service-item:hover i.ico {
    background: var(--gradient-gold);
    color: #0b1329;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-gold-main,
.btn-outline-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-gold-main {
    background: var(--gradient-gold);
    color: #0b1329;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
}

.btn-gold-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-main {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline-main:hover {
    background: var(--gold);
    color: #fff;
}

.notfound-box {
    text-align: center;
    padding: 70px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.notfound-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 18px;
    display: block;
}

/* Client detail */
.client-contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.contact-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.contact-chip:hover {
    border-color: rgba(212, 175, 55, 0.30);
    box-shadow: var(--shadow-sm);
}

.contact-chip>i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gold-subtle);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-chip small {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 2px;
}

.contact-chip a {
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    word-break: break-all;
}

.contact-chip a:hover {
    color: var(--gold-dark);
}

/* Project meta */
.project-meta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

/* Feedback banner */
.feedback-banner {
    margin-top: 20px;
}

.feedback-banner>div {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================================
   ANN Engineering — Dynamic Motion & Interactive Aesthetics
   ============================================================ */

/* Top Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--accent-blue));
    z-index: 100001;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Live Beacon Indicator */
.live-beacon {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-inline-end: 4px;
}

.live-beacon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: beacon-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

/* Hero Typed Text Subtitle */
.hero-typed-wrapper {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-typed-wrapper .typed-prefix {
    color: rgba(255, 255, 255, 0.75);
}

.hero-typed-wrapper .typed-text {
    color: var(--gold-light);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.hero-typed-wrapper .cursor-blink {
    color: var(--gold);
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Floating Badges */
.hero-floating-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-pill-badge {
    padding: 10px 22px;
    background: rgba(11, 19, 41, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-pill-badge:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: var(--gold);
    background: rgba(11, 19, 41, 0.9);
    box-shadow: 0 12px 30px var(--gold-glow);
}

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

/* 3D Perspective Card Tilt Hover */
.service-card,
.about-box,
.stat-card,
.feature-card,
.project-card,
.testimonial-card,
.client-logo-card,
.partner-logo-card {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
}

.service-card:hover,
.about-box:hover,
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(11, 19, 41, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .about-box:hover,
[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Shimmer Light Reflection on Buttons */
.btn-hero-primary,
.btn-hero-secondary,
.btn-gold-main,
.top-rfq-btn {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after,
.btn-hero-secondary::after,
.btn-gold-main::after,
.top-rfq-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.6s ease;
}

.btn-hero-primary:hover::after,
.btn-hero-secondary:hover::after,
.btn-gold-main:hover::after,
.top-rfq-btn:hover::after {
    left: 100%;
}

/* Floating WhatsApp Pulse Radar Effect */
.floating-whatsapp {
    position: relative;
}

.floating-whatsapp::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: beacon-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 155px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--gold);
    color: #0b1329;
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 120px;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ============================================================
   1. PAGE LOADER — Engineering Blueprint Splash Screen
   ============================================================ */
#pageLoader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #070d1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#pageLoader.loaded {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.loader-logo {
    width: 200px;
    height: 75px;
    border-radius: 14px;
    background: #ffffff;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.07), 0 0 40px rgba(212, 175, 55, 0.2);
    animation: loaderLogoPulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes loaderLogoPulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.07), 0 0 40px rgba(212, 175, 55, 0.15); }
    50%       { box-shadow: 0 0 0 16px rgba(212, 175, 55, 0.03), 0 0 60px rgba(212, 175, 55, 0.25); }
}

.loader-name {
    text-align: center;
}

.loader-name strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.loader-name span {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.loader-bar-track {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-gold);
    border-radius: 99px;
    animation: loaderFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes loaderFill {
    0%   { width: 0%; }
    60%  { width: 75%; }
    85%  { width: 92%; }
    100% { width: 100%; }
}

.loader-blueprint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.04;
}

.loader-blueprint::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.8) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ============================================================
   2. PROJECT LIGHTBOX — Full-Screen Image Viewer
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 50000;
    background: rgba(4, 8, 20, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.lightbox-img-wrap {
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.lightbox-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 70vh;
    display: block;
    transition: transform 0.3s ease;
}

.lightbox-caption {
    text-align: center;
}

.lightbox-caption h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.lightbox-caption p {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 19, 41, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

@media (max-width: 768px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: -48px; right: 0; }
}

.lightbox-counter {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Project card lightbox trigger cursor */
.project-card.lightbox-trigger {
    cursor: zoom-in;
}

/* Zoom icon on project card hover */
.project-thumbnail .lightbox-zoom-hint {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(11, 19, 41, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition);
    z-index: 5;
}

.project-card:hover .lightbox-zoom-hint {
    opacity: 1;
    transform: scale(1);
}

/* ============================================================
   3. GOOGLE MAPS — Contact Section Map
   ============================================================ */
.maps-embed-wrap {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.maps-embed-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.25);
    pointer-events: none;
    z-index: 2;
}

.maps-embed-wrap iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: none;
    filter: saturate(0.85) contrast(1.05);
    transition: filter 0.3s ease;
}

.maps-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.82rem;
}

.maps-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.maps-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: livePulse 2s infinite;
}

.maps-coords {
    font-family: monospace;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.maps-actions-row {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

[data-theme="dark"] .maps-embed-wrap iframe {
    filter: invert(0.92) hue-rotate(175deg) saturate(0.6) contrast(0.85);
}

.maps-embed-wrap:hover iframe {
    filter: saturate(1.1) contrast(1.05);
}

[data-theme="dark"] .maps-embed-wrap:hover iframe {
    filter: invert(0.90) hue-rotate(175deg) saturate(0.75) contrast(0.9);
}

.maps-open-link,
.maps-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gold-subtle);
    color: var(--gold-dark);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.maps-open-link:hover,
.maps-copy-btn:hover {
    background: var(--gradient-gold);
    color: #0b1329;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ============================================================
   4. WHATSAPP CHAT WIDGET — Floating Chat Bubble
   ============================================================ */
.wa-chat-widget {
    position: fixed;
    bottom: 100px;
    left: 28px;
    z-index: 9000;
}

.wa-chat-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    animation: waBubbleWiggle 4s ease-in-out infinite;
}

@keyframes waBubbleWiggle {
    0%, 90%, 100% { transform: rotate(0deg); }
    92%           { transform: rotate(-12deg); }
    96%           { transform: rotate(10deg); }
    98%           { transform: rotate(-6deg); }
}

.wa-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    animation: none;
}

.wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e11d48;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #070d1e;
    animation: waBadgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes waBadgePop {
    0%   { transform: scale(0); }
    100% { transform: scale(1); }
}

.wa-chat-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 310px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-panel-header {
    background: #075E54;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-panel-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.wa-panel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-panel-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.wa-panel-info small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    margin-top: 2px;
}

.wa-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    display: inline-block;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.wa-panel-body {
    padding: 18px;
    background: #e5ddd5;
    min-height: 100px;
}

[data-theme="dark"] .wa-panel-body {
    background: #1a1a2e;
}

.wa-message-bubble {
    background: #fff;
    padding: 12px 14px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    font-size: 0.87rem;
    color: #111;
    line-height: 1.6;
    position: relative;
    max-width: 90%;
}

[data-theme="dark"] .wa-message-bubble {
    background: #2a2a3e;
    color: #e2e8f0;
}

.wa-message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 100%;
    right: auto;
    left: auto;
    border: 8px solid transparent;
    border-right-color: #fff;
    border-top-color: #fff;
}

html[dir="ltr"] .wa-message-bubble::before {
    border-right-color: transparent;
    border-left-color: #fff;
}

[data-theme="dark"] .wa-message-bubble::before {
    border-right-color: #2a2a3e;
    border-top-color: #2a2a3e;
}

.wa-message-time {
    text-align: left;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 5px;
}

html[dir="rtl"] .wa-message-time { text-align: right; }

.wa-panel-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border-color);
}

.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
}

.wa-start-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

@media (max-width: 768px) {
    .wa-chat-widget {
        bottom: 90px;
        left: 18px;
    }
    .wa-chat-panel {
        width: 280px;
    }
}

/* ============================================================
   5. INFINITE LOGO MARQUEE TRACK
   ============================================================ */
.marquee-section {
    padding: 52px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-card), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-card), transparent);
}

.marquee-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 3;
}

.marquee-header .section-badge {
    margin-bottom: 0;
}

.marquee-track-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track.reverse {
    animation: marqueeScrollReverse 35s linear infinite;
}

.marquee-track:hover,
.marquee-track.reverse:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

html[dir="rtl"] .marquee-track {
    animation: marqueeScrollRTL 30s linear infinite;
}

html[dir="rtl"] .marquee-track.reverse {
    animation: marqueeScrollRTLReverse 35s linear infinite;
}

@keyframes marqueeScrollRTL {
    0%   { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@keyframes marqueeScrollRTLReverse {
    0%   { transform: translateX(50%); }
    100% { transform: translateX(0); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 99px;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-main);
    cursor: default;
    flex-shrink: 0;
}

.marquee-item.clickable {
    cursor: pointer;
}

.marquee-item:hover {
    border-color: var(--gold);
    background: var(--gold-subtle);
    color: var(--gold-dark);
    transform: scale(1.04);
    box-shadow: var(--shadow-gold);
}

.marquee-item img {
    height: 32px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0);
}

.marquee-item i {
    font-size: 1.2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.marquee-item span {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ============================================================
   6. COMPANY TIMELINE
   ============================================================ */
.timeline-section {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212,175,55,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.timeline-wrap {
    position: relative;
    padding: 40px 0;
    margin-top: 48px;
}

/* Central vertical line */
.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--gold) 15%,
        var(--gold) 85%,
        transparent 100%);
    opacity: 0.35;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 56px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Even items — right side */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 48px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 32px;
    position: relative;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-40px);
}

.timeline-content.reveal-done {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    transform: translateX(40px);
}

.timeline-item:nth-child(even) .timeline-content.reveal-done {
    transform: translateX(0);
}

.timeline-content:hover {
    border-color: rgba(212,175,55,0.4);
    box-shadow: var(--shadow-gold);
}

/* Arrow connector */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -10px;
    border: 10px solid transparent;
    border-left-color: var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: -10px;
    border-left-color: transparent;
    border-right-color: var(--border-color);
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(212,175,55,0.25);
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

.timeline-content .timeline-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 6px 14px;
    background: var(--bg-section);
    border-radius: 99px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.timeline-content .timeline-icon-pill i {
    color: var(--gold);
}

/* Central dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold);
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(212,175,55,0.08);
    transition: var(--transition);
    flex-shrink: 0;
}

.timeline-item:hover .timeline-dot {
    background: var(--gradient-gold);
    color: #0b1329;
    box-shadow: var(--shadow-gold);
}

/* Spacer on the other side */
.timeline-spacer {
    width: calc(50% - 48px);
}

/* Mobile timeline */
@media (max-width: 768px) {
    /* Force timeline visible on mobile — don't depend on JS reveal */
    .timeline-section .section-header,
    .timeline-section .section-header.reveal,
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        opacity: 1 !important;
        transform: none !important;
    }

    .timeline-wrap {
        padding: 20px 0;
        margin-top: 20px;
    }

    .timeline-wrap::before {
        inset-inline-start: 20px;
        left: auto;
        right: auto;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
        gap: 0;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline-start: 50px !important;
        margin-inline-end: 0 !important;
        padding: 22px 20px;
    }

    .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        display: none;
    }

    .timeline-dot {
        inset-inline-start: 20px;
        left: auto;
        right: auto;
        top: 0;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .timeline-spacer {
        display: none;
    }

    .timeline-item {
        margin-bottom: 36px;
    }

    .timeline-content h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .timeline-year {
        font-size: 0.72rem;
        padding: 3px 10px;
        margin-bottom: 10px;
    }

    .timeline-content .timeline-icon-pill {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-top: 10px;
    }
}

/* ============================================================
   CONTACT SECTION — Automatic Screen Containment (Mobile)
   ============================================================ */
@media (max-width: 992px) {
    /* Disable reveal transforms inside contact so nothing overflows */
    body.home .contact-section,
    body.home .contact-section.reveal,
    body.home .contact-section .reveal,
    body.home .contact-info-panel,
    body.home .contact-info-panel.reveal-left,
    body.home .rfq-form-panel,
    body.home .rfq-form-panel.reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Clamp the whole contact wrapper + its container to the viewport */
    body.home .contact-section,
    body.home .contact-section .container {
        max-width: 100%;
        overflow-x: clip;
    }

    .contact-layout {
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-layout > *,
    .contact-info-panel,
    .rfq-form-panel {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .contact-section {
        min-width: 0;
        max-width: 100%;
    }

    .contact-layout {
        min-width: 0;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-layout > *,
    .contact-info-panel,
    .rfq-form-panel {
        min-width: 0;
    }

    /* Panels: avoid horizontal overflow */
    .contact-info-panel,
    .rfq-form-panel {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Info cards: let text wrap instead of stretching the panel */
    .info-card-item {
        min-width: 0;
    }

    .info-card-text {
        min-width: 0;
        flex: 1;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .info-card-text a,
    .info-card-text p {
        max-width: 100%;
        word-break: break-word;
    }

    /* Direct action buttons always fit width */
    .direct-actions-grid {
        grid-template-columns: 1fr;
    }

    .btn-action-call,
    .btn-action-whatsapp {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    /* Maps: contain the iframe and header/action rows */
    .maps-embed-wrap {
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .maps-embed-wrap iframe {
        min-width: 0;
        max-width: 100%;
    }

    .maps-header-bar {
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
    }

    .maps-coords {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .maps-actions-row {
        flex-wrap: wrap;
        min-width: 0;
    }

    .maps-open-link,
    .maps-copy-btn {
        min-width: 0;
        white-space: normal;
    }

    /* RFQ form */
    .rfq-form-panel .form-grid {
        grid-template-columns: 1fr;
    }

    .rfq-form-panel .form-group.full-width {
        grid-column: span 1;
    }

    .form-control,
    .form-control:focus {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* RFQ form — medium/small screens: fully contain the input boxes */
@media (max-width: 992px) {
    .rfq-form-panel {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    .rfq-form-panel form,
    .rfq-form-panel .form-grid {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    .rfq-form-panel .form-group,
    .rfq-form-panel .form-group.full-width {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        display: block;
    }

    .rfq-form-panel .form-group {
        margin-bottom: 14px;
    }

    .rfq-form-panel label,
    .rfq-form-panel .form-group label {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        min-width: 0;
    }

    .file-upload-wrapper {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .rfq-form-panel input.form-control,
    .rfq-form-panel select.form-control,
    .rfq-form-panel textarea.form-control,
    .rfq-form-panel .form-control {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        text-overflow: ellipsis;
    }

    .rfq-form-panel .btn-submit,
    .rfq-form-panel .file-upload-label,
    .rfq-form-panel .file-upload-browse {
        max-width: 100%;
        min-width: 0;
    }
}

/* ============================================================
   7. CUSTOM GOLD CURSOR (Disabled to allow natural browser pointer)
   ============================================================ */
.custom-cursor-dot,
.custom-cursor-ring {
    display: none !important;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    will-change: transform;
    box-shadow: 0 0 8px var(--gold-glow);
}

.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(212,175,55,0.55);
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2),
                height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.2),
                opacity 0.3s ease,
                border-color 0.3s ease;
    will-change: transform;
}

/* Hover state — expand ring */
.custom-cursor-dot.hovered {
    width: 6px;
    height: 6px;
    background: var(--gold-dark);
}

.custom-cursor-ring.hovered {
    width: 52px;
    height: 52px;
    border-color: rgba(212,175,55,0.85);
    background: rgba(212,175,55,0.06);
}

/* Click state */
.custom-cursor-dot.clicking {
    width: 5px;
    height: 5px;
    background: #fff;
}

.custom-cursor-ring.clicking {
    width: 28px;
    height: 28px;
    border-color: var(--gold);
}

/* Hide on mobile */
@media (pointer: coarse) {
    .custom-cursor-dot,
    .custom-cursor-ring { display: none !important; }
}

/* ============================================================
   8. TESTIMONIALS AUTO-CAROUSEL
   ============================================================ */
.tst-carousel-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 56px; /* space for controls */
}

.tst-carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.tst-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 12px;
    box-sizing: border-box;
    opacity: 0.45;
    transform: scale(0.96);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.tst-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Show 2 cards on desktop */
@media (min-width: 900px) {
    .tst-slide { flex: 0 0 50%; }
}

/* Show 3 cards on large screens */
@media (min-width: 1200px) {
    .tst-slide { flex: 0 0 33.333%; }
}

/* Controls row */
.tst-carousel-controls {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.tst-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--gold);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.tst-btn:hover {
    background: var(--gradient-gold);
    color: #0b1329;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

/* Dots */
.tst-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tst-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.tst-dot.active {
    width: 24px;
    border-radius: 99px;
    background: var(--gradient-gold);
    box-shadow: var(--shadow-gold);
}

/* Progress bar under active card */
.tst-progress {
    position: absolute;
    bottom: 48px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.tst-progress.visible { opacity: 1; }

.tst-progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 99px;
    width: 0%;
    transition: width linear;
}

/* ============================================================
   9. BLUR-UP IMAGE LOADING
   ============================================================ */
img[data-src] {
    filter: blur(12px);
    transform: scale(1.02);
    transition: filter 0.6s ease, transform 0.6s ease;
}

img[data-src].loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Wrapper for blur-up effect */
.img-blur-wrap {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.img-blur-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(212,175,55,0.05) 0%,
        rgba(11,19,41,0.3) 100%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.img-blur-wrap.loaded::before { opacity: 0; }

/* Skeleton shimmer for images loading */
.img-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--bg-card) 0%,
        rgba(212,175,55,0.06) 50%,
        var(--bg-card) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.6s ease-in-out infinite;
    z-index: 0;
}

@keyframes skeletonShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ============================================================
   10. INTERACTIVE ENGINEERING ESTIMATOR CALCULATOR
   ============================================================ */
.calc-section {
    padding: 85px 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.calc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.calc-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .calc-container {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.calc-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-group-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-group-title i {
    color: var(--gold);
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.calc-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-section);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.calc-option-btn i {
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.calc-option-btn:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    background: var(--gold-subtle);
}

.calc-option-btn.active {
    border-color: var(--gold);
    background: var(--gradient-gold);
    color: #0b1329;
    box-shadow: var(--shadow-gold);
}

.calc-option-btn.active i {
    color: #0b1329;
    transform: scale(1.15);
}

/* Range Slider */
.calc-range-wrap {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.calc-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calc-range-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold-dark);
    font-family: monospace;
}

.calc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 99px;
    background: rgba(212,175,55,0.2);
    outline: none;
    cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px var(--gold-glow);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Live Output Card */
.calc-result-card {
    background: linear-gradient(145deg, rgba(11, 19, 41, 0.98), rgba(7, 13, 30, 0.98));
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.calc-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.calc-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.calc-result-header h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-result-header h4 i {
    color: var(--gold);
}

.calc-timeline-estimate {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
}

.calc-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.calc-breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #cbd5e1;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.calc-breakdown-item strong {
    color: #fff;
}

.calc-btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--gradient-gold);
    color: #0b1329;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    font-family: inherit;
}

.calc-btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

/* ============================================================
   11. BEFORE & AFTER IMAGE COMPARISON SLIDER
   ============================================================ */
.ba-section {
    padding: 70px 0;
    background: var(--bg-white);
}

.ba-slider-container {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    height: 480px;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 768px) {
    .ba-slider-container { height: 320px; }
}

.ba-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-after-layer {
    width: 50%;
    z-index: 2;
    border-inline-end: 2px solid var(--gold);
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
}

.ba-badge {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(11, 19, 41, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 99px;
    border: 1px solid rgba(212,175,55,0.3);
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ba-badge i { color: var(--gold); }
.ba-before-badge { inset-inline-end: 20px; }
.ba-after-badge  { inset-inline-start: 20px; }

/* Drag Handle */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0b1329;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 0 6px rgba(212,175,55,0.25), 0 10px 25px rgba(0,0,0,0.5);
    z-index: 10;
    cursor: ew-resize;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-slider-container:hover .ba-handle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(212,175,55,0.35), 0 15px 35px rgba(0,0,0,0.6);
}

/* ============================================================
   12. COMPANY PROFILE PDF DOWNLOAD BUTTON
   ============================================================ */
.btn-profile-dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-profile-dl:hover {
    background: var(--gradient-gold);
    color: #0b1329;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-profile-dl i {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.btn-profile-dl:hover i {
    color: #0b1329;
    transform: translateY(2px);
}

/* ============================================================
   13. COMPREHENSIVE MOBILE & SMALL SCREENS OPTIMIZATION
   ============================================================ */

/* ── Mobile Bottom App Dock ── */
.mobile-bottom-dock {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .mobile-bottom-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(11, 19, 41, 0.95);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-top: 1px solid rgba(217, 119, 6, 0.35);
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
    }

    .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 6px;
        border-radius: 8px;
        transition: all 0.2s ease;
        flex: 1;
        min-width: 0;
        text-align: center;
        gap: 3px;
    }

    .dock-item i {
        font-size: 1.15rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .dock-item:hover,
    .dock-item.active {
        color: #f59e0b;
    }

    .dock-item.active i {
        transform: translateY(-2px);
        color: #f59e0b;
    }

    .dock-wa {
        color: #22c55e;
    }

    .dock-wa:hover {
        color: #4ade80;
    }

    /* Highlighted Center Button (RFQ) */
    .dock-item-highlight {
        position: relative;
        margin-top: -24px;
        color: #fff;
    }

    .dock-highlight-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #d97706, #f59e0b);
        color: #0b1329;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.45), 0 0 0 4px rgba(11, 19, 41, 0.95);
        font-size: 1.25rem;
        margin-bottom: 2px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .dock-item-highlight:hover .dock-highlight-btn,
    .dock-item-highlight.active .dock-highlight-btn {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6), 0 0 0 4px rgba(11, 19, 41, 0.95);
    }

    .dock-item-highlight span {
        color: #f59e0b;
        font-weight: 800;
    }

    /* Adjust floating widgets to sit safely above dock */
    .floating-actions,
    .wa-chat-bubble,
    .scroll-top-btn {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .wa-chat-panel {
        bottom: calc(136px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        left: 14px !important;
        width: auto !important;
        max-width: 400px;
    }
}

/* ── Team Section Mobile Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .team-card {
        border-radius: 16px !important;
    }

    .team-card-header {
        height: 110px !important;
    }

    .team-avatar {
        width: 58px !important;
        height: 58px !important;
        font-size: 1.4rem !important;
    }

    .team-badge {
        font-size: 0.62rem !important;
        padding: 2px 8px !important;
        bottom: 6px !important;
    }

    .team-info {
        padding: 12px 8px 14px !important;
    }

    .team-info h3 {
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
    }

    .team-actions a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 400px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .team-card-header {
        height: 125px !important;
    }
}

/* ── Mobile Form Controls & Prevention of Safari Auto-Zoom ── */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
    }

    /* Prevent overflow on small screens */
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Calculator options mobile styling */
    .calc-options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .calc-option-btn {
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
    }

    .calc-option-btn i {
        font-size: 1.1rem !important;
        margin-bottom: 4px !important;
    }

    /* RFQ Form inputs touch target enhancement */
    .form-control,
    .btn-submit,
    .btn-gold {
        min-height: 44px;
    }

    /* Testimonials on mobile */
    .tst-slide {
        padding: 20px 16px !important;
    }

    .tst-quote {
        font-size: 0.88rem !important;
        line-height: 1.7 !important;
    }
}