/* =========================================
   Aerixo "Neo-Glass" Design System
   ========================================= */

:root {
    /* --- The Lab Palette --- */
    --bg-main: #E8ECEF;
    /* Clinical Silver-Gray */
    --bg-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");

    /* Deep Glass Surfaces */
    --glass-dark: rgba(2, 54, 55, 0.95);
    /* Midnight Green Base */
    --glass-light: rgba(255, 255, 255, 0.8);
    --border-light: rgba(255, 255, 255, 0.4);
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Accents */
    --accent-primary: #189849;
    /* Signal Green */
    --accent-secondary: #53C6D6;
    /* Hologram Blue */
    --text-lead: #05213D;
    /* Navy - High Visibility */
    --text-body: #475569;
    /* Slate */

    /* Geometry */
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;

    /* Physics */
    --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 0 rgba(255, 255, 255, 0.5);

    --font-display: 'Outfit', sans-serif;
    --font-ar: 'Fustat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    background-image: var(--bg-noise);
    /* Texture */
    color: var(--text-lead);
    font-family: var(--font-display);
    overflow-x: hidden;
    line-height: 1.5;
}

html[lang="ar"] body {
    font-family: var(--font-ar);
}

html.lenis {
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   Typography (Editorial)
   ========================================= */

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-lead) 30%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   Components: The "Tech Block"
   ========================================= */

.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--text-lead);
    color: white;
    box-shadow: 0 4px 16px rgba(5, 33, 61, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 33, 61, 0.25);
    background: #000000;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(5, 33, 61, 0.15);
    color: var(--text-lead);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(5, 33, 61, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* =========================================
   Navbar: The "Control Bar"
   ========================================= */

.navbar {
    position: fixed;
    bottom: 40px;
    /* Surprising Location: Bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}

.nav-dock {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 10px 10px;
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-item {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-lead);
    font-size: 0.9rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-main);
    color: var(--accent-primary);
}

.nav-brand-mini {
    padding: 0 20px;
    font-weight: 900;
    font-size: 1.2rem;
    border-right: 2px solid rgba(0, 0, 0, 0.05);
    margin-right: 10px;
}

html[dir="rtl"] .nav-brand-mini {
    border-right: none;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
    margin-right: 0;
    margin-left: 10px;
}

/* =========================================
   Hero: The "Impact Zone"
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    background:
        radial-gradient(circle at 10% 20%, rgba(24, 152, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(5, 33, 61, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(83, 198, 214, 0.05) 0%, transparent 70%),
        var(--bg-main);
    background-attachment: fixed;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.display-title {
    margin-bottom: 40px;
    mix-blend-mode: multiply;
    /* Blends with background texture */
}

/* The "Black Box" Visual */
.hero-visual {
    position: relative;
    padding: 40px;
}

.glass-monolith {
    width: 100%;
    height: 600px;
    background: var(--glass-dark);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.monolith-content {
    text-align: center;
    z-index: 2;
}

.monolith-content .big-stat {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   Bento Grids (The Dashboard)
   ========================================= */

.section-pad {
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
}

.bento-card {
    background: var(--bg-main);
    background: linear-gradient(145deg, #ffffff, #f0f2f4);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-float), var(--shadow-inner);
    border: 1px solid white;
    transition: transform 0.1s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Start from top */
    align-items: flex-start;
    gap: 0;
    /* Remove gap, use margin instead */
    text-align: right;
    /* Default for Arabic */
}

/* Override for English */
html[dir="ltr"] .bento-card {
    text-align: left;
}

/* Grid Assignments */
.span-2 {
    grid-column: span 2;
}

.span-row-2 {
    grid-row: span 2;
}

/* Vision card: content pushed to bottom with margin-top: auto */
.bento-card.span-row-2 {
    justify-content: flex-start;
}

/* Dark Cards */
.bento-card.dark {
    background: var(--glass-dark);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.bento-card p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
}

.floating-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
    align-self: flex-start;
    /* Keep icon at top */
    margin-top: 0;
    /* Prevent overflow outside card */
    margin-bottom: 20px;
    /* Add spacing between icon and text */
    transition: transform 0.5s ease;
}

.bento-card:hover .floating-icon {
    transform: scale(1.2) translateY(-10px) rotate(-5deg);
}

/* =========================================
   Projects: Horizontal Scroll
   ========================================= */

.projects-reel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
}

.projects-reel::-webkit-scrollbar {
    display: none;
}

.project-slide {
    min-width: 400px;
    height: 500px;
    background: white;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    cursor: pointer;
}

.project-img-hack {
    height: 60%;
    background: var(--accent-secondary);
    position: relative;
}

.project-info {
    padding: 30px;
}

.tag {
    background: black;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* =========================================
   Footer (Redesigned & Spaced)
   ========================================= */

.footer {
    padding: 100px 0 60px;
    background: var(--bg-surface);
    /* Distinct surface */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand-col {
    flex: 2;
    min-width: 300px;
}

.footer-links-col {
    flex: 1;
    min-width: 150px;
}

.footer-brand-big {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-dark);
    /* Defined brand color */
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 320px;
    margin-bottom: 30px;
}

.footer h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 800;
}

.footer a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: var(--brand-green);
    transform: translateX(5px);
}

html[dir="rtl"] .footer a:hover {
    transform: translateX(-5px);
}

.ksa-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 0.9rem;
}

