:root {
    --primary-dark: #002623;
    --primary-dark-gradient: linear-gradient(135deg, #002623 0%, #054239 50%, #428177 100%);
    --accent-gold: #bb9f71;
    --accent-gold-gradient: linear-gradient(135deg, #988561 0%, #b9a779 50%, #988561 100%);
    --light-cream: #edebe0;
    --text-dark: #002623;
    --text-light: #edebe0;
    --secondary-dark: #054239;
    --tertiary-dark: #428177;
    --secondary-gold: #b9a779;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #28a745;
    --info: #002623;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s ease;
}

/* Ensure smooth scroll positions account for fixed header height */
html { scroll-padding-top: 80px; }

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

body {
    font-family: 'Qomra', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    min-height: 100vh;
    direction: rtl;
    overflow-x: hidden;
}

/* Prevent in-page anchor targets from being hidden behind the fixed header */
[id] { scroll-margin-top: 80px; }

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

/* Header Styles */
.header {
    background: rgba(0, 38, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--accent-gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
}

.header.scrolled {
    background: rgba(0, 38, 35, 0.98);
    box-shadow: var(--shadow);
}

/* Ensure header doesn't interfere with Bootstrap */
.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Bootstrap Navbar Customization */
.navbar {
    padding: 0.75rem 0;
    min-height: 65px;
    background: transparent !important;
}

.navbar-brand.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.navbar-brand.logo:hover {
    color: var(--secondary-gold) !important;
    text-decoration: none;
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--light-cream) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    margin: 0 0.15rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent-gold) !important;
    background: rgba(152, 133, 97, 0.2);
}

/* Professional Active Navigation States */
.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
    background: rgba(152, 133, 97, 0.3);
    font-weight: 600;
    position: relative;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(152, 133, 97, 0.25);
    border-radius: var(--border-radius);
}

.navbar-nav .nav-link.active::after {
    width: 100% !important;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-gold));
    box-shadow: 0 0 10px rgba(152, 133, 97, 0.5);
    animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
    0% { 
        box-shadow: 0 0 10px rgba(152, 133, 97, 0.5);
        opacity: 0.8;
    }
    100% { 
        box-shadow: 0 0 15px rgba(152, 133, 97, 0.7);
        opacity: 1;
    }
}

/* Active Dropdown Item Styles */
.navbar-nav .dropdown-item.active {
    background: rgba(152, 133, 97, 0.3) !important;
    color: var(--accent-gold) !important;
    font-weight: 600;
    border-right: 3px solid var(--accent-gold);
    transform: translateX(-8px);
    position: relative;
}

.navbar-nav .dropdown-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-gold), var(--secondary-gold));
    border-radius: 0 2px 2px 0;
}

/* Active Dropdown Parent Styles */
.navbar-nav .nav-item.dropdown.active .dropdown-toggle {
    color: var(--accent-gold) !important;
    background: rgba(152, 133, 97, 0.3);
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(152, 133, 97, 0.25);
    border-radius: var(--border-radius);
}

.navbar-nav .nav-item.dropdown.active .dropdown-toggle::after {
    border-top-color: var(--accent-gold);
    animation: dropdownActivePulse 1.5s ease-in-out infinite;
}

@keyframes dropdownActivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-menu {
    background: rgba(0, 38, 35, 0.98);
    border: 1px solid var(--accent-gold);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    animation: dropdownFadeIn 0.3s ease-out;
    /* RTL positioning - dropdown opens to the left */
    right: 0;
    left: auto;
    /* Ensure proper z-index */
    z-index: 1050;
    /* Prevent text selection during animation */
    user-select: none;
}

.navbar-nav .dropdown-item {
    color: var(--light-cream) !important;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: transparent;
    text-decoration: none;
    display: block;
    width: 100%;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: rgba(152, 133, 97, 0.2);
    color: var(--accent-gold) !important;
    /* RTL hover effect - slide to the right */
    transform: translateX(-5px);
}

.navbar-nav .dropdown-item:active {
    background: rgba(152, 133, 97, 0.3);
    color: var(--accent-gold) !important;
}

/* Dropdown Divider Styling */
.navbar-nav .dropdown-divider {
    border-color: rgba(152, 133, 97, 0.3);
    margin: 0.5rem 0;
}

/* Enhanced Active State Transitions */
.navbar-nav .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .dropdown-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility Improvements */
.navbar-nav .nav-link.active:focus,
.navbar-nav .dropdown-item.active:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Enhanced Dropdown Menu Organization */
.navbar-nav .dropdown-menu {
    min-width: 220px;
}

.navbar-nav .dropdown-item:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.navbar-nav .dropdown-item:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Active Dropdown Item Styles */
.navbar-nav .dropdown-item.active {
    background: rgba(152, 133, 97, 0.3) !important;
    color: var(--accent-gold) !important;
    font-weight: 600;
    border-right: 3px solid var(--accent-gold);
    transform: translateX(-8px);
}

/* Active Dropdown Parent Styles */
.navbar-nav .nav-item.dropdown.active .dropdown-toggle {
    color: var(--accent-gold) !important;
    background: rgba(152, 133, 97, 0.25);
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(152, 133, 97, 0.2);
}

.navbar-nav .nav-item.dropdown.active .dropdown-toggle::after {
    border-top-color: var(--accent-gold);
    animation: dropdownActivePulse 1.5s ease-in-out infinite;
}

