:root {
    
    --color-background: #111111; 
    --color-dark-line: #1C1C1C; 
    --color-dark: #FFFFFF; 
    --color-primary-blue: #6cd9da;
    --color-secondary-cyan: #1f3c8c; 
    --color-accent: #1aa1cf; 
    --color-light-text: #AAAAAA; 
    

    --font-primary: 'Inter', sans-serif; 
    --font-weight-regular: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 900; 
    
   
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--color-background);
    color: var(--color-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    line-height: 1.1;
}

h1 { font-size: 5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.2rem; }

a { text-decoration: none; color: var(--color-dark); }



.side-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.side-nav a {
    text-orientation: mixed;
    writing-mode: vertical-rl;
    margin: var(--spacing-md) 0;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    color: var(--color-light-text);
    transition: color 0.3s;
}

.side-nav a:hover,
.side-nav a.active {
    color: var(--color-secondary-cyan);
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-dim);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
  
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switch:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.theme-toggle-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim) !important;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s var(--transition);
}

.theme-toggle-link::after {
    display: none !important;
}

.theme-toggle-link:hover {
    color: var(--primary) !important;
    background: var(--bg-warm);
    border-color: var(--border);
    transform: translateY(-2px);
}


.main-header {
    background-color: transparent;
    padding: var(--spacing-sm) 0;
    position: absolute; 
    width: 100%;
    z-index: 1000;
    
}

.main-header .container {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-top: 20px; 
    padding-bottom: 20px; 
}

.logo img {
    height: 35px; 
}
.main-nav {
    flex-grow: 1; 
    text-align: center; 
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; 
    gap: 25px; 
}
.main-nav ul li {
   
    display: inline-block;
}

.main-nav a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-light-text);
    transition: color 0.3s;
}
.main-nav a:hover {
    color: var(--color-dark);
}
.main-header .logo {

    margin-right: auto;
 
    position: relative;
    z-index: 10;
}
.header-utility {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.lang-switch {
    font-size: 0.8rem;
    color: var(--color-light-text);
}

.menu-icon {
    font-size: 1.2rem;
    color: var(--color-secondary-cyan);
}



.hero-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    overflow: hidden;


}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: var(--spacing-md);
}

.pre-headline {
    color: var(--color-light-text);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
}

.hero-section h1 {
    font-size: 6.5rem;
    letter-spacing: 0.2rem;
}

.accent-word {
    color: var(--color-secondary-cyan);
    
    position: relative;
    z-index: 1;
}


.accent-word::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.8;
    z-index: -1;
}

.subtitle {
    font-size: 1rem;
    color: var(--color-light-text);
    max-width: 450px;
    margin-top: var(--spacing-md);
}

.hero-ctas {
    margin-top: var(--spacing-lg);
}

.button-primary {
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: 0.75rem 3rem;
    text-transform: none;
    border-radius: 0; 
    display: inline-block;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.button-primary:hover {
    background-color: var(--color-secondary-cyan);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
}



.hero-bottom-info {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    width: 80%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-dark-line);
    padding-top: var(--spacing-md);
}

.info-box {
    width: 45%;
}

.info-box h3 {
    font-size: 0.9rem;
    color: var(--color-light-text);
    margin-bottom: 0.2rem;
}

.info-box p {
    font-size: 0.8rem;
    color: var(--color-light-text);
    opacity: 0.7;
}


.hero-visual {
    position: absolute; 
    right: 0;
    top: 0;
    width: 50%; 
    height: 100%;
    border-left: 1px solid var(--color-dark-line); 
    overflow: hidden; 
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
    z-index: 1; 
    
    background: linear-gradient(to right, 
                var(--color-background) 0%, 
                rgba(17, 17, 17, 0.7) 30%,    
                transparent 70%               
            );
}

