/* ==========================================
   Al-Saqr Fire - Premium Stylesheet
   ========================================== */

:root {
    /* Color Palette */
    --color-bg-darkest: #0a0b0e;
    --color-bg-darker: #12141c;
    --color-bg-card: rgba(22, 26, 38, 0.65);
    --color-bg-card-hover: rgba(30, 36, 53, 0.85);
    
    --color-primary: #e62e2d; /* Safety Red */
    --color-primary-glow: rgba(230, 46, 45, 0.4);
    --color-secondary: #f97316; /* Fire Orange */
    --color-gold: #d4af37; /* Falcon Gold */
    --color-gold-glow: rgba(212, 175, 55, 0.3);
    
    --color-cyan: #06b6d4; /* Gas/Tech Suppression */
    --color-blue: #3b82f6; /* Water Suppression */
    
    --color-text-bright: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(230, 46, 45, 0.25);
    
    /* Font Families */
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows & Glows */
    --glow-red: 0 0 25px rgba(230, 46, 45, 0.35);
    --glow-gold: 0 0 25px rgba(212, 175, 55, 0.25);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic Font Assignment based on language mode */
body.rtl-mode {
    font-family: var(--font-ar);
    text-align: right;
}

body.ltr-mode {
    font-family: var(--font-en);
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-bright);
    font-weight: 700;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glowing background blobs */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.glow-bg::before, .glow-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
}

.glow-bg::before {
    top: -10%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    animation: floatBlob 25s infinite alternate;
}

.glow-bg::after {
    bottom: -10%;
    left: 5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    animation: floatBlob2 20s infinite alternate;
}

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

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

/* ==========================================
   Header & Navigation
   ========================================== */

.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 11, 14, 0.7);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-medium);
}

.navbar-header.scrolled {
    background-color: rgba(10, 11, 14, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 6px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-bright);
    background: linear-gradient(135deg, #fff 40%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-bright);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-fast);
}

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

.nav-btn-contact {
    background: rgba(230, 46, 45, 0.1);
    border: 1px solid var(--color-primary);
    padding: 8px 20px !important;
    border-radius: 6px;
    color: var(--color-text-bright) !important;
}

.nav-btn-contact:hover {
    background: var(--color-primary);
    box-shadow: var(--glow-red);
}

.nav-btn-contact::after {
    display: none;
}

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

/* Language switch button */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--color-text-bright);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-text-muted);
}

.lang-icon {
    width: 16px;
    height: 16px;
}

/* Mobile Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-text-bright);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
}

.mobile-drawer.open {
    opacity: 1;
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.drawer-content {
    position: absolute;
    top: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-bg-darker);
    border-inline-end: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
}

body.rtl-mode .drawer-content {
    right: 0;
    transform: translateX(100%);
}

body.ltr-mode .drawer-content {
    left: 0;
    transform: translateX(-100%);
}

.mobile-drawer.open .drawer-content {
    transform: translateX(0) !important;
}

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

.drawer-close {
    background: none;
    border: none;
    color: var(--color-text-bright);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link:hover {
    color: var(--color-primary);
    padding-inline-start: 8px;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at bottom, rgba(30, 16, 20, 0.6) 0%, var(--color-bg-darkest) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.rtl-mode .hero-content {
    align-items: flex-start;
}

.badge-glow {
    background: rgba(230, 46, 45, 0.12);
    border: 1px solid rgba(230, 46, 45, 0.3);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(230, 46, 45, 0.15);
    display: inline-block;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-bright);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-red);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--color-text-bright);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text-muted);
    transform: translateY(-2px);
}

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

.image-glow-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: radial-gradient(circle, rgba(230, 46, 45, 0.15) 0%, transparent 60%);
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 46, 45, 0.1);
    position: relative;
    z-index: 2;
}

/* Pulse Rings */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--color-primary-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ring-1 {
    width: 105%;
    height: 105%;
    animation: pulseGlow 4s infinite linear;
}

.ring-2 {
    width: 115%;
    height: 115%;
    animation: pulseGlow 6s infinite linear 1.5s;
}