@keyframes dropdownActivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.navbar-nav .dropdown-toggle::after {
    /* RTL arrow positioning */
    margin-right: 0.5rem;
    margin-left: 0;
    border-top: 0.3em solid var(--light-cream);
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: var(--transition);
}

.navbar-nav .dropdown-toggle:hover::after {
    border-top-color: var(--accent-gold);
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
    border-top-color: var(--accent-gold);
}

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

/* Additional RTL dropdown positioning for different screen sizes */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        /* Ensure dropdown doesn't go off-screen on larger screens */
        max-width: 250px;
    }
    
    /* RTL dropdown positioning adjustments */
    .navbar-nav .dropdown-menu[data-bs-popper] {
        right: 0 !important;
        left: auto !important;
    }
}

/* RTL Dropdown positioning for Bootstrap's auto positioning */
.navbar-nav .dropdown-menu.dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}

/* Ensure dropdown items are properly aligned in RTL */
.navbar-nav .dropdown-item {
    text-align: right;
    direction: rtl;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: var(--light-cream);
}

.navbar-toggler:focus {
    box-shadow: none;
    color: var(--accent-gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28237, 235, 224, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search Container */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 0.5rem;
    min-width: 250px;
}

.search-container:focus-within {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.search-container .form-control {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    outline: none;
    color: var(--light-cream) !important;
    box-shadow: none;
    flex: 1;
}

.search-container .form-control:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.search-container .form-control::placeholder {
    color: rgba(237, 235, 224, 0.7);
}

.search-container .btn {
    background: var(--accent-gold);
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    color: var(--primary-dark);
}

.search-container .btn:hover {
    background: var(--secondary-gold);
    transform: scale(1.05);
    color: var(--primary-dark);
}

.search-container .btn:focus {
    box-shadow: none;
}

.search-icon {
    font-size: 1rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

[dir='rtl'] .language-switcher {
    padding-right: 22px;
}

[dir='ltr'] .language-switcher {
    padding-left: 22px;
}
/* Scope me-auto override to RTL only so LTR (English) keeps Bootstrap defaults */
[dir='rtl'] .me-auto{
    margin-left: auto !important;
    margin-right: 20px !important;
}

/* Ensure LTR keeps Bootstrap defaults */
[dir='ltr'] .me-auto{
    margin-right: auto !important;
    margin-left: 20px !important;
}

.language-switcher .form-select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-cream) !important;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    min-width: 100px;
}

.language-switcher .form-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-gold);
}

.language-switcher .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.2);
}

.language-switcher .form-select option {
    background: var(--primary-dark);
    color: var(--light-cream);
    padding: 0.5rem;
}

/* Mobile Menu - Bootstrap handles this, but we can customize the collapsed menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 38, 35, 0.98);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--accent-gold);
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
        text-align: center;
    }
    
    /* Mobile Active Navigation Styles */
    .navbar-nav .nav-link.active {
        background: rgba(152, 133, 97, 0.3) !important;
        color: var(--accent-gold) !important;
        font-weight: 600;
        border: 1px solid rgba(152, 133, 97, 0.4);
        transform: none;
        box-shadow: 0 2px 8px rgba(152, 133, 97, 0.2);
    }
    
    .navbar-nav .nav-link.active::after {
        display: none; /* Hide underline on mobile */
    }
    
    /* Mobile Dropdown Styles */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background: rgba(0, 38, 35, 0.95);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        animation: none;
        /* Reset RTL positioning on mobile */
        right: auto;
        left: auto;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(152, 133, 97, 0.1);
        color: var(--light-cream) !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        background: rgba(152, 133, 97, 0.2);
        color: var(--accent-gold) !important;
        /* Reset transform on mobile */
        transform: none;
    }
    
    /* Mobile Active Dropdown Item Styles */
    .navbar-nav .dropdown-item.active {
        background: rgba(152, 133, 97, 0.3) !important;
        color: var(--accent-gold) !important;
        font-weight: 600;
        border-right: none;
        border-left: 3px solid var(--accent-gold);
        transform: none;
    }
    
    .navbar-nav .dropdown-item.active::before {
        display: none; /* Hide left border on mobile */
    }
    
    .search-container {
        margin-top: 1rem;
        width: 100%;
        min-width: auto;
    }
    
    .search-container .form-control {
        width: 100%;
    }
    
    .language-switcher {
        margin-top: 1rem;
    }
    
    .language-switcher .form-select {
        width: 100%;
    }
    
    .d-flex.align-items-center {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
}

/* Additional responsive improvements */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .navbar-brand.logo {
        font-size: 1.4rem;
    }
    
    .search-container {
        min-width: auto;
        width: 100%;
    }
    
    .search-container .form-control {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-container .btn {
        padding: 0.4rem;
        min-width: 35px;
    }
    
    .language-switcher .form-select {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
        min-width: 90px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.35rem 0.7rem;
    }
}

/* Main Content */
.main {
    margin-top: 65px;
    min-height: calc(100vh - 65px);
}

