/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
:root {
    --primary-red: #c00810;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f9f9f9;
    --gray-mid: #e0e0e0;
    --text-color: #222222;
    --text-muted: #666666;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: clamps(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamps(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.max-w-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.max-w-600 {
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-red {
    color: var(--primary-red);
}

.text-white {
    color: var(--white);
}

.text-muted {
    color: var(--text-muted);
}

.text-sm {
    font-size: 0.875rem;
}

.font-weight-500 {
    font-weight: 500;
}

.bg-light {
    background-color: var(--gray-light);
}

.bg-gray {
    background-color: #f1f1f1;
}

.bg-red {
    background-color: var(--primary-red);
}

.btn.bg-red:hover {
    color: var(--white);
    background-color: #a0070d;
    /* Slightly darker red for hover effect */
}

.bg-black {
    background-color: var(--black);
}

.bg-white {
    background-color: var(--white);
}

.section-padding {
    padding: 4rem 0;
}

.pt-5 {
    padding-top: 3rem;
}

.pt-4 {
    padding-top: 2rem;
}

.pb-3 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.border {
    border: 1px solid var(--gray-mid);
}

.border-top {
    border-top: 1px solid var(--gray-mid);
}

.border-left-red {
    border-left: 4px solid var(--primary-red);
}

.rounded {
    border-radius: 6px;
}

.d-block {
    display: block;
}

.w-100 {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media(min-width: 768px) {
    .flex-split {
        flex-direction: row;
        align-items: center;
    }

    .flex-split>div {
        flex: 1;
    }
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-red);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

:focus {
    outline: 2px dashed var(--primary-red);
    outline-offset: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a0070d;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: #f1f1f1;
}

/* Header & Nav */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-mid);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    margin-left: 1.5rem;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    clip-path: inset(3px 0 0px 0);
}

@media (min-width: 768px) {
    .logo img {
        max-height: 70px;
    }
}

.text-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
}

.main-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a.active {
    color: var(--primary-red);
}

.main-nav a:hover {
    color: var(--primary-red);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--black);
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--gray-mid);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .main-nav .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav .nav-links li {
        width: 100%;
        text-align: center;
    }

    .main-nav .nav-links a {
        display: block;
        padding: 0.75rem;
    }
}

/* Sections */
.hero {
    padding: 5rem 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.trust-strip {
    background: var(--black);
    color: var(--white);
    padding: 1rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-strip-inner {
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--gray-mid);
    border-radius: 8px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--gray-mid);
}

.split-visual {
    min-height: 300px;
    height: 100%;
}

.step-badge {
    background: var(--white);
    border: 1px solid var(--gray-mid);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-badge:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Image Utilities & Hovers */
.overflow-hidden {
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
}

.h-100 {
    height: 100%;
}

.hover-elevate {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hover-elevate:hover .industry-img {
    transform: scale(1.05);
}

/* Home Process Timeline Component */
.home-process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 3.5rem auto 2.5rem;
    z-index: 1;
}

.home-process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: -1;
}

.home-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    position: relative;
}

.home-process-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.home-process-step:hover .home-process-number {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 8px 15px rgba(188, 32, 43, 0.25);
}

.home-process-title {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.4;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .home-process-timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .home-process-timeline::before {
        top: 0;
        bottom: 0;
        left: 48px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .home-process-step {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .home-process-number {
        margin-bottom: 0;
        margin-right: 1.5rem;
        flex-shrink: 0;
    }

    .home-process-title {
        text-align: left;
        padding: 0;
    }
}

/* Specific Component Styles */
.b2b-hero {
    position: relative;
    color: var(--white);
    background-color: var(--black);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: heroFader 15s infinite;
}

.hero-bg-1 {
    background-image: url('../../images/hero_b2b_realistic_1771615818717.jpg');
    animation-delay: 0s;
}

.hero-bg-2 {
    background-image: url('../../images/hero_b2b_slider2_1771617019301.jpg');
    animation-delay: 5s;
}

.hero-bg-3 {
    background-image: url('../../images/hero_b2b_slider3_1771617068170.jpg');
    animation-delay: 10s;
}

@keyframes heroFader {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Service Icons enhancements */
.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(188, 32, 43, 0.08);
    color: var(--primary-red);
    border-radius: 12px;
}

.service-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.b2b-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.b2b-hero .hero-content {
    position: relative;
    z-index: 2;
}

.b2b-hero h1 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.b2b-hero .subheadline {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Timeline Process */
.process-timeline {
    position: relative;
    padding-left: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-mid);
}

.timeline-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-step .step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(188, 32, 43, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-step .step-icon svg {
    width: 36px;
    height: 36px;
}

.step-content {
    background: var(--white);
    border: 1px solid var(--gray-mid);
    padding: 1.5rem;
    border-radius: 6px;
}

/* Styled Lists */
.styled-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.styled-list li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* Forms */
.form-control {
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--black);
}

.cursor-pointer {
    cursor: pointer;
}

/* Footers */
.footer-heading {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-mid);
}

.footer-links a:hover {
    color: var(--white);
}

.gap-5 {
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .gap-5 {
        gap: 3rem;
    }
}

.pt-6 {
    padding-top: 4rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}