/********** Template CSS **********/
:root {
    --primary: #A294C7;
    --secondary: #999999;
    --light: #F2F8FE;
    --dark: #111111;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.text-primary {
    color: #A294C7 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
    background-color: #A294C7;
    border-color: #A294C7;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Ensure circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Ensure circular shape for bullet points */
.d-flex .btn-sm-square {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Force circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent shrinking */
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

/*** Hero ***/
.hero-header img {
    border-radius: 25px;
}

.hero-header .animated.pulse {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item h5 {
    flex: 1;
    display: flex;
    align-items: center;
}

.service-item::after {
    /* Remove the cut corner styling */
    display: none;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    /* Remove opacity change on hover */
    opacity: 1;
}


/*** About ***/
.about img, 
.wow.fadeInUp img,
.img-fluid.rounded {
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/*** Roadmap ***/
.roadmap-carousel {
    position: relative;
}

.roadmap-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item .roadmap-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-carousel .roadmap-item .roadmap-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.roadmap-carousel .roadmap-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.roadmap-carousel .roadmap-item h5 {
    padding-top: 20px;
}

.roadmap-carousel .roadmap-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

.roadmap-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.roadmap-carousel .owl-nav .owl-prev,
.roadmap-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--primary);
    transition: .5s;
}

.roadmap-carousel .owl-nav .owl-prev:hover,
.roadmap-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: var(--dark);
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: var(--dark);
}

/* Privacy policy */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
  }
  
  .cookie-content {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .cookie-content p {
    margin: 0;
    font-size: 14px;
  }
  
  .cookie-buttons button {
    margin-left: 10px;
  }
  
/* Base Styles */
html, body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container, .container-xxl {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-6, .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Hide/Show Image Styles */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        text-align: center;
        margin-top: 2rem;
    }

    .mobile-only img {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Horizontal alignment for payment images */
    .col-12.text-center img {
        display: inline-block;
        margin: 0 5px;
        width: 40px !important; /* Adjust size for smaller screens */
    }

    .btn-sm-square {
        width: 32px;
        height: 32px;
        border-radius: 50%; /* Retain circular shape on mobile */
    }

    /* Retain circular shape on mobile */
    .d-flex .btn-sm-square {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-6 {
        font-size: 1.8rem;
    }

    .hero-header {
        padding: 40px 0;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-xxl, .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden;
    }

    .hero-header .img-fluid {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .hero-header .col-lg-6.animated.fadeIn {
        display: flex;
        justify-content: center;
    }

    .hero-header .animated.pulse {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .hero-header .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-header .btn.btn-primary {
        align-self: center;
        margin-top: 10px;
    }

    .hero-header .row {
        flex-direction: column !important;
    }

    .hero-header .col-lg-6:first-child {
        order: 1;
    }

    .hero-header .col-lg-6:last-child {
        order: 2;
        margin-top: 2rem;
    }

    .container-xxl .row {
        flex-direction: column !important;
    }

    .container-xxl .col-lg-6.wow.fadeInUp[data-wow-delay="0.1s"] {
        order: 2;
        margin-top: 2rem;
    }

    .container-xxl .col-lg-6.wow.fadeInUp[data-wow-delay="0.5s"] {
        order: 1;
    }

    .container-xxl img.img-fluid {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .p-5 {
        padding: 2rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .g-5 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }

    .service-item {
        padding: 20px !important;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .roadmap-carousel .roadmap-item {
        padding-top: 80px;
    }

    .roadmap-carousel .roadmap-item::before {
        height: 75px;
    }

    .roadmap-carousel .roadmap-item::after {
        top: 71px;
    }

    .text-primary.fs-8 {
        font-size: 0.9rem;
    }

    .fa-2x {
        font-size: 1.5em;
    }

    .btn {
        padding: 0.5rem 1.5rem;
    }

    .navbar-brand h2 {
        font-size: 1.5rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar .navbar-nav .nav-link {
        padding: 15px 0;
    }

    .footer {
        text-align: center;
    }

    .footer .d-flex.justify-content-md-end {
        justify-content: center !important;
    }

    .col-lg-6 {
        margin-bottom: 2rem;
    }

    .roadmap-carousel .owl-nav {
        margin-top: 20px;
    }

    .hero-header .row {
        flex-direction: column;
    }

    .hero-header .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    .hero-img {
        display: block;
        margin: 30px auto 0 auto;
        max-width: 90%;
        height: auto;
    }

    #getwhat .service-item h5 {
        font-size: 1rem;
        line-height: 1.4;
    }

    #getwhat .service-item {
        padding: 1.5rem !important;
    }
}

/* Mobile Responsive Override */
@media (max-width: 576px) {
    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .navbar-brand h2 {
        font-size: 1.2rem;
    }

    .footer .text-md-end {
        text-align: center !important;
    }

    .footer .d-flex {
        justify-content: center !important;
    }

    .hero-header .row {
        flex-direction: column !important;
    }

    .hero-header .row {
        flex-direction: column-reverse;
    }
}

/* Additional Tablet Styles */
@media (min-width: 769px) and (max-width: 991px) {
    .display-4 {
        font-size: 3rem;
    }

    .service-item {
        padding: 30px !important;
    }
}

/* iPhone 12 Pro Specific Styles */
@media (max-width: 390px) {
    /* Center the hamburger menu */
    .navbar-toggler {
        margin: 0 auto;
    }

    /* Hamburger menu on the right */
    .navbar-toggler {
        margin-left: auto;
    }

    /* Smaller font size for texts in #getwhat section */
    #getwhat .service-item h5 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    #getwhat .service-item {
        padding: 1rem !important;
    }

    /* Horizontal alignment for payment images */
    .col-12.text-center img {
        display: inline-block;
        margin: 0 5px;
        width: 40px !important; /* Adjust size for smaller screens */
    }

    /* Social buttons as circles */
    .btn.btn-square {
        border-radius: 50% !important;
    }
}

/* iPhone 14 Pro Max Specific Styles */
@media (max-width: 430px) {
    /* Horizontal alignment for payment images */
    .col-12.text-center img {
        display: inline-block;
        margin: 0 5px;
        width: 40px !important; /* Adjust size for smaller screens */
    }
}