.hero-visual .hero-image {
    width: 100%; 
    height: auto;
    object-fit: cover; 
    object-position: 0% center; 
    display: block;
    transform: translateX(0px); 
    filter: brightness(0.9) contrast(1.1); 
    transition: transform 0.3s ease-out; 
}




.competencies-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-top: 1px solid var(--color-dark-line);
}

.competencies-section h2 {
    text-align: center;
    color: var(--color-dark);
    margin-bottom: var(--spacing-lg);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.competency-card {
    background-color: var(--color-background);
    padding: var(--spacing-md);
    border: 1px solid var(--color-dark-line);
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 0; 
    text-align: center; 
}

.competency-card:hover {
    border-color: var(--color-secondary-cyan);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-secondary-cyan);
    margin-bottom: var(--spacing-sm);
}

.competency-card h3 {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.competency-card p {
    color: var(--color-light-text);
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-accent);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.read-more:hover {
    color: var(--color-secondary-cyan);
}




.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.ki-services-section, .it-solutions-section {
    border-top: 1px solid var(--color-dark-line);
}


.section-title {
    text-align: center;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    text-align: center;
    color: var(--color-light-text);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--color-background);
    padding: var(--spacing-md);
    border: 1px solid var(--color-dark-line);
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 0;
    text-align: center;
}

.service-card:hover {
    border-color: var(--color-secondary-cyan);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.service-card .card-icon {
    font-size: 3rem;
    color: var(--color-secondary-cyan);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--color-light-text);
    font-size: 1rem;
}




.solutions-section {
    border-top: 1px solid var(--color-dark-line);
    padding-top: var(--spacing-xl); 
    padding-bottom: var(--spacing-lg); 
}


.solutions-section .section-title {
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}


.solutions-section .section-description {
    text-align: center;
    color: var(--color-light-text);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto; 
}

.solutions-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: var(--spacing-md);
    text-align: center;
    margin-bottom: var(--spacing-xl); 
    margin-top: var(--spacing-lg); 
}

.solution-item { 
    background-color: var(--color-background);
    padding: var(--spacing-md);
    border: 1px solid var(--color-dark-line);
    transition: border-color 0.3s, box-shadow 0.3s;
    border-radius: 0;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    min-height: 220px; 
}

.solution-item:hover {
    border-color: var(--color-secondary-cyan);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.solution-item .card-icon { 
    font-size: 2.5rem;
    color: var(--color-secondary-cyan);
    margin-bottom: var(--spacing-sm);
    display: block; 
}

.solution-headline { 
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-dark);
    display: block;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.solution-item p {
    font-size: 0.9rem;
    color: var(--color-light-text);
    margin-bottom: var(--spacing-sm); 
    line-height: 1.6;
    flex-grow: 1; 
}


.solution-item .read-more {
    margin-top: auto; 
    display: inline-block; 
}



.additional-facts-content {
    margin-top: var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    border-top: 1px solid var(--color-dark-line);
    padding-top: var(--spacing-xl);
}

.additional-facts-content .text-block h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

.additional-facts-content .text-block p {
    font-size: 0.95rem;
    color: var(--color-light-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}



.contact-section {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-dark-line);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: var(--spacing-lg) auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-dark-line);
    padding: var(--spacing-sm);
    color: var(--color-dark);
    font-size: 1rem;
    border-radius: 0;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary-cyan);
    box-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    border: 1px solid var(--color-dark-line);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info h3 {
    color: var(--color-secondary-cyan);
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--color-light-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.social-links {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    font-size: 1.5rem;
    color: var(--color-light-text);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-secondary-cyan);
}


/* ==================================== */
/* --- RESPONSIVE BREAKPOINTS --- */
/* ==================================== */

