/*
Theme Name: Shams Al Nakheel
Description: قالب ووردبريس مخصص لشمس النخيل (ثنائي اللغة عربي/إنجليزي) مع شاشة تحميل، سلايدر، وصفحات أعمال وخدمات. | Shams Al Nakhel custom WordPress theme.
Author: Arab's studio
Text Domain: sizdom

Version: 1.0.0
Tags: clean, light, responsive, multi-column, portfolio, business, corporate, rtl, arabic, blue, white, black

License: GNU General Public License v2.0

This theme goes along with the Shams Al Nakhel.
*/
:root {
    /* Modern palette: Deep Charcoal + Gold + White */
    --gold: #E4B34E;         /* Primary accent */
    --navy: #23262f;         /* Primary base (header/footer) - kept name for compatibility */
    --text: #1F2430;         /* Neutral dark text refined */
    --muted: #8892a6;        /* Muted text for subtitled content */
    --black: #000;
    --white: #fff;
    --surface: #F7F8FB;      /* Light background sections */

    /* Extended scales for depth and effects */
    --ink-900: #181b22;
    --ink-800: #1e222a;
    --ink-700: #23262f;
    --ink-600: #2b2f39;

    /* Effects */
    --shadow-sm: 0 4px 10px rgba(0,0,0,.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,.18);
    --ring: 0 0 0 3px rgba(228,179,78,.25);
}