.copyright-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .copyright-bar {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================
   Tech Stack
   ========================================= */
.tech-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    width: 200px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tech-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-lead);
}

.tech-role {
    font-size: 0.85rem;
    color: var(--text-body);
    font-weight: 600;
    opacity: 0.7;
}

/* =========================================
   Stats / Trust Indicators - Horizontal Bar
   ========================================= */

.stats-section {
    background: linear-gradient(135deg, rgba(5, 33, 61, 0.02) 0%, rgba(24, 152, 73, 0.01) 100%);
    padding: 35px 0;
    border-top: 1px solid rgba(5, 33, 61, 0.08);
    border-bottom: 1px solid rgba(5, 33, 61, 0.08);
}

.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    opacity: 0;
    animation: statFadeIn 0.6s ease-out forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(5) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(7) {
    animation-delay: 0.4s;
}

@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(24, 152, 73, 0.25);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-lead);
}

.stat-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(5, 33, 61, 0.08) 50%,
            transparent);
    flex-shrink: 0;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .glass-monolith {
        height: 400px;
        margin-top: 40px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .span-2,
    .span-row-2 {
        grid-column: auto;
        grid-row: auto;
    }

    .navbar {
        bottom: 20px;
        width: 90%;
    }

    .nav-brand-mini {
        display: none;
    }

    .nav-dock {
        justify-content: center;
    }

    .nav-dock {
        justify-content: center;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 30px 20px;
    }

    .stat-item {
        flex-basis: calc(50% - 10px);
    }

    .stat-divider {
        display: none;
    }

    .stat-value {
        font-size: 2.25rem;
    }
}

@media (max-width: 600px) {
    .stats-bar {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item {
        flex-basis: 100%;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 0.8rem;
    }
}

/* =========================================
   Contact Section (New)
/* =========================================
   Contact Section (Premium Polish)
   ========================================= */
.contact-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
    display: flex;
    overflow: hidden;
    min-height: 550px;
    margin-top: 120px;
    /* Strong separation */
    margin-bottom: 80px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Glow Effect */
.contact-card::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(83, 198, 214, 0.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Dark Side (Info) */
.contact-info-side {
    flex: 1;
    background: linear-gradient(135deg, #022c2d 0%, #011f20 100%);
    color: white;
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Texture Pattern */
.contact-info-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

html[dir="rtl"] .contact-info-side {
    text-align: right;
    align-items: flex-start;
}

.contact-info-side h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.contact-info-side p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 320px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

/* Form Side */
.contact-form-side {
    flex: 1.4;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 30px;
}

.input-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-lead);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.contact-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #CBD5E1;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: var(--text-lead);
    outline: none;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    font-family: inherit;
}

textarea.contact-input {
    min-height: 120px;
    resize: vertical;
}

.contact-input:focus {
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 20px -5px rgba(24, 152, 73, 0.15);
    transform: translateY(-2px);
}

/* Info Items */
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
    direction: ltr;
    /* Ensure numbers/emails display correctly */
}

html[dir="rtl"] .info-item {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .contact-card {
        flex-direction: column-reverse;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 40px;
    }
}

/* =========================================
   Project Tabs Section
   ========================================= */

.project-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-secondary) transparent;
    padding: 10px 0 20px 0;
}

.project-tabs::-webkit-scrollbar {
    height: 6px;
}

.project-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.project-tabs::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 10px;
}

.project-tab {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-lead);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    outline: none;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-tab:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: rgba(5, 33, 61, 0.15);
}

.project-tab.active {
    background: var(--text-lead);
    color: white;
    box-shadow: 0 8px 24px rgba(5, 33, 61, 0.3);
}

.project-tab.active:hover {
    background: #000000;
    box-shadow: 0 10px 28px rgba(5, 33, 61, 0.35);
}

.tab-name {
    font-weight: 600;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.project-tab.active .tab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

/* Badge for inactive tabs */
.project-tab:not(.active) .tab-badge {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-body);
}

/* Project Content Area */
.project-content-area {
    position: relative;
    min-height: 500px;
}

.project-content {
    display: none;
    opacity: 0;
    animation: fadeOut 0.3s ease-out forwards;
}

.project-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Project Details (Active Project) */
.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.project-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--text-lead);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-body);
    opacity: 0.9;
}

.project-preview {
    position: relative;
    width: 100%;
}

.preview-placeholder {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16/10;
    overflow: hidden;
}

.preview-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Coming Soon Message */
.coming-soon-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 60px 20px;
}

.coming-soon-message h3 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--text-lead);
}

.coming-soon-message p {
    font-size: 1.2rem;
    color: var(--text-body);
    opacity: 0.8;
    max-width: 500px;
}

/* RTL Support */
html[dir="rtl"] .project-details {
    text-align: right;
}

html[dir="ltr"] .project-details {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 900px) {
    .project-tabs {
        justify-content: flex-start;
        padding: 0 10px 10px;
    }

    .project-tab {
        padding: 14px 24px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-title {
        font-size: 2.2rem;
    }

    .project-description {
        font-size: 1.05rem;
    }

    .preview-placeholder {
        aspect-ratio: 16/12;
    }
}

@media (max-width: 600px) {
    .project-tabs {
        gap: 10px;
    }

    .project-tab {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .tab-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}