﻿/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #594ee4;
}*/

/* Hide built-in Blazor reconnect UI */
#components-reconnect-modal {
    display: none !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: rgba(88, 96, 149, 0.6); /* 60% opacity */
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 100%;
}
/* Disable horizontal scroll only on mobile */
@media (max-width: 768px) {
    html, body {
  
        width: 100%;
        max-width: 100%;
    }

    /* Universal safeguard */
    * {
        box-sizing: border-box;
    }

    /* Clamp containers that often overflow */
    .container,
    .row,
    .section,
    .slide-up-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

img, canvas, iframe, video {
    max-width: 100%;
    height: auto;
}
body {
    overflow-x: hidden;
    box-sizing: border-box;
}

a, .btn-link {
    color: #55b5f5ac;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.text-primary{
    background: #a0cfff;
    border:medium;
    border-radius: 6px;
}

/*Coming Soon badge*/

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 165, 0, 0.9); /* fancy orange */
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-light-blue {
    background-color: #5bc0eb;
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

    .btn-light-blue:hover {
        background-color: #4aa1d8;
        color: #fff;
        transform: translateY(-2px);
    }
/*Nav Items design*/
.navbar-logo {
    height: 120px; /* adjust size */
    width: auto;
    align-content: center;
}

.logo-circle {
    background-color: rgba(160, 207, 255, 0.5);
    border-radius: 50%;
    width: 90px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: pointer; /* shows interactivity */
}

.navbar-logo-test {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    transition: transform 0.6s ease; /* smooth base transition */
}

/* Trigger animation on hover */
.logo-circle:hover .navbar-logo-test {
    animation: flipflop 1s ease-in-out;
}

/* Keyframes for flip-flop effect */
@keyframes flipflop {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/*button to get in touch*/
/* Black pill button style (desktop + mobile) */
.btn-black-pill {
    background-color: rgba(160, 207, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: bold;
    text-align: center;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* subtle shadow */
}

    .btn-black-pill:hover {
        background-color: rgba(160, 207, 255, 0.9);
        color: #0d6efd; /* same as Bootstrap primary */
        transform: scale(1.05);
    }

/* Optional: slightly smaller on mobile */
@media (max-width: 991px) {
    .btn-black-pill {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile circle */
.logo-circle-mobile {
    background-color: rgba(160, 207, 255, 0.5);
    border-radius: 50%;
    width: 70px; /* smaller than desktop */
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* simpler for mobile */
    margin: 0 auto; /* keeps it centered */
    z-index: 1;
    cursor: pointer;
}

.navbar-logo-test-mobile {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    transition: transform 0.6s ease;
}

/* Apply same flip-flop animation */
.logo-circle-mobile:hover .navbar-logo-test-mobile {
    animation: flipflop 1s ease-in-out;
}

/* Reuse same keyframes */
@keyframes flipflop {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/* Make navbar links consistent and styled like your logo/button theme */
/* Force styling on Blazor NavLink inside navbar */
/* Target all NavLink anchors inside navbar */
.navbar-nav > .nav-item > a.nav-link {
    color: #000 !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

    .navbar-nav > .nav-item > a.nav-link:hover,
    .navbar-nav > .nav-item > a.nav-link.active {
        color: #0d6efd !important;
        text-decoration: underline !important;
        text-underline-offset: 4px !important;
    }


/* Icy Blue-Grey Navbar */
.navbar-icy-blue {
    background-color: rgba(200, 210, 220, 0.08); /* lighter / more transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(180, 190, 200, 0.15); /* lighter border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* softer shadow */
    transition: all 0.3s ease;
}

    /* Navbar links hover effect */
    .navbar-icy-blue .nav-link {
        color: #d0e7f9;
        transition: all 0.3s ease;
    }

        .navbar-icy-blue .nav-link:hover,
        .navbar-icy-blue .nav-link.active {
            color: #a0cfff;
            text-shadow: 0 0 6px rgba(160, 207, 255, 0.6);
        }

/* NodeBloom title icy gradient */
.icy-title {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: linear-gradient(90deg, #a0cfff, #d0d3d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: whitesmoke;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.7rem;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Dropdown menu hover */
.navbar-icy-blue .dropdown-menu .dropdown-item:hover {
    background-color: rgba(160, 207, 255, 0.1);
    color: #a0cfff;
}

/* Call-to-action button hover */
.navbar-icy-blue .btn-outline-light:hover {
    background-color: rgba(160, 207, 255, 0.2);
    border-color: #a0cfff;
    color: #fff;
    box-shadow: 0 0 6px rgba(160, 207, 255, 0.4);
}

/* Services Section with Fancy Animated Background + Glow */
.services-section {
    position: relative;
    overflow: hidden;
    z-index: 0;
    color: white;
    padding: 5rem 0;
    background: transparent;
}

/* Flowing gradient waves */
.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(13, 110, 253, 0.5),
        rgba(160, 207, 255, 0.3),
        rgba(13, 110, 253, 0.5)
    );
    background-size: 600% 600%;
    animation: waveGradient 10s ease infinite;
    z-index: -2; /* keep behind glow + content */
}

/* Subtle glowing particles */
.services-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(160, 207, 255, 0.25) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: driftParticles 15s linear infinite;
    pointer-events: none;
    z-index: -3; /* furthest back */
}

/* Rotating glow effect (new layer) */
.services-section .rotating-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(160, 207, 255, 0.2) 0%,
        rgba(13, 110, 253, 0.1) 40%,
        transparent 70%);
    animation: rotateGlow 20s linear infinite;
    z-index: -1; /* sits between waves and content */
    pointer-events: none;
}

/* Service Cards */
.services-section .service-card {
    position: relative;
    z-index: 1;
    background: rgba(17, 24, 39, 0.85);
    color: white;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(6px); /* borrowed from stats style */
}

/* Hover effect */
.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(160, 207, 255, 0.8);
    outline: 2px solid rgba(160, 207, 255, 0.6);
    outline-offset: -6px;
}

/* Animations */
@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes driftParticles {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Section with Animated Background */
.hero-section {
    position: relative;
    padding-top: 2rem;
    min-height: 80vh;
    margin-top: -40px;
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;
    overflow: hidden;
    z-index: 1;
}

    /* Glowing rotating gradient */
    .hero-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(160, 207, 255, 0.35) 0%, rgba(13, 110, 253, 0.15) 40%, transparent 70%);
        animation: rotateGlow 30s linear infinite;
        z-index: -1;
    }

    /* Floating particles (like icy snow/stars) */
    .hero-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(160, 207, 255, 0.5) 1px, transparent 1px);
        background-size: 60px 60px;
        animation: floatParticles 12s linear infinite;
        z-index: -1;
    }

