﻿:root {
    --main-color: #3D8EEE;
    --secondary-color: #211F54;
    --text-color: #6d7192;
    --bg-white: #FAFAFA;
    --primary-btn-text: #FAFCFE;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    appearance: none;
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Particles */
canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- particles.js container ---- */

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/images/grid-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

/* ---- stats.js ---- */

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    -webkit-user-select: none;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}

/* Slider CSS */

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #3D95EE 0%, #211F54 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--bg-white);
    overflow-x: hidden;
}

.slider-container {
    min-height: calc(100vh - 80px);
    position: relative;
    perspective: 2000px;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.slide {
    position: absolute;
    width: 80%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(90deg) translateZ(-500px);
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    overflow: hidden;
}

    .slide.active {
        transform: translate(-50%, -50%) rotateY(0deg) translateZ(0px);
        opacity: 1;
        z-index: 10;
    }

    .slide.prev {
        transform: translate(-50%, -50%) rotateY(-45deg) translateZ(-300px) translateX(-40%);
        z-index: 5;
    }

    .slide.next {
        transform: translate(-50%, -50%) rotateY(45deg) translateZ(-300px) translateX(40%);
        z-index: 5;
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0px);
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 60px 0;
    width: 100%;
}

    .slide-content h1 {
        font-family: 'General Sans', sans-serif;
        font-size: 4.5rem;
        font-weight: 400;
        margin-bottom: 25px;
        animation: fadeInUp 0.8s ease-out;
        color: var(--bg-white);
    }

    .slide-content p {
        font-size: 1.5rem;
        font-weight: 300;
        letter-spacing: 1px;
        color: #d0d1db;
        max-width: 700px;
        margin: 0 auto;
        animation: fadeInUp 1s ease-out 0.2s both;
    }

.cta-btn {
    width: 230px;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: white;
    border-radius: 50px;
    padding: 9px 12px 11px 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
    cursor: pointer;
    overflow: hidden;
}

    .cta-btn p {
        position: relative;
        font-size: 1.2rem;
        z-index: 1;
        transition: .4s ease;
        color: #fff;
    }

    .cta-btn .arrow-container {
        position: relative;
        aspect-ratio: 1/1;
        border-radius: 999px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: black;
        flex-shrink: 0;
        transform: scale(1);
        transition: .4s ease;
    }

    .cta-btn .bg-scale {
        flex: none;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 999px;
        transition: .4s ease;
    }

    .cta-btn i {
        position: absolute;
        color: #000;
        height: 20px;
        transform: rotate(45deg);
        transition: .4s ease;
    }

    .cta-btn:hover p {
        color: #000;
        ;
    }

    .cta-btn:hover .bg-scale {
        transform: scale(14);
    }

    .cta-btn:hover i {
        transform: rotate(90deg);
    }

.slide-content img {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

.navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 100;
    pointer-events: none;
}

.nav-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-btn svg {
        width: 30px;
        height: 30px;
    }

    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    }

    .nav-btn:active {
        transform: scale(0.95);
    }

.indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.indicator {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .indicator::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: #fff;
        transition: width 0.3s ease;
    }

    .indicator.active::before {
        width: 100%;
    }

    .indicator:hover {
        background: rgba(255, 255, 255, 0.3);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .slide {
        width: 90%;
        height: 60%;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .navigation {
        padding: 0 20px;
    }
}

.slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* End of Slider CSS */

ul {
    color: #FF6359;
}

    ul span {
        color: #EEC419;
    }

.section-padding {
    padding: var(--section-padding);
}

/* Services */

.services {
    min-height: 100vh;
    padding: 80px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .services h1 {
        font-family: "General Sans", sans-serif;
        font-size: 5rem;
        font-weight: 400;
        max-width: 900px;
        margin: 0 auto 64px;
        line-height: 1.3;
    }

    .services span {
        font-size: 1.50rem;
        color: rgb(200, 200, 200);
    }

/* --- Grid Layout --- */
.grid-offer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

@media (min-width: 640px) {
    .grid-offer {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Card Styles --- */
.services .card {
    position: relative;
    background-color: rgba(33, 31, 84, 0.8);
    backdrop-filter: blur(20px);
    padding: 40px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    border: 0;
}

    .services .card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #4f46e5; /* indigo-600 */
        transition: clip-path 0.6s ease-in-out;
        z-index: 0;
    }

    .services .card:hover {
        box-shadow: 0.063rem 0.063rem 1.25rem 0.375rem rgba(0, 0, 0, 0.53);
    }

/* --- Circle Backgrounds --- */
.services .circle {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services .card:nth-child(1)::before {
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services .card:nth-child(2)::before {
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services .card:nth-child(3)::before {
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services .card:nth-child(4)::before {
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

.services .card:hover::before {
    clip-path: circle(110vw at 50% 50%);
}

/* --- Text Styling --- */
.services h2 {
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.services p {
    color: #9ca3af;
    position: relative;
    z-index: 1;
    transition: color 0.8s;
}

.services .card:hover p {
    color: #fff;
}

.grid-offer .card:nth-child(1) .service-content, .grid-offer .card:nth-child(3) .service-content {
    padding-right: 13rem;
}

.grid-offer .card:nth-child(2) .service-content, .grid-offer .card:nth-child(4) .service-content {
    padding-left: 15rem;
}

/* --- Background Images --- */
.services .card:nth-child(1) .circle {
    background: url("https://images.unsplash.com/photo-1587440871875-191322ee64b0?q=80&w=2071&auto=format&fit=crop") no-repeat center/cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services .card:nth-child(2) .circle {
    background: url("https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=2070&auto=format&fit=crop") no-repeat center/cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services .card:nth-child(3) .circle {
    background: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974&auto=format&fit=crop") no-repeat center/cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services .card:nth-child(4) .circle {
    background: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?q=80&w=2070&auto=format&fit=crop") no-repeat center/cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

/* Circle background layer */
@media screen and (min-width: 62.5rem) {
    .services .circle {
        position: absolute;
        inset: 0;
        z-index: 0;
    }
}

.services .card:nth-child(1) .circle {
    background: url("https://images.unsplash.com/photo-1587440871875-191322ee64b0?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3") no-repeat 50% 50% / cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services .card:nth-child(2) .circle {
    background: url("https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3") no-repeat 50% 50% / cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services .card:nth-child(3) .circle {
    background: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3") no-repeat 50% 50% / cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services .card:nth-child(4) .circle {
    background: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3") no-repeat 50% 50% / cover;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

/*-------------Projects-------------*/

.base-template__wrapper {
    max-width: 1560px;
}

.projects span {
    font-size: 1.50rem;
    color: rgb(200, 200, 200)
}

.base-template__title {
    display: block;
    margin-bottom: 80px;
    font-family: "General Sans", sans-serif;
    font-weight: 400;
    font-size: 5rem;
    text-align: center;
    line-height: 1.15;
    transition: color 0.4s ease;
}

/**
 * Slider Instance
 */

.swiper {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.emotions-slider {
    --color-gray: #818181;
    --color-gray-dark: #1e1e1e;
    padding-inline: 98px;
    position: relative;
}

.emotions-slider__slide {
    display: flex;
    align-items: center;
    min-height: 550px;
}

@media screen and (max-width: 767.9px) {
    .emotions-slider {
        padding: 0;
        margin-inline: -20px;
    }
}

/**
 * Slider Navigation
 */

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0 -50%);
    z-index: 1;
    pointer-events: none;
}

.slider-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 48px;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

    .slider-nav__item.disabled {
        cursor: default;
        opacity: 0.5;
    }

    .slider-nav__item path {
        stroke: currentColor;
    }

@media (hover: hover) and (pointer: fine) {
    .slider-nav__item:not(.disabled):hover {
        color: var(--color-blue);
    }
}

@media (hover: none) {
    .slider-nav__item:not(.disabled):active {
        color: var(--color-blue);
    }
}

@media screen and (max-width: 767.9px) {
    .slider-nav {
        display: none;
    }
}

/**
 * Slider Pagination
 */

.slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 40px 0;
}

.swiper-pagination-lock {
    display: none !important;
}

.slider-pagination__item {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #fff;
    transition: all 0.3s ease-out;
    opacity: 0.2;
}

    .slider-pagination__item.active {
        width: 30px;
        opacity: 1;
    }

/**
 * Slider Item
 */

.swiper-slide {
    width: auto;
    height: auto;
}

@keyframes btn-arrow-move {
    0% {
        transform: translate(0);
    }

    100% {
        transform: translate(100% -100%);
    }
}

section.base-template {
    display: flex;
    justify-content: center;
}

.emotions-slider-item {
    --border-radius: 10px;
    width: calc(100dvw - 60px);
    max-width: 400px;
    background: var(--color-gray-dark);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.emotions-slider-item__badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 5px;
    background: #00000066;
    border-bottom-right-radius: var(--border-radius);
    font-size: 14px;
    line-height: calc(24 / 14);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

    .emotions-slider-item__badge::before {
        content: "";
        flex-shrink: 0;
        display: block;
        aspect-ratio: 1;
        width: 18px;
        background: url("https://bato-web-agency.github.io/bato-shared/img/slider-1/icon-star.svg") center center no-repeat;
        background-size: 100%;
    }

.emotions-slider-item__image {
    aspect-ratio: 400 / 270;
    overflow: hidden;
}

    .emotions-slider-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.emotions-slider-item__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
}

.emotions-slider-item__header,
.emotions-slider-item__footer {
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.6s ease-in;
}

.emotions-slider-item__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.emotions-slider-item__price {
    font-weight: 600;
    font-size: 22px;
    line-height: calc(24 / 22);
}

.emotions-slider-item__author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.emotions-slider-item__author-image {
    flex-shrink: 0;
    aspect-ratio: 1;
    width: 20px;
    border-radius: 100%;
    overflow: hidden;
}

    .emotions-slider-item__author-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.emotions-slider-item__author-name {
    font-family: var(--font-poppins);
    font-size: 14px;
    line-height: calc(20 / 14);
    color: var(--color-gray);
}

.emotions-slider-item__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.emotions-slider-item__text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.7;
}

.emotions-slider-item__btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.emotions-slider-item__btn-icon {
    flex-shrink: 0;
    display: block;
    aspect-ratio: 1;
    width: 24px;
    position: relative;
    overflow: hidden;
}

    .emotions-slider-item__btn-icon::before,
    .emotions-slider-item__btn-icon::after {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background: url("https://bato-web-agency.github.io/bato-shared/img/slider-1/icon-btn-arrow.svg") center center no-repeat;
        background-size: 100%;
    }

    .emotions-slider-item__btn-icon::after {
        position: absolute;
        top: 100%;
        right: 100%;
    }

.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__header,
.emotions-slider__slide:not(.swiper-slide-active)
.emotions-slider-item__footer {
    max-height: 0;
}

@media (hover: hover) and (pointer: fine) {
    .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::before,
    .emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::after {
        animation: btn-arrow-move 0.4s ease forwards;
    }
}

@media (hover: none) {
    .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::before,
    .emotions-slider-item__btn:active .emotions-slider-item__btn-icon::after {
        animation: btn-arrow-move 0.4s ease forwards;
    }
}



/*-----------CTA------------*/
.call-to-action {
    background-color: #3D8EEE;
    z-index: 1;
}

    .call-to-action .header-1 {
        font-size: 3rem;
        font-weight: 700;
        color: #FFFFFF;
    }

    .call-to-action .header-2 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .call-to-action p {
        color: var(--secondary-color);
    }

.cta-btn-group {
    display: flex;
    flex-wrap: wrap;
}

.call-to-action .contact-us-btn {
    padding: 10px 50px;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-radius: 20px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border: 0;
}

.call-to-action .learn-more-btn {
    padding: 10px 50px;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-radius: 20px;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

@media only screen and (max-width: 834px) {
    .call-to-action .header-1 {
        font-size: 2rem;
    }

    .call-to-action .header-2 {
        font-size: 2rem;
    }

    .contact-us-btn, .learn-more-btn {
        flex: 100%;
    }

    .contact-us-btn {
        margin-bottom: 10px;
    }
}
/*------------CONTACT-US------------*/
.contact-us-header {
    background: #262F6A;
    color: #FFFFFF;
    font-size: 3rem;
    border-radius: 2.5rem;
}

@media only screen and (max-width: 834px) {
    .contact-us-header {
        font-size: 2rem;
    }
}
