/**
* Template Name: Axis
* Template URL: https://bootstrapmade.com/axis-bootstrap-corporate-template/
* Updated: Sep 13 2025 with Bootstrap v5.3.8
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Almarai", sans-serif;
    --heading-font: "Almarai", sans-serif;
    --nav-font: "Almarai", sans-serif;
}

/* Global Colors */
:root {
    --background-color: #ffffff;
    --default-color: #4b5563;
    --heading-color: #081a33;
    --accent-color: #bd9e66;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #ffffff;
    --nav-hover-color: #bd9e66;
    --nav-mobile-background-color: #081a33;
    --nav-dropdown-background-color: #081a33;
    --nav-dropdown-color: #ffffff;
    --nav-dropdown-hover-color: #bd9e66;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #081a33;
    --default-color: rgba(255, 255, 255, 0.8);
    --heading-color: #ffffff;
    --accent-color: #bd9e66;
    --surface-color: #0b2242;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-weight: 400;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Unified Section Background - Light Modern Design
--------------------------------------------------------------*/
.section {
    position: relative;
    overflow: hidden;
}

.hero.section,
.about.section,
.services.section,
.testimonials.section,
.team.section,
.board.section,
.portfolio.section,
.partners.section,
.faq.section,
.why-us.section,
.embroidery.section,
.jobs.section,
.galleries.section,
.contact.section {
    /* background: linear-gradient(
        135deg,
        #fefefe 0%,
        #f7f8fc 25%,
        #f0f4f8 50%,
        #f5f7fa 75%,
        #ffffff 100%
    ); */
    background: white;
}

/* Subtle Dot Pattern Overlay */
.hero.section::before,
.about.section::before,
.services.section::before,
.testimonials.section::before,
.team.section::before,
.board.section::before,
.portfolio.section::before,
.partners.section::before,
.faq.section::before,
.why-us.section::before,
.embroidery.section::before,
.jobs.section::before,
.galleries.section::before,
.contact.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: radial-gradient(
        circle at 1.5px 1.5px,
        rgba(189, 158, 102, 0.2) 1.5px,
        transparent 0
    ); */
    /* background-size: 35px 35px; */
    pointer-events: none;
    z-index: 0;
}

/* Diagonal Lines Decoration - Alternating Sections */
/* .about.section::before,
.testimonials.section::before,
.partners.section::before,
.why-us.section::before,
.galleries.section::before {
    background-image: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(189, 158, 102, 0.07) 60px,
            rgba(189, 158, 102, 0.07) 61px
        ),
        radial-gradient(
            circle at 1.5px 1.5px,
            rgba(189, 158, 102, 0.2) 1.5px,
            transparent 0
        );
    background-size: auto, 35px 35px;
} */

.hero.section>.container,
.about.section>.container,
.services.section>.container,
.testimonials.section>.container,
.team.section>.container,
.portfolio.section>.container,
.partners.section>.container,
.faq.section>.container,
.why-us.section>.container,
.embroidery.section>.container,
.jobs.section>.container,
.galleries.section>.container,
.contact.section>.container {
    position: relative;
    z-index: 1;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    background-color: #081a33;
    color: #ffffff;
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
    border-bottom: 1px solid rgba(189, 158, 102, 0.1);
}

/* تخطيط الهيدر: اللوجو والقوائم بجانب بعض، محدد اللغة في النهاية */
.header .container-fluid,
.header .container-xl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* في RTL: نفس المنطق لكن من اليمين */
[dir="rtl"] .header .container-fluid,
[dir="rtl"] .header .container-xl {
    justify-content: flex-end;
}

.header .logo {
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 20px;
}

/* فاصل طولي إبداعي بين اللوجو والقوائم */
.header .logo::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(189, 158, 102, 0.3) 20%,
            rgba(189, 158, 102, 0.8) 50%,
            rgba(189, 158, 102, 0.3) 80%,
            transparent 100%);
    border-radius: 1px;
}

/* RTL: الفاصل على اليسار */
[dir="rtl"] .header .logo {
    padding-right: 0;
    padding-left: 20px;
}

[dir="rtl"] .header .logo::after {
    right: auto;
    left: 0;
}

.header .logo img {
    max-height: 40px;
    height: 40px;
    width: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.header .logo img:hover {
    transform: scale(1.05);
}

/* RTL: تغيير اتجاه الهامش للوجو */
[dir="rtl"] .header .logo img {
    margin-right: 0;
    margin-left: 10px;
}

.header .logo h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--default-font);
    letter-spacing: 0.5px;
}

/* القائمة تأخذ المساحة المتبقية */
.header .navmenu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
}

/* في RTL: القائمة من اليمين */
[dir="rtl"] .header .navmenu {
    justify-content: flex-start;
}

.scrolled .header {
    isolation: isolate;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.scrolled .header::before {
    display: none;
}

/* Language Selector Wrapper - في نهاية الشريط */
.language-selector-wrapper {
    margin-left: auto;
    display: flex;
    align-items: center;
}

[dir="rtl"] .language-selector-wrapper {
    margin-left: 0;
    margin-right: auto;
}

/* إزالة النقطة من dropdown */
.language-selector-wrapper .dropdown {
    list-style: none;
    position: relative;
}

/* Language Selector Styles */
.language-selector-wrapper .dropdown>a {
    color: var(--nav-color);
    padding: 15px 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.language-selector-wrapper .dropdown>a:hover {
    color: var(--nav-hover-color);
}

.language-selector-wrapper .dropdown a span.bi-globe {
    font-size: 18px;
}

/* مسافة بين الأيقونة والسهم */
.language-selector-wrapper .dropdown a i.toggle-dropdown {
    font-size: 10px;
    margin-left: 4px;
}

[dir="rtl"] .language-selector-wrapper .dropdown a i.toggle-dropdown {
    margin-left: 0;
    margin-right: 4px;
}

/* القائمة المنسدلة - مخفية افتراضياً */
.language-selector-wrapper .dropdown ul {
    position: absolute;
    background: var(--nav-dropdown-background-color);
    padding: 12px 0;
    border-radius: 8px;
    min-width: 200px;
    top: 130%;
    right: 0;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
    /* إخفاء القائمة */
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    display: block;
    list-style: none;
    margin: 0;
    border: 1px solid rgba(189, 158, 102, 0.15);
}

/* إظهار القائمة عند hover */
.language-selector-wrapper .dropdown:hover ul {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

[dir="rtl"] .language-selector-wrapper .dropdown ul {
    right: auto;
    left: 0;
}

.language-selector-wrapper .dropdown ul li {
    list-style: none;
}

.language-selector-wrapper .dropdown ul li a {
    padding: 12px 24px;
    color: var(--nav-dropdown-color);
    display: block;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.language-selector-wrapper .dropdown ul li a:hover,
.language-selector-wrapper .dropdown ul li.active a {
    color: var(--accent-color);
    background: rgba(189, 158, 102, 0.1);
}

.language-selector-wrapper .dropdown ul li.active a {
    font-weight: 600;
}

/*--------------------------------------------------------------
# Creative Language Switcher Styles
--------------------------------------------------------------*/
/* Main Language Dropdown */
.language-selector-wrapper .lang-dropdown {
    position: relative;
}

/* Language Toggle Button */
.language-selector-wrapper .lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px !important;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.15) 0%,
            rgba(189, 158, 102, 0.08) 100%);
    border: 1px solid rgba(189, 158, 102, 0.3);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.language-selector-wrapper .lang-toggle-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(189, 158, 102, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.language-selector-wrapper .lang-toggle-btn:hover::before {
    left: 100%;
}

.language-selector-wrapper .lang-toggle-btn:hover {
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.25) 0%,
            rgba(189, 158, 102, 0.15) 100%);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(189, 158, 102, 0.3);
    transform: translateY(-2px);
}

.language-selector-wrapper .lang-globe-icon {
    font-size: 18px;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector-wrapper .lang-toggle-btn:hover .lang-globe-icon {
    transform: rotate(360deg);
}

.language-selector-wrapper .lang-current-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--nav-color);
}

.language-selector-wrapper .lang-chevron {
    font-size: 10px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 2px;
}

[dir="rtl"] .language-selector-wrapper .lang-chevron {
    margin-left: 0;
    margin-right: 2px;
}

.language-selector-wrapper .lang-dropdown:hover .lang-chevron {
    transform: rotate(180deg);
}

/* Language Menu - Standard Dropdown Style */
.language-selector-wrapper .lang-dropdown>ul {
    position: absolute;
    top: 130%;
    right: 0;
    background: var(--nav-dropdown-background-color);
    border: 1px solid rgba(189, 158, 102, 0.15);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
    list-style: none;
    margin: 0;
    text-align: start;
}

[dir="rtl"] .language-selector-wrapper .lang-dropdown>ul {
    right: auto;
    left: 0;
}

.language-selector-wrapper .lang-dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

/* Language Item */
.language-selector-wrapper .lang-dropdown>ul>li {
    list-style: none;
    min-width: 180px;
}

/* Language Link & Current Language Span */
.language-selector-wrapper .lang-dropdown>ul>li>a,
.language-selector-wrapper .lang-dropdown>ul>li>.current-lang,
.language-selector-wrapper .lang-dropdown ul li a,
.language-selector-wrapper .lang-dropdown ul li span.current-lang {
    display: block !important;
    padding: 10px 20px !important;
    color: var(--nav-dropdown-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

/* LTR: محاذاة لليسار */
[dir="ltr"] .language-selector-wrapper .lang-dropdown>ul>li>a,
[dir="ltr"] .language-selector-wrapper .lang-dropdown>ul>li>.current-lang,
[dir="ltr"] .language-selector-wrapper .lang-dropdown ul li a,
[dir="ltr"] .language-selector-wrapper .lang-dropdown ul li span.current-lang {
    text-align: left;
}

.language-selector-wrapper .lang-dropdown>ul>li>a:hover,
.language-selector-wrapper .lang-dropdown ul li a:hover {
    color: var(--accent-color);
    background: rgba(189, 158, 102, 0.1);
}

/* Active Language */
.language-selector-wrapper .lang-dropdown>ul>li.active>.current-lang,
.language-selector-wrapper .lang-dropdown ul li.active span.current-lang {
    color: var(--accent-color);
    font-weight: 600;
    cursor: default;
}

/* Ripple Effect */
.lang-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(189, 158, 102, 0.4);
    transform: scale(0);
    animation: langRipple 0.6s ease-out;
    pointer-events: none;
}

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

/* Language Switch Overlay */
.lang-switch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #081a33 0%, #0a2547 50%, #081a33 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lang-switch-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%,
            rgba(189, 158, 102, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 20%,
            rgba(189, 158, 102, 0.08) 0%,
            transparent 50%);
    animation: overlayPulse 2s ease-in-out infinite;
}