/* Animations */
@keyframes rotateGlow {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1.2);
    }
}

@keyframes floatParticles {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 60px;
    }
}


.card-canvas {
    width: 100%;
    height: 200px; /* adjust as needed */
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1); /* transparent white */
    backdrop-filter: blur(10px); /* frosted glass blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* subtle glass border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* soft shadow for depth */
}

/* Add spacing between navbar items in desktop mode */
/* Spacing between navbar items on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin-left: 3rem; /* spacing between links */
    }

        .navbar-nav .nav-item:first-child {
            margin-left: 0; /* remove margin for first item */
        }

    /* Push Get Started button further right */
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end; /* right align items in desktop */
    }

    .btn-black-pill {
        margin-left: 2rem; /* extra space from links */
    }
}

/* Social Media Sidebar - Horizontal */
.social-sidebar {
    position: fixed;
    top: 50%; /* vertically centered */
    left: 10px; /* close to left edge */
    transform: translateY(-50%);
    display: flex;
    flex-direction: row; /* icons side by side */
    gap: 12px; /* spacing between icons */
    z-index: 1000;
}

    .social-sidebar .social-icon {
        font-size: 1.5rem;
        color: #d0e7f9;
        background: rgba(200, 210, 220, 0.15);
        border: 1px solid rgba(180, 190, 200, 0.3);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        text-decoration: none;
    }

        .social-sidebar .social-icon:hover {
            color: #a0cfff;
            background: rgba(160, 207, 255, 0.2);
            box-shadow: 0 0 8px rgba(160, 207, 255, 0.4);
            transform: scale(1.1);
        }
        /*News letter section*/

