
* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Satoshi-Variable';
    src: url('/fonts/Satoshi-Variable.woff2') format('woff2'),
         url('/fonts/Satoshi-Variable.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

html, body {
    margin: 0;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(45deg, #617bb3, #6a5f6a, #fceb76);
    background-size: 300% 1200%;
    animation: gradient-animation 10s ease infinite;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Satoshi';
}

@keyframes gradient-animation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.logo_mobile {
    display: none;
}

.automation-table {
    margin: 20px 0;
}

.automation-table td {
    border-right: 1px solid #c9c9c9;
    padding: 10px;
    font-size: 14px;
}

#mapping-full {
    margin: 0px 60px 0 60px;
    background: #111010;
    border-radius: 25px;
}

.flowchart-controls-mapping {
    display: flex;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
    padding: 10px 0;
}

.talk-with-gemma {
    color: white;
    border: 0;
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
    animation: gradient_move 3s ease infinite;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
}
 
.flex {
    display: flex;
}

.left-column h1 {
    font-size: 25px;
    font-weight: 500;
    margin: 25px 0 10px 0;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: gray;
}

/* Topbar styles */
.topbar_wrapper {
    position: sticky;
    top: 0;
    background-color: black;
    border-bottom: 1px solid #373737;
    width: 100%;
    z-index: 11;
}

.topbar {
    color: white;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
}

.logo a,
.logo_mobile a {
    color: white;
    font-size: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.logo img,
.logo_mobile img {
    width: 25px;
    margin-right: 10px;
}

.logo span {
    margin-bottom: 0px;
}

footer .logo a {
    justify-content: end;
}

footer .logo img {
    width: 35px;
}

.menu {
    flex: 6;
    color: grey;
}

.menu span {
    padding: 0 20px;
}

.menu2 {
    display: flex;
    align-items: center;
}

.menu2 a,
.menu a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    cursor: pointer;
    font-size: 14px;
}

.menu a:hover {
    color: lightgray;
}

.right-buttons {
    flex: 2;
    display: flex;
    justify-content: flex-end;
}

/* Main content styles */
.main-container {
    display: flex;
    border-radius: 15px;
}

.left-column {
    flex: 0 0 20%;
    border-right: 1px solid #f1f1f1;
    position: relative;
    background: white;
    border-radius: 15px 0 0 15px;
}

.right-column {
    flex: 0 0 80%;
}

.right-column .flex {
    flex-wrap: wrap;
}

.content p,
.content li {
    font-family: "Source Serif 4", sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #1f2937;
}

.content iframe {
    width: 100%;
    height: 400px;
}

.right-column li {
    padding-bottom: 10px;
}

.right-column h1 {
    margin: 35px 0 0 0;
}

.right-column h2 {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 25px;
}

.right-column a {
    color: #1e3bd7;
}

.right-column .pricing {
    width: 30%;
    position: sticky;
    top: 70px;
    background: #000000f0;
    z-index: 10;
    color: white;
    border-radius: 0 15px 15px 0;
}

.sticky {
    position: sticky;
    top: 100px;
}

.sticky .flex {
    flex-wrap: wrap;
}

.pricing-box {
    padding: 40px;
}

.pricing h2 {
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.pricing .price {
    display: block;
    padding: 8px 0;
    font-weight: 500;
    color: #b6b6b6;
    font-size: 35px;
}

.right-column .content {
    width: 70%;
    min-height: 120vh;
    padding: 0px 150px 50px;
    background: white;
}

.right-column .content p,
.right-column .content blockquote {
    text-align: justify;
}

.content-section.active {
    display: block;
}

.tech-content,
.marketing-content,
.projects-content {
    display: none;
}

.tech-content.active,
.marketing-content.active,
.projects-content.active {
    display: block;
}


/* Update existing h2 styles */
.left-column h2 {
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    color: black;
    text-transform: lowercase;
}

/* Apply gradient only to directly hovered h2 */
.automated-companies .rotating-text {
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient_move 3s ease infinite;
}

/* Add the gradient animation if it's not already defined */
@keyframes gradient_move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add these styles for the image placeholders */
.menu-image {
    width: 30px;
    height: 30px;
    background-color: #ddd;
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

#menu-list {
    position: sticky;
    top: 100px;
    min-height: 115vh;
    padding: 0 30px;
}

#menu-list:hover .menu-image {
    background-color: #6b6b6b;
}

#menu-list:hover h2 {
    color: #4d4d4d;
}