@media (max-width: 1200px) {
    .hero-section h1 { font-size: 5rem; }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
  
    .side-nav { display: none; } 
    
    .main-nav { display: none; } 
    .header-utility { margin-left: auto; }

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2rem; }

    .hero-section {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none; 
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .accent-word::before {
        display: none;
    }
    
    .subtitle {
        max-width: 100%;
    }
    
    .hero-bottom-info {
        position: static;
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        border-top: none;
    }
    .info-box {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--color-dark-line);
        padding-bottom: var(--spacing-sm);
    }

    .competencies-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr; 
    }
    
    .solution-item {
        min-height: auto; 
    }

    .additional-facts-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding-top: var(--spacing-lg);
    }

    .additional-facts-content .text-block h3 {
        text-align: center;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-info {
        padding: var(--spacing-md);
    }

    .main-header .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo img {
        height: 30px;
    }

    #main-page-footer .footer-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.1rem; }

    .container {
        width: 95%;
    }

    .hero-section {
        padding: var(--spacing-md) 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .hero-ctas {
        margin-top: var(--spacing-md);
    }

    .button-primary {
        padding: 0.65rem 2rem;
        font-size: 0.95rem;
    }

    .section-padding {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }

    .section-description {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }

    .service-card {
        padding: var(--spacing-md);
    }

    .service-card .card-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .solution-item {
        padding: var(--spacing-md);
        min-height: auto;
    }

    .solution-item .card-icon {
        font-size: 2.2rem;
    }

    .solution-headline {
        font-size: 1.3rem;
    }

    .additional-facts-content .text-block h3 {
        font-size: 1.3rem;
    }

    .additional-facts-content .text-block p {
        font-size: 0.9rem;
    }

    #main-page-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .footer-branding {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1rem; }

    .hero-section h1 {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }

    .pre-headline {
        font-size: 0.7rem;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-top: var(--spacing-sm);
    }

    .button-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .service-card {
        padding: var(--spacing-sm);
    }

    .service-card .card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .solutions-grid {
        gap: var(--spacing-sm);
    }

    .solution-item {
        padding: var(--spacing-sm);
    }

    .solution-item .card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .solution-headline {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .solution-item p {
        font-size: 0.85rem;
    }

    .additional-facts-content {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }

    .additional-facts-content .text-block h3 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-sm);
    }

    .additional-facts-content .text-block p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .contact-info h3 {
        font-size: 1.4rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    #main-page-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-branding {
        grid-column: 1;
    }

    .main-footer .footer-col h4::after {
        margin: 5px auto 0;
    }

    .main-footer .footer-links ul li {
        margin-bottom: 8px;
    }

    .main-footer .footer-links ul li a {
        font-size: 0.9rem;
    }

    .main-footer .footer-bottom .copyright {
        font-size: 0.8rem;
    }

    .logo img {
        height: 25px;
    }

    .main-header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


/* ==================================== */
/* --- PARTICLES BACKGROUND --- */
/* ==================================== */

.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; 
    pointer-events: none; 
}

.particles-background div {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(0, 180, 216, 0.2); 
    bottom: -150px; 
    animation: animateParticles 25s linear infinite; 
    mix-blend-mode: screen;
    filter: blur(2px);
}


