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

:root {
    --primary-color: #1e5f99;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo .header-logo {
    max-height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-menu a[data-lang-switch="true"] {
    font-size: 1.05rem;
    font-weight: 700;
}

.nav-menu .dropdown > a {
    color: var(--text-dark);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu a.active {
    background: var(--primary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, rgba(30, 95, 153, 0.85), rgba(41, 128, 185, 0.85)), url('images/services/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.15;
}

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

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero .btn-secondary,
.cta-section .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-secondary:hover,
.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.1rem 3.25rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.library-card .hero-buttons {
    margin-top: 1.25rem;
}

.capabilities-highlight p {
    max-width: 780px;
    margin: 0.25rem auto 0;
    color: var(--text-light);
    line-height: 1.7;
}

.capabilities-highlight .hero-buttons {
    margin-top: 1.5rem;
}

.supplier-pack-actions .btn {
    width: 240px;
    text-align: center;
}

.quote-doc {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quote-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    background: #f6f7f9;
}

.quote-top-title {
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: var(--primary-color);
    border-right: 1px solid var(--border-color);
}

.quote-top-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid var(--border-color);
}

.quote-top-field span {
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.quote-top-field input {
    width: 100%;
    padding: 0.55rem 0.6rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
}

.quote-head {
    padding: 1.25rem;
}

.quote-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-brand-logo {
    width: 74px;
    height: auto;
}

.quote-brand-name {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.quote-brand-sub {
    color: var(--text-light);
    font-weight: 600;
}

.quote-head-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.quote-party {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    background: var(--bg-light);
}

.quote-party-title {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.quote-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.quote-fields label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.quote-fields input,
.quote-fields textarea,
.quote-meta input,
.quote-meta select {
    padding: 0.65rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
}

.quote-meta {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
}

.quote-meta-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.quote-meta-row:first-child {
    margin-top: 0;
}

.quote-meta label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.quote-table-wrap {
    padding: 0 1.25rem 1.25rem;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.quote-table th,
.quote-table td {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    vertical-align: top;
}

.quote-table thead th {
    background: #d6e8fb;
    color: var(--text-dark);
    font-weight: 800;
    text-align: center;
}

.quote-table input {
    width: 100%;
    padding: 0.55rem 0.55rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.quote-center {
    text-align: center;
    font-weight: 800;
}

.quote-right {
    text-align: right;
    font-weight: 800;
}

.quote-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.quote-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 0 1.25rem 1.25rem;
}

.quote-sign-label {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.quote-sign-line {
    height: 44px;
    border-bottom: 2px solid var(--border-color);
}

@media print {
    .navbar,
    .footer,
    .page-header,
    .hero-buttons,
    .tab-buttons,
    .quote-actions {
        display: none !important;
    }

    .tab-content,
    .tab-panel {
        display: block !important;
    }

    .quote-doc {
        box-shadow: none;
        border-radius: 0;
    }
}

@media (max-width: 900px) {
    .quote-head-grid {
        grid-template-columns: 1fr;
    }
    .quote-meta-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.learn-more:hover {
    gap: 1rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.library-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.library-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.library-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.library-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.library-card ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-light);
}

.library-card li {
    margin: 0.35rem 0;
}

.wizard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 1rem;
}

.wizard-result {
    margin-top: 2rem;
}

.wizard-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wizard-score-badge {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    background: #607d8b;
}

.wizard-score-badge.good {
    background: #2e7d32;
}

.wizard-score-badge.ok {
    background: #2f6fdd;
}

.wizard-score-badge.warn {
    background: #b26a00;
}

.wizard-score-badge.bad {
    background: #b00020;
}

.wizard-score-meta {
    color: var(--text-light);
    font-weight: 600;
}

.wizard-summary {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1.4;
    resize: vertical;
}

.wizard-hint {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.wizard-part {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    background: var(--bg-light);
    margin-top: 1rem;
}

.wizard-part-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.wizard-part-title {
    font-weight: 800;
    color: var(--primary-color);
}

.wizard-part .wizard-grid {
    margin-top: 0.75rem;
}

.wizard-part textarea {
    width: 100%;
}

.wizard-pack-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wizard-pack-actions .btn {
    width: 100%;
    white-space: normal;
}

.wizard-pack-actions #w-send {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .wizard-pack-actions {
        grid-template-columns: 1fr;
    }

    .wizard-pack-actions #w-send {
        grid-column: auto;
    }
}

.rfq-wizard-cta {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.rfq-wizard-cta h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rfq-wizard-cta p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 5rem 0;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-light);
}

/* Global Presence */
.global-presence {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.location-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.location-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 95, 153, 0.85), rgba(41, 128, 185, 0.85)), url('images/services/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

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

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-col i {
    margin-right: 0.5rem;
    width: 20px;
}

.footer-brand {
    margin-bottom: 1rem;
    background: var(--white);
    padding: 10px 12px;
    border-radius: 6px;
    display: inline-block;
}

.footer-logo {
    max-width: 240px;
    max-height: 84px;
    height: auto;
    display: block;
}

.tuv-logo {
    height: 56px;
    width: auto;
    display: block;
}

.certification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: var(--white);
    padding: 10px 12px;
    border-radius: 6px;
    display: inline-flex;
}

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

/* Page Header */
.page-header {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 250, 0.95)), url('images/services/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.02);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.page-header-content p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.subtle-bg {
    position: relative;
    overflow: hidden;
}

.subtle-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, var(--subtle-bg-overlay, rgba(255,255,255,0.18)), var(--subtle-bg-overlay, rgba(255,255,255,0.18))), var(--subtle-bg-image);
    background-repeat: no-repeat;
    background-position: var(--subtle-bg-position, center);
    background-size: var(--subtle-bg-size, cover);
    opacity: var(--subtle-bg-opacity, 0.08);
    filter: var(--subtle-bg-filter, grayscale(1) contrast(1.05));
    transform: scale(1.02);
    pointer-events: none;
    z-index: 0;
}