a:hover h2 .menu-image,
.service-link:hover .menu-image {
    background-color: #5908da !important;
    border-radius: 50%;
}

.automated-companies {
    width: 100%;
}

.rotating-text {
    font-size: 20px;
    transition: opacity 1s ease-in-out;
    min-height: 60px; /* Adjust based on your needs */
    margin: 0;
    padding: 0 20px;
    display: flex;
    color: #fffef2;
    align-items: center;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 40px;
    text-align: center;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

#projects .service-link {
    display: flex;
    align-items: center;
    position: relative;
}

#projects-right .gallery {
    display: flex;
    flex-wrap: wrap;
}

#projects-right .gallery img {
    width: 240px;
    height: 240px;
    object-fit: cover;
}

.service-link h2 {
    padding: 0;
    margin: 0;
}

label {
    cursor: pointer;
}

/* Add these CSS rules */
.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.service-link:hover h2 {
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient_move 3s ease infinite;
}

.service-link .menu-image {
    width: 20px;
    height: 20px;
    background-color: #e5e5e5;
    display: inline-block;
    margin-right: 12px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.service-link.active h2 {
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient_move 3s ease infinite;
}

.service-link.active .menu-image {
    background-color: #5908da !important;
    border-radius: 50%;
}

.menu-description {
    font-size: 12px;
    color: gray;
    font-family: 'Roboto';
    padding: 15px 0 10px 0;
    display: block;
}

/* Add these styles to your existing CSS */
#form-message {
    margin: 15px 0;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Add these styles to your existing CSS */
.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

.checkbox-text a {
    color: #007bff;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #0056b3;
}

/* Custom checkbox styling */
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.main-container,
.rotating-text,
.topbar {
    max-width: 1920px;
    margin: 0 auto;
}

/* Mobile menu styles */
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: black;
    z-index: 999;
    transition: 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-overlay .mobile-menu-header {
    padding: 10px 20px;
    border-bottom: 1px solid #373737;
}

.mobile-menu-overlay .mobile-menu-header .logo a {
    color: white;
    font-size: 25px;
    font-weight: 600;
}

.mobile-menu-overlay .menu {
    flex: 1;
}

.mobile-menu-overlay .mobile-menu-footer {
    text-align: center;
}

.mobile-menu-footer-image {
    width: 150px;
    height: 150px;
    background-color: #373737;
    margin: 0 auto;
    border-radius: 4px;
}

.left-column h3 {
    border-top: 1px solid lightgray;
    padding-top: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
}

.left-column h3 a {
    color: grey;
}

.desk-video {
    margin-top: 20px;
    border-radius: 25px;
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.free_consultation {
    display: flex;
    justify-content: center;
    background: #0064ff;
    background-size: 200% auto;
    animation: gradient_move 3s ease infinite;
    border: 0;
    width: 100%;
    padding: 10px 25px;
    margin: 0 !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
}

.free_consultation:hover {
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
}

.site-footer {
    width: 100%;
    padding: 40px 0;
    color: white;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    padding: 0 15px;
    text-align: right;
}

.footer-column h3 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: lowercase;
}

footer p {
    font-size: 14px;
}

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

.footer-column a:hover {
    opacity: 0.8;
}

.source {
    font-size: 12px;
    background: lightgray;
    border-radius: 50%;
    padding: 5px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0px 4px 0px;
}

blockquote {
    font-size: 20px;
    margin: 40px;
}



.project-button {
    background: #008eff;
    padding: 15px 25px;
    border-radius: 10px;
    width: 70%;
    margin: 16px 0;
    cursor: pointer;
    border: 0;
    
}

.project-button:hover {
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
    animation: gradient_move 3s ease infinite;
}

.project-button {
    color: white;
}

.email-subscription {
    background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
    padding: 30px;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: gradient-animation 12s ease infinite;
}

.email-subscription h3 {
    margin: 0;
    font-size: 30px;
    letter-spacing: 1px;
    color: white;
}

.email-subscription p {
    color: #f9f9f9;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.subscription-form {
    display: flex;
    gap: 1rem;
    margin: 20px 0 0 0;
    position: relative;
}

.subscription-form input[type="email"] {
    color: black;
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgb(217 217 217);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #ffffffcf;
}



.subscription-form input[type="email"]:focus {
    outline: none;
    border-color: #000;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.subscription-form input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
}

.subscribe-button {
    padding: 1.2rem 3rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.subscribe-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.subscribe-button:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.subscribe-button:hover::before {
    left: 100%;
}

  p.badge {
    line-height: 1;
    margin: 0 5px 8px 0;
    background: #a7996f;
    color: white;
    padding: 7px 15px;
    font-size: 13px;
    border-radius: 10px;
    width: fit-content;
  }


  #super-hero-wrapper {

  }

  #super-hero {
    max-width: 1920px;
    margin: 0 auto;
    padding-bottom: 80px;
    text-align: center;
    color: white;
    font-family: 'Satoshi-Variable';
  }

  #super-hero h1 {
    font-size: 80px;
    margin: 0;
  }

  #super-hero h3 {
    font-size: 20px;
    margin: 0;
  }
  
    
  #main {
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
  }

  #main .col h1 {
    margin: 0 0 0 0;
    font-size: 2em;
    font-weight: 500;
  }

  #main .col p {
    margin: 5px 0;
    font-size: 15px;
  }

  #main .col .item {
    border-bottom: 1px solid #00000078;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px 0 60px;
    cursor: pointer;
    height: 300px;
    background: white;
}