/* Background: icy effect */
.newsletter-section {
    background: url("https://www.transparenttextures.com/patterns/ice-age.png"), linear-gradient(135deg, rgba(173, 216, 230, 0.4), rgba(224, 255, 255, 0.3));
    background-size: cover;
    background-blend-mode: overlay;
    color: #eaf6fb;
    position: relative;
}

/* Frosted glass container */
.frosted-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Fancy input */
.glass-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 12px;
}

    .glass-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

/* Button with icy gradient */
.btn-subscribe {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 136, 209, 0.4);
    transition: all 0.3s ease;
}

    .btn-subscribe:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 6px 20px rgba(3, 169, 244, 0.5);
    }
    /*why choose us*/

.why-choose-us-section{
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;

}

.choose-card{
    background: rgba(200, 210, 220, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .choose-card:hover{
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.4);
    }

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1f2937, #0d6efd);
    color: white;
}

.stat-card {
    background: rgba(200, 210, 220, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .stat-card h2 {
        color: #a0cfff;
        text-shadow: 0 0 8px rgba(160, 207, 255, 0.7);
    }

    .stat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.4);
    }

/* Testimonials Section */
.testimonials-section {
    background: rgba(200, 210, 220, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card {
    background: rgba(200, 210, 220, 0.15);
    border: 1px solid rgba(180, 190, 200, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    color: #f0f6ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 10px rgba(160, 207, 255, 0.5);
    }

    .testimonial-card h6 {
        color: #a0cfff;
        margin-top: 1rem;
    }
/* Tech Stack Section (reuses testimonial glass style) */
.techstack-section {
    background: rgba(200, 210, 220, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tech-card {
    background: rgba(200, 210, 220, 0.12);
    border: 1px solid rgba(180, 190, 200, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    color: #f0f6ff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
}

    .tech-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 12px rgba(160, 207, 255, 0.5);
    }

    .tech-card h6 {
        color: #a0cfff;
        margin-top: 0.5rem;
    }

.tech-icon {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 6px rgba(160, 207, 255, 0.6));
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(-3deg);
}

.about-section {
    z-index: 3;
    position: relative;
    overflow: hidden;
}

.cta-section {
    z-index: 3;
    position: relative;
    overflow: hidden;
}
/* Shared Background Glow Effect */
.stats-section,
.testimonials-section,
why-choose-us-section,
service-card,
techstack-section,
.tech-section {
    position: relative;
    overflow: hidden;
    z-index: 1; /* make sure content is above */
}
    .why-choose-us-section::before,
    .stats-section::before,
    techstack-section::before,
    service-card::before,
    .testimonials-section::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(160, 207, 255, 0.2) 0%, rgba(13, 110, 253, 0.1) 40%, transparent 70%);
        animation: rotateGlow 20s linear infinite;
        z-index: -1; /* sits behind */
    }

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*Behind all background*/

.global-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* instead of 100vw */
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/*Floating the sections*/
/* Start hidden, slightly below original position */
/* Base style for slide-up sections */
.slide-up-section {
    opacity: 0;
    transform: translateY(0); /* no visual shift for layout */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    min-height: 50px; /* reserve some space to avoid scroll gaps */
}

    /* When visible */
    .slide-up-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Animate children inside services section */
.services-section .col {
    opacity: 0;
    transform: translateY(20px); /* small visual shift */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: calc(var(--i) * 0.1s); /* stagger effect */
}

.services-section.visible .col {
    opacity: 1;
    transform: translateY(0);
}


/*New's letter teck show up*/

.newsletter-form {
    position: relative;
    width: 400px;
    max-width: 90vw;
    margin: 0 auto;
}

.newsletter-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 100;
    border-radius: 12px;
    pointer-events: none; /* allows interacting with input above */
}

.newsletter-form input,
.newsletter-form button {
    position: relative;
    z-index: 120;
}
/* Chat Popup Wrapper */
.chat-popup-wrapper {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050; /* above everything */
    font-family: 'Poppins', sans-serif;
}

/* Chat toggle button */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #0d6efd;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .chat-toggle-btn:hover {
        background: #0550b5;
        transform: scale(1.05);
    }

