:root {
    --primary-dark: #002b28;
    --primary-medium: #003d38;
    --primary-light: #004d47;
    --accent-teal: #e57e3a;
    --accent-gold: #cfb53b;
    --text-white: #ffffff;
    --text-dim: #aebdbb;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 90px;
    background: #001f1d;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid var(--border-color);
    z-index: 100;
    padding: 20px 0;
}


.logo-area {
    /* display: flex; */
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.logo-area img{
    height: 30px;
}

.nav-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    width: 100%;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 5px 0;
}

.nav-icons::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent-teal);
}

.nav-btn.active {
    background: var(--accent-teal);
    color: var(--primary-dark);
    box-shadow: 0 0 15px rgba(156, 235, 200, 0.3);
}

.nav-btn::after {
    content: attr(title);
    position: absolute;
    right: 70px;
    background: var(--accent-teal);
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.nav-btn:hover::after {
    opacity: 1;
}

.back-home-btn {
    margin-top: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.back-home-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.back-home-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== CONTENT AREA ===== */
.content-area {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at bottom right, #0a3530, var(--primary-dark), #001a18);
    overflow: hidden;
}

.content-section {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    padding: 40px;
}

.content-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.content-section::-webkit-scrollbar {
    width: 6px;
}
.content-section::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.content-section::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 30px;
    text-align: center;
}

.section-header h1 {
    font-size: 36px;
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 16px;
}

/* ===== OVERVIEW SECTION ===== */
.tenants-hero {
    background: linear-gradient(135deg,rgba(102, 104, 106, 0.8),rgba(47, 49, 51, 0.9)),
                url('https://images.unsplash.com/photo-1556740758-90de374c12ad?w=1600') center/cover;
    border-radius: 25px;
    padding: 80px 60px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(229, 126, 58, 0.2);
}

.tenants-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(102, 104, 106, 0.8),rgba(47, 49, 51, 0.9));
}

.hero-content-tenants {
    position: relative;
    z-index: 1;
}

.tenants-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.tenants-hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: var(--accent-teal);
}

