/********** Template CSS **********/
:root {
    --primary: #46b968;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #179665;

    /* New Space Theme Colors */
    --accent-deep: #6a11cb;
    /* Purple */
    --accent-bright: #2575fc;
    /* Blue */
    --text-muted: #718096;
    /* Steel Grey */
    --text-hover-glow: #c084fc;
    /* Light Purple */
    --glow-shadow: rgba(106, 17, 203, 0.4);
    --glow-shadow-hover: rgba(106, 17, 203, 0.7);

    /* for titles */
    --text-gradient-white: linear-gradient(to bottom, #ffffff 30%, #cbd5e0 100%);
    --text-shadow-glow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

.about-text p {
    color: #a4a4a4;
    /* very light gray, soft on eyes */
}

.about-text b {
    color: #d7d7d7;
    /* very light gray, soft on eyes */
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.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;
}


/*** Navbar ***/
.navbar {

    overflow: hidden;
    background: linear-gradient(rgba(11, 25, 83, 0.378), rgba(12, 17, 34, 0.586)),
        url("/assets/images/home/home-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.9s ease, opacity 0.9s ease !important;
}

.navbar::after {
    content: "";
    position: absolute;
    top: -30px;
    left: -100px;
    width: 2px;
    height: 80px;
    background: linear-gradient(white, transparent);
    border-radius: 50%;
    animation: shootingStar 9s linear infinite;
    pointer-events: none;
}

@keyframes shootingStar {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(500px, 160px) rotate(45deg);
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }
}


.navbar.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 120px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 15px 0;
    color: var(--light);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.nav-underline {
    position: relative;
    overflow: hidden;
}

.nav-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    /* adjust underline position */
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #00ffcc, #00cc66);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.nav-underline:hover::after,
.nav-underline.active::after {
    transform: scaleX(1);
}


.nav-underline.active {
    /* background: linear-gradient(90deg, #00ffcc, #00cc66); */
    background: linear-gradient(90deg, #0f9b0f, #38ef7d);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* .navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #23452d;
}

.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;
    }
}




/*** Header ***/
/* .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
} */


.carousel-caption .home-text h4 {
    color: #a4a4a4;
}

.carousel-caption .home-lines h3 {
    font-size: 6vh;
}

.custom-slide-1 .carousel-caption {
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    z-index: 1;
    max-width: auto !important;
}

.carousel-item {
    height: 70vh;
    /* adjust: 50vh, 60vh, 70vh */
}

.custom-slide-1 {
    height: 70vh;
    position: relative;
}

/* only first slide image */
.custom-slide-1 .img-1 {
    position: absolute;
    right: 10px;
    /* move to right */
    top: 50%;
    /* vertical center */
    transform: translateY(-50%);
    max-height: 50vh;
    max-width: auto;
    width: auto;
    object-fit: contain;
    z-index: 0;
}


/* global cirlce */
/* Overlay fixed position */
.circle-overlay {
    position: absolute;
    top: 0;
    right: 0;
    /* push to right */
    width: auto;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

.globe-container {
    width: 100vh;
    max-width: 800px;
    height: 600px;
    background: transparent;
    pointer-events: none;
}




/* Hide arrows completely */
.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

/* Position dots bottom-right */
.custom-indicators {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: auto;
    margin: 0;
    justify-content: flex-end;
}

/* Dot style */
.custom-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: background-color 0.3s ease;
}

/* Active dot (only color change) */
.custom-indicators .active {
    background-color: #032935;
    /* neon active */
}



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
/* .navbar {
    overflow-x: hidden;
    background: linear-gradient(rgba(11, 25, 83, 0.61), rgba(3, 5, 12, 0.718)),
        url("/assets/images/home/home-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.9s ease, opacity 0.9s ease;
} */
.footer {
    background: linear-gradient(rgba(3, 5, 12, 0.718), rgba(6, 15, 53, 0.856));
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #090909b0;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

.horizantallogo {
    width: 65px !important;
    height: 65px !important;
    margin-left: 10px !important;
}

.logo-text {
    font-size: 30px !important;
    font-weight: 600;
}

@keyframes smoothBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.blink {
    animation: smoothBlink 2.5s ease-in-out infinite;
    color: #000;
}



/* slideDown */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.my-slide-down {
    animation: slideDown 1s ease forwards;
}


/* slideUp */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.my-slide-up {
    animation: slideUp 1s ease forwards;
}

/* fadeInUp */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* start hidden */
.my-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

/* animate when visible */
.my-fade-up-active {
    animation: fadeInUp 1s ease forwards;
}

.my-fade-up-active-content {
    animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        /* fully transparent */
    }

    100% {
        opacity: 1;
        /* fully visible */
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}


/* ------------------------- Home ------------------------------ */
.animated-text {
    display: inline-block;
    font-weight: 700;

    transition:
        opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 1s cubic-bezier(0.25, 0.1, 0.25, 1),
        filter 1s cubic-bezier(0.25, 0.1, 0.25, 1);

    will-change: opacity, transform, filter;
    backface-visibility: hidden;
}

/* Fade OUT */
.fade-out {
    animation: fadeOut 0.9s ease forwards;
}

/* Fade IN */
.fade-in {
    animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(6px);
        filter: blur(4px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =====================
   1 → 2 : Slide In
===================== */

.slide-in {
    animation: slideIn 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}


/* =====================
   2 → 3 : Flip Smooth
===================== */

/* Flip OUT */
.flip-out {
    animation: flipOut 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: center bottom;
    perspective: 1200px;
}

/* Flip IN */
.flip-in {
    animation: flipIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: center bottom;
    perspective: 1200px;
}

/* Flip OUT */
@keyframes flipOut {
    from {
        opacity: 1;
        transform: rotateX(0deg);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: rotateX(55deg);
        filter: blur(4px);
    }
}

/* Flip IN */
@keyframes flipIn {
    from {
        opacity: 0;
        transform: rotateX(-55deg);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: rotateX(0deg);
        filter: blur(0);
    }
}

/* =====================
   Word Gradients
===================== */

/* Word 1: White → Mint */
.word1 {
    background: radial-gradient(circle at left, #ffffff 0%, #55f7a9 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Word 2: White → Blue */
.word2 {
    background: radial-gradient(circle at left, #ffffff 0%, #4facfe 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Word 3: White → Gold */
.word3 {
    background: radial-gradient(circle at left, #ffffff 0%, #d7b012 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-page-section {
    position: relative;
    padding: 3rem 10%;
    text-align: center;
    overflow: hidden;
}

.services-section {
    position: relative;
    padding: 100px 8%;
    text-align: center;
    overflow: hidden;
}

.services-section h2:last-of-type {
    position: relative;
    z-index: 2;
    font-size: 42px;
    background: linear-gradient(to bottom, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.services-section h2 {
    color: var(--light);
}

@keyframes spaceMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

@keyframes twinkle {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-100px);
    }
}


.stack-section {
    position: relative;
    padding: 100px 8%;
    text-align: center;
    overflow: hidden;
}

.stack-section h2:last-of-type {
    position: relative;
    z-index: 2;
    font-size: 42px;
    background: linear-gradient(to bottom, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stack-section h2 {
    color: var(--light);
}

.stack-row {
    position: relative;
    overflow: visible;
    display: flex;
    /* row layout */
    justify-content: center;
    align-items: center;
    gap: 10vh;
    padding: 0px 10px;
    flex-wrap: nowrap;
    /* keep in one line */
    background: radial-gradient(ellipse at bottom,
            rgba(0, 255, 255, 0.08),
            transparent 70%);
}

/* keep each item small */
.stack-item {
    flex: 0 0 auto;
}

.stack-item img {
    width: 15vh;
    height: 15vh;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover glow using CSS variable */
.stack-item img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px var(--glow-color));
}

/* neon lines */
.stack-row::before,
.stack-row::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    /* total glow area */

    background: linear-gradient(90deg,
            #ff0000,
            #ffae00,
            #00ff99,
            #00f0ff,
            #4f46e5,
            #9d00ff,
            #ff00ff);

    /* this creates thick center → thin edges */
    mask-image: radial-gradient(circle at center,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.2) 60%,
            rgba(0, 0, 0, 0) 80%);

    -webkit-mask-image: radial-gradient(circle at center,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.2) 60%,
            rgba(0, 0, 0, 0) 80%);

    filter: blur(0.8px);
}

/* top */
.stack-row::before {
    opacity: 0.25;
    top: -5px;
}

/* bottom */
.stack-row::after {
    bottom: -5px;
}



/* ========================= */
/* TITLE */
/* ========================= */

.section-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 15px;
    opacity: 0.9;
}

.sub-section-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 55px;
    opacity: 0.9;
}


.stack-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 15px;
    opacity: 0.9;
}

.sub-stack-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 55px;
    opacity: 0.9;
}

/* ========================= */
/* CARD LAYOUT */
/* ========================= */

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cards per row */
    gap: 35px;
    position: relative;
    z-index: 2;
}

.cards-container h3 {
    color: var(--light);
}

/* ========================= */
/* CARD */
/* ========================= */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 100%; */
    min-width: 350px;
    width: 350px;

    /* change from 280px */
    height: 370px;
    padding: 40px 30px;
    border-radius: 24px;

    background: rgba(15, 23, 42, 0.4) !important;
    /* Darker, more transparent */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover img {
    transform: scale(1.1) translateY(-5px);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
    opacity: 0.75;
}

.service-card::before {
    content: "servicecard";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    /* border thickness */
    background: repeating-linear-gradient(90deg,
            transparent 0%,
            var(--card-color) 20%,
            transparent 40%,
            transparent 60%);
    background-size: 300% 100%;
    animation: neonFlow 14s linear infinite;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.service-card:nth-child(even)::before {
    animation-direction: reverse;
    animation-duration: 18s;
}

.service-card::after {
    content: "servicecard";
    position: absolute;
    inset: -20px;
    border-radius: 30px;
    background: radial-gradient(circle, var(--card-color), transparent 70%);
    filter: blur(50px);
    opacity: 0.25;
    z-index: -2;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.04);
    box-shadow:
        0 0 8px color-mix(in srgb, var(--card-color) 50%, white),
        0 0 18px color-mix(in srgb, var(--card-color) 25%, transparent);
}


/* Tablet */
@media (min-width: 600px) and (max-width: 1600px) {

    /* .cards-container {
        grid-template-columns: repeat(3, 1fr);
    } */

    .service-card {
        min-width: 300px !important;
        width: 300px !important;
        height: 360px !important;
    }

    .card-image img {
        width: 135px !important;
    }

    .service-card h3 {
        font-size: 17px !important;
    }

    .service-card p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

.carousel-caption .container .row {
    margin-left: 5px !important;
}

/* Small Tablet */
@media (max-width: 1250px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

/* Flow animation */
@keyframes neonFlow {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 300% 0%;
    }
}


/* @media (max-width: 768px) {
    .service-card {
        width: 90%;
    }
} */

/* ========================= */
/* CARD IMAGE */
/* ========================= */

.card-image {
    text-align: center;
    margin-bottom: 25px;
}

.card-image img {
    width: 150px;
    transition: 0.5s ease;
    /* filter: drop-shadow(0 0 25px rgba(0, 200, 255, 0.6)); */
}

/* ========================= */
/* BOTTOM LIGHT */
/* ========================= */
.bottom-light {
    position: absolute;
    bottom: 20px;
    width: 80px;
    height: 5px;
    border-radius: 50px;
    background: linear-gradient(90deg,
            transparent,
            var(--card-color),
            transparent);

    box-shadow: 0 0 20px var(--card-color);
    animation: pulse 2s infinite alternate;
}


@keyframes pulse {
    from {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.1);
    }
}

/* global============================ */


.main-theme-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(3, 5, 12, 0.566), rgba(3, 5, 12, 0.399)),
        url("/assets/images/home/home-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.global-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.transparenttextures.com/patterns/stardust.png");
    opacity: 0.3;
    z-index: 0;
    animation: spaceMove 100s linear infinite;
    pointer-events: none;
}

.global-planet-horizon {
    position: absolute;
    top: -450px;
    left: 50%;
    transform: translateX(-50%);
    width: 180%;
    height: 800px;
    background: radial-gradient(ellipse at center,
            rgba(0, 240, 255, 0.15) 0%,
            rgba(157, 0, 255, 0.1) 30%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.content-overlay {
    position: relative;
    z-index: 2;
    flex: 1;
}


/* page headers */
.page-header {
    position: relative;
    width: 100%;
    height: 40vh;
    /* adjust as needed */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image: radial-gradient(circle, rgba(30, 58, 138, 0.3) 0%, rgba(2, 6, 23, 0.95) 80%);
}

/* ===================================================== */
/* PROJECT SECTION */
/* ===================================================== */

/* ========================= */
/* TABS */
/* ========================= */

.custom-project-tabs .ant-tabs-nav {
    margin-bottom: 50px;
}

.custom-project-tabs .ant-tabs-nav-list {
    background: #f3f4f6;
    padding: 6px;
    border-radius: 12px;
    display: inline-flex;
}

.custom-project-tabs .ant-tabs-tab {
    padding: 8px 22px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.custom-project-tabs .ant-tabs-tab-btn {
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}

.custom-project-tabs .ant-tabs-tab:hover .ant-tabs-tab-btn {
    color: var(--text-hover-glow) !important;
}

.custom-project-tabs .ant-tabs-tab-active {
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-bright) 100%) !important;
    border-radius: 6px;
    box-shadow: 0 0 15px var(--glow-shadow);
}

.custom-project-tabs .ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #ffffff !important;
    font-weight: 600;
}

.custom-project-tabs .ant-tabs-ink-bar,
.custom-project-tabs .ant-tabs-nav::before {
    display: none !important;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(90deg, #0f9b0f, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


/* ===================================================== */
/* SLIDER */
/* ===================================================== */

.project-slider-container {
    position: relative;
    padding: 0 100px;
}


.slider-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 30px 40px;
}

.slider-track {
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-track .ant-row {
    display: flex;
    flex-wrap: nowrap !important;
    margin: 0 -12px;
}

.slider-column {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 12px;
}

/* Navigation Buttons */

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-bright) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px var(--glow-shadow);
}

.nav-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px var(--glow-shadow-hover);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}


