/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Industrial Color Palette */
    --steel-dark: #2a2d35;
    --steel-medium: #3d414a;
    --steel-light: #4a4f5a;
    --graphite: #1a1c20;
    --graphite-light: #23262b;
    --deep-blue: #1e2433;
    --deep-blue-light: #252b3d;
    --molten-orange: #d4541e;
    --copper-accent: #b87333;
    --copper-light: #cd7f32;
    --copper-dark: #8b5a2b;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 2rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Industrial patterns and textures */
.industrial-pattern {
    background-image: 
        linear-gradient(45deg, rgba(184, 115, 51, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(184, 115, 51, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(184, 115, 51, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(184, 115, 51, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.metallic-surface {
    background: 
        linear-gradient(135deg, var(--steel-grey) 0%, var(--graphite) 50%, var(--steel-dark) 100%);
    position: relative;
    overflow: hidden;
}

.metallic-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 115, 51, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--graphite) 0%, var(--steel-dark) 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/steel-texture.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.85);
}

a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--copper-accent);
}

/* Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Industrial Background Effects */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section::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"><defs><pattern id="industrial" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(184,115,51,0.1)"/><rect x="0" y="0" width="2" height="100" fill="rgba(255,255,255,0.02)"/><rect x="0" y="0" width="100" height="2" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23industrial)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--copper-accent), var(--molten-orange), var(--copper-accent), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 28, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1.2rem var(--container-padding); /* Increased this from 0.5rem to 1.2rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: row; /* Changed from column to row for horizontal alignment */
    align-items: center;
    gap: 15px; /* Creates clean spacing between the logo and text */
}

.brand-text {
    display: flex;
    flex-direction: column;
}

/* Base Logo Styles */
.nav-logo {
    width: 85px; 
    height: auto;
    border-radius: 6px; 
    background-color: var(--white); 
    display: block;
    /* We added box-shadow and transform to the transition so the animation is smooth */
    transition: width var(--transition-medium) ease-in-out,
                box-shadow var(--transition-medium) ease,
                transform var(--transition-medium) ease; 
}

/* Add the Copper Glow on Hover */
.nav-logo:hover {
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.6); /* Copper glow */
    transform: translateY(-2px); /* Lifts the logo up very slightly */
}

/* Remove the harsh selection box when clicked */
.logo-link:focus {
    outline: none;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 0;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--white) 0%, var(--copper-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--copper-accent);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md); /* Reduced the gap slightly to fit the logo */
    align-items: center;
}

.nav-menu li {
    white-space: nowrap; /* Forces text to stay on a single line */
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--copper-accent);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.hero-bg-1 {
    background-image: url('../images/eaf-modern-professional.jpg');
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero-bg-2 {
    background-image: url('../images/industrial-rolling-mill.jpg');
    animation: kenBurns 25s ease-in-out infinite alternate-reverse;
    opacity: 0.5;
}

.hero-bg-3 {
    background-image: url('../images/molten-steel-2.jpg');
    animation: kenBurns 30s ease-in-out infinite alternate;
    opacity: 0.4;
}

.hero-bg-4 {
    background-image: url('../images/steel-production-professional.jpg');
    animation: kenBurns 35s ease-in-out infinite alternate;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 28, 32, 0.9) 0%, rgba(42, 45, 53, 0.7) 50%, rgba(30, 36, 51, 0.8) 100%);
    z-index: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1) translate(-2%, -2%);
        opacity: 0.9;
    }
}

/* Molten steel particle effects */
.molten-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.molten-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, var(--copper-accent) 0%, rgba(212, 84, 30, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    animation: floatUp 8s linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white) 0%, var(--copper-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, var(--copper-accent) 0%, var(--molten-orange) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 8px rgba(184, 115, 51, 0.3);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--copper-accent);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    margin-bottom: var(--spacing-xl);
}

.hero-description p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    background-image: url('../images/hero-industrial.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
    border: 2px solid rgba(184, 115, 51, 0.3);
}

/* Industrial particles effect */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--molten-orange) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    opacity: 0.7;
    z-index: 2;
}

.industrial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 45, 53, 0.8) 0%, rgba(30, 36, 51, 0.9) 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 4px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--copper-accent) 0%, #9a6229 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9a6229 0%, var(--copper-accent) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 115, 51, 0.3);
}

.btn-primary:hover {
    background: #9a6229;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--graphite);
    transform: translateY(-2px);
}

/* About Section */
.about {
    background: var(--steel-dark);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 28, 32, 0.9) 0%, rgba(42, 45, 53, 0.8) 50%, rgba(30, 36, 51, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="steel-grid" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="rgba(184,115,51,0.05)"/><rect x="0" y="0" width="1" height="20" fill="rgba(184,115,51,0.1)"/><rect x="0" y="0" width="20" height="1" fill="rgba(184,115,51,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23steel-grid)"/></svg>');
    opacity: 0.6;
    z-index: 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/eaf-furnace.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: blur(2px);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text {
    margin-bottom: var(--spacing-xl);
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.value-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--copper-accent);
    text-shadow: 0 0 10px rgba(184, 115, 51, 0.5);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-item:hover::before {
    left: 100%;
}

.value-item h3 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-sm);
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Leadership Section */
.leadership {
    background: var(--graphite);
    position: relative;
    overflow: hidden;
}

.leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(42, 45, 53, 0.95) 0%, rgba(58, 62, 73, 0.85) 50%, rgba(42, 45, 53, 0.9) 100%),
                url('../images/steel-mill-professional.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    filter: blur(3px);
}

.leader-profile {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.leader-name {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.leader-title {
    font-size: 1.25rem;
    color: var(--copper-accent);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
}

.leader-bio {
    margin-bottom: var(--spacing-xl);
}

.leader-bio p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.leader-expertise h4 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-md);
}

.leader-expertise ul {
    list-style: none;
    padding: 0;
}

.leader-expertise li {
    padding: var(--spacing-xs) 0;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: var(--spacing-md);
}

.leader-expertise li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--copper-accent);
}

.supply {
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.supply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 36, 51, 0.95) 0%, rgba(30, 36, 51, 0.85) 50%, rgba(42, 45, 53, 0.9) 100%),
                url('../images/industrial-rolling-mill.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: blur(2px);
}

.supply::after {
    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 50 50"><defs><pattern id="industrial-dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(212,84,30,0.2)"/><rect x="0" y="0" width="1" height="10" fill="rgba(184,115,51,0.1)"/><rect x="0" y="0" width="10" height="1" fill="rgba(184,115,51,0.1)"/></pattern></defs><rect width="50" height="50" fill="url(%23industrial-dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.supply-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.supply-description {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.supply-description p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.supply-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--copper-accent), var(--molten-orange), var(--copper-accent));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-item:hover::before {
    transform: translateX(0);
}

.service-item h3 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-sm);
}

.service-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Consultancy Section */
.consultancy {
    background: var(--steel-dark);
    position: relative;
    overflow: hidden;
}

.consultancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 36, 51, 0.95) 0%, rgba(42, 45, 53, 0.85) 50%, rgba(30, 36, 51, 0.9) 100%),
                url('../images/molten-steel-2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: blur(2px);
}

.consultancy-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.consultancy-description {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.consultancy-description p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.consultancy-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.area-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.area-item h3 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-sm);
}

.area-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Products Section */
.products {
    background: var(--graphite-light);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 45, 53, 0.9) 0%, rgba(58, 62, 73, 0.8) 50%, rgba(42, 45, 53, 0.9) 100%),
                url('../images/steel-production.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    filter: blur(1px);
}

.products-content {
    max-width: 1000px;
    margin: 0 auto;
}

.products-description {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.products-description p {
    font-size: 1.125rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.product-category {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative; 
    overflow: hidden;
    transition: all var(--transition-medium); /* Makes the hover smooth */
}

/* Creates the hidden copper line at the top */
.product-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--copper-accent), var(--molten-orange), var(--copper-accent));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

/* Slides the copper line in when you hover over the box */
.product-category:hover::before {
    transform: translateX(0);
}

.product-category h3 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-sm);
}

.product-category p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: var(--deep-blue);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    padding-right: var(--spacing-lg);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
}

.contact-item h3,
.contact-item h4 {
    color: var(--copper-accent);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-xs);
}

.contact-item a {
    color: var(--white);
    text-decoration: underline;
}

.contact-item a:hover {
    color: var(--copper-accent);
}

/* Form */
.form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--copper-accent), var(--molten-orange), var(--copper-accent));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.form:hover::before {
    transform: translateX(0);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form button {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
    background: var(--graphite);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.footer-brand-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Allow hero to grow naturally on mobile */
    .hero {
        min-height: auto;
        height: auto;
        padding-top: 0;
        padding-bottom: 3rem;
    }

    /* Push hero content below fixed header */
    .hero-content {
        display: block;
        padding-top: calc(80px + 1.5rem);
    }

    /* Ensure text flows normally */
    .hero-text {
        margin-top: 1rem;
    }

    /* Mobile spacing adjustments */
    :root {
        --container-padding: 1rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }

    /* Mobile navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--graphite);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
   
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-values,
    .supply-services,
    .consultancy-areas,
    .products-grid {
        grid-template-columns: 1fr;
    }
    /* --- MOBILE OVERFLOW FIXES --- */
    
    /* Allow the stats row to wrap nicely so it stops stretching the screen */
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        flex: 1 1 40%;
        min-width: 100px; 
    }

    /* Force long words to break instead of pushing off the screen */
    .hero-title, 
    .hero-subtitle, 
    .hero-description p {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Push hero content below fixed header */
    .hero-content {
        display: block;
        padding-top: 150px; /* Increased to push the badge below the thicker header */
    }

    /* Fix Hero Visual spacing and shape on mobile */
    .hero-visual {
        margin-top: 3rem; 
        height: 400px; /* Increased from 320px to make the image taller */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}


html {
    scroll-behavior: smooth;
}


button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--copper-accent);
    outline-offset: 2px;
}


@media print {
    .header,
    .nav-toggle,
    .hero-actions,
    .contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}