@keyframes overlayPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Loader Container */
.lang-switch-loader {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Loader Circle */
.lang-loader-circle {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(189, 158, 102, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: langLoaderSpin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    position: relative;
}

.lang-loader-circle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid rgba(189, 158, 102, 0.1);
    border-bottom-color: rgba(189, 158, 102, 0.6);
    border-radius: 50%;
    animation: langLoaderSpin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.lang-loader-circle::after {
    content: "🌐";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    animation: langGlobePulse 1s ease-in-out infinite;
}

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

@keyframes langGlobePulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Loader Text */
.lang-loader-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: langTextFade 1.5s ease-in-out infinite;
}

@keyframes langTextFade {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.lang-switching-to {
    display: block;
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 10px;
}

/* Mobile Styles */
@media (max-width: 1199px) {
    .language-selector-wrapper .lang-toggle-btn {
        padding: 8px 14px !important;
    }

    .language-selector-wrapper .lang-current-text {
        display: none;
    }

    .language-selector-wrapper .lang-dropdown>ul {
        min-width: 160px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu - Modern & Creative Design
--------------------------------------------------------------*/

/* ===== Desktop Navigation ===== */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
        position: relative;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
        gap: 4px;
    }

    /* Push language selector to the far end */
    .navmenu ul .language-selector-wrapper {
        margin-left: auto;
        padding-left: 20px;
    }

    [dir="rtl"] .navmenu ul .language-selector-wrapper {
        margin-left: 0;
        margin-right: auto;
        padding-left: 0;
        padding-right: 20px;
    }

    /* Specific spacing for language selector elements */
    .navmenu .dropdown a span.bi-globe {
        margin-right: 6px;
    }

    [dir="rtl"] .navmenu .dropdown a span.bi-globe {
        margin-right: 0;
        margin-left: 6px;
    }

    .navmenu li {
        position: relative;
    }

    /* ===== Main Nav Links - Creative Hover Effect ===== */
    .navmenu>ul>li>a,
    .navmenu>ul>li>a:focus {
        color: var(--nav-color);
        padding: 12px 18px;
        font-size: 15px;
        font-family: var(--nav-font);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        position: relative;
        border-radius: 8px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        letter-spacing: 0.3px;
        overflow: hidden;
    }

    /* Animated underline effect */
    .navmenu>ul>li:not(.language-selector-wrapper):not(.more-dropdown)>a::before {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg,
                var(--accent-color),
                color-mix(in srgb, var(--accent-color), #fff 30%));
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
    }

    .navmenu>ul>li:not(.language-selector-wrapper):not(.more-dropdown):hover>a::before,
    .navmenu>ul>li:not(.language-selector-wrapper):not(.more-dropdown)>a.active::before {
        width: 60%;
    }

    /* Background glow on hover */
    .navmenu>ul>li:not(.language-selector-wrapper):not(.more-dropdown)>a::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(189, 158, 102, 0.1),
                rgba(189, 158, 102, 0.05));
        border-radius: 8px;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .navmenu>ul>li:not(.language-selector-wrapper):not(.more-dropdown):hover>a::after {
        opacity: 1;
    }

    .navmenu>ul>li>a i,
    .navmenu>ul>li>a:focus i {
        font-size: 10px;
        line-height: 0;
        margin-left: 6px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [dir="rtl"] .navmenu>ul>li>a i,
    [dir="rtl"] .navmenu>ul>li>a:focus i {
        margin-left: 0;
        margin-right: 6px;
    }

    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    /* Rotate chevron on hover */
    .navmenu .dropdown:hover>a i.toggle-dropdown {
        transform: rotate(180deg);
    }

    /* ===== Dropdown Menu - Modern Glass Effect ===== */
    .navmenu .dropdown ul {
        margin: 0;
        padding: 12px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 0;
        top: 130%;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 12px;
        z-index: 99;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(189, 158, 102, 0.1);
        backdrop-filter: blur(10px);
        min-width: 220px;
        overflow: hidden;
    }

    /* Dropdown gradient border effect */
    .navmenu .dropdown ul::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg,
                transparent,
                var(--accent-color),
                transparent);
    }

    /* RTL: القائمة المنسدلة تفتح من اليمين */
    [dir="rtl"] .navmenu .dropdown ul {
        left: auto;
        right: 0;
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
        position: relative;
    }

    .navmenu .dropdown ul a {
        padding: 12px 24px;
        font-size: 14px;
        text-transform: none;
        color: var(--nav-dropdown-color);
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    /* Dropdown item hover effect */
    .navmenu .dropdown ul a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--accent-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    [dir="rtl"] .navmenu .dropdown ul a::before {
        left: auto;
        right: 0;
    }

    .navmenu .dropdown ul a:hover::before {
        transform: scaleY(1);
    }

    .navmenu .dropdown ul a:hover {
        color: var(--nav-dropdown-hover-color);
        background: rgba(189, 158, 102, 0.1);
        padding-left: 30px;
    }

    [dir="rtl"] .navmenu .dropdown ul a:hover {
        padding-left: 24px;
        padding-right: 30px;
    }

    /* Language selector current language span */
    .navmenu .dropdown ul span.current-lang,
    .navmenu .lang-dropdown ul span.current-lang {
        display: block;
        padding: 12px 24px;
        font-size: 14px;
        text-transform: none;
        color: var(--nav-dropdown-color);
        font-weight: 500;
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
        transform: translateY(0);
    }

    /* Nested dropdowns */
    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: calc(100% + 10px);
        visibility: hidden;
    }

    [dir="rtl"] .navmenu .dropdown .dropdown ul {
        left: auto;
        right: calc(100% + 10px);
    }

    .navmenu .dropdown .dropdown:hover>ul {
        opacity: 1;
        top: 0;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ===== Mobile Navigation - Premium Slide-in Panel ===== */
@media (max-width: 1199px) {

    /* Mobile Nav Toggle Button */
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 8px;
        border-radius: 8px;
        position: relative;
        z-index: 9998;
    }

    .mobile-nav-toggle:hover {
        color: var(--accent-color);
        background: rgba(189, 158, 102, 0.1);
    }

    /* RTL: تغيير موقع زر القائمة */
    [dir="rtl"] .mobile-nav-toggle {
        margin-right: 0;
        margin-left: 10px;
    }

    .header .navmenu,
    [dir="rtl"] .header .navmenu {
        padding: 0;
        z-index: 9997;
        justify-content: flex-end;
    }

    /* Mobile Menu Panel */
    .navmenu ul {
        display: none;
        list-style: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        padding: 90px 0 30px;
        margin: 0;
        background: linear-gradient(180deg,
                var(--nav-mobile-background-color) 0%,
                color-mix(in srgb, var(--nav-mobile-background-color), #000 15%) 100%);
        overflow-y: auto;
        overflow-x: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.4s ease;
        z-index: 9998;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        transform: translateX(100%);
        opacity: 0;
        border-radius: 0;
    }

    /* RTL: القائمة تفتح من اليسار */
    [dir="rtl"] .navmenu ul {
        right: auto;
        left: 0;
        transform: translateX(-100%);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.4);
    }

    /* Custom scrollbar for mobile menu */
    .navmenu ul::-webkit-scrollbar {
        width: 4px;
    }

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

    .navmenu ul::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 10px;
    }

    /* Decorative gradient line at top of mobile menu */
    .navmenu ul::before {
        content: "";
        position: fixed;
        top: 70px;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 2px;
        background: linear-gradient(90deg,
                transparent,
                var(--accent-color),
                transparent);
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.4s ease 0.2s;
    }

    [dir="rtl"] .navmenu ul::before {
        right: auto;
        left: 0;
    }

    /* Mobile Menu Items */
    .navmenu>ul>li {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [dir="rtl"] .navmenu>ul>li {
        transform: translateX(-30px);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 16px 24px;
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        overflow: hidden;
    }

    /* Hover effect for mobile items */
    .navmenu a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--accent-color), transparent);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

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

    .navmenu a:hover::before,
    .navmenu a.active::before {
        transform: scaleY(1);
    }

    /* RTL: محاذاة النص لليمين في القائمة الجوالة */
    [dir="rtl"] .navmenu a,
    [dir="rtl"] .navmenu a:focus {
        text-align: right;
        flex-direction: row-reverse;
    }

    /* Dropdown toggle icon */
    .navmenu a i.toggle-dropdown,
    .navmenu a:focus i.toggle-dropdown {
        font-size: 12px;
        line-height: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        background: linear-gradient(135deg,
                rgba(189, 158, 102, 0.2),
                rgba(189, 158, 102, 0.1));
        border: 1px solid rgba(189, 158, 102, 0.3);
        flex-shrink: 0;
    }

    .navmenu a i.toggle-dropdown:hover {
        background: var(--accent-color);
        color: var(--nav-mobile-background-color);
        border-color: var(--accent-color);
        transform: scale(1.1);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
        background: rgba(189, 158, 102, 0.08);
        padding-left: 28px;
    }

    [dir="rtl"] .navmenu a:hover,
    [dir="rtl"] .navmenu .active,
    [dir="rtl"] .navmenu .active:focus {
        padding-left: 24px;
        padding-right: 28px;
    }

    .navmenu .active i.toggle-dropdown,
    .navmenu .active:focus i.toggle-dropdown {
        background: var(--accent-color);
        color: var(--nav-mobile-background-color);
        transform: rotate(180deg);
    }

    /* Dropdown submenu in mobile */
    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 8px 0;
        margin: 0;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-left: 3px solid var(--accent-color);
        margin-left: 24px;
        box-shadow: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [dir="rtl"] .navmenu .dropdown ul {
        border-left: none;
        border-right: 3px solid var(--accent-color);
        margin-left: 0;
        margin-right: 24px;
    }

    .navmenu .dropdown ul a {
        padding: 12px 20px;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        border-bottom: none;
    }

    .navmenu .dropdown ul a:hover {
        color: var(--accent-color);
        background: rgba(189, 158, 102, 0.1);
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(0, 0, 0, 0.15);
        margin-left: 16px;
    }

    [dir="rtl"] .navmenu .dropdown ul ul {
        margin-left: 0;
        margin-right: 16px;
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
    }

    /* ===== Mobile Nav Active State ===== */
    .mobile-nav-active {
        overflow: hidden;
    }

    /* Backdrop overlay - Applied to navmenu container */
    .mobile-nav-active .navmenu {
        position: fixed;
        inset: 0;
        background: rgba(8, 26, 51, 0.85);
        backdrop-filter: blur(5px);
        z-index: 9997;
        transition: all 0.3s ease;
        display: block;
        visibility: visible;
    }

    /* Animation for backdrop */
    .mobile-nav-active .navmenu {
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Close button styling */
    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: fixed;
        font-size: 28px;
        top: 20px;
        right: 20px;
        margin-right: 0;
        z-index: 9999;
        /* Highest priority */
        background: rgba(189, 158, 102, 0.2);
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(189, 158, 102, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .mobile-nav-active .mobile-nav-toggle:hover {
        background: var(--accent-color);
        color: var(--nav-mobile-background-color);
        transform: rotate(90deg);
    }

    /* RTL: موقع زر الإغلاق في الحالة الجوالة */
    [dir="rtl"] .mobile-nav-active .mobile-nav-toggle {
        right: auto;
        left: 20px;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
        transform: translateX(0);
        opacity: 1;
        z-index: 9998;
        /* Above navmenu background */
        position: fixed;
        /* Ensures it stays fixed relative to viewport */
    }

    [dir="rtl"] .mobile-nav-active .navmenu>ul {
        transform: translateX(0);
    }

    .mobile-nav-active .navmenu>ul::before {
        opacity: 1;
    }

    /* Staggered animation for menu items */
    .mobile-nav-active .navmenu>ul>li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Enhanced staggered delays */
    .mobile-nav-active .navmenu>ul>li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(8) {
        transition-delay: 0.45s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(9) {
        transition-delay: 0.5s;
    }

    .mobile-nav-active .navmenu>ul>li:nth-child(10) {
        transition-delay: 0.55s;
    }

    /* Ensure nested dropdown items are visible */
    .mobile-nav-active .navmenu .dropdown .dropdown-active li {
        opacity: 1;
        transform: none;
        display: block;
        visibility: visible;
    }

    /* Fix mobile dropdown positioning to force it static */
    .mobile-nav-active .navmenu .dropdown ul {
        position: static !important;
        transform: none !important;
        margin: 10px 20px !important;
        padding: 10px 0 !important;
        display: none;
        /* Controlled by JS toggling .dropdown-active class */
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: auto !important;
        min-width: unset !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        background: rgba(0, 0, 0, 0.1) !important;
    }

    .mobile-nav-active .navmenu .dropdown>.dropdown-active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Fix text color visibility in dropdown items for mobile */
    .mobile-nav-active .navmenu .dropdown ul a {
        padding: 10px 20px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 15px !important;
    }

    .mobile-nav-active .navmenu .dropdown ul a:hover {
        color: var(--accent-color) !important;
        background: rgba(189, 158, 102, 0.1) !important;
        padding-left: 25px !important;
    }

    [dir="rtl"] .mobile-nav-active .navmenu .dropdown ul a:hover {
        padding-left: 20px !important;
        padding-right: 25px !important;
    }

    /* Language selector in mobile - special styling */
    .navmenu .language-selector-wrapper {
        padding: 20px 24px;
        border-top: 1px solid rgba(189, 158, 102, 0.2);
        margin-top: 20px;
        opacity: 1 !important;
        transform: none !important;
    }

    .navmenu .language-selector-wrapper .lang-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Tablet-specific adjustments ===== */
@media (min-width: 768px) and (max-width: 1199px) {
    .navmenu ul {
        width: 380px;
    }

    .navmenu ul::before {
        width: 380px;
    }
}

/* ===== Small mobile adjustments ===== */
@media (max-width: 480px) {
    .navmenu ul {
        width: 100%;
        max-width: 100vw;
        padding-top: 80px;
    }

    .navmenu ul::before {
        width: 100%;
    }

    .mobile-nav-active .mobile-nav-toggle {
        top: 15px;
        right: 15px;
    }

    [dir="rtl"] .mobile-nav-active .mobile-nav-toggle {
        right: auto;
        left: 15px;
    }
}

/*--------------------------------------------------------------
# More Dropdown - Responsive Navigation
--------------------------------------------------------------*/
/* More Dropdown Styles */
.more-dropdown {
    position: relative;
}

.more-dropdown>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #fff 20%)) !important;
    color: #081a33 !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(189, 158, 102, 0.3);
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.more-dropdown>a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.more-dropdown:hover>a::before {
    left: 100%;
}

.more-dropdown>a:hover,
.more-dropdown:hover>a {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(189, 158, 102, 0.5) !important;
}

.more-dropdown>a span {
    color: inherit !important;
}

.more-dropdown>a i {
    color: inherit !important;
    font-size: 10px !important;
    transition: transform 0.3s ease;
    background: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.more-dropdown:hover>a i {
    transform: rotate(180deg);
}

/* More Dropdown Menu */
.more-dropdown-menu {
    min-width: 240px;
    max-height: 400px;
    overflow-y: auto;
}

.more-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.more-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.more-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* Separator for nested items */
.more-menu-separator {
    padding: 12px 24px 6px;
    border-top: 1px solid rgba(189, 158, 102, 0.2);
    margin-top: 8px;
}

.more-menu-separator:first-child {
    border-top: none;
    margin-top: 0;
}

.more-menu-separator span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    opacity: 0.9;
}

/* Hide More dropdown on mobile */
@media (max-width: 1199px) {
    .more-dropdown {
        display: none !important;
    }

    .nav-item-main {
        display: block !important;
    }

    .nav-item-main.hidden-in-more {
        display: block !important;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: #ffffff;
    background-color: #081a33;
    font-size: 14px;
    padding-bottom: 0;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer .footer-about .logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
    color: rgba(255, 255, 255, 0.7);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
}

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

.footer h4 {
    font-size: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    color: var(--accent-color);
}

.footer .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    line-height: 1;
}

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

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a264a 0%, #081a33 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    box-sizing: border-box;
    will-change: transform;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--accent-color);
    border-bottom-color: rgba(189, 158, 102, 0.2);
    animation: orbit-spin 2s linear infinite;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    border-right-color: rgba(189, 158, 102, 0.8);
    border-left-color: rgba(189, 158, 102, 0.2);
    animation: orbit-spin-reverse 1.5s linear infinite;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    border-top-color: var(--accent-color);
    animation: orbit-spin 0.8s linear infinite;
}

.loader-logo-pulse {
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes orbit-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-spin-reverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 20px var(--accent-color);
    }

    50% {
        transform: scale(0.6);
        opacity: 0.8;
        box-shadow: 0 0 10px var(--accent-color);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    text-align: center;
    padding: 40px 0 20px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .breadcrumbs {
    margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.page-title .title-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--heading-color);
}

.page-title .title-wrapper p {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-title .title-wrapper h1 {
        font-size: 2rem;
    }

    .page-title .title-wrapper p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-title .title-wrapper h1 {
        font-size: 1.75rem;
    }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    padding: 100px 0;
    scroll-margin-top: 87px;
    overflow: clip;
    position: relative;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--default-color);
    margin-bottom: 1.5rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
}

.section-title .subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    position: relative;
    font-family: var(--heading-font);
}

.section-title .subtitle::after {
    content: "";
    display: none;
}

.section-title p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--default-color);
    max-width: 900px;
    margin: 0 auto;
    text-wrap: balance;
    opacity: 0.9;
}

