:root {
    --gold-primary: #C8952E;
    --gold-light: #E8B84A;
    --gold-dark: #A07424;
    --gold-gradient: linear-gradient(135deg, #C8952E 0%, #E8B84A 50%, #C8952E 100%);
    --gold-gradient-hover: linear-gradient(135deg, #E8B84A 0%, #C8952E 50%, #E8B84A 100%);
    --navy-primary: #1A2332;
    --navy-light: #243447;
    --navy-dark: #0F1720;
    --navy-gradient: linear-gradient(135deg, #1A2332 0%, #243447 100%);
    --blue-grey: #2C3E50;
    --blue-grey-light: #34495E;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: #FFFFFF;
    --border-color: #E9ECEF;
    --text-heading: #212529;
    --text-body: #495057;
    --text-muted: #ADB5BD;
    --overlay-gold: rgba(200, 149, 46, 0.1);
    --overlay-dark: rgba(26, 35, 50, 0.85);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 4px 20px rgba(200, 149, 46, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Outfit', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
    --hero-fade: linear-gradient(to top, var(--bg-primary), transparent);
}

[data-theme="dark"] {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-card: #1C2333;
    --border-color: #30363D;
    --text-heading: #E6EDF3;
    --text-body: #9CA3AF;
    --text-muted: #6B7280;
    --overlay-gold: rgba(200, 149, 46, 0.12);
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 20px rgba(200, 149, 46, 0.2);
    --hero-fade: linear-gradient(to top, var(--bg-primary), transparent);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    background-color: var(--bg-primary);
    line-height: 1.7;
    direction: ltr;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[dir="rtl"] body,
body.rtl,
html[lang="ar"] body {
    font-family: var(--font-arabic);
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn svg {
    transition: var(--transition-normal);
}

.theme-btn:hover svg {
    color: var(--gold-primary);
}

input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

[dir="rtl"] .section-header h2::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: var(--font-arabic);
}

.text-gold {
    color: var(--gold-primary);
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-number {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 1ch;
}

:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 149, 46, 0.4);
}

.btn-outline {
    background: transparent;
    color: #1A2332;
    border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy-gradient);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

[dir="rtl"] .card::before {
    left: auto;
    right: 0;
    transform-origin: right;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 149, 46, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--overlay-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.card-icon i {
    font-size: 1.6rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.card:hover .card-icon {
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.card:hover .card-icon i {
    color: #fff;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: auto;
    min-height: 85px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .navbar-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 1px;
}

.nav-cta {
    background: var(--gold-gradient) !important;
    color: #fff !important;
    padding: 10px 28px !important;
    border-radius: var(--radius-xl) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 149, 46, 0.4);
}

.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

[dir="rtl"] .lang-switch {
    margin-left: 0;
    margin-right: 8px;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition-normal);
}

.lang-switch a:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

[dir="rtl"] .theme-toggle {
    margin-left: 0;
    margin-right: 8px;
}

.theme-toggle button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.theme-toggle button:hover {
    background: rgba(200, 149, 46, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.hamburger:hover {
    background: rgba(200, 149, 46, 0.15);
    border-color: var(--gold-primary);
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition-normal);
    display: block;
}

.hamburger:hover span {
    background: var(--gold-primary);
}

.hamburger.active {
    background: rgba(200, 149, 46, 0.2);
    border-color: var(--gold-primary);
}

.hamburger.active span {
    background: var(--gold-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(12, 25, 41, 0.7), rgba(7, 16, 24, 0.85)), url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?fm=jpg&w=800&q=60&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200, 149, 46, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(200, 149, 46, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--hero-fade);
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-hero h1 span {
    color: var(--gold-primary);
}

.page-hero>p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a:hover {
    color: var(--gold-primary);
}

.page-hero .breadcrumb span {
    color: var(--gold-primary);
}

.page-hero .breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.footer {
    background: var(--navy-dark);
    color: #fff;
    padding-top: 60px;
}

[data-theme="dark"] .footer {
    background: #090D12;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 8px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 8px;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.75rem;
    color: var(--gold-primary);
}

[dir="rtl"] .footer-links a i {
    margin-right: 0;
    margin-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact-item i {
    color: var(--gold-primary);
    margin-top: 5px;
    font-size: 1rem;
    min-width: 20px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom span {
    color: var(--gold-primary);
}

.why-choose-section {
    padding: var(--section-padding);
}

.why-choose-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-choose-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.why-choose-item:last-child {
    border-bottom: none;
}

.why-choose-item:nth-child(even) {
    direction: rtl;
}

[dir="rtl"] .why-choose-item:nth-child(even) {
    direction: ltr;
}

.why-choose-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background: var(--overlay-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.why-choose-icon i {
    font-size: 2.8rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.why-choose-item:hover .why-choose-icon {
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.why-choose-item:hover .why-choose-icon i {
    color: #fff;
}

.why-choose-text {
    direction: ltr;
}

[dir="rtl"] .why-choose-text {
    direction: rtl;
}

.why-choose-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.why-choose-text p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-body);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: var(--bg-secondary);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(200, 149, 46, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .why-choose-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .why-choose-item:nth-child(even) {
        direction: ltr;
    }

    [dir="rtl"] .why-choose-item:nth-child(even) {
        direction: rtl;
    }

    .why-choose-icon {
        margin: 0 auto;
    }

    .why-choose-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .page-hero {
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 30px 30px;
        gap: 5px;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    [dir="rtl"] .nav-links {
        left: auto;
        right: -100%;
        transition: right var(--transition-normal);
    }

    .nav-links.active {
        left: 0;
    }

    [dir="rtl"] .nav-links.active {
        left: auto;
        right: 0;
    }

    .nav-links a {
        padding: 12px 15px;
        border-radius: var(--radius-sm);
        font-size: 1.05rem;
    }

    .nav-links a:hover {
        background: rgba(200, 149, 46, 0.1);
    }

    .nav-cta {
        margin-top: 15px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-choose-icon {
        width: 90px;
        height: 90px;
    }

    .why-choose-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}

.cta-section {
    padding: 100px 0;
    background: var(--navy-gradient);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 50%, rgba(200, 149, 46, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(200, 149, 46, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

.dev-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-normal);
    direction: ltr !important;
}

.dev-badge-small:hover {
    background: rgba(200, 149, 46, 0.15);
    color: var(--gold-primary);
    border-color: rgba(200, 149, 46, 0.3);
    transform: translateY(-2px);
}

.dev-badge-small .PREFIX {
    font-weight: 500;
    opacity: 0.7;
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.dev-badge-small .NAME {
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
}

[dir='rtl'] .footer-bottom {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center !important;
        justify-content: center;
    }

    [dir='rtl'] .footer-bottom {
        text-align: center !important;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 149, 46, 0.3);
}

.article-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

[data-theme='light'] .article-meta {
    color: #666;
}

.article-meta i {
    color: var(--gold-primary);
    margin-left: 5px;
}

.article-content h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 10px;
    line-height: 1.5;
    transition: color 0.3s;
}

.article-card:hover h3 {
    color: var(--gold-primary);
}

.article-content p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
    }

    .article-card {
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .about-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .about-feature {
        font-size: 0.9rem;
    }
}

.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.floating-menu-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #fff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(200, 149, 46, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 2;
    border: none;
    padding: 0 !important;
    line-height: 1 !important;
}

.floating-menu-toggle i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.floating-menu.active .floating-menu-toggle {
    transform: scale(0.9);
    background: #e74c3c;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.floating-menu-items {
    position: absolute;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    align-items: center;
}

.floating-menu.active .floating-menu-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    padding: 0 !important;
    border: none !important;
    line-height: 1 !important;
}

.floating-item i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.floating-item:hover {
    transform: scale(1.1);
    color: #fff;
}

.floating-item span {
    position: absolute;
    right: 70px;
    background: #1a2332;
    color: #fff;
    padding: 6px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.floating-item:hover span {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

[dir="rtl"] .floating-item span {
    right: auto;
    left: 70px;
}

[dir="rtl"] .floating-item:hover span {
    left: 65px;
}

[dir='rtl'] .floating-menu {
    right: auto;
    left: 30px;
}

.item-whatsapp {
    background: #25D366;
}

.item-call {
    background: #3498db;
}

.item-book {
    background: var(--gold-primary);
}

@media (max-width: 768px) {
    .floating-menu {
        bottom: 25px;
        right: 25px;
    }

    [dir="rtl"] .floating-menu {
        left: 25px;
    }

    .floating-item span {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links .mobile-menu-logo img {
        display: block !important;
    }

    .nav-links a:not(.mobile-menu-logo) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-normal);
}

.modal-close:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-header h2 span {
    color: var(--gold-primary);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-family: inherit;
    transition: var(--transition-normal);
}

[data-theme="light"] .booking-form input,
[data-theme="light"] .booking-form select {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #333;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-response {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(200, 149, 46, 0.1);
    color: var(--gold-primary);
    border: 1px solid rgba(200, 149, 46, 0.2);
}

.form-response.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

@media (max-width: 576px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

.article-content-text {
    line-height: 2;
    font-size: 1.1rem;
    color: var(--text-body);
}

.article-content-text h2 {
    color: var(--gold-primary);
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(200, 149, 46, 0.1);
    font-size: 1.8rem;
}

.article-content-text h3 {
    color: var(--text-heading);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.article-content-text p {
    margin-bottom: 25px;
    text-align: justify;
}

.info-box {
    background: rgba(200, 149, 46, 0.05);
    border-right: 5px solid var(--gold-primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--radius-sm);
}

[dir="ltr"] .info-box {
    border-right: none;
    border-left: 5px solid var(--gold-primary);
}

.info-box h4 {
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.phone-link {
    direction: ltr !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    unicode-bidi: bidi-override;
}

[dir="rtl"] .phone-link {
    direction: ltr !important;
    text-align: right;
}

.hex-badge {
    display: inline-flex !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    direction: ltr !important;
    text-decoration: none !important;
    margin-top: 15px !important;
    transition: 0.3s !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hex-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.badge-left {
    background: #ffffff !important;
    color: #121929 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 7px 14px !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    text-transform: uppercase !important;
}

.badge-right {
    background: #C8952E !important;
    color: #0c1929 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.badge-right i {
    font-size: 10px !important;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 149, 46, 0.4), transparent);
    width: 60%;
    margin: 0 auto;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-body);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px var(--overlay-gold);
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    position: relative;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.active .nav-dropdown-toggle {
    color: var(--gold-primary);
}

.nav-dropdown.active .nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 1px;
}

.nav-chevron {
    font-size: 0.7rem;
    transition: transform 0.25s;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.2s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--overlay-gold);
    color: var(--gold-primary);
}

.nav-dropdown-menu a i {
    width: 18px;
    color: var(--gold-primary);
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.dropdown-portal-link {
    background: rgba(200, 149, 46, 0.06);
    border: 1px solid rgba(200, 149, 46, 0.2);
    border-radius: 10px;
}

.dropdown-portal-link:hover {
    background: var(--gold-primary) !important;
    color: #fff !important;
}

.dropdown-portal-link:hover i {
    color: #fff !important;
}

@media (max-width: 992px) {
    .nav-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 15px 0;
        justify-content: center;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        border-radius: 12px;
        padding: 12px;
        margin-top: 5px;
        width: 100%;
    }

    .nav-dropdown-menu a {
        justify-content: center;
        width: 100%;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.05) !important;
        padding: 12px 0;
    }

    .nav-dropdown-menu a:last-child {
        border-bottom: none !important;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown.active .nav-chevron {
        transform: rotate(180deg);
    }
}