/* Responsive */

@media (max-width: 992px) {
    .project-slider-container {
        padding: 0 50px;
    }

    .slider-column {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .project-slider-container {
        padding: 0;
    }

    .slider-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .nav-btn {
        display: none;
    }
}


/* ===================================================== */
/* PROJECT CARD */
/* ===================================================== */

.project-neon-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    height: 520px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;

    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: all 0.5s ease;
    overflow: hidden;
    z-index: 1;
}

/* Animated Neon Border */
.project-neon-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: repeating-linear-gradient(90deg,
            transparent 0%,
            var(--card-color) 20%,
            transparent 40%);
    background-size: 300% 100%;
    animation: neonFlow 14s linear infinite;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}

/* Glow Effect */
.project-neon-card::after {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 30px;
    background: radial-gradient(circle, var(--card-color), transparent 70%);
    filter: blur(50px);
    opacity: 0.25;
    z-index: -2;
}

/* Image */
.project-neon-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    margin-bottom: 25px;
}

.project-neon-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-neon-card:hover .card-image img {
    transform: scale(1.05);
}

/* Text */
.project-neon-card h3 {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

.project-neon-card .tech {
    color: var(--card-color);
    font-size: 13px;
    margin-bottom: 15px;
}

.project-neon-card p {
    color: #a0aec0;
    font-size: 14px;
    text-align: center;
    opacity: 0.8;
}

.project-neon-card .stat {
    margin: 10px 0 15px;
    color: #cbd5e1;
    font-size: 13px;
}

/* Button */
.neon-btn {
    background: var(--card-color) !important;
    border: none !important;
    font-weight: 600;
    margin-top: auto;
}

.neon-btn:hover {
    filter: brightness(1.1);
}


/* ===================================================== */
/* ANIMATION */
/* ===================================================== */

@keyframes neonFlow {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 300% 0%;
    }
}