/*--------------------------------------------------------------
# Hero Section - Light Modern Design
--------------------------------------------------------------*/
.hero {
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
}

@keyframes meshMove {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1) translateY(-20px);
    }
}

/* Decorative Pattern Overlay */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(8, 26, 51, 0.02) 1px,
            transparent 1px),
        linear-gradient(90deg, rgba(8, 26, 51, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

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

/* Legacy hero-content, hero-cta, hero-stats, hero-image classes removed -
   Now using unified .content, .cta-section, .stats-row, .image-wrapper classes
   defined in the unified section styles below */

/*--------------------------------------------------------------
# About Section - Modern Design
--------------------------------------------------------------*/
.about {
    position: relative;
}

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

.hero .content,
.about .content,
.why-us .content {
    padding-right: 40px;
}

[dir="rtl"] .hero .content,
[dir="rtl"] .about .content,
[dir="rtl"] .why-us .content {
    padding-right: 0;
    padding-left: 40px;
}

.hero .content h2,
.about .content h2,
.why-us .content h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: var(--heading-font);
    color: #081a33;
    position: relative;
}

.hero .content h2::after,
.about .content h2::after,
.why-us .content h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #bd9e66 0%, #d4b17a 100%);
    border-radius: 2px;
}

[dir="rtl"] .hero .content h2::after,
[dir="rtl"] .about .content h2::after,
[dir="rtl"] .why-us .content h2::after {
    left: auto;
    right: 0;
}

@media (max-width: 768px) {

    .hero .content h2,
    .about .content h2,
    .why-us .content h2 {
        font-size: 32px;
    }
}

.hero .content .lead,
.about .content .lead,
.why-us .content .lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 35px;
    margin-top: 25px;
    color: #4b5563;
}

@media (max-width: 768px) {

    .hero .content .lead,
    .about .content .lead,
    .why-us .content .lead {
        font-size: 16px;
    }
}

/* Stats Row - Modern Cards */
.hero .stats-row,
.about .stats-row,
.why-us .stats-row {
    display: flex;
    gap: 20px;
    margin: 50px 0;
}

@media (max-width: 576px) {

    .hero .stats-row,
    .about .stats-row,
    .why-us .stats-row {
        flex-direction: column;
        gap: 15px;
    }
}

.hero .stats-row .stat-item,
.about .stats-row .stat-item,
.why-us .stats-row .stat-item {
    flex: 1;
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
    border-radius: 16px;
    border: 1px solid rgba(189, 158, 102, 0.15);
    box-shadow: 0 8px 30px rgba(8, 26, 51, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero .stats-row .stat-item::before,
.about .stats-row .stat-item::before,
.why-us .stats-row .stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #bd9e66 0%, #d4b17a 50%, #bd9e66 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hero .stats-row .stat-item:hover,
.about .stats-row .stat-item:hover,
.why-us .stats-row .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(189, 158, 102, 0.2);
    border-color: rgba(189, 158, 102, 0.4);
}

.hero .stats-row .stat-item:hover::before,
.about .stats-row .stat-item:hover::before,
.why-us .stats-row .stat-item:hover::before {
    transform: scaleX(1);
}

.hero .stats-row .stat-item .stat-number,
.about .stats-row .stat-item .stat-number,
.why-us .stats-row .stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--heading-font);
    margin-bottom: 8px;
}

.hero .stats-row .stat-item .stat-label,
.about .stats-row .stat-item .stat-label,
.why-us .stats-row .stat-item .stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #081a33;
    margin-top: 5px;
}

/* CTA Section */
.hero .cta-section,
.about .cta-section,
.why-us .cta-section {
    display: flex;
    gap: 20px;
    margin-top: 45px;
}

@media (max-width: 576px) {

    .hero .cta-section,
    .about .cta-section,
    .why-us .cta-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero .cta-section .btn-primary,
.about .cta-section .btn-primary,
.why-us .cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%);
    color: #081a33;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.hero .cta-section .btn-primary:hover,
.about .cta-section .btn-primary:hover,
.why-us .cta-section .btn-primary:hover {
    background: linear-gradient(135deg, #d4b17a 0%, #bd9e66 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.45);
    color: #081a33;
}

.hero .cta-section .btn-outline,
.about .cta-section .btn-outline,
.why-us .cta-section .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    background: linear-gradient(135deg, #081a33 0%, #0c264a 50%, #081a33 100%);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(8, 26, 51, 0.3), 0 0 0 0 rgba(8, 26, 51, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.hero .cta-section .btn-outline::before,
.about .cta-section .btn-outline::before,
.why-us .cta-section .btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(189, 158, 102, 0.4),
            transparent);
    transition: left 0.5s ease;
}

.hero .cta-section .btn-outline:hover,
.about .cta-section .btn-outline:hover,
.why-us .cta-section .btn-outline:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(8, 26, 51, 0.4),
        0 0 30px rgba(189, 158, 102, 0.2);
    color: #ffffff;
    background: linear-gradient(135deg, #0c264a 0%, #102d5a 50%, #0c264a 100%);
}

.hero .cta-section .btn-outline:hover::before,
.about .cta-section .btn-outline:hover::before,
.why-us .cta-section .btn-outline:hover::before {
    left: 100%;
}

/* Image Wrapper */
.hero .image-wrapper,
.about .image-wrapper,
.why-us .image-wrapper {
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 550px;
}

.hero .image-wrapper::before,
.about .image-wrapper::before,
.why-us .image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: linear-gradient(135deg, #081a33 0%, #0c264a 100%);
    border-radius: 20px;
    z-index: 0;
}

[dir="rtl"] .hero .image-wrapper::before,
[dir="rtl"] .about .image-wrapper::before,
[dir="rtl"] .why-us .image-wrapper::before {
    left: 0;
    right: 40px;
    width: calc(100% - 40px);
}

.hero .image-wrapper img,
.about .image-wrapper img,
.why-us .image-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(8, 26, 51, 0.25);
    border: 4px solid rgba(189, 158, 102, 0.3);
    transition: all 0.4s ease;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero .image-wrapper:hover img,
.about .image-wrapper:hover img,
.why-us .image-wrapper:hover img {
    transform: translateY(-10px) translateX(-5px);
    box-shadow: 0 35px 70px rgba(8, 26, 51, 0.3);
}

[dir="rtl"] .hero .image-wrapper:hover img,
[dir="rtl"] .about .image-wrapper:hover img,
[dir="rtl"] .why-us .image-wrapper:hover img {
    transform: translateY(-10px) translateX(5px);
}

/* Floating Card - Glassmorphism */
.hero .image-wrapper .floating-card,
.about .image-wrapper .floating-card,
.why-us .image-wrapper .floating-card {
    position: absolute;
    bottom: -10px;
    right: -20px;
    background: linear-gradient(145deg,
            rgba(8, 26, 51, 0.95) 0%,
            rgba(12, 38, 74, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 20px 50px rgba(8, 26, 51, 0.4);
    max-width: 280px;
    border: 2px solid rgba(189, 158, 102, 0.3);
    z-index: 10;
    transition: all 0.4s ease;
}

[dir="rtl"] .hero .image-wrapper .floating-card,
[dir="rtl"] .about .image-wrapper .floating-card,
[dir="rtl"] .why-us .image-wrapper .floating-card {
    right: auto;
    left: -20px;
}

.hero .image-wrapper .floating-card:hover,
.about .image-wrapper .floating-card:hover,
.why-us .image-wrapper .floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(8, 26, 51, 0.5);
    border-color: rgba(189, 158, 102, 0.5);
}

@media (max-width: 992px) {

    .hero .image-wrapper .floating-card,
    .about .image-wrapper .floating-card,
    .why-us .image-wrapper .floating-card {
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        transform: none;
        margin-top: 0;
        max-width: 90%;
        width: max-content;
        padding: 15px 25px;
    }

    [dir="rtl"] .hero .image-wrapper .floating-card,
    [dir="rtl"] .about .image-wrapper .floating-card,
    [dir="rtl"] .why-us .image-wrapper .floating-card {
        left: 0;
        right: 0;
        transform: none;
    }
}

.hero .image-wrapper .floating-card .card-content,
.about .image-wrapper .floating-card .card-content,
.why-us .image-wrapper .floating-card .card-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero .image-wrapper .floating-card .card-content .icon,
.about .image-wrapper .floating-card .card-content .icon,
.why-us .image-wrapper .floating-card .card-content .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(189, 158, 102, 0.35);
}

.hero .image-wrapper .floating-card .card-content .icon i,
.about .image-wrapper .floating-card .card-content .icon i,
.why-us .image-wrapper .floating-card .card-content .icon i {
    font-size: 26px;
    color: #081a33;
}

.hero .image-wrapper .floating-card .card-content .text h4,
.about .image-wrapper .floating-card .card-content .text h4,
.why-us .image-wrapper .floating-card .card-content .text h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.hero .image-wrapper .floating-card .card-content .text p,
.about .image-wrapper .floating-card .card-content .text p,
.why-us .image-wrapper .floating-card .card-content .text p {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .hero,
    .about,
    .why-us {
        padding: 80px 0;
    }

    .hero .content,
    .about .content,
    .why-us .content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    [dir="rtl"] .hero .content,
    [dir="rtl"] .about .content,
    [dir="rtl"] .why-us .content {
        padding-left: 0;
    }

    .hero .content h2::after,
    .about .content h2::after,
    .why-us .content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .hero .content h2::after,
    [dir="rtl"] .about .content h2::after,
    [dir="rtl"] .why-us .content h2::after {
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }

    .hero .stats-row,
    .about .stats-row,
    .why-us .stats-row {
        justify-content: center;
    }

    .hero .cta-section,
    .about .cta-section,
    .why-us .cta-section {
        justify-content: center;
    }

    .hero .image-wrapper::before,
    .about .image-wrapper::before,
    .why-us .image-wrapper::before {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    [dir="rtl"] .hero .image-wrapper::before,
    [dir="rtl"] .about .image-wrapper::before,
    [dir="rtl"] .why-us .image-wrapper::before {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {

    .hero .content h2,
    .about .content h2,
    .why-us .content h2 {
        font-size: 28px;
    }

    .hero .stats-row .stat-item .stat-number,
    .about .stats-row .stat-item .stat-number,
    .why-us .stats-row .stat-item .stat-number {
        font-size: 36px;
    }

    .hero .cta-section,
    .about .cta-section,
    .why-us .cta-section {
        align-items: center;
    }

    .hero .cta-section .btn-primary,
    .hero .cta-section .btn-outline,
    .about .cta-section .btn-primary,
    .about .cta-section .btn-outline,
    .why-us .cta-section .btn-primary,
    .why-us .cta-section .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# Section Background Image Styles (Generalized)
--------------------------------------------------------------*/
/* These classes can be reused for any section with background images */
.section-background-container {
    position: relative;
    overflow: hidden;
}

.section-background {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section-background-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 60px 20px;
}

.section-background-content .subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.9;
}

.section-background-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.section-background-content .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-background {
        min-height: 300px;
    }

    .section-background-content h2 {
        font-size: 2rem;
    }

    .section-background-content .lead {
        font-size: 1rem;
    }
}

/* Specific styles for embroidery section */
.embroidery-container {
    position: relative;
    overflow: hidden;
}

.embroidery-background {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.embroidery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.embroidery-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 60px 20px;
}

.embroidery-content .subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.9;
}

.embroidery-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.embroidery-content .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .embroidery-background {
        min-height: 300px;
    }

    .embroidery-content h2 {
        font-size: 2rem;
    }

    .embroidery-content .lead {
        font-size: 1rem;
    }
}

