/*
Theme Name: HRT Solutions
Theme URI: https://hrt-solutions.com
Author: HRT Solutions
Author URI: https://hrt-solutions.com
Description: A premium, highly responsive corporate theme for HRT Solutions & Supply - Importing Medical & Industrial Equipment. Designed with clean modern layout, light/dark mode switcher, language switcher, dynamic visual globe cards cycle, and custom import estimator tool.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hrt-solutions
Tags: translation-ready, dark-scheme, custom-menu, full-width-template, responsive-layout
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --brand-navy: #001C47;
    --brand-gold: #c5923c;
    --brand-gold-hover: #b3812f;
    
    /* Color Palette */
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --border-color: rgba(0, 28, 71, 0.08);
    --border-hover: rgba(197, 146, 60, 0.3);
    
    --bg-btn-mini: rgba(0, 28, 71, 0.03);
    --bg-btn-mini-hover: rgba(0, 28, 71, 0.06);
    --border-btn-mini-hover: rgba(0, 28, 71, 0.15);
    
    --primary-medical: var(--brand-navy);
    --primary-medical-glow: rgba(0, 28, 71, 0.1);
    --primary-general: var(--brand-gold);
    --primary-general-glow: rgba(197, 146, 60, 0.2);
    
    --text-primary: #001C47; /* Brand Navy */
    --text-secondary: #334155; /* Slate */
    --text-muted: #64748b;
    
    --gradient-med: linear-gradient(135deg, #001C47 0%, #0d3875 100%);
    --gradient-gen: linear-gradient(135deg, #c5923c 0%, #e0ab54 100%);
    --gradient-premium: linear-gradient(135deg, #001C47 0%, #c5923c 100%);
    --gradient-dark: linear-gradient(180deg, #fbfcfd 0%, #edf2f9 100%);
    
    /* Typography & Shadows */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 28, 71, 0.05), 0 2px 4px -2px rgba(0, 28, 71, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 28, 71, 0.08), 0 8px 10px -6px rgba(0, 28, 71, 0.08);
    --shadow-glow-med: 0 0 25px rgba(0, 28, 71, 0.15);
    --shadow-glow-gen: 0 0 25px rgba(197, 146, 60, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

}

/* Premium Dark Theme Variable Overrides */
body.dark-theme {
    /* Brand Colors */
    --bg-dark: #040811; /* Ultra premium deep space black */
    --bg-card: rgba(11, 20, 38, 0.72); /* Glassmorphism card for dark mode */
    --bg-card-hover: rgba(15, 27, 51, 0.95);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(197, 146, 60, 0.4);
    
    --bg-btn-mini: rgba(255, 255, 255, 0.03);
    --bg-btn-mini-hover: rgba(255, 255, 255, 0.08);
    --border-btn-mini-hover: rgba(255, 255, 255, 0.14);
    
    --primary-medical: #38bdf8; /* Lighter vivid blue for dark contrast */
    --primary-medical-glow: rgba(56, 189, 248, 0.15);
    --primary-general: #e2b05b; /* Slightly lighter gold for dark mode */
    --primary-general-glow: rgba(226, 176, 91, 0.2);
    
    --text-primary: #f8fafc; /* Crisp slate white */
    --text-secondary: #cbd5e1; /* Soft slate gray */
    --text-muted: #64748b;
    
    --gradient-dark: linear-gradient(180deg, #070c18 0%, #020408 100%);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.45);
    
    --shadow-glow-med: 0 0 25px rgba(56, 189, 248, 0.15);
    --shadow-glow-gen: 0 0 25px rgba(226, 176, 91, 0.15);
}

/* Specific Component Theme Overrides for Dark Mode */
body.dark-theme header {
    background: rgba(7, 12, 24, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
body.dark-theme header.scrolled {
    background: rgba(7, 12, 24, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.dark-theme header .logo-img {
    background: white;
    padding: 4px;
    border-radius: var(--radius-sm);
}

body.dark-theme .btn-lang,
body.dark-theme .btn-theme,
body.dark-theme .menu-toggle {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
    color: #f8fafc;
}
body.dark-theme .btn-lang:hover,
body.dark-theme .btn-theme:hover,
body.dark-theme .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}
body.dark-theme .btn-lang .lang-text {
    color: #f8fafc;
}
body.dark-theme .menu-icon-lines span {
    background: #f8fafc;
}

body.dark-theme .hero-title {
    background: linear-gradient(135deg, #f8fafc 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.dark-theme .hero-title span.highlight {
    background: linear-gradient(to right, #cbd5e1, var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-theme .nav-menu {
    background: rgba(7, 12, 24, 0.96);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border-inline-start: 1px solid rgba(255, 255, 255, 0.05);
}
body.dark-theme .sidebar-close {
    color: #f8fafc;
}
body.dark-theme .sidebar-close:hover {
    background: rgba(255, 255, 255, 0.05);
}
body.dark-theme .nav-link {
    color: #cbd5e1;
}

body.dark-theme .visual-globe {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(197, 146, 60, 0.01) 50%, transparent 70%);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}
body.dark-theme .visual-orbit {
    border: 1px solid rgba(255, 255, 255, 0.04);
}

body.dark-theme .equip-card.medical .equip-btn {
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.06);
}
body.dark-theme .equip-card.medical .equip-btn:hover {
    background: var(--gradient-med);
    color: white;
    border-color: transparent;
}

body.dark-theme .step-num {
    box-shadow: 0 4px 10px rgba(197, 146, 60, 0.15);
}

body.dark-theme .form-select, 
body.dark-theme .form-input {
    background: #090e1a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}
body.dark-theme .form-select option {
    background: #0b1426;
    color: #f8fafc;
}
body.dark-theme .range-slider {
    background: #1e293b;
}

body.dark-theme .modal-content {
    background: #0b1426;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
body.dark-theme .modal-close {
    color: #94a3b8;
}
body.dark-theme .modal-close:hover {
    color: #f8fafc;
}

body.dark-theme .toast {
    background: #0b1426;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
body.dark-theme .toast-title {
    color: #f8fafc;
}

/* Global Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important; /* Remove mobile tap highlight shading globally */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* Eliminate default browser focus outlines and tap highlights for premium feel */
button, a, input, select, textarea, [role="button"], span, div, svg, img, picture, a img, .logo, .logo-img {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none !important; /* Disable native iOS callout/shading when tapping images/links */
}

button:focus, a:focus, input:focus, select:focus, textarea:focus,
button:active, a:active, input:active, select:active, textarea:active {
    outline: none !important;
    box-shadow: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--gradient-dark);
    color: var(--text-secondary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body[dir="rtl"] {
    font-family: var(--font-ar);
}

body[dir="ltr"] {
    font-family: var(--font-en);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Dynamic background mesh with brand colors */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.7;
}

.bg-mesh::before, .bg-mesh::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.bg-mesh::before {
    top: -10%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(0, 28, 71, 0.05) 0%, transparent 80%);
    animation: float1 15s infinite ease-in-out alternate;
}

.bg-mesh::after {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(197, 146, 60, 0.06) 0%, transparent 80%);
    animation: float2 20s infinite ease-in-out alternate;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 80px) scale(1.1); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(60px, -60px) scale(0.9); }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 28, 71, 0.05);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 30px; /* Grand initial padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled .nav-container {
    padding: 8px 30px; /* Modern dynamic collapse when scrolled */
}

/* Logo Design to match original exactly */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-navy);
}

/* Header Specific Logo - Prominent & Big */
header .logo-img {
    height: 68px; /* Grand size as requested */
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 52px; /* Smooth scale down when scrolled */
}

/* Base Logo Image for footer and general references */
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-med);
    box-shadow: 0 4px 12px rgba(0, 28, 71, 0.2);
    color: white;
    font-size: 1.25rem;
    font-family: var(--font-en);
}

.logo-text {
    background: linear-gradient(to right, var(--brand-navy) 40%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Sidebar Drawer Menu - Desktop & Mobile */
.nav-menu {
    position: fixed;
    top: 0;
    width: 340px;
    max-width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 0 50px rgba(0, 28, 71, 0.12);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 40px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-inline-start: 1px solid var(--border-color);
}

/* Slide direction based on language direction */
body[dir="rtl"] .nav-menu {
    right: 0;
    transform: translateX(100%);
}
body[dir="ltr"] .nav-menu {
    left: 0;
    transform: translateX(-100%);
}

/* Active State */
.nav-menu.active {
    transform: translateX(0) !important;
}

/* Sidebar Close Button */
.sidebar-close,
.sidebar-close * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
}

.sidebar-close {
    position: absolute;
    top: 30px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--brand-navy);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

@media (hover: hover) {
    .sidebar-close:hover {
        background: rgba(0, 28, 71, 0.05);
        color: var(--brand-gold);
    }
}

.sidebar-close:focus,
.sidebar-close:active,
.sidebar-close:focus-visible {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}
body[dir="rtl"] .sidebar-close {
    left: 30px;
}
body[dir="ltr"] .sidebar-close {
    right: 30px;
}

/* Vertical list of links */
.nav-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-gold);
    transform: translateX(5px);
}
body[dir="rtl"] .nav-link:hover, body[dir="rtl"] .nav-link.active {
    transform: translateX(-5px);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: var(--transition);
}

body[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 40px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 28, 71, 0.04); /* Ultra-soft premium glass reflection, no dark shading */
    backdrop-filter: blur(1px); /* Delicate hint of blur */
    -webkit-backdrop-filter: blur(1px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Miniature Pill Language Toggle Button */
.btn-lang,
.btn-lang * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
    -webkit-user-select: none;
    user-select: none;
}

.btn-lang {
    background: var(--bg-btn-mini);
    border: 1px solid var(--border-color);
    color: var(--brand-navy);
    padding: 4px 10px; /* Highly compact pill padding */
    border-radius: 100px; /* Complete pill shape */
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px; /* Elegant mini-height */
}

@media (hover: hover) {
    .btn-lang:hover {
        background: var(--bg-btn-mini-hover);
        border-color: var(--border-btn-mini-hover);
        transform: translateY(-1px);
    }
    .btn-lang:hover .lang-icon-svg {
        transform: rotate(20deg); /* Modern subtle hover physics */
    }
}

/* Lock down btn-lang state when clicked/active/focused to prevent extra shading */
.btn-lang:focus, 
.btn-lang:active, 
.btn-lang:focus-visible,
.btn-lang *:focus,
.btn-lang *:active,
.btn-lang *:focus-visible {
    background: var(--bg-btn-mini) !important;
    border-color: var(--border-color) !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.lang-icon-svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.2; /* Beautiful visual clarity at small size */
    transition: var(--transition);
}

.btn-lang .lang-text {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 0.72rem; /* Clean and crisp tiny text */
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--brand-navy);
}

