:root,
[data-bs-theme="light"] {
    --bs-secondary-rgb: 232, 68, 53;
}

.btn-outline-secondary {
    --bs-btn-hover-bg: #E84435;
}

body {
    background-color: #fff;
}

#newsletter .strip,
.accordion-header .accordion-button,
.bg-gray {
    background-color: #F3F2F8;
}

.header .navbar-nav .nav-item a,
.header .navbar-nav .nav-item .nav-link {
    width: fit-content;
}

.header .navbar,
.banner {
    background-color: var(--bs-body-bg);
}

.client {
    padding: 2.5rem 0;
}

.section-title h3 {
    color: #222;
}

.bg-biparted {
    background: linear-gradient(to bottom, #F3F2F8 0%, #F3F2F8 46%, #FFF 46%, #FFF 100%);
}

.card-image {
    border: 0;
}

.testimonial-item {
    border-radius: 12px;
}

.testimonial-item .icon {
    background-color: transparent;
    top: 3rem;
    left: 6rem;
    width: 12rem;
}

.testimonial-item .icon img {
    opacity: 0.15;
}

#features .row>*:nth-of-type(-n+3) {
    margin: 0 0 2rem;
}

#features .block {
    overflow-y: hidden;
    position: relative;
    border-radius: 1.5rem;
}

#features .block .block-content {
	padding: 2.5rem;
}

#features .block h5 {
    margin-bottom: 2.5rem;
}

#features .block p {
    font-size: 1.425rem;
    line-height: 18px;
	overflow: hidden;
	-webkit-line-clamp: 7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

#features .block .icon {
    min-height: 6rem;
    margin-bottom: 1rem;
}

#features .row>*:nth-of-type(odd) .block .icon {
    width: 44px;
}

#features .row>*:nth-of-type(even) .block .icon {
    width: 36px;
}

#vertical-grid h2 {
    font-size: 4rem;
}

#vertical-grid .owl-stage {
    padding-left: 0 !important;
}

#vertical-grid .vertical-card,
#vertical-grid .vertical-card img {
    border-radius: 20px;
}

#vertical-grid .vertical-card {
    overflow: hidden;
    position: relative;
}

#vertical-grid .vertical-card img {
    width: 100%;
    transform: scale(1.075);
    transition: transform 200ms ease-in;
}

#vertical-grid .vertical-card:hover img {
    transform: scale(1.0);
    transition: transform 200ms ease-in;
}

#vertical-grid .vertical-card img.icon {
    max-width: 40px;
    border-radius: 0;
}

#vertical-grid .vertical-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, transparent 36%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
}

#vertical-grid .vertical-card .overlay .overlay-content {
    position: absolute;
    bottom: -16%;
    left: 0;
    padding: 2.5rem;
    text-align: left;
    transition: bottom 300ms ease-in;

    h3 {
        color: #fff;
        margin: 2rem 0;
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        font-size: 2.5rem;
    }

    p {
        margin-bottom: 0;
        font-size: 1.675rem;
        line-height: 18px;
        font-weight: 400;
        overflow: hidden;
        -webkit-line-clamp: 4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
}

#vertical-grid .vertical-card .overlay:hover .overlay-content {
    bottom: 0;
    transition: bottom 300ms ease-in;
}

#newsletter .strip {
    border-radius: 1.5rem;
}

#newsletter .form-control {
    background-color: #EDEDF0;
    border: none;
    padding: 0 1.5rem;
    border-radius: 1rem 0 0 1rem;
}

#newsletter .btn:hover {
    background-color: #E84435 !important;
    color: #fff;
}

#newsletter {
    h2 {
        font-size: 3.75rem;
    }

    p {
        font-size: 1.85rem;
    }
}

.shadow-top {
    box-shadow: 0 -2rem 3rem #d9f0ff;
}

.shadow-bottom {
    box-shadow: 0 1rem 2rem #d9f0ff;
}

.bg-biparted .card {
    border-radius: 1rem;
}

.bg-biparted:not(#home-video) .card img {
    height: 80px;
}

