/*==================================================================
  DEV TECH - Multilingual, RTL & Advanced Search Stylesheet
  Supported Languages: English (en), Korean (kr), Arabic (ar)
==================================================================*/

/* Import Cairo font for modern Arabic & Noto Sans KR for Korean */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

/* --- Cursor Follower Removal --- */
.cursor,
.cursor-follower {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --- Global Modern Header & Navigation Flex Rules --- */
.header-section {
    position: relative;
    z-index: 999;
}

.header-bottom-area .navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.header-bottom-area .site-logo {
    margin: 0 20px 0 0 !important;
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
}

.header-bottom-area .site-logo img {
    max-height: 100px !important;
    width: auto !important;
    object-fit: contain;
}

@media only screen and (min-width: 1200px) {
    .header-bottom-area .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-grow: 1 !important;
    }

    .header-bottom-area .navbar-collapse .main-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .header-bottom-area .navbar-collapse .main-menu li {
        padding: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .header-bottom-area .navbar-collapse .main-menu li a {
        white-space: nowrap !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        padding: 8px 10px !important;
        display: inline-block !important;
        transition: color 0.2s ease, transform 0.2s ease !important;
        letter-spacing: normal !important;
    }

    .header-bottom-area .navbar-collapse .main-menu li a:hover,
    .header-bottom-area .navbar-collapse .main-menu li.active > a,
    .header-bottom-area .navbar-collapse .main-menu li a.active {
        color: #3249B3 !important;
    }

    .header-right {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-left: 15px !important;
    }
}

@media only screen and (max-width: 1199px) {
    .header-bottom-area .navbar-collapse .main-menu {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px !important;
    }
    .header-bottom-area .navbar-collapse .main-menu li {
        padding: 8px 0 !important;
        width: 100% !important;
    }
    .header-right {
        padding: 10px 20px 25px !important;
        width: 100% !important;
        display: flex !important;
    }
}

.header-action-area {
    display: flex !important;
    align-items: center !important;
}

.header-action {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.header-action .btn--base {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-action select#langSwitcher,
.header-action select.custom-lang-select {
    display: none !important;
}

.header-action .nice-select.custom-lang-select {
    height: 44px !important;
    line-height: 42px !important;
    padding-left: 16px !important;
    padding-right: 34px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(50, 73, 179, 0.35) !important;
    border-radius: 6px !important;
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1C1C1C !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
}

.header-action .nice-select.custom-lang-select:hover {
    border-color: #3249B3 !important;
    box-shadow: 0 4px 12px rgba(50, 73, 179, 0.15) !important;
}

.header-action .nice-select.custom-lang-select .current {
    color: #1C1C1C !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 42px !important;
}

.header-action .nice-select.custom-lang-select:after {
    border-bottom: 2px solid #3249B3 !important;
    border-right: 2px solid #3249B3 !important;
    right: 14px !important;
    margin-top: -4px !important;
    width: 7px !important;
    height: 7px !important;
    transition: all 0.2s ease;
}

.header-action .nice-select.custom-lang-select.open:after {
    transform: rotate(-135deg) !important;
}

.header-action .nice-select.custom-lang-select .list {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    -webkit-box-shadow: 0 12px 32px rgba(28, 28, 60, 0.18) !important;
    box-shadow: 0 12px 32px rgba(28, 28, 60, 0.18) !important;
    min-width: 135px !important;
    margin-top: 6px !important;
    z-index: 99999 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 4px 0 !important;
}

.header-action .nice-select.custom-lang-select .option {
    color: #2b2b2b !important;
    line-height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: left !important;
    transition: all 0.15s ease !important;
}

.header-action .nice-select.custom-lang-select .option:hover,
.header-action .nice-select.custom-lang-select .option.selected {
    background-color: #3249B3 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Header Global Search Trigger Button */
.header-search-btn {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(50, 73, 179, 0.35);
    color: #3249B3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.header-search-btn:hover {
    background: #3249B3;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(50, 73, 179, 0.25);
    transform: translateY(-1px);
}

/* Korean font enhancement */
html[lang="ko"] body {
    font-family: 'Noto Sans KR', 'Poppins', sans-serif !important;
    word-break: keep-all;
}

/* ==================================================================
   ARABIC & RTL STYLING (Active when dir="rtl" or .rtl-mode)
================================================================== */

html[dir="rtl"],
html[dir="rtl"] body,
body.rtl-mode {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Cairo', 'Poppins', sans-serif !important;
}

/* RTL Typography adjustments */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .title,
html[dir="rtl"] .sub-title {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
}

html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] li,
html[dir="rtl"] button,
html[dir="rtl"] input {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0 !important;
}

/* Navbar & Logo in RTL */
html[dir="rtl"] .header-bottom-area .site-logo {
    margin: 0 0 0 20px !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .header-right {
    margin-left: 0 !important;
    margin-right: 15px !important;
}

html[dir="rtl"] .main-menu {
    padding: 0 !important;
    margin: 0 auto !important;
}

html[dir="rtl"] .main-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

html[dir="rtl"] .main-menu li a {
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 8px 10px !important;
}

html[dir="rtl"] .navbar-toggler {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Floating element safety (prevent pink cube overlapping headline) */
.banner-element-four {
    z-index: 1 !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
    max-width: 35px !important;
}

html[dir="rtl"] .banner-element-four {
    left: auto !important;
    right: 40px !important;
}

/* Sub-menus in RTL */
html[dir="rtl"] .main-menu li .sub-menu {
    right: 0 !important;
    left: auto !important;
    text-align: right !important;
}

html[dir="rtl"] .main-menu li .sub-menu li a {
    text-align: right !important;
}

/* Header action and language switcher in RTL */
html[dir="rtl"] .header-action .nice-select.custom-lang-select {
    padding-left: 36px !important;
    padding-right: 16px !important;
}

html[dir="rtl"] .header-action .nice-select.custom-lang-select:after {
    right: auto !important;
    left: 14px !important;
}

html[dir="rtl"] .header-action .nice-select.custom-lang-select .option {
    text-align: right !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
}

/* Hero Banner RTL Fixes (eliminates overlap with 3D illustration) */
html[dir="rtl"] .banner-section .banner-area .banner-thumb {
    right: auto !important;
    left: -8% !important;
}

html[dir="rtl"] .banner-section .banner-area .banner-text {
    right: auto !important;
    left: 15px !important;
}

html[dir="rtl"] .banner-section .banner-area .banner-left-content {
    text-align: right !important;
    max-width: 62% !important;
}

html[dir="rtl"] .banner-section .banner-area .banner-left-content .banner-left-arrow {
    margin-left: 0 !important;
    margin-right: 80px !important;
    transform: scaleX(-1);
}

html[dir="rtl"] .banner-section .banner-area .banner-left-content .banner-left-intro {
    margin-left: 0 !important;
    margin-right: 100px !important;
}

@media only screen and (max-width: 1199px) {
    html[dir="rtl"] .banner-section .banner-area .banner-left-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    html[dir="rtl"] .banner-section .banner-area .banner-thumb {
        position: unset !important;
        left: auto !important;
    }
}

/* Statistics section in RTL */
html[dir="rtl"] .statistics-item-area .statistics-item {
    text-align: right !important;
}

html[dir="rtl"] .statistics-item-area .statistics-item .statistics-icon {
    right: auto !important;
    left: 20px !important;
}

html[dir="rtl"] .statistics-item-area .statistics-item .odo-area {
    direction: ltr !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Breadcrumbs in RTL */
html[dir="rtl"] .breadcrumb {
    direction: rtl !important;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    transform: scaleX(-1);
}

/* Directional Arrows and Icons in RTL */
html[dir="rtl"] .las.la-arrow-right,
html[dir="rtl"] .fas.fa-arrow-right,
html[dir="rtl"] .fas.fa-chevron-right,
html[dir="rtl"] .las.la-angle-right,
html[dir="rtl"] .las.la-angle-double-right {
    transform: scaleX(-1);
    display: inline-block;
}

html[dir="rtl"] .las.la-arrow-left,
html[dir="rtl"] .fas.fa-arrow-left,
html[dir="rtl"] .fas.fa-chevron-left,
html[dir="rtl"] .las.la-angle-left,
html[dir="rtl"] .las.la-angle-double-left {
    transform: scaleX(-1);
    display: inline-block;
}

/* Margins in RTL */
html[dir="rtl"] .ml-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
html[dir="rtl"] .mr-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
html[dir="rtl"] .ml-3 { margin-left: 0 !important; margin-right: 1rem !important; }
html[dir="rtl"] .mr-3 { margin-right: 0 !important; margin-left: 1rem !important; }
html[dir="rtl"] .ml-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .mr-auto { margin-right: 0 !important; margin-left: auto !important; }

/* Forms in RTL */
html[dir="rtl"] .form--control {
    text-align: right !important;
    direction: rtl !important;
}

html[dir="rtl"] .contact-form label,
html[dir="rtl"] .search-form input {
    text-align: right !important;
}

/* Lists and widgets in RTL */
html[dir="rtl"] .footer-list li a,
html[dir="rtl"] .category-list li a {
    text-align: right !important;
}

html[dir="rtl"] .footer-list li a i,
html[dir="rtl"] .category-list li a i {
    margin-left: 8px !important;
    margin-right: 0 !important;
    transform: scaleX(-1);
}

html[dir="rtl"] .category-list li a span {
    float: left !important;
}

/* Footer widget spacing in RTL */
html[dir="rtl"] .footer-widget.ml-5 {
    margin-left: 0 !important;
    margin-right: 3rem !important;
}

@media (max-width: 991px) {
    html[dir="rtl"] .footer-widget.ml-5 {
        margin-right: 0 !important;
    }
}

/* Product cards and badges */
.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3249B3;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 5;
}

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

/* Portfolio & Project Filter Buttons */
.portfolio-filter-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.portfolio-filter-btn {
    border: 1px solid rgba(50, 73, 179, 0.25);
    background: transparent;
    color: #1C1C1C;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: #3249B3;
    color: #ffffff;
    border-color: #3249B3;
    box-shadow: 0 6px 20px rgba(50, 73, 179, 0.25);
}

/* ==================================================================
   ADVANCED SEARCH COMPONENTS (In-Page & Global Modal)
================================================================== */

/* In-Page Live Search Bar (Project, Portfolio, Product, FAQ) */
.site-search-wrapper {
    max-width: 720px;
    margin: 0 auto 35px auto;
    position: relative;
}

.site-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid rgba(50, 73, 179, 0.2);
    border-radius: 50px;
    padding: 6px 10px;
    box-shadow: 0 10px 30px rgba(50, 73, 179, 0.08);
    transition: all 0.3s ease;
}

.site-search-box:focus-within {
    border-color: #3249B3;
    box-shadow: 0 12px 35px rgba(50, 73, 179, 0.2);
    transform: translateY(-2px);
}

.site-search-box .search-icon {
    position: absolute;
    left: 20px;
    font-size: 20px;
    color: #3249B3;
    pointer-events: none;
}

html[dir="rtl"] .site-search-box .search-icon {
    left: auto;
    right: 20px;
}

.site-search-input {
    width: 100%;
    height: 48px;
    border: none;
    outline: none;
    background: transparent;
    padding-left: 50px;
    padding-right: 50px;
    font-size: 15px;
    color: #1C1C1C;
    font-weight: 500;
}

html[dir="rtl"] .site-search-input {
    padding-left: 50px;
    padding-right: 50px;
    text-align: right;
}

.site-search-box .search-clear-btn {
    position: absolute;
    right: 18px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

html[dir="rtl"] .site-search-box .search-clear-btn {
    right: auto;
    left: 18px;
}

.site-search-box .search-clear-btn:hover {
    background: #ff4757;
    color: #ffffff;
}

.search-results-counter {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Empty State when no results found */
.search-empty-state {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.search-empty-state i {
    font-size: 54px;
    color: rgba(50, 73, 179, 0.4);
    margin-bottom: 15px;
    display: inline-block;
}

.search-empty-state h4 {
    font-size: 20px;
    color: #1C1C1C;
    margin-bottom: 8px;
}

.search-empty-state p {
    color: #777;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 20px auto;
}

/* Global Search Modal Overlay */
.global-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 40px 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.global-search-modal.active {
    display: flex;
    opacity: 1;
}

.global-search-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 820px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: searchModalSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchModalSlideDown {
    from {
        transform: translateY(-30px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.global-search-header {
    display: flex;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafbff;
    position: relative;
}

.global-search-header .search-icon {
    font-size: 24px;
    color: #3249B3;
    margin-right: 16px;
}

html[dir="rtl"] .global-search-header .search-icon {
    margin-right: 0;
    margin-left: 16px;
}

.global-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #1C1C1C;
}

html[dir="rtl"] .global-search-input {
    text-align: right;
}

.global-search-close {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.global-search-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #ff4757;
}

/* Category Filter Pills in Modal */
.search-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 26px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-pill-btn {
    border: 1px solid rgba(50, 73, 179, 0.2);
    background: transparent;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-pill-btn.active,
.search-pill-btn:hover {
    background: #3249B3;
    color: #ffffff;
    border-color: #3249B3;
}

/* Global Search Results List */
.global-search-body {
    max-height: 480px;
    overflow-y: auto;
    padding: 16px 26px;
}

.global-search-group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin: 16px 0 10px 0;
}

.global-search-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #1C1C1C;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}

.global-search-item:hover {
    background: #f1f4ff;
    transform: translateX(4px);
}

html[dir="rtl"] .global-search-item:hover {
    transform: translateX(-4px);
}

.global-search-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(50, 73, 179, 0.1);
    color: #3249B3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}

html[dir="rtl"] .global-search-item-icon {
    margin-right: 0;
    margin-left: 14px;
}

.global-search-item-info {
    flex-grow: 1;
}

.global-search-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 2px;
}

.global-search-item-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.global-search-item-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(50, 73, 179, 0.1);
    color: #3249B3;
    margin-left: 12px;
    flex-shrink: 0;
}

html[dir="rtl"] .global-search-item-badge {
    margin-left: 0;
    margin-right: 12px;
}

.global-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 26px;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
    color: #888;
}

.global-search-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.global-search-shortcut kbd {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    color: #555;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ==================================================================
   PREMIUM PROJECT SLIDER ENHANCEMENT (Homepage index.php)
================================================================== */
.project-section.two {
    padding: 60px 0;
    overflow: hidden !important;
}

.project-section.two .project-area {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 30px 24px !important;
    position: relative !important;
}

.project-section.two .project-area::before {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 24px !important;
}

html[dir="rtl"] .project-section.two .project-area {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .project-section.two .project-area::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
}

.project-section.two .project-left-content {
    padding: 0 15px;
}

.project-section.two .project-left-content .logo-icon {
    width: 68px;
    height: 68px;
    line-height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(50, 73, 179, 0.1), rgba(93, 119, 240, 0.15));
    border: 1px solid rgba(50, 73, 179, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.project-section.two .project-left-content .logo-icon img {
    max-height: 38px;
    width: auto;
}

.project-section.two .project-left-content .title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #1a202c;
}

.project-section.two .project-left-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
}

.project-slider-controls-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.project-slider-area {
    position: relative;
    right: 0 !important;
    padding: 10px 0;
}

.project-slider-area .slider-next,
.project-slider-area .slider-prev,
.project-slider-controls-group .slider-next,
.project-slider-controls-group .slider-prev {
    position: static !important;
    right: auto !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(50, 73, 179, 0.25) !important;
    color: #3249B3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(50, 73, 179, 0.12) !important;
}

.project-slider-area .slider-next:hover,
.project-slider-area .slider-prev:hover,
.project-slider-controls-group .slider-next:hover,
.project-slider-controls-group .slider-prev:hover {
    background: #3249B3 !important;
    color: #ffffff !important;
    border-color: #3249B3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(50, 73, 179, 0.25) !important;
}

/* Uniform Card Aspect Ratio & Clean Typography */
.project-thumb.two {
    position: relative !important;
    height: 400px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    background: #f1f5f9 !important;
    display: block !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-thumb.two img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.project-thumb.two:hover img {
    transform: scale(1.06) !important;
}

.project-thumb.two .project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #3249B3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .project-thumb.two .project-badge {
    left: auto;
    right: 16px;
}

.project-thumb.two .project-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 52% !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 4 !important;
}

.project-thumb.two .project-overlay .overlay-content .title {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.project-thumb.two .project-overlay .overlay-content .title a {
    color: #ffffff !important;
    display: block !important;
}

.project-thumb.two .project-overlay .overlay-content .title a span:first-child {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-thumb.two .project-overlay .overlay-content .title a span:last-child {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

/* ==================================================================
   ENTERPRISE FOOTER FIX & UNIFICATION (Dark Navy Luxury)
================================================================== */
/* Eliminate the broken 41% blue rectangle slice */
.footer-area::after,
.footer-section.two .footer-area::after,
.footer-section .footer-area::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Remove awkward floating sphere elements in footer */
.footer-element-three,
.footer-element-seven,
.footer-element-eight,
.footer-area-element {
    display: none !important;
}

/* Unified Enterprise Dark Navy Footer */
.footer-section,
.footer-section.two {
    background: #0B1120 !important;
    color: #cbd5e1 !important;
    position: relative !important;
    overflow: hidden !important;
}

.footer-section .footer-area {
    background: transparent !important;
    padding-top: 70px !important;
    padding-bottom: 60px !important;
}

.footer-section .footer-top-area {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 35px !important;
    margin-bottom: 45px !important;
}

/* Enterprise Contact Cards */
.footer-contact-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 100% !important;
}

.footer-contact-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.footer-contact-card .contact-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
    background: rgba(50, 73, 179, 0.22) !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
    color: #60a5fa !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

.footer-contact-card:hover .contact-icon {
    background: #3249B3 !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(50, 73, 179, 0.7) !important;
}

.footer-contact-card .contact-info {
    flex-grow: 1 !important;
    overflow: hidden !important;
}

.footer-contact-card .sub-title {
    color: #60a5fa !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.footer-contact-card .link-title,
.footer-contact-card .link-title a {
    color: #ffffff !important;
    font-size: 16.5px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: block !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.footer-contact-card .link-title a:hover {
    color: #93c5fd !important;
}

/* Brand Logo Badge */
.footer-logo-badge {
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.25s ease !important;
}

.footer-logo-badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3) !important;
}

.footer-brand-widget .footer-desc {
    color: #94a3b8 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-top: 15px !important;
    margin-bottom: 22px !important;
}

/* Footer Widgets Titles */
.footer-widget .title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 22px !important;
    position: relative !important;
}

.footer-widget .title::after {
    background-color: #3249B3 !important;
    content: "" !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 32px !important;
    height: 3px !important;
    border-radius: 2px !important;
}

html[dir="rtl"] .footer-widget .title::after {
    left: auto !important;
    right: 0 !important;
}

.footer-list li {
    margin-bottom: 11px !important;
}

.footer-list li a {
    color: #94a3b8 !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.footer-list li a:hover {
    color: #60a5fa !important;
    transform: translateX(4px) !important;
}

html[dir="rtl"] .footer-list li a:hover {
    transform: translateX(-4px) !important;
}

/* Social icons */
.footer-social {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-social li {
    display: inline-block !important;
    margin: 0 !important;
}

.footer-social li a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    transition: all 0.25s ease !important;
}

.footer-social li a:hover {
    background: #3249B3 !important;
    color: #ffffff !important;
    border-color: #3249B3 !important;
    transform: translateY(-2px) !important;
}

/* Newsletter Widget */
.newsletter-sub-desc {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

.footer-subscribe-form {
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.footer-subscribe-form input.form--control {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    height: 48px !important;
    border-radius: 8px !important;
    padding-left: 16px !important;
    padding-right: 52px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

.footer-subscribe-form input.form--control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #60a5fa !important;
}

html[dir="rtl"] .footer-subscribe-form input.form--control {
    padding-left: 52px !important;
    padding-right: 16px !important;
    text-align: right !important;
}

.footer-subscribe-form input.form--control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

.footer-subscribe-form button {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 6px !important;
    background: #3249B3 !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    transition: background 0.2s ease !important;
}

html[dir="rtl"] .footer-subscribe-form button {
    right: auto !important;
    left: 4px !important;
}

.footer-subscribe-form button:hover {
    background: #435cd1 !important;
}

.newsletter-guarantee {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #64748b !important;
    font-size: 12px !important;
    margin-top: 10px !important;
}

.newsletter-guarantee i {
    color: #34d399 !important;
    font-size: 15px !important;
}

/* Modern Copyright Strip */
.copyright-wrapper {
    background: #060913 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 22px 0 !important;
    margin-top: 0 !important;
}

.copyright-inner {
    gap: 16px !important;
}

.copyright-text,
.copyright-text a {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
}

.copyright-text a:hover {
    color: #60a5fa !important;
}

.copyright-legal-links {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.copyright-legal-links li a {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.copyright-legal-links li a:hover {
    color: #60a5fa !important;
}

.copyright-legal-links .separator {
    color: #475569 !important;
    font-size: 12px !important;
}

/* RTL Global Adjustments for Footer */
html[dir="rtl"] .footer-section .footer-widget,
html[dir="rtl"] .footer-contact-card .contact-info {
    text-align: right !important;
}

html[dir="rtl"] .footer-social {
    justify-content: flex-start !important;
}

/* ==================================================================
   UNIVERSAL MULTILINGUAL SLIDER STABILITY & CONTROLS
================================================================== */
.project-slider-area,
.team-slider-area,
.client-slider-area,
.brand-slider-area {
    direction: ltr !important;
}

/* Ensure slide cards have proper RTL/LTR text alignment */
html[dir="rtl"] .team-item {
    direction: rtl !important;
    text-align: center !important;
}

html[dir="rtl"] .team-item .team-content .title,
html[dir="rtl"] .team-item .team-content .sub-title {
    text-align: center !important;
}

html[dir="rtl"] .client-item {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .client-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .client-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: right !important;
}

/* Hide broken decorative background slab in team section */
.team-slider-area.two::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Dedicated control button styling */
.project-slider-next, .project-slider-prev,
.team-slider-next, .team-slider-prev,
.client-slider-next, .client-slider-prev {
    cursor: pointer !important;
    user-select: none !important;
}

/* Client slider controls layout */
.client-slider-prev, .client-slider-next {
    cursor: pointer !important;
    z-index: 10 !important;
}

