/* Nortera Theme Redesign */

:root {
    --n-bg-dark: #2F6B3F;
    --n-bg-light: #ffffff;
    --n-bg-beige: #F4F0EB;

    --n-text-light: #F4F0EB;
    --n-text-dark: #111111;
    --n-text-muted: #888888;

    --n-primary: #D4AF37;
    /* A classy gold/accent to replace generic blue */

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body.nortera-theme {
    font-family: var(--font-main);
    background-color: var(--n-bg-light);
    color: var(--n-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('milano.jpg');
    /* background-attachment: fixed; removed for performance */
    background-size: cover;
    background-position: center;
}

/* Utilities */
.n-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.n-section {
    padding: 120px 0;
}

.bg-dark {
    background-color: var(--n-bg-dark);
    padding: 60px 0 !important;
}

.text-light {
    color: var(--n-text-light);
}

.bg-beige {
    background-color: var(--n-bg-beige);
}

.text-dark {
    color: var(--n-text-dark);
}

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

.n-section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.n-large-text {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    color: inherit;
}

.n-huge-text {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* Buttons */
.n-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.n-btn-primary {
    background-color: var(--n-bg-dark);
    color: var(--n-text-light);
}

.n-btn-primary:hover {
    background-color: var(--n-text-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.n-btn-outline {
    background-color: transparent;
    color: var(--n-text-dark);
    border-color: var(--n-text-dark);
}

.bg-dark .n-btn-outline {
    color: var(--n-text-light);
    border-color: var(--n-text-light);
}

.n-btn-outline:hover {
    background-color: var(--n-text-dark);
    color: var(--n-bg-light);
}

/* Header */
.n-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.n-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.n-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.n-nav {
    display: flex;
    gap: 30px;
}

.n-nav a {
    text-decoration: none;
    color: var(--n-text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
}

.n-nav a:hover {
    color: var(--n-text-muted);
}

/* Hero Section */
.n-hero {
    padding: 200px 0 100px;
    background-color: var(--n-bg-beige);
}

.n-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.n-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.n-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.n-hero-subtitle {
    font-size: 1.25rem;
    color: var(--n-text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.n-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* About Section */
.n-about-content {
    max-width: 900px;
}

/* Projects Section */
.n-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.n-projects-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.n-projects-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.n-projects-content p {
    font-size: 1.25rem;
    color: var(--n-text-muted);
}

/* Mission Section */
.n-mission .n-huge-text {
    max-width: 1000px;
    margin: 0 auto;
}

/* Services Section */
.n-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.n-service-card {
    background-color: var(--n-bg-beige);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.n-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--n-bg-dark);
}

.n-service-header {
    padding: 30px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.n-service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--n-bg-dark);
    color: var(--n-bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.n-service-card:hover .n-service-icon {
    transform: rotate(-5deg) scale(1.1);
    background-color: var(--n-text-dark);
}

.n-service-price-tag {
    background-color: var(--n-bg-light);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--n-bg-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.n-service-info {
    padding: 30px 40px 40px;
}

.n-service-info h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--n-text-dark);
}

.n-service-info p {
    font-size: 1.1rem;
    color: var(--n-text-muted);
    line-height: 1.6;
}

.n-btn-gold-sm {
    background-color: var(--n-primary);
    color: #1a1a1a;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: capitalize;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    white-space: nowrap;
}

.n-btn-gold-sm:hover {
    background-color: #E5C158;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
    color: #000;
}

.n-btn-info-sm {
    background: rgba(255, 255, 255, 0.8);
    color: var(--n-bg-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}

.n-btn-info-sm:hover {
    background: var(--n-bg-dark);
    color: var(--n-primary);
    transform: rotate(15deg) scale(1.1);
    border-color: var(--n-bg-dark);
}

/* VIP PACK STYLES */
.vip-pack-card {
    background: linear-gradient(135deg, #2F6B3F 0%, #1a3d24 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    color: var(--n-text-light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(47, 107, 63, 0.2);
}

.vip-pack-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vip-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: var(--n-primary);
    color: var(--n-text-dark);
    padding: 8px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.vip-icon {
    font-size: 5rem;
    color: var(--n-primary);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.vip-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.vip-desc {
    font-size: 1.25rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.vip-includes {
    font-size: 1rem;
    color: var(--n-primary);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.vip-price-section {
    text-align: right;
}

.vip-price {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--n-primary);
    letter-spacing: -0.05em;
}

.vip-pack-card .n-btn-primary {
    background-color: var(--n-primary);
    color: var(--n-text-dark);
}

.vip-pack-card .n-btn-primary:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* RTL for VIP */
[lang="ar"] .vip-pack-card {
    grid-template-columns: auto 1fr auto;
    text-align: right;
}

[lang="ar"] .vip-badge {
    right: auto;
    left: 30px;
}

[lang="ar"] .vip-price-section {
    text-align: left;
}

@media (max-width: 992px) {
    .vip-pack-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    [lang="ar"] .vip-pack-card {
        text-align: center;
    }

    .vip-price-section,
    [lang="ar"] .vip-price-section {
        text-align: center;
    }

    .vip-icon {
        font-size: 4rem;
    }

    .vip-content h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    .vip-desc {
        font-size: 1.1rem;
    }
    }
}

/* Pricing */
.n-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.n-price-card {
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    position: relative;
    background-color: var(--n-bg-light);
    transition: var(--transition);
}

.n-price-card:hover {
    border-color: var(--n-bg-dark);
}

.n-price-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.n-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.n-price span {
    font-size: 1rem;
    font-weight: 500;
    vertical-align: super;
    margin-left: 5px;
}

.n-price-card p {
    color: var(--n-text-muted);
    font-size: 0.95rem;
}

.n-price-premium {
    background-color: var(--n-bg-dark);
    color: var(--n-text-light);
    border-color: var(--n-bg-dark);
    transform: scale(1.05);
}

.n-price-premium:hover {
    border-color: var(--n-bg-dark);
}

.n-price-premium p {
    color: #aaaaaa;
}

.n-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--n-bg-beige);
    color: var(--n-text-dark);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Team */
.n-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.n-team-avatar {
    width: 150px;
    height: 150px;
    background-color: #222222;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: #444444;
}

.n-team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.n-team-member p {
    color: #888;
}

/* Reviews */
.n-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.n-review-card {
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.n-review-card:hover {
    transform: translateY(-10px);
}

.review-stars {
    color: #fb1;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.n-review-card p {
    font-size: 1.1rem;
    font-style: normal;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #444;
    flex-grow: 1;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--n-bg-beige);
    color: var(--n-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.n-review-card h4 {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
    color: #fff;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: #fff;
}

.whatsapp-float {
    background-color: #25d366;
}

.whatsapp-float:hover {
    background-color: #128c7e;
}

.email-float {
    background-color: #2F6B3F;
}

.email-float:hover {
    background-color: #1e4528;
}

.scroll-top-float {
    background-color: #2F6B3F;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.scroll-top-float.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-float:hover {
    background-color: #1e4528;
}

/* RTL adjustment for floating buttons */
.rtl .floating-actions {
    right: auto;
    left: 30px;
}


/* =========================================
   FORM SPECIFIC STYLES (Adapted for Nortera)
   ========================================= */

.progress-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    padding: 10px 20px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--n-text-muted);
    font-weight: 600;
}

.step.active {
    background-color: var(--n-bg-dark);
    color: var(--n-bg-light);
}

.form-card {
    background-color: var(--n-bg-light);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active-step {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--n-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    cursor: pointer;
    display: block;
}

.category-card input {
    display: none;
}

.card-content {
    background-color: var(--n-bg-beige);
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.category-card input:checked+.card-content {
    border-color: var(--n-bg-dark);
    background-color: var(--n-bg-light);
}

.card-content i {
    font-size: 2.5rem;
    color: var(--n-bg-dark);
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--n-bg-dark);
    background-color: var(--n-bg-light);
}

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.space-between {
    justify-content: space-between;
}

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

    .n-hero-grid,
    .n-projects-grid {
        grid-template-columns: 1fr;
    }

    .n-hero-title {
        font-size: 3.5rem;
    }

    .n-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .n-team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .n-services-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .n-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .n-header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        height: auto;
        padding: 20px 0;
    }

    .n-nav {
        display: none;
        /* simple mobile nav hide for now */
    }

    .n-hero {
        padding-top: 150px;
    }

    .n-hero-title {
        font-size: 2.5rem;
    }

    .n-huge-text {
        font-size: 2.5rem;
    }

    .n-pricing-grid,
    .n-team-grid,
    .form-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 30px;
    }
}

/* Language Switcher Styles */
.lang-switcher {
    margin-right: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--n-bg-dark);
    color: var(--n-text-dark);
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--n-bg-dark);
    color: white;
}

.lang-btn.active {
    background: var(--n-bg-dark);
    color: white;
}

[lang="ar"] {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .n-hero-grid {
    flex-direction: row-reverse;
}

[lang="ar"] .n-nav {
    margin-right: 30px;
    margin-left: 0;
}

[lang="ar"] .n-header-right {
    flex-direction: row;
}

/* Ensure form and other grids look good in RTL */
[lang="ar"] .n-pricing-grid,
[lang="ar"] .n-services-grid,
[lang="ar"] .n-team-grid,
[lang="ar"] .n-reviews-grid,
[lang="ar"] .form-grid {
    direction: rtl;
}

[lang="ar"] .n-logo {
    order: 1;
}

[lang="ar"] .n-nav {
    order: 2;
}

[lang="ar"] .n-header-right {
    order: 3;
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .n-header-inner {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    
    .n-header-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    .n-nav {
        display: none; /* Hide nav links on mobile to save space, or use a burger menu */
    }
}

/* Process Section Styles */
.n-process {
    background-image: linear-gradient(rgba(18, 36, 23, 0.9), rgba(18, 36, 23, 0.9)), url('bg-rome.jpg');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; removed for performance */
    position: relative;
}

.n-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.n-process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.n-process-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #2F6B3F;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2F6B3F;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.step-image {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.n-process-step:hover .step-image img {
    transform: scale(1.1);
}

.n-process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.n-process-step p {
    font-size: 0.95rem;
    color: #a0aec0;
    line-height: 1.6;
}

/* Connectors (Hidden on mobile) */
@media (min-width: 1024px) {
    .n-process-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50px;
        right: 50px;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(47, 107, 63, 0.3), transparent);
        z-index: 0;
    }
}

/* RTL Support */
.rtl .n-process-step {
    direction: rtl;
}

.rtl .n-process-grid {
    direction: rtl;
}

/* Flight Path Divider */
.flight-divider {
    position: relative;
    height: 120px;
    background-color: var(--n-bg-beige);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.flight-path-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, transparent 50%, rgba(47, 107, 63, 0.15) 50%);
    background-size: 30px 100%;
    top: 50%;
    left: 0;
    transform: rotate(2deg);
}

.plane-anim-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.plane-fly {
    position: absolute;
    font-size: 2.5rem;
    color: var(--n-primary);
    animation: fly-and-descend 12s linear infinite;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.05));
    z-index: 5;
}

@keyframes fly-and-descend {
    0% {
        left: -10%;
        top: 20%;
        transform: rotate(10deg) scale(0.7);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 110%;
        top: 70%;
        transform: rotate(5deg) scale(1.1);
        opacity: 0;
    }
}

/* RTL Adjustment for Airplane */
[lang="ar"] .plane-fly {
    animation: fly-and-descend-rtl 12s linear infinite;
}

@keyframes fly-and-descend-rtl {
    0% {
        right: -10%;
        top: 20%;
        transform: rotate(-10deg) scale(0.7) scaleX(-1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        right: 110%;
        top: 70%;
        transform: rotate(-5deg) scale(1.1) scaleX(-1);
        opacity: 0;
    }
}