/* Variables */

:root {
    /*--primary-blue-color: #044c86;*/
    --primary-blue-color: #081045;
    --primary-green-color: #198754;
    --primary-white-color: white;
    --primary-light-color: rgba(255, 255, 255, 0.7);
    --primary-grey-color: #dbdbdb;
    --primary-mid-grey-color: #f1f1f1;
    --primary-light-grey-color: #f3f3f3;
    --primary-dark-color: #212529;
    --primary-border-radius-size: 6px;

    /* Added */
    --primary-color: #0546d5;
    --secondary-color: #F1C21B;
    --tertiary-color: #7D2AE8;

    --bs-border-radius: 4rem;
}

/* End Variables */

/* Lib */

::-moz-selection {
    color: var(--primary-white-color);
    background: var(--primary-blue-color);
}

::selection {
    color: var(--primary-white-color);
    background: var(--primary-blue-color);
}

/* RTL support (for Arabic) */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-switcher {
    flex-direction: row-reverse;
}

[dir="rtl"] .shape-2 {
    right: 0 !important;
    transform: scale(8) rotateY(37deg) rotateX(217deg) !important;
}

/* End RTL support (for Arabic) */

body {
    line-height: 1.7;
    word-break: break-word;
    background-color: var(--bs-gray-300);
}

.img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

input {
    border-width: 2px !important;
}

label {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    line-height: 1.5;
}

.primary-color {
    color: var(--primary-blue-color);
}

.bg-primary-color {
    background: var(--primary-blue-color);
}

.br-radius {
    border-radius: var(--primary-border-radius-size);
}

.form-control, .form-select {
    padding: 8px 16px;
    border: 2px solid var(--primary-grey-color);
    color: var(--primary-blue-color);
    font-weight: 500;
    font-size: 14px;
    caret-color: var(--primary-green-color);
    transition: none;
}

.form-control::placeholder {
    color: var(--primary-blue-color);
    font-weight: 300;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-blue-color);
    color: var(--primary-blue-color);
}

.border-red {
    border-color: red;
}

.btn-pr {
    background-color: var(--primary-blue-color);
    border-color: var(--primary-blue-color);
    color: var(--primary-white-color);
}

.btn-pr:hover,
.btn-pr:focus {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
    color: var(--primary-white-color);
}

.messages.alert {
    list-style: none;
    margin: 16px 0;
}

.loader {
    max-width: 50px;
    width: 100%;
    height: 50px;
    margin: 0 auto;
}

.loader svg {
    width: 100%;
    height: 100%;
}

.errorlist {
    background-color: var(--bs-danger);
    border-radius: 4px;
    color: white;
    font-weight: bold;
    list-style: none;
    margin-bottom: 8px;
    padding: 2px 8px;
    font-size: 14px;
}

.form-check-input:checked {
    background-color: var(--primary-blue-color);
    border-color: var(--primary-blue-color);
}

.text-tertiary {
    color: var(--tertiary-color);
}

/* End Lib */

/* Glow animation */

.glow-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    padding: 12px;
    text-align: center;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-animation:hover {
    color: var(--primary-light-color);
}

.glow-animation:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-animation:active {
    color: black;
}

.glow-animation:active:after {
    background: transparent;
}

.glow-animation:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* End Glow animation */

/* Button circle animation */

