:root {
    --primary: #1A3A5F;
    --secondary: #2D5F8B;
    --accent: #E67E22;
    --metal-light: #ECF0F1;
    --metal-dark: #34495E;
    --metal-gold: #D4AF37;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --gray: #F8F9FA;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, #2D5F8B 100%);
    --gradient-metal: linear-gradient(135deg, #95A5A6 0%, var(--metal-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #F39C12 100%);
    --gradient-gold: linear-gradient(135deg, var(--metal-gold) 0%, #F1C40F 100%);
    --shadow-sm: 0 2px 8px rgba(26, 58, 95, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 58, 95, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 58, 95, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Almarai', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Reem Kufi', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.preloader-icon {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.preloader-icon::before,
.preloader-icon::after {
    content: '';
    position: absolute;
    border: 3px solid var(--metal-gold);
    border-radius: 50%;
    animation: pulse 2s infinite alternate;
}

.preloader-icon::before {
    width: 100%;
    height: 100%;
    border-color: transparent;
    border-top-color: var(--metal-gold);
    animation: rotate 1.5s linear infinite;
}

.preloader-icon::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: transparent;
    border-right-color: var(--accent);
    animation: rotate 2s linear infinite reverse;
}

.preloader-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Reem Kufi', sans-serif;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.7; }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-metal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    animation: shine 3s infinite linear;
    z-index: 1;
}

.logo-icon-inner {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--metal-dark);
    font-family: 'Reem Kufi', sans-serif;
    font-weight: 800;
    position: relative;
    z-index: 2;
    border: 2px solid var(--metal-gold);
}

.logo-icon-inner .logo-text-main {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--metal-dark);
    position: relative;
}

.logo-icon-inner .logo-text-main::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
    font-weight: 800;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 12px;
    z-index: 1000;
    background-color: transparent;
    border: 0px ;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.floating-elements {
    position: fixed;
    bottom: 35%;
    left: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-4px);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.phone {
    background: var(--gradient-main);
}

.floating-btn.up {
    background: var(--gradient-metal);
    display: none;
}

.floating-btn.up.show {
    display: flex;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.95) 0%, rgba(45, 95, 139, 0.9) 100%);
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

.hero-bg canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text .tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--metal-gold);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-text h1 span {
    color: var(--metal-gold);
    position: relative;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--metal-gold);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Reem Kufi', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 500px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-8px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 240px;
    z-index: 3;
    bottom: 24px;
    left: -20px;
    border: 1px solid var(--metal-light);
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    background: var(--gradient-gold);
}

.floating-card-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.floating-card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.team {
    padding: 100px 0;
    background: var(--gray);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.team-member {
    flex: 1 1 280px;
    max-width: 350px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--metal-light);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 58, 95, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links-team {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link-team {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link-team:hover {
    background: var(--metal-gold);
    color: var(--white);
    transform: translateY(-4px);
}

.member-info {
    padding: 24px;
}

.member-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.member-position {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.skill-tag {
    background: rgba(26, 58, 95, 0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--metal-light);
    flex-wrap: wrap;
}

.team-stat-item {
    text-align: center;
    min-width: 120px;
}

.team-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--metal-gold);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Reem Kufi', sans-serif;
}

.team-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gray);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--metal-light);
}

.contact-item:hover {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
    background: var(--gradient-metal);
}

.contact-item:nth-child(2) .contact-icon {
    background: var(--gradient-accent);
}

.contact-item:nth-child(3) .contact-icon {
    background: var(--gradient-gold);
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.map-container {
    flex: 1;
    min-width: 300px;
    background: var(--gray);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--metal-light);
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 24px;
    text-align: right;
    border-bottom: 1px solid var(--metal-light);
    background: var(--white);
}

.map-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.map-header h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
}

.map-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.5;
}

.map-iframe {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #95A5A6 0%, var(--metal-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 40px;
    text-align: center;
}

.map-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--metal-gold);
}

.map-placeholder h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--white);
}

.map-placeholder p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.feature-card {
    flex: 1 1 280px;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--metal-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--gradient-metal);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-gold);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-accent);
}

.feature-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-weight: 700;
    transition: var(--transition);
    font-size: 0.95rem;
}

.feature-link:hover {
    gap: 12px;
}

.products {
    padding: 100px 0;
    background: var(--gray);
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.products-nav-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--metal-light);
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.products-nav-btn.active,
.products-nav-btn:hover {
    background: var(--gradient-metal);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
    justify-content: center;
}

.product-card {
    flex: 1 1 320px;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--metal-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--gradient-gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 58, 95, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-content {
    transform: translateY(16px);
    transition: var(--transition);
}

.product-card:hover .product-overlay-content {
    transform: translateY(0);
}

.product-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    font-size: 0.95rem;
}

.product-overlay-btn:hover {
    background: var(--metal-gold);
    color: var(--white);
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-spec i {
    color: var(--accent);
    font-size: 0.9rem;
}

.view-all-products{place-self: center;}


.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray) 0%, #E8EFF5 100%);
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 0;
    width: 80%;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--metal-gold), transparent);
    transform: translateX(-10%);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    width: 18%;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 6px solid var(--gray);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: var(--gradient-metal);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .step-number::before {
    opacity: 0.1;
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2D5F8B 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 24px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col {
    flex: 1 1 240px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--metal-gold);
    transform: translateY(-4px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-right: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--metal-gold);
    transform: translateX(-4px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    right: -4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Products Page Styles */
.products-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary) 0%, #2D5F8B 100%);
    color: var(--white);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,100 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    z-index: 1;
}

