/* --- Root Variables for Professional Sound Systems Palette --- */
:root {
    /* Primary Colors -  Purple & Deep Violet */
    --primary-accent: #7B3191;
    /* Purple - requested accent */
    --primary-accent-dark: #5A226A;
    /* Darker purple for hover states */
    --accent-orange: #FF6B35;
    /* Keep warm orange for highlight */

    /* Background Colors - Clean Light Tones */
    --bg-primary: #FFFFFF;
    /* Pure white - main background */
    --bg-secondary: #F9F9F9;
    /* Light gray - sections */
    --bg-card: #FFFFFF;
    /* Card background */
    --bg-card-hover: #F0F0F0;
    /* Card hover state */

    /* Text Colors - High Contrast for Readability */
    --text-primary: #1A1A1A;
    /* Dark gray/black - main text */
    --text-secondary: #4A4A4A;
    /* Gray - secondary text */
    --text-muted: #666666;
    /* Muted gray - dimmed text */

    /* Border & Divider Colors */
    --border-color: #E0E0E0;
    /* Light borders */
    --border-accent: #7B3191;
    /* Accent borders */

    /* Utility */
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* --- Layout Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    direction: ltr;
}

.logo {
    direction: ltr;
    display: flex;
    align-items: center;
}

.brand-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: ltr;
    text-align: left;
    line-height: 1;
}

