/* ==========================================
   Global Styles & Variables
   ========================================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #f8fafc;
    --light-dark: #e2e8f0;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #0ea5e9 50%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-3: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 10px 40px -15px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* English content uses Inter font */
.lang-en-content {
    font-family: 'Inter', sans-serif;
}

/* ==========================================
   Language Toggle Button
   ========================================== */
.lang-toggle {
    position: fixed;
    top: 55%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 1100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    padding: 0;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', 'Tajawal', sans-serif;
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow: hidden;
}

.lang-toggle span {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.lang-toggle span::before {
    content: '';
    width: 32px;
    height: 22px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.lang-toggle .lang-ar::before {
    /* Saudi Arabia Flag */
    background-image: url("https://flagcdn.com/w80/sa.png");
    background-color: #006C35;
}

.lang-toggle .lang-en::before {
    /* UK Flag - Union Jack */
    background-image: url("https://flagcdn.com/w80/gb.png");
}

.lang-toggle span:hover {
    background: rgba(99, 102, 241, 0.2);
}

.lang-toggle:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 15px 50px -10px rgba(99, 102, 241, 0.4);
}

/* ==========================================
   Language Content Containers
   ========================================== */
.lang-content {
    display: none;
}

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

/* RTL/LTR Handling */
.lang-ar-content {
    direction: rtl;
    text-align: right;
}

.lang-en-content {
    direction: ltr;
    text-align: left;
}

/* Adjust nav-links for LTR */
.lang-en-content .nav-links a::after {
    right: auto;
    left: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================
   Animated Background
   ========================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -20%;
    left: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(-50px, -30px) scale(1.05); }
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3px;
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(99, 102, 241, 0.4),
            0 0 40px rgba(139, 92, 246, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.6),
            0 0 60px rgba(139, 92, 246, 0.3),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.1) contrast(1.05);
    transition: var(--transition);
}

.logo:hover .logo-img {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

.logo:hover .logo-icon {
    box-shadow: 
        0 0 35px rgba(99, 102, 241, 0.7),
        0 0 70px rgba(139, 92, 246, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.logo-letter {
    font-size: 24px;
    font-weight: 900;
    color: white;
    z-index: 1;
}

.logo-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.3) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.3) 50%, transparent 51%);
    background-size: 8px 8px;
    opacity: 0.5;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ==========================================
   Social Proof / Testimonials
   ========================================== */
.social-proof {
    padding: 80px 0 40px;
    position: relative;
}

.social-proof::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.22), transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}

.social-proof .container {
    position: relative;
    z-index: 1;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius);
    padding: 24px 24px 22px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 18px;
    color: rgba(148, 163, 184, 0.4);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.9;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 15px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-logo {
    margin-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.9);
}

.testimonial-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(250, 250, 255, 0.9);
    margin-bottom: 12px;
}

.testimonial-rating i {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

@media (max-width: 992px) {
    .social-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .social-proof {
        padding: 60px 0 20px;
    }

    .social-proof-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 12px 16px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.hero-highlights i {
    color: var(--primary-light);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px;
    position: relative;
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Removed old tech-sphere styles */

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.mouse {
    width: 28px;
    height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ==========================================
   Scroll Progress Bar
   ========================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-1);
    width: 0%;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.7);
    transition: width 0.1s ease-out;
}

/* ==========================================
   Tech Marquee
   ========================================== */
.tech-marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 20px;
}

.tech-marquee .marquee-content {
    display: inline-flex;
    gap: 32px;
    white-space: nowrap;
    animation: techMarquee 25s linear infinite;
    will-change: transform;
}

.tech-marquee .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e5e7eb;
}

.tech-marquee .marquee-item i {
    font-size: 18px;
    color: var(--primary-light);
}

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

/* ==========================================
   Floating WhatsApp Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Default for LTR */
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-ar-content ~ .whatsapp-float {
    right: auto;
    left: 30px; /* Move to left for RTL if needed, but usually stays right */
}

