/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Tab Navigation System */
.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    width: 100%;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: white;
}

.brand-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-style: italic;
}

/* Toggle Switch Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.segment-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selector-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    white-space: nowrap;
}

/* Toggle Switch Styling */
.toggle-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    user-select: none;
    min-width: 320px;
    height: 44px;
}

.toggle-option {
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border-radius: 20px;
    white-space: nowrap;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #6c757d, #495057);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1;
}

/* Toggle switch states */
.toggle-switch input:checked ~ .toggle-label .toggle-slider {
    transform: translateX(100%);
}

.toggle-switch input:not(:checked) ~ .toggle-label .fabrication-option {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.toggle-switch input:checked ~ .toggle-label .automotive-option {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    width: 100%;
}

.fabrication-hero {
    background: linear-gradient(135deg, rgba(30,60,114,0.9), rgba(42,82,152,0.9)), 
                linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.automotive-hero {
    background: linear-gradient(135deg, rgba(108,117,125,0.9), rgba(73,80,87,0.9)), 
                linear-gradient(45deg, #6c757d 0%, #495057 100%);
}

.careers-hero {
    background: linear-gradient(135deg, rgba(248,250,252,0.95), rgba(241,245,249,0.95)), 
                linear-gradient(45deg, #f8fafc 0%, #f1f5f9 100%);
    color: #2c3e50;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.careers-hero .hero-overlay {
    background: linear-gradient(45deg, transparent 0%, rgba(248,250,252,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.careers-hero .hero-badge {
    background: rgba(44,62,80,0.1);
    color: #2c3e50;
    border: 1px solid rgba(44,62,80,0.2);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.careers-hero .hero-title {
    color: #2c3e50;
    text-shadow: none;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.careers-hero .hero-description {
    color: #4a5568;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff; /* Changed from golden to white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.careers-hero .stat-number {
    color: #2c3e50;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9); /* Changed from golden to off-white */
    margin-top: 0.5rem;
}

.careers-hero .stat-label {
    color: #6b7280;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108,117,125,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.careers-hero .btn-secondary {
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.careers-hero .btn-secondary:hover {
    background: #2c3e50;
    color: white;
}

/* Section Styles */
section {
    padding: 80px 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    background: #f8fafc;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-icon {
    margin-bottom: 1.5rem;
    display: block;
    color: #667eea;
}

.product-icon svg {
    width: 48px;
    height: 48px;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Markets Section */
.markets-section, .export-markets-section {
    background: white;
    width: 100%;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.market-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.market-card.automotive-market {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.market-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.market-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.market-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.market-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.market-focus, .market-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.focus-tag, .app-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Automotive Specific Styles */
.automotive-products {
    background: #f8f9fa;
    width: 100%;
}

.automotive-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.automotive-product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid #dee2e6;
    width: 100%;
}

.automotive-product-card.featured {
    border: 2px solid #6c757d;
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-header .product-icon {
    margin-bottom: 1rem;
    color: #6c757d;
}

.product-header .product-icon svg {
    width: 64px;
    height: 64px;
}

.product-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    font-weight: 700;
    color: #1f2937;
}

.applications {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #dee2e6;
}

.applications h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.applications ul {
    list-style: none;
    padding: 0;
}

.applications li {
    padding: 0.3rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.applications li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Applications Section */
.applications-section {
    background: #f8fafc;
    width: 100%;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.application-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #6c757d;
    width: 100%;
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.application-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.application-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.application-list li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.application-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6c757d;
    font-weight: bold;
}

.optimal-grade {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #6c757d;
    font-size: 0.9rem;
}

/* Services and Advantages */
.services-section, .advantages-section {
    background: white;
    width: 100%;
}

.services-grid, .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card, .advantage-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.service-card:hover, .advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
}

.service-icon, .advantage-icon {
    color: #667eea;
    margin-bottom: 1.5rem;
    display: block;
}

.service-icon svg, .advantage-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3, .advantage-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Contact Section - FIXED READABILITY */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.automotive-contact {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Contact Section Headers - WHITE FOR READABILITY */
.contact-section .section-header h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 800;
}

.contact-section .section-header p {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.contact-form-container {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.contact-form, .application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.contact-details h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #ffffff; /* Changed from golden to white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.trading-advantages, .nmdc-partnership {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.trading-advantages h4, .nmdc-partnership h4 {
    color: #ffffff; /* Changed from golden to white */
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.partnership-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partnership-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.partnership-item:last-child {
    border-bottom: none;
}

.partnership-label {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.thank-you-icon {
    margin-bottom: 2rem;
    display: block;
}

.thank-you-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.thank-you-message {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.next-steps {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    width: 100%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-reminder {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    width: 100%;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
}

.contact-option a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Careers Page Styles - Changed from green to off-white */
.why-join-section {
    background: #f8fafc; /* Changed from green to off-white */
    padding: 80px 0;
    width: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    color: #667eea; /* Changed from green to blue */
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
}

.positions-section {
    background: white;
    padding: 80px 0;
    width: 100%;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.position-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea; /* Changed from green to blue */
    width: 100%;
}

.position-card.priority-market {
    border-left: 5px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
}

.position-card.standard-market {
    border-left: 5px solid #ffc107;
    background: linear-gradient(135deg, #fffbf0, #fefdf8);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.position-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
}

.position-type {
    background: #667eea; /* Changed from green to blue */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.position-card.priority-market .position-type {
    background: #dc3545;
}

.position-card.standard-market .position-type {
    background: #ffc107;
    color: #212529;
}

.position-details {
    margin-bottom: 1.5rem;
}

.position-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.position-description {
    margin-bottom: 1.5rem;
}

.position-requirements h4, .market-focus h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.position-requirements ul, .market-focus ul {
    color: #666;
    padding-left: 1.5rem;
}

.hiring-priorities {
    margin-top: 4rem;
    width: 100%;
}

.priority-notice {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
}

.priority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.priority-item {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.priority-item.high-priority {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.priority-item.moderate-priority {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.priority-flag {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.application-section {
    background: #f8fafc; /* Changed from green to off-white */
    padding: 80px 0;
    width: 100%;
}

.application-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.application-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
}

.application-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
}

.application-form h3:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.application-form .form-group label {
    color: #374151;
}

.application-form .form-group input,
.application-form .form-group select,
.application-form .form-group textarea {
    background: #f8fafc;
    border: 1px solid #d1d5db;
    color: #374151;
}

.application-form .form-group input:focus,
.application-form .form-group select:focus,
.application-form .form-group textarea:focus {
    border-color: #667eea; /* Changed from green to blue */
    background: white;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
}

.checkbox-label input {
    margin-right: 0.5rem;
}

.application-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hr-contact {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.market-priorities {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.priority-list .priority-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.application-process {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 8px;
}

.process-step .step-number {
    background: #667eea; /* Changed from green to blue */
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.footer-brand-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff; /* Changed from golden to white */
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .automotive-products-grid {
        grid-template-columns: 1fr;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .segment-selector {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: center;
    }

    .toggle-label {
        min-width: 280px;
        height: 50px;
    }

    .toggle-option {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    /* Enhanced mobile toggle indication */
    .toggle-switch input:not(:checked) ~ .toggle-label .fabrication-option {
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        font-weight: 700;
        background: rgba(255,255,255,0.1);
        border-radius: 16px;
        margin: 2px;
    }

    .toggle-switch input:checked ~ .toggle-label .automotive-option {
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        font-weight: 700;
        background: rgba(255,255,255,0.1);
        border-radius: 16px;
        margin: 2px;
    }

    .nav-links {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .contact-content, .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid, .contact-options {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .priority-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title, .thank-you-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-form-container, .application-form-container {
        padding: 2rem;
    }

    .toggle-label {
        min-width: 260px;
    }

    .toggle-option {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1.5rem;
    }
}

/* Animation Styles */
.loaded {
    opacity: 1;
}

.form-group.focused input,
.form-group.focused textarea,
.form-group.focused select {
    border-color: #667eea !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Additional utility classes to prevent overflow */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: 100%;
}

/* Catalogue Section Styles */
.catalogue-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.catalogue-content {
    max-width: 1200px;
    margin: 0 auto;
}

.catalogue-intro {
    text-align: center;
    margin-bottom: 60px;
}

.catalogue-intro p {
    font-size: 1.1em;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.catalogue-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #d32f2f;
}

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

.catalogue-card h3 {
    color: #d32f2f;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.catalogue-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.spec-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-highlight span {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #495057;
    border: 1px solid #e9ecef;
}

.catalogue-download {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.download-note {
    margin-top: 15px;
    color: #6c757d;
    font-size: 0.95em;
}

/* Brochure Button Styles */
.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #d32f2f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.hero-cta .btn-outline {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .catalogue-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalogue-card {
        padding: 20px;
    }

    .spec-highlight {
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn-outline {
        margin: 0;
    }
}