/* About section with background image */
.about-background-container {
    position: relative;
    overflow: hidden;
}

.about-background {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-background-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.about-background-content .subtitle {
    color: #fff;
    opacity: 0.9;
}

.about-background-content h2 {
    color: #fff;
}

.about-background-content .section-title-description {
    color: #fff;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .about-background {
        min-height: 300px;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    background-color: color-mix(in srgb,
            var(--background-color),
            var(--accent-color) 2%);
}

.services .service-item {
    padding: 40px 30px;
    background: linear-gradient(145deg, #081a33 0%, #0b2242 100%);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(189, 158, 102, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.services .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            rgba(189, 158, 102, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.services .service-item::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
            var(--accent-color),
            transparent 30%,
            transparent 80%,
            var(--accent-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.services .service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(189, 158, 102, 0.2);
    border-color: rgba(189, 158, 102, 0.5);
}

.services .service-item:hover::before {
    opacity: 1;
}

.services .service-item:hover::after {
    opacity: 0.7;
}

.services .service-item:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.3) 0%,
            rgba(189, 158, 102, 0.1) 100%);
    border-color: rgba(189, 158, 102, 0.6);
    box-shadow: 0 10px 30px rgba(189, 158, 102, 0.4);
}

.services .service-item:hover .service-link {
    color: var(--accent-color);
    background: rgba(189, 158, 102, 0.2);
}

.services .service-item:hover .service-link i {
    transform: translateX(8px);
}

.services .service-item .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg,
            rgba(189, 158, 102, 0.08) 0%,
            rgba(189, 158, 102, 0.02) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(189, 158, 102, 0.2);
    flex-shrink: 0;
    position: static !important;
    top: unset !important;
    right: unset !important;
    left: unset !important;
}

.services .service-item .service-icon::before {
    display: none;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.services .service-item .service-icon i {
    font-size: 28px;
    color: var(--accent-color);
    transition: all 0.3s ease-in-out;
}

.services .service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.5;
    position: relative;
    padding-bottom: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services .service-item h3::after {
    display: none;
}

.services .service-item p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services .service-item .service-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    padding: 8px 20px;
    border-radius: 25px;
    background: transparent;
    border: 1px solid rgba(189, 158, 102, 0.4);
    margin-top: auto;
}

.services .service-item .service-link:hover {
    background: rgba(189, 158, 102, 0.25);
    border-color: rgba(189, 158, 102, 0.5);
    color: var(--accent-color);
}

.services .service-item .service-link i {
    font-size: 16px;
    transition: transform 0.4s ease-in-out;
}

/* RTL Support - Flip arrow direction for Arabic */
[dir="rtl"] .services .service-item .service-link i,
html[lang="ar"] .services .service-item .service-link i {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .services .service-item {
        padding: 30px 20px;
        border-radius: 16px;
        min-height: 340px;
    }

    .services .service-item:hover {
        transform: translateY(-5px);
    }

    .services .service-item .service-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .services .service-item .service-icon i {
        font-size: 24px;
    }

    .services .service-item h3 {
        font-size: 1.1rem;
        min-height: 42px;
        margin-bottom: 10px;
    }

    .services .service-item p {
        font-size: 0.85rem;
        min-height: 70px;
        margin-bottom: 16px;
    }

    .services .service-item .service-link {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Legacy Why Us styles removed -
   Now using unified .content, .cta-section, .stats-row, .image-wrapper classes
   defined in the unified section styles above */

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 80px;
    padding: 0;
    list-style: none;
}

@media (max-width: 768px) {
    .portfolio .portfolio-filters {
        margin-bottom: 60px;
        gap: 8px;
    }
}

.portfolio .portfolio-filters li {
    padding: 20px 0;
    margin: 0 40px;
    font-size: 0.95rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.4s ease;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    position: relative;
}

@media (max-width: 768px) {
    .portfolio .portfolio-filters li {
        margin: 0 20px;
        padding: 16px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .portfolio .portfolio-filters li {
        margin: 0 12px;
        padding: 14px 0;
        font-size: 0.85rem;
    }
}

.portfolio .portfolio-filters li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
    color: var(--default-color);
}

.portfolio .portfolio-filters li:hover::after {
    width: 100%;
}

.portfolio .portfolio-filters li.filter-active {
    color: var(--default-color);
    font-weight: 400;
}

.portfolio .portfolio-filters li.filter-active::after {
    width: 100%;
}

.portfolio .portfolio-card {
    height: 100%;
}

.portfolio .portfolio-card .project-visual {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.portfolio .portfolio-card .project-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

@media (max-width: 768px) {
    .portfolio .portfolio-card .project-visual img {
        height: 250px;
    }
}

.portfolio .portfolio-card .project-visual .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(8, 26, 51, 0.9),
            rgba(189, 158, 102, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content {
    display: flex;
    gap: 20px;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a {
    width: 48px;
    height: 48px;
    background-color: var(--contrast-color);
    color: var(--accent-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-card .project-visual:hover img {
    transform: scale(1.1);
}

.portfolio .portfolio-card .project-visual:hover .project-overlay {
    opacity: 1;
    visibility: visible;
}

.portfolio .portfolio-card .project-details {
    padding: 20px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio .portfolio-card .project-details .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.portfolio .portfolio-card .project-details .project-header .project-category {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.portfolio .portfolio-card .project-details .project-header .project-year {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-weight: 300;
}

.portfolio .portfolio-card .project-details .project-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--heading-color);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .portfolio .portfolio-card .project-details .project-title {
        font-size: 1.35rem;
    }
}

.portfolio .portfolio-card .project-details .project-description {
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 30px;
    line-height: 1.7;
    flex-grow: 1;
}

.portfolio .portfolio-card .project-details .project-meta {
    margin-top: auto;
}

.portfolio .portfolio-card .project-details .project-meta .client-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--default-color);
    margin-bottom: 16px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item {
    font-size: 0.8rem;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 6px 0;
    position: relative;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -8px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.portfolio .portfolio-conclusion {
    margin-top: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    .portfolio .portfolio-conclusion {
        margin-top: 80px;
    }
}

.portfolio .portfolio-conclusion .conclusion-content {
    max-width: 600px;
    margin: 0 auto;
}

.portfolio .portfolio-conclusion .conclusion-content h4 {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .portfolio .portfolio-conclusion .conclusion-content h4 {
        font-size: 1.5rem;
    }
}

.portfolio .portfolio-conclusion .conclusion-content p {
    font-size: 1rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 40px;
    line-height: 1.7;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

@media (max-width: 576px) {
    .portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
        flex-direction: column;
        gap: 20px;
    }
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
    transform: translateY(-1px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover i {
    transform: translateX(2px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action {
    color: var(--default-color);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    position: relative;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--default-color);
    transition: width 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover {
    color: var(--default-color);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover::after {
    width: 100%;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
    text-align: center;
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
}

.team .team-member .member-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px;
    height: 280px;
    flex-shrink: 0;
}

.team .team-member .member-img img {
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.team .team-member .member-info h4 {
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--heading-color);
    line-height: 1.3;
}

.team .team-member .member-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.team .team-member .member-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 25px;
    padding: 0 10px;
}

.team .team-member .member-info .social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team .team-member .member-info .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 50%;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.team .team-member .member-info .social a:hover {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.team .team-member:hover .member-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

@media (max-width: 992px) {
    .team .team-member .member-info h4 {
        font-size: 1.3rem;
    }

    .team .team-member .member-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .team .team-member .member-info h4 {
        font-size: 1.2rem;
    }

    .team .team-member .member-info p {
        padding: 0;
        font-size: 0.85rem;
    }

    .team .team-member .member-info .social {
        gap: 12px;
    }

    .team .team-member .member-info .social a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Testimonials Section - Horizontal Cards Design
--------------------------------------------------------------*/
.testimonials {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0a1628 0%, #081a33 50%, #0b2242 100%);
    padding: 100px 0;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%,
            rgba(189, 158, 102, 0.08) 0%,
            transparent 50%),
        radial-gradient(ellipse at 70% 80%,
            rgba(189, 158, 102, 0.06) 0%,
            transparent 50%);
    pointer-events: none;
}

/* testimonials section-title styles now unified in .section-title p */

.testimonials .testimonial-slider {
    position: relative;
    padding-bottom: 30px;
}

.testimonials .testimonial-slider .swiper-wrapper {
    height: auto !important;
    align-items: stretch;
}

.testimonials .swiper-slide {
    height: auto;
    display: flex;
}

/* ===== NEW HORIZONTAL TESTIMONIAL CARD ===== */
.testimonials .testimonial-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(189, 158, 102, 0.25);
    border-radius: 20px;
    padding: 30px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.testimonials .testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--accent-color),
            rgba(189, 158, 102, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(189, 158, 102, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-card:hover::before {
    opacity: 1;
}

/* Quote Icon */
.testimonials .quote-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg,
            var(--accent-color) 0%,
            rgba(189, 158, 102, 0.7) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 10px 30px rgba(189, 158, 102, 0.35);
    transition: all 0.4s ease;
    order: 1;
}

[dir="rtl"] .testimonials .quote-icon {
    margin-right: 0;
    margin-left: 20px;
    order: 1;
}

.testimonials .quote-icon i {
    font-size: 2.2rem;
    color: #081a33;
    transform: scaleX(-1);
}

[dir="rtl"] .testimonials .quote-icon i {
    transform: scaleX(1);
}

.testimonials .testimonial-card:hover .quote-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.4);
}

/* Testimonial Main Content Area */
.testimonials .testimonial-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    order: 0;
}

.testimonials .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444444;
    margin: 0;
    font-weight: 400;
}

/* Author Info - Below text */
.testimonials .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(189, 158, 102, 0.2);
}

.testimonials .author-image {
    flex-shrink: 0;
}

.testimonials .author-image img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(189, 158, 102, 0.4);
    transition: all 0.4s ease;
}

.testimonials .testimonial-card:hover .author-image img {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(189, 158, 102, 0.4);
}

.testimonials .author-details {
    display: flex;
    flex-direction: column;
}

.testimonials .author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.testimonials .author-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Navigation Buttons */
.testimonials .swiper-navigation {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
    position: static;
    width: 50px;
    height: 50px;
    margin: 0;
    background: rgba(189, 158, 102, 0.15);
    border: 2px solid rgba(189, 158, 102, 0.3);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #081a33;
    transform: scale(1.1);
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991px) {
    .testimonials .testimonial-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .testimonials .quote-icon {
        margin: 0 auto 20px auto;
    }

    .testimonials .testimonial-author {
        justify-content: center;
    }

    .testimonials .author-details {
        text-align: right;
    }
}

@media (max-width: 767px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials .testimonial-card {
        padding: 25px 20px;
    }

    .testimonials .quote-icon {
        width: 50px;
        height: 50px;
    }

    .testimonials .quote-icon i {
        font-size: 1.5rem;
    }

    .testimonials .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonials .author-image img {
        width: 45px;
        height: 45px;
    }

    .testimonials .author-name {
        font-size: 0.95rem;
    }

    .testimonials .swiper-button-prev,
    .testimonials .swiper-button-next {
        width: 45px;
        height: 45px;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding: 120px 0 100px;
}

.contact .info-item {
    margin-bottom: 80px;
}

.contact .info-item .info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.contact .info-item .info-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.contact .info-item .info-content h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--heading-color);
    letter-spacing: -0.3px;
}

.contact .info-item .info-content p {
    font-size: 16px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin: 0;
}

.contact .contact-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 48px;
}

.contact .contact-details .detail-item:last-child {
    margin-bottom: 0;
}

.contact .contact-details .detail-item .detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact .contact-details .detail-item .detail-icon i {
    font-size: 18px;
    color: var(--accent-color);
}

.contact .contact-details .detail-item .detail-content {
    flex: 1;
}

.contact .contact-details .detail-item .detail-content .detail-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.contact .contact-details .detail-item .detail-content .detail-value {
    display: block;
    font-size: 16px;
    color: var(--default-color);
    line-height: 1.6;
}

.contact .form-header {
    margin-bottom: 48px;
}

.contact .form-header h3 {
    font-size: 32px;
    font-weight: 300;
    color: var(--heading-color);
    margin: 0;
    letter-spacing: -0.4px;
}

.contact .form-wrapper {
    background-color: var(--surface-color);
    padding: 20px 30px;
    border-radius: 10px;
}

.contact .form-wrapper .form-group {
    margin-bottom: 32px;
}

.contact .form-wrapper .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.contact .form-wrapper .form-group input,
.contact .form-wrapper .form-group select,
.contact .form-wrapper .form-group textarea {
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--default-color);
    background-color: var(--surface-color);
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact .form-wrapper .form-group input:focus,
.contact .form-wrapper .form-group select:focus,
.contact .form-wrapper .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .form-wrapper .form-group input::placeholder,
.contact .form-wrapper .form-group select::placeholder,
.contact .form-wrapper .form-group textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.contact .form-wrapper .form-group select {
    cursor: pointer;
}

.contact .form-wrapper .form-group select option {
    padding: 10px;
}

.contact .form-wrapper .form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact .form-wrapper .submit-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 8px;
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.contact .form-wrapper .submit-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.contact .form-wrapper .submit-btn:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 10%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .form-wrapper .submit-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0 60px;
    }

    .contact .info-item {
        margin-bottom: 50px;
    }

    .contact .info-item .info-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 24px;
    }

    .contact .info-item .info-icon i {
        font-size: 20px;
    }

    .contact .info-item .info-content h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .contact .contact-details .detail-item {
        margin-bottom: 32px;
    }

    .contact .form-header {
        margin-bottom: 32px;
    }

    .contact .form-header h3 {
        font-size: 24px;
    }

    .contact .modern-form .form-group {
        margin-bottom: 24px;
    }
}