.brand-name {
    direction: ltr;
    display: inline-flex;
    align-items: baseline;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-pro {
    font-weight: 900;
    color: #2D144D; /* Deep royal purple from brochure identity */
    letter-spacing: 0.5px;
}

.brand-tech {
    font-weight: 500;
    color: #D81B60; /* Radiant magenta-pink from brochure identity */
    letter-spacing: 1.5px;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6A1B9A;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

/* Navigation CTA and Language Toggle */
.cta-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#lang-toggle {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1.5px solid var(--primary-accent);
    color: var(--primary-accent);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#lang-toggle:hover {
    background: var(--primary-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(123, 49, 145, 0.25);
}

.btn-nav-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #7B3191 0%, #D81B60 100%);
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 14px rgba(123, 49, 145, 0.25);
    transition: var(--transition);
    line-height: 1.2;
    cursor: pointer;
}

.btn-nav-quote:hover {
    background: linear-gradient(135deg, #5A226A 0%, #B7154E 100%);
    box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

/* Ensure footer brand logo displays true brand identity colors */
.main-footer .brand-pro {
    font-weight: 900;
    color: #2D144D;
}

.main-footer .brand-tech {
    font-weight: 500;
    color: #D81B60;
}

.main-footer .brand-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6A1B9A;
}

/* --- Clients Hero Section --- */
.clients-hero {
    padding: 150px 8% 80px;
    text-align: center;
    background: var(--bg-secondary);
}

.clients-hero .section-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.clients-hero .section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* --- Clients Section --- */
.clients {
    padding: 80px 8%;
    text-align: center;
    background: var(--bg-primary);
}

.clients h3 {
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* Slider container */
.logo-slider {
    position: relative;
    display: flex;
    align-items: center;
}

/* Track */
.logo-track {
    display: flex;
    gap: 40px;
    background: var(--bg-secondary);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    scrollbar-width: none;
    /* Firefox */
    border-radius: 10px;
}

.logo-track::-webkit-scrollbar {
    display: none;
}

.logo-track a {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

/* Logos */
.logo-track img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.logo-track img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(123, 49, 145, 0.3);
    border-color: var(--primary-accent);
}

/* Arrows */
.arrow {
    background: var(--primary-accent);
    border: none;
    color: var(--bg-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: bold;
}

.arrow:hover {
    transform: scale(1.1);
    background: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.arrow.left {
    left: -20px;
}

.arrow.right {
    right: -20px;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-track img {
        width: 200px;
        height: 200px;
    }

    .arrow {
        display: none;
        /* swipe instead */
    }
}


.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-accent);
}

/* --- Buttons --- */
.btn {
    padding: 14px 32px;
    background: var(--primary-accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(123, 49, 145, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--primary-accent);
    color: var(--bg-primary);
    box-shadow: 0 10px 30px rgba(123, 49, 145, 0.4);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ==========================================================
   BROCHURE HERO SECTION (PAGE 1 COVER DESIGN)
   ========================================================== */
.hero {
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    padding: 50px 8% 60px;
    background: #FFFFFF;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle background geometric facets inspired by the brochure cover */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 12% 25%, rgba(216, 27, 96, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 88% 20%, rgba(45, 20, 77, 0.05) 0%, transparent 55%),
        linear-gradient(135deg, #FFFFFF 0%, #FAFAFD 55%, #F4F1F8 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Hero Left Column: Content & Typography --- */
.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-overline {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 7px;
    color: #4A154B;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-brochure-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(2.6rem, 4.3vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.hero-brochure-title .title-row-1 {
    display: block;
}

.hero-brochure-title .word-audio {
    color: #2D144D; /* Deep bold purple */
    font-weight: 900;
}

.hero-brochure-title .word-amp {
    color: #7B3191;
    font-weight: 600;
    margin: 0 4px;
}

.hero-brochure-title .word-visual {
    background: linear-gradient(135deg, #D81B60 0%, #E91E63 50%, #C2185B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.hero-brochure-title .word-solutions {
    display: block;
    color: #2D144D;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Since 1999 accent row with gradient divider line */
.hero-since-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.hero-since-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D144D;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.hero-since-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, #D81B60 0%, #7B3191 40%, rgba(123, 49, 145, 0.1) 100%);
    border-radius: 2px;
    max-width: 280px;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4A4A5A;
    margin-bottom: 26px;
    max-width: 600px;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.btn-brochure-primary {
    background: linear-gradient(135deg, #7B3191 0%, #D81B60 100%);
    color: #FFFFFF;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(216, 27, 96, 0.28);
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-brochure-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(216, 27, 96, 0.4);
    color: #FFFFFF;
}

.btn-brochure-outline {
    background: transparent;
    color: #2D144D;
    border: 2px solid #2D144D;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-brochure-outline:hover {
    background: #2D144D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 20, 77, 0.25);
}

/* --- Brochure 3 Value Pillars (Cover Page Style) --- */
.hero-pillars-band {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(123, 49, 145, 0.16);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    max-width: 640px;
}

.pillar-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pillar-icon-box {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-svg {
    width: 32px;
    height: 32px;
    display: block;
}

.pillar-info {
    display: flex;
    flex-direction: column;
}

.pillar-info strong {
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #2D144D;
    text-transform: uppercase;
    line-height: 1.15;
}

.pillar-info span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #7B7B8B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.pillar-divider {
    width: 1px;
    height: 36px;
    background: rgba(123, 49, 145, 0.18);
    margin: 0 14px;
    flex-shrink: 0;
}

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

.hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 580px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45, 20, 77, 0.14), 0 4px 20px rgba(0, 0, 0, 0.06);
    background: #FFFFFF;
    border: 1px solid rgba(123, 49, 145, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-visual-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(45, 20, 77, 0.2);
}

.hero-artwork-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Floating interactive stat badge */
.hero-floating-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(123, 49, 145, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #2D144D, #D81B60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #2D144D;
    line-height: 1.25;
}

.stat-label small {
    font-size: 0.68rem;
    font-weight: 500;
    color: #D81B60;
}

/* --- Product Cards Section --- */
.products {
    padding: 100px 8%;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(123, 49, 145, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(123, 49, 145, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.product-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-secondary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .icon-box {
    color: var(--accent-orange);
    /* transform: scale(1.1); */
}

.spec-list {
    margin-top: 20px;
    list-style: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spec-list li {
    margin-bottom: 8px;
}

.spec-list li::before {
    content: "→";
    color: var(--primary-accent);
    margin-right: 10px;
    font-weight: bold;
}


/* --- About Section (Redesigned) --- */
.about-section {
    padding: 120px 8%;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Add a subtle background glow */
.about-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 49, 145, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Image Side */
.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--primary-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
    white-space: nowrap;
}

/* Content Side */
.about-content .subtitle {
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--primary-accent), var(--primary-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-description p {
    margin-bottom: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--primary-accent);
}

.stat-info strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: -1;
        /* Image on top on mobile */
        max-width: 600px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 0;
        bottom: 20px;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }
}

/* --- Contact Form --- */
.contact {
    padding: 100px 8%;
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-details h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.info-link i {
    color: var(--primary-accent);
    font-size: 1.2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 5px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
textarea:focus {
    border-color: var(--primary-accent);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(123, 49, 145, 0.1);
}

/* --- Footer --- */
.main-footer {
    background: var(--bg-primary);
    padding: 80px 8% 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-about .logo {
    margin-bottom: 15px;
}

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

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons a {
    color: var(--text-secondary);
    margin-left: 20px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-accent);
    transform: translateY(-3px);
}

/* --- Background Image Sections --- */
.section-with-bg {
    position: relative;
    overflow: hidden;
    padding: 100px 8%;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    z-index: 0;
    filter: blur(1px);
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(123, 49, 145, 0.1) 50%,
            rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.section-bg-content {
    position: relative;
    z-index: 2;
}

/* Modern block background style */
.section-bg-block {
    position: relative;
    padding: 100px 8%;
    overflow: hidden;
}

.bg-block-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.bg-block-image {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    object-fit: contain;
    opacity: 0.2;
    z-index: 0;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
}

.bg-block-content {
    position: relative;
    z-index: 1;
}

/* --- Product Image Cards Section --- */
.product-images-section {
    padding: 120px 8%;
    background: var(--bg-primary);
}

.product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-image-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    /* Important for the overlay */
    display: block;
    text-decoration: none;
    height: 100%;
}

.product-image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(123, 49, 145, 0.95), rgba(123, 49, 145, 0.7) 60%, transparent);
    color: var(--white);
    transform: translateY(60px);
    /* Hide details initially */
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-image-card:hover .card-overlay {
    transform: translateY(0);
}

.product-image-card:hover img {
    transform: scale(1.1);
}

.product-image-card h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.card-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.product-details-hover {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-image-card:hover .product-details-hover {
    opacity: 1;
}

.clickable-card:hover {
    box-shadow: 0 15px 40px rgba(123, 49, 145, 0.4);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        padding: 40px 6% 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-since-row {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-pillars-band {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-brochure-title {
        font-size: 2.3rem;
    }

    .hero-pillars-band {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 16px;
    }

    .pillar-divider {
        width: 100%;
        height: 1px;
        margin: 4px 0;
    }

    .clients-hero {
        padding: 120px 8% 60px;
    }

    .clients-hero .section-header h1 {
        font-size: 2rem;
    }

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

    /* Mobile Navbar Optimization */
    .navbar {
        padding: 10px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .brand-logo-link {
        gap: 8px !important;
        min-width: 0 !important;
    }

    .logo-icon {
        width: 30px !important;
        height: 30px !important;
        flex-shrink: 0 !important;
    }

    .brand-name {
        font-size: 1.25rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .brand-tagline {
        display: none !important;
    }

    .cta-nav {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .btn-nav-quote,
    .cta-nav .btn-small {
        padding: 7px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    #lang-toggle {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        min-width: 36px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    /* Mobile Footer & Social Icons (Separated from Floating WhatsApp) */
    .main-footer {
        padding: 60px 6% 40px;
    }

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

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .footer-bottom p {
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 320px;
        margin: 0 auto;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .social-icons a {
        margin: 0 !important;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(123, 49, 145, 0.08);
        border: 1px solid rgba(123, 49, 145, 0.15);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        color: #2D144D;
        transition: all 0.3s ease;
    }

    .social-icons a:hover,
    .social-icons a:active {
        background: linear-gradient(135deg, #7B3191, #D81B60);
        color: #FFFFFF;
        border-color: transparent;
        transform: translateY(-2px);
    }

    .nav-links {
        display: none;
    }

    .bg-block-image {
        width: 300px;
        height: 300px;
        right: -20%;
        opacity: 0.15;
    }

    .bg-block-container {
        padding: 40px 30px;
    }

    .product-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }

    .product-image-card {
        padding: 35px 20px;
    }

    .product-image-card img {
        width: 140px;
        height: 140px;
    }

    .product-image-card h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding: 8px 10px !important;
    }

    .brand-logo-link {
        gap: 6px !important;
    }

    .logo-icon {
        width: 26px !important;
        height: 26px !important;
    }

    .brand-tagline {
        display: none !important;
    }

    .brand-name {
        font-size: 1.15rem !important;
    }

    .cta-nav {
        gap: 4px !important;
    }

    #lang-toggle {
        padding: 5px 8px !important;
        font-size: 0.74rem !important;
        min-width: 32px !important;
    }

    .btn-nav-quote,
    .cta-nav .btn-small {
        padding: 6px 9px !important;
        font-size: 0.75rem !important;
    }

    .footer-bottom {
        padding-bottom: 35px;
    }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    /* WhatsApp green */
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }
}

/* --- RTL Overrides for Arabic --- */
[dir="rtl"] {
    font-family: 'Tahoma', 'Segoe UI', Roboto, sans-serif;
    /* Arabic-friendly font */
}

/* Navbar */
[dir="rtl"] .logo {
    letter-spacing: 0;
}

[dir="rtl"] .nav-links li a {
    font-weight: 700;
}

/* Hero */
[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-overline {
    letter-spacing: 2px;
}

[dir="rtl"] .hero-since-row {
    flex-direction: row;
}

[dir="rtl"] .hero-since-line {
    background: linear-gradient(270deg, #D81B60 0%, #7B3191 40%, rgba(123, 49, 145, 0.1) 100%);
}

[dir="rtl"] .hero-floating-stat {
    left: auto;
    right: 24px;
}

[dir="rtl"] .pillar-info {
    text-align: right;
}

[dir="rtl"] .subtitle {
    letter-spacing: 0;
}

/* Buttons */
[dir="rtl"] .btn-outline {
    margin-left: 0;
    margin-right: 15px;
}

/* Lists */
[dir="rtl"] .spec-list li::before {
    margin-right: 0;
    margin-left: 10px;
    content: "←";
    /* Flip arrow */
}

/* Slider Arrows */
[dir="rtl"] .arrow.left {
    left: auto;
    right: -20px;
}

[dir="rtl"] .arrow.right {
    right: auto;
    left: -20px;
}

/* Contact Form */
[dir="rtl"] .contact-details {
    text-align: right;
}

[dir="rtl"] .info-link i {
    margin-left: 15px;
}

/* Footer */
[dir="rtl"] .footer-about,
[dir="rtl"] .footer-links {
    text-align: right;
}

[dir="rtl"] .social-icons a {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

/* ============================================= */
/* ===       BLOG SYSTEM STYLES              === */
/* ============================================= */

/* --- Active Nav Link --- */
.active-nav {
    color: var(--primary-accent) !important;
    font-weight: 700 !important;
}

/* --- Blog Hero --- */
.blog-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 8% 100px;
}

.blog-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 34, 106, 0.85) 0%,
        rgba(123, 49, 145, 0.7) 40%,
        rgba(50, 15, 65, 0.9) 100%
    );
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.blog-hero-badge i {
    color: var(--accent-orange);
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.blog-hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Blog Toolbar --- */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.blog-search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.blog-search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-search-input:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(123, 49, 145, 0.1);
}

.blog-post-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Blog Admin Link --- */
.blog-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    background: var(--bg-card);
}

.blog-admin-link:hover {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
    box-shadow: 0 4px 15px rgba(123, 49, 145, 0.1);
}

/* --- Blog Feed Section --- */
.blog-feed-section {
    padding: 60px 8% 100px;
    background: var(--bg-primary);
}

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* --- Blog Card --- */
.blog-card {
    background: var(--bg-card);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: blogCardIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(123, 49, 145, 0.18), 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(123, 49, 145, 0.35);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0.85;
}

.blog-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 6px;
    color: var(--primary-accent);
    font-size: 0.75rem;
}

.blog-card-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.45;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-accent);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.blog-card-readmore {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-accent);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-readmore i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-readmore {
    color: var(--accent-orange);
}

.blog-card:hover .blog-card-readmore i {
    transform: translateX(4px);
}

/* --- Blog Empty State --- */
.blog-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-muted);
}

.blog-empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--border-color);
}

.blog-empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* ============================================= */
/* ===       BLOG POST VIEW                  === */
/* ============================================= */

.blog-post-page {
    padding-top: 80px;
}

.blog-post-hero {
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 60px 8%;
    position: relative;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    background-size: cover;
    background-position: center;
}

.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(123, 49, 145, 0.3));
}

.blog-post-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.blog-back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.blog-back-link:hover {
    color: white;
}

.blog-post-hero-content h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 18px;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.blog-post-meta i {
    margin-right: 6px;
}

.blog-post-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.blog-post-content {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.blog-post-content h2,
.blog-post-content h3 {
    color: var(--text-primary);
    margin: 35px 0 15px;
}

.blog-post-content p {
    margin-bottom: 18px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

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

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-accent);
    padding: 15px 25px;
    margin: 25px 0;
    background: rgba(123, 49, 145, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

.blog-post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.blog-post-content a {
    color: var(--primary-accent);
    text-decoration: underline;
}

.blog-post-not-found {
    text-align: center;
    padding: 150px 20px 80px;
}

.blog-post-not-found i {
    font-size: 4rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.blog-post-not-found h2 {
    margin-bottom: 10px;
}

.blog-post-not-found p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Post Navigation */
.blog-post-nav {
    background: var(--bg-secondary);
    padding: 0 8%;
}

.blog-post-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-nav-item {
    text-decoration: none;
    padding: 25px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-nav-item:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 8px 25px rgba(123, 49, 145, 0.1);
    transform: translateY(-3px);
}

.blog-nav-label {
    font-size: 0.82rem;
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-nav-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.blog-nav-next {
    text-align: right;
}

/* ============================================= */
/* ===       ADMIN STYLES                    === */
/* ============================================= */

/* --- Admin Login --- */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(123, 49, 145, 0.06) 100%);
}

.admin-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 35px;
}

.admin-login-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.6rem;
}

.admin-login-header h2 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.admin-login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-form-group label i {
    margin-right: 6px;
    color: var(--primary-accent);
}

.admin-login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    color: #c53030;
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.admin-login-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Admin Dashboard --- */
.admin-dashboard {
    padding: 120px 8% 80px;
    min-height: 80vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
}

.admin-header h1 i {
    color: var(--primary-accent);
    margin-right: 10px;
}

.admin-header p {
    color: var(--text-muted);
    margin-top: 5px;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-logout-btn {
    margin-left: 0 !important;
}

/* --- Admin Stats --- */
.admin-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    min-width: 200px;
    transition: var(--transition);
}

.admin-stat-card:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 8px 25px rgba(123, 49, 145, 0.1);
}

.admin-stat-card > i {
    font-size: 1.8rem;
    color: var(--primary-accent);
}

.admin-stat-info strong {
    display: block;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.admin-stat-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Admin Table --- */
.admin-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.admin-posts-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-posts-table thead {
    background: var(--bg-secondary);
}

.admin-posts-table th {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-posts-table td {
    padding: 18px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.admin-posts-table tr:hover td {
    background: rgba(123, 49, 145, 0.02);
}

.admin-post-title-cell strong {
    color: var(--text-primary);
    font-weight: 600;
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.admin-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-view-btn:hover {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.admin-edit-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.admin-delete-btn:hover {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

/* --- Admin Empty State --- */
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
}

.admin-empty-state i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 15px;
}

.admin-empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.admin-empty-state p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* --- Delete Modal --- */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.admin-modal {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.admin-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #e53e3e;
    font-size: 1.5rem;
}

.admin-modal h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.admin-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.admin-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.admin-delete-confirm-btn {
    background: #e53e3e !important;
}

.admin-delete-confirm-btn:hover {
    background: #c53030 !important;
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3) !important;
}

/* ============================================= */
/* ===       BLOG EDITOR STYLES              === */
/* ============================================= */

.blog-editor-section {
    padding: 120px 8% 80px;
    min-height: 80vh;
}

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

.editor-header .blog-back-link {
    color: var(--primary-accent);
    margin-bottom: 15px;
}

.editor-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
}

.editor-header h1 i {
    color: var(--primary-accent);
    margin-right: 10px;
}

.blog-editor-form {
    max-width: 900px;
}

.editor-field {
    margin-bottom: 28px;
}

.editor-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.editor-field label small {
    font-weight: 400;
    color: var(--text-muted);
}

.editor-field input[type="text"],
.editor-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    font-size: 1rem;
    transition: var(--transition);
}

.editor-field input[type="text"]:focus,
.editor-field textarea:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(123, 49, 145, 0.1);
}

/* Image Upload */
.editor-image-upload {
    border: 2px dashed var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.editor-image-upload:hover,
.editor-image-upload.drag-over {
    border-color: var(--primary-accent);
    background: rgba(123, 49, 145, 0.03);
}

.image-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: var(--text-muted);
    gap: 8px;
}

.image-upload-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 5px;
}

.image-upload-placeholder small {
    font-size: 0.82rem;
}

.image-preview-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.image-change-text {
    display: block;
    text-align: center;
    padding: 12px;
    color: var(--primary-accent);
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--bg-secondary);
}

/* Quill Editor */
#quillEditor {
    min-height: 300px;
    background: var(--bg-card);
    border-radius: 0 0 10px 10px;
    font-size: 1rem;
}

.ql-toolbar.ql-snow {
    border-radius: 10px 10px 0 0;
    border-color: var(--border-color) !important;
    background: var(--bg-secondary);
}

.ql-container.ql-snow {
    border-color: var(--border-color) !important;
    border-radius: 0 0 10px 10px;
}

.editor-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.editor-publish-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================= */
/* ===       BLOG RESPONSIVE                 === */
/* ============================================= */

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-post-hero-content h1 {
        font-size: 2.2rem;
    }
    .blog-post-nav-inner {
        grid-template-columns: 1fr;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 380px;
        padding: 120px 5% 80px;
    }
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    .blog-hero p {
        font-size: 1rem;
    }
    .blog-hero-wave svg {
        height: 50px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-hero {
        min-height: 300px;
        padding: 40px 5%;
    }
    .blog-post-hero-content h1 {
        font-size: 1.8rem;
    }
    .blog-post-body {
        padding: 40px 16px 60px;
    }
    .admin-dashboard {
        padding: 110px 5% 60px;
    }
    .admin-posts-table th:nth-child(2),
    .admin-posts-table td:nth-child(2) {
        display: none;
    }
    .blog-editor-section {
        padding: 110px 5% 60px;
    }
    .admin-login-card {
        padding: 35px 25px;
    }
}

/* ==========================================================
   BROCHURE-ALIGNED COMPONENTS (PROTECH COMPLETE SOLUTIONS)
   ========================================================== */

/* Hero Value Pillars (Brochure Page 1) */
.hero-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
    max-width: 850px;
}

.hero-pillar-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(123, 49, 145, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.hero-pillar-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-accent);
    box-shadow: 0 12px 30px rgba(123, 49, 145, 0.15);
}

.hero-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 49, 145, 0.15), rgba(255, 107, 53, 0.15));
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-pillar-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.hero-pillar-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Flagship Brochure Showcase Section (Brochure Page 2, Page 3, Page 5)
   ========================================================================== */
