/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

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

.btn-sm-square {
    width: 30px;
    height: 30px;
}

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #100404;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

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

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

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

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


/*** Service Icon Animation (added) ***/
.service-icon {
    position: relative;
    animation: iconFloat 3s ease-in-out infinite, iconPulseRing 2.5s ease-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-6px); }
}

@keyframes iconPulseRing {
    0% { box-shadow: 0 0 0 0 rgba(6, 163, 218, .5); }
    70% { box-shadow: 0 0 0 14px rgba(6, 163, 218, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 163, 218, 0); }
}

.service-item:hover .service-icon {
    animation: iconSpin .6s ease-in-out forwards;
}

@keyframes iconSpin {
    from { transform: rotate(-45deg); }
    to { transform: rotate(315deg); }
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(9, 30, 62, .1);
}


/*** Whole-page background design (added) ***/
body {
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(180deg, var(--light) 0%, #FFFFFF 100%);
    background-image:
        radial-gradient(rgba(9, 30, 62, .06) 1.5px, transparent 1.5px),
        linear-gradient(180deg, var(--light) 0%, #FFFFFF 100%);
    background-size: 22px 22px, 100% 100%;
    background-attachment: fixed, fixed;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 340px;
    height: 340px;
    top: -100px;
    left: -100px;
    background: rgba(6, 163, 218, .16);
    z-index: -1;
}

body::after {
    width: 360px;
    height: 360px;
    bottom: -110px;
    right: -100px;
    background: rgba(52, 173, 84, .14);
    z-index: -1;
}


/*** About Page (added) ***/
.breadcrumb-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

.mv-card {
    transition: .4s;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(9, 30, 62, .12);
}

/*** Growth Orbit Animation (fixed) — "Your Business" at center, services orbit around it on a tilted ellipse ***/
.growth-orbit-section {
    position: relative;
    padding: 20px 0 40px;
    overflow: hidden;
}

.orbit-3d-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 40px;
}

.orbit-stage {
    position: relative;
    width: 500px;
    height: 340px;
}

@media (max-width: 576px) {
    .orbit-stage {
        transform: scale(.58);
    }
}

/* Center hub: Your Business */
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 5;
    animation: orbitCenterPulse 2.5s ease-in-out infinite;
}

.orbit-center i {
    font-size: 30px;
    margin-bottom: 6px;
}

.orbit-center span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.25;
}

@keyframes orbitCenterPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(6, 163, 218, .5), 0 0 0 0 rgba(52, 173, 84, .35);
    }
    50% {
        box-shadow: 0 0 0 18px rgba(6, 163, 218, 0), 0 0 0 36px rgba(52, 173, 84, 0);
    }
}

/* Each service travels around a flattened ellipse with 8 interpolation
   points instead of 4, so the path curves smoothly instead of snapping
   in straight lines between stops. */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 104px;
    height: 104px;
    margin: -52px 0 0 -52px;
    animation: orbitPath 18s linear infinite;
    will-change: transform, opacity;
}

@keyframes orbitPath {
    0%    { transform: translate(0px, -120px)   scale(.8);   opacity: .8;  z-index: 2; }
    12.5% { transform: translate(150px, -85px)  scale(1.05); opacity: .95; z-index: 4; }
    25%   { transform: translate(210px, 0px)    scale(1.18); opacity: 1;   z-index: 7; }
    37.5% { transform: translate(150px, 85px)   scale(1.05); opacity: .95; z-index: 4; }
    50%   { transform: translate(0px, 120px)    scale(.8);   opacity: .8;  z-index: 2; }
    62.5% { transform: translate(-150px, 85px)  scale(1.05); opacity: .95; z-index: 4; }
    75%   { transform: translate(-210px, 0px)   scale(1.18); opacity: 1;   z-index: 7; }
    87.5% { transform: translate(-150px, -85px) scale(1.05); opacity: .95; z-index: 4; }
    100%  { transform: translate(0px, -120px)   scale(.8);   opacity: .8;  z-index: 2; }
}

.orbit-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 25px rgba(9, 30, 62, .18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.orbit-item.alt .orbit-icon {
    border-color: var(--secondary);
}

.orbit-icon i {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.orbit-item.alt .orbit-icon i {
    color: var(--secondary);
}

.orbit-icon span {
    font-size: 10px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

/* Pause the orbit on hover so visitors can read a service */
.orbit-3d-wrapper:hover .orbit-item,
.orbit-3d-wrapper:hover .orbit-center {
    animation-play-state: paused;
}
/*** Clients Page (added) ***/
.clients-marquee-section {
    padding: 60px 0;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track.marquee-reverse {
    animation: marqueeScrollReverse 28s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    padding: 18px 30px;
    margin: 0 12px;
    box-shadow: 0 5px 20px rgba(9, 30, 62, .06);
    transition: .4s;
    white-space: nowrap;
}

.marquee-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 163, 218, .18);
    border-color: var(--primary);
}

.marquee-logo i {
    font-size: 26px;
    color: var(--primary);
}

.marquee-logo span {
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

/* Stats Counter */
.stats-counter-section {
    padding: 50px 0;
    background: var(--light);
}

.stat-box {
    padding: 20px;
}

.stat-box i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-box p {
    margin: 0;
    color: #6C7686;
    font-weight: 600;
}

/* Reviews Grid */
.client-reviews-section {
    padding: 60px 0 80px;
}

.review-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 35px 30px;
    height: 100%;
    box-shadow: 0 5px 25px rgba(9, 30, 62, .08);
    position: relative;
    transition: .4s;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(9, 30, 62, .14);
}

.review-quote-icon {
    font-size: 22px;
    color: rgba(6, 163, 218, .25);
    margin-bottom: 12px;
}

.review-text {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 22px;
    min-height: 90px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.review-author h6 {
    color: var(--dark);
    font-weight: 700;
}

.review-stars i {
    color: #FFC107;
    font-size: 13px;
    margin-right: 2px;
}

/* Scroll reveal animation for review cards */
.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}