@media (max-width: 576px) {
    .main {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    .row.g-5{
        margin: 0 !important;
  padding-top: 20px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    overflow: hidden;
    padding: 100px 0 90px;
}

.hero::before {
    content: none;
}

/* Bottom soft fade to separate next section */
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 120px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.15) 100%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-map {
    position: relative;
    z-index: 2;
}

.hero-map .hero-badges {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-map .badge-chip {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgb(152, 133, 97);
}

.syria-map-container {
    width: 100%;
   background: transparent;
    border: none;
  
}

.syria-map-container::before {
    display: none;
}

.syria-map-container::after {
    display: none;
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #D4AF37, #F4D03F, #D4AF37, #4A7C7E);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.3;
}

#map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    background: transparent;
    margin-top: -25px;
}

/* Modern Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-cream);
    text-align: left;
    max-width: 680px;
}

/* Glass panel for clarity */

.hero-panel::before {
    content: none;
}
/* Subtle gradient border for hero panel */


.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
    background: linear-gradient(180deg, var(--light-cream) 0%, #faf6ea 55%, rgba(232, 227, 211, 0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #edebe0;
    background-size: 200% 200%;
    animation: titleShine 7s linear infinite, titleSlideIn 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    color: rgba(237, 235, 224, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 1.5rem;
}

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

@keyframes titleSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9); 
    }
    50% { 
        opacity: 0.7; 
        transform: translateY(-5px) scale(1.02); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}


@keyframes badgesSlideIn {
    0% { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes searchSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-5px) scale(1.02); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes actionsSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes statsSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(50px) scale(0.9); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-10px) scale(1.02); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}


/* Hero Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    animation: badgesSlideIn 0.8s ease-out 0.9s both;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(237, 235, 224, 0.08);
    border: 1px solid rgb(152, 133, 97);
    color: var(--light-cream);
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

/* Old hero-search styles removed - replaced with Bootstrap-compatible styles above */

/* Floating decorative shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.35;
    animation: float 12s ease-in-out infinite;
}
/* Tone down decorative shapes for clarity */
.floating-shape { opacity: 0.18; filter: blur(40px); }
.shape-1 { width: 140px; height: 140px; background: #88c0b7; top: 10%; right: 10%; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; background: #b9a779; bottom: 15%; left: 8%; animation-delay: 1.5s; }
.shape-3 { width: 110px; height: 110px; background: #4A7C7E; top: 35%; left: 45%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-12px) translateX(6px); }
}

/* Hero background animations removed */

/* Optionally hide shapes entirely for the cleanest look */
@media (prefers-reduced-motion: reduce) {
    .floating-shape { display: none; }
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border-radius: 20px;
    border: 2px solid rgba(237,235,224,0.6);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
    opacity: 0.8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.hero-scroll-cue .scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--light-cream);
    border-radius: 50%;
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 0.9; }
    70% { transform: translateY(18px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 0.9; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-content {
        text-align: inherit;
    }
    /* Ensure map has a usable height on tablets */
    .syria-map-container {
        height: 460px;
    }
    #map {
        height: 100%;
    }
}

/* Hero Search Responsive */
@media (max-width: 768px) {
    .hero-search {
        margin: 1rem auto 0 auto;
        padding: 0.75rem;
    }
    
    .hero-search .form-control,
    .hero-search .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-search .btn-primary {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-search-hints .badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    /* Tighten spacing and make actions stack nicely on mobile */
    .hero-actions {
        gap: 0.75rem;
    }
    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }
    /* Map height for small devices */
    .syria-map-container {
        height: 360px;
    }
    #map {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .hero-search {
        margin: 0.75rem auto 0 auto;
        padding: 0.5rem;
    }
    
    .hero-search .form-control,
    .hero-search .form-select {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .hero-search .btn-primary {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .hero-search-hints {
        gap: 0.25rem;
    }
    
    .hero-search-hints .badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    /* Compact hero padding on very small screens */
    .hero {
        padding: 30px 0 60px;
    }
    /* Map height for very small devices */
    .syria-map-container {
        height: 280px;
    }
    #map {
        height: 100%;
    }
}

/* HTML5 Country Map v4.5 - Syria Map Styling */
.simplemaps_worldmap {
    background: transparent !important;
    width: 100% !important;
    height: 100% !important;
}

.simplemaps_worldmap .region {
    fill: #4A7C7E !important;
    stroke: #ffffff !important;
    stroke-width: 2px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.simplemaps_worldmap .region:hover {
    fill: #2D5A5C !important;
    stroke: #ffffff !important;
    stroke-width: 3px !important;
    filter: drop-shadow(0 0 12px rgba(45, 90, 92, 0.6)) !important;
    transform: scale(1.02) !important;
}

.simplemaps_worldmap .location {
    display: none !important; /* Hide all location pins/markers */
}

.simplemaps_worldmap .location:hover {
    display: none !important; /* Hide all location pins/markers on hover */
}

.simplemaps_worldmap .popup {
    background: rgba(0, 38, 35, 0.95) !important;
    color: white !important;
    border: 2px solid #D4AF37 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
    font-family: 'Qomra', sans-serif !important;
    backdrop-filter: blur(10px) !important;
}

.simplemaps_worldmap .popup::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(45deg, #D4AF37, #F4D03F, #D4AF37) !important;
    border-radius: 12px !important;
    z-index: -1 !important;
}

.simplemaps_worldmap .zoom_control {
    display: none !important; /* Hide zoom controls since zoom is disabled */
}

/* Hide any zoom-related elements */
.simplemaps_worldmap .zoom_in,
.simplemaps_worldmap .zoom_out,
.simplemaps_worldmap .zoom_reset,
.simplemaps_worldmap .zoom_buttons {
    display: none !important;
}

.simplemaps_worldmap .zoom_control button {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%) !important;
    color: #002623 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
}