/* Miniature Theme Toggle Button */
.btn-theme,
.btn-theme * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
    -webkit-user-select: none;
    user-select: none;
}

.btn-theme {
    background: var(--bg-btn-mini);
    border: 1px solid var(--border-color);
    color: var(--brand-navy);
    padding: 4px;
    border-radius: 50%; /* Perfect circular shape */
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px; /* Elegant 28px height, identical to btn-lang */
}

@media (hover: hover) {
    .btn-theme:hover {
        background: var(--bg-btn-mini-hover);
        border-color: var(--border-btn-mini-hover);
        transform: translateY(-1px);
    }
    .btn-theme:hover .theme-icon-svg {
        transform: rotate(25deg); /* Playful hover physics */
    }
}

.btn-theme:focus, 
.btn-theme:active, 
.btn-theme:focus-visible,
.btn-theme *:focus,
.btn-theme *:active,
.btn-theme *:focus-visible {
    background: var(--bg-btn-mini) !important;
    border-color: var(--border-color) !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.theme-icon-svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.2;
    transition: var(--transition);
    fill: none;
}

.btn-primary {
    background: var(--gradient-med);
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 28, 71, 0.15);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 28, 71, 0.25);
    filter: brightness(1.1);
}

/* Sleek Menu Toggle Button */
.menu-toggle,
.menu-toggle * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
    -webkit-user-select: none;
    user-select: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(0, 28, 71, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    position: relative;
    z-index: 2010;
}

