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

:root {
    --primary-blue: #0284c7;
    --primary-dark: #0f172a;
    --accent-orange: #f97316;
    --accent-cyan: #06b6d4;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

main > .container-fluid {
    padding: 0;
}

/* Header & Navbar Styling */
.navbar-custom {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.navbar-brand-text span {
    color: var(--accent-orange);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 132, 199, 0.85) 100%), url('../hvac_hero.jpg') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0 60px;
}

.hero-badge {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid var(--accent-orange);
    color: #ffedd5;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(90deg, #38bdf8, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

/* Glass Lead Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.glass-card h3 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.btn-accent {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
    color: #fff;
}

/* System Type Cards */
.system-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

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

.system-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.system-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

/* ERP Section */
.erp-preview-box {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.erp-stat-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.erp-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

/* Compliance Footer Banner */
.compliance-bar {
    background: #1e293b;
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-orange);
}

/* Floating Action Floating Widgets (WhatsApp & Calling) */
.floating-widget-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body[dir="rtl"] .floating-widget-container {
    left: auto;
    right: 25px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.12);
    color: #fff;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-call {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.floating-tooltip {
    position: absolute;
    white-space: nowrap;
    background: #0f172a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body[dir="ltr"] .floating-tooltip {
    left: 70px;
    transform: translateX(-10px);
}

body[dir="rtl"] .floating-tooltip {
    right: 70px;
    transform: translateX(10px);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.footer a:hover {
    color: var(--accent-orange);
}