.simplemaps_worldmap .zoom_control button:hover {
    background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4) !important;
}

.syria-svg-map .syria-main {
    cursor: pointer;
    transition: all 0.3s ease;
}

.syria-svg-map .syria-main:hover {
    fill: rgba(152, 133, 97, 0.4) !important;
    stroke: rgba(255, 255, 255, 0.8) !important;
    stroke-width: 3px !important;
}

.syria-svg-map .region {
    cursor: pointer;
    transition: all 0.3s ease;
}

.syria-svg-map .region:hover {
    fill: rgba(152, 133, 97, 0.6) !important;
    stroke: rgba(255, 255, 255, 0.8) !important;
    stroke-width: 3px !important;
}

.syria-svg-map .factory-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.syria-svg-map .factory-marker:hover {
    fill: #b9a779;
    stroke-width: 3;
    stroke: #ffffff;
}

/* Tooltip Styling */


/* Factory Categories Section */


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 38, 35, 0.8) 0%, rgba(5, 66, 57, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: inherit;
    color: var(--light-cream);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-stats {
    margin-bottom: 3rem;
    animation: statsSlideUp 1s ease-out 1.8s both;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(237,235,224,0.2);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(237,235,224,0.4);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
    color: var(--light-cream);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes countUp {
    0% { 
        opacity: 0; 
        transform: translateY(20px) scale(0.8); 
    }
    50% { 
        opacity: 0.7; 
        transform: translateY(-5px) scale(1.05); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: inherit;
    flex-wrap: wrap;
    animation: actionsSlideIn 1s ease-out 1.5s both;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    min-width: 150px;
}

.btn-primary {
    background: linear-gradient(135deg, #988561 0%, #796a4e 100%);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(152,133,97,0.35);
}

.btn-primary:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(152,133,97,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-cream);
    border: 2px solid var(--light-cream);
}

.btn-secondary:hover {
    background: var(--light-cream);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: rgba(237,235,224,0.85);
    border: 2px dashed rgba(237,235,224,0.35);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    color: var(--primary-dark);
    background: var(--light-cream);
    border-style: solid;
}

/* Quick Search Section */
.quick-search {
    padding: 4rem 0;
    background: var(--gray-100);
}

.search-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.search-form {
    margin-top: 2rem;
}

.search-input-group {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.main-search-input {
    flex: 1;
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.search-category {
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    background: var(--gray-100);
    border-left: 1px solid var(--gray-300);
    outline: none;
    cursor: pointer;
    min-width: 150px;
}

.search-submit-btn {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-submit-btn:hover {
    background: var(--secondary-gold);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services - Modern Cards */
.services-section {
    padding: 4rem 0;
    position: relative;
    background: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #002623;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 38, 35, 0.8) 0%, rgba(5, 66, 57, 0.6) 100%);
}

.services-section > .container { position: relative; z-index: 1; }

/* Services header colors on dark background */
.services-section .section-header h2 {
    color: var(--light-cream);
}
.services-section .section-header p {
    color: rgba(237,235,224,0.9);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    position: relative;
    background: rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(237,235,224,0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 400px at -10% -20%, rgba(152,133,97,0.08), transparent 40%),
                radial-gradient(800px 300px at 110% 120%, rgba(66,129,119,0.06), transparent 40%);
    opacity: 0.7;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.28);
    border-color: rgba(237,235,224,0.45);
    background: rgba(255,255,255,0.14);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    font-size: 1.7rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(152,133,97,0.20), rgba(66,129,119,0.18));
    border: 1px solid rgba(237,235,224,0.25);
    color: var(--light-cream);
    margin-bottom: 0.9rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
}

.service-desc {
    color: rgba(237,235,224,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 576px) {
    .services-section { padding: 3rem 0; }
    .service-card { padding: 1.25rem; }
    .service-icon { width: 48px; height: 48px; font-size: 1.5rem; }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* Categories Section */
.categories-section {
    padding: 2rem 0;
    background: var(--white);
  

    display: flex;
    flex-direction: column;
}

.categories-section .section-header {
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem;
    align-content: start;
    grid-auto-rows: 1fr;
}

.category-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}


.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

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

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.category-card p {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.category-count {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.3rem 0.7rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
}

/* Factories Section */
.page-header {
    position: relative;
    padding: 100px 0 40px;
    background: var(--primary-dark);
    color: var(--light-cream);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 38, 35, 0.85) 0%, rgba(5, 66, 57, 0.65) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(237,235,224,0.9);
    margin-top: 0.5rem;
}

.factories-section {
    padding: 3rem 0;
    background: var(--gray-100);
}

.factories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    grid-auto-rows: 1fr;
}

.factory-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 1;
    transform: translateY(50px) scale(0.95);
    position: relative;
    backdrop-filter: blur(10px);
    /* Improve scroll performance for animated/hovered cards */
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0) translateY(50px) scale(0.95);
    contain: content;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.factory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--secondary-gold) 50%, var(--accent-gold) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.factory-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(152,133,97,0.03) 0%, rgba(152,133,97,0.01) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.factory-card:hover {
    box-shadow: 
        0 32px 64px rgba(0,0,0,0.12),
        0 16px 32px rgba(152,133,97,0.15),
        0 8px 16px rgba(0,0,0,0.08);
    border-color: rgba(152,133,97,0.3);
}

.factory-card:hover::before {
    transform: scaleX(1);
    background-position: 100% 0;
}

.factory-card:hover::after {
    opacity: 1;
}

.factory-image {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure featured badge is positioned correctly on factory cards */
.factory-image .factory-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.factory-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(152,133,97,0.15) 0%, 
        rgba(152,133,97,0.08) 50%, 
        rgba(152,133,97,0.12) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
}

.factory-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.factory-card:hover .factory-image {
    transform: scale(1.05);
}

.factory-card:hover .factory-image::before {
    opacity: 1;
    transform: scale(1);
}

.factory-card:hover .factory-image::after {
    opacity: 1;
}

.factory-placeholder {
    font-size: 3rem;
    opacity: 0.6;
    color: var(--gray-500);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.factory-card:hover .factory-placeholder {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 8px rgba(152,133,97,0.3));
}

.factory-badge {
   
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--secondary-gold) 50%, var(--accent-gold) 100%);
    background-size: 200% 100%;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 
        0 8px 24px rgba(152,133,97,0.4),
        0 4px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.factory-card:hover .factory-badge {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(152,133,97,0.5),
        0 6px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.4);
    background-position: 100% 0;
}

.factory-content {
    padding: 1rem 0;
    margin: 0.5rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.factory-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.factory-content .btn {
    margin-top: auto;
}

.factory-card:hover .factory-content h3 {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

.factory-location {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.factory-location::before {
    content: '📍';
    font-size: 0.8rem;
}

.factory-description {
    color: var(--gray-700);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.factory-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.category-tag {
    background: linear-gradient(135deg, rgba(152,133,97,0.08) 0%, rgba(152,133,97,0.04) 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(152,133,97,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.category-tag:hover {
    background: linear-gradient(135deg, rgba(152,133,97,0.15) 0%, rgba(152,133,97,0.08) 100%);
    border-color: rgba(152,133,97,0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(152,133,97,0.2);
}

.category-tag:hover::before {
    left: 100%;
}

.factory-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(152,133,97,0.06) 0%, rgba(152,133,97,0.03) 100%);
    border-radius: 999px;
    border: 1px solid rgba(152,133,97,0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(152,133,97,0.1) 0%, rgba(152,133,97,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    background: linear-gradient(135deg, rgba(152,133,97,0.12) 0%, rgba(152,133,97,0.06) 100%);
    border-color: rgba(152,133,97,0.25);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(152,133,97,0.15);
}

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

.section-footer {
    text-align: center;
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    background: var(--gray-100);
    color: var(--text-dark);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-dark);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.stat-card p {
    font-size: 1rem;
    color: var(--gray-700);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
    background: url('../bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 38, 35, 0.85) 0%, rgba(5, 66, 57, 0.7) 50%, rgba(66, 129, 119, 0.6) 100%);
}

.about-section .container { 
    position: relative; 
    z-index: 1; 
}

/* Section Header */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-gold));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(237, 235, 224, 0.9);
    line-height: 1.7;
    max-width: 90%;
    margin: 0 auto;
}

/* Main Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.about-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(237, 235, 224, 0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--secondary-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(237, 235, 224, 0.3);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

/* Featured Card */
.about-card.featured {
    background: linear-gradient(135deg, rgba(187, 159, 113, 0.15) 0%, rgba(185, 167, 121, 0.1) 100%);
    border-color: rgba(187, 159, 113, 0.3);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-gold));
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Icon */
.card-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(187, 159, 113, 0.2) 0%, rgba(185, 167, 121, 0.1) 100%);
    border: 2px solid rgba(187, 159, 113, 0.3);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover .icon-wrapper {
    transform: scale(1.1);
    border-color: rgba(187, 159, 113, 0.5);
    background: linear-gradient(135deg, rgba(187, 159, 113, 0.3) 0%, rgba(185, 167, 121, 0.2) 100%);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-description {
    color: rgba(237, 235, 224, 0.85);
    line-height: 1.6;
    font-size: 1rem;
}

/* Card Decoration */
.card-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(187, 159, 113, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover .card-decoration {
    opacity: 1;
}

/* Extra Content Section */
.about-extra {
    margin-top: 3rem;
    text-align: center;
}

.extra-content {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 235, 224, 0.1);
    border-radius: 50px;
    padding: 1.5rem 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.extra-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(237, 235, 224, 0.2);
    transform: translateY(-2px);
}

.extra-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(187, 159, 113, 0.3));
}

.extra-text h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.extra-text p {
    color: rgba(237, 235, 224, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        color: rgba(237, 235, 224, 0.9);
        margin: 0 auto;
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .extra-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-card {
        padding: 1.25rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.about-feature p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(237,235,224,0.25);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    backdrop-filter: blur(10px);
}

.visual-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.visual-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.visual-card p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.visual-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.28);
    border-color: rgba(237,235,224,0.45);
    background: rgba(255,255,255,0.14);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-100);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;   
    min-height: calc(80svh - 80px);
 

}
/* Vertically center content within the contact section */
.contact-section .container {

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure proper fit on smaller screens */
@media (max-width: 992px) {
    .contact-section {
        min-height: auto;
        padding: 2rem 0;
        max-height: none;
    }
    .contact-section .container {
        height: auto;
        justify-content: flex-start;
        max-height: none;
    }
}

.contact-section .section-header h2 { color: var(--text-dark); }
.contact-section .section-header p { color: var(--gray-700); }
.contact-section .section-header { text-align: center; }

/* Decorative layered background for Contact section */
.contact-section::before {
    content: '';
    position: absolute;
    inset: -20% -10% -10% -10%;
    background: radial-gradient(60% 60% at 50% 0%, rgba(0,38,35,0.10) 0%, rgba(0,38,35,0.06) 35%, rgba(0,38,35,0.03) 55%, rgba(0,0,0,0) 70%);
    filter: blur(26px);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.10;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Modern surface panel wrapping the contact content */
.contact-section .row.g-5 {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    padding: 2rem;
    position: relative;
    margin: 0 auto;
}

.contact-section .row.g-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-top-left-radius: var(--primary-dark);
    border-top-right-radius: var(--primary-dark);
    background: linear-gradient(90deg, var( --accent-gold), var(--primary-dark) 50%, transparent);
    opacity: 0.6;
   width: 90%;
   margin: 0 auto;
   border-radius: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(187,159,113,0.15), rgba(187,159,113,0.05));
    border: 1px solid rgba(187,159,113,0.35);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: var(--white);
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
}

/* Gentle floating accent in the background */
.contact-section .row.g-5::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -60px;
    bottom: -60px;
    background: radial-gradient(closest-side, rgba(187,159,113,0.18), rgba(187,159,113,0));
    filter: blur(2px);
    border-radius: 50%;
    animation: contactFloat 10s ease-in-out infinite;
}

@keyframes contactFloat {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(-8px); }
    100% { transform: translateY(0) translateX(0); }
}

.contact-form {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    position: relative;
}

/* Gradient border ring for contact form */
.contact-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--border-radius-lg) + 2px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(187,159,113,0.8), rgba(0,38,35,0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Modernize form controls inside the contact form */
.contact-form .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.9rem 1rem;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) inset;
}

