@media only screen and (max-width: 767px) {
    .onboarding-card .bottom-element {
        display: block;
    }
    .form-input input, .form-input textarea {
    	width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    .hiw-steps {
        border: 0;
    }

    .hiw-step {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 48px 0;
        gap: 29px;
    }

    .hero-content {
        flex-wrap: wrap;
        gap: 38px;
    }

    .hero-content .hero-left {
        width: 100%;
    }

    .hero-content .hero-right img {
        height: 323px;
    }

    .hiw-step .step-visual {
        width: 100px;
    }

    .header-inner {
        padding: 16px 0;
    }

    .hiw-step .step-visual img,
    .final-cta-left,
    .final-cta-right,
    .footer-card .footer-left,
    .footer-card .footer-right,
    .white-card .card-content,
    .white-card .card-visual {
        width: 100%;
    }

    .step-num,
    .trial-cta-right .divider,
    .white-card .card-content h3 {
        display: none;
    }

    .hiw-head h2,
    .final-cta-inner h2,
    .integration-head h2,
    .why-head h2,
    .faq-title {
        font-size: 40px;
    }

    .why-head h2 {
        text-align: left;
        line-height: 1.2;
    }

    .white-card .card-visual {
        border: 0;
    }

    .white-card .card-visual::after {
        content: none;
    }

    .step-content h4,
    .onboarding-left h3,
    .platform-cta h4 {
        font-size: 32px;
    }

    .platform-cta {
        margin-top: 0;
        padding-top: 80px;
    }

    .onboarding-left h3 {
        text-align: center;
    }

    .faq-section {
        padding: 40px 0 150px 0;
    }

    .hero h1 {
        font-size: 32px;
        text-align: left;
    }

    .hero-grid {
        background: url(../assets/images/hero-bg-grid-mob.svg) top center no-repeat;
    }

    .hero-desc {
        text-align: left;
        margin-top: 32px;
    }

    .section-head h3 {
        font-size: 24px;
        max-width: 62%;
    }

    .section-head .subtext {
        max-width: 74%;
    }

    .hiw-head p,
    .onboarding-left p,
    .hero-desc,
    .section-head .subtext {
        font-size: 15px;
    }

    .onboarding-left p {
        margin: 16px auto;
    }

    .white-card .card-content h3,
    .mob-accordion h3 {
        font-size: 30px;
    }

    .onboarding {
        text-align: center;
    }

    .onboarding-card {
        grid-template-columns: 1fr;
        padding: 36px 24px 0 24px;
    }

    .onboarding-item h5 {
        justify-content: center;
    }

    .onboarding-card .onboarding-right {
        border-left: 0;
    }

    .onboarding-card .onboarding-right .onboarding-item {
        padding: 30px;
    }

    .trial-cta-inner,
    .trial-cta-right,
    .final-cta-inner,
    .footer-card .footer-right .row1 ul {
        flex-wrap: wrap;
    }

    .trial-cta-inner {
        padding: 0 30px;
        text-align: center;
        gap: 27px;
        justify-content: center;
    }

    .trial-cta-right {
        justify-content: center;
    }

    .trial-cta-right p {
        text-align: center;
        width: 90%;
    }

    .faq-title {
        text-align: center;
    }

    .final-cta-left {
        border-right: 0;
    }

    .final-cta-inner h2 {
        margin: 0 auto;
        text-align: center;
    }

    .final-cta-right {
        padding-left: 0;
        text-align: center;
        align-items: center;
        gap: 33px;
    }

    .final-cta-inner {
        gap: 23px;
    }

    .footer-card {
        padding: 40px 26px;
        gap: 39px;
    }

    .footer-card,
    .footer-card .footer-right .row2 {
        flex-wrap: wrap;
    }

    .footer-card .footer-right .row2 {
        border-top: 1px solid #A7E2DF;
    	align-items: start;
    }

    .footer-card .footer-right {
        padding-left: 0;
        border-left: 0;
        gap: 39px;
    }

    .footer-card .footer-right .row1 ul {
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-card .footer-right .row2 .footer-col {
        width: calc(100% / 2);
        padding-top: 20px;
        padding-bottom: 15px;
    }
	
	/*
    .footer-card .footer-right .row2 .footer-col:first-child {
        order: 3;
        border-right: 1px solid #A7E2DF;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(2) {
        order: 2;
        border-right: 0;
        border-bottom: 1px solid #A7E2DF;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(3) {
        order: 4;
        border-right: 0;
        text-align: center;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(4) {
        order: 1;
        border-right: 1px solid #A7E2DF;
        border-bottom: 1px solid #A7E2DF;
        padding-left: 0;
    }
	*/
	
    .footer-card .footer-right .row2 .footer-col:first-child {
        order: 1;
        width: 100%;
        height: auto;
        border-right: 0;
        text-align: center;
        padding: 28px 0;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(2) {
        order: 3;
        border-right: 0;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(3) {
        order: 4;
        border-right: 0;
        padding-right: 28px;
        text-align: center;
    }

    .footer-card .footer-right .row2 .footer-col:nth-child(4) {
        order: 0;
        border-right: 1px solid #A7E2DF;
        border-bottom: 1px solid #A7E2DF;
        padding-left: 0;
    }

    .security-text {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-col a {
        word-break: break-word;
    }

    .integration-slider .swiper-slide {
        padding: 0 26px;
        min-width: 140px;
    }

    .onboarding-card .bottom-element {
        position: unset;
    }

    .onboarding-card .bottom-element img {
        width: 100%;
        height: 100%;
    }
    
    .onboarding-left a {
    	margin-bottom: 16px;
    }

    .how-it-works {
        padding: 59px 0 130px;
    }

    .benefit-grid .row1,
    .benefit-grid .row2 {
        grid-template-columns: 1fr;
    }

    .benefit-grid .row1::after,
    .benefit-card:after,
    .row2 .benefit-card:after {
        content: none;
    }

    .benefit-grid {
        padding: 50px 0;
        background: transparent;
    }

    .benefit-card {
        padding: 24px 0;
        border-bottom: 1px solid #C0EDEE;
    }

    .benefit-card p {
        width: 100%;
        text-align: left;
    }

    .benefit-card .benifit-card-head {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        width: 100%;
    }

    .benefit-card h4 {
        text-align: left;
    }

    .platform-cta div.inner-platfrom-card .inner-card-wrapper {
        max-width: 90%;
    }

    .platform-cta div.inner-platfrom-card {
        background: url(../assets/images/platform-bg-mob.svg) center / cover no-repeat, #F3FFFE;
    }

    .trial-cta {
        background: url(../assets/images/free-trail-bg-mob.svg) center / cover no-repeat, #072F35;
    }

    .site-header .btn.web {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: #FFFFFF;
        flex-direction: column;
        top: 75px;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1000;
        height: fit-content;
        overflow-y: auto;
        display: block;
        height: 100vh
    }

    /* OPEN STATE */
    .nav.nav-open {
        transform: translateX(0);
    }

    .mega-grid {
        flex-wrap: wrap;
        gap: 5px;
    }

    .mega-grid .header-column {
        width: 100%;
        padding: 0;
        border-right: 0;
    }

    .header-btn a.header-btn-anchor {
        font-size: 18px !important;
        padding: 16px;
    }

    .header-btn a.header-btn-anchor img {
        height: 18px;
    }

    .nav ul li a {
        padding: 0;
    }

    .nav .mob {
    	display: block;
		margin-top: 30px;
    	text-align: center;
    }

    .nav a.main-link {
        font-size: 20px;
        font-weight: 500;
        color: #0E7F8F;
        padding: 23px;
        position: relative;
    }
	
	/*
    .header-list ul {
        margin-left: 35px;
    }

    .header-list ul li {
        padding: 12px 10px;
        border-bottom: 0 !important;
    }
    */
    
    .header-list {
    	display: none;
    }

    .nav ul {
        flex-wrap: wrap;
        gap: 0 !important;
    }

    .header-btn {
        margin-bottom: 10px;
    }

    .nav ul li {
        width: 100%;
        border-bottom: 1px solid #C0EDEE;
        position: relative;
    }

    .mega-menu {
        position: unset;
        width: 100%;
        padding: 10px 13px;
        border-radius: 0;
        /* height: 45vh; */
        overflow-y: scroll;
    }

    body.menu-open .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    body.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .icon-circle {
        width: 55px;
        height: 55px;
    }

    .icon-circle img {
        width: 50%;
    }

    .section-head {
        margin-bottom: 33px;
        padding: 0 20px;
    }

    .white-card .white-card-top {
        flex-wrap: wrap;
    }

    .white-card .card-content {
        padding: 10px;
    }

    .feature-list li {
        border-bottom: 1px solid #C0EDEE;
        padding: 20px 0;
        margin-bottom: 0;
    }

    .feature-list li:first-child {
        border-top: 1px solid #C0EDEE;
    }

    .feature-list li:last-child {
        border-bottom: 0;
    }

    .white-card .white-card-bottom {
        padding-left: 10px;
        padding-top: 20px;
        border-top: 1px solid #C0EDEE;
    }

    .white-card {
        margin-bottom: 0;
        border-radius: 0;
    }

    .why-tabs {
        padding: 0;
        width: 100%;
    }

    .tab-btn {
        width: 50%;
    }

    .agentic-platform .container-large {
        padding: 0 0;
    }

    .agentic-platform {
        padding: 150px 0 0;
    }

    .why-opencfo .why-head {
        align-items: flex-start;
    }

    .why-head p {
        text-align: left;
    }

    .hero {
        padding: 56px 0 0;
        margin-bottom: -90px;
    }

    main {
        margin-top: 55px;
    }

    .mob-accordion {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .white-card .dropdown-arrow {
        width: 18px;
        transition: transform 0.3s ease;
    }

    /* Hide content initially */
    .white-card .white-card-top,
    .white-card .white-card-bottom {
        display: none;
    }

    /* OPEN STATE */
    .white-card.active .white-card-top,
    .white-card.active .white-card-bottom {
        display: block;
    }

    /* Rotate arrow */
    .white-card.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .mob-accordion h3 {
        margin-bottom: 0;
        width: 80%;
    }

    .nav li>a.main-link::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%) rotate(270deg);
        transition: transform 0.3s ease;
        background-image: url('/assets/images/down-arrow.svg');
        background-repeat: no-repeat;
        background-size: contain;
        width: 16px;
        height: 16px;
    }

    .nav li:has(.mega-menu)>a.main-link::after {
        transform: rotate(0deg);
        right: 23px;
    }
    
    .nav li.open a.main-link::after {
        transform: rotate(180deg);
        right: 23px;    
    }

    .cfo-grid {
        background: url('../assets/images/open-cfo-bg-mob.svg') center center no-repeat;
        background-size: contain;
        top: -90%;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
	.how-it-works .container-large {
	    text-align: center;
	}
	.hiw-head {
	    margin-left: auto;
	    margin-right: auto;
	}
	.hiw-steps {
	    text-align: center;
	}
    .hiw-step {
        align-items: center;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .onboarding-card .bottom-element {
        display: none;
    }
    .form-input input, .form-input textarea {
    	width: 50%;
    }
    .footer-brand {
    	max-width: 100%;
    	text-align: center;
    }
    .footer-brand p {
	    max-width: 80%;
	    margin-left: auto;
	    margin-right: auto;
	}
	/*
	.footer-card .footer-right .row2 .footer-col {
		padding: 0;
	}
	*/
	.footer-card .footer-right .row1 ul {
        gap: 30px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .footer-card .footer-right .row2 .footer-col {
        width: calc(100% / 3);
        padding-top: 20px;
        padding-bottom: 15px;
    }
    .footer-card .footer-right .row2 .footer-col:first-child {
    	order: 2;
    	width: calc(100% / 3);
    	height: 100%;
    	justify-content: center;
    }
    .footer-card .footer-right .row2 .footer-col:nth-child(2) {
    	order: 1;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) {

    .footer-card .footer-right {
        padding-left: 16px;
    }

}