@media (hover: hover) {
    .menu-toggle:hover {
        background: rgba(0, 28, 71, 0.07);
        border-color: rgba(0, 28, 71, 0.15);
        transform: translateY(-2px);
    }
}

/* Force menu-toggle to look absolutely clean and identical when clicked/active/focused */
.menu-toggle:focus, 
.menu-toggle:active, 
.menu-toggle:focus-visible,
.menu-toggle *:focus,
.menu-toggle *:active,
.menu-toggle *:focus-visible {
    background: rgba(0, 28, 71, 0.03) !important;
    border-color: var(--border-color) !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.menu-icon-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-icon-lines span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 160px 0 80px;
}

/* Premium Staggered FadeInUp animations for Hero components on load */
.hero .hero-badge {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}
.hero .hero-title {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}
.hero .hero-desc {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}
.hero .hero-cta {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.hero .hero-stats {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.75s both;
}
.hero .hero-visual {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-badge {
    align-self: flex-start;
    background: rgba(197, 146, 60, 0.08);
    border: 1px solid rgba(197, 146, 60, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    color: var(--brand-gold-hover);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(135deg, var(--brand-navy) 40%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
    background: linear-gradient(to right, var(--brand-navy), var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-outline {
    background: rgba(0, 28, 71, 0.02);
    border: 1px solid var(--border-color);
    color: var(--brand-navy);
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.btn-outline:hover {
    background: rgba(0, 28, 71, 0.06);
    border-color: rgba(0, 28, 71, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hero Visual Graphic */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-globe {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 28, 71, 0.03) 0%, rgba(197, 146, 60, 0.02) 50%, transparent 70%);
    border: 1px dashed rgba(0, 28, 71, 0.08);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatVisual 8s infinite ease-in-out; /* Slow continuous float animation */
}

.visual-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 28, 71, 0.04);
    animation: spinOrbit 25s linear infinite;
}

.visual-orbit.o1 { width: 460px; height: 460px; border-style: dotted; }
.visual-orbit.o2 { width: 540px; height: 540px; animation-duration: 40s; animation-direction: reverse; }

.visual-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 28, 71, 0.06);
    transition: var(--transition);
    max-width: 260px;
}

.visual-card:hover {
    border-color: var(--brand-gold);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 146, 60, 0.15);
}

.visual-card.vc1 {
    top: 10%;
    left: -20px;
    border-left: 4px solid var(--brand-navy);
}

.visual-card.vc2 {
    bottom: 15%;
    right: -20px;
    border-left: 4px solid var(--brand-gold);
}

.vc-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.vc1 .vc-icon { background: var(--gradient-med); }
.vc2 .vc-icon { background: var(--gradient-gen); }

.vc-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2px;
}

.vc-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Static Visual Card States & Glowing Physics */
.visual-card {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
}

.visual-card.faded {
    opacity: 0.3;
    transform: scale(0.92);
    filter: grayscale(0.8) blur(0.5px);
    pointer-events: none;
}

.visual-card.active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 5;
}