.brochure-master-section {
    padding: 95px 0 110px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FC 45%, #F4F1F9 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(123, 49, 145, 0.08);
}

.brochure-ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 92% 15%, rgba(216, 27, 96, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 8% 75%, rgba(123, 49, 145, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.brochure-main-container {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 4%;
}

/* Category Navigation Tabs */
.brochure-nav-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.brochure-nav-tabs {
    display: inline-flex;
    background: #FFFFFF;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(123, 49, 145, 0.16);
    box-shadow: 0 10px 30px rgba(123, 49, 145, 0.08);
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.brochure-tab-btn {
    padding: 12px 24px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: #555566;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: inherit;
}

.brochure-tab-btn i {
    font-size: 1rem;
    color: #7B3191;
    transition: transform 0.25s ease;
}

.brochure-tab-btn:hover {
    color: #7B3191;
    background: rgba(123, 49, 145, 0.06);
}

.brochure-tab-btn:hover i {
    transform: scale(1.15);
}

.brochure-tab-btn.active {
    background: linear-gradient(135deg, #7B3191 0%, #D81B60 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(123, 49, 145, 0.32);
    transform: translateY(-1px);
}

.brochure-tab-btn.active i {
    color: #FFFFFF;
}

/* Tab Panels */
.brochure-tab-panel {
    display: none;
    animation: fadeInPanel 0.4s ease forwards;
}

.brochure-tab-panel.active {
    display: block;
}

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

/* Master Asymmetric Split Grid */
.brochure-split-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 45px;
    align-items: start;
}

/* Left Content Column */
.brochure-content-side {
    display: flex;
    flex-direction: column;
}

.brochure-header-group {
    margin-bottom: 35px;
}

.brochure-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 49, 145, 0.08);
    color: #7B3191;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(123, 49, 145, 0.16);
}

.tag-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D81B60;
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.25);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}