.button-circle-animation-block {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-circle-animation {
    min-width: 300px;
    min-height: 60px;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #313133;
    background: #4FD1C5;
    background: linear-gradient(90deg, rgba(129, 230, 217, 1) 0%, rgba(79, 209, 197, 1) 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgba(79, 209, 197, .64);
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button-circle-animation::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(300px + 12px);
    min-height: calc(60px + 12px);
    border: 6px solid #00FFCB;
    box-shadow: 0 0 60px rgba(0, 255, 203, .64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
}

.button-circle-animation:hover, .button-circle-animation:focus {
    color: #313133;
    transform: translateY(-6px);
}

.button-circle-animation:hover::before, .button-circle-animation:focus::before {
    opacity: 1;
}

.button-circle-animation::after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 6px solid #00FFCB;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.button-circle-animation:hover::after, .button-circle-animation:focus::after {
    animation: none;
    display: none;
}

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* End Button circle animation */


/* Slider */
.splide__arrow {
    background-color: var(--primary-grey-color) !important;
    opacity: 1 !important;
    font-size: 14px;
    max-width: 40px;
    width: 100% !important;
    height: 40px !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.splide__arrow--prev {
    left: 0 !important;
    /*transform: translate(-50%, -50%) !important;*/
    transform: translate(4px, -50%) !important;
}

.splide__arrow--next {
    right: 0 !important;
    /*transform: translate(50%, -50%) !important;*/
    transform: translate(-4px, -50%) !important;
}

.sp-prev-outside {
    transform: translate(-50%, -50%) !important;
}

.sp-next-outside {
    transform: translate(50%, -50%) !important;
}

.splide__arrows--ttb .splide__arrow {
    opacity: .5 !important;
}

.splide__arrows--ttb .splide__arrow--prev,
.splide__arrows--ttb .splide__arrow--next {
    top: 50% !important;
    right: 0 !important;
    left: unset !important;
}

.splide__arrows--ttb .splide__arrow--prev {

    transform: translate(-50%, -50%) !important;
}

.splide__arrows--ttb .splide__arrow--next {
    transform: translate(-50%, 100%) !important;
}

.splide__pagination {
    bottom: 0 !important;
    transform: translateY(calc(100% + 16px));
}

.splide__pagination__page.is-active {
    transform: scale(1.2) !important;
}

/* End Slider */


/* Navbar */

.navbar {
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
    font-size: 14px;
    font-weight: bold;
    padding: 4px 0;
    backdrop-filter: blur(32px);
    margin-bottom: 12px;
}

.navbar .navbar-brand {
    height: 48px;
    padding: 0;
    max-width: 150px;
}

.navbar .navbar-brand .img {
    object-fit: contain;
    border-radius: 8px;
}

.navbar-nav .nav-link {
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: var(--primary-border-radius-size);
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-white-color);
    color: var(--primary-blue-color) !important;
}

/* End Navbar */


/* Home */

.home-banners img {
    object-fit: contain;
}

.shape-2 {
    position: absolute;
    width: 85px;
    height: 85px;
    top: -100px;
    z-index: -1;
    left: 0;
    opacity: 0.7;
    transform: scale(8) rotate(37deg);
}

.shape-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    opacity: 0.1;
    object-fit: contain;
    /*transform: scale(2.3) rotate(45deg);*/
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .shape-1 {
        /*transform: scale(1.5) rotate(45deg);*/
    }
}

.store-badges a {
    flex: 1;
}

.store-badges img {
    object-fit: contain;
}

.wave {
    position: absolute;
    content: "";
    width: 400px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top right;
    top: -200px;
    right: -300px;
    opacity: 0.8;
    object-fit: contain;
}

.wave-2 {
    position: absolute;
    content: "";
    width: 400px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    top: -300px;
    left: -300px;
    opacity: 0.7;
    object-fit: contain;
}

.about .about-images img {
    height: 400px;
    object-fit: contain;
}

.facts {
    background-color: var(--primary-color);
    color: var(--primary-white-color);
    padding: 64px 0;
    text-align: center;
}

.facts i {
    font-size: 32px;
    margin-bottom: 16px;
}

.fact-item {
    margin: 32px 0;
}

.testimonial-item {
    background-color: rgba(132, 94, 194, 0.1) !important;
    border-radius: 16px;
    overflow: hidden;
}

.testimonial-item blockquote {
    padding: 24px 24px 0 24px;
}

.test-auth {
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    background-image: url(./../images/home/testi-wave.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    padding: 40px 20px 10px;
    background-size: 100%;
}

/* End Home */


/* Services */

.services {
    overflow-x: hidden;
}

.service-item {
    border: 2px solid var(--primary-color);
    background: #F4ECFF;
    padding: 32px;
    border-radius: 32px;
    margin-bottom: 32px;
}

.service-item h4 {
    margin-bottom: 16px;
    color: var(--tertiary-color);
}

.service-item p {
    color: var(--primary-blue-color);
}

/* End Services */


/* Footer */

.footer-container {
    background-color: var(--tertiary-color);
    padding: 32px 0;
    color: var(--primary-white-color);
}

.footer-container .footer-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 8px;
    border-radius: 8px;
}

.footer-container .logo {
    max-width: 64px;
    border-radius: 8px;
}

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

.footer-shape {
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    object-fit: contain;
    transform: translateY(1px);
}

/* End Footer */


/* START Pagination */

.page-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

.page-pagination li {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin: 5px 10px;
}

.page-pagination li a {
    color: var(--primary-blue-color);
    background-color: var(--primary-light-color);
    padding: 10px;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
}

.page-pagination li a i {
    line-height: 24px;
}

.page-pagination li a:hover {
    color: var(--primary-white-color);
    background-color: var(--primary-blue-color);
}

.page-pagination li.active a {
    color: var(--primary-white-color) !important;
    background-color: var(--primary-blue-color);
}

.page-pagination li:first-child a {
    color: var(--primary-blue-color);
    width: auto;
    padding: 10px 20px;
}

.page-pagination li:first-child a i {
    margin-right: 10px;
    float: left;
}

.page-pagination li.active a:hover {
    color: var(--primary-white-color);
    background-color: var(--primary-blue-color);
}

.page-pagination li:last-child a {
    width: auto;
    padding: 10px 20px;
    flex-direction: row-reverse;
}

.page-pagination li:last-child a i {
    margin-left: 10px;
    float: right;
}

/* End Pagination */

/* Call Button (Right bottom side) */

.call-button.top-call-button {
    bottom: 120px;
}

.call-button.top-call-button {
    background: linear-gradient(135deg, #00C4CC 0%, #7D2AE8 100%);
}

.call-button .bx {
    color: white;
    top: -2px;
    left: 0;
    font-size: 32px;
}

.call-button .bx-phone-call {
    font-size: 24px;
}

.call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7D2AE8 0%, #0546d5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(125, 42, 232, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    color: white;
    text-decoration: navajowhite;
    font-size: 24px;
}

.call-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(125, 42, 232, 0.6);
}

.call-button:active {
    transform: scale(0.95);
}

.call-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.call-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #7D2AE8 0%, #0546d5 100%);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #7D2AE8;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.call-button:hover .tooltip {
    opacity: 1;
}

/* End Call Button (Right bottom side) */


@media only screen and (max-width: 992px) {
    .container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .shape-2 {
        width: 28px;
    }
}
