/*
Theme Name: Auto Crew Theme
Author: Dev
Version: 1.7
Description: Desktop-first theme with global tokens, base resets, and max-width responsive rules.
*/
:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --color-white: #FFFFFF;
    --color-seafoam: #9FE2BF;
    --color-dark-blue: #0E2B74;
    --color-cyan: #09B7DC;
    --color-gray: #5E6A7A;
    --color-black: #050505;
	--color-orange: #FF6D3B;
	--color-lightbg: #F3F7FC;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}
input, button, textarea, select {
    font: inherit;
}
.site-main h1 {
	font-family: var(--font-heading);
    font-size: 2.8rem;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -1.02px;
}
.site-main h2 {
	font-family: var(--font-heading);
    font-size: 2.25rem;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.72px;
}
.sub-heading h5 {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 2.16px;
	text-transform: uppercase;
}
.site-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600 !important;
    text-decoration: none;
    transition: all 0.5s ease;
	box-shadow: 0 10px 20px -5px rgb(20 17 17 / 40%);
	height: 50px;
}
.site-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease-out;
}
.site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgb(20 17 17 / 60%);
}
.site-btn:hover::after {
    transform: translateX(100%);
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-slide 40s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
@keyframes ticker-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Smooth Wipe & Reveal Pointing Animation */
@keyframes arrowWipeRight {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
@keyframes arrowWipeLeft {
  0% {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
@keyframes arrowWipeUp {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}
.anim-point-right {
  animation: arrowWipeRight 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.anim-point-left {
  animation: arrowWipeLeft 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.anim-point-up {
  animation: arrowWipeUp 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Animation on scroll */
.rv { opacity: 0; transition: none !important; }
.rv-in { animation: rvUp .8s cubic-bezier(.25, 1, .5, 1) var(--d, 0s) both; }
.rv-in.rv-pop { animation: rvPop .8s cubic-bezier(.34, 1.4, .64, 1) var(--d, 0s) both; }
@keyframes rvUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}
@keyframes rvPop {
	from { opacity: 0; transform: scale(.8); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rv { opacity: 1; }
	.rv-in, .rv-in.rv-pop { animation: none; }
}

/* Home Hero Live Muster Status */
.muster-section{font-family:var(--font-heading)}
.muster-card{width:100%;max-width:100%;box-sizing:border-box;padding:20px 10px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#101c38;color:#eef1f8;text-align:center}
.muster-label{margin:0;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#aeb6c9}
.muster-label::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#BFE5C8}
.muster-total{margin:12px 0 0;font-size:44px;font-weight:800;color:#f26a3a}
.muster-total i{font-style:normal;color:#aeb6c9;opacity:.5}
.muster-sub{margin:8px 0 0;font-size:14px;font-weight:500;color:#BFE5C8}
.muster-row{display:flex;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14)}
.muster-row div{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.muster-row svg{width:26px;height:26px;fill:currentColor}
.muster-row b{font-size:18px}
.muster-row span{font-size:11px;color:#aeb6c9}

/* Step timeline animation */
.timeline-step .step-line {
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    border-left: 1px dashed #D1D5DB;
    background: transparent;
    pointer-events: none;
}
.timeline-step .step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 100%;
    background-color: #FF6D3B;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
}
@keyframes lineDropFill {
    0% {
        clip-path: inset(0 0 100% 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0% 0);
        opacity: 1;
    }
}
.timeline-step .step-line.is-active::after {
    animation: lineDropFill 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes dropHeadMove {
    0% {
        top: 0%;
        opacity: 0;
        transform: translate(-50%, -6px) scale(0.6);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 4px) scale(0.5);
    }
}
.timeline-droplet {
    position: absolute;
    left: 0;
    width: 7px;
    height: 14px;
    background: linear-gradient(180deg, #FF6D3B 0%, #FFA270 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 109, 59, 0.9), 0 0 4px #FF6D3B;
    pointer-events: none;
    z-index: 5;
    animation: dropHeadMove 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Hero timeline animation */
#hero-timeline .step-line {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -24px;
    width: 0;
    border-left: 1px dashed rgba(9, 183, 220, 0.5);
    pointer-events: none;
}
#hero-timeline .step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 100%;
    background-color: #09B7DC;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
}
#hero-timeline .step-line.is-active::after {
    animation: heroLineDropFill 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes heroLineDropFill {
    0%   { clip-path: inset(0 0 100% 0); opacity: 1; }
    100% { clip-path: inset(0 0 0% 0);   opacity: 1; }
}
@keyframes heroDropHeadMove {
    0%   { top: 0%;   opacity: 0; transform: translate(-50%, -6px) scale(0.6); }
    20%  { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
    85%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
    100% { top: 100%; opacity: 0; transform: translate(-50%, 4px) scale(0.5); }
}
#hero-timeline .timeline-droplet {
    position: absolute;
    left: 0;
    width: 7px;
    height: 14px;
    background: linear-gradient(180deg, #09B7DC 0%, #7FE3F7 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(9, 183, 220, 0.9), 0 0 4px #09B7DC;
    pointer-events: none;
    z-index: 5;
    animation: heroDropHeadMove 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
#hero-timeline .step-icon,
#hero-timeline .step-title {
    transition: all 0.5s ease-out;
}
#hero-timeline .hero-step.is-reached .step-icon {
    background-color: #09B7DC;
}
#hero-timeline .hero-step.is-current .step-icon {
    box-shadow: 0 0 16px rgba(9, 183, 220, 0.45);
    transform: scale(1.05);
}
#hero-timeline .hero-step.is-reached .step-title {
    color: #09B7DC;
}

/* Card Top Gradient Smooth Scroll Reveal */
.service-gradient-line {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.service-gradient-line.is-visible {
    transform: scaleX(1);
}

/* Solid Seafoam Green Lifecycle Vertical Track Line */
.lifecycle-track-line {
    background-color: var(--color-orange) !important;
    width: 2px !important;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: clip-path;
}
.lifecycle-track-line.is-active {
    clip-path: inset(0 0 0% 0);
}
.lifecycle-track-line.no-anim {
    transition: none !important;
    clip-path: inset(0 0 100% 0) !important;
}

/* Right Cards Hover Gradient Slide Effect */
.support-step-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #DFE5EC;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.support-step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #09B7DC;
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}
.support-step-card:hover::before {
    transform: translateX(0%);
}
.support-step-card:hover {
    border-color: #09B7DC;
    box-shadow: 0 16px 36px rgba(9, 183, 220, 0.25);
}
.support-step-card > * {
    position: relative;
    z-index: 3;
}

/* About Page Timeline Vertical Line Fill Transitions */
.journey-timeline-wrapper {
    position: relative;
}
.journey-track-base {
    position: absolute;
    left: 21px;
    width: 2px;
    background-color: #DEE5F2;
    z-index: 1;
    transform: translateX(-50%);
}
.journey-track-progress {
    position: absolute;
    left: 21px;
    width: 2px;
    height: 0px;
    background-color: #FF6D3B;
    z-index: 2;
    transform: translateX(-50%);
    will-change: height;
}
.journey-step-circle {
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.journey-step-circle.is-active {
    background-color: #FF6D3B !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px 0 rgba(255, 109, 59, 0.3);
    transform: scale(1.05);
}
.journey-step-year {
    color: #0E2B74;
    transition: color 0.3s ease;
} 
.journey-step-item.is-active .journey-step-year {
    color: #FF6D3B !important;
}

/* Show pills one by one */
.deploy-card .point-pill.pill-hidden {
    opacity: 0;
    transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
    .deploy-card .point-pill.pill-hidden {
        opacity: 1;
        transform: none;
    }
}

/* Capabilities Page */
.acms-diagram-scaler {
    width: 600px;
    height: 600px;
    position: relative;
    transform-origin: center center;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .acms-diagram-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        width: 100%;
        height: 380px;
    }
    .acms-diagram-scaler {
        transform: scale(0.60);
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .acms-diagram-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 520px;
    }
    .acms-diagram-scaler {
        transform: scale(0.85);
    }
}
.anim-no-transition {
    transition: none !important;
}
.circle-draw-mask {
    stroke-dasharray: 1433;
    stroke-dashoffset: 1433;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-draw-mask.is-animated {
    stroke-dashoffset: 0;
}
.anim-solid-spoke {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.anim-solid-spoke.is-animated {
    stroke-dashoffset: 0;
}
.anim-hub-box {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}
.anim-hub-box.is-animated {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.anim-module-card {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease, box-shadow 0.3s ease;
}
.anim-module-card.is-animated {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.anim-module-card:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
    box-shadow: 0 16px 32px rgba(14, 43, 116, 0.15) !important;
}

.industry-card-item {
    position: relative;
    border: 1px solid #00000033;
    background-color: #ffffff;
    border-radius: 21px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.35s ease;
}
.opt-card-item {
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.35s ease;
}
.industry-card-item:hover,
.opt-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(14, 43, 116, 0.16);
}

.cf-wrap { display: flex; flex-direction: column; gap: 20px; }
.cf-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cf-submit {
    width: 100%;
    padding: 16px 36px;
    border: 0;
    border-radius: 9999px;
    background: var(--color-dark-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgb(20 17 17 / 40%);
    transition: all 0.3s ease;
}
.cf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgb(20 17 17 / 60%);
}

/* Header */
#header-logo a img {
	width: 100%;
	height: 80px;
}

/* Footer */
.footerForm .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footerForm .wpcf7-form-control-wrap { display: block; }

.footerForm .cf-input {
  width: 100%;
  background: #FFFFFF1A;
  border: 1px solid #FFFFFF33;
  border-radius: 5px;
  padding: 10px 16px;
  color: #fff;
  box-sizing: border-box;
}
.footerForm .cf-input::placeholder { color: #FFFFFF80; }

.footerForm .cf-textarea {
  height: 46px;
  min-height: 46px;
  resize: none;
  overflow: hidden;
  line-height: 1.4;
}

.footerForm .cf-msg { margin-top: 10px; }
.footerForm .cf-btn-wrap { margin-top: 16px; }

.footerForm .cf-btn {
  background: #9FE2BF;
  color: #191C29;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 5px;
  border: 1px solid #9FE2BF;
  cursor: pointer;
  transition: all .5s ease-in-out;
}
.footerForm .cf-btn:hover {
  background: #fff;
}

.footerForm .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.7em;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

/* Responsive Overrides (max-width Desktop-First) */
@media (min-width: 1024px) {
	#header-inner .nav-items {
		position: relative;
		padding: 28px 0;
	}
	#header-inner.is-scrolled .nav-items {
		padding: 16px 0 !important;
	}
	#header-nav > ul > li > a::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0px;
		width: 100%;
		height: 2px;
		background: var(--color-dark-blue);
		border-radius: 0 0 3px 3px;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .35s cubic-bezier(.16, 1, .3, 1);
		pointer-events: none;
	}
	#header-nav > ul > li:hover > a::before,
	#header-nav > ul > li:focus-within > a::before,
	#header-nav > ul > li.current-menu-item > a::before,
	#header-nav > ul > li.current-menu-ancestor > a::before,
	#header-nav > ul > li.current-menu-parent > a::before  {
		transform: scaleX(1);
	}
}

@media (max-width: 1023px) {
    .site-main h1 {
        font-size: 2.5rem;
    }
    .site-main h2 {
        font-size: 1.9rem;
    }
	
	#header-nav .sub-menu > li {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
    }
    #header-nav li:hover > .sub-menu > li,
    #header-nav li:focus-within > .sub-menu > li {
        opacity: 1;
        transform: translateY(0);
    }
    #header-nav li:hover > .sub-menu > li:nth-child(1) { transition-delay: .05s; }
    #header-nav li:hover > .sub-menu > li:nth-child(2) { transition-delay: .10s; }
    #header-nav li:hover > .sub-menu > li:nth-child(3) { transition-delay: .15s; }
    #header-nav li:hover > .sub-menu > li:nth-child(4) { transition-delay: .20s; }
    #header-nav li:hover > .sub-menu > li:nth-child(5) { transition-delay: .25s; }
    #header-nav li:hover > .sub-menu > li:nth-child(6) { transition-delay: .30s; }
    #header-nav li:hover > .sub-menu > li:nth-child(7) { transition-delay: .35s; }
    #header-nav li:hover > .sub-menu > li:nth-child(8) { transition-delay: .40s; }
	
	#header-logo a img {
		height: 65px;
	}
}

@media (max-width: 767px) {
    .site-main h1 {
        font-size: 2rem;
    }
    .site-main h2 {
        font-size: 1.6rem;
    }
}

@media (min-width: 639px) {
	.cf-grid { grid-template-columns: 1fr 1fr; }
    .cf-submit { width: auto; }
}
 
@media (prefers-reduced-motion: reduce) {
    #header-nav .sub-menu > li { transition: none; transform: none; }
}