.particles-background div:nth-child(1) {
    left: 10%; width: 20px; height: 20px; animation-delay: 0s; animation-duration: 25s; background: rgba(0, 180, 216, 0.2);
}
.particles-background div:nth-child(2) {
    left: 20%; width: 30px; height: 30px; animation-delay: 2s; animation-duration: 12s; background: rgba(0, 119, 182, 0.3);
}
.particles-background div:nth-child(3) {
    left: 35%; width: 15px; height: 15px; animation-delay: 5s; animation-duration: 20s; background: rgba(0, 180, 216, 0.25);
}
.particles-background div:nth-child(4) {
    left: 50%; width: 25px; height: 25px; animation-delay: 0s; animation-duration: 18s; background: rgba(0, 119, 182, 0.4);
}
.particles-background div:nth-child(5) {
    left: 65%; width: 20px; height: 20px; animation-delay: 7s; animation-duration: 10s; background: rgba(0, 180, 216, 0.3);
}
.particles-background div:nth-child(6) {
    left: 80%; width: 35px; height: 35px; animation-delay: 3s; animation-duration: 30s; background: rgba(0, 119, 182, 0.2);
}
.particles-background div:nth-child(7) {
    left: 10%; width: 22px; height: 22px; animation-delay: 1s; animation-duration: 14s; background: rgba(0, 180, 216, 0.2);
}
.particles-background div:nth-child(8) {
    left: 45%; width: 18px; height: 18px; animation-delay: 6s; animation-duration: 22s; background: rgba(0, 119, 182, 0.35);
}
.particles-background div:nth-child(9) {
    left: 70%; width: 28px; height: 28px; animation-delay: 4s; animation-duration: 16s; background: rgba(0, 180, 216, 0.2);
}
.particles-background div:nth-child(10) {
    left: 90%; width: 20px; height: 20px; animation-delay: 8s; animation-duration: 28s; background: rgba(0, 119, 182, 0.25);
}
.particles-background div:nth-child(11) {
    left: 5%; width: 12px; height: 12px; animation-delay: 9s; animation-duration: 17s; background: rgba(0, 180, 216, 0.15);
}
.particles-background div:nth-child(12) {
    left: 25%; width: 18px; height: 18px; animation-delay: 11s; animation-duration: 23s; background: rgba(0, 119, 182, 0.2);
}
.particles-background div:nth-child(13) {
    left: 75%; width: 25px; height: 25px; animation-delay: 13s; animation-duration: 19s; background: rgba(0, 180, 216, 0.35);
}
.particles-background div:nth-child(14) {
    left: 95%; width: 10px; height: 10px; animation-delay: 10s; animation-duration: 26s; background: rgba(0, 119, 182, 0.1);
}
.particles-background div:nth-child(15) {
    left: 15%; width: 14px; height: 14px; animation-delay: 1s; animation-duration: 15s; background: rgba(0, 180, 216, 0.2);
}
.particles-background div:nth-child(16) {
    left: 30%; width: 28px; height: 28px; animation-delay: 6s; animation-duration: 20s; background: rgba(0, 119, 182, 0.3);
}
.particles-background div:nth-child(17) {
    left: 60%; width: 16px; height: 16px; animation-delay: 10s; animation-duration: 13s; background: rgba(0, 180, 216, 0.25);
}
.particles-background div:nth-child(18) {
    left: 85%; width: 22px; height: 22px; animation-delay: 4s; animation-duration: 27s; background: rgba(0, 119, 182, 0.3);
}
.particles-background div:nth-child(19) {
    left: 40%; width: 10px; height: 10px; animation-delay: 12s; animation-duration: 18s; background: rgba(0, 180, 216, 0.1);
}
.particles-background div:nth-child(20) {
    left: 70%; width: 32px; height: 32px; animation-delay: 8s; animation-duration: 29s; background: rgba(0, 119, 182, 0.25);
}
.particles-background div:nth-child(21) {
    left: 5%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 24s; background: rgba(0, 180, 216, 0.3);
}
.particles-background div:nth-child(22) {
    left: 90%; width: 18px; height: 18px; animation-delay: 3s; animation-duration: 19s; background: rgba(0, 119, 182, 0.2);
}
.particles-background div:nth-child(23) {
    left: 20%; width: 12px; height: 12px; animation-delay: 10s; animation-duration: 16s; background: rgba(0, 180, 216, 0.15);
}
.particles-background div:nth-child(24) {
    left: 55%; width: 28px; height: 28px; animation-delay: 7s; animation-duration: 21s; background: rgba(0, 119, 182, 0.35);
}
.particles-background div:nth-child(25) {
    left: 30%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 26s; background: rgba(0, 180, 216, 0.2);
}

