* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    /*Agency f*/
    font-family: 'Saacom';
    src: url(/fonts/Saacom.woff) format('woff');
}

@font-face {
    /*segal*/
    font-family: 'Saacom2';
    src: url(/fonts/Saacom2.woff) format('woff');
}

@font-face {
    /*open*/
    font-family: 'Saacom3';
    src: url(/fonts/Saacom3.woff) format('woff');
}

@font-face {
    /*forte*/
    font-family: 'Saacom4';
    src: url(/fonts/Saacom4.woff) format('woff');
}

/*#f7f2ff*/
body {
    overflow-x: hidden;
    background-color: #f7f4fc;
    font-family: 'Saacom3', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: 'Saacom3', sans-serif;
}

.strong_text {
    color: #0f0441;
    font-weight: bold;
}

nav {
    background-color: #8270fc;
}

.safacom_name {
    font-family: 'Saacom';
    font-weight: 900;
    color: #0099ff;
}

.navbar {
    padding-top: 0.25rem;
    /* reduce padding */
    padding-bottom: 0.25rem;
}

.navbar-brand img {
    vertical-align: middle;
    /* better image alignment */
    height: 45px;
    /* or whatever height you want */
    object-fit: contain;
    /* optional to maintain aspect ratio */
}

.hero-container {
    padding-top: 100px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 10px;
    margin-top: 10px;

}

.nav-link {
    color: rgb(255, 255, 255) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: #ffffff !important;
    transform: scale(1.1);
    font-weight: 700;
    transition-duration: 0.5s;
}

/*----------Card Css For The Bussiness Types In Index Page-------------*/
/* Custom styles for the redesigned section */

.featured-cards {
    background-color: #f8f9fa;
    /* Light gray background for contrast */
}

.card-hover-shadow {
    position: relative;
    /* ensure arrow positions inside card */
    overflow: visible;
    /* prevent clipping of arrow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.card-hover-shadow::after {
    content: "→";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 1.5rem;
    color: #000;
    opacity: 0;
    /* hidden by default */
    transition: all 0.3s ease;
}

.card-hover-shadow:hover {
    transform: translateY(-5px);
    /* Lifts the card on hover */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    /* Adds a more pronounced shadow */
}

.card-hover-shadow:hover::after {
    opacity: 1;
    /* fade in on hover */
    transform: translateX(5px);
    /* subtle motion */
}

.card-img-custom {
    height: 200px;
    /* Fixed height for all images */
    object-fit: cover;
    /* Ensures images fill the space without distortion */
    transition: transform 0.3s ease-in-out;
}

.card-hover-shadow:hover .card-img-custom {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.card a.stretched-link {
    color: inherit;
    /* Ensures the link text color is inherited */
}

/* Add a pseudo-element to create a visual indicator */
.card a.stretched-link::after {
    content: "→";
    /* Or another suitable icon like a Font Awesome arrow */
    font-size: 1.5rem;
    color: #8270fc;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    transition: transform 0.3s ease-in-out;
}

/* Animate the arrow on hover or tap */
.card:hover .stretched-link::after,
.card:active .stretched-link::after {
    transform: translateX(5px);
}

/*---------------------------------*/

/*---FAQS----*/

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #8270fc;
    padding: 1rem 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #715cff;
    transition: color 0.2s ease;
}

.faq-item:hover {
    border-bottom: 2px solid #4c2bcf;
}

.faq_maha {
    border-bottom: 1px solid #df9114;
    padding: 1rem 0;
}

.faq_maha:hover {
    border-bottom: 2px solid #7E5109;
}

.faq-question:hover {
    color: #4c2bcf;
    /* Accent color */
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 300px;
    /* enough space for content */
    padding-top: 0.75rem;
}

/*-----FAQS ENDS-----*/

/*----Trust Section-----*/
#trust-section {
    background-color: #fdfbfe;
}

#trust-section .card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #0f0441;
}

#trust-section h2 {
    color: #f0dfed;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

#trust-section p {
    color: #ffffff;
    font-size: 0.95rem;
}

/*-----Trust Sections Ends here-----*/

/* Carousel css */
.carous-main-contain {
    position: relative;
}