/*--------------------------------------------------------------
# Portfolio Details Section - Modern Redesign
--------------------------------------------------------------*/

/* Hero Section */
.project-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.project-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.project-hero-section .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    transform: scale(1.1);
}

.project-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(8, 26, 51, 0.95) 0%,
            rgba(8, 26, 51, 0.85) 50%,
            rgba(8, 26, 51, 0.98) 100%);
    z-index: 1;
}

.project-hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.project-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.project-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.project-breadcrumb .current {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}

/* Project Category */
.project-category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #fff 20%));
    color: #081a33;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge i {
    font-size: 14px;
}

.project-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.project-date i {
    color: var(--accent-color);
}

/* Main Title */
.project-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.project-subtitle {
    font-size: 1.25rem;
    color: #b4b2b2;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 30px;
}

.scroll-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: var(--accent-color);
    font-size: 16px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Portfolio Details Main Section */
.portfolio-details {
    padding: 80px 0;
}

/* Gallery Section */
.project-gallery-section {
    margin-bottom: 60px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.1),
            rgba(189, 158, 102, 0.05));
    border: 1px solid rgba(189, 158, 102, 0.3);
    border-radius: 30px;
    margin-bottom: 15px;
}

.section-badge i {
    color: var(--accent-color);
    font-size: 16px;
}

.section-badge span {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0;
}

/* Modern Gallery Slider */
.modern-gallery-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(8, 26, 51, 0.15);
}

.gallery-main-slider {
    border-radius: 20px;
    overflow: hidden;
}

.gallery-slide-inner {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.gallery-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main-slider .swiper-slide:hover .gallery-slide-inner img {
    transform: scale(1.02);
}

.slide-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(8, 26, 51, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

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

/* Gallery Controls */
.gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.gallery-nav {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #fff 15%));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
    flex-shrink: 0;
}

.gallery-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.4);
}