.ring-3 {
    width: 125%;
    height: 125%;
    animation: pulseGlow 8s infinite linear 3s;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
    50% { opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

/* ==========================================
   Credentials Bar
   ========================================== */

.credentials-bar {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
}

.cred-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.badge-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cred-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.cred-badge:hover {
    border-color: var(--color-primary-glow);
    background: rgba(230, 46, 45, 0.04);
}

.badge-icon {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary);
    background: rgba(230, 46, 45, 0.1);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(230, 46, 45, 0.2);
}

.badge-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* ==========================================
   Common Section Styles
   ========================================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
}

/* ==========================================
   About Section
   ========================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-info h3 {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-info p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.features-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(230, 46, 45, 0.1);
    border: 1px solid rgba(230, 46, 45, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Stats visual */
.about-stats-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.stat-box {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 24px;
    border-radius: 14px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    border-color: var(--color-primary-glow);
    transform: translateY(-5px);
    background-color: var(--color-bg-card-hover);
    box-shadow: 0 12px 30px rgba(230, 46, 45, 0.08);
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-en);
}

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

/* ==========================================
   Products / Systems Section
   ========================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    transition: var(--transition-medium);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    background-color: var(--color-bg-card-hover);
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.red-glow {
    background: rgba(230, 46, 45, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(230, 46, 45, 0.2);
}
.product-card:hover .red-glow {
    box-shadow: var(--glow-red);
}

.amber-glow {
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(249, 115, 22, 0.2);
}
.product-card:hover .amber-glow {
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.35);
}

.blue-glow {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.product-card:hover .blue-glow {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

.gold-glow {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.product-card:hover .gold-glow {
    box-shadow: var(--glow-gold);
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 0.925rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-specs {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-specs li {
    font-size: 0.85rem;
    position: relative;
    padding-inline-start: 16px;
    color: var(--color-text-bright);
}

.product-specs li::before {
    content: '▪';
    position: absolute;
    inline-start: 0;
    color: var(--color-primary);
    font-size: 1rem;
    top: -2px;
}

/* ==========================================
   Wizard Section
   ========================================== */

.wizard-section {
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 16, 20, 0.4) 0%, var(--color-bg-darkest) 100%);
}

.glass-card {
    background: rgba(22, 26, 38, 0.6);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wizard-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 48px;
    border-top: 2px solid var(--color-primary-glow);
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-tag {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 12px;
}

.wizard-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.wizard-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Wizard Progress UI */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.step-num {
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    font-weight: 700;
    font-family: var(--font-en);
    transition: var(--transition-fast);
}

.step-txt {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-dim);
    transition: var(--transition-fast);
}

.progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-bottom: 24px;
    z-index: 1;
}

.progress-step.active .step-num {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-text-bright);
    box-shadow: var(--glow-red);
}

.progress-step.active .step-txt {
    color: var(--color-text-bright);
}

.progress-step.completed .step-num {
    border-color: var(--color-gold);
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
}

.progress-step.completed .step-txt {
    color: var(--color-gold);
}

/* Step content switcher */
.wizard-content-step {
    display: none;
}

.wizard-content-step.active {
    display: block;
    animation: fadeInStep 0.4s ease-in-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-heading {
    font-size: 1.2rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Facility Option Cards */
.facility-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.facility-opt-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
}

.facility-opt-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
}

.facility-opt-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(230, 46, 45, 0.06);
    box-shadow: 0 0 15px rgba(230, 46, 45, 0.05);
}

.opt-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.facility-opt-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.facility-opt-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Area selector CSS */
.area-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.area-radio-card {
    cursor: pointer;
}

.area-radio-card input {
    display: none;
}

.area-card-inner {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 24px 16px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition-fast);
}

.area-radio-card:hover .area-card-inner {
    background-color: rgba(255, 255, 255, 0.04);
}

.area-radio-card input:checked + .area-card-inner {
    border-color: var(--color-primary);
    background-color: rgba(230, 46, 45, 0.06);
}