.tenants-hero p {
    font-size: 20px;
    color: var(--text-dim);
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.overview-stat-card {
    background: rgb(74 76 79 / 80%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.overview-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-icon-large {
    font-size: 50px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
}

.why-join {
    background: rgb(74 76 79 / 80%);
    padding: 40px;
    border-radius: 25px;
}

.why-join h2 {
    color: var(--accent-teal);
    text-align: center;
    margin-bottom: 35px;
    font-size: 32px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.reason-box {
    background: rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.reason-box:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.reason-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.reason-box h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.reason-box p {
    font-size: 14px;
    color: var(--text-dim);
}

/* ===== OPPORTUNITIES SECTION ===== */
.opportunities-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    background: rgb(74 76 79 / 80%);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-teal);
    color: var(--primary-dark);
    border-color: var(--accent-teal);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.opportunity-card {
    background: rgb(74 76 79 / 80%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
}

.opp-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.opp-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.opp-badge.available {
    background: var(--success);
    color: white;
}

.opp-badge.new {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.opp-badge.soon {
    background: var(--warning);
    color: white;
}

.opp-content {
    padding: 20px;
}

.opp-content h3 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--accent-teal);
}

.opp-details {
    display: flex;
    gap: 15px;
    margin: 12px 0;
    font-size: 12px;
    color: var(--text-dim);
}

.opp-content p {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 15px;
    line-height: 1.6;
}

.opp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(156, 235, 200, 0.1);
    color: var(--accent-teal);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
}

.inquire-btn {
    width: 100%;
    background: var(--accent-teal);
    color: var(--primary-dark);
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.inquire-btn:hover {
    background: var(--accent-gold);
}

/* ===== SPACE TYPES SECTION ===== */
.space-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.type-card {
    background: rgb(74 76 79 / 80%);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.type-card.major {
    grid-column: span 1;
    border: 2px solid var(--accent-teal);
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.type-icon {
    font-size: 40px;
}

.type-header h3 {
    color: var(--accent-teal);
    font-size: 20px;
}

.type-body p {
    color: var(--text-dim);
    margin-bottom: 15px;
    font-size: 14px;
}

.type-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.type-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
}

.type-sizes {
    background: rgba(156, 235, 200, 0.1);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.type-sizes strong {
    display: block;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.type-sizes span {
    font-size: 18px;
    font-weight: bold;
}

/* ===== BENEFITS SECTION ===== */
.benefits-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-major {
background: linear-gradient(
    135deg,
    rgba(211, 213, 215, 0.1),   /* رمادي فاتح جدًا شفاف */
    rgba(102, 104, 106, 0.2)    /* رمادي متوسط شفاف */
);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--accent-teal);
}

.benefit-visual {
    margin-bottom: 25px;
}

.animated-number {
    font-size: 72px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.benefit-major h3 {
    font-size: 28px;
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.benefit-major p {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.benefits-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-detailed-card {
    background: rgb(74 76 79 / 80%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.benefit-detailed-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.benefit-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(156, 235, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon {
    font-size: 35px;
}

.benefit-detailed-card h4 {
    color: var(--accent-teal);
    margin-bottom: 12px;
}

.benefit-detailed-card p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.benefit-points {
    list-style: none;
    padding: 0;
}

.benefit-points li {
    font-size: 13px;
    color: var(--text-dim);
    padding: 6px 0;
}

/* ===== PROCESS SECTION ===== */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    background: rgb(74 76 79 / 80%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 100%;
    width: 2px;
    height: 30px;
    background: var(--border-color);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent-teal);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

.step-actions {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.step-actions li {
    font-size: 13px;
    padding: 6px 0;
    color: var(--text-dim);
}

.step-duration {
    display: inline-block;
    background: rgba(207, 181, 59, 0.2);
    color: var(--accent-gold);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.process-cta {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--primary-dark);
}

.process-cta h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.process-cta p {
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-button {
    background: var(--primary-dark);
    color: var(--accent-teal);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cta-button:hover {
    background: #000;
    transform: scale(1.05);
}

/* ===== REQUIREMENTS SECTION ===== */
.requirements-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.req-category h3 {
    color: var(--accent-teal);
    margin-bottom: 25px;
    font-size: 24px;
}

.req-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.req-item {
    display: flex;
    gap: 20px;
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.req-icon {
    font-size: 35px;
    flex-shrink: 0;
}

.req-details h4 {
    margin-bottom: 8px;
    color: var(--accent-teal);
}

.req-details p {
    font-size: 13px;
    color: var(--text-dim);
}

.financial-terms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.term-box {
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.term-box h4 {
    margin-bottom: 12px;
    color: var(--accent-teal);
}

.term-box p {
    font-size: 13px;
    color: var(--text-dim);
}

.operational-terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.op-term {
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.op-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.op-term h4 {
    margin-bottom: 10px;
    color: var(--accent-teal);
}

.op-term p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== PRICING SECTION ===== */
.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-dim);
}

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

.pricing-card {
    background: rgb(74 76 79 / 80%);
    border-radius: 20px;
    padding: 35px;
    border: 2px solid var(--border-color);
    transition: 0.3s;
    position: relative;
}

.pricing-card.standard {
    border-color: var(--accent-teal);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-teal);
}

.pricing-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 6px 20px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-header h3 {
    color: var(--accent-teal);
    margin-bottom: 8px;
    font-size: 22px;
}

.pricing-header p {
    font-size: 13px;
    color: var(--text-dim);
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
}

.price-amount {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.price-period {
    font-size: 14px;
    color: var(--text-dim);
}

.pricing-features h4 {
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
}

.pricing-cta {
    width: 100%;
    background: var(--accent-teal);
    color: var(--primary-dark);
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.pricing-cta:hover {
    background: var(--accent-gold);
}

.pricing-notes {
    background: rgb(74 76 79 / 80%);
    padding: 30px;
    border-radius: 20px;
}

.pricing-notes h3 {
    color: var(--accent-teal);
    margin-bottom: 25px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.note-item {
    display: flex;
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
}

.note-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.note-item p {
    font-size: 13px;
}

/* ===== SERVICES SECTION ===== */
.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-category h3 {
    color: var(--accent-teal);
    margin-bottom: 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-box {
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.service-box:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.service-box h4 {
    margin-bottom: 10px;
    color: var(--accent-teal);
}

.service-box p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: rgb(74 76 79 / 80%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--accent-teal);
}

.story-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.story-content {
    padding: 40px;
    position: relative;
}

.story-quote {
    font-size: 80px;
    color: var(--accent-teal);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 30px;
}

.story-content h3 {
    color: var(--accent-teal);
    margin-bottom: 20px;
    font-size: 24px;
}

.story-text {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 25px;
}

.story-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

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

.story-stat strong {
    display: block;
    font-size: 32px;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.story-stat span {
    font-size: 13px;
    color: var(--text-dim);
}

.story-author {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.story-author strong {
    display: block;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.story-author span {
    font-size: 13px;
    color: var(--text-dim);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.story-card {
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.story-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.story-card-info h4 {
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.story-card-info p {
    font-size: 12px;
    color: var(--text-dim);
}

.story-card-text {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 15px;
}

.story-card-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.story-card-results span {
    font-size: 12px;
    color: var(--success);
}

/* ===== SUPPORT SECTION ===== */
.support-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.support-intro-box {
    background: rgb(74 76 79 / 80%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.support-intro-box h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 28px;
}

.support-channels h3 {
    color: var(--accent-teal);
    margin-bottom: 25px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.channel-card {
    background: rgb(74 76 79 / 80%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.channel-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.channel-card h4 {
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.channel-card p {
    font-weight: bold;
    margin-bottom: 10px;
}

.channel-availability {
    display: inline-block;
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
}

.support-services-detailed h3 {
    color: var(--accent-teal);
    margin-bottom: 25px;
}

.support-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.support-service-item {
    display: flex;
    gap: 20px;
    background: rgb(74 76 79 / 80%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.ss-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.ss-content h4 {
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.ss-content p {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.ss-content ul {
    list-style: none;
    padding: 0;
}

.ss-content li {
    font-size: 12px;
    color: var(--text-dim);
    padding: 5px 0;
}

.emergency-support {
    background: rgba(231, 76, 60, 0.1);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--danger);
}

.emergency-support h3 {
    color: var(--danger);
    margin-bottom: 15px;
}

.emergency-contacts {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.emergency-item {
    display: flex;
    gap: 15px;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
}

.emergency-icon {
    font-size: 35px;
}

.emergency-item strong {
    display: block;
    color: var(--danger);
    margin-bottom: 5px;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.faq-category-section h3 {
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgb(74 76 79 / 80%);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question-box:hover {
    background: rgba(156, 235, 200, 0.05);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-teal);
    transition: 0.3s;
}

.faq-answer-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer-box {
    max-height: 300px;
    padding: 0 20px 20px 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer-box p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== APPLICATION SECTION ===== */
.application-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.application-intro {
    background: rgb(74 76 79 / 80%);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
}

.application-intro h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.application-intro p {
    color: var(--text-dim);
    margin-bottom: 25px;
}

.app-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-benefit-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-benefit-item span:first-child {
    color: var(--success);
    font-size: 20px;
}

.application-form {
    background: rgb(74 76 79 / 80%);
    padding: 35px;
    border-radius: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    color: var(--accent-teal);
    margin-bottom: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.file-upload-area {
    background: rgba(0,0,0,0.3);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.file-upload-area:hover {
    border-color: var(--accent-teal);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.file-upload-area p {
    font-weight: bold;
    margin-bottom: 10px;
}

.file-upload-area span {
    font-size: 12px;
    color: var(--text-dim);
}

.form-agreement {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent-teal);
    text-decoration: none;
}

.submit-application-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    color: var(--primary-dark);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-application-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(156, 235, 200, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .overview-stats,
    .reasons-grid,
    .opportunities-grid,
    .space-types { grid-template-columns: repeat(2, 1fr); }
    
    .benefits-grid-detailed,
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .story-featured,
    .application-layout { grid-template-columns: 1fr; }
    
    .pricing-grid,
    .stories-grid { grid-template-columns: 1fr; }
}
/* ===== MAP SECTION ===== */
.map-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    height: calc(100vh - 180px);
}

/* Sidebar الخريطة */
.map-sidebar {
    background: rgb(74 76 79 / 80%);
    border-radius: 20px;
    padding: 25px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.map-sidebar::-webkit-scrollbar {
    width: 4px;
}

.map-sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 2px;
}

.map-filters h3 {
    color: var(--accent-teal);
    margin-bottom: 20px;
    font-size: 18px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: 0.3s;
}

.checkbox-label-filter:hover {
    background: rgba(156, 235, 200, 0.05);
}

.checkbox-label-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-teal);
}

.reset-filters-btn {
    width: 100%;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 15px;
}

.reset-filters-btn:hover {
    background: var(--danger);
    color: white;
}

/* قائمة المحطات */
.stations-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stations-list h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 16px;
}

#stations-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.station-list-item {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.station-list-item:hover {
    border-color: var(--accent-teal);
    transform: translateX(-5px);
}

.station-list-item.hidden {
    display: none;
}

.station-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.station-item-name {
    font-weight: bold;
    color: var(--accent-teal);
}

.station-item-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.station-item-badge.available {
    background: var(--success);
    color: white;
}

.station-item-badge.soon {
    background: var(--warning);
    color: white;
}

.station-item-info {
    font-size: 12px;
    color: var(--text-dim);
}

/* حاوية الخريطة */
.map-container {
    background: rgb(74 76 79 / 80%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

#interactive-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.saudi-map {
    width: 100%;
    height: 100%;
}

.map-station {
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-station:hover {
    filter: brightness(1.3);
}

.map-station:hover circle:first-child {
    r: 12;
}

.station-dot {
    filter: drop-shadow(0 0 8px currentColor);
}

/* أسطورة الخريطة */
.map-legend {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #2f3133b0;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available {
    background: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
}

.legend-dot.soon {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

/* ===== STATION DETAILS MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: #2f3133b0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding-top: 5%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.station-modal {
    background: var(--primary-dark);
    border-radius: 25px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    border: 2px solid var(--accent-teal);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .station-modal {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-modal-btn:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.station-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 85vh;
}

.station-modal-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.station-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
}

.station-badge.available {
    background: var(--success);
    color: white;
}

.station-badge.soon {
    background: var(--warning);
    color: white;
}

.station-modal-info {
    padding: 40px;
    overflow-y: auto;
}

.station-modal-info::-webkit-scrollbar {
    width: 6px;
}

.station-modal-info::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 3px;
}

.station-modal-info h2 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 28px;
}

.station-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    margin-bottom: 30px;
    font-size: 14px;
}

.station-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.station-stat-item {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.station-stat-item .stat-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.station-stat-item strong {
    display: block;
    font-size: 24px;
    color: var(--accent-teal);
    margin-bottom: 5px;
}

.station-stat-item span {
    font-size: 11px;
    color: var(--text-dim);
}

.available-spaces-section h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 18px;
}

#modal-spaces-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.modal-space-item {
    background: rgba(156, 235, 200, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(229, 126, 58, 0.2);
}

.space-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.space-item-name {
    font-weight: bold;
    color: var(--accent-teal);
    font-size: 14px;
}

.space-item-price {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 14px;
}

.space-item-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-dim);
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    font-size: 14px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-gold));
    color: var(--primary-dark);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(156, 235, 200, 0.3);
}

.action-btn.secondary {
    background: rgba(156, 235, 200, 0.1);
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
}

.action-btn.secondary:hover {
    background: var(--accent-teal);
    color: var(--primary-dark);
}

/* ===== VIRTUAL TOUR 360 ===== */
#virtual-tour-viewer .tour-viewer-container {
    background: var(--primary-dark);
    border-radius: 25px;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    border: 2px solid var(--accent-teal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#virtual-tour-viewer.active .tour-viewer-container {
    transform: scale(1);
}

.tour-header {
    background: rgba(0,0,0,0.5);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.tour-header h2 {
    color: var(--accent-teal);
    font-size: 22px;
}

.tour-controls {
    display: flex;
    gap: 10px;
}

.tour-control-btn {
    background: rgba(156, 235, 200, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: 0.3s;
}

.tour-control-btn:hover {
    background: var(--accent-teal);
    color: var(--primary-dark);
}

.tour-360-viewer {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.panorama-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.panorama-container:active {
    cursor: grabbing;
}

.panorama-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
}

/* نقاط ساخنة تفاعلية */
.hotspot {
    position: absolute;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.hotspot-pulse {
    width: 40px;
    height: 40px;
    background: var(--accent-teal);
    border-radius: 50%;
    position: absolute;
    animation: pulse-hotspot 2s infinite;
}

@keyframes pulse-hotspot {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

.hotspot-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 43, 40, 0.95);
    color: var(--accent-teal);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid var(--accent-teal);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.hotspot:hover .hotspot-label {
    opacity: 1;
}

/* لوحة معلومات النقطة الساخنة */
.hotspot-info-panel {
    position: absolute;
    bottom: 120px;
    left: 30px;
    width: 350px;
    background: #2f3133e0;
    border: 2px solid var(--accent-teal);
    border-radius: 15px;
    padding: 25px;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.hotspot-info-panel.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.close-info-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-info-btn:hover {
    background: var(--danger);
}

.hotspot-info-panel h3 {
    color: var(--accent-teal);
    margin-bottom: 10px;
    font-size: 20px;
}

.hotspot-info-panel p {
    color: var(--text-dim);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.hotspot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.hotspot-features span {
    background: rgba(156, 235, 200, 0.1);
    color: #d9d9d9;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
}

.hotspot-inquire-btn {
    width: 100%;
    background: var(--accent-teal);
    color: var(--primary-dark);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.hotspot-inquire-btn:hover {
    background: var(--accent-gold);
}

/* مؤشر التحميل */
.tour-loading {
    position: absolute;
    inset: 0;
    background: rgba(0, 43, 40, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s;
}

.tour-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(156, 235, 200, 0.3);
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.tour-loading p {
    color: var(--accent-teal);
    font-size: 16px;
}

/* مصغرات المشاهد */
.tour-thumbnails {
    background: rgba(0,0,0,0.5);
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
}

.tour-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.tour-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 2px;
}

.thumbnail {
    min-width: 120px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
    position: relative;
}

.thumbnail:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.thumbnail.active {
    border-color: var(--accent-gold);
}

.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.thumbnail span {
    display: block;
    padding: 8px;
    background: rgba(0,0,0,0.8);
    color: var(--text-white);
    font-size: 11px;
    text-align: center;
}

/* تأثيرات التفاعل مع البانوراما */
.panorama-container.dragging {
    cursor: grabbing;
}

.panorama-container.dragging .panorama-image {
    transition: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .map-layout {
        grid-template-columns: 300px 1fr;
    }
    
    .station-modal-content {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .station-modal-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .map-layout {
        grid-template-columns: 1fr;
        height: 87%;
    }
    
    .map-sidebar {
        height: auto;
        max-height: 400px;
    }
    
    .station-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .tour-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .hotspot-info-panel {
        width: calc(100% - 60px);
        left: 30px;
        right: 30px;
    }
    .space-types,
    .benefits-grid-detailed,
    .req-list,
    .financial-terms,
    .operational-terms,
    .notes-grid,
    .channels-grid,
    .support-services-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .req-category h3,
    .support-services-detailed h3,
    .faq-category-section h3{
        margin: 20px 0;
    }
    .emergency-contacts{
        flex-direction: column;
    }
}
/* ===== BOTTOM NAV EXTENDED (10 Items) ===== */
.bottom-nav-extended {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 43, 40, 0.98);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
    padding: 8px 5px;
    border-top: 1px solid rgba(229, 126, 58, 0.2);
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.nav-item-ext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text-dim);
    position: relative;
}

.nav-item-ext:hover {
    background: #533a2d;
    color: var(--accent-teal);
    transform: translateY(-2px);
}

.nav-item-ext.active {
    background: rgba(156, 235, 200, 0.15);
    color: var(--accent-teal);
}

.nav-item-ext svg {
    flex-shrink: 0;
}

.nav-item-ext span {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* زر المزيد مع مؤشر */
.nav-item-ext.nav-more::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ===== EXTENDED MENU POPUP ===== */
.extended-menu-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.extended-menu-popup.active {
    pointer-events: auto;
    opacity: 1;
}

.extended-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.extended-menu-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    max-height: 75vh;
    background: var(--primary-dark);
    border-radius: 25px 25px 0 0;
    padding: 25px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.extended-menu-popup.active .extended-menu-content {
    transform: translateY(0);
}

.extended-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(229, 126, 58, 0.2);
}

.extended-menu-header h3 {
    color: var(--accent-teal);
    font-size: 20px;
    font-weight: bold;
}

.close-extended-menu {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.close-extended-menu:hover {
    background: var(--accent-teal);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.extended-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.extended-menu-section h4 {
    color: var(--accent-teal);
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.extended-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s;
    border: 1px solid transparent;
    margin-bottom: 8px;
}

.extended-menu-link:hover {
    background: rgba(156, 235, 200, 0.1);
    border-color: var(--accent-teal);
    transform: translateX(-3px);
}

.extended-menu-link .link-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.extended-menu-link span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.extended-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--accent-teal);
    color: var(--primary-dark);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    background: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 235, 200, 0.3);
}

/* Scrollbar */
.extended-menu-content::-webkit-scrollbar {
    width: 6px;
}

.extended-menu-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.extended-menu-content::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bottom-nav-extended {
        grid-template-columns: repeat(5, 1fr);
    }

    .nav-item-ext:nth-child(n+6) {
        display: none;
    }

    .nav-item-ext.nav-more {
        display: flex;
    }
}

@media (max-width: 768px) {
    .bottom-nav-extended {
        grid-template-columns: repeat(5, 1fr);
        padding: 6px 3px;
    }

    .nav-item-ext {
        padding: 6px 2px;
    }

    .nav-item-ext span {
        font-size: 9px;
    }

    .nav-item-ext svg {
        width: 18px;
        height: 18px;
    }

    .extended-menu-grid {
        grid-template-columns: 1fr;
    }

    .extended-menu-content {
        padding: 20px 15px;
        max-height: 80vh;
    }

    .extended-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bottom-nav-extended {
        grid-template-columns: repeat(5, 1fr);
    }

    .nav-item-ext span {
        font-size: 8px;
    }

    .extended-menu-header h3 {
        font-size: 18px;
    }

    .extended-menu-link {
        padding: 10px;
    }

    .quick-action-btn {
        font-size: 12px;
        padding: 10px;
    }
}

/* إخفاء القائمة القديمة على الصفحات الفرعية */
.bottom-nav {
    display: none;
}
/* تحسينات إضافية للقائمة الموسعة */

.extended-menu-note {
    background: rgba(156, 235, 200, 0.1);
    border: 1px solid rgba(156, 235, 200, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.extended-menu-note p {
    color: var(--accent-teal);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* تمييز العناصر في القائمة المنبثقة */
.extended-menu-link.main-page {
    background: rgba(156, 235, 200, 0.08);
    border: 1px solid rgba(229, 126, 58, 0.2);
}

/* تحسين عرض الأيقونات في الموبايل */
@media (max-width: 768px) {
    .nav-item-ext span {
        font-size: 8.5px;
        max-width: 55px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* تحسين العرض على الشاشات الصغيرة جداً */
@media (max-width: 380px) {
    .bottom-nav-extended {
        grid-template-columns: repeat(5, 1fr);
        padding: 5px 2px;
    }

    .nav-item-ext {
        padding: 5px 1px;
    }

    .nav-item-ext svg {
        width: 16px;
        height: 16px;
    }

    .nav-item-ext span {
        font-size: 7.5px;
    }

    /* إخفاء بعض العناصر على الشاشات الصغيرة جداً */
    .nav-item-ext:nth-child(n+6):not(.nav-more) {
        display: none;
    }
}

/* تأثير خاص للعناصر الرئيسية */
.nav-item-ext:nth-child(-n+9) {
    position: relative;
}

.nav-item-ext:nth-child(-n+9):hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-teal);
    border-radius: 2px;
}

/* تحسين ترتيب العناصر في التابلت */
@media (max-width: 1024px) and (min-width: 769px) {
    .bottom-nav-extended {
        grid-template-columns: repeat(5, 1fr);
    }

    /* إظهار أول 4 عناصر + المزيد */
    .nav-item-ext:nth-child(n+6):not(.nav-more) {
        display: none;
    }

    .nav-item-ext.nav-more {
        display: flex;
    }
}

/* تحسين الظهور على الشاشات العريضة */
@media (min-width: 1400px) {
    .bottom-nav-extended {
        padding: 10px 20px;
        max-width: 1400px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }

    .nav-item-ext {
        padding: 10px 8px;
    }

    .nav-item-ext span {
        font-size: 11px;
    }
}
/* ===== تحديث متغيرات الألوان الرئيسية ===== */

:root {
    /* ألوان مستوحاة من الشعار */
    --primary-dark: #4a4a4a;        /* اللون الرمادي من الشعار */
    --primary-medium: #5a5a5a;
    --primary-light: #6a6a6a;
    --accent-orange: #8b6048;       /* اللون البرتقالي من الشعار */
    --accent-orange-light: #ffad70;
    --accent-orange-dark: #e67530;
    --text-white: #ffffff;
    --text-gray: #d1d1d1;
    --text-dim: #b0b0b0;
    --glass-bg: rgba(74, 74, 74, 0.05);
    --border-color: rgba(255, 140, 66, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* ===== الخلفية الرئيسية ===== */
body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 100%);
    color: var(--text-white);
    margin: 0;
    padding: 0;
}


.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* شعار درب بالألوان الصحيحة */
.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-orange);
    text-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

.header-btn {
    background: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.header-btn:hover {
    background: var(--accent-orange-dark);
    border-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.4);
}

/* ===== SIDEBAR ===== */
.map-sidebar {
    background: rgba(74, 74, 74, 0.95);
    backdrop-filter: blur(10px);
    border-left: 2px solid var(--accent-orange);
}

.sidebar-title {
    color: var(--accent-orange);
    font-size: 24px;
    font-weight: bold;
}

.sidebar-subtitle {
    color: var(--text-dim);
}

/* ===== SEARCH BAR ===== */
.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--text-white);
}

.search-input:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

/* ===== FILTERS ===== */
.filter-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--text-white);
}

.filter-chip:hover {
    background: rgba(255, 140, 66, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.filter-chip.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

/* ===== STATION CARD ===== */
.station-card {
    background: rgba(74, 74, 74, 0.6);
    border: 1px solid rgba(255, 140, 66, 0.2);
    transition: all 0.3s;
}

.station-card:hover {
    background: rgba(74, 74, 74, 0.8);
    border-color: var(--accent-orange);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.2);
}

.station-card.active {
    background: rgba(255, 140, 66, 0.15);
    border-color: var(--accent-orange);
    border-width: 2px;
}

.station-name {
    color: var(--text-white);
}

.station-location {
    color: var(--text-dim);
}

.station-status {
    background: var(--accent-orange);
    color: white;
}

.station-status.closed {
    background: #e74c3c;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--text-white);
}

.action-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

/* ===== MAP CONTROLS ===== */
.map-control-btn {
    background: rgba(74, 74, 74, 0.95);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--text-white);
}

.map-control-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.4);
}

/* ===== CUSTOM MAP MARKERS ===== */
.custom-marker {
    background: var(--accent-orange);
    border: 3px solid white;
    box-shadow: 0 3px 15px rgba(255, 140, 66, 0.5);
}

.custom-marker:hover {
    box-shadow: 0 5px 25px rgba(255, 140, 66, 0.7);
}

/* ===== MAP POPUP ===== */
.leaflet-popup-content-wrapper {
    background: var(--primary-dark);
    color: white;
    border: 2px solid var(--accent-orange);
}

.leaflet-popup-tip {
    background: var(--primary-dark);
}

.popup-title {
    color: var(--accent-orange);
}

.popup-location {
    color: var(--text-dim);
}

.popup-btn {
    background: var(--accent-orange);
    color: white;
    border: none;
}

.popup-btn:hover {
    background: var(--accent-orange-dark);
}

/* ===== 360 VIEWER ===== */
.viewer-360-modal {
    background: rgba(0, 0, 0, 0.95);
}

.viewer-title {
    color: var(--accent-orange);
}

.close-viewer-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.close-viewer-btn:hover {
    background: var(--accent-orange);
    color: white;
}

.viewer-controls {
    background: rgba(74, 74, 74, 0.95);
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.viewer-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.2);
    color: var(--text-white);
}

.viewer-control-btn:hover,
.viewer-control-btn.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.scene-thumbnail {
    border: 2px solid transparent;
}

.scene-thumbnail:hover {
    border-color: var(--accent-orange);
}

.scene-thumbnail.active {
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
}

/* ===== STATION INFO PANEL ===== */
.station-info-panel {
    background: rgba(74, 74, 74, 0.98);
    border: 2px solid var(--accent-orange);
}

.info-panel-title {
    color: var(--accent-orange);
}

.info-panel-location {
    color: var(--text-dim);
}

.info-row {
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
}

.info-label {
    color: var(--text-dim);
}

.panel-action-btn {
    background: var(--accent-orange);
    color: white;
}

.panel-action-btn:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.panel-action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
}

.panel-action-btn.secondary:hover {
    background: rgba(255, 140, 66, 0.2);
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    box-shadow: 0 0px 15px rgb(202 187 179 / 26%)
}

/* .chatbot-toggle:hover {
    box-shadow: 0 12px 40px rgba(255, 140, 66, 0.6);
} */

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    border-bottom: 2px solid var(--accent-orange);
}

.bot-info h3 {
    color: var(--accent-orange);
}

.status-dot {
    background: var(--accent-orange);
}

.quick-action:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.bot-message .message-bubble {
    background: rgba(74, 74, 74, 0.8);
    color: white;
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: white;
}

.send-btn {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: white;
}

.send-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.message-button {
    background: var(--accent-orange);
    color: white;
}

.message-button:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

/* ===== SCROLLBAR ===== */
.stations-list::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
}

.chatbot-input::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
}

/* ===== LOADING ===== */
.loading-spinner {
    border: 4px solid rgba(255, 140, 66, 0.2);
    border-top-color: var(--accent-orange);
}

/* ===== NOTIFICATIONS ===== */
.update-banner {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: white;
}

.notification-prompt {
    background: rgba(74, 74, 74, 0.98);
    border: 2px solid var(--accent-orange);
}

.prompt-text h3 {
    color: var(--accent-orange);
}

.btn-enable {
    background: var(--accent-orange);
    color: white;
}

.btn-enable:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.install-prompt {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
}

.btn-install {
    background: var(--primary-dark);
    color: var(--accent-orange);
}

.btn-install:hover {
    background: var(--primary-medium);
}

/* ===== FOOTER (إذا وجد) ===== */
.footer {
    background: var(--primary-dark);
    border-top: 2px solid var(--accent-orange);
    color: var(--text-white);
}

.footer-title {
    color: var(--accent-orange);
}

.footer a {
    color: var(--text-dim);
}

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

/* ===== BUTTONS العامة ===== */
button:not(.header-btn):not(.action-btn):not(.send-btn) {
    background: var(--accent-orange);
    color: white;
    border: none;
}

button:not(.header-btn):not(.action-btn):not(.send-btn):hover {
    background: #eaa75e;
}

/* ===== LINKS العامة ===== */
a {
    color: var(--accent-orange);
    text-decoration: none;
}

a:hover {
    color: var(--accent-orange-light);
}

/* ===== GRADIENTS الإضافية ===== */
.gradient-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
}

.gradient-gray {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
}

/* ===== SHADOWS ===== */
.shadow-orange {
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.3);
}

.shadow-orange-hover:hover {
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
}

/* ===== تحديث شعار SVG ===== */
.logo-icon svg path:first-child {
    fill: var(--primary-dark); /* الجزء الرمادي */
}

.logo-icon svg path:last-child {
    fill: var(--accent-orange); /* الجزء البرتقالي */
}

/* ===== ANIMATIONS ===== */
@keyframes glow-orange {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 140, 66, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.8);
    }
}

.glow-animation {
    animation: glow-orange 2s infinite;
}

/* ===== HOVER EFFECTS ===== */
.hover-orange:hover {
    color: var(--accent-orange);
    transition: color 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ===== BORDERS ===== */
.border-orange {
    border: 2px solid var(--accent-orange);
}

.border-gray {
    border: 1px solid rgba(255, 140, 66, 0.2);
}

/* ===== BACKGROUNDS ===== */
.bg-dark {
    background: var(--primary-dark);
}

.bg-orange {
    background: var(--accent-orange);
}

.bg-orange-light {
    background: rgba(255, 140, 66, 0.1);
}

/* ===== TEXT COLORS ===== */
.text-orange {
    color: var(--accent-orange);
}

.text-gray {
    color: var(--text-gray);
}

.text-dim {
    color: var(--text-dim);
}