:root {
    --primary-color: #4B3992;
    --secondry-color: #242424;
    --text-color: #333333; 
    --text-light: #555555;
    --white: #ffffff;
    --dark: #1A1A1A;
    --blue-light:#edebf4;
    --bg-blue: linear-gradient(to bottom, #4b3992, #6c5bc2);
    --dark-blue : #2f0f68;
}
html {
  scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6{
    padding: 0;
    margin: 0;
}
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span{
    color: var(--primary-color);
}
h2{
    font-size: clamp(26px, 3.333vw, 38px);
    font-weight: 600;

}
.subtitle{
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

/*common Button*/
.btn-common{
    border-radius: 30px;
    padding: 10px 30px;
    text-decoration: none;
    border: none;
    position: relative;
    font-weight: 500;
    box-shadow: inset 0 6px 12px 0 hsla(0, 0%, 100%, .12), inset 0 1px 1px 0 hsla(0, 0%, 100%, .2);
    filter: drop-shadow(0 1px 2px rgba(8, 8, 8, .2)) drop-shadow(0 4px 4px rgba(8, 8, 8, .08));
    font-size: 16px;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.btn-common:hover,
.btn-common:focus{
    background: var(--white);
    color: var(--primary-color);
}
.btn-common:hover::before,
.btn-common:focus::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    left: 0;
    top: 0;
}
.main-heading{    
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}
/*Header*/
.top-header {
    background: var(--primary-color);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    border-bottom: 1px solid #b8b6c1;
}

.top-header .header-tab {
    display: flex;
    gap:2px;
}
.top-header .header-tab a {
    color: var(--white);
    font-size: 1rem;
    display: inline-block;
    font-weight: 500;
    padding: 5px 20px;
    text-decoration: none;
    position: relative;
}
.top-header .header-tab a:hover,
.top-header .header-tab a:focus{
    background: var(--white);
    color: var(--primary-color);
}
.top-header .header-tab a.active {
    background: var(--white);
    color: var(--primary-color);
}
header{
    background: var(--white);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease; 
}
header ul.navbar-nav{
    gap: 10px;
}
header .navbar-nav .nav-item{
    position: relative;
}
header .navbar-nav .nav-item::after{
    position: absolute;
    content: '';
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 3px;
}
header .navbar-nav .nav-item:hover:after{
    transform: scaleX(1);
}
header .nav-link{
    color: var(--secondry-color);
    font-size: 16px;
    font-weight: 500;
} 
header .navbar-nav .nav-link.active, 
header .navbar-nav .nav-link.show,
header .nav-link:hover,
header .nav-link:focus
{
    color: var(--primary-color);
}
.header-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}
.header-btn a{
    display: inline-flex;
    justify-content: center;
    align-items: anchor-center;
    gap: 8px;
    font-size: 14px;
}

/*==== Banner section ====*/
.hero-section {
    padding: 5rem 0;
    position: relative;
    background: var(--blue-light);
}
.hero-content {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.hero-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.hero-tag img{
    width: 30px;
}
.hero-tag span {
    color: var(--white);
    font-size: clamp(14px, 1.404vh, 16px);
    padding: 10px 20px;
    display: inline;
    border-radius: 30px;
    font-weight: 600;
    background: linear-gradient(to bottom, #4b3992, #6c5bc2);
}
.hero-content h1 {
    font-weight: 600;
    margin: 3rem 0 1.5rem;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.side-icons {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.side-icons a{
    text-decoration: none;
}
.side-icons i {
    background: transparent;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    font-size: 20px;
    border: 1px solid;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.side-icons a:hover i,
.side-icons a:focus i{
    background: var(--primary-color);
    color: var(--white);
}

/*==== Counter section ====*/
.counter-section {
    padding: 4rem 0;
}
.counter-box {
    background: var(--bg-blue);
    color: var(--white);
    border-radius: 16px;
    padding: 15px 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    min-height: 180px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.counter-box:hover {
    transform: translateY(-5px);
}
.counter {
    font-size: 2rem;
    font-weight: 700;    
}
.counter-label {
    font-size: 1rem;
    font-weight: 500;
}

/*====Client Slider====*/
.home-clients-section {
    background: var(--blue-light);
    padding: 3rem 0;
}
.home-clients-section .main-heading{
    margin-bottom: 1rem;
}
.home-clients-section .owl-stage-outer {
	padding: 30px 10px;
}

.home-clients-section .owl-carousel .owl-stage {
	display: flex;
	justify-content: center;
	align-items: center;
    margin-left: -9px;
}

.home-clients-section .brands-img {
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    height: 85px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
}

.home-clients-section .brands-img img {
  max-height: 80px;
  object-fit: contain;
  padding: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.home-clients-section .brands-img img:hover {
  filter: grayscale(0%);
}

/*==== Feature section ====*/

.features-section {
  padding: 5rem 0 2rem;
  position: relative;
}
.f-card {
    position: sticky;
    top: 10rem;
    z-index: 1;
    min-height: 90vh;
    margin-bottom: 5rem;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 0.5px solid var(--primary-color);
    padding: 2rem;
    transform: scale(0.9) translateY(100px); 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.3s ease;
    will-change: transform;
    z-index: 0;
    background: linear-gradient(135deg, #FFFDEE 0%, #FFF9E5 100%)
}

.f-card.shrink {
 transform: scale(1) translateY(0);
  z-index: 3;
}

.f-card.active {
  z-index: 1;
}

.feature-text h3{
    font-weight: 600;
    margin: 2rem 0;
}
.f-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

/*====Template section====*/
.template-section{
    padding: 4rem 0;
    background: var(--blue-light);
}
.temp-box {
    text-align: center;
}
.temp-box h5{
    color: var(--secondry-color);
}
.template-img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.template-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/*====case study section====*/

.case-study-section{
    padding: 4rem 0;
}
.custom-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.custom-card-body {
    padding: 1rem 1rem 2rem;
    border-top: 1px solid var(--primary-color);
}
.custom-card .card-img-top {
    object-fit: contain;
    height: 200px;
}
.custom-card.text-white h6 {
    color: var(--primary-color);
    font-weight: 600;
}
.custom-card-body p {
    font-size: 14px;
}
.custom-card-body .btn-common{
    padding: 7px 30px;
    font-size: 16px;
}

/*====POS Integration Logo Slider Section====*/
.home-pos-slider-section {
    background: var(--blue-light);
    padding: 3rem 0;
}
.home-pos-slider-section .main-heading{
    margin-bottom: 1rem;
}
.home-pos-slider-section .owl-stage-outer {
	padding: 30px 10px;
}

.home-pos-slider-section .owl-carousel .owl-stage {
	display: flex;
	justify-content: center;
	align-items: center;
    margin-left: -9px;
}

.home-pos-slider-section .brands-img {
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    height: 85px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
}

.home-pos-slider-section .brands-img img {
  max-height: 80px;
  object-fit: contain;
  padding: 10px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.home-clients-section .brands-img img:hover {
  filter: grayscale(0%);
}

/*====Expert Section====*/
.expert-section {
    padding: 4rem 0;
}
.s-card {
    background: var(--white);
    padding: 1.5rem 1rem;
    margin: 0 0 1rem;
    border: 1px solid #ececec;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.s-card:hover {
    transform: translateY(-8px);
}
.e-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: 50%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.s-card h6 {
    font-weight: 600;
    margin: 0;
}
.s-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

/*====Tools Section====*/
.tools-section {
    padding: 4rem 0;
    background: var(--blue-light);
}
.tool-card-inner{
  position: relative;
  width: 100%;
  height: 150px;
  padding-bottom: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.tool-card:hover .tool-card-inner{
  transform: rotateY(180deg);
}

.tool-card-front, .tool-card-back{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
    cursor: pointer;
}

.tool-card-front {
    background: var(--bg-blue);
    color: var(--white);
}

.tool-card-back{
    color: var(--white);
    background: var(--dark-blue);
    transform: rotateY(180deg);
}

.tool-card-front h4,
.tool-card-back p{
    margin: 0;
}
.flip-icon {
    position: absolute;
    bottom: 30px;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.flip-icon i {
    font-size: 20px;
}

/*====Testionials Section====*/
.testimonials-section {
    padding: 4rem 0;
}
.testimonial-box {
    max-width: 900px;
    padding: 4rem 4rem 3rem;
    text-align: center;
    margin: 1rem auto;
    border-radius: 30px;
    background: var(--primary-color);
    color: var(--white);
}
.t-icon {
    width: 3rem;
    height: 3rem;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bs-white);
    border: 1px solid var(--white);
    margin: 0rem auto 2rem;
    color: var(--primary-color);
}

.t-icon i {
    font-size: 24px;
}

.name-designation h5 {
    font-weight: 600;
    margin-bottom: 0px;
}
.name-designation p {
    margin: 0;
}

.owl-theme.testimonial-carousel .owl-dots .owl-dot span{
    background: rgb(75, 57, 146, 0.7);
}
.owl-theme.testimonial-carousel .owl-dots .owl-dot.active span, 
.owl-theme.testimonial-carousel .owl-dots .owl-dot:hover span{
    background-color: var(--primary-color);
}
/*====Get A Demo Section====*/
.request-demo-section {
    padding: 2rem 0 4rem;
}
.request-demo-section .main-heading {
    margin-bottom: 2rem;
}
.contact-form {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(75, 57, 146, 0.2);
    outline: none;
}
/*====Footer====*/
.footer-top {
    padding: 4rem 0;
    background: var(--dark-blue);
    color: var(--white);
}
.footer-logo a {
    display: block;
}
.footer-logo,
.tag-line
 {
    margin: 0 0 1rem 0;
}
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social a {
    text-decoration: none;
    background: transparent;
    color: var(--white);
    padding: 10px;
    border-radius: 50%;    
    border: 1px solid;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;

}
.footer-social a:hover ,
.footer-social a:focus {
    transform: translateY(-3px);
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-nav li a {
    color: var(--white);
    text-decoration: none;
    position: relative;
}
.footer-nav li a::after{
    position: absolute;
    content: '';
    background: var(--white);
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
    width: 100%;
    bottom: -2px;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
}
.footer-nav li a:hover::after,
.footer-nav li a:focus::after{
    transform: scaleX(1);
}
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-info li a {
    color: var(--white);
    text-decoration: none;
}
.contact-info li a i{
    margin-right: 10px;
}
.footer-bottom {
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}