.brochure-hero-title {
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.title-dark-word {
    color: #1A1A24;
    display: block;
}

.title-pink-gradient {
    background: linear-gradient(90deg, #D81B60 0%, #E91E63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-right: 8px;
}

.title-purple-gradient {
    background: linear-gradient(90deg, #7B3191 0%, #4A148C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.brochure-intro-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #555566;
    margin: 0;
    max-width: 700px;
}

/* 3 Solutions Pillars Row */
.brochure-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 42px;
}

.brochure-pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(123, 49, 145, 0.12);
    border-radius: 14px;
    padding: 22px 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.brochure-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(123, 49, 145, 0.12);
    border-color: rgba(123, 49, 145, 0.35);
}

.pillar-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.pillar-audio-card .pillar-accent-line {
    background: linear-gradient(90deg, #E91E63, #D81B60);
}

.pillar-lighting-card .pillar-accent-line {
    background: linear-gradient(90deg, #9C27B0, #7B3191);
}

.pillar-video-card .pillar-accent-line {
    background: linear-gradient(90deg, #5E278E, #3F51B5);
}

.pillar-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pillar-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pillar-audio-card .pillar-icon-badge {
    background: rgba(216, 27, 96, 0.09);
    color: #D81B60;
}

.pillar-lighting-card .pillar-icon-badge {
    background: rgba(123, 49, 145, 0.09);
    color: #7B3191;
}

.pillar-video-card .pillar-icon-badge {
    background: rgba(94, 39, 142, 0.09);
    color: #5E278E;
}

.brochure-pillar-card:hover .pillar-icon-badge {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card-head h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1A1A24;
    line-height: 1.3;
    margin: 0;
}

.pillar-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pillar-bullet-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    color: #444455;
    line-height: 1.4;
}

.pillar-audio-card .pillar-bullet-points li i {
    color: #D81B60;
    font-size: 0.82rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pillar-lighting-card .pillar-bullet-points li i {
    color: #7B3191;
    font-size: 0.82rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pillar-video-card .pillar-bullet-points li i {
    color: #5E278E;
    font-size: 0.82rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 5-Step Interlocking Chevron Workflow Bar */
.brochure-process-block {
    margin-bottom: 42px;
}

.brochure-divider-header {
    margin-bottom: 16px;
}

.divider-subtitle {
    font-size: 0.76rem;
    font-weight: 800;
    color: #7B3191;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 4px;
}

.divider-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1A1A24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.brochure-chevron-ribbon {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.chevron-cell {
    flex: 1;
    padding: 16px 12px 16px 20px;
    color: #FFFFFF;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

/* LTR Chevron Arrow Clip-Paths */
.chevron-cell:not(:first-child) {
    margin-left: -12px;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 50%, 100% 100%, 12px 100%, 0% 50%);
}

.chevron-cell:first-child {
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 12px) 50%, 100% 100%, 0% 100%);
    padding-left: 18px;
}

.chevron-cell:last-child {
    clip-path: polygon(12px 0%, 100% 0%, 100% 100%, 12px 100%, 0% 50%);
    padding-right: 18px;
}

/* RTL Chevron Arrow Clip-Paths */
[dir="rtl"] .chevron-cell:not(:first-child) {
    margin-left: 0;
    margin-right: -12px;
    clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%, 12px 50%);
    padding: 16px 20px 16px 12px;
}

[dir="rtl"] .chevron-cell:first-child {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 12px 50%);
    padding-right: 18px;
    padding-left: 12px;
}

[dir="rtl"] .chevron-cell:last-child {
    clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%);
    padding-left: 18px;
    padding-right: 12px;
}

/* Color Progression */
.chevron-pink {
    background: linear-gradient(135deg, #E91E63 0%, #D81B60 100%);
    z-index: 5;
}

.chevron-magenta {
    background: linear-gradient(135deg, #D81B60 0%, #AD1457 100%);
    z-index: 4;
}

.chevron-purple {
    background: linear-gradient(135deg, #8E24AA 0%, #7B3191 100%);
    z-index: 3;
}

.chevron-violet {
    background: linear-gradient(135deg, #6A1B9A 0%, #4A148C 100%);
    z-index: 2;
}

.chevron-indigo {
    background: linear-gradient(135deg, #3949AB 0%, #1A237E 100%);
    z-index: 1;
}

.chevron-cell:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    z-index: 10;
}

.chevron-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

[dir="rtl"] .chevron-content {
    align-items: flex-start;
}

.chevron-icon {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2px;
}

.chevron-title {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
}

.chevron-sub {
    font-size: 0.72rem;
    opacity: 0.88;
    line-height: 1.25;
    display: block;
    font-weight: 400;
}

/* Applications 8-Badge Strip */
.brochure-apps-block {
    margin-top: 10px;
}

.brochure-apps-strip {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.brochure-app-badge {
    background: #FFFFFF;
    border: 1px solid rgba(123, 49, 145, 0.12);
    border-radius: 12px;
    padding: 14px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.brochure-app-badge:hover {
    transform: translateY(-4px);
    border-color: #7B3191;
    background: #FAF7FC;
    box-shadow: 0 10px 20px rgba(123, 49, 145, 0.12);
}

.app-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(123, 49, 145, 0.08);
    color: #7B3191;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.brochure-app-badge:hover .app-badge-icon {
    background: #7B3191;
    color: #FFFFFF;
    transform: scale(1.08);
}

.app-badge-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #2A2A38;
    line-height: 1.2;
    text-align: center;
}

/* Right Side: Photography Montage */
.brochure-visual-side {
    position: sticky;
    top: 110px;
}

.brochure-montage-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
    padding: 6px;
}

.montage-photo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
    border: 3px solid #FFFFFF;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #11111E;
}

.montage-top-angle {
    height: 270px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 0% 100%);
}

.montage-bottom-angle {
    height: 270px;
    clip-path: polygon(0% 8%, 100% 0%, 100% 100%, 0% 100%);
    margin-top: -12px;
}

.montage-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

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

.montage-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 25, 0.88) 100%);
    display: flex;
    align-items: flex-end;
}