/* Modern global enhancements */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.btn, .readmore, .slider_btn, button.carousel-control-prev, button.carousel-control-next {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover, .readmore:hover, .slider_btn:hover, button.carousel-control-prev:hover, button.carousel-control-next:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

header.header {
  background: linear-gradient(180deg, rgba(35,38,47,.92) 0%, rgba(35,38,47,.86) 60%, rgba(35,38,47,.80) 100%) !important;
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
header.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: linear-gradient(180deg, rgba(35,38,47,1) 0%, rgba(24,27,34,1) 100%) !important;
}

.section_heading { letter-spacing: .3px; }

.news_box,.product_box,.solution_box { border: 1px solid rgba(35,38,47,.08); box-shadow: var(--shadow-sm); }
.news_box:hover,.product_box:hover,.solution_box:hover { box-shadow: var(--shadow-md); }

.footer {
  background: radial-gradient(1200px 600px at 10% 0%, rgba(228,179,78,.08) 0%, transparent 60%) , linear-gradient(180deg, #23262f 0%, #181b22 100%) !important;
  border-top: 1px solid rgba(255,255,255,.06);
}

.home_solutions, .recent_projects, .business_with_us { position: relative; isolation: isolate; }
.home_solutions::before,
.recent_projects::before {
  content: "";
  position: absolute;
  inset: -60px -40px auto -40px;
  height: 220px;
  background: radial-gradient(600px 280px at 15% 40%, rgba(228,179,78,.12) 0%, transparent 60%),
              radial-gradient(500px 240px at 85% 30%, rgba(35,38,47,.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--gold); }
a:hover { color: #d9a640; }

.navbar-nav li a { color: var(--white); opacity: .95; }
.navbar-nav li a:hover,
.navbar-nav li.current-menu-item>a { color: var(--gold); background: rgba(255,255,255,.06); }

.readmore { background: var(--gold); color: var(--ink-900); }
.readmore:hover { background: #d9a640; color: var(--white); }

.slider_btn, button.carousel-control-prev, button.carousel-control-next { border-radius: 12px; }

.solution_content a { background: linear-gradient(180deg, #f3d082 0%, #e4b34e 100%); }

html, body {
    overflow-x: hidden;
}
body {
    color: var(--text);
    font-size: 1rem; /* comfortable base */
    line-height: 1.7;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--surface);
}
a, a:active, a:hover, a:focus {
    text-decoration: none;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
}
.page_loader {
    background: var(--navy);
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh; /* iOS Safari safe viewport */
    max-height: 100vh; /* fallback */
    z-index: 999999;
    border: 0;
}
.page_loader.hide_loader {
    width: 0%;
    height: 0%;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
/* Ensure hidden state wins in cascade */
.page_loader.hide_loader,.page_loader.hide_loader *{animation:none!important;transition:none!important;}
/* Accessibility helpers */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;z-index:10000;background:#000;color:#fff;padding:8px 12px;border-radius:8px}
.screen-reader-target{position:relative}
.loader_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.coverimage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Removed fixed header version to avoid conflicts. Using sticky header defined below. */
.language_btn {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.language_btn .current-lang {
    display: none;
}
.language_btn a{
    display: inline-block;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 5px 20px;
    border-radius: 30px;
    transition: .2s all linear;
}
.language_btn a:hover {
    background-color: var(--white);
    color: var(--gold);
}
.language_btn a i {
    margin-right: 10px;
}
/* Corporate Header/Nav - Enhanced Responsive */
header.header{
    position:sticky;
    top:0;
    left:0;
    right:0;
    background:linear-gradient(180deg, rgba(35,38,47,.96) 0%, rgba(35,38,47,.90) 60%, rgba(35,38,47,.88) 100%)!important;
    padding:10px 0;
    z-index:1000;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    backdrop-filter:saturate(140%) blur(10px);
    border-bottom:1px solid rgba(255,255,255,.06);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

header.header.scrolled{
    padding-top:6px;
    padding-bottom:6px;
    box-shadow:0 6px 16px rgba(0,0,0,.14)
}

/* Header container improvements */
header.header .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header bar responsive flex */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    gap: 1rem;
}
ul.top_social li a{color:var(--white);opacity:.9}
ul.top_social li a:hover{color:var(--gold);opacity:1}
a.navbar-brand{display:inline-block;margin-right:1rem}
a.navbar-brand img, .custom-logo{height:42px;width:auto}
nav.navbar{background:transparent;padding:0;margin-top:0;border-radius:0}
.navbar-nav{align-items:center;gap:4px;display:flex;flex-wrap:nowrap}
.navbar-nav li{flex-shrink:0}
.navbar-nav li a{display:inline-block;padding:10px 14px;color:var(--white);font-weight:300;letter-spacing:.2px;border-radius:8px;position:relative;white-space:nowrap}
.navbar-nav li a:hover,.navbar-nav li.current-menu-item>a,.navbar-nav li a.active{color:var(--gold);background:rgba(255,255,255,.06)}
.navbar-toggler{border:1px solid rgba(255,255,255,.25)}
.navbar-toggler .fa{color:var(--white)}

/* Header actions responsive layout */
.header-actions{display:flex;align-items:center;gap:0.75rem;flex-shrink:0}
.header-actions > *{flex-shrink:0}

/* Brand responsive */
.brand{display:inline-flex;align-items:center;gap:0.5rem;flex-shrink:0}
.brand img, .custom-logo{display:block;transition:height 0.2s ease}

/* Primary navigation responsive */
.primary-nav{position:relative}

/* Language buttons in header */
.header-actions .language_btn{display:flex;gap:0.5rem}
.header-actions .language_btn li{list-style:none}

/* Social links in header */
.header-actions > a{flex-shrink:0}

/* RESPONSIVE NAVIGATION BREAKPOINTS - HIDE DESKTOP NAV ON MOBILE */

/* =============================================
   RESPONSIVE NAVIGATION DISPLAY CONTROLS
   Hide desktop elements on mobile/tablet
   ============================================= */

/* Hide primary navigation on tablets and mobile */
@media (max-width: 1023px) {
    /* Hide desktop navigation elements */
    .primary-nav,
    .navbar-nav,
    .header-actions .language_btn,
    .header-actions .social-link {
        display: none !important;
    }
    
    /* Show only toggle button */
    .header-toggle {
        display: flex !important;
    }
    
    /* Adjust header layout for mobile-only content */
    .header-actions {
        gap: 0.5rem;
        justify-content: flex-end;
    }
}

/* Show desktop navigation on large screens */
@media (min-width: 1024px) {
    .header-toggle {
        display: none !important;
    }
    
    .primary-nav,
    .navbar-nav,
    .header-actions .language_btn,
    .header-actions .social-link {
        display: flex !important;
    }
    
    /* Ensure mobile menu is hidden on desktop */
    .mobile-menu {
        display: none !important;
    }
}

/* Social Links Styling */
.social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
}

.social-link:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Language Button Styling */
.language_btn {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.language_btn li {
    list-style: none;
}

.language_btn a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language_btn a:hover,
.language_btn a.current-language,
.language_btn a.lang-item-active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* WordPress menu specific classes */
.menu-item-has-children > a::after {
    content: '';
    margin-left: 8px;
}

.current-menu-item > a,
.current_page_item > a,
.current-menu-ancestor > a {
    color: var(--gold) !important;
    background: rgba(228, 179, 78, 0.12) !important;
}

/* Ensure WordPress generated classes work properly */
.navbar-nav .menu-item a,
.menu-list .menu-item a {
    display: block;
    width: 100%;
}

/* Fix WordPress admin bar spacing if present */
body.admin-bar header.header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar header.header {
        top: 46px;
    }
}

/* Tablet specific refinements */
@media (min-width: 768px) and (max-width: 1023px) {
    .brand img,
    .custom-logo {
        height: 40px;
    }
    
    .header-toggle {
        width: 48px;
        height: 48px;
    }
}

/* =============================================
   HEADER LAYOUT & POSITIONING
   Complete header structure with proper spacing
   ============================================= */

/* Main header container */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 36, 69, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(18, 36, 69, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-left: 20px;
    padding-right: 0; /* Let header-actions handle right spacing */
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand/Logo positioning */
.brand, .custom-logo-link {
    flex-shrink: 0;
    z-index: 1001;
}

.brand img, .custom-logo {
    height: 48px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .brand img,
.header.scrolled .custom-logo {
    height: 40px;
}

/* Additional header responsive adjustments */
@media (max-width: 768px) {
    .header {
        padding: 14px 0;
    }
    
    .header.scrolled {
        padding: 10px 0;
    }
    
    .header .container {
        padding-left: 16px;
    }
    
    .brand img, .custom-logo {
        height: 40px;
    }
    
    .header.scrolled .brand img,
    .header.scrolled .custom-logo {
        height: 36px;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 12px 0;
    }
    
    .header .container {
        padding-left: 14px;
    }
    
    .brand img, .custom-logo {
        height: 36px;
    }
    
    .header.scrolled .brand img,
    .header.scrolled .custom-logo {
        height: 32px;
    }
}

/* =============================================
   HEADER ACTIONS & BUTTON POSITIONING
   Proper spacing and alignment for all header buttons
   ============================================= */

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 20px; /* Safe spacing from right edge */
    padding-left: 8px;   /* Left padding for balance */
}

.header-actions > a {
    flex-shrink: 0;
}

/* Mobile specific adjustments for header actions */
@media (max-width: 1023px) {
    .header-actions {
        padding-right: 24px; /* More spacing on mobile for thumb reach */
        justify-content: flex-end;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header-actions {
        padding-right: 20px; /* Optimal thumb reach */
        padding-left: 12px;
    }
}

@media (max-width: 375px) {
    .header-actions {
        padding-right: 16px; /* Adjust for very small screens */
        padding-left: 8px;
    }
}

/* Elements and buttons */
a{color:var(--gold)}
a:hover{color:#d9a640}
.btn,.readmore,.slider_btn,button.carousel-control-prev,button.carousel-control-next{border-radius:12px;font-weight:600}
.readmore,.slider_btn,button.carousel-control-prev,button.carousel-control-next{background:var(--gold);color:var(--ink-900)}
.readmore:hover,.slider_btn:hover,button.carousel-control-prev:hover,button.carousel-control-next:hover{background:#d9a640;color:var(--white)}

/* Headings */
.section_heading{font-size:2.25rem;font-weight:800;position:relative;margin-bottom:20px;color:var(--navy)}
.section_heading:after{content:"";display:block;width:60px;height:4px;background:var(--gold);margin-top:10px;border-radius:2px}

/* Cards */
.news_box,.product_box,.solution_box{background:#fff;border:1px solid #E5E7EB;border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.news_box:hover,.product_box:hover,.solution_box:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#D1D5DB}
.product_box a{color:var(--navy)}
.product_box a:hover{color:var(--gold)}

/* Footer */
.footer{background:radial-gradient(1200px 600px at 10% 0%, rgba(228,179,78,.08) 0%, transparent 60%) , linear-gradient(180deg, #23262f 0%, #181b22 100%)!important;color:var(--white);padding:40px 0;border-top:1px solid rgba(255,255,255,.06)}
.footer p{color:rgba(255,255,255,.85)}

/* =============================================
   MOBILE NAVIGATION & RESPONSIVE HEADER IMPROVEMENTS
   Enhanced responsive design following international standards
   Supports all screen sizes from 320px to 1920px+
   ============================================= */

/* =============================================
   MODERN MOBILE DRAWER - CONTEMPORARY DESIGN
   Following global UI/UX standards for mobile navigation
   ============================================= */

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

/* Modern Drawer Design */
.menu-sheet {
    position: absolute;
    top: 0;
    left: 0;
    width: min(85vw, 320px);
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(35, 38, 47, 0.98) 0%, rgba(24, 27, 34, 0.98) 100%),
        radial-gradient(circle at 20% 80%, rgba(228, 179, 78, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        4px 0 30px rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.open .menu-sheet {
    transform: translateX(0);
}

/* Drawer Header */
.menu-header {
    position: relative;
    padding: 24px 20px 20px;
    background: linear-gradient(135deg, rgba(228, 179, 78, 0.15) 0%, rgba(228, 179, 78, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Modern Close Button */
.menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-close:hover {
    background: rgba(228, 179, 78, 0.2);
    border-color: rgba(228, 179, 78, 0.3);
    transform: scale(1.05);
}

.menu-close:active {
    transform: scale(0.95);
}

/* Brand in Drawer */
.menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.menu-brand img {
    height: 32px;
    width: auto;
}

.menu-brand-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Scrollable Content Area */
.menu-content {
    height: calc(100% - 84px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.menu-content::-webkit-scrollbar {
    width: 3px;
}

.menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.menu-content::-webkit-scrollbar-thumb {
    background: rgba(228, 179, 78, 0.3);
    border-radius: 2px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(228, 179, 78, 0.5);
}

/* Navigation Links - Modern Cards */
.menu-list {
    list-style: none;
    padding: 0 16px;
    margin: 0 0 32px 0;
}

.menu-list li {
    margin-bottom: 6px;
}

.menu-list a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-list a:hover,
.menu-list a.current-menu-item,
.menu-list a.active {
    color: var(--white);
    background: rgba(228, 179, 78, 0.12);
    border-color: rgba(228, 179, 78, 0.2);
    transform: translateX(8px);
}

.menu-list a:hover::before,
.menu-list a.current-menu-item::before,
.menu-list a.active::before {
    transform: scaleY(1);
}

/* Menu Icons */
.menu-list a::after {
    content: '→';
    margin-left: auto;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-list a:hover::after {
    opacity: 0.6;
    transform: translateX(0);
}

/* Bottom Actions Section */
.menu-actions {
    padding: 24px 16px 20px;
    margin-top: auto;
    background: linear-gradient(0deg, rgba(35, 38, 47, 0.9) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Language Switcher in Drawer */
.menu-actions .language_btn {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.menu-actions .language_btn a {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-actions .language_btn a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Social Links in Drawer */
.menu-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
}

.menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-social a:hover {
    background: rgba(228, 179, 78, 0.15);
    border-color: rgba(228, 179, 78, 0.3);
    color: var(--gold);
    transform: translateY(-3px) scale(1.05);
}

/* =============================================
   BODY SCROLL PREVENTION & MENU STATE MANAGEMENT
   ============================================= */

/* Prevent body scroll when menu is open */
body.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

/* Ensure body returns to normal when menu closes */
body:not(.nav-open) {
    overflow: visible !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* iOS Safari specific fixes */
body.nav-open {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Prevent background content interaction */
body.nav-open .header:not(.mobile-menu),
body.nav-open main,
body.nav-open .footer {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Ensure mobile menu is interactive when open */
body.nav-open .mobile-menu {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
}

/* =============================================
   MODERN HAMBURGER TOGGLE BUTTON
   Enhanced interactive button with smooth animations
   ============================================= */

.header-toggle {
    position: relative;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.header-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(228, 179, 78, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.header-toggle:hover {
    background: rgba(228, 179, 78, 0.12);
    border-color: rgba(228, 179, 78, 0.25);
    transform: translateY(-2px) scale(1.05);
}

.header-toggle:hover::before {
    width: 60px;
    height: 60px;
}

.header-toggle:active {
    transform: translateY(0) scale(0.95);
}

.header-toggle .fa {
    font-size: 18px;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-toggle:hover .fa {
    color: var(--gold);
    transform: scale(1.1);
}

/* Animated hamburger lines (optional enhancement) */
.header-toggle.animated {
    padding: 0;
}

.header-toggle.animated .fa {
    display: none;
}

.header-toggle.animated::after {
    content: '';
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 -6px 0 currentColor,
        0 6px 0 currentColor;
}

/* When menu is open - transform to X */
body.nav-open .header-toggle.animated::after {
    transform: rotate(45deg);
    box-shadow: 
        0 0 0 currentColor,
        0 0 0 currentColor;
}

body.nav-open .header-toggle.animated::before {
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    box-shadow: none;
}

/* Mobile touch optimizations */
@media (max-width: 768px) {
    .header-toggle {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }
    
    .header-toggle:hover::before {
        width: 50px;
        height: 50px;
    }
}

/* Extra small devices - DISABLED - Now inherits from larger phones */
/*
@media (max-width: 375px) {
    .header-toggle {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    
    .header-toggle .fa {
        font-size: 16px;
    }
    
    .header-toggle:hover::before {
        width: 44px;
        height: 44px;
    }
}
*/

/* =============================================
   MOBILE MENU CLOSE BUTTON
   Positioned exactly over hamburger button
   ============================================= */

.menu-close {
    position: fixed;
    top: 20px; /* Match header padding + alignment */
    right: 24px; /* Match header-actions padding-right exactly */
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px; /* Match hamburger button border-radius */
    width: 48px; /* Match hamburger button width exactly */
    height: 48px; /* Match hamburger button height exactly */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    /* Ensure exact positioning over hamburger button */
    transform-origin: center;
}

.menu-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(228, 179, 78, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.menu-close:hover {
    background: rgba(228, 179, 78, 0.12);
    border-color: rgba(228, 179, 78, 0.4);
    color: var(--gold);
    transform: translateY(-2px) scale(1.05);
}

.menu-close:hover::before {
    width: 60px;
    height: 60px;
}

.menu-close:active {
    transform: translateY(0) scale(0.95);
}

/* Match hamburger button responsive positioning exactly */
@media (max-width: 768px) {
    .menu-close {
        top: 18px; /* Match mobile header padding */
        right: 20px; /* Match mobile header-actions padding */
        width: 44px;
        height: 44px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .menu-close:hover::before {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 375px) {
    .menu-close {
        top: 16px; /* Match extra small header padding */
        right: 16px; /* Match extra small screen padding */
        width: 40px;
        height: 40px;
        border-radius: 6px;
        font-size: 14px;
    }
    
    .menu-close:hover::before {
        width: 44px;
        height: 44px;
    }
}

/* =============================================
   PERFECT BUTTON ALIGNMENT & VISUAL CONSISTENCY
   Ensure hamburger and close buttons are identical
   ============================================= */

/* Perfect visual alignment - ensure both buttons look identical */
.header-toggle,
.menu-close {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-toggle:hover,
.menu-close:hover {
    box-shadow: 0 4px 16px rgba(228, 179, 78, 0.15);
}

/* Ensure both buttons have same interaction feel */
.header-toggle:active,
.menu-close:active {
    transform: translateY(0) scale(0.95) !important;
}

/* Visual feedback for button state */
body.nav-open .header-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

body:not(.nav-open) .menu-close {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* =============================================
   RTL SUPPORT FOR MOBILE MENU
   Complete right-to-left language support
   ============================================= */

[dir="rtl"] .menu-sheet {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        -4px 0 30px rgba(0, 0, 0, 0.3),
        inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .mobile-menu.open .menu-sheet {
    transform: translateX(0);
}

[dir="rtl"] .menu-close {
    right: auto;
    left: 24px; /* Match RTL header positioning */
}

@media (max-width: 768px) {
    [dir="rtl"] .menu-close {
        left: 20px;
        top: 18px; /* Match mobile positioning */
    }
}

@media (max-width: 375px) {
    [dir="rtl"] .menu-close {
        left: 16px;
        top: 16px; /* Match extra small positioning */
    }
}

[dir="rtl"] .menu-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .menu-list a:hover,
[dir="rtl"] .menu-list a.current-menu-item,
[dir="rtl"] .menu-list a.active {
    transform: translateX(-8px);
}

[dir="rtl"] .menu-list a::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .menu-list a::after {
    content: '←';
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .menu-content::-webkit-scrollbar {
    left: 0;
    right: auto;
}

/* RTL adjustments for language buttons */
[dir="rtl"] .menu-actions .language_btn {
    flex-direction: row-reverse;
}

/* RTL adjustments for social links */
[dir="rtl"] .menu-social {
    flex-direction: row-reverse;
}

/* RESPONSIVE HEADER IMPROVEMENTS */

/* Better mobile header spacing */
@media (max-width: 1023px) {
    header.header {
        padding: 12px 0;
    }
    
    .header-bar {
        min-height: 60px;
    }
    
    .brand img,
    .custom-logo {
        height: 36px;
        width: auto;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .header-bar {
        min-height: 64px;
    }
    
    .brand img,
    .custom-logo {
        height: 40px;
    }
    
    .menu-sheet {
        width: 320px;
        padding: 90px 32px 32px;
    }
    
    .menu-list a {
        font-size: 18px;
        padding: 14px 0;
    }
}

/* All phones adjustments - unified design */
@media (max-width: 767px) {
    .menu-sheet {
        width: 300px;
    }
}

/* Small phone adjustments - DISABLED - Now inherits from large phones */
/*
@media (max-width: 479px) {
    header.header {
        padding: 8px 0;
    }
    
    .header-bar {
        min-height: 56px;
        gap: 12px;
    }
    
    .brand img,
    .custom-logo {
        height: 32px;
    }
    
    .header-toggle {
        width: 44px;
        height: 44px;
    }
    
    .menu-sheet {
        width: 100%;
        max-width: 280px;
        padding: 70px 20px 20px;
    }
    
    .menu-list a {
        font-size: 16px;
        padding: 12px 0;
    }
    
    header.header .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
*/

/* Ultra small screens - DISABLED - Now inherits from large phones */
/*
@media (max-width: 375px) {
    .header-bar {
        gap: 8px;
        min-height: 52px;
    }
    
    .brand img,
    .custom-logo {
        height: 28px;
    }
    
    .header-toggle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    header.header .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
*/

/* Large desktop adjustments */
@media (min-width: 1440px) {
    header.header .container {
        max-width: 1280px;
        margin: 0 auto;
    }
    
    .brand img,
    .custom-logo {
        height: 48px;
    }
}

/* Extra large screens */
@media (min-width: 1920px) {
    header.header .container {
        max-width: 1440px;
    }
    
    .brand img,
    .custom-logo {
        height: 52px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .header-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .menu-list a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .menu-close {
        min-height: 44px;
        min-width: 44px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand img,
    .custom-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header.header {
        padding: 6px 0;
    }
    
    .header-bar {
        min-height: 48px;
    }
    
    .brand img,
    .custom-logo {
        height: 28px;
    }
    
    .menu-sheet {
        padding: 60px 20px 20px;
    }
}

/* Improve performance on older devices */
@media (max-width: 768px) {
    header.header {
        will-change: transform;
    }
    
    .mobile-menu {
        will-change: transform, opacity;
    }
    
    .menu-sheet {
        will-change: transform;
    }
    
    /* Optimize animations for mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* ADDITIONAL MOBILE OPTIMIZATIONS */

/* Prevent zoom on focus for form elements */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Ensure proper touch targets */
@media (max-width: 768px) {
    .header-toggle,
    .menu-close,
    .menu-list a,
    .menu-actions a {
        position: relative;
    }
    
    .header-toggle::before,
    .menu-close::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        background: transparent;
        z-index: -1;
    }
}

/* Accessibility enhancements for mobile */
@media (max-width: 768px) {
    .mobile-menu[aria-hidden="true"] {
        pointer-events: none;
    }
    
    .mobile-menu[aria-hidden="false"] {
        pointer-events: auto;
    }
    
    /* Focus management */
    .mobile-menu.open .menu-sheet {
        outline: none;
    }
    
    .mobile-menu.open .menu-sheet:focus {
        outline: 2px solid var(--gold);
        outline-offset: -2px;
    }
}

/* =============================================
   FINAL PERFORMANCE & COMPATIBILITY OPTIMIZATIONS
   ============================================= */

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .menu-sheet,
    .header-toggle,
    .menu-list a,
    .menu-close,
    .menu-social a,
    .menu-actions .language_btn a {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .header-toggle::before,
    .menu-list a::before,
    .menu-list a::after {
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-menu {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .menu-sheet {
        background: #000;
        border: 2px solid #fff;
    }
    
    .menu-list a {
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .header-toggle {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}

/* Print styles - hide mobile menu completely */
@media print {
    .mobile-menu,
    .header-toggle,
    .progress-track {
        display: none !important;
    }
}

/* Support for older browsers */
.mobile-menu {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
}

.mobile-menu.open {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
}

.menu-sheet {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
}

.mobile-menu.open .menu-sheet {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
}

/* Safari specific fixes */
@supports (-webkit-backdrop-filter: blur(1px)) {
    .mobile-menu {
        -webkit-backdrop-filter: blur(12px);
    }
    
    .menu-sheet {
        -webkit-backdrop-filter: blur(20px);
    }
    
    .header-toggle {
        -webkit-backdrop-filter: blur(8px);
    }
}

/* END OF MOBILE NAVIGATION ENHANCEMENTS */

/* Progress bar responsive */
.progress-track {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f3d082);
    width: 0%;
    transition: width 0.1s ease;
}

/* Enhanced focus states for accessibility */
.header-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 179, 78, 0.4);
}

.menu-list a:focus-visible {
    outline: none;
    background: rgba(228, 179, 78, 0.1);
    border-radius: 4px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.menu-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 179, 78, 0.4);
}

/* Animation improvements for better UX */
.navbar-nav li a {
    position: relative;
    overflow: hidden;
}

.navbar-nav li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav li a:hover::before,
.navbar-nav li.current-menu-item > a::before {
    width: 80%;
}

/* Smooth logo scaling on scroll */
header.header.scrolled .brand img,
header.header.scrolled .custom-logo {
    height: 36px;
    transition: height 0.2s ease;
}

/* RTL Font harmonization */
[dir="rtl"] body{font-family:"Tajawal","Inter",sans-serif}
.section_padding50 {
    padding: 50px 0;
}
.section_padding100 {
    padding: 100px 0;
}
.home_cover {
    width: 100%;
    height: 90vh;
}
.home_dreams {
    padding: 50px 0;
}
.home_dreams h2 {
    font-weight: bold;
    font-size: 2.5rem;
}
.section_heading {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 30px;
}
.home_cta .cta_inner{
    position: relative;
}
.home_cta .cta_inner:before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: rgb(226 172 67 / 20%);
    z-index: 1;
    opacity: 0;
    transform: .1s all linear;
}
.home_cta:hover .cta_inner:before {
    opacity: 1;
}

section.home_solutions {
    padding: 50px 0;
}
.slider_btn, button.carousel-control-prev, button.carousel-control-next {
    background: var(--gold);
    color: var(--black);
    border: none;
    outline: none;
    padding: 10px 20px;
    font-size: 1.4rem;
}
.solution_carousel {
    /* keep border but adapt to Swiper structure */
    border: 1px solid var(--black);
}
/* Swiper adoption for solutions carousel */
.solution_carousel.swiper{ overflow: hidden }
.solution_carousel .swiper-wrapper{ align-items: stretch }
.solution_carousel .swiper-slide{ height: auto }
.solution_box {
    height: 450px;
    overflow: hidden;
    position: relative;
}
.solution_carousel .owl-stage .center .solution_box {
    border: 1px solid var(--text);
    border-top: none;
    border-bottom: none;
}
.solution_box img {
    opacity: 0;
    transition: .2s all linear;
}
.solution_box:hover img {
    opacity: 1;
}
.solution_content {
    position: absolute;
    z-index: 2;
    bottom: 0;
    padding: 20px;
}
.solution_content h4 {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.solution_content a {
    width: 50px;
    height: 50px;
    background: var(--gold);
    display: inline-block;
    text-align: center;
    padding-top: 7px;
    color: var(--white);
    border-radius: 100%;
    font-size: 1.5rem;
}
.solution_box > a:before {
    content: '';
    background: rgb(255 255 255 / 50%);
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
section.business_with_us {
    padding: 100px 0;
    background-image: url(images/business-with-us.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.business_content h3 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.business_content p {
    font-size: 1.1rem;
    margin-bottom: 50px;
}
.readmore {
    display: inline-block;
    background: var(--white);
    padding: 10px 20px;
    color: var(--gold);
    font-weight: bold;
    transition: .2s all linear;
}
.readmore:hover {
    background-color: var(--black);
    color: var(--white);
}
section.recent_projects {
    padding: 50px 0;
}
div#recent_project_slider {
    border: 1px solid var(--black);
}
div#recent_project_slider button.carousel-control-prev, div#recent_project_slider button.carousel-control-next {
    position: unset;
    opacity: 1;
}
.project_slider_head button {
    display: inline-block;
    width: auto;
}
.project_slider_head {
    text-align: right;
    padding: 20px;
    border-bottom: 1px solid var(--black);
    position: relative;
}
.project_slide_img {
    width: 100%;
    height: 400px;
}
.carousel_counter {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 2rem;
}
.project_slide_content {
    padding: 30px 30px 30px 0;
}
.project_slide_content h4 {
    font-size: 2.3rem;
    font-weight: bold;
}
.project_slide_content p {
    text-align: justify;
}
section.our_clients {
    padding: 50px 0;
}
.client_slider_container {
    border: 1px solid var(--black);
    padding: 50px;
    position: relative;
}
.clients_slider {
    width: 100%;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
}
.clients_slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: 150px !important;

    display: flex;
    justify-content: center;
    align-items: center;
}
.client_box {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.client_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.custom-scroll {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--black);
    height: 80px;
}
.custom-scroll .swiper-scrollbar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 100px);
}
.swiper-scrollbar-drag {
    height: 10px;
    border-radius: 0;
    background: var(--gold);
    top: -3px !important;
    cursor: pointer;
}
footer.footer {
    padding: 50px 0;
    background: var(--black);
    color: var(--white);
}
footer.footer p {
    margin: 0;
}
.footer .poweredby {
    text-align: right;
}
.footer .poweredby img {
    max-height: 20px;
    width: auto;
}
.page_cover {
    padding: 250px 0 50px;
    background: var(--black2);
    position: relative;
}
.page_cover h1 {
    color: var(--white);
    font-weight: bold;
    font-size: 3rem;
}
.page_cover_inner {
    color: var(--white);
    position: relative;
    z-index: 8;
}
.page_cover_inner p {
    color: var(--white);
}
.manager_inner {
    border: 1px solid var(--black);
    padding: 30px;
    text-align: justify;
}
.manager_inner img {
    margin-bottom: 10px;
}
section.page_about_us {
    padding: 50px 0;
}
section.page_about_us h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}
.vision_boxes {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
}
.vision_box .box_icon {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: 0 auto;
}
.vision_box .box_icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}
.vision_box h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
section.about_explore {
    padding: 50px 0;
}
.explore_box {
    height: 300px;
    border: 1px solid var(--black);
    position: relative;
    transition: .2s all linear;
}
.explore_box:hover {
    background-color: var(--gold);
}
.explore_box > a {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.explore_box h4 {
    position: absolute;
    top: 30px;
    width: 100%;
    padding: 0 30px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: capitalize;
}
.explore_box:hover h4 {
    color: var(--white);
}
.explore_box i {
    font-size: 1rem;
    width: 30px;
    height: 30px;
    text-align: center;
    padding-top: 5px;
    background-color: var(--gold);
    border-radius: 100%;
    color: var(--white);
    position: absolute;
    right: 30px;
    bottom: 30px;
}
.explore_box:hover i {
    color: var(--gold);
    background-color: var(--white);
}
.contact_inner h2 {
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.contact_form br {
    display: none;
}
.contact_form input[type=text], .contact_form input[type=tel], .contact_form input[type=email], .contact_form textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--black);
    border-bottom: none;
    padding: 20px;
    resize: none;
}
.contact_form textarea {
    border-bottom: 1px solid var(--black);
    min-height: 150px;
}
.wpcf7-not-valid-tip {
    border-top: 1px solid var(--black);
    margin-bottom: 10px;
}
.contact_form button {
    display: inline-block;
    margin-top: 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
}
.gmap iframe {
    width: 100%;
    height: 350px;
}
.news_search {
    border: 1px solid var(--black);
    margin-left: auto;
    width: fit-content;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 30px;
}
.news_search input {
    border: none;
    outline: none;
    padding: 10px 20px;
}
.news_search button {
    border: none;
    background: transparent;
    padding-right: 20px;
}
.news_box {
    position: relative;
    border: 1px solid #ccc;
    margin-bottom: 30px;
    height: 100%;
}
.news_img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: whitesmoke;
}
.news_img img {
    transition: .2s all linear;
}
.news_box:hover img {
    transform: scale(1.1);
}
.news_box > a {
    display: block;
    margin-top: 10px;
    padding: 20px;
    font-size: 1.1rem;
    color: var(--black);
    font-weight: bold;
}
.news_meta {
    padding: 20px;
}
.news_meta small {
    margin-right: 10px;
}
.news_meta > a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--gold);
    text-align: center;
    color: var(--white);
    padding-top: 3px;
    border-radius: 100%;
    position: absolute;
    right: 20px;
    bottom: 15px;
    transition: .2s all linear;
}
.news_box:hover .news_meta > a {
    transform: rotate(360deg);
    background-color: var(--black);
}
.policy_box {
    border: 1px solid #ccc;
    padding: 50px 50px 30px;
    margin-top: 30px;
}
.policy_head {
    position: relative;
    padding-right: 50px;
    margin-bottom: 30px;
}
.policy_head h3 {
    font-weight: bold;
    font-size: 2rem;
}
.policy_head > a {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--gold);
    border-radius: 100%;
    text-align: center;
    color: var(--gold);
    padding-top: 10px;
    font-size: 1.2rem;
}
.policy_content img {
    margin-bottom: 30px;
}
.policy_box .policy_content {
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    max-height: 0px;
    transition: max-height .2s cubic-bezier(0, 1, 0, 1), opacity .2s ease-in-out;
}
.policy_box.show_policy .policy_content {
    max-height: 10000px;
    visibility: visible;
    opacity: 1;
    transition: max-height 1s ease-in-out, opacity 1s ease-in-out;
}
.sidebar {
    background: rgb(243 236 220);
    padding: 20px;
}
.sidebar h5 {
    font-weight: bold;
    margin-bottom: 20px;
}
ul.side_menu > li > a {
    display: block;
    border-bottom: 1px solid var(--black);
    color: var(--black);
    padding: 5px 20px 5px 0;
    position: relative;
    margin-bottom: 5px;
}
ul.side_menu > li.sub_menu > a:after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    content: '+';
    border: 2px solid var(--black);
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    font-size: 1.5rem;
}
ul.side_menu > li > ul > li a {
    display: block;
    padding: 5px;
    color: var(--black);
}
ul.side_menu > li > ul {
    max-height: 0px;
    opacity: 0;
    visibility: 0;
    overflow: hidden;
    transition: max-height .2s cubic-bezier(0, 1, 0, 1), opacity .2s ease-in-out;
}
ul.side_menu > li.show_menu > ul {
    max-height: 10000px;
    visibility: visible;
    opacity: 1;
    transition: max-height .5s ease-in-out, opacity .5s ease-in-out;
}
.product_box {
    border: 1px solid #ccc;
    margin-bottom: 30px;
}
.product_box > a {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    padding: 10px 20px;
    display: block;
    min-height: 85px;
    border-bottom: 1px solid #ccc;
}
.product_box .product_img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.product_box .product_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product_contact_form {
    padding: 50px 50px 30px;
    background: var(--black);
}
.product_contact_form br {
    display: none !important;
}
.product_contact_form input, .product_contact_form textarea {
    display: block;
    width: 100%;
    padding: 11.21px 10px;
    border: none;
    outline: none;
    margin-bottom: 20px;
    resize: none;
}
.product_contact_form textarea {
    height: 171px;

}
.product_contact_form button {
    display: block;
    background: var(--gold);
    width: fit-content;
    padding: 10px 20px;
    color: var(--white);
    font-size: 1rem;
    margin-left: auto;
}
ul.project_cats li {
    display: inline-block;
}
ul.project_cats li a {
    display: block;
    color: var(--black);
    font-weight: bold;
    margin-right: 30px;
    font-size: 1rem;
}
.projects_head {
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
}
.projects_head .news_search{
    margin-bottom: 0;
}
.news_box.project_box .news_img {
    height: 350px;
}
.news_box.project_box > a {
    font-size: 1.5rem;
    padding-right: 60px;
    position: relative;
    transition: .2s all linear;
}
.news_box.project_box > a i {
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 100%;
    text-align: center;
    padding-top: 11px;
    font-size: 1rem;
    transform: translate(-10px, -50%);
    top: 50%;
    color: var(--white);
    transition: .2s all linear;
}
.news_box.project_box:hover {
    transition: .2s all linear;
    background-color: var(--gold);
}
.news_box.project_box:hover a{
    color: var(--white);
}
.news_box.project_box:hover a i{
    background-color: var(--white);
    color: var(--gold);
}
.team_boxes {
    background: var(--black2);
    color: var(--white);
    padding: 20px;
    height: 100%;
}
.team_box {
    text-align: center;
    margin: 20px 0;
}
.team_img {
    height: 100%;
}
.team_box .team_count {
    background: var(--white);
    color: var(--gold);
    font-weight: bold;
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    border-radius: 100%;
    text-align: center;
    padding-top: 18px;
    border: 5px solid var(--gold);
    margin: 0 auto 10px;
}
.slider_container {
    margin-top: 30px;
}
.service_slide_page .owl-stage {
    padding-left: 0px !important;
}
.service_head {
    border: 1px solid #ccc;
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 30px;
}
.service_head > a{
    position: absolute;
    top: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    width: 100%;
    padding: 20px;
    z-index: 9;
}
.service_box_img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 75%;
    transition: .2s all linear;
}
.service_box_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.service_slide_box {
    position: relative;
}
.service_slide_box:hover .service_box_img {
    height: 100%;
}
.project_gallery {
    position: relative;
}
.gallery_head {
    position: absolute;
    bottom: 50px;
    left: 20%;
    z-index: 3;
}
.gallery_head h3 {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
}

.project_cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.project_gallery .owl-dots {
    position: absolute;
    left: 20%;
    bottom: 10px;
    z-index: 4;
}
.projects_carouselsolution .news_box.project_box {
    margin: 0;
    overflow: hidden;
    border: none;
}
.projects_carouselsolution .center .news_box.project_box {
    border-left: 1px solid var(--black);
    border-right: 1px solid var(--black);
}
.projects_carouselsolution .news_box.project_box > a {
    min-height: 150px;
}
.project_gallery .owl-nav {
    display: none;
}
.project_gallery .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--black);
    border-radius: 100%;
    margin: 0 3px;
    z-index: 5;
    position: relative;
}
.project_gallery .owl-dots .owl-dot.active {
    background-color: var(--black);
}
.project_gallery .owl-dots:before {
    position: absolute;
    content: '';
    width: 250px;
    height: 90px;
    background: var(--white);
    bottom: -10px;
    left: -20px;
    z-index: 1;
}
.project_gallery_box {
    height: 450px;
    overflow: hidden;
    width: 100%;
}
.service_single img {
    width: 100%;
    height: auto;
}
button.navbar-toggler {
    outline: none !important;
    border: 1px solid var(--gold);
    color: var(--black);
    background-color: var(--gold);
    margin: 10px 0px 10px auto;
    padding: 5px 8px;
    border-radius: 0;
    box-shadow: none !important;
}
button.navbar-toggler:hover, button.navbar-toggler:active, button.navbar-toggler:focus {
    border: 1px solid var(--black);
    color: var(--white);
    background-color: var(--black);
}
@media screen and (max-width: 565px) {
	header.header {
		padding-top: 0px;
	}
    .topbar {
        margin: 20px 0 10px;
    }
    .navbar-nav .logo {
        display: none;
    }
	nav.navbar {
		padding: 0 10px;
    	border-radius: 5px;
	}
    .navbar-nav {
        align-items: flex-start;
        padding: 10px 0;
		margin-top: 0;
    }
    a.navbar-brand {
		display: inherit;
		width: 70px;
		height: 70px;
		padding: 10px;
    }
    a.navbar-brand img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
	.home_dreams h2, .section_heading {
		font-size: 2rem;
	}
	.slider_btn, button.carousel-control-prev, button.carousel-control-next {
		padding: 5px 8px;
		font-size: 1rem;
	}
	.solution_content a {
		width: 30px;
		height: 30px;
		padding-top: 3px;
		font-size: 1rem;
	}
    .home_cover {
        height: 40vh;
    }
    .slider_btn {
        margin-bottom: 30px;
    }
	section.business_with_us {
		padding: 50px 0;
	}
	.solution_content h4 {
		font-size: 1.3rem;
	}
	.business_content h3 {
		font-size: 2rem;
		margin-bottom: 10px;
	}
    .business_content p {
        font-size: 1rem;
    	margin-bottom: 10px;
    }
	.carousel_counter {
		font-size: 1.5rem;
	}
	.project_slide_img {
		height: 200px;
	}
	.solution_box img {
		opacity: 0.3;
	}
    .project_slide_content {
        padding: 30px;
    }
    .client_slider_container {
        padding: 20px;
    }
    .clients_slider {
        height: 300px;
    }
    .clients_slider .swiper-slide {
        height: 100px !important;
    }
    .projects_head {
        padding: 10px;
    }
    ul.project_cats {
        text-align: center;
    }
    ul.project_cats li a {
        margin: 0 10px;
    }
    .projects_head .news_search {
        margin-bottom: 0;
        margin: 10px auto 0;
    }
    .policy_box {
        padding: 20px 20px 0px;
    }
	.slider_container {
		margin-top: 0px;
	}
	.service_head {
		height: 350px;
		margin-bottom: 10px;
	}
	.service_box_img {
		height: 65%;
	}
	.news_box.project_box .news_img {
		height: 250px;
	}
	.product_contact_form {
		padding: 30px 30px 10px;
	}
	.policy_head > a {
		width: 40px;
		height: 40px;
		padding-top: 4px;
	}
	.team_box {
		float: left;
		width: 33.333%;
	}
	.team_boxes {
		padding: 0 10px;
	}
	.team_box .team_count {
		width: 60px;
		height: 60px;
		font-size: 1.1rem;
		padding-top: 10px;
	}
    .copyright, .poweredby {
        text-align: center !important;
        margin: 10px 0 !important;
    }
}