/* Keep it on the right for both languages as per standard UX, or flip it based on preference. 
   Let's keep it right for consistency, but ensure it doesn't overlap with other elements. */

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-green 2s infinite;
    opacity: 0;
}

@keyframes pulse-green {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   English Hero Copy
   ========================================== */
.hero-description-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    max-width: 520px;
    box-shadow: 0 25px 50px -20px rgba(15, 23, 42, 0.8);
}

.hero-description-en {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.7;
}

.hero-one-liner {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==========================================
   English Profile Section
   ========================================== */
.profile-section {
    position: relative;
    padding: 120px 0;
}

.profile-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-3);
    opacity: 0.4;
    pointer-events: none;
}

.profile-section .container {
    position: relative;
    z-index: 1;
}

.profile-section .section-header {
    text-align: left;
    margin-bottom: 48px;
}

.profile-section .section-subtitle {
    margin: 0;
    text-align: left;
}

.profile-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.profile-intro p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 18px;
}

.profile-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.profile-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.8);
    height: 100%;
}

.profile-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--text);
}

.profile-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card ul li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.profile-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-1);
}

.profile-card-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.profile-highlight {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -20px rgba(99, 102, 241, 0.5);
}

.profile-highlight i {
    font-size: 26px;
    color: var(--primary-light);
}

.profile-highlight h4 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text);
}

.profile-highlight p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.profile-highlight div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-contact {
    margin-top: 32px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 18px 50px -22px rgba(15, 23, 42, 0.8);
}

.profile-contact p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text);
}

.profile-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text);
    transition: var(--transition);
    font-size: 15px;
}

.contact-link i {
    font-size: 16px;
    color: var(--primary-light);
}

.contact-link:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.2);
}

.profile-contact-note {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    position: relative;
    padding: 120px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-3);
    opacity: 0.4;
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-cards {
    display: grid;
    gap: 24px;
}

.about-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.8);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card-icon i {
    font-size: 24px;
    color: white;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--text);
}

.about-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-card ul li {
    position: relative;
    padding-right: 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.lang-en-content .about-card ul li {
    padding-right: 0;
    padding-left: 22px;
}

.about-card ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-1);
}

.lang-en-content .about-card ul li::before {
    right: auto;
    left: 0;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.15) 0, transparent 45%),
                radial-gradient(circle at bottom, rgba(8, 47, 73, 0.7) 0, #020617 55%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 40%);
    opacity: 0.9;
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px -25px rgba(15, 23, 42, 0.9);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 22px 60px -30px rgba(56, 189, 248, 0.9);
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, #6366f1, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    box-shadow: 0 10px 25px -10px rgba(59, 130, 246, 0.8);
}

.contact-icon i {
    font-size: 20px;
}

.contact-details h3 {
    font-size: 16px;
    margin: 0 0 4px;
    color: #e5e7eb;
}

.contact-details a,
.contact-details span {
    font-size: 14px;
    color: #93c5fd;
}

.contact-details a {
    text-decoration: none;
    position: relative;
}

.contact-details a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    transition: var(--transition);
}

.contact-details a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.contact-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.contact-form {
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 24px 70px -30px rgba(15, 23, 42, 0.95);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 46px 14px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.lang-en-content .contact-form input,
.lang-en-content .contact-form textarea {
    padding: 14px 14px 14px 46px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .form-group i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
    pointer-events: none;
}

.lang-en-content .contact-form .form-group i {
    right: auto;
    left: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
}

.contact-form button.btn-primary {
    margin-top: 6px;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    background: var(--gradient-2);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

.service-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    /* transform handled by tilt.js */
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(14, 165, 233, 0.2));
    border-color: rgba(99, 102, 241, 0.5);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transform: translateZ(20px);
}

.service-icon {
    width: 72px;
    height: 72px;
    position: relative;
    margin-bottom: 24px;
    transform: translateZ(30px);
}

.service-icon i {
    font-size: 36px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    transform: rotate(-10deg);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.service-features i {
    color: var(--accent);
    font-size: 12px;
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.skills-category {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
}

.skills-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text);
}