.gallery-nav i {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.gallery-pagination {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    min-width: 60px;
    text-align: center;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f0f0;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: var(--accent-color);
    opacity: 1;
    box-shadow: 0 5px 20px rgba(189, 158, 102, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Content Section */
.project-content-section {
    margin-top: 60px;
}

/* Content Card */
.content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(8, 26, 51, 0.08);
    border: 1px solid rgba(189, 158, 102, 0.1);
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(189, 158, 102, 0.15);
}

.header-decoration {
    width: 5px;
    height: 35px;
    background: linear-gradient(180deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #fff 30%));
    border-radius: 3px;
}

.content-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.content-body.project-narrative {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
}

.content-body.project-narrative p {
    margin-bottom: 1.5rem;
}

.content-body.project-narrative img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-body.project-narrative h2,
.content-body.project-narrative h3,
.content-body.project-narrative h4 {
    color: var(--heading-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-body.project-narrative ul,
.content-body.project-narrative ol {
    padding-right: 25px;
    margin-bottom: 20px;
}

[dir="ltr"] .content-body.project-narrative ul,
[dir="ltr"] .content-body.project-narrative ol {
    padding-right: 0;
    padding-left: 25px;
}

.content-body.project-narrative li {
    margin-bottom: 10px;
}

/* Project Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
}

/* Info Card */
.info-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(8, 26, 51, 0.08);
    border: 1px solid rgba(189, 158, 102, 0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(189, 158, 102, 0.15);
}

.info-card-header i {
    font-size: 22px;
    color: var(--accent-color);
}

.info-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.info-card-body .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(189, 158, 102, 0.15);
}

.info-card-body .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item .info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.15),
            rgba(189, 158, 102, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item .info-icon i {
    font-size: 18px;
    color: var(--accent-color);
}

.info-item .info-content {
    display: flex;
    flex-direction: column;
}

.info-item .info-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.info-item .info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

/* Share Card */
.share-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(8, 26, 51, 0.08);
    border: 1px solid rgba(189, 158, 102, 0.12);
}

.share-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.share-card-header i {
    font-size: 22px;
    color: var(--accent-color);
}

.share-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
}

.share-btn.facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.share-btn.twitter:hover {
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.share-btn.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.share-btn.linkedin:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* Back Button */
.back-button-wrapper {
    margin-top: 10px;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #fff 15%));
    color: #081a33;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(189, 158, 102, 0.3);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(189, 158, 102, 0.4);
    color: #081a33;
}

.back-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-5px);
}

[dir="ltr"] .back-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-slide-inner {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .project-hero-section {
        min-height: 60vh;
        padding: 100px 0 60px;
    }

    .project-main-title {
        font-size: 2.5rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

    .gallery-slide-inner {
        height: 400px;
    }

    .content-card {
        padding: 30px;
    }

    .project-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .project-hero-section {
        min-height: 55vh;
        padding: 90px 0 50px;
    }

    .project-main-title {
        font-size: 2rem;
    }

    .project-category {
        flex-direction: column;
        gap: 12px;
    }

    .gallery-slide-inner {
        height: 300px;
    }

    .gallery-controls {
        padding: 8px 15px;
        gap: 12px;
    }

    .gallery-nav {
        width: 38px;
        height: 38px;
    }

    .thumbnail-item {
        width: 80px;
        height: 55px;
    }

    .content-card {
        padding: 20px;
        border-radius: 15px;
    }

    .content-header h2 {
        font-size: 1.4rem;
    }

    .content-body.project-narrative {
        font-size: 1rem;
        line-height: 1.8;
    }

    .info-card,
    .share-card {
        padding: 20px;
    }

    .share-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .project-hero-section {
        min-height: 50vh;
        padding: 80px 0 40px;
    }

    .project-breadcrumb {
        font-size: 12px;
    }

    .category-badge {
        padding: 6px 15px;
        font-size: 11px;
    }

    .project-main-title {
        font-size: 1.75rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    .gallery-slide-inner {
        height: 250px;
    }

    .slide-counter {
        font-size: 11px;
        padding: 6px 12px;
    }

    .gallery-title {
        font-size: 1.75rem;
    }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details {
    padding: 80px 0;
}

.service-details .service-content .service-hero {
    margin-bottom: 60px;
}

.service-details .service-content .service-hero .service-image {
    border-radius: 8px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-details .service-content .service-description {
    margin-bottom: 80px;
}

.service-details .service-content .service-description .service-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.3;
}

.service-details .service-content .service-description .lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 32px;
}

.service-details .service-content .service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-content .service-features {
    margin-bottom: 80px;
}

.service-details .service-content .service-features h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.service-details .service-content .service-features .feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-details .service-content .service-features .feature-item .feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-details .service-content .service-features .feature-item .feature-icon i {
    font-size: 20px;
    color: var(--accent-color);
}

.service-details .service-content .service-features .feature-item .feature-content h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.service-details .service-content .service-features .feature-item .feature-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin: 0;
}

.service-details .service-content .service-process h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.service-details .service-content .service-process .process-timeline .process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.service-details .service-content .service-process .process-timeline .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: 40px;
    background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.service-details .service-content .service-process .process-timeline .process-step .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content {
    flex: 1;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin: 0;
}

.service-details .service-sidebar .sidebar-widget {
    background-color: var(--surface-color);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .sidebar-widget h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.service-details .service-sidebar .service-info .service-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details .service-sidebar .service-info .service-details-list li {
    padding: 12px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details .service-sidebar .service-info .service-details-list li:last-child {
    border-bottom: none;
}

.service-details .service-sidebar .service-info .service-details-list li strong {
    color: var(--heading-color);
    font-weight: 500;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    color: var(--default-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item:last-child {
    border-bottom: none;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item i {
    font-size: 16px;
    width: 20px;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item span {
    font-size: 0.95rem;
}

.service-details .service-sidebar .cta-widget {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), transparent 20%));
    color: var(--contrast-color);
}

.service-details .service-sidebar .cta-widget .cta-content {
    text-align: center;
}

.service-details .service-sidebar .cta-widget .cta-content h4 {
    color: var(--contrast-color);
    margin-bottom: 16px;
}

.service-details .service-sidebar .cta-widget .cta-content p {
    color: color-mix(in srgb, var(--contrast-color), transparent 15%);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta {
    display: inline-block;
    background-color: var(--contrast-color);
    color: var(--accent-color);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px color-mix(in srgb, var(--default-color), transparent 85%);
    color: var(--accent-color);
}

.service-details .service-sidebar .contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-details .service-sidebar .contact-info .contact-item:last-child {
    margin-bottom: 0;
}

.service-details .service-sidebar .contact-info .contact-item i {
    font-size: 18px;
    color: var(--accent-color);
    width: 24px;
}

.service-details .service-sidebar .contact-info .contact-item div strong {
    display: block;
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.service-details .service-sidebar .contact-info .contact-item div span {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .service-details {
        padding: 60px 0;
    }

    .service-details .service-content .service-hero {
        margin-bottom: 40px;
    }

    .service-details .service-content .service-hero .service-image {
        height: 300px;
    }

    .service-details .service-content .service-description {
        margin-bottom: 60px;
    }

    .service-details .service-content .service-description .service-title {
        font-size: 2rem;
    }

    .service-details .service-content .service-description .lead {
        font-size: 1.1rem;
    }

    .service-details .service-content .service-features,
    .service-details .service-content .service-process {
        margin-bottom: 60px;
    }

    .service-details .service-content .service-features h3,
    .service-details .service-content .service-process h3 {
        font-size: 1.7rem;
    }

    .service-details .service-content .process-timeline .process-step {
        gap: 16px;
    }

    .service-details .service-content .process-timeline .process-step:not(:last-child)::after {
        left: 19px;
    }

    .service-details .service-content .process-timeline .process-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .service-details .service-sidebar {
        margin-top: 40px;
    }

    .service-details .service-sidebar .sidebar-widget {
        padding: 24px;
    }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
    margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
    display: inline-block;
    padding: 8px 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.terms-of-service .tos-header p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
    margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.7;
    margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
    margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 15px;
    margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
    margin: 0;
    font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
    margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: var(--surface-color);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
    margin: 0;
    font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .terms-of-service .tos-content .content-section .prohibited-list {
        grid-template-columns: 1fr;
    }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--surface-color);
    border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
    color: #dc3545;
    font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
    background-color: var(--surface-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
    margin-bottom: 15px;
    font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
    margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 15px;
    margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
    margin: 0;
    font-size: 0.95rem;
}

.terms-of-service .tos-contact {
    margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent-color), transparent 95%) 0%,
            color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width: 576px) {
    .terms-of-service .tos-contact .contact-box {
        flex-direction: column;
        text-align: center;
    }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
    font-size: 1.8rem;
    color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
    flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
    .terms-of-service .tos-contact {
        display: none;
    }

    .terms-of-service .content-section {
        page-break-inside: avoid;
    }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy .privacy-content {
    font-size: 16px;
    line-height: 1.7;
}

.privacy .privacy-content .last-updated {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
}

.privacy .privacy-content .last-updated p {
    margin: 0;
    color: var(--heading-color);
}

.privacy .privacy-content .privacy-section {
    margin-bottom: 50px;
}

.privacy .privacy-content .privacy-section h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--heading-color);
    position: relative;
    padding-bottom: 15px;
}

.privacy .privacy-content .privacy-section h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.privacy .privacy-content .privacy-section h4 {
    color: var(--heading-color);
    font-size: 22px;
    margin: 30px 0 15px 0;
}

.privacy .privacy-content .privacy-section h5 {
    color: var(--heading-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section p {
    margin-bottom: 20px;
    color: var(--default-color);
}

.privacy .privacy-content .privacy-section ul,
.privacy .privacy-content .privacy-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy .privacy-content .privacy-section ul li,
.privacy .privacy-content .privacy-section ol li {
    margin-bottom: 10px;
    color: var(--default-color);
}

.privacy .privacy-content .privacy-section .info-box {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .info-box h4 {
    color: var(--heading-color);
    margin-top: 0;
}

.privacy .privacy-content .privacy-section .highlight-box {
    background: linear-gradient(135deg,
            var(--accent-color),
            color-mix(in srgb, var(--accent-color), #000000 20%));
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--contrast-color);
    margin: 40px 0;
}

.privacy .privacy-content .privacy-section .highlight-box i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.privacy .privacy-content .privacy-section .highlight-box h4 {
    color: var(--contrast-color);
    margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .highlight-box p {
    color: var(--contrast-color);
    margin: 0;
    opacity: 0.9;
}

.privacy .privacy-content .privacy-section .security-measures {
    margin: 30px 0;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy .privacy-content .privacy-section .security-measures .measure-item i {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item h5 {
    margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item p {
    margin: 0;
    font-size: 14px;
}

.privacy .privacy-content .privacy-section .rights-list {
    margin: 30px 0;
}

.privacy .privacy-content .privacy-section .rights-list .right-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--surface-color);
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
}

.privacy .privacy-content .privacy-section .rights-list .right-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.privacy .privacy-content .privacy-section .rights-list .right-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
    min-width: 24px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div {
    flex: 1;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div h5 {
    margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div p {
    margin: 0;
    font-size: 14px;
}

.privacy .privacy-content .privacy-section .cookie-types {
    margin: 30px 0;
}

.privacy .privacy-content .privacy-section .cookie-types h4 {
    margin-bottom: 20px;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table {
    margin: 0;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table thead {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table thead th {
    border: none;
    color: var(--heading-color);
    font-weight: 600;
    padding: 15px 20px;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table tbody td {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 15px 20px;
    color: var(--default-color);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table tbody tr:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 97%);
}

.privacy .privacy-content .contact-section {
    background: color-mix(in srgb, var(--accent-color), transparent 96%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy .privacy-content .contact-section h3 {
    color: var(--heading-color);
    margin-bottom: 20px;
}

.privacy .privacy-content .contact-section h3:after {
    background: var(--accent-color);
}

.privacy .privacy-content .contact-section .contact-info {
    margin-top: 30px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item i {
    font-size: 18px;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 18px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item span {
    color: var(--default-color);
}

@media (max-width: 768px) {
    .privacy .privacy-content {
        font-size: 15px;
    }

    .privacy .privacy-content .privacy-section h3 {
        font-size: 24px;
    }

    .privacy .privacy-content .privacy-section h4 {
        font-size: 20px;
    }

    .privacy .privacy-content .privacy-section .security-measures .row>div {
        margin-bottom: 20px;
    }

    .privacy .privacy-content .privacy-section .rights-list .right-item {
        flex-direction: column;
        text-align: center;
    }

    .privacy .privacy-content .privacy-section .rights-list .right-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            var(--surface-color) 0%,
            color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
}

.error-404 .error-content {
    margin-bottom: 80px;
}

.error-404 .error-content .error-number {
    font-size: 8rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .error-404 .error-content .error-number {
        font-size: 6rem;
    }
}

@media (max-width: 576px) {
    .error-404 .error-content .error-number {
        font-size: 4.5rem;
    }
}

.error-404 .error-content .error-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--heading-color);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .error-404 .error-content .error-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .error-404 .error-content .error-title {
        font-size: 2rem;
    }
}

.error-404 .error-content .error-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .error-404 .error-content .error-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}

.error-404 .error-content .error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.error-404 .error-content .error-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .error-content .error-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--heading-color);
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .error-404 .error-content .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-404 .error-content .error-actions .btn-primary,
    .error-404 .error-content .error-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

.error-404 .error-content .search-section .search-label {
    font-size: 1rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.error-404 .error-content .search-section .search-form {
    max-width: 400px;
    margin: 0 auto;
}

.error-404 .error-content .search-section .search-form .search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--surface-color);
    color: var(--default-color);
    transition: all 0.3s ease;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn {
    position: absolute;
    right: 8px;
    background: var(--accent-color);
    border: none;
    border-radius: 6px;
    padding: 12px;
    color: var(--contrast-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn i {
    font-size: 1rem;
}

.error-404 .helpful-links .links-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .error-404 .helpful-links .links-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
}

.error-404 .helpful-links .link-item {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item:hover {
    transform: translateY(-10px);
}

.error-404 .helpful-links .link-item .link-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            var(--accent-color) 0%,
            color-mix(in srgb, var(--accent-color), black 20%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-icon i {
    font-size: 1.75rem;
    color: var(--contrast-color);
}

.error-404 .helpful-links .link-item h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.error-404 .helpful-links .link-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 25px;
}

.error-404 .helpful-links .link-item .link-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover {
    color: color-mix(in srgb, var(--accent-color), black 15%);
    gap: 12px;
}

.error-404 .helpful-links .link-item .link-cta i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover i {
    transform: translateX(3px);
}

.error-404 .helpful-links .link-item:hover .link-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 65%);
}

@media (max-width: 992px) {
    .error-404 {
        padding: 80px 0;
    }

    .error-404 .helpful-links .link-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .error-404 {
        padding: 60px 0;
        min-height: auto;
    }

    .error-404 .error-content {
        margin-bottom: 60px;
    }

    .error-404 .helpful-links .links-title {
        margin-bottom: 40px;
    }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Service Item Cards Styling (Unified Design)
--------------------------------------------------------------*/
.service-item {
    position: relative;
    text-align: center;
    padding: 40px 30px;
    transition: all ease-in-out 0.4s;
    background: linear-gradient(145deg, #081a33 0%, #0b2242 100%);
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(189, 158, 102, 0.15);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure text is white */
.service-item h3,
.service-item p {
    color: #ffffff;
}

/* Hover effect for depth */
.service-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, #0a2040 0%, #0d2e58 100%);
    box-shadow: 0 15px 40px rgba(8, 26, 51, 0.35);
    border-color: rgba(189, 158, 102, 0.3);
}

/*--------------------------------------------------------------
# Creative Touches (Static Enhancements)
--------------------------------------------------------------*/

/* 1. Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #081a33a1;
    /* Semi-transparent Navy */
    border-radius: 6px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--heading-color);
    /* Full Navy on hover */
}

/* 2. Custom Text Selection Color */
::selection {
    background: var(--accent-color);
    /* Gold Background */
    color: #fff;
    /* White text */
}

::-moz-selection {
    background: var(--accent-color);
    color: #fff;
}

/* 3. Enhanced Section Titles (Static Creative Touch) */
.section-title h2 {
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Removed: smaller line under h2 (h2::before) */

/* 4. Softer Shadows for Cards (Global Polish) */
.card,
.icon-box {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Partners Section - Redesign
--------------------------------------------------------------*/
.partners {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: var(--background-color);
}

/* partners subtitle styles now unified in .section-title span, .section-title .subtitle */

.partners .section-title h2 {
    color: var(--heading-color);
}

.partners .partner-item {
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.03);
}

.partners .partner-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease-in-out;
    filter: none !important;
    opacity: 1 !important;
}

.partners .partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.partners .partner-item:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners .partner-item {
        padding: 20px;
        height: 120px;
    }

    .partners .partner-item img {
        max-height: 60px;
    }
}


/*--------------------------------------------------------------
# Service Card Icon Position Fix
--------------------------------------------------------------*/
.services .service-item .service-icon,
.service-item .service-icon {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 auto 20px auto !important;
    transform: none !important;
}

.service-item.position-relative .service-icon {
    position: static !important;
}

/*--------------------------------------------------------------
# Galleries Section - Horizontal Redesign
--------------------------------------------------------------*/
.galleries-section {
    padding-bottom: 60px;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    flex: 1;
}

/* Hide Scrollbar for Webkit */
.gallery-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.4);
    flex-shrink: 0;
    z-index: 5;
}

.gallery-nav-btn:hover {
    background: linear-gradient(135deg, #d4b17a 0%, #e8c88a 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.5);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-wrapper {
        gap: 10px;
    }
}

.gallery-card {
    flex: 0 0 250px;
    /* Reduced width for a more refined look */
    height: 250px;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--surface-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-card:first-child {
    margin-inline-start: auto;
}

.gallery-card:last-child {
    margin-inline-end: auto;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.1);
}

/* Overlay & Content */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(8, 26, 51, 0.9),
            rgba(8, 26, 51, 0.2));
    opacity: 0;
    display: flex;
    align-items: flex-end;
    /* Content at bottom */
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--default-font);
}

.overlay-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.overlay-actions a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-actions a:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-card {
        flex: 0 0 220px;
        height: 220px;
    }
}

/*--------------------------------------------------------------
# Hero Section Title Styling (Matching About Section)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero Section Title Styling (Matching About Section)
--------------------------------------------------------------*/
.hero .hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    margin-top: 0;
    /* Reset default top margin */
    font-family: var(--heading-font);
    color: #081a33;
    position: relative;
}

.hero .hero-content h1::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #bd9e66 0%, #d4b17a 100%);
    border-radius: 2px;
}

[dir="rtl"] .hero .hero-content h1::after {
    left: auto;
    right: 0;
}

@media (max-width: 768px) {
    .hero .hero-content h1 {
        font-size: 32px;
    }
}

/*--------------------------------------------------------------
# Standardize Hero & About Images (Fixed Aspect Ratio & Alignment)
--------------------------------------------------------------*/
.hero .image-wrapper img,
.about .image-wrapper img,
.why-us .image-wrapper img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}

/* Ensure alignment to the top (with titles) on desktop */
@media (min-width: 992px) {

    .hero .row,
    .about .row,
    .why-us .row {
        align-items: flex-start !important;
    }

    /* Add slight padding to content to align perfectly text-wise if needed */
    .hero .content,
    .about .content,
    .why-us .content {
        padding-top: 10px;
    }
}

/* Adjust for smaller screens */
@media (max-width: 992px) {

    .hero .image-wrapper img,
    .about .image-wrapper img,
    .why-us .image-wrapper img {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

/*--------------------------------------------------------------
# Team Member Card Redesign
--------------------------------------------------------------*/
.team-member {
    background-color: var(--surface-color);
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(189, 158, 102, 0.1);
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-color);
    transition: all 0.4s ease;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: center;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.12);
}

.team-member .member-image {
    position: relative;
    overflow: hidden;
    margin: 15px;
    border-radius: 15px;
    height: 280px;
    flex-shrink: 0;
}

.team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.team-member .member-content {
    padding: 15px 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member h3 {
    font-weight: 800;
    margin-bottom: 5px;
    font-size: 22px;
    color: var(--heading-color);
    transition: color 0.3s;
}

.team-member:hover h3 {
    color: var(--accent-color);
}

.team-member span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.team-member span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: rgba(189, 158, 102, 0.3);
    transition: width 0.3s ease;
}

.team-member:hover span::after {
    width: 60px;
    background: var(--accent-color);
}

.team-member p {
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Social Icons - Floating Action */
.team-member .member-social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 26, 51, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.team-member:hover .member-social {
    opacity: 1;
}

.team-member .member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--surface-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 20px;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(20px);
    opacity: 0;
}

.team-member .member-social a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(0) scale(1.1) !important;
}

/* Staggered animation */
.team-member:hover .member-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-member:hover .member-social a:nth-child(1) {
    transition-delay: 0.05s;
}

.team-member:hover .member-social a:nth-child(2) {
    transition-delay: 0.1s;
}

.team-member:hover .member-social a:nth-child(3) {
    transition-delay: 0.15s;
}

.team-member:hover .member-social a:nth-child(4) {
    transition-delay: 0.2s;
}

/*--------------------------------------------------------------
# Testimonials Section - Creative Redesign
--------------------------------------------------------------*/
.testimonials .testimonial-item {
    background: #ffffff;
    padding: 30px;
    margin: 30px 15px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(189, 158, 102, 0.1);
    text-align: center;
}

.testimonials .testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(189, 158, 102, 0.3);
}

/* Header & Image */
.testimonials .testimonial-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonials .testimonial-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface-color);
    box-shadow: 0 0 0 3px var(--accent-color);
    margin: 0 auto;
    transition: all 0.3s ease;
}

.testimonials .testimonial-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--accent-color), 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Quote Icon */
.testimonials .testimonial-item .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: rgba(189, 158, 102, 0.1);
    z-index: 0;
}

