/* hero-styles.css */

.hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-family: sans-serif;
    box-sizing: border-box;
    overflow-x: clip;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    padding: 175px 20px 20px;
    z-index: 1;
    margin: 0 auto;
    box-sizing: border-box;
    align-self: stretch;
	width: 100%;
	max-width: min(1390px, 100%);
	min-width: 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	margin-bottom: 40px;
	min-width: 0;
	width: 100%;
}

.based-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 0.875rem;
}

.based-label i {
    margin-right: 5px;
}

.based-label .content {
    display: flex;
    font-weight: 500;
    opacity: 0.8;
}

.based-label .content span {
    margin-left: 5px;
    font-weight: 700;
}

.hero-headline {
    font-size: 85px;
	line-height: 85px;
	letter-spacing: -1.44px;
    color: #fff;
    font-weight: 700;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.hero-headline .highlight {
    color: #b92429;
}

.hero-services-container {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
    overflow-y: visible;
}

.hero-services {
	display: flex;
	flex-direction: row;
	gap: 8px;
	transition: transform 0.5s ease-in-out;
	min-width: 0;
	width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 25px;
	flex: 1 1 0;
	min-width: 0;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-sizing: border-box;
    color: #fff;
    transition: background-color 0.3s ease;
    text-align: left;
    position: relative;
    justify-content: space-between; /* Distribute space */
	min-height: 330px;
}

.desktop-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between; /* Distribute space vertically */
}

.service-card .item__content {
    text-align: left;
}
.service-card .item__content h5{
	font-size:24px;
	font-weight:700;
	line-height:28px;
	margin-bottom:16px;
	margin-top:0px
}

.service-card .item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space horizontally */
    margin-top: 0;
    width: 100%; /* Ensure bottom takes full width */
    box-sizing: border-box; /* Include padding in width calculation */
	
}