.visual-card.vc1.active {
    border-color: var(--primary-medical);
    box-shadow: var(--shadow-glow-med);
}

.visual-card.vc2.active {
    border-color: var(--primary-general);
    box-shadow: var(--shadow-glow-gen);
}

@keyframes floatVisual {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes spinOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Header */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-gold);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Services / Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 28, 71, 0.005) 0%, rgba(197, 146, 60, 0.015) 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 146, 60, 0.2);
    box-shadow: 0 15px 35px rgba(0, 28, 71, 0.07);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(0, 28, 71, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--brand-navy);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: white;
    background: var(--gradient-premium);
    box-shadow: 0 4px 12px rgba(197, 146, 60, 0.25);
    border-color: transparent;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Equipment Catalog Section */
.catalog-filter-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.catalog-search-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.catalog-search {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    position: relative;
}

.catalog-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--brand-navy);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}

body[dir="rtl"] .catalog-search input {
    padding-left: 45px;
}
body[dir="ltr"] .catalog-search input {
    padding-right: 45px;
}

.catalog-search input:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 10px rgba(197, 146, 60, 0.2);
    background: white;
}

.catalog-search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

body[dir="rtl"] .catalog-search-icon { left: 20px; }
body[dir="ltr"] .catalog-search-icon { right: 20px; }

.catalog-search input:focus ~ .catalog-search-icon {
    color: var(--brand-gold);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    background: white;
    color: var(--brand-navy);
    border-color: rgba(0, 28, 71, 0.15);
}

.tab-btn.active[data-filter="all"] {
    background: var(--gradient-premium);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 146, 60, 0.25);
}