/* Body Text */
.testimonials .testimonial-body p {
    font-style: italic;
    color: var(--default-color);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* Footer (Name & Title) */
.testimonials .testimonial-footer {
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.testimonials .testimonial-footer h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.testimonials .testimonial-footer span {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Centered Navigation Arrows */
.testimonials .swiper-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
    position: static;
    margin: 0;
    width: 44px;
    height: 44px;
    background: var(--surface-color);
    border-radius: 50%;
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(189, 158, 102, 0.4);
}

/*--------------------------------------------------------------
# Global Section Title
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--heading-color);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p,
.testimonials .section-title h2 {
    margin-bottom: 0;
    color: var(--default-color);
    font-size: 16px;
}

/* Override for testimonials dark background */
.testimonials .section-title h2 {
    color: #ffffff;
}

.section-title span,
.section-title .subtitle,
.testimonials .section-title span.subtitle,
.partners .section-title span.subtitle {
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background: linear-gradient(135deg, #081a33 0%, #0b2242 50%, #081a33 100%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 60px 0 0 0;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--accent-color),
            #d4af37,
            var(--accent-color));
}

.footer .footer-top {
    padding-bottom: 40px;
}

.footer .footer-about .logo img {
    max-height: 50px;
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer .footer-about .logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer .footer-about .sitename {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.footer .footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer h4 {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

[dir="rtl"] .footer h4::after {
    left: auto;
    right: 0;
}

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

.footer .footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li::before {
    content: "›";
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 18px;
    font-weight: bold;
}

[dir="rtl"] .footer .footer-links ul li::before,
html[lang="ar"] .footer .footer-links ul li::before,
.rtl .footer .footer-links ul li::before {
    content: "›";
    margin-right: 0;
    margin-left: 10px;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    line-height: 1.5;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

[dir="rtl"] .footer .footer-links ul a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer .footer-contact p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-contact strong {
    color: var(--accent-color);
}

/* RTL: محاذاة قسم اتصل بنا لليمين */
[dir="rtl"] .footer .footer-contact {
    text-align: right !important;
}

[dir="rtl"] .footer .footer-contact h4 {
    text-align: right;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(189, 158, 102, 0.1);
    color: var(--accent-color);
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(189, 158, 102, 0.3);
    font-size: 16px;
}

[dir="rtl"] .footer .social-links a {
    margin-right: 0;
    margin-left: 10px;
}

.footer .social-links a:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(189, 158, 102, 0.4);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer .copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer .copyright .sitename {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section - Creative Design
--------------------------------------------------------------*/
.contact.section {
    position: relative;
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Info Item - Creative Card Design */
.contact .info-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(8, 26, 51, 0.08);
    border: 1px solid rgba(189, 158, 102, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact .info-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.1) 0%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact .info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(189, 158, 102, 0.2);
}

.contact .info-item:hover::before {
    opacity: 1;
}

.contact .info-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4b276 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(189, 158, 102, 0.3);
    }

    50% {
        box-shadow: 0 8px 35px rgba(189, 158, 102, 0.5);
    }
}

.contact .info-icon i {
    font-size: 28px;
    color: #ffffff;
}

.contact .info-content h4 {
    color: var(--heading-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact .info-content p {
    color: var(--default-color);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Contact Details */
.contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact .detail-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact .detail-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(189, 158, 102, 0.1),
            transparent);
    transition: left 0.6s ease;
}

.contact .detail-item:hover::before {
    left: 100%;
}

.contact .detail-item:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.15);
}

[dir="rtl"] .contact .detail-item:hover {
    transform: translateX(-10px);
}

.contact .detail-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg,
            rgba(8, 26, 51, 0.05) 0%,
            rgba(189, 158, 102, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact .detail-item:hover .detail-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4b276 100%);
    transform: rotate(360deg);
}

.contact .detail-icon i {
    font-size: 24px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.contact .detail-item:hover .detail-icon i {
    color: #ffffff;
}

.contact .detail-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.contact .detail-label {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact .detail-value {
    font-size: 16px;
    color: var(--heading-color);
    font-weight: 500;
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .contact .detail-value {
    text-align: right;
}

/* Form Wrapper - Glassmorphism Design */
.contact .form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(8, 26, 51, 0.1);
    border: 1px solid rgba(189, 158, 102, 0.1);
    position: relative;
    overflow: hidden;
}

.contact .form-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(189, 158, 102, 0.03) 0%,
            transparent 70%);
    animation: rotate-gradient 30s linear infinite;
}

@keyframes rotate-gradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.contact .form-header {
    position: relative;
    z-index: 1;
    margin-bottom: 35px;
}

.contact .form-header h3 {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

.contact .form-header h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg,
            var(--accent-color) 0%,
            transparent 100%);
    border-radius: 2px;
}

[dir="rtl"] .contact .form-header h3::after {
    left: auto;
    right: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent-color) 100%);
}

/* Form Groups */
.contact .form-group {
    position: relative;
    z-index: 1;
}

.contact .form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact .form-group input,
.contact .form-group textarea,
.contact .form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(8, 26, 51, 0.1);
    border-radius: 12px;
    font-size: 15px;
    color: var(--default-color);
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: var(--default-font);
}

.contact .form-group input:focus,
.contact .form-group textarea:focus,
.contact .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(189, 158, 102, 0.1);
    transform: translateY(-2px);
}

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

/* Submit Button - Animated */
.contact .submit-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4b276 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.3);
    z-index: 1;
}

.contact .submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.contact .submit-btn:hover::before {
    left: 100%;
}

.contact .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.4);
}

.contact .submit-btn:active {
    transform: translateY(-1px);
}

.contact .submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact .submit-btn:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .contact .submit-btn:hover i {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact .info-item {
        margin-bottom: 30px;
    }

    .contact .form-wrapper {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .contact .info-item {
        padding: 25px;
    }

    .contact .info-icon {
        width: 55px;
        height: 55px;
    }

    .contact .info-icon i {
        font-size: 24px;
    }

    .contact .detail-item {
        padding: 20px;
    }

    .contact .form-wrapper {
        padding: 30px 20px;
    }

    .contact .form-header h3 {
        font-size: 24px;
    }
}

/*--------------------------------------------------------------
# Portfolio Section - Creative Design
--------------------------------------------------------------*/
.portfolio.section {
    position: relative;
    overflow: hidden;
}

/* Portfolio Filters */
.portfolio .portfolio-filters {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--default-color);
    background: #ffffff;
    border: 2px solid rgba(8, 26, 51, 0.1);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
}

.portfolio .portfolio-filters li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #081a33 0%, #0a2545 100%);
    transition: opacity 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: #ffffff;
    border-color: #081a33;
    background: linear-gradient(135deg, #081a33 0%, #0a2545 100%);
    border-bottom: none !important;
    text-decoration: none !important;
}

.portfolio .portfolio-filters li:hover::before,
.portfolio .portfolio-filters li.filter-active::before {
    opacity: 1;
}

.portfolio .portfolio-filters li::after,
.portfolio .portfolio-filters li:hover::after,
.portfolio .portfolio-filters li.filter-active::after {
    display: none !important;
    content: none !important;
}

/* Portfolio Card */
.portfolio .portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(8, 26, 51, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(8, 26, 51, 0.05);
    padding: 15px;
}

.portfolio .portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(8, 26, 51, 0.15);
}

/* Project Visual */
.portfolio .project-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecef 100%);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio .project-visual img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecef 100%);
}

.portfolio .portfolio-card:hover .project-visual img {
    transform: scale(1.1);
}

/* Project Overlay */
.portfolio .project-overlay {
    background: linear-gradient(135deg,
            rgba(8, 26, 51, 0.9) 0%,
            rgba(8, 26, 51, 0.7) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.portfolio .overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio .portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

/* Overlay Buttons */
.portfolio .view-project,
.portfolio .project-link {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none !important;
}

.portfolio .view-project {
    background: #ffffff !important;
    color: var(--heading-color) !important;
}

.portfolio .view-project:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.portfolio .project-link {
    background: linear-gradient(135deg,
            var(--accent-color) 0%,
            #d4b276 100%) !important;
    color: #ffffff !important;
}

.portfolio .project-link:hover {
    transform: scale(1.1) rotate(45deg);
    box-shadow: 0 5px 20px rgba(189, 158, 102, 0.5);
}

/* Project Details */
.portfolio .project-details {
    padding: 25px;
    background: #ffffff;
}

.portfolio .project-category {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.1) 0%,
            rgba(189, 158, 102, 0.05) 100%);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio .project-title {
    margin-top: 15px;
}

.portfolio .project-title a {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.portfolio .project-title a:hover {
    color: var(--accent-color);
}

.portfolio .project-description {
    color: var(--default-color);
    line-height: 1.7;
    margin-top: 10px;
}

/* Portfolio Item Animation */
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio .portfolio-filters {
        gap: 8px;
    }

    .portfolio .portfolio-filters li {
        padding: 10px 20px;
        font-size: 13px;
    }

    .portfolio .project-details {
        padding: 20px;
    }

    .portfolio .project-title a {
        font-size: 16px;
    }
}

/* RTL Support for Portfolio */
[dir="rtl"] .portfolio .isotope-container,
html[lang="ar"] .portfolio .isotope-container {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

[dir="rtl"] .portfolio .portfolio-item,
html[lang="ar"] .portfolio .portfolio-item {
    direction: rtl;
}

[dir="rtl"] .portfolio .project-details,
html[lang="ar"] .portfolio .project-details {
    text-align: right;
}

[dir="rtl"] .portfolio .project-header,
html[lang="ar"] .portfolio .project-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .portfolio .row,
html[lang="ar"] .portfolio .row {
    flex-direction: row-reverse;
}

/* Force RTL layout for isotope */
[dir="rtl"] .portfolio .isotope-layout .row,
html[lang="ar"] .portfolio .isotope-layout .row {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap !important;
}

[dir="rtl"] .portfolio .isotope-layout .isotope-container,
html[lang="ar"] .portfolio .isotope-layout .isotope-container {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

/* RTL Portfolio Grid - Override Isotope */
.rtl-portfolio-grid {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.rtl-portfolio-grid .portfolio-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/*--------------------------------------------------------------
# Team Section - Creative & Smooth Design
--------------------------------------------------------------*/
.team .team-member {
    position: relative;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 30px;
}

.team .team-member::before,
.team .team-member::after {
    display: none !important;
}

.team .team-member .member-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px 60px 20px 60px;
    /* Asymmetric organic shape */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    background: #fff;
}

.team .team-member:hover .member-img {
    transform: translateY(-10px);
    border-radius: 60px 20px 60px 20px;
    /* Fluid shape shift on hover */
    box-shadow: 0 25px 50px rgba(8, 26, 51, 0.25);
}

.team .team-member .member-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease, filter 0.6s ease;
    display: block;
    filter: grayscale(100%);
}

.team .team-member:hover .member-img img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Glassmorphism Social Icons Overlay */
.team .team-member .social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    opacity: 0;
    padding-bottom: 35px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            transparent 100%);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team .team-member:hover .social {
    opacity: 1;
    transform: translateY(0);
}

.team .team-member .social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #081a33;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team .team-member .social a:hover {
    background: var(--accent-color);
    /* Gold */
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(189, 158, 102, 0.4);
}

.team .team-member .member-info {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.team .team-member .member-info h4 {
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.35rem;
    color: #081a33;
    transition: color 0.3s ease;
}

.team .team-member:hover .member-info h4 {
    color: var(--accent-color);
}

.team .team-member .member-info span {
    display: block;
    font-size: 0.95rem;
    color: #bd9e66;
    /* Accent color */
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.team .team-member .member-info span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: rgba(189, 158, 102, 0.3);
    transition: width 0.3s ease;
}

.team .team-member:hover .member-info span::after {
    width: 60px;
    background: var(--accent-color);
}

.team .team-member .member-info p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Section Separator
--------------------------------------------------------------*/
.section-separator {
    position: relative;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.section-separator::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(189, 158, 102, 0.4),
            transparent);
}

.section-separator .separator-icon {
    width: 10px;
    height: 10px;
    border: 1px solid #bd9e66;
    background: #fdfdfd;
    /* Needs to match bg but let's try almost white */
    transform: rotate(45deg);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .section-separator::before {
        left: 5%;
        right: 5%;
    }
}

/*--------------------------------------------------------------
# GLightbox Custom Styling - Navy & Gold Theme
--------------------------------------------------------------*/
/* Overlay Background */
.glightbox-container .goverlay {
    background: rgba(8, 26, 51, 0.95) !important;
}

/* Image Container */
.glightbox-container .gslide-media {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.glightbox-container .gslide-image img {
    border-radius: 16px !important;
}

/* Navigation Arrows */
.glightbox-container .gprev,
.glightbox-container .gnext {
    width: 55px !important;
    height: 55px !important;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%) !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.4) !important;
    transition: all 0.3s ease !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.glightbox-container .gprev:hover,
.glightbox-container .gnext:hover {
    background: linear-gradient(135deg, #d4b17a 0%, #e8c88a 100%) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.5) !important;
}

.glightbox-container .gprev svg,
.glightbox-container .gnext svg {
    fill: #fff !important;
}

.glightbox-container .gprev path,
.glightbox-container .gnext path,
.glightbox-container .gprev .garrow,
.glightbox-container .gnext .garrow {
    stroke: #fff !important;
    fill: #fff !important;
}

.glightbox-container .gprev {
    left: 30px !important;
}

.glightbox-container .gnext {
    right: 30px !important;
}

/* Close Button */
.glightbox-container .gclose {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #bd9e66 0%, #d4b17a 100%) !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.4) !important;
    transition: all 0.3s ease !important;
    top: 25px !important;
    right: 25px !important;
    opacity: 1 !important;
}

.glightbox-container .gclose:hover {
    background: linear-gradient(135deg, #d4b17a 0%, #e8c88a 100%) !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 12px 35px rgba(189, 158, 102, 0.5) !important;
}

.glightbox-container .gclose svg {
    width: 20px !important;
    height: 20px !important;
}

.glightbox-container .gclose path {
    fill: #fff !important;
}

/* Loader */
.glightbox-container .gloader {
    border-color: #bd9e66 !important;
    border-right-color: transparent !important;
}

/* Description/Title Styling */
.glightbox-container .gslide-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
}

.glightbox-container .gslide-description {
    background: linear-gradient(to top,
            rgba(8, 26, 51, 0.95) 0%,
            transparent 100%) !important;
}

/* Counter (if shown) */
.glightbox-container .gcounter {
    color: #bd9e66 !important;
    font-weight: 600 !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .glightbox-container .gprev,
    .glightbox-container .gnext {
        width: 45px !important;
        height: 45px !important;
    }

    .glightbox-container .gprev {
        left: 15px !important;
    }

    .glightbox-container .gnext {
        right: 15px !important;
    }

    .glightbox-container .gclose {
        width: 40px !important;
        height: 40px !important;
        top: 15px !important;
        right: 15px !important;
    }
}

/* Thumbnails Gallery Styling */
.glightbox-container .gslide-image.current img,
.glightbox-container .gslide.current .gslide-media {
    border: 3px solid #bd9e66 !important;
}

/* Bottom Thumbnails */
.glightbox-container .gdesc-inner,
.glightbox-clean .gdesc-inner {
    background: rgba(8, 26, 51, 0.9) !important;
    padding: 20px 25px !important;
    border-radius: 12px 12px 0 0 !important;
}

/* Image Title Enhancement */
.glightbox-container .gslide-title,
.glightbox-clean .gslide-title {
    color: #fff !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.glightbox-container .gslide-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #bd9e66, transparent);
    border-radius: 2px;
}

/* Thumbnail strip styling */
.glightbox-container .gslide img {
    border-radius: 8px !important;
}

/* Custom scrollbar for thumbnails */
.glightbox-container .gslider::-webkit-scrollbar {
    height: 6px;
}

.glightbox-container .gslider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.glightbox-container .gslider::-webkit-scrollbar-thumb {
    background: #bd9e66;
    border-radius: 3px;
}

/* Zoom animation for current slide */
.glightbox-container .gslide.current .gslide-media {
    animation: glightboxZoomIn 0.4s ease-out;
}

@keyframes glightboxZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Board of Directors Section - Premium Design
--------------------------------------------------------------*/
.board-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fefefe 0%, #f8f9fc 50%, #f0f4f8 100%);
}

.board-section .section-title .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.board-section .section-title .subtitle i {
    font-size: 18px;
}

.board-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 60px;
}