#main .col .item:hover {
    background: #000000c4;
    color: lightgrey;
}

#main .col .item:hover a {
    color: rgb(241, 241, 241);
}

  #col-l {
    width: 50%;
  }

  #col-r {
    width: 50%;
    background: #111010;
  }


  .team-description {
    color: white;
    margin: 55px auto;
    width: 1024px;
    font-size: 20px;
}

.team-description p {
    text-align: justify;
    line-height: 1.5;
    font-family: 'Satoshi Variable';
}

.team-description h3 {
    font-size: 22px;
    font-weight: 500;
}

.team-description a {
    color: violet;
}

.team-description a:hover {
    color: lightgray;
}

.signature {
    margin-bottom: 20px;
}

.signature p {
    font-size: 20x;
    text-align: right;
    margin: 10px 0 0 0;
    padding: 0;
}

#globe-container {
    width: 100%;
    position: relative;
}

#particle-image {
    width: 100%;
    height: 1024px;
}

.contact-footer {
    background: #000000c4;
    padding: 20px 0 40px 0;
}

.contact-footer .flex {
    justify-content: space-between;
    width: 1000px;
    margin: 0 auto;
    color: white;
}

#site-content {
    position: absolute;
    width: 100%;
    top: 345px;
}

/* Fixed bottom navigation container for mobile */
#fixed-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

#fixed-bottom-nav .nav-button {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

#btn-services {
    background-color: #0064ff;
    color: white;
}

#btn-flow {
    background-color: #000;
    color: white;
}

#btn-services:hover {
    background-color: #0056d8;
}

#btn-flow:hover {
    background-color: #333;
}

#fixed-bottom-nav .nav-button.active {
    opacity: 1;
    font-weight: 600;
    box-shadow: inset 0 -3px 0 white;
}

.flowchart-controls {
    padding: 0 50px;
    color: white;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.flowchart-controls h3 {
    font-size: 20px;
    font-weight: 500;
}

.summary-info {
    font-size: 14px;
    color: rgb(207, 207, 207);
    display: block;
}

.flowchart-controls table td {
    border: 1px solid gray;
    padding: 20px;
    width : 50%;
}

#flowchart-heading {
    background: transparent;
    color: white;
    height: auto;
    padding: 40px 0 5px 40px;
    border-bottom: 0;
    position: relative;
}

#flowchart-heading span {
    position: absolute;
    top: 0;
    right: 0;
    padding: 25px;
    color: rgb(226, 226, 226);
    width: 210px;
    font-size: 13px;
}

#flowchart-heading h1 {
    color: rgb(248, 248, 248);
    font-weight: 500;
}

.flowchart-btn {
    padding: 8px 15px;
    background-color:rgba(82, 51, 255, 0);            color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
    font-size: 13px;
}

.flowchart-btn:hover {
    background-color:rgba(236, 236, 236, 0.15);
    border: 2px solid white;
}

.flowchart-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* SVG Flowchart container styling */
#svg-flowchart-container {
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
}

#svg-flowchart-container svg {
    min-width: 1024px;
    height: 100%;
    display: block;
}

#research .flowchart-container svg {
    width: 1700px !important;
    transform: translate(-475px) !important;
}

.flowchart-container {
    width: 100%;
    position: relative;
    overflow-x: auto !important;
    overflow-y: hidden;
    min-height: 300px;
}