.montage-tag {
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.montage-tag i {
    color: #D81B60;
}

.montage-geometric-slash {
    position: absolute;
    top: 48%;
    left: -12px;
    right: -12px;
    height: 8px;
    z-index: 6;
    pointer-events: none;
    display: flex;
    transform: rotate(-3deg);
}

.slash-line-pink {
    flex: 1;
    background: #D81B60;
    height: 100%;
    box-shadow: 0 0 14px rgba(216, 27, 96, 0.7);
}

.slash-line-purple {
    flex: 1;
    background: #7B3191;
    height: 100%;
    box-shadow: 0 0 14px rgba(123, 49, 145, 0.7);
}

.montage-floating-badge {
    position: absolute;
    z-index: 7;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 49, 145, 0.2);
    border-radius: 50px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.montage-floating-badge:hover {
    transform: translateY(-3px) scale(1.02);
}

.badge-top-right {
    top: -10px;
    right: 15px;
}

.badge-bottom-left {
    bottom: -10px;
    left: 15px;
}

[dir="rtl"] .badge-top-right {
    right: auto;
    left: 15px;
}

[dir="rtl"] .badge-bottom-left {
    left: auto;
    right: 15px;
}

[dir="rtl"] .float-badge-text {
    text-align: right;
}

[dir="rtl"] .montage-tag {
    direction: rtl;
    text-align: right;
}

.float-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B3191, #D81B60);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.float-badge-text strong {
    font-size: 0.86rem;
    font-weight: 800;
    color: #1A1A24;
    display: block;
    line-height: 1.2;
}

