      :root {
    --primary-color: #ffffff;
    --secondary-color: #a1a1aa;
    --accent-color: #2e3138;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --bg-primary: #21242A;
    --bg-secondary: #2a2d34;
    --bg-card: #2f3239;
    --border-color: #464a52;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #21242A 0%, #2a2d34 100%);
}

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            overflow-x: hidden;
            transition: all 0.3s ease;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(33, 36, 42, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        [data-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.95);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            height: 40px;
            width: auto;
            filter: brightness(0) invert(1);
        }

        [data-theme="light"] .logo {
            filter: none;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--secondary-color);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--text-primary);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .theme-toggle, .lang-toggle {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            cursor: pointer;
            padding: 0.6rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .theme-toggle:hover, .lang-toggle:hover {
            background: var(--accent-color);
            transform: translateY(-1px);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            position: relative;
            top: 37px;
            width: 100%;
            height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 40px;
        }

        .hero-bg-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 90%;
            object-fit: cover; 
            z-index: -1;
            border-radius: 40px;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            color: white;
            text-align: center;
        }

        .three-scene {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
            z-index: 2;
            transition: background 0.5s ease;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            width: 100%;
        }

        .hero-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 2.5rem 2rem;
            max-width: 540px;
            width: 100%;
            margin: auto;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0.5px rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transform: perspective(1000px) rotateX(6deg);
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .hero-main {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            margin-bottom: 4rem;
        }

        .hero-text {
            max-width: 800px;
        }

        .hero-quote {
            font-size: 3.5rem;
            font-weight: 300;
            line-height: 1.1;
            margin-bottom: 2rem;
            color: white;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 1s ease forwards 0.5s;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards 0.7s;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: white;
            color: #09090b;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease forwards 0.9s;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
        }

        /* Time Control Panel */
        .time-control {
            position: absolute;
            top: 100px;
            right: 20px;
            z-index: 4;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateX(100px);
            animation: slideInRight 1s ease forwards 1.5s;
        }

        .time-display {
            color: white;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            text-align: center;
            font-weight: 500;
        }

        .time-slider {
            width: 150px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            outline: none;
            cursor: pointer;
            margin-bottom: 0.5rem;
        }

        .time-slider::-webkit-slider-thumb {
            appearance: none;
            width: 16px;
            height: 16px;
            background: #00ff88;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 255, 136, 0.3);
        }

        .time-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.6);
        }

        /* Weather Indicator */
        .weather-indicator {
            position: absolute;
            top: 100px;
            left: 20px;
            z-index: 4;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            opacity: 0;
            transform: translateX(-100px);
            animation: slideInLeft 1s ease forwards 1.5s;
        }

        .weather-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            text-align: center;
        }

        .weather-temp {
            font-size: 0.9rem;
            text-align: center;
            font-weight: 500;
        }

        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 1s ease forwards 1.1s;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            animation: shimmer 2s infinite;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .stat-description {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        /* Reports Section */
        .reports {
            padding: 8rem 0;
            background: var(--bg-primary);
        }

        /* Why Us section */
        .why-us-section {
            display: flex;
            padding: 50px;
            border-radius: 20px;
            max-width: 1200px;
            margin: 60px auto;
            gap: 40px;
        }

        .left-side {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .left-side .main-image {
            width: 100%;
            border-radius: 15px;
            object-fit: cover;
        }

        .left-side .description {
            margin-top: 20px;
            font-size: 16px;
            color: #666;
        }

        .right-side {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .images-row {
            display: flex;
            gap: 15px;
        }

        .thumb {
            width: 50%;
            border-radius: 12px;
            object-fit: cover;
        }

        .why-us h3 {
            margin-bottom: 5px;
        }

        .why-us p {
            font-size: 15px;
            color: #555;
            line-height: 1.5;
        }

        .vision {
            margin-top: 10px;
            font-size: 20px;
            color: #222;
            font-weight: bold;
            line-height: 1.4;
        }

        /* About Section */
        .about {
            position: relative;
            top: 37px;
            width: 100%;
            height: 90vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            color: var(--text-primary);
            text-align: left;
            border-radius: 40px;
        }

        .about-video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 86vh;
            object-fit: cover;
            z-index: -1;
            filter: brightness(0.8);
            transition: filter 0.5s ease;
            border-radius: 40px;
        }

        .about-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(9, 9, 11, 0.8) 0%, rgba(9, 9, 11, 0.6) 30%, transparent 70%, transparent 100%);
            z-index: 0;
        }

        [dir="rtl"] .about-overlay {
            background: linear-gradient(to left, rgba(9, 9, 11, 0.8) 0%, rgba(9, 9, 11, 0.6) 30%, transparent 70%, transparent 100%);
        }

        .about-content-overlay {
            position: relative;
            z-index: 1;
            padding: 0 5%;
            max-width: 800px;
            margin-left: 5%;
        }

        [dir="rtl"] .about-content-overlay {
            margin-left: auto;
            margin-right: 5%;
        }

        .about-content-overlay h2 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            font-family: var(--heading-font);
            color: var(--text-primary);
        }

        .about-content-overlay p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2.5rem;
            color: var(--text-secondary);
            max-width: 600px;
        }

        .meet-the-team-btn {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            background: var(--primary-color);
            color: var(--bg-primary);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            border: 2px solid transparent;
        }

        .meet-the-team-btn:hover {
            background: var(--primary-color-dark);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Services Section */
        .services-section {
            padding: 8rem 0;
            background: var(--bg-primary);
            position: relative;
        }

        /* Services List Container with Floating We */
        .services-list-container {
            position: relative;
            margin: 3rem 0;
            min-height: 400px;
        }

        .dynamic-we-floating {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 10;
            pointer-events: none;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .we-text {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--text-primary);
            opacity: 0.9;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
            display: block;
            white-space: nowrap;
            transform: scale(1);
            transition: all 0.4s ease;
        }

        .we-text.moving {
            opacity: 1;
            transform: scale(1.05);
            text-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
        }

        /* Services List Styles */
        .services-list {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            padding-left: 200px;
        }

        .service-title-container {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .service-title {
            font-size: 1.8rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.4s ease;
            cursor: pointer;
            padding: 1rem 2rem;
            border-radius: 12px;
            position: relative;
            opacity: 0.7;
            text-align: center;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-title:hover {
            color: var(--text-primary);
            opacity: 1;
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.05);
        }

        .service-title.active {
            color: var(--text-primary);
            opacity: 1;
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.05);
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
        }

        .service-title::before {
            content: '';
            position: absolute;
            left: -200px;
            top: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--text-primary), transparent);
            transition: width 0.4s ease;
            transform: translateY(-50%);
        }

        .service-title.active::before {
            width: 180px;
        }

        /* Services Grid */
        .services-grid {
            display: grid;
            gap: 4rem;
            margin-top: 6rem;
        }

        .service-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            padding: 3rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(50px);
        }

        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }

        .service-item.right-aligned {
            grid-template-columns: 1fr 1fr;
        }

        .service-item.right-aligned .service-content {
            order: 2;
        }

        .service-item.right-aligned .service-images {
            order: 1;
        }

        .service-content h3 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .service-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .service-images {
            position: relative;
        }

        .image-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            height: 300px;
        }

        .main-image {
            grid-column: span 2;
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .secondary-image {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .service-item:hover .main-image,
        .service-item:hover .secondary-image {
            transform: scale(1.02);
            filter: brightness(1.1);
        }

        /* Services CTA */
        .services-cta {
            text-align: center;
            margin-top: 6rem;
            padding: 4rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            opacity: 0;
            transform: translateY(30px);
        }

        .cta-content h3 {
            font-size: 2.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        .cta-content p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 5rem;
            position: relative;
        }

        .section-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            font-weight: 300;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(30px);
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(20px);
        }

        /* Team Section */
        .team {
            padding: 8rem 0;
            background: var(--bg-primary);
        }

        .team-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 5rem;
        }

        .team-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(50px);
            position: relative;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 400px;
            align-items: stretch;
        }

        .team-card.left-card {
            grid-template-areas: "image content";
        }

        .team-card.left-card .team-image-container {
            grid-area: image;
        }

        .team-card.left-card .team-info {
            grid-area: content;
        }

        .team-card.right-card {
            grid-template-areas: "content image";
        }

        .team-card.right-card .team-image-container {
            grid-area: image;
        }

        .team-card.right-card .team-info {
            grid-area: content;
        }

        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }

        .team-image-container {
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
            padding: 2rem;
        }

        .team-image {
            width: 200px;
            height: 250px;
            object-fit: cover;
            border-radius: 16px;
            filter: grayscale(100%) contrast(1.1);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            box-shadow: 
                0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 0 8px rgba(255, 255, 255, 0.05),
                0 0 0 16px rgba(255, 255, 255, 0.02);
            border: 2px solid rgba(255, 255, 255, 0.1);
        }

        .team-image-container::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-3deg);
            width: 200px;
            height: 250px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            z-index: 1;
            transition: all 0.3s ease;
        }

        .team-image-container::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(2deg);
            width: 200px;
            height: 250px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.03);
            z-index: 0;
            transition: all 0.3s ease;
        }

        .team-card:hover .team-image {
            filter: grayscale(0%) contrast(1);
            transform: scale(1.05) rotate(1deg);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 0 8px rgba(255, 255, 255, 0.08),
                0 0 0 16px rgba(255, 255, 255, 0.04);
        }

        .team-card:hover .team-image-container::before {
            transform: translate(-50%, -50%) rotate(-5deg) scale(1.02);
            background: rgba(255, 255, 255, 0.05);
        }

        .team-card:hover .team-image-container::after {
            transform: translate(-50%, -50%) rotate(4deg) scale(1.01);
            background: rgba(255, 255, 255, 0.03);
        }

        .team-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: 2rem;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 3;
        }

        .team-card:hover .team-overlay {
            opacity: 1;
        }

        .team-social {
            display: flex;
            gap: 1rem;
        }

        .team-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .team-social a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .team-info {
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--bg-card);
            position: relative;
        }

        .team-info h3 {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            color: var(--text-primary);
            font-family: 'Playfair Display', serif;
        }

        .team-role {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .team-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 2rem;
            font-size: 1rem;
        }

        .team-expertise {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .expertise-tag {
            background: var(--accent-color);
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .expertise-tag:hover {
            background: var(--secondary-color);
            color: var(--bg-primary);
            transform: translateY(-2px);
        }

        .team-info::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .team-card:hover .team-info::before {
            opacity: 1;
        }

        .team-card:nth-child(odd) .team-info::before {
            background: linear-gradient(90deg, transparent, #3b82f6, transparent);
        }

        .team-card:nth-child(even) .team-info::before {
            background: linear-gradient(90deg, transparent, #10b981, transparent);
        }

        .team-card:nth-child(odd) .expertise-tag:hover {
            background: #3b82f6;
        }

        .team-card:nth-child(even) .expertise-tag:hover {
            background: #10b981;
        }

        /* Team Stats */
        .team-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            padding: 3rem 0;
            border-top: 1px solid var(--border-color);
            margin-top: 3rem;
        }

        .team-stat-item {
            text-align: center;
            opacity: 0.3;
            transform: translateY(30px);
        }

        .team-stat-number {
            display: block;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .team-stat-label {
            color: var(--text-secondary);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Projects Section */
        .projects {
            padding: 8rem 0;
            background: var(--bg-primary);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(50px);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }

        .project-image-container {
            position: relative;
            height: 280px;
            overflow: hidden;
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(60%) contrast(1.2);
            transition: all 0.3s ease;
        }

        .project-card:hover .project-image {
            filter: grayscale(0%) contrast(1);
            transform: scale(1.05);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
            display: flex;
            align-items: flex-end;
            padding: 2rem;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-info {
            padding: 2rem;
        }

        .project-info h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .project-info p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .project-type {
            background: var(--accent-color);
            color: var(--text-primary);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid var(--border-color);
        }

        .project-stats {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .project-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .project-stat-number {
            font-weight: 600;
            color: var(--text-primary);
        }

        .featured-project {
            grid-column: span 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 400px;
        }

        .featured-content {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-content h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .featured-content .project-stats {
            margin-top: 2rem;
            gap: 2rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        /* Light Theme */
        [data-theme="light"] {
            --primary-color: #09090b;
            --secondary-color: #71717a;
            --accent-color: #f4f4f5;
            --text-primary: #09090b;
            --text-secondary: #71717a;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-card: #ffffff;
            --border-color: #e4e4e7;
            --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
            --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
        }

        /* Arabic Language Support */
        .arabic {
            font-family: 'Cairo', 'Inter', sans-serif;
        }

        .arabic .hero-quote {
            font-size: 3rem;
        }

        .arabic .section-header h2 {
            font-size: 3rem;
        }

        /* RTL Support for Services */
        [dir="rtl"] .services-list {
            padding-left: 0;
            padding-right: 200px;
        }

        [dir="rtl"] .dynamic-we-floating {
            left: auto;
            right: 0;
        }

        [dir="rtl"] .service-title::before {
            left: auto;
            right: -200px;
        }

        [dir="rtl"] .team-card.left-card {
            grid-template-areas: "content image";
        }

        [dir="rtl"] .team-card.right-card {
            grid-template-areas: "image content";
        }

        [dir="rtl"] .team-social {
            flex-direction: row-reverse;
        }

        [dir="rtl"] .team-expertise {
            justify-content: flex-end;
        }

        /* Enhanced Mobile Responsive Design */
        
        /* Large Tablets and Small Desktops */
        @media (max-width: 1200px) {
            .container {
                padding: 0 15px;
            }
            
            .hero-quote {
                font-size: 3rem;
            }
            
            .section-header h2 {
                font-size: 3rem;
            }
            
            .team-grid {
                gap: 2rem;
            }
            
            .team-image {
                width: 180px;
                height: 220px;
            }
            
            .team-image-container::before,
            .team-image-container::after {
                width: 180px;
                height: 220px;
            }
            
            .service-item {
                padding: 2.5rem;
                gap: 2.5rem;
            }
            
            .services-cta {
                padding: 3rem;
            }
            
            .cta-content h3 {
                font-size: 2.2rem;
            }
        }

        /* Tablets */
        @media (max-width: 1024px) {
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--bg-primary);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 2rem;
                transition: left 0.3s ease;
                border-top: 1px solid var(--border-color);
            }

            .nav-menu.active {
                left: 0;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .hero {
                height: 80vh;
                border-radius: 20px;
            }

            .hero-card {
                padding: 2rem 1.5rem;
                max-width: 90%;
            }

            .hero-quote {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .time-control, .weather-indicator {
                display: none;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .about {
                height: 80vh;
                border-radius: 20px;
            }

            .about-content-overlay {
                margin-left: 3%;
                padding: 0 3%;
            }
            
            .about-content-overlay h2 {
                font-size: 3rem;
            }
            
            .about-content-overlay p {
                font-size: 1rem;
            }
            
            .meet-the-team-btn {
                padding: 1rem 2rem;
                font-size: 1rem;
            }

            .why-us-section {
                flex-direction: column;
                padding: 30px;
                gap: 30px;
            }

            .images-row {
                flex-direction: column;
            }

            .thumb {
                width: 100%;
            }

            .vision {
                font-size: 18px;
            }

            .left-side .description,
            .why-us p {
                font-size: 14px;
            }

            .services-list {
                padding-left: 150px;
            }

            [dir="rtl"] .services-list {
                padding-left: 0;
                padding-right: 150px;
            }

            .we-text {
                font-size: 3rem;
            }

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

            .service-item {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 2rem;
            }

            .service-item.right-aligned .service-content {
                order: 1;
            }

            .service-item.right-aligned .service-images {
                order: 2;
            }

            .service-content h3 {
                font-size: 1.8rem;
            }

            .services-cta {
                padding: 2.5rem;
            }

            .cta-content h3 {
                font-size: 2rem;
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }
            
            .team-card {
                grid-template-columns: 1fr 1.5fr;
                max-width: 700px;
                margin: 0 auto;
            }
            
            .team-image {
                width: 160px;
                height: 200px;
            }
            
            .team-image-container::before,
            .team-image-container::after {
                width: 160px;
                height: 200px;
            }

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

            .featured-project {
                grid-column: span 1;
                grid-template-columns: 1fr;
            }

            .section-header h2 {
                font-size: 2.8rem;
            }
        }

        /* Mobile Landscape and Small Tablets */
        @media (max-width: 768px) {
            .container {
                padding: 0 10px;
            }

            .nav-container {
                padding: 1rem;
            }

            .logo {
                height: 35px;
            }

            .hero {
                height: 70vh;
                border-radius: 15px;
                top: 20px;
            }

            .hero-bg-video {
                border-radius: 15px;
            }

            .hero-card {
                padding: 1.5rem;
                border-radius: 15px;
            }

            .hero-quote {
                font-size: 2rem;
                margin-bottom: 1.5rem;
            }

            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .cta-button {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .stat-card {
                padding: 1.2rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .about {
                height: 70vh;
                text-align: center;
                justify-content: center;
                border-radius: 15px;
            }
            
            .about-content-overlay {
                margin-left: 0;
                padding: 0 5%;
                text-align: center;
            }
            
            .about-content-overlay h2 {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }
            
            .about-content-overlay p {
                font-size: 0.95rem;
                margin-bottom: 2rem;
            }
            
            .about-overlay {
                background: rgba(9, 9, 11, 0.7);
            }

            [dir="rtl"] .about-content-overlay {
                margin-right: 0;
            }

            .services-section {
                padding: 4rem 0;
            }

            .services-list-container {
                min-height: 300px;
            }

            .services-list {
                gap: 1.5rem;
                padding-left: 100px;
            }

            [dir="rtl"] .services-list {
                padding-left: 0;
                padding-right: 100px;
            }

            .we-text {
                font-size: 2.5rem;
            }

            .service-title {
                font-size: 1.3rem;
                padding: 0.8rem 1.5rem;
            }

            .service-item {
                padding: 1.5rem;
                gap: 1.5rem;
            }

            .service-content h3 {
                font-size: 1.6rem;
                margin-bottom: 1rem;
            }

            .service-description {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .image-grid {
                height: 250px;
            }

            .main-image {
                height: 150px;
            }

            .secondary-image {
                height: 80px;
            }

            .services-cta {
                padding: 2rem;
                margin-top: 4rem;
            }

            .cta-content h3 {
                font-size: 1.8rem;
            }

            .cta-content p {
                font-size: 1rem;
            }

            .team {
                padding: 4rem 0;
            }

            .team-card {
                grid-template-columns: 1fr;
                grid-template-areas: 
                    "image"
                    "content" !important;
                min-height: auto;
            }
            
            .team-card.left-card,
            .team-card.right-card {
                grid-template-areas: 
                    "image"
                    "content";
            }
            
            .team-image-container {
                padding: 2rem;
                min-height: 300px;
            }
            
            .team-image {
                width: 200px;
                height: 240px;
            }
            
            .team-image-container::before,
            .team-image-container::after {
                width: 200px;
                height: 240px;
            }
            
            .team-info {
                padding: 2rem;
            }
            
            .team-info h3 {
                font-size: 1.6rem;
            }
            
            .team-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .team-stat-number {
                font-size: 2rem;
            }

            .projects {
                padding: 4rem 0;
            }

            .projects-grid {
                gap: 1.5rem;
            }

            .project-card {
                margin: 0 10px;
            }

            .project-image-container {
                height: 200px;
            }

            .project-info {
                padding: 1.5rem;
            }

            .project-info h3 {
                font-size: 1.3rem;
            }

            .section-header {
                margin-bottom: 3rem;
            }

            .section-header h2 {
                font-size: 2.5rem;
            }

            .section-header p {
                font-size: 1rem;
            }
        }

        /* Mobile Portrait */
        @media (max-width: 480px) {
            .container {
                padding: 0 8px;
            }

            .nav-container {
                padding: 0.8rem;
            }

            .logo {
                height: 30px;
            }

            .hero {
                height: 60vh;
                border-radius: 10px;
                top: 15px;
            }

            .hero-bg-video {
                border-radius: 10px;
            }

            .hero-card {
                padding: 1.2rem;
                border-radius: 10px;
            }

            .hero-quote {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

            .hero-subtitle {
                font-size: 0.9rem;
                margin-bottom: 1.2rem;
            }

            .cta-button {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
            }

            .stat-card {
                padding: 1rem;
            }

            .stat-number {
                font-size: 1.8rem;
            }

            .stat-label {
                font-size: 0.8rem;
            }

            .about {
                height: 60vh;
                border-radius: 10px;
            }
            
            .about-content-overlay h2 {
                font-size: 2rem;
            }
            
            .about-content-overlay p {
                font-size: 0.9rem;
            }

            .services-section {
                padding: 3rem 0;
            }

            .services-list {
                padding-left: 80px;
            }

            [dir="rtl"] .services-list {
                padding-left: 0;
                padding-right: 80px;
            }

            .we-text {
                font-size: 2rem;
            }

            .service-title {
                font-size: 1.1rem;
                padding: 0.6rem 1rem;
            }

            .service-item {
                padding: 1.2rem;
                gap: 1.2rem;
            }

            .service-content h3 {
                font-size: 1.4rem;
                margin-bottom: 0.8rem;
            }

            .service-description {
                font-size: 0.9rem;
                margin-bottom: 1.2rem;
            }

            .image-grid {
                height: 200px;
            }

            .main-image {
                height: 120px;
            }

            .secondary-image {
                height: 60px;
            }

            .services-cta {
                padding: 1.5rem;
                margin-top: 3rem;
            }

            .cta-content h3 {
                font-size: 1.5rem;
            }

            .cta-content p {
                font-size: 0.9rem;
            }

            .team {
                padding: 3rem 0;
            }

            .team-image {
                width: 160px;
                height: 200px;
            }
            
            .team-image-container::before,
            .team-image-container::after {
                width: 160px;
                height: 200px;
            }
            
            .team-info {
                padding: 1.5rem;
            }
            
            .team-info h3 {
                font-size: 1.4rem;
            }
            
            .team-role {
                font-size: 1rem;
            }
            
            .team-description {
                font-size: 0.9rem;
            }
            
            .expertise-tag {
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem;
            }

            .projects {
                padding: 3rem 0;
            }

            .project-image-container {
                height: 180px;
            }

            .project-info {
                padding: 1.2rem;
            }

            .project-info h3 {
                font-size: 1.2rem;
            }

            .project-info p {
                font-size: 0.9rem;
            }

            .section-header h2 {
                font-size: 2rem;
            }

            .section-header p {
                font-size: 0.9rem;
            }
        }

        /* Extra Small Mobile */
        @media (max-width: 360px) {
            .hero-quote {
                font-size: 1.6rem;
            }

            .hero-subtitle {
                font-size: 0.85rem;
            }

            .about-content-overlay h2 {
                font-size: 1.8rem;
            }

            .we-text {
                font-size: 1.8rem;
            }

            .service-title {
                font-size: 1rem;
            }

            .service-content h3 {
                font-size: 1.2rem;
            }

            .services-list {
                padding-left: 60px;
            }

            [dir="rtl"] .services-list {
                padding-left: 0;
                padding-right: 60px;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* High contrast mode */
        @media (prefers-contrast: high) {
            :root {
                --border-color: #ffffff;
                --shadow: 0 0 0 2px #ffffff;
            }
        }

        /* Print styles */
        @media print {
            .navbar,
            .time-control,
            .weather-indicator {
                display: none;
            }

            body {
                background: white;
                color: black;
            }

            .hero {
                height: auto;
                padding: 2rem 0;
            }
        }

        /* Performance Optimizations */
        .team-image,
        .team-image-container::before,
        .team-image-container::after,
        .about-video-background {
            backface-visibility: hidden;
            perspective: 1000px;
            transform: translateZ(0);
        }

/* Responsive CSS Fix for Service Item Block */

/* Mobile-first approach for service items */
@media (max-width: 768px) {
    /* Reset service item layout for mobile */
    .service-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem 1rem !important;
        margin-bottom: 3rem !important;
        gap: 2rem !important;
    }
    
    /* Remove left/right alignment on mobile */
    .service-item.left-aligned,
    .service-item.right-aligned {
        flex-direction: column !important;
    }
    
    /* Service content styling for mobile */
    .service-content {
        width: 100% !important;
        max-width: none !important;
        order: 2 !important; /* Content comes after images on mobile */
    }
    
    /* Service text container */
    .service-text {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Service title styling */
    .service-text h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
        color: var(--text-primary) !important;
    }
    
    /* Service description container */
    .service-description-container {
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    /* Service description text */
    .service-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        color: var(--text-secondary) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Service images container */
    .service-images {
        width: 100% !important;
        max-width: 350px !important;
        order: 1 !important; /* Images come first on mobile */
        margin: 0 auto !important;
    }
    
    /* Image grid layout for mobile */
    .image-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    /* Main image styling */
    .main-image {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Secondary image styling */
    .secondary-image {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Ensure proper spacing between service items */
    .services-grid {
        gap: 2rem !important;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-item {
        padding: 2.5rem 2rem !important;
        gap: 2rem !important;
    }
    
    .service-text h3 {
        font-size: 1.8rem !important;
    }
    
    .service-description {
        font-size: 1.1rem !important;
    }
    
    .service-images {
        max-width: 400px !important;
    }
    
    .main-image {
        height: 250px !important;
    }
    
    .secondary-image {
        height: 180px !important;
    }
}

/* Small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    .service-item {
        padding: 1.5rem 1rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .service-text h3 {
        font-size: 1.3rem !important;
    }
    
    .service-description {
        font-size: 0.95rem !important;
    }
    
    .service-images {
        max-width: 300px !important;
    }
    
    .main-image {
        height: 180px !important;
    }
    
    .secondary-image {
        height: 130px !important;
    }
}

/* Additional improvements for better mobile experience */
@media (max-width: 768px) {
    /* Improve touch targets */
    .service-item {
        min-height: 48px !important;
        touch-action: manipulation !important;
    }
    
    /* Better image loading states */
    .main-image,
    .secondary-image {
        transition: opacity 0.3s ease !important;
        background-color: var(--bg-card) !important;
    }
    
    /* Loading state for images */
    .main-image[loading="lazy"],
    .secondary-image[loading="lazy"] {
        opacity: 0.7 !important;
    }
    
    .main-image.loaded,
    .secondary-image.loaded {
        opacity: 1 !important;
    }
    
    /* Improve text readability */
    .service-description {
        text-align: left !important;
        padding: 0 1rem !important;
    }
    
    /* Add subtle animations for better UX */
    .service-item {
        transform: translateY(0) !important;
        transition: transform 0.3s ease !important;
    }
    
    .service-item:hover {
        transform: translateY(-2px) !important;
    }
}

/* Dark mode specific adjustments */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    .main-image,
    .secondary-image {
        border: 1px solid var(--border-color) !important;
    }
}

/* High DPI displays */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .main-image,
    .secondary-image {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* Reduced motion preferences */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .service-item,
    .main-image,
    .secondary-image {
        transition: none !important;
        animation: none !important;
    }
}

