/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --metal-color: #7f8c8d;
    --light-bg: #f8f9fa;
    --dark-bg: #1a252f;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    direction: rtl;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation - Industrial Design */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

/* Add backdrop-filter only for browsers that support it */
@supports (backdrop-filter: blur(10px)) {
    .header {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.85);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.company-brand {
    display: flex;
    align-items: center;
}

.company-name {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), #4a6572);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.company-desc {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.primary-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.divider {
    color: var(--accent-color);
    font-weight: bold;
}

.secondary-text {
    color: var(--metal-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.accent-link {
    color: var(--accent-color);
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.accent-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-contact {
    display: flex;
    align-items: center;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 30px;
    transition: var(--transition);
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.toggle-line {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section - Modern Industrial */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 100px 40px 60px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}

.metal-texture {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 60%;
    background: linear-gradient(135deg, rgba(127, 140, 141, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 40%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-container {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ff7675);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-line {
    white-space: nowrap;
    display: inline-block;
}
.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    box-shadow: var(--shadow-md);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(231, 76, 60, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Add backdrop-filter support check */
@supports (backdrop-filter: blur(10px)) {
    .shape {
        backdrop-filter: blur(10px);
    }
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: 0;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 150px;
    left: 150px;
    animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    box-shadow: var(--shadow-sm);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-10px); 
    }
    60% { 
        transform: translateY(-5px); 
    }
}

/* Activities Section - Cards Layout */
.activities-section {
    padding: 100px 0;
    background: white;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-prefix, .title-suffix {
    color: var(--accent-color);
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-design {
    border-top: 4px solid #3498db;
}

.card-equipment {
    border-top: 4px solid #e74c3c;
}

.card-materials {
    border-top: 4px solid #2ecc71;
}

.card-machines {
    border-top: 4px solid #f39c12;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-equipment .icon-circle {
    background: linear-gradient(135deg, #ff7675, #d63031);
}

.card-materials .icon-circle {
    background: linear-gradient(135deg, #55efc4, #00b894);
}

.card-machines .icon-circle {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.card-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
    position: absolute;
    top: 20px;
    left: 20px;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.detail-item i {
    color: #2ecc71;
}

/* Process Flow Section */
.process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.process-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.flow-step {
    position: relative;
    margin-bottom: 20px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.flow-item:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.flow-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.flow-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.flow-connector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
}

.flow-connector i {
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.info-header {
    margin-bottom: 40px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Add backdrop-filter support check */
@supports (backdrop-filter: blur(10px)) {
    .detail-card {
        backdrop-filter: blur(10px);
    }
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.detail-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.detail-content a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.detail-content a:hover {
    color: #ffeaa7;
}

.detail-content p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form-container {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-desc {
    color: #bdc3c7;
    line-height: 1.8;
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    padding-right: 10px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #74b9ff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-email:hover {
    color: white;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .nav-right {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .flow-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .activity-card {
        padding: 20px;
    }
}

/* Add scroll-padding-top for anchor links */
html {
    scroll-padding-top: 80px;
}