/* Dana Font Import with Preload Support */
@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v0.1.3/dist/Dana-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dana';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/dana-font@v0.1.3/dist/Dana-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables and Base Styles */
:root {
    /* Primary Industrial Color Palette */
    --steel-charcoal: #1a252f;
    --steel-navy: #2c3e50;
    --steel-blue: #34495e;
    --steel-gray: #455a64;
    --steel-light: #607d8b;

    /* Industrial Accent Colors */
    --molten-copper: #e64a19;
    --industrial-orange: #ff6f00;
    --copper-gradient: linear-gradient(135deg, #e64a19 0%, #ff6f00 50%, #ff8f00 100%);
    --steel-gradient: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);

    /* Sophisticated Background System */
    --primary-bg: #fafbfc;
    --secondary-bg: #f4f6f8;
    --tertiary-bg: #eef2f5;
    --card-bg: #ffffff;
    --surface-overlay: rgba(255, 255, 255, 0.95);

    /* Text Color Hierarchy */
    --text-primary: #1a252f;
    --text-secondary: #455a64;
    --text-tertiary: #78909c;
    --text-inverse: #ffffff;

    /* Industrial Neutrals */
    --border-light: #e1e8ed;
    --border-medium: #cfd8dc;
    --border-dark: #90a4ae;

    /* Enhanced Shadow System */
    --shadow-sm: 0 2px 4px rgba(26, 37, 47, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 37, 47, 0.08);
    --shadow-lg: 0 8px 24px rgba(26, 37, 47, 0.12);
    --shadow-xl: 0 16px 40px rgba(26, 37, 47, 0.16);
    --shadow-inner: inset 0 2px 4px rgba(26, 37, 47, 0.04);

    /* Layout & Spacing */
    --header-height: 75px;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-speed: 0.4s;
    --transition-fast: 0.2s;
    --max-width: 1200px;
    --content-padding: 20px;
    --section-padding: 90px;

    /* Status & Feedback Colors */
    --success: #2e7d32;
    --warning: #f57c00;
    --error: #d32f2f;
    --info: #1976d2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}
body {
    font-family: 'Dana', 'Tahoma', 'Arial', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 17px;
    overflow-x: hidden;
    padding-top: var(--header-height);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Dana', 'Tahoma', sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--steel-charcoal);
}

h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--steel-navy);
}

h3 {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--steel-blue);
}

h4 {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--steel-gray);
}

h5 {
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--steel-gray);
}

h6 {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-large {
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.6;
}

.text-small {
    font-size: 14px;
    color: var(--text-tertiary);
}
section {
    padding: var(--section-padding) 0;
}

a {
    text-decoration: none;
    color: var(--industrial-orange);
    transition: all var(--transition-fast) ease;
    position: relative;
}

a:hover {
    color: var(--molten-copper);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--industrial-orange);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Enhanced Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--steel-navy);
    border-right: 4px solid var(--industrial-orange);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Industrial Header */
.main-header {
    background: var(--surface-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    will-change: transform, box-shadow;
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(250, 251, 252, 0.98);
    border-bottom: 1px solid var(--border-medium);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 800;
    color: var(--steel-charcoal);
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 30%;
    height: 2px;
    background: var(--copper-gradient);
    border-radius: 1px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav ul li {
    margin-left: 40px;
}

.main-nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 16px;
    display: block;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast) ease;
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--industrial-orange), var(--molten-copper));
    opacity: 0;
    border-radius: var(--border-radius-sm);
    transition: opacity var(--transition-fast) ease;
    z-index: -1;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--text-inverse);
    transform: translateY(-1px);
}

.main-nav ul li a:hover::before,
.main-nav ul li a.active::before {
    opacity: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast) ease;
}

.hamburger:hover {
    background-color: var(--tertiary-bg);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-secondary);
    margin: 3px 0;
    transition: all 0.4s ease;
    border-radius: 2px;
    display: block;
}

/* Modern Industrial Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 37, 47, 0.85) 0%, rgba(44, 62, 80, 0.75) 50%, rgba(52, 73, 94, 0.8) 100%),
                url('https://via.placeholder.com/1920x1080.png?text=Ata+Steel+Professional') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-inverse);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 37, 47, 0.3) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: heroFadeIn 1.2s ease-out;
}

.hero-content h1 {
    font-size: clamp(42px, 8vw, 64px);
    color: var(--text-inverse);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(18px, 3vw, 24px);
    max-width: 700px;
    margin: 0 auto 48px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Industrial Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--copper-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #d84315 0%, #e64a19 50%, #ff6f00 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--industrial-orange);
    border: 2px solid var(--industrial-orange);
}

.btn-outline:hover {
    background: var(--industrial-orange);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    background: var(--secondary-bg);
    border-color: var(--industrial-orange);
    color: var(--industrial-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    min-width: 180px;
}

.btn-small {
    padding: 12px 24px;
    font-size: 14px;
    min-width: 100px;
}

/* Modern Section Layout System */
.value-prop-bar {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
    position: relative;
}

.value-prop-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-bottom: 1px solid var(--border-light);
}

.products {
    background: var(--primary-bg);
}