.accordion .accordion-item,
.accordion .accordion-item .accordion-header {
    border-radius: 1rem;
}

.accordion-item {
    border: 0;
}

.accordion-button {
    border-radius: 1rem;
    padding: 1rem 2rem;
    height: 7rem;
}

.accordion-item:first-of-type .accordion-button,
.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 1rem;
}

.accordion-body {
    background-color: #F3F2F8;
    border-radius: 0 0 1rem 1rem;
    padding: 0 2rem 2rem;
}

.accordion-button:not(.collapsed) {
    color: #000;
    box-shadow: none;
    border-radius: 1rem 1rem 0 0;
}

.accordion-item:first-of-type .accordion-button:not(.collapsed) {
    border-radius: 1rem 1rem 0 0;
}

.accordion-button:focus {
    box-shadow: none;
}

#contact-form form .item {
    position: relative;
}

#contact-form form label {
    background-color: white;
    position: absolute;
    top: -11px;
    left: 30px;
    padding: 0.25rem 1rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

#contact-form form .form-control {
    background-color: #fff;
    border-color: #777;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
}

#contact-form form textarea {
    min-height: 200px;
}

.footer {
    background-color: #020A1F !important;
}

.footer-bottom {
    background-color: #000 !important;
}

.footer .footer-widget__content .scroll-menu {
    overflow-y: auto;
    display: block;
    max-height: 420px;
}

.title-bar {
    width: 80%;
    height: 0px;
    border-top: 2px solid #E84435;
    margin-bottom: 2rem;
}

#industries .card-body, #services .card-body {
    min-height: 214px;
    padding: 3rem 3rem 1.5rem;
}

#industries .card img, #services .card img {
    width: 36px;
    margin-bottom: 2.5rem;
}

#industries .italic, #services .italic {
    font-style: italic;
    font-size: 2rem;
}

.process-block__step img {
    padding: 1.75rem;
    margin-top: -6px;
}

.process-block__step::after {
    left: 9.2rem;
}

.process-block:hover .process-block__step {
    background-color: #fff;
}

#filter .input-group {
    width: fit-content;
    padding: 0 .5rem .5rem 1.5rem;
    background-color: #fff;
    position: absolute;
    right: 0;
}

#filter input {
    border-radius: 2.5rem;
    height: 100%;
}

#filter .btn {
    border-radius: 0 .5rem .5rem 0;
}

#filter .form-outline {
    width: 24rem;
    position: relative;
    border: 1px solid #444;
    border-radius: 2.5rem;
}

#filter .form-control {
    padding: 0.75rem;
}

#filter .form-outline input {
    width: 80%;
    margin-left: auto;
    margin-right: 1rem;
    border: 0;
    background-color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

#filter .form-outline input:focus {
    box-shadow: none;
}

#filter .form-outline button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
}

#filter .filter-container {
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    padding-left: 1rem;
}

#filter .filter-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
}

#filter ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    padding-left: 0;
}

#filter ul .active {
    color #088acf:
    font-weight: 600;
}

#filter ul::-webkit-scrollbar {
    display: none;
}

#filter ul li {
    flex-shrink: 0;
    margin: 0 0.5rem;
    padding: 0.75rem 1.5rem;
}

#filter ul li:first-child {
    position: sticky;
    left: 0;
    background: white; /* Ensure visibility */
    z-index: 10;
    font-weight: bold;
}

#filter ul li a {
    display: block;
    width: max-content;
    text-decoration: none;
    color: black;
}

#filter ul li:hover {
    background-color: #088acf;
    border-radius: 25px;
}

#filter ul li:hover a {
    color: #fff;
}

#filter #search {
    box-shadow: 0 3px 2px #e5e5e5;
}

#portfolio .card-body .excerpt p {
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#portfolio .page-numbers {
    font-size: 1.5rem;
    font-weight: 600;
    padding: .5rem .75rem;
}

#portfolio .page-numbers:not(.current) {
    opacity: 0.6;
}

// Blog Section
#blog-section .card {
    border-radius: 1.5rem;
    background-color: #F3F2F8;
}

#blog-section .card-body .excerpt {
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#blog-section .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

