@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Teko:wght@500;600;700&display=swap');

:root {
    --primary: #d32f2f;        /* Iron Arc Red */
    --primary-dark: #b71c1c;
    --dark: #111111;
    --light: #f8f9fa;
    --text: #222222;
    --white: #ffffff;
    --haze:#d32f2f;
}
.section-light {
    background: var(--light);
    color: var(--text);
    padding: 80px 20px;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
    padding: 80px 20px;
}

.section-primary {
    background: var(--primary);
    color: var(--white);
    padding: 80px 20px;
}
.section-haze {
    background: var(--haze);
    color: var(--white);
    padding: 80px 20px;
}
.section-red-form {
    background: var(--primary);
    color: var(--white);
    padding: 80px 20px;
}
/* ===== HEADER REDESIGN ===== */

header {
    background: #0f0f0f;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.logo img {
    height: 60px;
}

.logo a,
.partner-card picture {
    display: inline-block;
    line-height: 0;
}

/* Right side group */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* MENU button (industrial style) */
.menu-toggle {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-toggle:hover {
    background: #1c1c1c;
    border-color: #d32f2f;
}

/* Call button */
.call-btn {
    background: #d32f2f;
    color: #fff;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.call-btn:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}

/* Dropdown */
.menu-wrapper {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #1c1c1c;
    min-width: 220px;
    border-radius: 4px;
    display: none;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.dropdown a {
    padding: 15px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown a:hover {
    background: #d32f2f;
}

.dropdown.active {
    display: flex;
}

/* Animation */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

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

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f8f9fa;
}

.trailer-repair-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    --bg-400: url('images/400/trailerrepair.jpg');
    --bg-800: url('images/800/trailerrepair.jpg');
    --bg-1200: url('images/1200/trailerrepair.jpg');
    --bg-webp-400: url('images/webp/trailerrepair-400.webp');
    --bg-webp-800: url('images/webp/trailerrepair-800.webp');
    --bg-webp-1200: url('images/webp/trailerrepair-1200.webp');
    --bg-image-400: image-set(url('images/webp/trailerrepair-400.webp') type('image/webp') 1x, url('images/400/trailerrepair.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/trailerrepair-800.webp') type('image/webp') 1x, url('images/800/trailerrepair.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/trailerrepair-1200.webp') type('image/webp') 1x, url('images/1200/trailerrepair.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.trailer-repair-page,
.trailer-repair-page h1,
.trailer-repair-page h2,
.trailer-repair-page h3,
.trailer-repair-page p,
.trailer-repair-page li,
.trailer-repair-page a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

.mobile-welding-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.64));
    --bg-400: url('images/400/mobile-welding.jpg');
    --bg-800: url('images/800/mobile-welding.jpg');
    --bg-1200: url('images/1200/mobile-welding.jpg');
    --bg-webp-400: url('images/webp/mobile-welding-400.webp');
    --bg-webp-800: url('images/webp/mobile-welding-800.webp');
    --bg-webp-1200: url('images/webp/mobile-welding-1200.webp');
    --bg-image-400: image-set(url('images/webp/mobile-welding-400.webp') type('image/webp') 1x, url('images/400/mobile-welding.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/mobile-welding-800.webp') type('image/webp') 1x, url('images/800/mobile-welding.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/mobile-welding-1200.webp') type('image/webp') 1x, url('images/1200/mobile-welding.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.mobile-welding-page,
.mobile-welding-page h1,
.mobile-welding-page h2,
.mobile-welding-page h3,
.mobile-welding-page p,
.mobile-welding-page li,
.mobile-welding-page a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

.about-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.64));
    --bg-400: url('images/400/about-us.jpg');
    --bg-800: url('images/800/about-us.jpg');
    --bg-1200: url('images/1200/about-us.jpg');
    --bg-webp-400: url('images/webp/about-us-400.webp');
    --bg-webp-800: url('images/webp/about-us-800.webp');
    --bg-webp-1200: url('images/webp/about-us-1200.webp');
    --bg-image-400: image-set(url('images/webp/about-us-400.webp') type('image/webp') 1x, url('images/400/about-us.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/about-us-800.webp') type('image/webp') 1x, url('images/800/about-us.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/about-us-1200.webp') type('image/webp') 1x, url('images/1200/about-us.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.about-page,
.about-page h1,
.about-page h2,
.about-page h3,
.about-page p,
.about-page li,
.about-page a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

.about-page section.container p {
    margin: 0 0 10px;
    line-height: 1.65;
}

.about-page section.container ul {
    margin: 10px 0 14px 20px;
}

.about-page section.container h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.about-page section.container h3 {
    margin-top: 18px;
    margin-bottom: 10px;
}

.heavy-equipment-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.54));
    --bg-400: url('images/400/heavyequip.jpg');
    --bg-800: url('images/800/heavyequip.jpg');
    --bg-1200: url('images/1200/heavyequip.jpg');
    --bg-webp-400: url('images/webp/heavyequip-400.webp');
    --bg-webp-800: url('images/webp/heavyequip-800.webp');
    --bg-webp-1200: url('images/webp/heavyequip-1200.webp');
    --bg-image-400: image-set(url('images/webp/heavyequip-400.webp') type('image/webp') 1x, url('images/400/heavyequip.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/heavyequip-800.webp') type('image/webp') 1x, url('images/800/heavyequip.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/heavyequip-1200.webp') type('image/webp') 1x, url('images/1200/heavyequip.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.excavator-bucket-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.54));
    --bg-400: url('images/400/excavator.jpg');
    --bg-800: url('images/800/excavator.jpg');
    --bg-1200: url('images/1200/excavator.jpg');
    --bg-webp-400: url('images/webp/excavator-400.webp');
    --bg-webp-800: url('images/webp/excavator-800.webp');
    --bg-webp-1200: url('images/webp/excavator-1200.webp');
    --bg-image-400: image-set(url('images/webp/excavator-400.webp') type('image/webp') 1x, url('images/400/excavator.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/excavator-800.webp') type('image/webp') 1x, url('images/800/excavator.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/excavator-1200.webp') type('image/webp') 1x, url('images/1200/excavator.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.boom-repair-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.54));
    --bg-400: url('images/400/boom.jpg');
    --bg-800: url('images/800/boom.jpg');
    --bg-1200: url('images/1200/boom.jpg');
    --bg-webp-400: url('images/webp/boom-400.webp');
    --bg-webp-800: url('images/webp/boom-800.webp');
    --bg-webp-1200: url('images/webp/boom-1200.webp');
    --bg-image-400: image-set(url('images/webp/boom-400.webp') type('image/webp') 1x, url('images/400/boom.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/boom-800.webp') type('image/webp') 1x, url('images/800/boom.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/boom-1200.webp') type('image/webp') 1x, url('images/1200/boom.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.heavy-equipment-page section.container,
.excavator-bucket-page section.container,
.boom-repair-page section.container,
.heavy-equipment-page section.container h1,
.excavator-bucket-page section.container h1,
.boom-repair-page section.container h1,
.heavy-equipment-page section.container h2,
.excavator-bucket-page section.container h2,
.boom-repair-page section.container h2,
.heavy-equipment-page section.container h3,
.excavator-bucket-page section.container h3,
.boom-repair-page section.container h3,
.heavy-equipment-page section.container p,
.excavator-bucket-page section.container p,
.boom-repair-page section.container p,
.heavy-equipment-page section.container li,
.excavator-bucket-page section.container li,
.boom-repair-page section.container li,
.heavy-equipment-page section.container a:not(.btn-primary):not(.call-btn),
.excavator-bucket-page section.container a:not(.btn-primary):not(.call-btn),
.boom-repair-page section.container a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

.custom-fabrication-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.64));
    --bg-400: url('images/400/custom-fabrication.jpg');
    --bg-800: url('images/800/custom-fabrication.jpg');
    --bg-1200: url('images/1200/custom-fabrication.jpg');
    --bg-webp-400: url('images/webp/custom-fabrication-400.webp');
    --bg-webp-800: url('images/webp/custom-fabrication-800.webp');
    --bg-webp-1200: url('images/webp/custom-fabrication-1200.webp');
    --bg-image-400: image-set(url('images/webp/custom-fabrication-400.webp') type('image/webp') 1x, url('images/400/custom-fabrication.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/custom-fabrication-800.webp') type('image/webp') 1x, url('images/800/custom-fabrication.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/custom-fabrication-1200.webp') type('image/webp') 1x, url('images/1200/custom-fabrication.jpg') type('image/jpeg') 1x);
    --bg-position: center 28%;
    --bg-attachment: fixed;
}


.proactive-welding-page {
    --bg-overlay: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.64));
    --bg-400: url('images/400/hardfacing.jpg');
    --bg-800: url('images/800/hardfacing.jpg');
    --bg-1200: url('images/1200/hardfacing.jpg');
    --bg-webp-400: url('images/webp/hardfacing-400.webp');
    --bg-webp-800: url('images/webp/hardfacing-800.webp');
    --bg-webp-1200: url('images/webp/hardfacing-1200.webp');
    --bg-image-400: image-set(url('images/webp/hardfacing-400.webp') type('image/webp') 1x, url('images/400/hardfacing.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/hardfacing-800.webp') type('image/webp') 1x, url('images/800/hardfacing.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/hardfacing-1200.webp') type('image/webp') 1x, url('images/1200/hardfacing.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    --bg-attachment: fixed;
}

.proactive-welding-page,
.proactive-welding-page h1,
.proactive-welding-page h2,
.proactive-welding-page h3,
.proactive-welding-page p,
.proactive-welding-page li,
.proactive-welding-page a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

.custom-fabrication-page,
.custom-fabrication-page h1,
.custom-fabrication-page h2,
.custom-fabrication-page h3,
.custom-fabrication-page p,
.custom-fabrication-page li,
.custom-fabrication-page a:not(.btn-primary):not(.call-btn) {
    color: #ffffff;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 10px 0;
}

header {
    background: #000000;
   color: var(--white);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
   color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-size: 12px;
    font-weight: 600;
}

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

.logo {
    font-weight: 600;
    font-size: 20px;
}

.call-btn {
    background: var(--primary)
    padding: 5px 9px;
    border-radius: 5px;
    text-decoration: none;
   color: var(--white);
    font-weight: 200;
}

.call-btn:hover {
    background: #b71c1c;
}

/* Industrial Hero Section */
.hero {
    position: relative;
    --bg-overlay: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
    );
    --bg-400: url('images/400/home-hero.jpg');
    --bg-800: url('images/800/home-hero.jpg');
    --bg-1200: url('images/1200/home-hero.jpg');
    --bg-webp-400: url('images/webp/home-hero-400.webp');
    --bg-webp-800: url('images/webp/home-hero-800.webp');
    --bg-webp-1200: url('images/webp/home-hero-1200.webp');
    --bg-image-400: image-set(url('images/webp/home-hero-400.webp') type('image/webp') 1x, url('images/400/home-hero.jpg') type('image/jpeg') 1x);
    --bg-image-800: image-set(url('images/webp/home-hero-800.webp') type('image/webp') 1x, url('images/800/home-hero.jpg') type('image/jpeg') 1x);
    --bg-image-1200: image-set(url('images/webp/home-hero-1200.webp') type('image/webp') 1x, url('images/1200/home-hero.jpg') type('image/jpeg') 1x);
    --bg-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.trailer-repair-page,
.mobile-welding-page,
.about-page,
.heavy-equipment-page,
.excavator-bucket-page,
.boom-repair-page,
.custom-fabrication-page,
.proactive-welding-page {
    position: relative;
    background: transparent;
}

.trailer-repair-page::before,
.mobile-welding-page::before,
.about-page::before,
.heavy-equipment-page::before,
.excavator-bucket-page::before,
.boom-repair-page::before,
.custom-fabrication-page::before,
.proactive-welding-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: var(--bg-overlay), var(--bg-800);
    background-position: var(--bg-position);
    background-size: cover;
    background-repeat: no-repeat;
}

.hero {
    background-image: var(--bg-overlay), var(--bg-800);
    background-position: var(--bg-position);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: var(--bg-attachment, scroll);
}

@supports (background-image: image-set(url("x.webp") type("image/webp") 1x, url("x.jpg") type("image/jpeg") 1x)) {
    .trailer-repair-page::before,
    .mobile-welding-page::before,
    .about-page::before,
    .heavy-equipment-page::before,
    .excavator-bucket-page::before,
    .boom-repair-page::before,
    .custom-fabrication-page::before,
    .proactive-welding-page::before {
        background-image: var(--bg-overlay), var(--bg-image-800);
    }

    .hero {
        background-image: var(--bg-overlay), var(--bg-image-800);
    }
}

@media (min-resolution: 2dppx) and (max-width: 1000px) {
    .trailer-repair-page::before,
    .mobile-welding-page::before,
    .about-page::before,
    .heavy-equipment-page::before,
    .excavator-bucket-page::before,
    .boom-repair-page::before,
    .custom-fabrication-page::before,
    .proactive-welding-page::before {
        background-image: var(--bg-overlay), var(--bg-1200);
    }

    .hero {
        background-image: var(--bg-overlay), var(--bg-1200);
    }

    @supports (background-image: image-set(url("x.webp") type("image/webp") 1x, url("x.jpg") type("image/jpeg") 1x)) {
        .trailer-repair-page::before,
        .mobile-welding-page::before,
        .about-page::before,
        .heavy-equipment-page::before,
        .excavator-bucket-page::before,
        .boom-repair-page::before,
        .custom-fabrication-page::before,
        .proactive-welding-page::before {
            background-image: var(--bg-overlay), var(--bg-image-1200);
        }

        .hero {
            background-image: var(--bg-overlay), var(--bg-image-1200);
        }
    }
}

@media (min-width: 601px) {
    .trailer-repair-page::before,
    .mobile-welding-page::before,
    .about-page::before,
    .heavy-equipment-page::before,
    .excavator-bucket-page::before,
    .boom-repair-page::before,
    .custom-fabrication-page::before,
    .proactive-welding-page::before {
        background-image: var(--bg-overlay), var(--bg-1200);
    }

    .hero {
        background-image: var(--bg-overlay), var(--bg-1200);
    }

    @supports (background-image: image-set(url("x.webp") type("image/webp") 1x, url("x.jpg") type("image/jpeg") 1x)) {
        .trailer-repair-page::before,
        .mobile-welding-page::before,
        .about-page::before,
        .heavy-equipment-page::before,
        .excavator-bucket-page::before,
        .boom-repair-page::before,
        .custom-fabrication-page::before,
        .proactive-welding-page::before {
            background-image: var(--bg-overlay), var(--bg-image-1200);
        }

        .hero {
            background-image: var(--bg-overlay), var(--bg-image-1200);
        }
    }
}

.hero h1 {
    font-family: "Teko", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: #ddd;
}

.hero-cta-group {
    display: inline-flex;
    flex-direction: column;
    gap: 18px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    display: inline-block;
    padding: 16px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}


/* Content */
h1, h2, h3 {
    margin-bottom: 20px;
}

section p {
    margin: 0 0 16px;
    line-height: 1.75;
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.services-section {
    padding-bottom: 30px;
}

.authority-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 12px;
}

.problem-section {
    text-align: center;
}

.problem-list {
    display: inline-block;
    text-align: left;
    margin: 18px 0 0;
    padding-left: 26px;
}

.problem-list li {
    font-weight: 400;
    margin-bottom: 14px;
    line-height: 1.7;
}

.problem-list li:last-child {
    font-weight: 700;
}

.authority-panel {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.authority-section p + p,
.testimonials-section p + p {
    margin-top: 8px;
}

.section-divider {
    border-top: 0;
}

.section-divider::before {
    content: "";
    display: block;
    width: min(1100px, 90%);
    margin: 0 auto 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.about-page section.container .section-divider::before {
    margin: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
}

ul {
    margin: 20px 0 20px 20px;
}

h2 + ul,
h3 + ul {
    margin-top: -20px;
}

.bottom-cta {
    text-align: center;
    padding: 24px 0;
}

.services-more-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    padding: 18px 24px;
    text-align: center;
    width: auto;
}

.services-more-list {
    margin: 0 0 18px 20px;
    padding: 0;
    color: #111111;
    text-align: left;
}

.services-more-list li {
    margin-bottom: 6px;
}

.services-more-card .btn-primary {
    display: inline-block;
    text-align: center;
}

.partners-section {
    color: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.partner-label {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.partner-logo {
    width: auto;
    max-width: 220px;
    max-height: 52px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    object-fit: contain;
}

.partner-logo-square {
    width: 92px;
    height: 68px;
    max-width: none;
    max-height: none;
    padding: 8px;
}

.partner-link {
    margin-top: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d7dbe6;
}

footer {
    background: var(--dark);
    color: #ccc;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

@media(max-width:768px){
    .trailer-repair-page,
    .mobile-welding-page,
    .about-page,
    .heavy-equipment-page,
    .excavator-bucket-page,
    .boom-repair-page,
    .custom-fabrication-page,
    .proactive-welding-page {
        background-attachment: scroll;
    }

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

    .dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        min-width: min(220px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== CONTACT PAGE STYLING ===== */

/* White page section */
.section-light {
    background: #ffffff;
    padding: 80px 20px;
}

.contact-section {
    padding-top: 30px;
}

.contact-section .container {
    padding-top: 0;
}

.contact-section h1 {
    margin-top: 0;
}

/* Red form wrapper */
.contact-form-wrapper {
    background: #d32f2f; /* Primary red */
    padding: 40px 50px 50px;
    border-radius: 10px;
    max-width: 700px;
    margin: 40px auto 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-form-wrapper-tight {
    margin-top: 0;
}

.contact-form-wrapper p {
    color: #ffffff;
    margin: 0 0 20px;
}

.contact-form-wrapper p a {
    color: #ffffff;
    font-weight: 700;
}

/* Labels */
.contact-form-wrapper label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Inputs, textarea, select */
.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
}

/* Focus state */
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
    outline: 2px solid #111111;
}

/* Submit button */
.contact-form-wrapper button {
    background: #fdfdfc;
    color: #111111;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.30);
    transform: translateY(-2px);
    transition: 0.3s ease;
}

.contact-form-wrapper button:hover {
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
    transform: translateY(-3px);
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.split-services {
    padding-top: 24px;
}

.split-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 22px;
}

.split-service-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.split-service-card h3 {
    margin-bottom: 12px;
    font-size: 28px;
}

.split-service-card ul {
    margin: 0 0 22px 20px;
    flex: 1;
}

.split-service-card .btn-primary {
    margin-top: auto;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.split-service-card .btn-primary + .btn-primary {
    margin-top: 12px;
}

@media(max-width:768px){
    .authority-row {
        grid-template-columns: 1fr;
    }

    .split-services-grid {
        grid-template-columns: 1fr;
    }
}


.index-page {
    background: linear-gradient(180deg, #02030b 0%, #040816 100%);
}

.contact-page {
    background: linear-gradient(180deg, #02030b 0%, #040816 100%);
}

.contact-page .contact-section {
    background: transparent;
}

.contact-page .contact-section h1 {
    color: #ffffff;
}

.index-page .contact-section {
    background: transparent;
    color: #ffffff;
}

.index-page .contact-section .section-title,
.index-page .contact-section p {
    color: #ffffff;
}

.index-page .contact-section.section-divider::before {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.index-page .problem-section,
.index-page .problem-section h2,
.index-page .problem-section li,
.index-page .problem-section p {
    color: #ffffff;
}

.index-page .split-services .section-title {
    color: #ffffff;
}

.index-page > section + section {
    border-top: 2px solid rgba(255, 255, 255, 0.35);
    margin-top: 24px;
    padding-top: 24px;
}

.index-page > section:last-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.index-page .section-divider::before {
    display: none;
}

.services-intro,
.services-intro h1,
.services-intro p {
    color: #ffffff;
}

.faq-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    margin: 0 0 14px;
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.faq-dropdown summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    padding: 16px 18px;
}

.faq-dropdown summary::-webkit-details-marker {
    display: none;
}

.faq-dropdown summary::after {
    content: "+";
    float: right;
    font-size: 22px;
    line-height: 1;
}

.faq-dropdown[open] summary::after {
    content: "-";
}

.faq-dropdown p {
    margin: 0;
    padding: 0 18px 18px;
}