.particles-background div:nth-child(26) { left: 18%; width: 15px; height: 15px; animation-delay: 1s; animation-duration: 22s; background: rgba(0, 180, 216, 0.2); }
.particles-background div:nth-child(27) { left: 88%; width: 25px; height: 25px; animation-delay: 5s; animation-duration: 18s; background: rgba(0, 119, 182, 0.3); }
.particles-background div:nth-child(28) { left: 42%; width: 10px; height: 10px; animation-delay: 9s; animation-duration: 14s; background: rgba(0, 180, 216, 0.1); }
.particles-background div:nth-child(29) { left: 7%; width: 30px; height: 30px; animation-delay: 3s; animation-duration: 28s; background: rgba(0, 119, 182, 0.25); }
.particles-background div:nth-child(30) { left: 77%; width: 18px; height: 18px; animation-delay: 11s; animation-duration: 17s; background: rgba(0, 180, 216, 0.15); }
.particles-background div:nth-child(31) { left: 33%; width: 22px; height: 22px; animation-delay: 6s; animation-duration: 23s; background: rgba(0, 119, 182, 0.3); }
.particles-background div:nth-child(32) { left: 63%; width: 14px; height: 14px; animation-delay: 13s; animation-duration: 19s; background: rgba(0, 180, 216, 0.25); }
.particles-background div:nth-child(33) { left: 2%; width: 28px; height: 28px; animation-delay: 0s; animation-duration: 26s; background: rgba(0, 119, 182, 0.2); }
.particles-background div:nth-child(34) { left: 93%; width: 16px; height: 16px; animation-delay: 7s; animation-duration: 21s; background: rgba(0, 180, 216, 0.15); }
.particles-background div:nth-child(35) { left: 52%; width: 20px; height: 20px; animation-delay: 4s; animation-duration: 25s; background: rgba(0, 119, 182, 0.4); }
.particles-background div:nth-child(36) { left: 22%; width: 10px; height: 10px; animation-delay: 8s; animation-duration: 12s; background: rgba(0, 180, 216, 0.1); }
.particles-background div:nth-child(37) { left: 72%; width: 35px; height: 35px; animation-delay: 2s; animation-duration: 30s; background: rgba(0, 119, 182, 0.2); }
.particles-background div:nth-child(38) { left: 12%; width: 22px; height: 22px; animation-delay: 10s; animation-duration: 14s; background: rgba(0, 180, 216, 0.2); }
.particles-background div:nth-child(39) { left: 47%; width: 18px; height: 18px; animation-delay: 5s; animation-duration: 22s; background: rgba(0, 119, 182, 0.35); }
.particles-background div:nth-child(40) { left: 67%; width: 28px; height: 28px; animation-delay: 1s; animation-duration: 16s; background: rgba(0, 180, 216, 0.2); }
.particles-background div:nth-child(41) { left: 97%; width: 20px; height: 20px; animation-delay: 9s; animation-duration: 28s; background: rgba(0, 119, 182, 0.25); }
.particles-background div:nth-child(42) { left: 3%; width: 12px; height: 12px; animation-delay: 11s; animation-duration: 17s; background: rgba(0, 180, 216, 0.15); }
.particles-background div:nth-child(43) { left: 27%; width: 18px; height: 18px; animation-delay: 13s; animation-duration: 23s; background: rgba(0, 119, 182, 0.2); }
.particles-background div:nth-child(44) { left: 78%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 19s; background: rgba(0, 180, 216, 0.35); }
.particles-background div:nth-child(45) { left: 98%; width: 10px; height: 10px; animation-delay: 14s; animation-duration: 26s; background: rgba(0, 119, 182, 0.1); }
.particles-background div:nth-child(46) { left: 17%; width: 14px; height: 14px; animation-delay: 16s; animation-duration: 15s; background: rgba(0, 180, 216, 0.2); }
.particles-background div:nth-child(47) { left: 32%; width: 28px; height: 28px; animation-delay: 18s; animation-duration: 20s; background: rgba(0, 119, 182, 0.3); }
.particles-background div:nth-child(48) { left: 62%; width: 16px; height: 16px; animation-delay: 20s; animation-duration: 13s; background: rgba(0, 180, 216, 0.25); }
.particles-background div:nth-child(49) { left: 87%; width: 22px; height: 22px; animation-delay: 17s; animation-duration: 27s; background: rgba(0, 119, 182, 0.3); }
.particles-background div:nth-child(50) { left: 41%; width: 10px; height: 10px; animation-delay: 19s; animation-duration: 18s; background: rgba(0, 180, 216, 0.1); }


