/* CSS Variables & Theme Setup */
:root {
    --primary: #0f172a;       /* Dark Navy Industrial */
    --secondary: #1e293b;     /* Steel Slate */
    --accent: #d97706;        /* Industrial Gold / Amber */
    --accent-hover: #b45309;  /* Darker Gold */
    --light: #f8fafc;         /* Off White */
    --gray: #64748b;          /* Metallic Gray */
    --border: #334155;        /* Border Color */
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--light);
    letter-spacing: 0.5px;
}

.company-sub {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--light);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--light);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: right;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.2);
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

.arrow-icon {
    transition: transform 0.3s;
}
.btn-primary:hover .arrow-icon {
    transform: translateX(-4px);
}
html[dir="ltr"] .btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

/* About Section */
.about {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

.industrial-card {
    background: var(--primary);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    color: var(--light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.industrial-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.industrial-card p {
    color: #94a3b8;
    font-size: 15px;
}

/* Services Section */
.services {
    background-color: #f1f5f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Features / Why Us */
.features {
    background: var(--primary);
    color: var(--light);
}

.features .section-header h2 {
    color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent);
}

.feature-number {
    font-size: 42px;
    font-weight: 900;
    color: rgba(217, 119, 6, 0.3);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light);
}

.feature-item p {
    color: #94a3b8;
    font-size: 15px;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-details i {
    font-size: 20px;
    color: var(--accent);
    margin-top: 4px;
}

.contact-details strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
}

.contact-details span {
    color: var(--gray);
    font-size: 15px;
}

.contact-form-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    background: #ffffff;
    color: var(--primary);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

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

.form-success-msg {
    margin-top: 15px;
    padding: 12px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #090d16;
    color: var(--light);
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light);
}

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

.footer-col ul li, .footer-col ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}