#blog-section .card-grid .blog-dummy {
    background-color: #007EC5;
}

#blog-section .card-grid .card-body {
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#blog-section .card-grid .card-body .date {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

#blog-section .card-grid .card-body .excerpt p {
    font-size: 1.35rem;
}

#blog-section .card-grid .card .blog-dummy {
    display: flex;
    height: 100%;

    img {
        transform: scale(0.9);
        object-fit: contain;
    }
}

#blog-section .card-grid .card:first-of-type {
    grid-row: span 3;
}

#blog-section .card-grid .card:first-of-type .card-image {
    border-radius: 1.2rem 1.2rem 0 0;
    height: 60%;
}

#blog-section .card-grid .card:first-of-type .blog-dummy {
    width: 100%;
}

#blog-section .card-grid .card:not(:first-of-type) {
    grid-row: span 1;
}

#blog-section .card-grid .card:not(:first-of-type) .card-image {
    border-radius: 1.2rem 0 0 1.2rem;
}

#blog-section .card-grid .card:not(:first-of-type) .blog-dummy {
    width: 240px;
    display: flex;
}

#blogArchive .card {
    border-radius: 1.2rem;
}

#blogArchive .card-body h5 {
    min-height: 7.25rem;
}

#blogArchive .card-body p {
    font-size: 1.4rem;
}

#blogArchive .card-body p:first-of-type {
    font-weight: 500;
    font-size: 1.5rem;
}

#blogArchive .card .card-image {
    border-radius: 1.2rem 1.2rem 0 0;
}

#industry .card-body__overlay {
    h5 {
        color: #fff;
    }

    p {
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        font-size: 1.5rem;
    }
}

#industries .card, #services .card {
    background-color: #fff;
}

#why-us .card,
#industries .card,
#services .card {
    box-shadow: -2px 1rem 1rem #EBF7FE;
}

#cta h2 {
    font-size: 3.5rem;
}

.socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
}

.socials li {
    width: 40px;
    height: 40px;
    border: 1px solid #888;
    border-radius: 50%;
    text-align: center;
    list-style-type: none;
    padding: 0.75rem 0;
    background-color: #F3F2F8;
    color: #2F2E5C;
}

.side-links li {
    font-size: 1.7rem;
    line-height: 2;
}

.sidebar.sticky {
    position: sticky;
    top: 80px;
    z-index: 9;
}

#blog-header h1 {
    line-height: 1.5;
}

#blog-header img {
    border-radius: 20px;
}

#blog .block {
    margin-bottom: 2rem;
}

#blog .sidebar .card {
    border-radius: 20px;
}

#blog-content .block img {
    border-radius: 2rem;
    margin-bottom: 2rem;
}

#blog-content .block-content h5 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#blog-content .block-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 2rem;
}

#downloadModal .modal-content .form-bg {
    width: 100%;
    display: block;
    position: relative;

    h3 {
        color: #fff;
        position: absolute;
        top: 4rem;
        left: 4rem;
        width: 400px;
    }

    img {
        height: 52.5vh;
        object-fit: cover;
        border-radius: 20px 0 0 20px;
    }
}

#downloadModal .modal-content label {
    margin-bottom: 1rem;
}

.topbar {
    text-align: center;
    padding: 1.5rem;
    background-color: #00235A;
    transition: padding 250ms ease-in-out, height 250ms ease-in-out;

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4rem;
    }
}

.topbar a,
.topbar p {
    color: #fff;
    font-size: 1.5rem;
}

.topbar a {
    font-weight: 700;
}

.topbar p {
    margin-bottom: 0;
}

.topbar.hide {
    padding: 0;
    height: 0;
}

#blogCarousel.owl-carousel .owl-nav [class*="owl-"] {
    top: -8rem;
}

#blogCarousel.owl-carousel .owl-nav .owl-prev {
    left: unset;
    right: 10rem;
    transform: unset;
}

#blogCarousel.owl-carousel .owl-nav .owl-next {
    right: 3rem;
    transform: unset;
}

.link-fa-arrow:hover i {
    transform: translateX(10px);
}