@keyframes animateParticles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg); 
        opacity: 0;
        border-radius: 50%; 
    }
}



.scroll-reveal {
    opacity: 0; 
    transform: translateY(50px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}

.scroll-reveal.active {
    opacity: 1; 
    transform: translateY(0); 
}


.competencies-grid .competency-card.scroll-reveal,
.facts-grid .fact-item.scroll-reveal,
.service-grid .service-card.scroll-reveal, 
.contact-form input.scroll-reveal,
.contact-form textarea.scroll-reveal,
.contact-form button.scroll-reveal,
.contact-info.scroll-reveal {
    transition-delay: 0s; 
}


.competencies-grid .competency-card:nth-child(1).active { transition-delay: 0s; }
.competencies-grid .competency-card:nth-child(2).active { transition-delay: 0.15s; }
.competencies-grid .competency-card:nth-child(3).active { transition-delay: 0.3s; }


.facts-grid .fact-item:nth-child(1).active { transition-delay: 0s; }
.facts-grid .fact-item:nth-child(2).active { transition-delay: 0.1s; }
.facts-grid .fact-item:nth-child(3).active { transition-delay: 0.2s; }
.facts-grid .fact-item:nth-child(4).active { transition-delay: 0.3s; }


.service-grid .service-card:nth-child(1).active { transition-delay: 0s; }
.service-grid .service-card:nth-child(2).active { transition-delay: 0.1s; }
.service-grid .service-card:nth-child(3).active { transition-delay: 0.2s; }
.service-grid .service-card:nth-child(4).active { transition-delay: 0.3s; }


.contact-form input:nth-child(1).active { transition-delay: 0s; }
.contact-form input:nth-child(2).active { transition-delay: 0.1s; }
.contact-form textarea.active { transition-delay: 0.2s; }
.contact-form button.active { transition-delay: 0.3s; }
.contact-info.active { transition-delay: 0.4s; }

.additional-facts-content .text-block:nth-child(1).active { transition-delay: 0s; }
.additional-facts-content .text-block:nth-child(2).active { transition-delay: 0.15s; }


#chatbot-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: linear-gradient(135deg, #1A4A8F, #0070c0); 
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 112, 192, 0.4); 
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#chatbot-button:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 112, 192, 0.6); 
}


#chatbot-container {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 340px;

  background-color: rgba(18, 18, 28, 0.3); 
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 112, 192, 0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  
  border: 1px solid rgba(0, 112, 192, 0.5); 
  
  backdrop-filter: blur(15px); 
  -webkit-backdrop-filter: blur(15px);
}


#chatbot-header {
 
  background: linear-gradient(90deg, rgba(0, 112, 192, 0.8), rgba(26, 74, 143, 0.8)); 
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


#chatbot-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}

#chatbot-close:hover {
  color: #f1f1f1;
}


#chatbot-messages {

  background-color: rgba(10, 10, 15, 0.4); 
  height: 320px;
  overflow-y: auto;
  padding: 15px;
  color: #e0e0e0;
  font-size: 14px;
}


#chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 10px;
}

#chatbot-messages::-webkit-scrollbar-track {
  background-color: transparent;
}


#chatbot-input-area {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(34, 34, 34, 0.5);
 
  background-color: rgba(8, 8, 12, 0.5); 
  padding: 10px;
}

#chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(51, 51, 51, 0.5); 
  border-radius: 20px;
  outline: none;
  font-size: 14px;

  background-color: rgba(20, 20, 30, 0.5); 
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#chatbot-input:focus {
  border-color: #0070c0;
  box-shadow: 0 0 5px rgba(0, 112, 192, 0.3);
}

#chatbot-send {
  background-color: #0070c0;
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 20px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

#chatbot-send:hover {
  background-color: #1A4A8F;
  transform: translateY(-1px);
}


.message {
  margin-bottom: 12px;
  line-height: 1.5;
  max-width: 85%;
}

.message.user {
  text-align: right;
  color: #f1f1f1; 
  margin-left: auto;
}

.message.bot {
  text-align: left;
  color: #f1f1f1;
  margin-right: auto;
}


.message-content {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 18px;
   
    background-color: rgba(30, 30, 40, 0.7); 
    text-align: left;
}

.message.user .message-content {

    background-color: rgba(0, 112, 192, 0.75); 
    color: #fff;
    text-align: right;
}



@media (max-width: 600px) {
  #chatbot-container {
    width: 95%;
    right: 2.5%;
    bottom: 90px;
    border-radius: 10px;
  }

  #chatbot-button {
      width: 55px;
      height: 55px;
      bottom: 20px;
      right: 20px;
  }
}


#main-page-footer .footer-grid {
    display: grid;
   
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    padding-bottom: 40px;
}


.main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding-bottom: 40px;
}


.main-footer .footer-col h4 {
    color: var(--color-accent); 
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
    position: relative;
}


.main-footer .footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-secondary-cyan);
    margin-top: 5px;
}

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

.main-footer .footer-links ul li {
    margin-bottom: 10px;
}