/* Chat Menu */
.chat-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 600px;
    max-width: 90vw;
    height: 700px; /* make the menu taller */
    background: #111827;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease forwards;
}

/* Chat Header */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0d6efd;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: 600;
}

    .chat-header .close-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
    }


.chat-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
}


.chat-text {
    max-width: 70%;
    word-wrap: break-word;
}
/* Chat Body */
.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 700px; /* leave room for header/footer */
}

.chat-message {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    max-width: 100%;
}

    /* Bot message (AI response) */
    .chat-message.bot {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem; /* space between avatar and text */
    }

        /* Bot avatar */
        .chat-message.bot::before {
            background-image: "bot-avatar.png"; /* or use your bot-avatar.png as background-image */
            font-size: 1.2rem;
            filter: invert(1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Bot text bubble */
        .chat-message.bot span {
            background-color: #e0e0e0; /* light gray */
            color: #000;
            padding: 0.5rem 0.8rem;
            border-radius: 12px;
            max-width: 80%;
            word-wrap: break-word;
        }

    .chat-message.user {
        background: #0d6efd;
        color: white;
        align-self: flex-end;
    }

/* Chat Footer */
.chat-footer {
    display: flex;
    padding: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #1f2937;
}

    .chat-footer input {
        flex: 1;
        border: none;
        border-radius: 8px;
        padding: 0.5rem;
        margin-right: 0.5rem;
        background: #111827;
        color: white;
    }

        .chat-footer input:focus {
            outline: none;
        }

    .chat-footer button {
        border: none;
        background: #0d6efd;
        color: white;
        padding: 0 1rem;
        border-radius: 8px;
        cursor: pointer;
    }
/* Mobile tweaks */
/* ✅ Mobile fixes */
@media (max-width: 576px) {
    .chat-menu {
        position: fixed !important;
        width: calc(100vw - 20px) !important; /* always fits screen */
        bottom: 70px !important;
        right: 10px !important;
        height: 74vh !important;
        border-radius: 12px !important;
        max-width: 100% !important;
    }

    .chat-body {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 10px !important;
    }

    .chat-footer input,
    .chat-footer button {
        padding: 8px !important;
        border-radius: 6px !important;
    }
}



/* Slide up animation */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/*Service section*/
.service-card-solg {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 200px; /* fixed height */
    object-fit: cover; /* keeps aspect ratio, crops overflow */
    width: 100%; /* fills card width */
    border-radius: 8px; /* optional: rounded corners */
}

    .service-card-solg:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

.section-title {
    font-size: 2.2rem; /* slightly smaller than before */
    font-weight: 600; /* strong but not too bold */
    color: #e0e0e0; /* light grey for professional look */
    text-transform: none; /* keep normal capitalization */
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; /* clean professional font */
}

    .section-title span {
        color: #fff; /* white or subtle accent color */
        font-weight: 700;
    }

    /* underline */
    .section-title::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: #00bcd4; /* subtle accent color */
        border-radius: 2px;
        transform: translateX(-50%);
        box-shadow: 0 2px 6px rgba(0, 188, 212, 0.4);
    }

.service-img {
    width: 100%; /* Full width of the card */
    height: 200px; /* Keep consistent height for all cards */
    object-fit: contain; /* Keep entire image visible */
    background-color: #f8f9fa; /* Optional: fill the empty space with card background */
    display: block;
}

/*Footer design*/
.footer {
    background-color: rgba(0, 0, 0, 0.85); /* slightly transparent black */
    color: #f8f9fa;
    position: relative;
    margin: 0;
    padding: 0;
}

    .footer a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: #0d6efd; /* Bootstrap primary blue */
        }

    .footer .social-icon {
        font-size: 1.2rem;
        transition: transform 0.3s, color 0.3s;
    }

        .footer .social-icon:hover {
            transform: scale(1.2);
            color: #0d6efd;
        }