.skills-category h3 i {
    color: var(--primary-light);
}

.skill-description {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 10px 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

.skill-icon {
    font-size: 20px;
    color: var(--primary-light);
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    background: var(--gradient-2);
}

.projects-folders {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-folder {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.9);
    padding: 24px 24px 8px;
    position: relative;
    overflow: hidden;
}

.project-folder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.project-folder-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.project-folder-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: radial-gradient(circle at 10% 0, #4f46e5, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.9);
}

.project-folder-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}

.project-folder-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.project-folder-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
}

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

.project-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

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

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 64px;
    color: var(--primary-light);
    opacity: 0.5;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transform: scale(0.5);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 24px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.project-tags span {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
}

.project-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9) 0, #020617 55%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 40px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: flex-start;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 360px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: #e5e7eb;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Video Projects */
.project-card.video-project {
    grid-column: span 1;
    overflow: hidden;
}

.project-video {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 500px;
    background: #000;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

/* ==========================================
   Projects Slider (Restored)
   ========================================== */
.projects-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    direction: ltr;
}

.projects-slider-container::before,
.projects-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.projects-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}

.projects-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

.projects-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollProjects 40s linear infinite;
    will-change: transform;
}

.projects-track.reverse {
    animation-name: scrollProjectsReverse;
}

.projects-track:hover {
    animation-play-state: paused;
}

@keyframes scrollProjects {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes scrollProjectsReverse {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.project-slide {
    position: relative;
    width: 400px;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    cursor: pointer;
    background: #1e293b;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.project-slide:hover {
    transform: scale(1.05);
}

.project-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.project-slide:hover .project-info-overlay {
    transform: translateY(0);
}

.project-info-overlay h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.project-info-overlay span {
    font-size: 14px;
    color: #cbd5e1;
}

/* Lightbox Styles - Professional */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
}

.lightbox-content {
    margin: 0;
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 
        0 25px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 12px 28px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    white-space: nowrap;
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.5);
}

.lightbox.active #lightbox-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10001;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.8);
    transform: rotate(90deg) scale(1.1);
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 24px;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.6);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

/* Image Counter */
.lightbox-counter {
    position: absolute;
    top: 25px;
    left: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-wrapper {
        padding: 80px 20px 120px;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    
    .lightbox-counter {
        top: 15px;
        left: 15px;
        font-size: 12px;
        padding: 8px 14px;
    }
    
    #lightbox-caption {
        font-size: 14px;
        padding: 10px 20px;
        bottom: 20px;
        max-width: 90%;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-description-box {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-highlights {
        align-items: center;
    }

    .hero-highlights li {
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .profile-section .section-header {
        text-align: center;
    }

    .profile-section .section-subtitle {
        text-align: center;
        margin: 0 auto;
    }

    .profile-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .profile-highlight {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-highlight div {
        align-items: center;
        text-align: center;
    }

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

    .profile-contact-links {
        align-items: center;
    }

    /* About Section Responsive */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .about-cards {
        grid-template-columns: 1fr;
    }

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

    .about-card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .about-card ul li {
        text-align: right;
    }

    .lang-en-content .about-card ul li {
        text-align: left;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    /* LTR mobile nav */
    .lang-en-content .nav-links {
        right: auto;
        left: -100%;
    }

    .lang-en-content .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Language toggle positioning on mobile */
    .lang-toggle {
        top: 20px;
        right: 10px;
        transform: none;
        padding: 0;
        font-size: 12px;
    }

    .lang-toggle span {
        padding: 10px 14px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-description-box {
        padding: 16px 20px;
    }

    .profile-card {
        padding: 24px;
    }

    .profile-highlight {
        gap: 16px;
        padding: 20px 24px;
    }

    .profile-contact {
        padding: 24px;
    }

    .about-card {
        padding: 24px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }

    .profile-highlight {
        padding: 20px;
    }

    .profile-contact {
        padding: 20px;
    }
}