.area-size {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-bright);
}

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

/* Checklist options */
.options-checklist {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

.options-checklist h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-bright);
    margin-bottom: 12px;
}

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

.check-item input {
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
}

/* Recommendation display style */
.recommendation-result {
    text-align: center;
}

.rec-icon-box {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

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

.rec-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.recommended-systems-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: start;
}

body.rtl-mode .recommended-systems-box {
    text-align: right;
}

.rec-system-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rec-bullet {
    width: 24px;
    height: 24px;
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgb(34, 197, 94);
    border-radius: 50%;
    color: rgb(34, 197, 94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.rec-system-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.rec-system-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.rec-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Wizard footer action buttons */
.wizard-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-footer .hidden {
    display: none;
}

/* ==========================================
   Projects Section
   ========================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card-item {
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.project-img-wrapper {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform var(--transition-slow);
}

/* Generate realistic dynamic backgrounds for project showcases */
.projects-grid .project-card-item:nth-child(1) .project-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.85)), url('assets/hero.png');
}
.projects-grid .project-card-item:nth-child(2) .project-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.85)), url('assets/hero.png');
}
.projects-grid .project-card-item:nth-child(3) .project-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.85)), url('assets/hero.png');
}

.project-card-item:hover .project-img-wrapper {
    transform: scale(1.05);
}

.project-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(230, 46, 45, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-medium);
    pointer-events: none;
}

.project-card-item:hover .project-overlay-glow {
    opacity: 1;
}

.project-info-on-card {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
}

body.rtl-mode .project-info-on-card {
    align-items: flex-start;
}

.proj-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(230, 46, 45, 0.12);
    border: 1px solid rgba(230, 46, 45, 0.25);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-info-on-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--color-text-bright);
}

.project-info-on-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   Contact & Quote Form Section
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

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

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.detail-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.detail-txt {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-weight: 600;
}

.detail-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-bright);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-text-bright);
}

.social-icon:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--glow-red);
}

/* Quote Form Styling */
.contact-form-card {
    padding: 48px;
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-bright);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: inherit;
    color: var(--color-text-bright);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(230, 46, 45, 0.15);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Submit button spinner styling */
.btn-submit-form {
    width: 100%;
    margin-top: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-submit-form .hidden {
    display: none;
}

/* Form success animation styling */
.form-success-alert {
    text-align: center;
    padding: 40px 20px;
    animation: scaleInAlert 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleInAlert {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.alert-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.form-success-alert h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #22c55e;
}

.form-success-alert p {
    color: var(--color-text-muted);
}

/* ==========================================
   Footer
   ========================================== */

.footer-area {
    background-color: #050608;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-about-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inline-start: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.footer-links li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-inline-start: 6px;
}

.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: 16px;
}

.copyright-txt, .footer-terms {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.footer-terms a:hover {
    color: var(--color-text-muted);
}

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

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center !important;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .wizard-box {
        padding: 30px 20px;
    }
    
    .facility-options-grid {
        grid-template-columns: 1fr;
    }
    
    .area-options-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .rec-actions {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   Facebook Integration Elements
   ========================================== */

.link-glowing {
    color: var(--color-primary) !important;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.link-glowing:hover {
    color: var(--color-secondary) !important;
    text-shadow: 0 0 8px var(--color-primary-glow);
}

.fb-widget-card {
    background: rgba(24, 119, 242, 0.07);
    border: 1px solid rgba(24, 119, 242, 0.25);
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.fb-widget-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.fb-widget-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.fb-widget-text {
    display: flex;
    flex-direction: column;
}

.fb-widget-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-bright);
    margin: 0;
}

.fb-widget-likes {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.fb-widget-actions {
    display: flex;
    gap: 12px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Footer Facebook Link styling */
.footer-social-links {
    margin-top: 16px;
}

.footer-fb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid rgba(24, 119, 242, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--color-text-bright);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-fb-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
    color: #fff !important;
}

.fb-svg {
    width: 16px;
    height: 16px;
}