.products-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.products-hero-text {
    flex: 1;
    min-width: 300px;
}

.products-hero-text h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.products-hero-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
}

.products-hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
}

.products-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.products-hero-breadcrumb a {
    color: var(--metal-gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.products-hero-breadcrumb a:hover {
    color: var(--white);
}

.products-hero-breadcrumb i.fa-chevron-left {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.products-hero-breadcrumb span {
    color: var(--white);
    font-weight: 600;
}

.products-hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.products-hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
    margin-bottom: 24px;
}

.products-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.products-hero-image:hover img {
    transform: scale(1.05);
}

.products-hero-stats {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.products-stat-item {
    flex: 1;
    text-align: center;
}

.products-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--metal-gold);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Reem Kufi', sans-serif;
}

.products-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.products-categories , .video-gallery-section{
    padding: 80px 0;
    background: var(--white);
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.category-card {
    flex: 1 1 250px;
    max-width: 350px;
    background: var(--white);
    border: 2px solid var(--metal-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.category-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.05), rgba(212, 175, 55, 0.05));
    box-shadow: var(--shadow-md);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-metal);
    z-index: 2;
}

.category-card:nth-child(2)::before {
    background: var(--gradient-gold);
}

.category-card:nth-child(3)::before {
    background: var(--gradient-accent);
}

.category-card:nth-child(4)::before {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.category-card:nth-child(5)::before {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.category-card:nth-child(6)::before {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    background: var(--gradient-metal);
    transition: var(--transition);
}

.category-card:nth-child(2) .category-icon {
    background: var(--gradient-gold);
}

.category-card:nth-child(3) .category-icon {
    background: var(--gradient-accent);
}

.category-card:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.category-card:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.category-card:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.category-count {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26, 58, 95, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-card.active .category-count {
    background: var(--primary);
    color: var(--white);
}

.all-products {
    padding: 80px 0;
    background: var(--gray);
}

.product-card {
    flex: 1 1 350px;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--metal-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 58, 95, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
    min-height: 72px;
}

.products-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--metal-dark) 0%, #2C3E50 100%);
    color: var(--white);
    text-align: center;
}

.products-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.products-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.products-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.products-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Page Specific */
.product-code-container {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.product-code-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
}

.code-label {
    font-weight: 600;
    color: #495057;
}

.code-value {
    color: #228be6;
    font-weight: 500;
}

.copy-code-btn {
    background: none;
    border: none;
    color: #495057;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    margin-right: auto;
}

.copy-code-btn:hover {
    background: #e9ecef;
    color: #228be6;
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-buttons .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
}

.btn-primary {
    background: #228be6;
    color: white;
}

.btn-primary:hover {
    background: #1c7ed6;
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.no-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    border-radius: 8px;
}

.no-image i {
    font-size: 48px;
    margin-bottom: 10px;
}

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #40c057;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .process-steps::before {
        width: 70%;
    }
    
    .hero-visual {
        height: 450px;
    }
    
    .team-member {
        flex: 1 1 250px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 90px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
.nav-links {
    position: fixed;
    top: 0; /* ارتفاع الهيدر */
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
}

.nav-links.active {
    right: 0;
}

    
    .contact-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .floating-card {
        position: relative;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-member {
        flex: 1 1 300px;
    }
    
    .products-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .products-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .products-hero-text h1::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .products-hero-breadcrumb {
        justify-content: center;
    }
    
    .products-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .products-stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .categories-grid {
        gap: 16px;
    }
    
    .category-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
        .mobile-toggle {
        display: flex;
    }
}

/* منع التمرير عند فتح القائمة */
body.nav-open {
    overflow: hidden;
}

}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .product-card {
        flex: 1 1 100%;
    }
    
    .feature-card {
        flex: 1 1 100%;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .floating-elements {
        left: 16px;
        bottom: 16px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .team-member {
        flex: 1 1 100%;
        gap: 24px;
    }
    
    .member-image {
        height: 280px;
    }
    
    .team-stats {
        gap: 24px;
    }
    
    .team-stat-item {
        min-width: 100px;
    }
    
    .team-stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 52px;
        height: 52px;
    }
    
    .logo-icon-inner {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon-inner .logo-text-main {
        font-size: 1.4rem;
    }
    
    .process-step {
        width: 100%;
    }
    
    .products-hero-text h1 {
        font-size: 2rem;
    }
    
    .products-hero-text p {
        font-size: 1rem;
    }
    
    .products-hero-stats {
        padding: 20px;
    }
    
    .products-stat-number {
        font-size: 1.8rem;
    }
    
    .product-card {
        flex: 1 1 100%;
    }
    
    .product-content p {
        min-height: auto;
    }
    
    .products-cta h2 {
        font-size: 2rem;
    }
    
    .products-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .products-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .downkatalog{padding: 20px;}

    .preloader-text {
        font-size: 1.8rem;
    }
    
    .team-stat-item {
        min-width: 80px;
    }
    
    .team-stat-number {
        font-size: 1.8rem;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .products-nav-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .map-header {
        padding: 20px;
    }
    
    .map-header h3 {
        font-size: 1.5rem;
    }
    
    .products-hero {
        min-height: 60vh;
        padding: 100px 0 40px;
    }
    
    .products-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .products-cta h2 {
        font-size: 1.8rem;
    }
    
    .products-cta p {
        font-size: 1rem;
    }
}