/* Chairman Wrapper */
.chairman-wrapper {
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

/* Chairman Card - Featured Style */
.chairman-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 30px 60px rgba(8, 26, 51, 0.12),
        0 15px 30px rgba(189, 158, 102, 0.08);
    overflow: hidden;
}

.chairman-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(189, 158, 102, 0.3),
            transparent,
            rgba(189, 158, 102, 0.2),
            transparent);
    animation: chairmanGlow 4s linear infinite;
    opacity: 0.6;
}

@keyframes chairmanGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.chairman-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 26px;
    z-index: 1;
}

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

/* Chairman Image */
.chairman-image-container {
    position: relative;
    flex-shrink: 0;
}

.chairman-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(145deg, var(--accent-color), #c9a96a, #a88a4a);
    box-shadow: 0 20px 50px rgba(189, 158, 102, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
}

.chairman-frame::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(189, 158, 102, 0.4);
    animation: rotateBorder 20s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.chairman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
}

.chairman-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-color), #dab56e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(189, 158, 102, 0.5);
    border: 3px solid #fff;
    z-index: 2;
}

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

.chairman-badge i {
    font-size: 24px;
    color: #fff;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Chairman Info */
.chairman-info {
    flex: 1;
    text-align: start;
}

.chairman-title-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,
            rgba(189, 158, 102, 0.15),
            rgba(189, 158, 102, 0.05));
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(189, 158, 102, 0.25);
}

.chairman-title-label i {
    font-size: 20px;
    color: var(--accent-color);
}

.chairman-title-label span {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.chairman-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.chairman-position {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.chairman-bio {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 450px;
}

.chairman-socials {
    display: flex;
    gap: 12px;
}

.chairman-socials .social-link {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(189, 158, 102, 0.1);
}

.chairman-socials .social-link:hover {
    background: linear-gradient(135deg, var(--accent-color), #dab56e);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(189, 158, 102, 0.4);
}

/* Board Members Wrapper */
.board-members-wrapper {
    padding-top: 30px;
}

.board-members-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.board-members-title h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    white-space: nowrap;
}

.board-members-title h4 i {
    color: var(--accent-color);
    font-size: 24px;
}

.title-line {
    flex: 1;
    max-width: 150px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(189, 158, 102, 0.5),
            transparent);
}

/* Member Card */
.member-card {
    position: relative;
    margin-bottom: 30px;
    perspective: 1000px;
}

.member-card-inner {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(8, 26, 51, 0.08),
        0 5px 15px rgba(189, 158, 102, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(189, 158, 102, 0.08);
}

.member-card:hover .member-card-inner {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(8, 26, 51, 0.15),
        0 10px 25px rgba(189, 158, 102, 0.12);
}

.member-card .member-decoration {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 15px;
    background: linear-gradient(180deg, rgba(189, 158, 102, 0.2), transparent);
    border-radius: 0 0 24px 24px;
    z-index: 0;
    filter: blur(8px);
    transition: all 0.4s ease;
}

.member-card:hover .member-decoration {
    width: 90%;
    height: 25px;
}

/* Member Image */
.member-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.member-card:hover .member-image {
    transform: scale(1.08);
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 40%,
            rgba(8, 26, 51, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0;
    transition: all 0.4s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-socials {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.member-card:hover .member-socials {
    transform: translateY(0);
}

.member-socials a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.member-socials a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(189, 158, 102, 0.4);
}

/* Member Info */
.member-info {
    padding: 25px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.member-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(189, 158, 102, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.member-card:hover .member-name {
    color: var(--accent-color);
}

.member-position {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* Decorative Elements */
.board-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(189, 158, 102, 0.1);
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatCircle 15s ease-in-out infinite;
}

.deco-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation: floatCircle 12s ease-in-out infinite reverse;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
}

.deco-line {
    position: absolute;
    height: 100px;
    width: 2px;
    background: linear-gradient(180deg,
            transparent,
            rgba(189, 158, 102, 0.2),
            transparent);
}

.deco-line-1 {
    top: 20%;
    left: 5%;
    animation: floatLine 8s ease-in-out infinite;
}

.deco-line-2 {
    bottom: 30%;
    right: 8%;
    animation: floatLine 10s ease-in-out infinite reverse;
}

@keyframes floatLine {

    0%,
    100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) scaleY(1.2);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .chairman-inner {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .chairman-info {
        text-align: center;
    }

    .chairman-frame {
        width: 220px;
        height: 220px;
    }

    .chairman-name {
        font-size: 1.7rem;
    }

    .chairman-bio {
        max-width: 100%;
    }

    .chairman-socials {
        justify-content: center;
    }

    .board-section .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .board-section {
        padding: 70px 0;
    }

    .chairman-wrapper {
        margin-bottom: 50px;
    }

    .chairman-frame {
        width: 180px;
        height: 180px;
    }

    .chairman-inner {
        padding: 30px 20px;
    }

    .chairman-name {
        font-size: 1.5rem;
    }

    .chairman-title-label {
        padding: 8px 18px;
    }

    .chairman-title-label span {
        font-size: 11px;
    }

    .member-image-wrapper {
        height: 240px;
    }

    .board-members-title {
        gap: 15px;
    }

    .board-members-title h4 {
        font-size: 1.1rem;
    }

    .title-line {
        max-width: 80px;
    }

    .deco-circle-1,
    .deco-circle-2,
    .deco-line-1,
    .deco-line-2 {
        display: none;
    }
}

@media (max-width: 575px) {
    .chairman-frame {
        width: 150px;
        height: 150px;
    }

    .chairman-badge {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }

    .chairman-badge i {
        font-size: 20px;
    }

    .chairman-socials .social-link {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* --- إعدادات الألوان المتوافقة مع ملفك الأساسي --- */
:root {
    --gold-main: #bd9e66;
    --navy-main: #081a33;
    --gold-gradient-bg: linear-gradient(135deg, #bd9e66 0%, #e1cc9d 100%);
    --glass-white: rgba(255, 255, 255, 0.9);
}

/* التنسيق العام للقسم */
.board-section {
    position: relative;
    z-index: 1;
}

/* الكارت الزجاجي الفخم */
.executive-glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(189, 158, 102, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(8, 26, 51, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* صورة رئيس المجلس */
.chairman-img-container {
    background: #f8f9fa;
    min-height: 400px;
}

.chairman-img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.executive-glass-card:hover .chairman-img-fluid {
    transform: scale(1.05);
}

/* نصوص كارت الرئيس */
.badge-executive {
    display: inline-block;
    background: var(--navy-main);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chairman-name-text {
    color: var(--navy-main);
    font-size: 1.75rem;
    font-weight: 800;
}

.chairman-title-text {
    color: var(--gold-main);
    font-weight: 600;
}

.divider-gold-gradient {
    height: 4px;
    width: 70px;
    background: var(--gold-gradient-bg);
    border-radius: 10px;
}

.chairman-description-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
}

/* أيقونات السوشيال ميديا */
.exec-social-icon {
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    color: var(--navy-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exec-social-icon:hover {
    background: var(--gold-main);
    color: white;
    transform: translateY(-3px);
}

/* كروت الأعضاء الجانبية */
.member-mini-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: default;
}

.member-mini-card:hover {
    border-color: var(--gold-main);
    box-shadow: 0 10px 20px rgba(189, 158, 102, 0.1);
    transform: translateX(5px);
}

[dir="rtl"] .member-mini-card:hover {
    transform: translateX(-5px);
}

.member-avatar-wrapper img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-main);
    padding: 2px;
    object-fit: cover;
}

.member-status-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-main);
    border-radius: 50%;
    opacity: 0.3;
}

.bg-gold-soft {
    background: rgba(189, 158, 102, 0.15);
    color: var(--gold-main) !important;
}

/* تحسين السكرول بار */
.custom-scroll-area::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scroll-area::-webkit-scrollbar-thumb {
    background: var(--gold-main);
    border-radius: 10px;
}

/* العناوين واللمسات النهائية */
.accent-text-gold {
    color: var(--gold-main);
    letter-spacing: 2.5px;
    font-size: 0.85rem;
}

.title-line-gold {
    height: 3px;
    width: 50px;
    background: var(--gold-main);
}

@media (max-width: 991px) {
    .chairman-img-container {
        height: 300px;
        min-height: auto;
    }
}

/* Board Section Refined Styles (Matching Image 100%) */
.board-section-custom {
    background-color: #fcfcfc;
}

.board-dark-wrapper {
    background-color: #081a33;
    padding-top: 80px;
    padding-bottom: 120px;
    position: relative;
}

.board-left-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: left;
}

[dir="rtl"] .board-left-title {
    text-align: right;
}

.chairman-flex-box {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    justify-content: space-between;
    /* Improve spacing */
}

.chairman-photo-area {
    position: relative;
    flex: 0 0 40%;
    /* Reduced from 55% to give more space to text */
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    /* Slightly taller */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.chairman-photo-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chairman-name-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
}

[dir="rtl"] .chairman-name-overlay {
    left: auto;
    right: 30px;
}

.chairman-name-overlay h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.chairman-name-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.chairman-message-gold-box {
    flex: 0 0 63%;
    /* Increased from 50% */
    margin-left: -6%;
    /* Increased overlap slightly */
    background: #081a33;
    border: 2px solid #bd9e66;
    /* Thinner elegant border */
    border-radius: 15px;
    padding: 60px 70px 60px 80px;
    /* More padding */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 6;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[dir="rtl"] .chairman-message-gold-box {
    margin-left: 0;
    margin-right: -6%;
    padding: 60px 80px 60px 70px;
}

.msg-label-gold {
    color: #bd9e66;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.msg-title-white {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}

.msg-body-container {
    position: relative;
    margin-bottom: 20px;
}

.msg-body-white {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.9;
    font-weight: 300;
}

/* Styles for Truncation & Read More */
.msg-body-truncated {
    max-height: 180px;
    /* Limit height */
    overflow: hidden;
    position: relative;
}

.msg-body-truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #081a33);
    pointer-events: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: #bd9e66;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more-btn:hover {
    color: #fff;
    transform: translateX(5px);
}

[dir="rtl"] .read-more-btn:hover {
    transform: translateX(-5px);
}

.msg-footer-white {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    border-top: 1px solid rgba(189, 158, 102, 0.3);
    padding-top: 20px;
    display: inline-block;
}

.board-light-wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
}

.member-card-ref {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.member-card-ref:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: #bd9e66;
}

.member-img-side-ref {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.member-img-side-ref img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card-ref:hover .member-img-side-ref img {
    transform: scale(1.1);
}

.member-text-side-ref h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #081a33;
    margin-bottom: 8px;
}

.member-text-side-ref p {
    margin: 0;
    color: #bd9e66;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .chairman-flex-box {
        flex-direction: column;
    }

    .chairman-photo-area {
        flex: 0 0 100%;
        width: 100%;
        height: 400px;
    }

    .chairman-message-gold-box {
        flex: 0 0 100%;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: -50px;
        /* More Overlap on mobile */
        padding: 40px 30px;
    }

    .msg-title-white {
        font-size: 1.8rem;
    }
}

/* Animated Social Icons for Board Members */
.member-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.board-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.social-icon-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    border: 1px solid #e2e8f0;
}

.social-icon-anim:hover {
    background: #bd9e66;
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(189, 158, 102, 0.3);
    border-color: #bd9e66;
}

.member-card-ref:hover .social-icon-anim {
    background: #fff;
    border-color: #bd9e66;
    color: #bd9e66;
}

.member-card-ref:hover .social-icon-anim:hover {
    background: #bd9e66;
    color: #fff;
}