/*
Theme Name: BLEAZNT
Theme URI: https://example.com
Author: K2
Author URI: https://example.com
Description: A fully JavaScript-driven Single Page Application WordPress theme. Modern, fast, and interactive.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bleaznt
Tags: spa, javascript, modern, fast, interactive
*/

/* CSS Variables - Dark Theme Only */
:root {
    --theme-primary: #181818;
    --theme-accent: #ffffff;
    --theme-bg: #181818;
    --theme-text: #ffffff;
    --theme-text-secondary: rgba(255, 255, 255, 0.7);
    --theme-border: rgba(255, 255, 255, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.03);
}

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--theme-text);
    background: var(--theme-bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Screen */
#app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 24, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    gap: 1.5rem;
}

#app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--theme-accent);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    text-align: center;
    min-height: 2rem;
    transition: opacity 0.1s ease;
}

/* App Container */
#bleaznt-app {
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#bleaznt-app.loaded {
    opacity: 1;
}

/* Logo Styling */
.hero-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    filter: brightness(0) invert(1); /* White logo for dark mode */
}

.hero-logo:hover {
    transform: scale(1.02);
}


/* Hero Section - Full Screen */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--theme-bg);
    position: relative;
    overflow: hidden;
}

/* Hero Background Pattern - Animated Gradient Mesh */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

/* Animated Grid Lines */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-btn {
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--theme-accent);
    border: 1.5px solid var(--theme-accent);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--theme-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.hero-btn:hover {
    color: var(--theme-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25);
    border-color: var(--theme-accent);
}

.hero-btn:hover::before {
    left: 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--theme-text);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.hero-content .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--theme-text-secondary);
    animation: fadeInUp 0.8s ease-out 0.3s both;
    font-weight: 400;
    text-align: center;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    color: var(--theme-text-secondary);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--theme-primary);
    color: var(--theme-accent);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    border: 2px solid var(--theme-primary);
    position: relative;
    overflow: hidden;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--theme-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.hero-cta:hover {
    color: var(--theme-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover::before {
    left: 0;
}

[data-theme="dark"] .hero-cta {
    background: var(--theme-accent);
    color: var(--theme-primary);
    border-color: var(--theme-accent);
}

[data-theme="dark"] .hero-cta::before {
    background: var(--theme-primary);
}

[data-theme="dark"] .hero-cta:hover {
    color: var(--theme-accent);
}

/* Geometric Shapes Background */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    border: 2px solid var(--theme-text);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -100px;
    left: -100px;
    animation: morphShape 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--theme-text);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: -50px;
    right: -50px;
    animation: morphShape 18s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--theme-text);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    top: 50%;
    right: 10%;
    animation: morphShape 20s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
        transform: rotate(270deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 200px;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-decoration {
        display: none;
    }
}

/* Full Page Modal */
.full-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--theme-bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

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

.modal-header {
    position: sticky;
    top: 0;
    background: rgba(24, 24, 24, 0.95);
    border-bottom: 1px solid var(--theme-border);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: -0.01em;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--theme-accent);
    background: transparent;
    color: var(--theme-accent);
    border-radius: 6px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--theme-accent);
    color: var(--theme-primary);
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    padding: 1.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow-y: auto;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background: rgba(24, 24, 24, 0.95);
    border-top: 1px solid var(--theme-border);
    padding: 1rem 1.5rem;
    text-align: center;
    color: var(--theme-text-secondary);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.875rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    color: var(--theme-text);
    font-weight: 500;
    font-size: 0.875rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    color: var(--theme-text);
    font-size: 0.9rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.submit-btn {
    padding: 0.75rem 1.75rem;
    background: var(--theme-accent);
    color: var(--theme-primary);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(24, 24, 24, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-status-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-message-text {
    font-size: 1rem;
}

.form-message.success {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    opacity: 1;
}

.form-message.error {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
    opacity: 1;
}

/* Works Grid */
.works-container {
    width: 100%;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.work-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.work-item:hover::before {
    left: 100%;
}

.work-item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--theme-accent);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.work-image {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-secondary);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.work-image.work-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
}

.work-image.work-logo img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.work-logo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--theme-accent);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 0.375rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.work-item p {
    color: var(--theme-text-secondary);
    line-height: 1.5;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 0.875rem;
}

/* About Content - Enhanced */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--theme-border);
}

.about-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: -0.02em;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--theme-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-accent);
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--theme-text-secondary);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.about-section:hover {
    transform: translateY(-3px);
    border-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--theme-text-secondary);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-services {
    margin-bottom: 3rem;
}

.services-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 0.75rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-team {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
}

.team-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.team-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--theme-text-secondary);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Project Detail Tabs */
.project-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--theme-border);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}

.tab-btn:hover {
    color: var(--theme-text);
}

.tab-btn.active {
    color: var(--theme-text);
    border-bottom-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--theme-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.tab-content h3:first-child {
    margin-top: 0;
}

.tab-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--theme-text-secondary);
    margin-bottom: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    color: var(--theme-text-secondary);
    font-size: 0.9rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 2rem;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--theme-accent);
    transform: translateX(-4px);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0.75rem;
    color: var(--theme-accent);
    font-weight: bold;
    font-size: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    color: var(--theme-text);
    font-size: 0.85rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--theme-accent);
    transform: translateY(-2px);
}

/* Images Preview Grid */
.images-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
}

.image-preview-item:hover {
    border-color: var(--theme-accent);
    transform: scale(1.03);
}

.image-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.image-preview-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--theme-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
}

.image-preview-overlay span {
    color: var(--theme-accent);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.image-preview-item:hover .image-preview-overlay {
    opacity: 1;
}

.image-preview-item:hover .image-preview-placeholder {
    transform: scale(1.05);
}

/* Image Preview - Full Screen */
.image-preview-modal {
    z-index: 10001;
}

.image-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
}

.image-preview-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--theme-accent);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    line-height: 1;
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--theme-accent);
    transform: scale(1.1) rotate(90deg);
}

.image-preview-full {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Modals */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-btn {
        width: 100%;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-footer {
        padding: 1.5rem;
    }

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

/* Enhanced Visual Effects */
.work-image {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-image {
    transform: scale(1.05);
}

/* Glass Morphism Effect */
.modal-header,
.modal-footer,
.stat-item,
.about-section,
.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Enhanced Shadows */
.work-item,
.stat-item,
.about-section,
.service-card,
.card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-item:hover,
.stat-item:hover,
.about-section:hover,
.service-card:hover,
.card:hover {
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.15);
}

/* Smooth Theme Transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Selection Color */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--theme-accent);
}

::-moz-selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--theme-accent);
}