.carou_contain {
    max-width: 800px;
    background-color: rgb(187, 193, 255);
    padding: 0px;
    border-radius: 25px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.carou-img-area {
    width: 200px;
    height: 200px;
    margin: 20% auto;
    border-radius: 50%;
    overflow: hidden;
    border: 10px ridge #101010;
}

.carou-img-area img {
    width: 100%;
    height: auto;
}

.carous-left-tap {
    color: #000000;
    font-weight: 900;
}

.carous-right-tap {
    color: #000000;
    font-weight: 900;
}

.carou-review {
    font-size: 16px;
    font-weight: 600;
    padding: 30px 0;
}

.carou-person {
    font-size: 18px;
    color: #101010;
    margin: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

/* optional */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #000000;
}

.carousel-indicators .active {
    background-color: #000000;
}

.carousel-indicators .active {
    border: 2px solid transparent;
    background-color: #000000 !important;
}

.carousel-indicators [data-bs-target] {
    height: 15px;
    width: 15px;
    background-color: inherit;
    border-radius: 50%;
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carou-designation {
    color: #101010;
    font-size: 14px;
}

.card-header {
    background-color: #CDC1FF !important;
}

.featureR-img-area {
    margin: 10% auto;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    height: auto;
}

.feature-text-r {
    font-size: 20px;
    font-weight: 400;
    padding: 30px 0;
}

/*.........Pricing Tab............*/

#software_pricing {
    scroll-margin-top: 70px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px gray;
}

.tab-section {
    display: none;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 10px;
    /*box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);*/
    margin: 0 auto;
    width: fit-content;
    box-shadow: 0 0.6rem 1rem rgba(0, 0, 0, 0.08);

}

.pricing-tab {
    text-decoration: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #000000;
    text-align: center;
    min-width: 80px;
}

.pricing-tab.active-tab {
    background-color: #8270fc;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-tab:hover:not(.active-tab) {
    background-color: #e0e0e0;
}

.tab-section {
    display: none;
}

.card-body li {
    padding: 0.2rem 0;
    list-style: none;
}

.card-body li::before {
    content: "✔ ";
    color: #a20681;
}

/* Add this to fix the left spacing */
.card-body ul {
    padding-left: 0;
    margin-left: 0;
}

.tab-section.show {
    display: block;
}

.card-header-yearly {
    background-color: #3a278b !important;
    color: white;

}

/*---------*/

.float_demo {
    background-color: #8270fc;
    color: #ffffff;
    width: 120px;
    height: 50px;
    border-radius: 5px;
    transition-duration: 0.4s;
    transition: all 0.3s ease-in-out;
}

.float_demo:hover {
    border: 2px solid #000;
    color: #ffffff;
    transform: scale(1.05);
    background-color: #973cff;
}

.custom-pricing-btn {
    color: rgb(0, 0, 0);
    border: 1px solid #8270fc !important;
    transition: all 0.3s ease;
}

.custom-pricing-btn:hover {
    background-color: #8270fc !important;
    color: #ffffff !important;
    border-color: #8270fc;
    transform: scale(1.05);
}

.strategy-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

/*animated success mark*/
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4caf50;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4caf50;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    margin: 0 auto 20px;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4caf50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/*--------Footer_starts--------*/
#footer-section {
    background-color: #8270fc;
}

.footer_links {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

.footer_links:hover {
    color: #fff;
    transform: scale(1.15);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2e2a4b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #6050dc;
    /* your brand purple */
    color: #fff;
}

/*-------Footer_Ends------*/

/*-----Update pop up------*/
.modal-content {
    border-radius: 1.25rem;
    overflow: hidden;
}

.modal-backdrop.show {
    opacity: 0.7;
}

/*--------------------*/
/*------whatsapp botton----*/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 15px;
}

/*-----Whatsapp css end -----*/
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 100px #ffffff;
    }
}

/*-----------*/
#Demo_form {
    scroll-margin-top: 80px;
}

/*-----------CSS for Moile view----------------*/
@media (max-width:560px) {

    .carou-img-area {
        margin: 5% auto 0;
    }

    .carou-img-text {
        text-align: center;
    }

    .carou-review {
        font-size: 20px;
        font-weight: 600;
        margin: 5px 0;
    }

    .carou-person {
        font-size: 15px;
    }

    .carou-designation {
        font-size: 10px;
    }

    .carous-right-tap {
        font-size: 12px;
    }

    .carous-left-tap {
        font-size: 12px;
    }

    .carousel-indicators [data-bs-target] {
        height: 15px;
        border: 1px solid #7f0dbd;
        width: 15px;
        background-color: inherit;
        border-radius: 50%;
    }

    .carousel-indicators .active {
        border: 1px solid transparent;
        background-color: #7f0dbd !important;
    }

    /* Features-R */
    .feature-img-text {
        text-align: center;
    }

    .feature-text-r {
        font-size: 20px;
        font-weight: 400;
        margin: 5px 0;
    }

    .featureR-img-area {
        padding-left: 25px;
    }

    .featurette-heading {
        font-size: 30px;
        font-weight: 600;
    }


    .form-control {
        border: 1px solid #ced4da;
        padding: 10px 15px;
        border-radius: 5px;
    }

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .btn-primary {
        background-color: #0d6efd;
        border: none;
        padding: 10px 25px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .btn-primary:hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
    }

    .faq-list {
        margin-left: 10px;
        margin-right: 10px;
    }

    /* Required field asterisk */
    .form-label .text-danger {
        font-size: 1.2em;
    }

    /*----------------------------------------------*/
    /* Compact form styling */
    #contactForm .form-control {
        padding: 8px 12px;
        height: calc(2.5rem + 2px);
    }

    #contactForm .btn {
        padding: 8px 12px;
        height: 2.5rem;
        white-space: nowrap;
    }

    .footer {
        padding: 20px;
    }

    /* Remove space between stacked fields on mobile */
    @media (max-width: 767.98px) {
        #contactForm .col-md-3 {
            margin-bottom: 8px;
        }

        .demo_inner_div {
            padding-left: 20px;
            padding-right: 20px;
        }

        .lang_text_sec {
            padding-left: 40px;
            padding-right: 40px;
        }
    }

    @media (max-width: 768px) {
        .card-hover-shadow::after {
            opacity: 1;
            /* always show */
        }
    }
}