/*About Us section design*/

/* Section with animated gradient */
.about-us-section {
    position: relative;
    min-height: 80vh; /* instead of 100vh */
    padding-top: 4rem; /* tweak until it feels right */
    display: flex;
    align-items: flex-start; /* content near top */
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    margin-top: -40px; /* pulls section closer to navbar */
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.about-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

/* Particle float animation */
@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content should appear above animation */
.about-us-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile tweaks */
/* Mobile tweaks */
@media (max-width: 576px) {
    .about-us-section {
        min-height: 80vh; /* taller section for mobile */
        padding: 2rem 0; /* vertical padding */
    }

        .about-us-section .container {
            width: 100% !important; /* full width */
            max-width: 100% !important; /* remove desktop constraints */
            padding: 0 1rem; /* small padding for content */
            margin: 0 auto; /* center content */
        }

        .about-us-section h1 {
            font-size: 1.6rem; /* smaller heading for mobile */
        }

        .about-us-section h2 {
            font-size: 1.3rem;
        }

        .about-us-section p {
            font-size: 1rem;
        }
}

/* Frosted Glass Card */
.about-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

    /* Title Gradient */
    .about-card h2 {
        font-weight: 600;
        font-size: 2.2rem;
        background: linear-gradient(90deg, #4fc3f7, #81d4fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Paragraph Styling */
    .about-card p {
        color: #d9d9d9;
        line-height: 1.7;
    }

/* Image Hover */
.image-card img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .image-card img:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 200, 255, 0.3);
    }


/* Section with animated gradient */
.contact-section {
    position: relative;
    padding-top: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    margin-top: -40px;
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content above animation */
.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Card */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    /* remove max-width or make it larger */
    width: 100%;
    max-width: 100%; /* more natural width */
    margin: 0 auto; /* keeps it centered */
}


@media (max-width: 992px) {
    .contact-card {
        max-width: 100%;
    }
}

    /* Title */
    .contact-card h2 {
        font-weight: 600;
        font-size: 2.2rem;
        background: linear-gradient(90deg, #4fc3f7, #81d4fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* Glass Inputs */
.glass-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    padding: 0.8rem;
}

    .glass-input:focus {
        outline: none;
        border-color: #4fc3f7;
        box-shadow: 0 0 10px rgba(79, 195, 247, 0.6);
    }

    .glass-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

/* Button */
.btn-contact {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 136, 209, 0.4);
    transition: all 0.3s ease;
}

    .btn-contact:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 6px 20px rgba(3, 169, 244, 0.5);
    }

/* Mobile tweaks for Contact Section */
/* Mobile tweaks for Contact Section */
@media (max-width: 576px) {
    .contact-section {
        min-height: 80vh; /* adjust height for mobile */
        padding: 20rem 0; /* no horizontal padding */
        width: 100%; /* full viewport width */
        overflow-x: hidden; /* prevent horizontal scroll */
        margin-left:3px;
    }

        .contact-section .container {
            width: 100%; /* full width */
            max-width: 100%; /* no max-width constraint */
            padding: 0; /* remove container padding */
            margin: 0 auto; /* center content */
        }

    .contact-card {
        width: 100%; /* full width */
        max-width: 100%; /* ensure no restriction */
        padding: 1rem; /* internal spacing */
        border-radius: 12px; /* slightly smaller corners */
    }

        .contact-card h2 {
            font-size: 1.6rem; /* smaller heading */
        }

        .contact-card p,
        .contact-card label,
        .contact-card input,
        .contact-card textarea,
        .contact-card button {
            font-size: 0.79rem; /* smaller text for mobile */
        }
}





.blog-section {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    z-index: 3;
    position: relative;
}

.blog-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0,200,255,0.3);
    }
    /*Services szolg section page*/