/* ========================= */
/* IMAGE PREVIEW MODAL */
/* ========================= */


.image-preview-modal {
    width: 90% !important;
    max-width: 1400px;
    padding: 0;
}

.image-preview-modal .ant-modal-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

.image-preview-modal .ant-modal-close {
    color: #fff;
    font-size: 20px;
}

.ant-modal-mask {
    background: rgba(0, 0, 0, 0.85) !important;
}

.image-preview-modal .ant-modal-close {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================= */
/* MODAL IMAGE WRAPPER */
/* ========================= */

.modal-image-wrapper {
    position: relative;
    width: 100%;
    height: 85vh;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.modal-image-wrapper img {
    /* width: 100%;
    height: auto; */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ========================= */
/* NAVIGATION BUTTONS */
/* ========================= */

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    /* background: linear-gradient(135deg, #0f9b0f, #38ef7d); */
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-bright) 100%);
    color: #fff;
    font-size: 18px;
    cursor: pointer;

    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 10;
}

.modal-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    filter: brightness(1.2);
}

.modal-nav-btn.prev {
    left: 15px;
}

.modal-nav-btn.next {
    right: 15px;
}

/* common title at banner below*/
.section-title-gradient {
    background: var(--text-gradient-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(var(--text-shadow-glow));
    text-transform: capitalize;
}

/* contact title */
.contact-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-title {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
}



/* contact========================= */
/* ================= SECTION ================= */

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= INFO COLUMN ================= */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ================= INFO ROW ================= */

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    font-size: 24px;
    color: #00b96b;
    margin-top: 4px;
}

.info-title {
    color: #00b96b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.info-content {
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================= SOCIAL ================= */

.contact-social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-social-title {
    color: #00b96b;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.social-link {
    font-size: 22px;
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 1;
    color: #00b96b;
    transform: translateY(-3px);
}

/* ================= MAP ================= */

.contact-map-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 16px;
}

.contact-map-iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
}

/* ================= MOBILE ================= */

.contact-mobile-text {
    color: #ccc;
}