.contact-form .form-control::placeholder {
    color: var(--gray-500);
}

.contact-form .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(187, 159, 113, 0.15);
}

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

.contact-form .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 10px 24px rgba(152, 133, 97, 0.35);
    transition: var(--transition);
}

.contact-form .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(152, 133, 97, 0.45);
}

.contact-form .btn.btn-primary:active {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(152, 133, 97, 0.1);
}

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

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--light-cream);
    border-top: 1px solid var(--accent-gold);
}

.footer-top {
    position: relative;
    padding: 3rem 0 1.5rem 0;
}

.footer-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 0%, rgba(187,159,113,0.12), transparent 60%);
    pointer-events: none;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--accent-gold);
    text-decoration: none;
}

.footer-desc {
    color: rgba(237,235,224,0.85);
    margin: 0.25rem 0 0.75rem 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0.3rem 0; }
.footer-links a {
    color: rgba(237,235,224,0.9);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary-gold); }

.footer-contact { list-style: none; margin: 0 0 0.75rem 0; padding: 0; color: rgba(237,235,224,0.9); }

.social-links { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.social-links a { 
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(237,235,224,0.25); border-radius: 50%; color: var(--light-cream); text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover { background: rgba(237,235,224,0.1); color: var(--accent-gold); transform: translateY(-2px); }

.footer-cta { min-width: 0; }

.footer-bottom {
    border-top: 1px solid rgba(237,235,224,0.15);
    padding: 0.9rem 0;
    background: rgba(0,0,0,0.08);
}

.footer-bottom-inner {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: rgba(237,235,224,0.9);
}

.mini-links { display: flex; gap: 0.5rem; align-items: center; }
.mini-links a { color: rgba(237,235,224,0.85); text-decoration: none; }
.mini-links a:hover { color: var(--secondary-gold); }
.mini-links .dot { opacity: 0.5; }

@media (max-width: 576px) {
    .footer-top { padding: 2rem 0 1rem 0; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .stat-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--accent-gold);
        font-weight: 700;
    }

    .factory-content .btn{
        font-size: 14px;
        padding: 0.5em;
    }
}

/* Animations */



/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        max-width: 500px;
    }
    
    .hero-stats .row {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .syria-map-container {
        height: 400px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Old mobile menu styles removed - Bootstrap handles this now */
    
    .search-container {
        width: 100%;
        margin-top: 1rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        max-width: 300px;
        padding-top: 90px;
    }
    
    .hero-stats .row {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: inherit;
    }
    
    .syria-map-container {
        height: 300px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-category {
        border-left: none;
        border-top: 1px solid var(--gray-300);
    }
    
    .categories-section {
      
        padding: 1rem 0;
    }
    
    .categories-section .section-header {
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .category-card {
        padding: 0.75rem;
    }
    
    .category-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .category-card p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .category-count {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .factories-section {
        padding: 2rem 0;
    }
    
    .factories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .factory-image {
        height: 120px;
    }
    
    .factory-placeholder {
        font-size: 2.5rem;
    }
    
    .factory-content {
        padding: 1rem 0;
        margin: 0.25rem;
    }
    
    .factory-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .factory-location {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .factory-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .factory-categories {
        gap: 0.3rem;
        margin-bottom: 0.75rem;
    }
    
    .category-tag {
        padding: 0.15rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .factory-stats {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
        padding-top: 10px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* LTR Support moved to style-ltr.css */

/* Factory Profile Styles */
.factory-header {
    margin-top: 70px;
}

.factory-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--tertiary-dark) 100%);
    padding: 3rem 0;
    overflow: hidden;
}

.factory-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="factory-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(237,235,224,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23factory-grid)"/></svg>');
    opacity: 0.3;
}

.factory-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 38, 35, 0.8) 0%, rgba(5, 66, 57, 0.6) 100%);
}

.factory-hero-content {
    position: relative;
    z-index: 2;
    color: var(--light-cream);
}

.factory-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.factory-breadcrumb a {
    color: var(--light-cream);
    text-decoration: none;
    transition: var(--transition);
}

.factory-breadcrumb a:hover {
    color: var(--accent-gold);
}

.factory-breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.factory-header-info {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.factory-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.factory-logo-placeholder {
    font-size: 3rem;
    opacity: 0.8;
}

.factory-basic-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.factory-location {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.factory-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.factory-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.factory-badge.verified {
    background: var(--success);
    color: var(--white);
}

.factory-badge.featured {
    background: var(--warning);
    color: var(--text-dark);
}

.factory-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.factory-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-icon {
    margin-left: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

/* Factory Stats */
.factory-stats {
    padding: 2rem 0;
    background: var(--gray-100);
}

.factory-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.factory-stats .stat-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.factory-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.factory-stats .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.factory-stats .stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.factory-stats .stat-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Factory Content */
.factory-content {
    padding: 1rem 0;
    background: var(--white);
}

.factory-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.factory-section {
    margin-bottom: 4rem;
}

.factory-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.factory-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.factory-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-gold);
}

.feature-item .feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

/* Factory Tabs (Modern UI) */
.factory-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(0, 38, 35, 0.8);
    border: 1px solid rgba(237,235,224,0.25);
    padding: 0.5rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    position: sticky;
    top: 80px;
    z-index: 5;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

/* Make tabs span above both columns */
.factory-layout .factory-tabs {
    grid-column: 1 / -1;
}

.factory-tabs-title {
    color: var(--light-cream);
    font-weight: 700;
    margin-inline-end: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(237,235,224,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 100%;
    margin-bottom: 0.35rem;
    text-align: center;
}

.tab-btn {
    appearance: none;
    border: 1px solid rgba(237,235,224,0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-cream);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--secondary-gold) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(152,133,97,0.25);
    border-color: transparent;
}

.tab-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition);
}