/* Fade-in animation */
/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Service description popup */
.service-selected-description {
    background: rgba(200, 200, 200, 0.1); /* Slightly grey transparent */
    border: 1px solid rgba(255, 255, 255, 0.2); /* subtle light border */
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 1rem;
}

/* Book Consultation Button Styling */
.btn-consult {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(3,169,244,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-consult:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 8px 25px rgba(3,169,244,0.6);
        transform: translateY(-2px);
    }

/* Price tag styling */
.price-tag {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 6px 0 6px 6px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(3, 169, 244, 0.5);
}

    /* Small triangular notch to mimic a price tag */
    .price-tag::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px; /* outside the tag */
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #0288d1; /* matches tag gradient end color */
    }

/* Hover effect */
.service-card-solg:hover .price-tag {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 169, 244, 0.7);
}

/*Consultation*/

/* Section with animated gradient */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #222831, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    padding: 4rem 0;
}

/* Animated gradient movement */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 2px, transparent 2px), radial-gradient(circle, rgba(0,200,255,0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    animation: floatParticles 25s linear infinite;
    z-index: 0;
}

@keyframes floatParticles {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Content above animation */
.contact-section .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Consultation form styling */
.consultation-form .form-label {
    font-weight: 600;
}

.consultation-form .form-control,
.consultation-form .form-select,
.consultation-form textarea {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

    .consultation-form .form-control::placeholder,
    .consultation-form textarea::placeholder {
        color: #ccc;
    }

/* Submit button */
.btn-consult {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(3,169,244,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-consult:hover {
        background: linear-gradient(135deg, #81d4fa, #03a9f4);
        box-shadow: 0 8px 25px rgba(3,169,244,0.6);
        transform: translateY(-2px);
    }

/* Service dropdown with black text */
#serviceSelect {
    color: #000 !important; /* text inside the select */
    background-color: rgba(255,255,255,0.9); /* optional: light background */
    border-radius: 8px;
    border: 1px solid #ccc;
}

    /* Options text */
    #serviceSelect option {
        color: #000; /* ensure options are black */
    }
.status-message {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-left: 5px solid #28a745; /* green pipe */
    background-color: rgba(40, 167, 69, 0.3); /* light green background */
    color: #0af53a; /* dark green text */
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.contact-form-container {
    max-width: 600px; /* wider than default (Bootstrap often uses 400-500px) */
    width: 100%; /* allow it to stretch */
    margin: 0 auto; /* keep it centered */
}

/*Loading*/

.loading-circle {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #4fc3f7;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


/* Konténer jobbra, desktopon */
/* Desktop: push fully right */
/* Desktop: right side */
.culture-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 20px; /* distance from top */
    right: 20px; /* distance from right */
    background: transparent !important;
    z-index: 1050; /* above navbar collapse */
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile: center top, above menu */
@media (max-width: 991px) {
    .culture-selector-container {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
    }
}


.flag-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-flag {
    transition: transform 0.6s; /* smooth flip */
    transform-style: preserve-3d;
    cursor: pointer;
}

    /* Flip on hover */
    .language-flag:hover {
        transform: rotateY(180deg);
    }

    /* Flip when selected */
    .language-flag.selected {
        transform: rotateY(180deg);
    }


/* Hover effect */
.flag-container:hover .language-flag {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Selected flag border */
.language-flag.selected {
    border: 2px solid #007bff;
}

/* Tooltip */
.tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: rgba(0,0,0,0.75);
    color: #fff;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 125%; /* above the flag */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10;
}

.flag-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/*Fix in bugs on the main form*/

/*.hero-section, .services-section, .about-us-section, .contact-section {
    max-width: 100vw;
    box-sizing: border-box;
}

.some-card, .frosted-card {
    max-width: 100%;*/ /* Prevent overflow from wide cards */
/*}

.glow-element {
    transform: translateX(-50%) translateY(-50%);
    max-width: 100vw;*/ /* Ensure it doesn't exceed viewport */
/*}*/

/** {
    outline: 1px solid red;*/ /* Shows boundaries of all elements */
/*}*/

/* Optional: make sure all containers respect viewport */