.tab-btn.active[data-filter="medical"] {
    background: var(--gradient-med);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 28, 71, 0.2);
}

.tab-btn.active[data-filter="general"] {
    background: var(--gradient-gen);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 146, 60, 0.2);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 30px;
    transition: var(--transition);
}

/* Equipment Card */
.equip-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.equip-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 146, 60, 0.25);
    box-shadow: 0 15px 35px rgba(0, 28, 71, 0.08);
}

.equip-card.medical:hover {
    box-shadow: var(--shadow-glow-med);
    border-color: rgba(0, 28, 71, 0.15);
}

.equip-card.general:hover {
    box-shadow: var(--shadow-glow-gen);
}

.equip-image-wrapper {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

/* Fallback elegant dynamic vector art for images */
.equip-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e6edf5 0%, #d4e0eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(0, 28, 71, 0.05);
    position: relative;
    transition: var(--transition);
}

.equip-card:hover .equip-image-placeholder {
    transform: scale(1.08);
}

.equip-badge {
    position: absolute;
    top: 15px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

body[dir="rtl"] .equip-badge { right: 15px; }
body[dir="ltr"] .equip-badge { left: 15px; }

.equip-badge.med {
    background: var(--gradient-med);
}

.equip-badge.gen {
    background: var(--gradient-gen);
}

.equip-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.equip-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-navy);
    transition: var(--transition);
}

.equip-card.medical:hover .equip-name { color: var(--brand-navy); }
.equip-card.general:hover .equip-name { color: var(--brand-gold-hover); }

.equip-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 28, 71, 0.05);
    padding-top: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
}

.spec-item span:first-child {
    font-weight: 600;
    color: var(--text-muted);
}

.equip-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.equip-card.medical .equip-btn {
    background: rgba(0, 28, 71, 0.03);
    color: var(--brand-navy);
}

.equip-card.medical .equip-btn:hover {
    background: var(--gradient-med);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 28, 71, 0.2);
}

.equip-card.general .equip-btn {
    background: rgba(197, 146, 60, 0.05);
    color: var(--brand-gold-hover);
}

.equip-card.general .equip-btn:hover {
    background: var(--gradient-gen);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(197, 146, 60, 0.2);
}

/* Import Process Section */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.process-step:hover {
    border-color: rgba(197, 146, 60, 0.25);
    transform: translateY(-5px);
}

.step-num {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(197, 146, 60, 0.25);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Interactive Import Calculator */
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: stretch;
}

.calc-card-form {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.form-select, .form-input {
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    color: var(--brand-navy);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
    box-shadow: inset 0 1px 3px rgba(0, 28, 71, 0.02);
}

.form-select option {
    background: white;
    color: var(--brand-navy);
}

.form-select:focus, .form-input:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 10px rgba(197, 146, 60, 0.15);
}

/* Dual Range Sliders */
.range-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
}

.range-value {
    color: var(--brand-gold-hover);
    font-weight: 800;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-gold);
    box-shadow: 0 0 8px rgba(197, 146, 60, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Calculator Result Panel (Maintains dark blue theme contrast inside) */
.calc-card-result {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #062b5c 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 28, 71, 0.25);
    position: relative;
    overflow: hidden;
    color: white;
}

.calc-card-result::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 146, 60, 0.15) 0%, transparent 75%);
    pointer-events: none;
}

.result-header {
    margin-bottom: 25px;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white !important;
}

.result-subtitle {
    font-size: 0.85rem;
    color: #94a3b8 !important;
}

.result-price-box {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8 !important;
    font-weight: 700;
}

.result-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: white !important;
    background: linear-gradient(135deg, white, #e0ab54);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.breakdown-row span:first-child {
    color: #cbd5e1 !important;
    font-weight: 500;
}

.breakdown-row span:last-child {
    font-weight: 700;
    color: white !important;
}

.breakdown-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
    font-weight: 800;
}

/* Customize primary button inside calculator results to use gold */
.calc-card-result .btn-primary {
    background: var(--gradient-gen) !important;
    box-shadow: 0 4px 15px rgba(197, 146, 60, 0.3) !important;
}
.calc-card-result .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(197, 146, 60, 0.5) !important;
}

