/* ===== Variables & Reset ===== */
:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    
    --accent: #6366f1;
    
    /* Surface Colors */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    
    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-invert: #ffffff;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utils */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-en {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.logo-ar {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
    font-weight: 600;
    color: var(--text-main);
}

.lang-btn:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition-normal);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--text-main);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-visual {
    position: relative;
    height: 500px;
    /* background: red; */
}

.visual-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 280px;
    top: 10%;
    right: 0;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

[dir="rtl"] .visual-card {
    right: auto;
    left: 10%;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.visual-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.visual-icon.secondary {
    background: #fef3c7;
    color: var(--secondary);
}

.visual-info {
    display: flex;
    flex-direction: column;
}

.visual-title {
    font-weight: 700;
    color: var(--text-main);
}

.visual-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image-composition {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    /* Placeholder for grid images */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    transform: rotate(-12deg) scale(0.8);
    opacity: 0.6;
}

.hero-image-composition img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
}

.hero-image-composition img:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* ===== Sections Common ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.image-wrapper .main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

[dir="rtl"] .experience-badge {
    right: auto;
    left: -30px;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.content-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.content-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Products Section ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    height: 220px;
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image.featured {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.card-image.steel {
    background: linear-gradient(135deg, #475569, #1e293b);
}

.card-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
    transition: var(--transition-normal);
}

.product-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

[dir="rtl"] .feature-tag {
    right: auto;
    left: 1rem;
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-features li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

[dir="rtl"] .card-features li {
    padding-right: 1.5rem;
    padding-left: 0;
}

[dir="ltr"] .card-features li {
    padding-left: 1.5rem;
    padding-right: 0;
}

.card-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 2px;
    color: var(--primary);
    font-size: 0.8rem;
}

[dir="rtl"] .card-features li::before {
    right: 0;
}

[dir="ltr"] .card-features li::before {
    left: 0;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition-normal);
}

.card-btn:hover {
    background: var(--primary);
    color: white;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.service-box:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--border-color);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.service-box:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: white;
}

.service-icon-box.secondary {
    background: #fef3c7;
    color: var(--secondary);
}

.service-box:hover .service-icon-box.secondary {
    background: var(--secondary);
}

.service-icon-box.accent {
    background: #e0e7ff;
    color: var(--accent);
}

.service-box:hover .service-icon-box.accent {
    background: var(--accent);
}

.service-box h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Gallery Section ===== */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-filter:hover, .gallery-filter.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, var(--text-main), #000000);
    color: white;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.info-header {
    margin-bottom: 3rem;
}

.info-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.info-header p {
    color: rgba(255,255,255,0.7);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.info-item:hover .icon-circle {
    background: var(--secondary);
    color: white;
}

.info-item .text {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.info-item span {
    font-weight: 600;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-normal);
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* X / Twitter */
.social-media a:nth-child(1) {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.2);
    padding: 0;
    overflow: hidden;
}

.social-media a:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.social-media a:nth-child(1):hover {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* LinkedIn */
.social-media a:nth-child(2) {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
}

.social-media a:nth-child(2):hover {
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.5);
    transform: translateY(-3px);
}

/* Instagram */
.social-media a:nth-child(3) {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #ffffff;
    border-color: transparent;
}

.social-media a:nth-child(3):hover {
    box-shadow: 0 0 15px rgba(214, 36, 159, 0.5);
    transform: translateY(-3px);
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--text-main);
    box-shadow: var(--shadow-xl);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition-fast);
    background: #f8fafc;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group label {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    font-size: 0.95rem;
    background: transparent;
    padding: 0 0.25rem;
}

[dir="ltr"] .input-group label {
    right: auto;
    left: 1rem;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    background: white;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.brand-desc {
    color: rgba(255,255,255,0.5);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Utilities ===== */
.rtl-flip {
    transform: scaleX(1);
}

[dir="ltr"] .rtl-flip {
    transform: scaleX(-1);
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Animation classes for JS Observer */
.fade-in-up, .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left, .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        left: auto;
    }

    [dir="rtl"] .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none; /* Hide complex visual on small mobile for performance/space */
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox img {
    max-height: 80vh;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: 0.3s;
    animation: pulse 2s infinite;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[dir="rtl"] .tooltip {
    right: auto;
    left: 70px;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