.link-fa-arrow i {
    transform: translateX(5px);
    transition: transform 0.25s ease;
}

.faq_section .accordion-wrapper {
    display: flex;
    gap: 2rem;
}

.faq_section .accordion-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq_section .accordion-item {
    display: flex;
    flex-direction: column;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

//Previous Code
.videos .card .card-body {
    background-color: #fff;
}

.sidebar-categories__list ul li .nav-link {
    font-size: 1.4rem;
}

.client-item img {
    opacity: 0.75;
    margin: 0 auto;
    filter: grayscale(0)
}

.sidebar-title {
    margin-bottom: 3.5rem;
}

.card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.bg-linear {
    background-color: #fff;
}

.card-image.blue-gradient::after {
    background: linear-gradient(to bottom, transparent 10%, rgba(3, 14, 73, 0.5) 55%, rgba(3, 14, 73, 0.9) 100%);
}

.freedemoModal .modal-content {
    border-radius: 20px;
}

.freedemoModal .modal-content .modal-body .owl-carousel .card {
    margin-left: 0;
}

.freedemoModal .modal-content .modal-body .owl-carousel .active .card {
    margin-left: -1px;
}

.freedemoModal .modal-content iframe {
	height: 450px;
	border-radius: 20px;
}

.site-lead a {
    color: #ff9575;
}

.wpcf7-spinner {
    display: none !important;
}

.tab-content {
    height: 1168px;
    overflow-x: hidden;
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    /* make scrollbar transparent */
}

.meetings-iframe-container {
    height: 67rem;
}

.meetings-iframe-container iframe {
    height: 100% !important;
}

@media (max-width: 545px) {
    .alt-title {
        margin-top: 5rem;
        margin-bottom: 3rem;
    }

    .spacing--padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .video-category-dropdown {
        max-width: 100%;
    }

    .sidebar {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .sidebar-categories {
        margin-top: 2.5rem;
    }

    .sidebar-title {
        margin-bottom: 2.5rem;
    }

    .sidebar-categories__list {
        margin-bottom: 2rem;
    }

    .tab-content {
        height: 686px;
    }

    .client-item {
        text-align: center;
    }

    .header .navbar-collapse {
        background-color: #fff;
        margin-top: 1rem;
    }

    .modal-content {
        width: 90%;
        margin: 1.75rem auto;
    }

    .freedemoModal .modal-content .modal-body .owl-carousel .card {
        width: calc(100% + 3px);
    }

    .topbar {
        padding: 1rem 1rem 1.25rem;
    }

    .topbar .container {
        gap: 1rem;
        flex-direction: column;
    }

    .banner {
        padding-top: 7rem;
    }

    .banner .client {
        margin-top: 3.5rem;
    }

    .client-item img {
        padding: 0 0.75rem;
    }

    #cta h2 {
        font-size: 2.25rem;
    }

    .testimonial-item {
        margin: 0 2.5rem 3.5rem;
        padding: 3.5rem 3rem;
    }

    .testimonial-item .icon img {
        opacity: 0;
    }

    #features .block {
        box-shadow: 0 2px 2rem #d9f0ff;
    }

     #features .row>*:nth-of-type(n+4) {
        margin: 0 0 2rem;
    }

    .header .navbar.sticky {
        padding: 2rem 0 1rem;
    }

    .faq_section .accordion-wrapper {
        flex-direction: column;
    }

    #newsletter h2 {
        font-size: 2.75rem;
    }

    #newsletter .form-control {
        border-radius: 1rem;
    }

    #vertical-grid .vertical-card .overlay .overlay-content {
        bottom: 0;
    }

    #industries .card-body, #services .card-body {
        padding: 3rem 3rem 0;
    }

    #why-us .card, #industries .card, #services .card {
        box-shadow: 0px 2px 2rem #d9f0ff;
    }

    #blog-section .card-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    #blog-section .card-grid .card:not(:first-of-type) .blog-dummy {
        width: 100%;
    }

    #blog-section .card-grid .card:not(:first-of-type) .card-image {
        border-radius: 1.2rem 1.2rem 0 0;
    }
}