/* Contact & RFP Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(0, 28, 71, 0.03);
    border: 1px solid var(--border-color);
    color: var(--brand-gold-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-card-form {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-card-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

/* Footer Section (Kept Dark Blue for premium luxury anchor) */
footer {
    background: #00102b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-about .logo-text {
    background: linear-gradient(to right, white 40%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--brand-gold);
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

body[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Toast System (Floating custom alerts) */
.toast-container {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 60px);
}

body[dir="rtl"] .toast-container { left: 30px; }
body[dir="ltr"] .toast-container { right: 30px; }

.toast {
    background: white;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 28, 71, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateY(50px);
    opacity: 0;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: var(--transition);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.info {
    border-left: 4px solid var(--brand-gold);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast.success .toast-icon { color: #10b981; }
.toast.info .toast-icon { color: var(--brand-gold); }

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-navy);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

/* Dialog / Modal for Equipment Quote */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 71, 0.5);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 520px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 28, 71, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    z-index: 2;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

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

body[dir="rtl"] .modal-close { left: 20px; }
body[dir="ltr"] .modal-close { right: 20px; }

.modal-close:hover {
    color: var(--brand-navy);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-grid, .calc-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-globe {
        width: 320px;
        height: 320px;
    }
    .visual-orbit.o1 { width: 380px; height: 380px; }
    .visual-orbit.o2 { width: 440px; height: 440px; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    header .logo-img {
        height: 52px; /* Elegant smaller logo on mobile screens */
    }
    header.scrolled .logo-img {
        height: 44px; /* Perfectly scaled down on scroll on mobile */
    }
    
    .nav-container {
        padding: 12px 20px; /* Comfortable initial mobile padding */
    }
    header.scrolled .nav-container {
        padding: 6px 20px; /* Sleek mobile scroll collapse */
    }
    
    /* Elegant side drawer menu adjustments for tablet/mobile */
    .nav-menu {
        width: 290px;
        padding: 80px 24px 30px;
    }
    
    .sidebar-close {
        top: 20px;
    }
    
    body[dir="rtl"] .sidebar-close {
        left: 20px;
    }
    
    body[dir="ltr"] .sidebar-close {
        right: 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    /* Make the orbits fit on typical tablet viewports without causing scroll issues */
    .visual-globe {
        width: 260px;
        height: 260px;
    }
    .visual-orbit.o1 { width: 300px; height: 300px; }
    .visual-orbit.o2 { width: 340px; height: 340px; }
    
    .visual-card {
        padding: 10px 14px;
        max-width: 210px;
    }
    .visual-card.vc1 {
        left: -10px;
        top: 5%;
    }
    .visual-card.vc2 {
        right: -10px;
        bottom: 10%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extreme optimization for smartphones */
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    header.scrolled .nav-container {
        padding: 6px 15px;
    }
    
    header .logo-img {
        height: 44px; /* Perfectly sized logo for small mobile screens */
    }
    header.scrolled .logo-img {
        height: 38px; /* Extra compact logo when scrolled */
    }
    
    /* Hide the menu button text label and show only the premium hamburger icon */
    .menu-toggle span[data-translate="menuToggleLabel"] {
        display: none;
    }
    .menu-toggle {
        padding: 8px 12px;
        gap: 0;
    }
    
    .hero {
        padding: 90px 0 30px;
    }
    
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.3;
    }
    
    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Stack CTA buttons vertically to fit naturally on mobile */
    .hero-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-cta a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Stack stats rows cleanly */
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-top: 10px;
    }
    .stat-item {
        align-items: center;
        text-align: center;
    }
    .stat-num {
        font-size: 1.8rem;
    }
    
    /* Responsive Orbits that never cause horizontal scrolling */
    .visual-globe {
        width: 200px;
        height: 200px;
    }
    .visual-orbit.o1 { width: 240px; height: 240px; }
    .visual-orbit.o2 { width: 280px; height: 280px; }
    
    .visual-card {
        padding: 8px 12px;
        gap: 8px;
        max-width: 170px;
        border-radius: var(--radius-sm);
    }
    .visual-card.vc1 {
        left: -8px;
        top: 5%;
    }
    .visual-card.vc2 {
        right: -8px;
        bottom: 8%;
    }
    
    .vc-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .vc-info h4 {
        font-size: 0.82rem;
    }
    .vc-info p {
        font-size: 0.68rem;
    }
    
    /* Section spacings and headers optimized for small screens */
    .section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 35px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    /* Stacking catalog filters and centering search */
    .catalog-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .filter-tabs {
        justify-content: center;
        width: 100%;
    }
    .filter-tabs li {
        flex-grow: 1;
    }
    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .catalog-search {
        max-width: 100%;
        width: 100%;
    }
    
    /* Calculator paddings */
    .calc-card-form, .calc-card-result {
        padding: 25px 20px;
    }
    .result-price {
        font-size: 2.2rem;
    }
    
    /* Contact form spacing */
    .contact-card-form {
        padding: 25px 20px;
    }
    
    /* Dialog modal size */
    .modal-content {
        padding: 25px 20px;
    }
}

/* --- WordPress Admin Bar Compatibility --- */
.admin-bar header {
    top: 32px;
}
.admin-bar .nav-menu {
    top: 32px;
    height: calc(100vh - 32px);
}
.admin-bar .sidebar-overlay {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
    .admin-bar .nav-menu {
        top: 46px;
        height: calc(100vh - 46px);
    }
    .admin-bar .sidebar-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

/* ==========================================================================
   Promotional Banner Slider Section (Middle of Page)
   ========================================================================== */
.banner-slider-section, .shipping-slider-section {
    padding: 30px 0;
    position: relative;
}

.banner-slider-wrapper, .shipping-slider-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    transition: var(--transition);
}

body.dark-theme .banner-slider-wrapper, body.dark-theme .shipping-slider-wrapper {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.banner-slide, .shipping-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.banner-slide.active, .shipping-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide-img, .shipping-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.98) contrast(1.02); /* Images are fully bright, sharp, and 100% clear */
    transition: transform 6s ease;
}

.banner-slide.active .banner-slide-img, .shipping-slide.active .shipping-slide-img {
    transform: scale(1.03); /* Slow premium Ken Burns effect */
}

/* Gradient overlay mask - set to transparent to keep the background images fully visible */
.banner-slide::before, .shipping-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: transparent;
}

/* RTL: Transparent */
body[dir="rtl"] .banner-slide::before, body[dir="rtl"] .shipping-slide::before {
    background: transparent;
}

/* LTR: Transparent */
body[dir="ltr"] .banner-slide::before, body[dir="ltr"] .shipping-slide::before {
    background: transparent;
}

/* Dark Theme Overrides - Transparent */
body.dark-theme[dir="rtl"] .banner-slide::before, body.dark-theme[dir="rtl"] .shipping-slide::before {
    background: transparent;
}

body.dark-theme[dir="ltr"] .banner-slide::before, body.dark-theme[dir="ltr"] .shipping-slide::before {
    background: transparent;
}

/* Premium Floating Glassmorphic Card for Text Readability */
.banner-slide-content, .shipping-slide-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    padding: 30px 35px;
    margin: 0 80px;
    background: rgba(0, 28, 71, 0.72); /* Elegant brand navy semi-transparent background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    transition: var(--transition);
}

body.dark-theme .banner-slide-content, body.dark-theme .shipping-slide-content {
    background: rgba(10, 16, 29, 0.75); /* Sleek dark glass card for dark theme */
    border-color: rgba(255, 255, 255, 0.08);
}