.subtle-bg > * {
    position: relative;
    z-index: 1;
}

/* Service Details */
.service-details {
    padding: 5rem 0;
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.service-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Tabs */
.services-tabs {
    margin: 3rem 0;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--bg-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tab-panel {
    display: none;
}

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

.tab-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.tab-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tab-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feature-list i {
    color: var(--accent-color);
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    margin-top: 0.15rem;
}

.tab-image {
    text-align: center;
    color: var(--primary-color);
}

/* Materials */
.materials-section {
    margin: 3rem 0;
}

.materials-section h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.material-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.material-item:hover {
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* CNC Services */
.cnc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cnc-service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.cnc-service-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cnc-service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cnc-service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cnc-service-card ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.cnc-service-card ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.cnc-service-card ul li i {
    color: var(--accent-color);
    font-size: 0.9rem;
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    margin-top: 0.15rem;
}

/* Capabilities Highlight */
.capabilities-highlight {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.capabilities-highlight h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.capabilities-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat {
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Moulding Services */
.moulding-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.moulding-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.moulding-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.moulding-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.moulding-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Features List */
.features-list {
    margin: 3rem 0;
}

.features-list h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.features-list ul li {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.features-list ul li i {
    color: var(--accent-color);
}

/* Sheet Metal Features */
.services-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-box i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-light);
}

/* Capabilities Section */
.capabilities-section {
    padding: 5rem 0;
}

.capabilities-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.equipment-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.equipment-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.equipment-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.equipment-table th,
.equipment-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.equipment-table tbody tr:hover {
    background: var(--bg-light);
}

/* Capabilities Overview */
.capabilities-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.capabilities-overview h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.capability-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.capability-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.capability-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.capability-card ul {
    list-style: none;
    text-align: left;
}

.capability-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.capability-card ul li:last-child {
    border-bottom: none;
}

/* Materials Categories */
.materials-capabilities {
    padding: 5rem 0;
}

.materials-capabilities h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.materials-capabilities > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.materials-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.material-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.material-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.material-category ul {
    list-style: none;
}

.material-category ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.material-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* DFM Offer */
.dfm-offer {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.dfm-content i {
    margin-bottom: 1.5rem;
}

.dfm-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dfm-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Tooling */
.tooling-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tooling-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tooling-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tooling-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tooling-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tooling-card ul {
    list-style: none;
}

.tooling-card ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tooling-card ul li i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-light);
}

/* FAT Services */
.fat-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.fat-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.fat-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.fat-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fat-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Process Section */
.process-section {
    margin: 3rem 0;
}

.process-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Benefits List */
.benefits-list {
    margin: 3rem 0;
}

.benefits-list h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefits-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.benefits-list ul li {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.benefits-list ul li i {
    color: var(--accent-color);
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-box .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Locations Section */
.locations-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.locations-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.location-detail {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.location-detail i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.location-detail h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.location-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-role {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 1rem;
}

/* Certification Section */
.certification-section {
    padding: 5rem 0;
}

.certification-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.certification-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.cert-badge {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.cert-badge-logo {
    height: 90px;
    width: auto;
    display: block;
    margin: 0 auto 1rem;
}

.cert-badge i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-badge h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cert-badge p {
    color: var(--text-light);
}

.cert-info h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cert-info ul {
    list-style: none;
}

.cert-info ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-info ul li i {
    color: var(--accent-color);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-section > p {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form-container > p,
.contact-info-container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.rfq-checklist {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.rfq-checklist h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.rfq-checklist ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-light);
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.rfq-checklist li {
    margin: 0.4rem 0;
}

.next-steps {
    margin-top: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.25rem;
}

.next-steps h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-light);
}

.next-steps li {
    margin: 0.4rem 0;
}


/* Contact Cards */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--text-light);
}

/* Office Locations */
.office-locations {
    margin: 2rem 0;
}

.office-locations h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.office-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.office-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Business Hours */
.business-hours {
    margin-top: 2rem;
}

.business-hours h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.business-hours p {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-placeholder i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-menu a {
        color: var(--text-dark);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary-color);
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: var(--text-dark);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0.5rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .certification-content {
        grid-template-columns: 1fr;
    }

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

    .locations-grid,
    .moulding-services,
    .cnc-services-grid,
    .services-grid,
    .fat-services,
    .tooling-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }

    .supplier-pack-actions .btn {
        width: 100%;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-video {
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.portfolio-video-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.portfolio-video-header {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.portfolio-video-header h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.portfolio-video-header p {
    margin: 0 0 1.25rem;
    color: var(--text-light);
}

.portfolio-video-player {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    background: #000;
}

.filter-btn {
    padding: 0.85rem 1.75rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-dark);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-badge:hover {
    background: rgba(0, 0, 0, 0.8);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 2rem 1.5rem 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-overlay .portfolio-meta {
    margin-top: 0.5rem;
    opacity: 0.95;
    line-height: 1.35;
}

#portfolio-items-start,
#portfolio-items-end {
    display: none;
}

.portfolio-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
    font-style: italic;
}

.portfolio-metric {
    text-align: center;
    margin-top: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--primary-color);
}

.portfolio-metric p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image {
        height: 300px;
    }
}

.project-review-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.project-review-top {
    margin-bottom: 1.5rem;
}

.project-review-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: start;
}

.project-review-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-review-media-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.project-review-facts {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1.75rem;
}

.project-review-facts h2 {
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

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

.fact {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.fact-value {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.project-review-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.project-review-block {
    margin-top: 2.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.project-review-block h2 {
    margin: 0 0 0.75rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.project-review-subtext {
    margin: 0 0 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.time-facets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.time-facet {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.1rem 1.1rem 1rem;
    background: var(--white);
}

.time-facet-title {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.time-facet-time {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.time-facet-body {
    color: var(--text-light);
    line-height: 1.6;
}

.project-review-list {
    display: grid;
    gap: 0.75rem;
}

.project-review-list-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--text-dark);
    line-height: 1.6;
}

.project-review-list-item i {
    margin-top: 0.2rem;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .project-review-grid {
        grid-template-columns: 1fr;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.certificate-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cert-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cert-link:hover {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cert-link i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.certificate-previews {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .certificate-links {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

.service-card,
.feature,
.location-card,
.moulding-card,
.fat-card,
.tooling-card,
.benefit-item,
.capability-card {
    animation: fadeIn 0.6s ease-out;
}

/* Chat Widget Overrides */
img.chatclient-button {
    width: 68px !important;
    height: 68px !important;
    bottom: 24px !important;
    right: 24px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease !important;
}

img.chatclient-button:hover {
    transform: scale(1.05) !important;
}

.chat-custom-label {
    position: fixed;
    bottom: 105px;
    right: 32px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-custom-label.show {
    opacity: 1;
    transform: translateY(0);
}

.chat-custom-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}