.tab-btn.active::after {
    width: 60%;
}


/* Expand main area when products tab is active */
.factory-layout.products-active {
    grid-template-columns: 1fr;
}

/* Mobile adjustments for factory tabs */
@media (max-width: 768px) {
    .factory-tabs {
        overflow-x: visible;
        white-space: normal;
        gap: 0.4rem;
        top: 72px;
        padding: 0.4rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        justify-content: center;
    }

    .factory-tabs::-webkit-scrollbar {
        height: 6px;
    }
    .factory-tabs::-webkit-scrollbar-thumb {
        background: rgba(237,235,224,0.3);
        border-radius: 999px;
    }

    .factory-tabs-title {
        font-size: 0.9rem;
        padding: 0.35rem 0.75rem;
        margin-inline-end: 0.4rem;
        flex: 1 1 100%;
        order: 0;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.45rem 0.85rem;
        flex: 0 0 auto;
        scroll-snap-align: start;
        order: 1;
    }
}

/* Products Section */
.product-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: 1fr;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-placeholder {
    font-size: 3rem;
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.3rem 0.6rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.gallery-placeholder {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.gallery-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Sidebar */
.factory-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item .contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.hours-item span:last-child {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.certifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.cert-item .cert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cert-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cert-item p {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin: 0;
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.map-placeholder p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Factory Products Full Width Section */
.factory-products-full {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    margin-top: 4rem;
}

.factory-products-full .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.factory-products-full .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.factory-products-full .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #002623, #054239);
    border-radius: 2px;
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr;
}

.products-grid-full .product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-grid-full .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Responsive Factory Layout */
@media (max-width: 1024px) {
    .factory-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .products-grid-full {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .factory-products-full {
        padding: 4rem 0;
    }
    
    .factory-header-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .factory-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .factory-hero {
        padding: 2rem 0;
    }
    
    .factory-basic-info h1 {
        font-size: 2rem;
    }
    
    .factory-logo {
        width: 100px;
        height: 100px;
    }
    
    .factory-logo-placeholder {
        font-size: 2.5rem;
    }
    
    .factory-actions {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-filters {
        flex-wrap: wrap;
    }
    
    .products-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .factory-products-full .section-header h2 {
        font-size: 2rem;
    }
    
    .factory-products-full {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .factory-basic-info h1 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .factory-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      
    }
    
    .factory-products-full .section-header h2 {
        font-size: 1.75rem;
    }
    
    .factory-products-full {
        padding: 2.5rem 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .main {
        margin-top: 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Reduce hover impact on touch devices to avoid scroll jank */
@media (max-width: 768px) {
    .factory-card:hover {
        transform: none !important;
    }
}





.factory-card:nth-child(1),
.factory-card:nth-child(2),
.factory-card:nth-child(3),
.factory-card:nth-child(4),
.factory-card:nth-child(5),
.factory-card:nth-child(6),
.factory-card:nth-child(7),
.factory-card:nth-child(8),
.factory-card:nth-child(9),
.factory-card:nth-child(10) {
    animation-delay: 0s !important;
}

.trust-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    opacity: 0.9;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.trust-item {
    color: rgba(237,235,224,0.9);
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(237,235,224,0.2);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
}

/* Accent highlight */
.hero-title .accent {
    color: #bb9f71;
}

/* Hero Search Styling */
.hero-search {
    max-width: 940px;
    margin: 1.25rem auto 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(237, 235, 224, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: searchSlideUp 1s ease-out 1.2s both;
}

.hero-search-input-group {
    margin-bottom: 0;
}

.hero-search .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(237, 235, 224, 0.25);
    color: var(--light-cream);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.hero-search .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(152, 133, 97, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(152, 133, 97, 0.25);
    color: var(--light-cream);
}

.hero-search .form-control::placeholder {
    color: rgba(237, 235, 224, 0.6);
}

.hero-search .form-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(237, 235, 224, 0.25);
    color: var(--light-cream);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.hero-search .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(152, 133, 97, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(152, 133, 97, 0.25);
    color: var(--light-cream);
}

.hero-search .form-select option {
    background: var(--primary-dark);
    color: var(--light-cream);
    padding: 0.5rem;
}

.hero-search .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--secondary-gold) 100%);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(152, 133, 97, 0.35);
    transition: all 0.3s ease;
}

.hero-search .btn-primary:hover {
    background: var(--secondary-gold);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(152, 133, 97, 0.4);
    color: var(--primary-dark);
}

.hero-search .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(152, 133, 97, 0.5);
}

.hero-search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-search-hints .badge {
    background: rgba(152, 133, 97, 0.15) !important;
    border: 1px solid rgba(152, 133, 97, 0.35);
    color: var(--light-cream) !important;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-hints .badge:hover {
    background: rgba(152, 133, 97, 0.3) !important;
    transform: translateY(-1px);
}

/* Advanced Search Sidebar Styles */
.advanced-search-sidebar {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border: 1px solid rgba(152,133,97,0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 4px 16px rgba(152,133,97,0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 2rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    color: var(--accent-gold);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(152,133,97,0.2);
}

.advanced-search-form .form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.advanced-search-form .form-control,
.advanced-search-form .form-select {
    border: 1px solid rgba(152,133,97,0.3);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.advanced-search-form .form-control:focus,
.advanced-search-form .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(152,133,97,0.25);
    background: rgba(255,255,255,1);
}

.advanced-search-form .form-check-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
}

.advanced-search-form .btn {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.advanced-search-form .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(152,133,97,0.3);
}

.advanced-search-form .btn-primary:hover {
    background: linear-gradient(135deg, #b8941f 0%, var(--accent-gold) 100%);
    box-shadow: 0 6px 16px rgba(152,133,97,0.4);
    transform: translateY(-1px);
}

.advanced-search-form .btn-outline {
    border: 1px solid rgba(152,133,97,0.3);
    color: var(--accent-gold);
    background: transparent;
}

.advanced-search-form .btn-outline:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

/* RTL Support for Advanced Search Sidebar */
[dir="rtl"] .advanced-search-sidebar {
    text-align: right;
}

[dir="rtl"] .sidebar-title {
    text-align: center;
}

[dir="rtl"] .advanced-search-form .form-label {
    text-align: right;
}

[dir="rtl"] .advanced-search-form .form-control,
[dir="rtl"] .advanced-search-form .form-select {
    text-align: right;
}

[dir="rtl"] .advanced-search-form .form-check-label {
    text-align: right;
}

/* Mobile Responsive Styles for Advanced Search */
@media (max-width: 991.98px) {
    .advanced-search-sidebar {
        position: static;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .advanced-search-form .form-control,
    .advanced-search-form .form-select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .advanced-search-form .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .advanced-search-sidebar {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .sidebar-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .advanced-search-form .mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Custom Primary Dark Button */
.btn-primary-dark {
    background: var(--primary-dark);
    color: var(--white);
    border: 2px solid var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 38, 35, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-dark:hover {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 38, 35, 0.4);
}

.btn-primary-dark:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 38, 35, 0.5);
}

/* Enhanced RTL/LTR Support for Forms and Buttons */
[dir="rtl"] .form-control,
[dir="rtl"] .form-select {
    text-align: right;
}

[dir="ltr"] .form-control,
[dir="ltr"] .form-select {
    text-align: left;
}

[dir="rtl"] .btn i {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="ltr"] .btn i {
    margin-right: 0.5rem;
    margin-left: 0;
}

[dir="rtl"] .btn i.me-1 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

[dir="ltr"] .btn i.me-1 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .btn i.me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="ltr"] .btn i.me-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* RTL/LTR Support for text alignment */
[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="ltr"] .text-start {
    text-align: left !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="ltr"] .text-end {
    text-align: right !important;
}

/* Jobs Section Styles */