@media (min-width: 992px) {
    .case-image {
        height: 24.5rem;
    }

    .video-card img {
        width: 100%;
    }

    .modal-home {
        --bs-modal-width: 992px;
    }

    .home-banner video {
        width: 88%;
        float: right;
    }

    .testimonial-item {
        padding: 5.5rem 19rem 5rem;
    }

    .testimonial-item {
        margin: 2.5rem 6rem;
        min-height: 350px;
    }

    .navbar-expand-lg .navbar-nav .nav-item.dropdown {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .nav-item .dropdown-menu {
        padding: 0.25rem 2rem;
        min-width: 10%;
        background-color: #fff;
        border: none;
        border-radius: 1rem;
        display: none;
        top: 100%;
        left: 0;
        z-index: 1000;
        margin-top: 10px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar-expand-lg .navbar-nav .nav-item .dropdown-menu.scroll-menu {
        overflow-y: auto;
        display: block;
    }

    .navbar-expand-lg .navbar-nav .nav-item .dropdown-menu.show {
        display: block;
    }

    /* Hoverable gap between parent and dropdown */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 10px; /* Match this with margin-top of .dropdown-menu */
        bottom: -10px; /* Adjust based on your spacing */
        background: transparent;
        z-index: 999;
    }

    /* Show dropdown on hover */
    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover .dropdown-menu,
    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover::after {
        opacity: 1;
        visibility: visible;
    }

    /* Keep dropdown visible when hovering over it */
    .navbar-expand-lg .navbar-nav .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
    }

    .navbar-expand-lg .navbar-nav .nav-item .dropdown-menu li {
        padding: 1rem 0;
        width: max-content;
    }

    #features .row>*:nth-of-type(n+4) {
        margin-top: 6rem;
    }

    #features .block {
        height: 250px;
        transition: box-shadow 250ms ease-in-out;
    }

    #features .block:hover {
        box-shadow: -2px 1rem 1rem #EBF7FE;
        transition: box-shadow 250ms ease-in-out;
    }

    #features .block .block-content {
        position: absolute;
        top: 40%;
        transition: top 300ms ease-in;
    }

    #features .block .block-content .icon {
        opacity: 1;
        transition: opacity 250ms ease-in-out;
    }

    #features .block:hover .block-content {
        top: -25%;
        transition: top 300ms ease-in;
    }

    #features .block:hover .block-content .icon {
        opacity: 0;
        transition: opacity 250ms ease-in-out;
    }
}

@media (min-width: 1200px) {
    .form-control {
        font-size: 1.3rem;
    }

    .btn {
        --bs-btn-font-size: 1.4rem;
    }

    .process-block__step::after {
        width: 11.25rem;
    }

    .banner {
        height: calc(100vh - 146px);
        align-items: flex-start;
    }

    #vertical-grid .vertical-card .overlay .overlay-content {
        bottom: -24%;
    }

    #vertical-grid .vertical-card .overlay .overlay-content h3 {
        font-size: 2rem;
    }

    #features .block h5 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1400px) {
    .case-image {
        height: 29.5rem;
    }

    .process-block__step::after {
        width: 12.5rem;
    }

    .banner {
        padding: 4.5rem 0 0;
        height: 76vh;
    }

    .owl-carousel .owl-nav [class*="owl-"] img {
        width: 1.75rem;
    }

     #vertical-grid .vertical-card .overlay .overlay-content {
        bottom: -22%;
    }

    #downloadModal .modal-content .form-bg img {
        height: 55.5vh;
    }
}

/*125% Laptop Resolution*/
@media (min-width: 1500px) {
    #vertical-grid .vertical-card .overlay .overlay-content {
        bottom: -20%;
    }

    #downloadModal .modal-content .form-bg img {
        height: 57.5vh;
    }
}

@media (min-width: 1600px) {
    .process-block__step::after {
        width: 20rem;
    }

    .banner {
        height: 72vh;
    }
	
	#vertical-grid .vertical-card .overlay .overlay-content {
		bottom: -15.3%;
	}
}