.float-badge-text span {
    font-size: 0.7rem;
    color: #666677;
    display: block;
    line-height: 1.2;
}

/* Specialized Tabs Styling (Audio, Lighting, Video) */
.brochure-values-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.value-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 49, 145, 0.08);
    border: 1px solid rgba(123, 49, 145, 0.18);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #7B3191;
    transition: all 0.25s ease;
}

.value-pill-item:hover {
    background: #7B3191;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.specialized-hardware-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.spec-hw-card {
    background: #FFFFFF;
    border: 1px solid rgba(123, 49, 145, 0.12);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.spec-hw-card:hover {
    border-color: #7B3191;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(123, 49, 145, 0.1);
}

.spec-hw-card h5 {
    font-size: 0.86rem;
    font-weight: 800;
    color: #7B3191;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-hw-card p {
    font-size: 0.8rem;
    color: #555566;
    line-height: 1.45;
    margin: 0;
}

.specialized-banner-img {
    margin-top: 10px;
}

.specialized-banner-img img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(123, 49, 145, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.lighting-apps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.light-app-box {
    background: #FFFFFF;
    border: 1px solid rgba(216, 27, 96, 0.15);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.light-app-box:hover {
    transform: translateY(-4px);
    border-color: #D81B60;
    box-shadow: 0 12px 24px rgba(216, 27, 96, 0.12);
}

.light-app-box i {
    font-size: 1.5rem;
    color: #D81B60;
}

.light-app-box strong {
    font-size: 0.85rem;
    color: #222233;
}

/* Responsive Rules for Brochure Showcase */
@media (max-width: 1100px) {
    .brochure-split-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .brochure-visual-side {
        position: static;
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
    .brochure-apps-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 850px) {
    .brochure-pillars-row {
        grid-template-columns: 1fr;
    }
    .brochure-chevron-ribbon {
        flex-direction: column;
        border-radius: 14px;
    }
    .chevron-cell,
    .chevron-cell:first-child,
    .chevron-cell:last-child,
    .chevron-cell:not(:first-child),
    [dir="rtl"] .chevron-cell,
    [dir="rtl"] .chevron-cell:first-child,
    [dir="rtl"] .chevron-cell:last-child,
    [dir="rtl"] .chevron-cell:not(:first-child) {
        clip-path: none !important;
        margin: 0 !important;
        padding: 14px 18px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .chevron-cell:last-child {
        border-bottom: none;
    }
    .chevron-content {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }
    .brochure-apps-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .lighting-apps-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .brochure-hero-title {
        font-size: 1.85rem;
    }
    .montage-top-angle,
    .montage-bottom-angle {
        height: 220px;
    }
    .brochure-tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Selected Global Brands Showcase (Brochure Pages 4, 6, 8) */
.brands-showcase-section {
    padding: 90px 8%;
    background: var(--bg-secondary);
}

.brands-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.brand-tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.brand-tab-btn.active,
.brand-tab-btn:hover {
    background: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
    box-shadow: 0 6px 20px rgba(123, 49, 145, 0.25);
}

.brands-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.brand-badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.brand-badge-card:hover {
    border-color: var(--primary-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(123, 49, 145, 0.15);
}

.brand-logo-img {
    max-height: 50px;
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-badge-card:hover .brand-logo-img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .hero-pillars-grid {
        grid-template-columns: 1fr;
    }
    .process-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .applications-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Clients Portfolio Standalone Section
   ========================================================================== */
.clients-portfolio-section {
    padding: 90px 8% 110px;
    background: #FAFAFB;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.clients-portfolio-section .section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 45px;
}

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

.clients-portfolio-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.clients-portfolio-section .section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Category Filter Tabs */
.client-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.client-tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.client-tab-btn:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 49, 145, 0.12);
}

.client-tab-btn.active {
    background: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
    box-shadow: 0 6px 20px rgba(123, 49, 145, 0.28);
    transform: translateY(-2px);
}

.client-tab-count {
    background: #EEF1F6;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.client-tab-btn.active .client-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* Portfolio Grid */
.clients-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Client Card */
.client-portfolio-card {
    background: var(--bg-card);
    border: 1px solid #E8EBF0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInCard 0.4s ease-out;
}

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

.client-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(123, 49, 145, 0.14);
    border-color: rgba(123, 49, 145, 0.35);
}

/* Logo Image Area */
.client-card-img-wrap {
    width: 100%;
    height: 175px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    position: relative;
    border-bottom: 1px solid #F0F2F5;
}

.client-card-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.client-portfolio-card:hover .client-card-img {
    transform: scale(1.05);
}

/* Card Body */
.client-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.client-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.client-sector-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-sector-badge.education {
    background: #EBF3FF;
    color: #1A62C6;
}

.client-sector-badge.religious {
    background: #FFF4E5;
    color: #B45309;
}

.client-sector-badge.hospitality {
    background: #F3E8FF;
    color: #7B3191;
}

.client-card-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.client-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.client-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.client-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #F0F2F5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.client-card-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.client-card-cta:hover {
    color: var(--primary-accent-dark);
    gap: 10px;
}

.client-card-verified {
    font-size: 0.8rem;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

/* RTL Support for Clients Section */
[dir="rtl"] .client-portfolio-section {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .client-card-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .client-card-cta i {
    transform: rotate(180deg);
}

[dir="rtl"] .client-card-cta:hover i {
    transform: rotate(180deg) translateX(4px);
}

@media (max-width: 992px) {
    .clients-portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }
    .clients-portfolio-section .section-header h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 600px) {
    .clients-portfolio-section {
        padding: 60px 5% 80px;
    }
    .clients-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .client-card-img-wrap {
        height: 160px;
    }
}

/* ==========================================================================
   Selected Projects Carousel Section
   ========================================================================== */
.selected-projects-section {
    padding: 90px 8% 110px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.selected-projects-section .section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 45px;
}

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

.selected-projects-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.selected-projects-section .section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

[dir="rtl"] .selected-projects-section {
    direction: rtl;
}

[dir="rtl"] .selected-projects-section .section-header {
    text-align: center;
}