.service-card .item__art--desktop {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .item__art--desktop img{
    width: 56px;
    height: 56px;
    filter: brightness(0) invert(1);
}

.service-card .item__bottom--desktop {
    display: flex;
    align-items: center;
}


.service-card__link { /* Common link styles */
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
	position: absolute; 
	top: 0; 
	left: 0; 
	padding:48px;
}

.service-card__link:hover{
	text-decoration:none;
	color:#b92429;
    cursor: pointer;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.service-card__link:hover .arrow-btn i { /* Target the arrow icon */
    color: #b92429; /* Your desired red color */
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.service-card__link:hover .item__art img { /* Target the image inside item__art */
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(2844%) hue-rotate(347deg) brightness(70%) contrast(97%);
	transition: all .1s ease;
	-webkit-transition: all .1s ease;
}

.service-card__link--mobile {
    display: none; /* Hide mobile link on desktop */
}


.arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
	color: #b92429
}

.arrow-btn i {
    font-size: 1.2rem;
}

/* Hide Mobile Content on Desktop */
.mobile-content,
.service-card .item__art--mobile,
.service-card .item__bottom--mobile {
    display: none;
}


.awards-recognitions {
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px auto 0;
    position: relative;
    overflow: hidden; /* Important: Keep this for clipping the blur */
	border-radius: 25px;
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.awards-recognitions h4 {
	color: #fff;
    font-weight: 300;
    margin-right: 20px;
    white-space: normal;
    text-align: left;
    max-width: 115px;
    z-index: 1; /* Ensure text is above the blur */
    position: relative;
	line-height: 18px;
	letter-spacing: -.12px;
    font-family: "Work-Sans-Medium", sans-serif;
    font-size: 18px;
}

.awards-recognitions .items {
    display: flex;
	flex-direction: row;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
    align-items: center;
    gap: 15px;
    z-index: 1; /* Ensure images are above the blur */
    position: relative;
}

.awards-recognitions .items img {
    max-height: 130px;
    max-width: 150px;
}
	.service-card .item__content p
	{
		margin: 0;
		font-size: 14px;
	}

/* AI audit (third hero card): same layout as other cards, white surface, Calendly CTA */
.service-card--ai-audit {
	background: #ffffff;
	color: #1a1a1a;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease;
}

.service-card--ai-audit:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.ai-audit-card-wrap--desktop {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 48px;
	box-sizing: border-box;
}

.ai-audit-card-wrap--mobile {
	display: none;
}

.service-card--ai-audit .item__content h5 {
	color: #111;
}

.service-card--ai-audit .ai-audit-bullets {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	color: #444;
	line-height: 1.4;
}

.service-card--ai-audit .ai-audit-bullets li {
	position: relative;
	padding-left: 1.35em;
	margin-bottom: 10px;
}

.service-card--ai-audit .ai-audit-bullets li:last-child {
	margin-bottom: 0;
}

.service-card--ai-audit .ai-audit-bullets li::before {
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 0.15em;
	color: #b92429;
	font-size: 12px;
	line-height: 1;
}

.service-card--ai-audit .item__art--desktop img {
	filter: none;
	width: 56px;
	height: 56px;
}

/* Mobile audit icon: solid black glyph on white card */
.service-card--ai-audit .item__art--mobile img {
	width: 44px;
	height: 44px;
	filter: brightness(0);
	object-fit: contain;
}

.service-card--ai-audit .item__bottom--desktop {
	align-items: center;
}

.btn-ai-audit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border-radius: 999px;
	background-color: #b92429;
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.25s ease;
	white-space: nowrap;
}

.btn-ai-audit:hover {
	background-color: #9a1e22;
	color: #fff !important;
	text-decoration: none;
}

.btn-ai-audit:focus-visible {
	outline: 2px solid #b92429;
	outline-offset: 2px;
}

/* Mobile Styles */
@media (max-width: 1100px) {
	
	.service-card__link--desktop {
        display: none; /* Hide desktop link on mobile */
    }

    .service-card__link--mobile {
        display: block; /* Show mobile link on mobile */
        width: 100%;
		height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
		position: absolute; 
		top: 0; 
		left: 0; 
		padding: 24px;

    }
	.service-card .item__content h5
	{
		font-size: 15px;
		line-height: 24px;
	}
	
	.hero-headline {
  font-size: 29px;
  line-height: 36px;
	}
	.hero-text{
		margin-bottom:0px;
	}
	
    .desktop-content {
        display: none;
    }
    .mobile-content {
        display: flex;
        flex-grow: 1;
        align-items: flex-start;
		gap: 24px;
    }
	.hero-section {
		display: block;
		width: 100%;
		max-width: 100%;
	}
    .hero-services {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ai-audit-card-wrap--desktop {
        display: none;
    }

    .service-card {
        flex-direction: row;
        width: 100%;
        margin: 10px 0;
        padding: 20px !important;
        align-items: stretch;
        position: relative;
		min-height: 120px;
    }

    .service-card .item__art--desktop,
    .service-card .item__bottom--desktop {
        display: none;
    }

    .service-card .item__content {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .service-card .text-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }


    .service-card .item__bottom--mobile {
        display: flex;
        align-items: flex-end;
        margin-left: auto;
        margin-top: auto;
		flex-direction: column;
		flex-shrink:2;
    }

    .service-card .item__art--mobile {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
	.service-card .item__art--mobile img{
        width: 42px;
        height: 42px;
        filter: brightness(0) invert(1);
    }

    /* AI audit: full-width card; in-flow layout so height includes bullets + CTA (absolute was collapsing the card) */
    .service-card.service-card--ai-audit {
        order: -1;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        padding: 20px !important;
        min-height: auto;
        align-items: stretch;
        box-sizing: border-box;
    }

    .ai-audit-card-wrap--mobile {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* Mobile audit: column stack — full-width bullets, CTA right on its own row */
    .service-card--ai-audit .mobile-content.ai-audit-mobile-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-height: 0;
        box-sizing: border-box;
        flex-grow: unset !important;
        gap: 0;
    }

    .service-card--ai-audit .ai-audit-mobile-head {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        min-width: 0;
    }

    .service-card--ai-audit .ai-audit-mobile-head .item__art--mobile {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card--ai-audit .ai-audit-mobile-heading {
        margin: 0;
        font-size: 15px;
        line-height: 1.25;
        font-weight: 700;
        color: #111;
        flex: 1;
        min-width: 0;
    }

    .service-card--ai-audit .ai-audit-bullets--block {
        width: 100%;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.4;
        margin: 0 0 14px 0;
        padding: 0;
        box-sizing: border-box;
        color: #444;
    }

    .service-card--ai-audit .ai-audit-bullets--block li {
        margin-bottom: 8px;
    }

    .service-card--ai-audit .ai-audit-bullets--block li:last-child {
        margin-bottom: 0;
    }

    .service-card--ai-audit .ai-audit-mobile-footer {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-top: auto;
        padding-top: 4px;
    }

    .service-card--ai-audit .ai-audit-mobile-footer .btn-ai-audit {
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
    }

    .service-card.service-card--ai-audit .ai-audit-mobile-head .item__art--mobile img {
        filter: brightness(0) !important;
        width: 44px !important;
        height: 44px !important;
    }

    .arrow-btn {
        width: 30px;
        height: 30px;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
	
	 .awards-recognitions {
        flex-direction: column; /* Stack the title and items */
        align-items: center; /* Align to the left */
        justify-content: flex-start;
        filter: none; /* Remove blur on mobile */
        margin-top: 30px;
    }

    .awards-recognitions h4 {
        margin: 0 0 20px 0;
        white-space: normal;
        text-align: center;
		max-width: 100%;
    }

     .awards-recognitions .items {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
        width: 100%; /* Important: Set a width */
        box-sizing: border-box; /* Include padding and border in width */
		justify-content: flex-start;
    }

    .awards-recognitions .items::-webkit-scrollbar {
        display: none;
    }

    .awards-recognitions .items img {
        max-width: 90px;
        height: auto;
        flex-shrink: 0; /* Prevent images from shrinking */
    }
}