.svg-flow-edit-mode {
    border-radius: 25px;
    background-image: linear-gradient(rgba(80, 80, 80, 0.3) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(80, 80, 80, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #333333;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(27, 27, 27, 0.86);
    border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.automated .animated-border div {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.automated .border-layer {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(270deg, #ff0080, #7928ca, #00ffff);
    background-size: 600% 600%;
    animation: borderAnim 6s ease infinite;
    padding: 2px;
    box-sizing: border-box;
    z-index: 0;

    /* Maska, która wycina środek */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

.automated .content-layer {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 10px;
    color: white;
    font-family: sans-serif;
    white-space: pre-wrap;
    padding: 10px 0;
    box-sizing: border-box;
    line-height: 1.5;
}

.content-layer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 1.7;
}

.title, 
.price {
    margin-bottom: 10px;
}

.aihint {
    margin-top: 10px;
}

  /* Modal and display styles */
  body.flow-active #col-r {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background-color: rgb(24, 24, 24);
    overflow-y: auto;
  }
  
  body.flow-active .close-flow-btn {
    display: block;
  }
  
  .close-flow-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
  }
  
  .close-flow-btn:hover {
    color: #ddd;
  }

  body.flow-active #site-content {
    overflow: hidden;
    height: 100vh;
  }

.node-style {
    font-size: 14px;
}

.avatar {
    height: 545px;
}

.avatar input {
    border: 0;
}

.automated-companies {
    padding: 0 20px;
}

/* Mobile Menu Modal Styles */
.mobile-menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 1000;
    overflow-y: auto;
}


.mobile-fixed-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    z-index: 999;
    font-weight: 500;
    font-size: 14px !important;
}

.project-button-wrapper {
    font-size: 20px;
    margin-top: 10px;
}

.contact-button-wrapper .free_consultation {
    padding: 15px 20px;
}

.mini_flowboard_table {
    padding: 0 25px 20px;
}

.flowboard-table {
    width: 100%;
    color: white;
    font-size: 14px;
}

.flowboard-table td {
    padding: 10px;
    border-bottom: 1px solid gray;
}

.mini_flowboard_table p {
    font-size: 13px;
    color: lightgray;
    padding-top: 15px;
}
.research-images img,
.research-images video {
    width: 30%;
}

.gallery img {
    width: 32%;
    margin: 0;
    padding: 0;
}

#research-table div {
    width: 48%;
}

.contact-footer .phone-number,
.contact-footer .email-address {
    color: white;
    font-size: 24px;
}

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

@media (max-width: 4000px) {
    #main {
        width: 1920px;
    }
    
}

@media (max-width: 1920px) {

    #main {
        width: 95% !important;
    }

    .main-container {
        border-radius: 0;
    }

    .topbar {
        margin: 0 5px 0 20px !important;
    }

    .menu span {
        padding: 0;
    }

    .left-column h2 {
        font-size: 16px;
    }

    .left-column h1 {
        font-size: 20px;
    }

    .right-column h1 {
        margin: 20px 0 0 0;
        font-size: 25px;
    }
}


@media (max-width: 1540px) {
    
    #super-hero h1 {
        font-size: 70px;
    }

    .avatar {
        height: 525px !important;
    }

}

@media (max-width: 1480px) {
    .avatar {
        height: 510px !important;
    }
    #super-hero h1 {
        font-size: 60px !important;
    }

    .logo img {
        display: none;
    }

    .menu2 #to_hide {
        display: none;
    }
}


/* Update existing responsive styles */
@media (max-width: 1366px) {

    

    .research-images {
        width: 100% !important;
        flex-wrap: wrap;
    }

    .research-images img,
    .research-images video {
        width: 28%;
        margin: 0 5px !important;
    }

    #mapping-full {
        padding: 0;
        margin: 0;
    }

    .flowchart-controls-mapping div {
        width: 25%;
        padding: 0 2px;
    }

    .flowchart-controls-mapping button {
        font-size: 11px;
        margin: 3px;
        width: 100%;
    }

    .mobile-menu-overlay .menu {
        display: flex;
        flex-direction: column;
        padding-top: 30px;
    }

    .mobile-menu-overlay .menu a {
        font-size: 16px;
        display: flex;
        align-items: center;
        padding: 3px 0;
    }

    .mobile-menu-overlay .menu .mobile-divider + a {
        border-top: 1px solid #373737;
        margin-top: 10px;
        padding-top: 20px;
    }

    .mobile-menu-overlay .menu span.menu-image {
        width: 20px;
        height: 20px;
        background-color: #373737;
        display: inline-block;
        margin-right: 12px;
        border-radius: 4px;
    }

    .mobile-menu-overlay .menu span:not(.menu-image) {
        display: none;
    }

    .mobile-menu-overlay .menu a:hover .menu-image {
        background-color: #5908da;
    }

    .mobile-menu-overlay .menu a.active .menu-image {
        background-color: #5908da !important;
        border-radius: 50%;
    }

    /* Burger menu animation */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .menu span {
      padding: 0;
    }

    .menu-description {
        font-size: 10px;
    }

    span#info {
        position: relative !important;
        padding: 0 !important;
    }
}