/* Apple-style smooth staggered animations when slide becomes active */
.banner-slide.active .slide-badge, .shipping-slide.active .slide-badge {
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
.banner-slide.active .slide-title, .shipping-slide.active .slide-title {
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s both;
}
.banner-slide.active .slide-desc, .shipping-slide.active .slide-desc {
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

/* Text directions */
body[dir="rtl"] .banner-slide-content, body[dir="rtl"] .shipping-slide-content {
    margin-right: 80px;
    margin-left: auto;
    text-align: right;
}

body[dir="ltr"] .banner-slide-content, body[dir="ltr"] .shipping-slide-content {
    margin-left: 80px;
    margin-right: auto;
    text-align: left;
}

/* Slide Badge */
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.slide-badge.med {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.slide-badge.gen {
    background: rgba(197, 146, 60, 0.15);
    color: #e2b05b;
    border: 1px solid rgba(197, 146, 60, 0.25);
}

/* Slide Title */
.slide-title {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Slide Description */
.slide-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Glassmorphic Navigation Buttons */
.mid-slider-btn, .ship-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mid-slider-btn.prev, .ship-slider-btn.prev {
    left: 20px;
}

.mid-slider-btn.next, .ship-slider-btn.next {
    right: 20px;
}

.mid-slider-btn:hover, .ship-slider-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 15px rgba(197, 146, 60, 0.4);
}

.mid-slider-btn:active, .ship-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Dots Indicators */
.mid-slider-dots, .ship-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.mid-dot, .ship-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.mid-dot.active, .ship-dot.active {
    width: 24px;
    border-radius: 5px;
    background: var(--brand-gold);
    box-shadow: 0 0 10px var(--brand-gold);
}

/* Mobile Responsiveness for Sliders */
@media screen and (max-width: 768px) {
    .banner-slider-wrapper, .shipping-slider-wrapper {
        height: 300px;
    }
    
    .banner-slide-content, .shipping-slide-content {
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 16px 20px !important;
        background: linear-gradient(to top, rgba(0, 28, 71, 0.95) 0%, rgba(0, 28, 71, 0.75) 60%, rgba(0, 28, 71, 0) 100%) !important;
        box-shadow: none !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        text-align: center !important;
    }
    
    body.dark-theme .banner-slide-content, body.dark-theme .shipping-slide-content {
        background: linear-gradient(to top, rgba(4, 8, 17, 0.95) 0%, rgba(4, 8, 17, 0.75) 60%, rgba(4, 8, 17, 0) 100%) !important;
    }
    
    body[dir="rtl"] .banner-slide-content,
    body[dir="rtl"] .shipping-slide-content,
    body[dir="ltr"] .banner-slide-content,
    body[dir="ltr"] .shipping-slide-content {
        margin: 0 !important;
        text-align: center !important;
    }
    
    .slide-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
        font-weight: 700 !important;
    }
    
    .slide-desc {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    .mid-slider-btn, .ship-slider-btn {
        display: none; /* Hide arrows on smaller viewports for best UX */
    }
    
    .mid-slider-dots, .ship-slider-dots {
        bottom: 12px;
        z-index: 15;
    }
}

@media screen and (max-width: 480px) {
    .banner-slider-wrapper, .shipping-slider-wrapper {
        height: 280px; /* Taller slider gives the image breathing room on mobile */
    }
    
    .banner-slide-content, .shipping-slide-content {
        padding: 10px 15px !important;
        background: linear-gradient(to top, rgba(0, 28, 71, 0.98) 0%, rgba(0, 28, 71, 0.8) 65%, rgba(0, 28, 71, 0) 100%) !important;
    }
    
    body.dark-theme .banner-slide-content, body.dark-theme .shipping-slide-content {
        background: linear-gradient(to top, rgba(4, 8, 17, 0.98) 0%, rgba(4, 8, 17, 0.8) 65%, rgba(4, 8, 17, 0) 100%) !important;
    }
    
    .slide-badge {
        display: none !important; /* Hide badge on mobile to keep the visual clean and clear */
    }
    
    .slide-title {
        font-size: 0.85rem !important; /* Extremely small and elegant title font as requested */
        margin-bottom: 4px !important;
        line-height: 1.25 !important;
    }
    
    .slide-desc {
        font-size: 0.68rem !important; /* Tiny description font */
        line-height: 1.35 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Safe truncation to 2 lines maximum */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .mid-slider-dots, .ship-slider-dots {
        bottom: 6px;
    }
}

/* Click-to-action modern premium link aesthetics */
.phone-link, .email-link {
    color: var(--brand-navy) !important;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
    position: relative;
}

body.dark-theme .phone-link, 
body.dark-theme .email-link {
    color: var(--text-primary) !important;
}

.phone-link:hover, .email-link:hover {
    color: var(--brand-gold) !important;
    transform: translateY(-1.5px);
}

.footer-contact-link {
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-contact-link:hover span {
    color: white !important;
    transform: translateX(4px);
    display: inline-block;
    transition: var(--transition);
}

body[dir="rtl"] .footer-contact-link:hover span {
    transform: translateX(-4px);
}