.main-footer .footer-links ul li a {
    color: var(--color-light-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-footer .footer-links ul li a:hover {
    color: var(--color-accent); 
}

.main-footer .social-links-footer a {
    color: var(--color-light-text);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-footer .social-links-footer a:hover {
    color: var(--color-secondary-cyan);
    transform: translateY(-3px);
}

.main-footer .footer-bottom {
    border-top: 1px solid var(--color-dark-line);
    padding: 20px 0;
    text-align: center;
}

.main-footer .footer-bottom .copyright {
    font-size: 0.85rem;
    color: var(--color-light-text);
    opacity: 0.6;
}

/* ================================================= */
/* === MOBILE POLISH / RESPONSIVE FIXES EVOLVRA ==== */
/* ================================================= */

/* Allgemeine mobile Optimierung */
@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

    .main-wrapper {
        position: relative;
        z-index: 1;
    }

    .particles-background div {
        width: 12px !important;
        height: 12px !important;
        filter: blur(3px);
        opacity: 0.45;
    }

    .main-header {
        position: relative;
        padding: 0;
        background: rgba(17, 17, 17, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-dark-line);
    }

    .main-header .container {
        justify-content: center;
        padding: 18px 0;
    }

    .main-header .logo {
        margin: 0;
    }

    .logo img {
        height: 32px;
    }

    .hero-section {
        min-height: auto;
        padding: 70px 0 90px;
    }

    .hero-content {
        padding: 0;
        text-align: center;
    }

    .pre-headline {
        font-size: 0.75rem;
        letter-spacing: 2.5px;
        margin-bottom: 14px;
    }

    .hero-section h1 {
        font-size: clamp(2.8rem, 12vw, 5rem);
        line-height: 0.95;
        letter-spacing: 0.08rem;
    }

    .accent-word {
        color: var(--color-primary-blue);
    }

    .subtitle {
        max-width: 92%;
        margin: 28px auto 0;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-ctas {
        margin-top: 36px;
    }

    .button-primary {
        border-radius: 999px;
        padding: 0.9rem 2rem;
        min-width: 220px;
        text-align: center;
        font-weight: 600;
    }

    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1.15;
        max-width: 94%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 92%;
        margin-bottom: 42px;
        padding: 0;
    }

    .service-grid,
    .solutions-grid {
        gap: 18px;
        margin-top: 36px;
    }

    .service-card,
    .solution-item,
    .contact-info {
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.025);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .service-card,
    .solution-item {
        padding: 28px 22px;
    }

    .service-card h3,
    .solution-headline {
        font-size: 1.25rem;
        line-height: 1.25;
    }

    .service-card p,
    .solution-item p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .additional-facts-content {
        margin-top: 70px;
        padding-top: 60px;
        gap: 36px;
    }

    .additional-facts-content .text-block {
        padding: 26px 22px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.025);
    }

    .additional-facts-content .text-block h3 {
        text-align: left;
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .additional-facts-content .text-block p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .contact-form-wrapper {
        margin-top: 42px;
        margin-bottom: 0;
    }

    .contact-form {
        gap: 16px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        border-radius: 14px;
        padding: 16px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.04);
    }

    .contact-form button {
        border: none;
        cursor: pointer;
        margin-top: 6px;
    }
}
/* ================================================= */
/* ================= FOOTER MOBILE ================= */
/* ================================================= */

@media (max-width: 992px) {
    #main-page-footer {
        border-top: 1px solid var(--color-dark-line);
        padding-top: 60px;
    }

    #main-page-footer .footer-grid,
    .main-footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 22px;
        padding-bottom: 42px;
    }

    #main-page-footer .footer-branding {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 420px;
        margin: 0 auto 10px;
    }

    .footer-logo img {
        max-width: 150px;
        height: auto;
        margin-bottom: 16px;
    }

    .main-footer .footer-branding p {
        color: var(--color-light-text);
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .main-footer .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 14px;
        letter-spacing: 1px;
    }

    .main-footer .footer-col h4::after {
        width: 24px;
        height: 2px;
        margin-top: 7px;
    }

    .main-footer .footer-links ul li {
        margin-bottom: 9px;
    }

    .main-footer .footer-links ul li a,
    .main-footer .footer-contact p,
    .main-footer .footer-contact a {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .main-footer .footer-contact {
        grid-column: 1 / -1;
        padding-top: 8px;
    }

    .main-footer .footer-contact p {
        color: var(--color-light-text);
    }

    .main-footer .footer-contact i {
        width: 20px;
        color: var(--color-accent);
    }

    .main-footer .footer-bottom {
        padding: 18px 0 24px;
    }
}

@media (max-width: 576px) {
    #main-page-footer {
        padding-top: 48px;
    }

    #main-page-footer .footer-grid,
    .main-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }

    .main-footer .footer-col {
        padding: 0 10px;
    }

    .main-footer .footer-col h4::after {
        margin-left: auto;
        margin-right: auto;
    }

    .main-footer .footer-links ul li {
        margin-bottom: 8px;
    }

    .main-footer .footer-links ul li a {
        display: inline-block;
        padding: 3px 0;
    }

    .main-footer .footer-contact {
        padding-top: 4px;
    }

    .main-footer .footer-contact p {
        line-height: 1.9;
    }

    .main-footer .footer-bottom .copyright {
        font-size: 0.8rem;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 200;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 99px;
    transition: all 0.35s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 420px;
    height: 100vh;
    background: #0f0f14;
    z-index: 999;
    padding: 6rem 3rem 3rem;
    border-left: 1px solid rgba(93, 175, 174, 0.25);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
    transition: right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu a:hover {
    color: #5dafae;
    transform: translateX(6px);
}

.mobile-close {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-theme-link {
    margin-top: 1.5rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    padding: 0.8rem 1.2rem !important;
    border-radius: 999px;
    background: rgba(93, 175, 174, 0.12);
    border: 1px solid rgba(93, 175, 174, 0.35) !important;
    color: #5dafae !important;
    font-size: 0.95rem !important;
}

.mobile-theme-link:hover {
    background: #5dafae;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
    .main-nav {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .side-nav {
        display: none !important;
    }

    .main-header .container,
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