@media (max-width: 1280px) {
    .logo {
        display: none;
    }
}


/* Responsive design */
@media (max-width: 1180px) {

    .logo,
    .logo img {
        display: block;
    }

    footer .logo a {
        justify-content: start;
    }

    .rotating-text {
        font-size: 16px;
        min-height: 50px;
    }

    .desk-video {
        display: none !important;
    }

    .main-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        flex: 0 0 100%;
    }

    .right-column .pricing {
        position: relative;
        top: 0;
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    .menu {
        display: none;
    }

    #super-hero h1 {
        font-size: 55px !important;
    }

    .avatar {
        height: 530px !important;
    }

    .topbar {
        padding: 0;
    }

    .burger-menu {
        display: block;
    }

    /*
    #free_consultation_mobile {
        background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
        animation: gradient-animation 5s ease infinite;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 500 !important;
    }

    #free_consultation_mobile .menu-image {
        background: -webkit-linear-gradient(225deg, rgb(251, 175, 21), rgb(251, 21, 242), rgb(21, 198, 251)) 0% 0% / 300% 300%;
        animation: gradient-animation 3s ease infinite;
    }
    */

    #free_consultation_mobile:hover {
        color: lightgray;
    }

    #menu-list {
        display: none;
    }

    .right-column h2 {
        padding: 0;
    }

    .footer-container {
        flex-wrap: wrap;
    }

    .footer-column {
        text-align: left;
        width: 50%;
        flex: auto;
        padding: 0 0 30px 0;
    }

    #projects-right {
        padding: 0;
        width: 100%;
    }


    .right-column .content {
        width: 100%;
    }

    .right-column p, .right-column li {
        font-size: 16px;
        line-height: 1.7rem;
    }

    .footer-column h3 {
        margin-top: 5px;
    }

    .rotating-text {
        padding: 0 10px;
    }

    #menu-list {
        min-height: auto;
        padding: 0 20px 20px 20px;
    }


    .pricing {
        padding: 35px 0 20px 0 !important;
        
    }

    .pricing div {
        text-align: left;
    }

    .project-button {
        width: 100% !important;
    }

} 

@media (max-width: 1024px) {
    
    .topbar {
        margin: 0 0 0 20px !important;
    }
   
    .avatar {
        height: 505px !important;
    }

    .node-style {
        font-size: 12px;
    }

    #flowchart-container {
        margin: 20px 0;
    }

    .flowchart-controls {
        padding: 0 15px;
    }
    
    #super-hero h1 {
        font-size: 40px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    #super-hero h3 {
        font-size: 15px;
        margin: 0;
    }

    #super-hero p {
        font-size: 13px;
    }

    .subscription-form {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .subscribe-button {
        width: 100%;
    }

    .email-subscription {
        padding: 2rem 1.5rem;
    }

    .email-subscription h3 {
        font-size: 1.8rem;
    }

    #mobile-menu-footer-video {
        width: 100%;
    }


    .form-control {
        font-size: 30px;
    }

    #contact-form {
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 25px 0;
    }

    .team-description h1 {
        padding-bottom: 0 !important;
        margin: 0;
    }

    .contact-footer .flex {
        width: 100%;
        flex-wrap: wrap;
        padding: 0 25px;
    }

    .contact-footer .flex > div {
        width: 50%;
    }

    #globe-container {
        margin: 0;
    }

    #location-name {
        font-size: 25px !important;
    }

    .team-description {
        margin: 10px 20px;
        width: auto;
        font-size: 16px;
    }

    .team-description h1 {
        font-size: 30px;
        padding-bottom: 10px;
    }

    .team-description h3 {
        font-size: 20px;
    }

    blockquote {
        font-size: 18px;
        margin: 40px;
    }

   