.about-us {
    background: linear-gradient(135deg, var(--tertiary-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
}

.about-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.projects-section {
    background: var(--primary-bg);
}

.blog-page,
.contact-page {
    background: var(--primary-bg);
}

/* Advanced Grid System */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    text-align: center;
}

.value-item {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--copper-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--steel-navy);
    margin-bottom: 16px;
    font-weight: 600;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.page-header {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: clamp(42px, 7vw, 56px);
    margin-bottom: 24px;
    color: var(--steel-charcoal);
}

.page-header p {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--copper-gradient);
    border-radius: 2px;
}
/* Premium Product & Project Grid System */
.products-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.product-card, .project-item {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover, .project-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

.product-card img, .project-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.product-card:hover img, .project-item:hover img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 32px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    color: var(--steel-navy);
    margin-bottom: 16px;
    font-size: clamp(18px, 3vw, 22px);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-card .btn-outline {
    background: transparent;
    color: var(--steel-navy);
    border: 2px solid var(--steel-navy);
    margin-top: auto;
}

.product-card .btn-outline:hover {
    background: var(--steel-navy);
    color: var(--text-inverse);
    transform: translateY(-2px);
}
/* Enhanced Project Information Overlay */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 37, 47, 0.95) 0%, rgba(26, 37, 47, 0.7) 70%, transparent 100%);
    color: var(--text-inverse);
    padding: 48px 24px 24px;
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
    backdrop-filter: blur(8px);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    color: var(--text-inverse);
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 12px;
    font-weight: 600;
}

.project-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

/* Modern Asymmetrical About Us Section */
.about-us-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.about-us-text {
    position: relative;
}

.about-us-text::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 4px;
    background: var(--copper-gradient);
    border-radius: 2px;
}

.about-us-text h2 {
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-us-text p {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.7;
}

.about-us-image {
    position: relative;
}

.about-us-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    background: var(--steel-gradient);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-us-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}
/* Modern Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
    margin-bottom: 32px;
    color: var(--steel-navy);
}

.contact-form-full input,
.contact-form-full textarea,
.contact-form-full select {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
    margin-bottom: 24px;
    font-family: 'Dana', sans-serif;
    font-size: 16px;
    background: var(--primary-bg);
    color: var(--text-primary);
    transition: all var(--transition-fast) ease;
}

.contact-form-full input:focus,
.contact-form-full textarea:focus,
.contact-form-full select:focus {
    outline: none;
    border-color: var(--industrial-orange);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
    background: var(--card-bg);
}

.contact-form-full textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-full button {
    width: 100%;
    padding: 18px;
    margin-top: 8px;
}

.contact-info {
    background: var(--secondary-bg);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.contact-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.contact-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-section h4 {
    color: var(--steel-navy);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-info p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-info a {
    color: var(--industrial-orange);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--molten-copper);
}
.map-section {
    padding: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: 40px 0;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
}

/* Premium Industrial Footer */
.main-footer {
    background: var(--steel-gradient);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    border-top: 4px solid var(--industrial-orange);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--industrial-orange), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    padding-bottom: 60px;
}

.footer-about,
.footer-links,
.footer-social {
    position: relative;
}

.footer-content h4 {
    color: var(--text-inverse);
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
}

.footer-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--industrial-orange);
    border-radius: 1px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast) ease;
    padding: 4px 0;
    display: block;
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--text-inverse);
    transform: translateX(-4px);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast) ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-social a:hover {
    color: var(--text-inverse);
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--copper-gradient);
    color: var(--text-inverse);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #bf360c 0%, #d84315 50%, #e64a19 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Animation System */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Micro-interactions */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Hover Effects for Interactive Elements */
.product-card,
.project-item,
.value-item {
    will-change: transform, box-shadow;
}

/* Enhanced Button Animations */
.btn {
    will-change: transform, box-shadow;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Loading State Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Page Transition Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-transition {
    animation: fadeInUp 0.6s ease-out;
}

/* Gradient Animation for Special Elements */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--industrial-orange), var(--molten-copper), var(--steel-navy), var(--steel-blue));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn, .product-card, .project-item, .value-item {
        transition: none;
    }

    .animated-gradient {
        animation: none;
    }
}

/* Performance and Accessibility Enhancements */
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}
.lazy-load.loaded {
    opacity: 1;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--steel-navy);
    color: white;
    padding: 8px;
    z-index: 10000;
    text-decoration: none;
    border-radius: 4px;
}
.skip-link:focus {
    top: 6px;
}

/* Enhanced Mobile and Responsive Design */
@media (max-width: 768px) {
    :root {
        --header-height: 65px;
        --section-padding: 60px;
        --content-padding: 20px;
    }

    body {
        padding-top: 65px;
        font-size: 16px;
    }

    .main-header {
        height: 65px;
    }

    .main-nav {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--surface-overlay);
        backdrop-filter: blur(20px);
        transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding-top: 40px;
        z-index: 999;
        box-shadow: var(--shadow-xl);
        border-left: 1px solid var(--border-light);
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .main-nav ul li {
        margin: 0;
        width: 100%;
        max-width: 280px;
    }

    .main-nav ul li a {
        font-size: 18px;
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        margin: 4px 0;
        color: var(--text-primary);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: clamp(32px, 8vw, 42px);
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-us-text::before {
        top: -16px;
        right: -16px;
        width: 80px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 32px 24px;
    }

    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-item {
        padding: 24px 20px;
    }

    .products-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card-content {
        padding: 24px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    :root {
        --content-padding: 16px;
        --section-padding: 48px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 9vw, 36px);
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .main-nav ul li {
        margin: 0;
        max-width: 240px;
    }

    .main-nav ul li a {
        padding: 14px 20px;
        font-size: 16px;
    }

    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-item {
        padding: 20px 16px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 24px 20px;
    }

    .contact-form-full input,
    .contact-form-full textarea,
    .contact-form-full select {
        padding: 14px 16px;
        font-size: 15px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-width: 120px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }

    .page-header {
        padding: 60px 0 50px;
    }

    .footer-content {
        gap: 28px;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 72px;
    }

    .hero-content p {
        font-size: 26px;
    }

    .value-prop-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid,
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