#mobile-menu-button, #mobile-consultation-button {
    width: 50%;
    padding: 15px 0;
    margin: 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#mobile-menu-button {
    background-color: #000000;
    color: white;
}

#mobile-menu-button:hover {
    background-color:rgb(224, 224, 224);
    color: black;
}

#mobile-consultation-button {
    border-radius: 0;
    text-align: center;
}

#mobile-consultation-button:hover {
    color: white;
}


.modal-content {
    width: 100%;
    height: 100%;
    padding: 0 25px;
}

.close-modal {
    color: white;
    line-height: 1;
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.mobile-menu-container {
    margin-top: 40px;
    color: white;
}

    #mobile-menu-list #free_consultation_mobile {
        border: 0;
        color: white;
        font-size: 16px !important;
        background: #0064ff;
        padding: 15px 90px;
        border-radius: 10px;
        width: 100%;
        cursor: pointer;
    }

    #mobile-menu-list #free_consultation_mobile:hover {
        background: white;
        color: #0064ff;
    }

    #mobile-menu-list h3 a  {
        color: #a3a3a3;
    }

    #mobile-menu-list .service-link h2 {
        color: #f1f1f1;
        font-size: 17px;
        font-weight: 400;
    }

    #mobile-menu-list .service-link .menu-image {
        background: #adacac;
    }

    #mobile-menu-list .menu-description {
        color: #a3a3a3;
        font-size: 12px;
    }

    #mobile-menu-list .service-link {
        display: flex;
        padding: 5px 0;
        align-items: center;
    }

    .mobile-fixed-buttons {
        display: flex;
        justify-content: space-between;
    }

    #fixed-bottom-nav {
        display: flex;
    }
    
    #col-l, #col-r {
        width: 100%;
    }

    #col-r {
        display: none;
    }
    
    /* Add padding to the bottom of the content to prevent it from being hidden behind the fixed nav */
    .site-footer {
        padding-bottom: 80px;
    }

    #main .col .item {
        padding-left: 35px;
        padding-right: 35px;
        height: 200px;
    }

    #main .col h1 {
        font-size: 25px; 
        margin: 0 0 10px 0px;
    }

    #main .col p {
        font-size: 14px;
        
    }

    #flowchart-heading {
        padding: 20px 0 0 25px;
    }

    #flowchart-heading span {
        position: relative;
        padding: 0;
    }
}

@media (max-width: 960px) {
    .avatar {
        height: 585px !important;
    }
    #super-hero h1 {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    .topbar .menu2 {
        display: none;
    }

    #particle-image {
        height: 647px;
    }

    .marketing-content table {
        font-size: 12px;
    }

    .pricing-box {
        padding: 0 20px;
    }

    .contact-button-wrapper {
        margin-top: 40px;
    }

    .right-column .content {
        padding: 0 25px;
    }

    .topbar {
        padding: 0 !important;
        margin: 0 0 0 10px !important;
    }

    .automated-companies {
        padding: 0 0 0 10px !important;
    }

    .avatar {
        height: 560px !important;
    }

    #super-hero h1 {
        font-size: 45px !important;
        padding: 0 50px;
    }    
}

@media (max-width: 642px) {
    .avatar {
        height: 615px !important;
    }
    
    #research-table div {
        width: 100%;
        margin: 0 20px;
    }

}

@media (max-width: 400px) {
    footer .logo {
        display: none;
    }

    footer .logo_mobile {
        display: block;
    }

    #footer-last .logo_mobile {
        padding-bottom: 15px;
    }
}

/* Add styles for the flowchart editor */
.flowchart--controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Node styling */
.flowchart-node {
    cursor: move;
    user-select: none;
}

.node-shape {
    transition: filter 0.3s;
}

.flowchart-node:hover .node-shape {
    filter: brightness(1.2);
}

/* Link start node highlight */
.flowchart-node.link-start .node-shape {
    stroke: #3498db;
    stroke-width: 3px;
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.7));
}

/* Edit mode specific styles */
body.edit-mode #svg-flowchart-container {
    background-image: linear-gradient(#2c3e5022 1px, transparent 1px),
                      linear-gradient(90deg, #2c3e5022 1px, transparent 1px);
    background-size: 20px 20px;
}


/* Ensure scrolling works in flow-active mode */
body.flow-active #svg-flowchart-container {
    overflow-x: auto !important;
    overflow-y: auto !important;
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Ensure the SVG has enough content to scroll in flow-active mode */
body.flow-active #svg-flowchart-container svg {
    min-width: 800px;
}
