:root {
    --primary: #005BBB;
    --secondary: #FF6600;
    --neutral: #E6E6E6;
    --dark: #2E2E2E;
    --light: #FFFFFF;

    --gradient-primary: linear-gradient(135deg, var(--primary), #0078D4);
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #FF9248);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 91, 187, 0.08), transparent 70%),
    radial-gradient(ellipse at bottom left, rgba(255, 102, 0, 0.08), transparent 70%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--space-lg) 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    text-decoration: none;
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn::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: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0068C9, #0089F2);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FF7D29, #FFA761);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.card:hover::after {
    opacity: 1;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-col {
    flex: 1;
    padding: var(--space-sm);
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
    padding: var(--space-md);
    transform-origin: top;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-scrolled {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light);
    text-decoration: none;
}

.logo-icon {
    margin-right: var(--space-xs);
    color: var(--secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: var(--space-md);
}

.nav-links a {
    color: var(--light);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light);
    transition: color var(--transition-fast);
}

.burger-menu:hover {
    color: var(--secondary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1000;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: var(--space-lg) var(--space-md);
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: var(--space-md);
}

.mobile-nav-links a {
    color: var(--light);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.mobile-nav-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url("../pictures/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--light);
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--light);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 91, 187, 0.2);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.service-card {
    position: relative;
    padding: var(--space-md);
    border-radius: var(--border-radius-lg);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
    margin-bottom: var(--space-md);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-table th,
.pricing-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--neutral);
}

.pricing-table th {
    background-color: var(--primary);
    color: var(--light);
    font-weight: 700;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background-color: rgba(0, 91, 187, 0.05);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-check-input {
    margin-right: var(--space-xs);
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.875rem;
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: var(--space-sm);
    color: var(--primary);
}

.contact-text h4 {
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

footer {
    background-color: var(--dark);
    color: var(--light);
    padding: var(--space-md) 0;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-left: var(--space-md);
}

.footer-links a {
    color: var(--light);
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    text-align: center;
}

.notfound-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--space-lg) auto;
    max-width: 600px;
}

.notfound-title {
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.notfound-text {
    margin-bottom: var(--space-md);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light);
    padding: var(--space-md);
    display: none;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    margin-right: var(--space-md);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

.thank-you {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--space-lg) auto;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

.thank-you::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.legal-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--space-lg) auto;
}

.legal-content h2 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.home-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.home-button::before {
    content: '←';
    margin-right: var(--space-xs);
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: var(--space-sm);
    }

    .footer-links li:first-child {
        margin-left: 0;
    }

}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: var(--space-md) 0;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links li {
        margin: var(--space-xs) var(--space-sm);
    }

    .contact-form::before {
        height: 3px;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 576px) {
    .logo{
        font-size: 1.2rem;
    }

    html {
        font-size: 14px;
    }

    .hero {
        min-height: 60vh;
    }

    .notfound-title {
        font-size: 5rem;
    }

    .contact-info {
        padding: var(--space-md);
    }

    .contact-form {
        padding: var(--space-md);
    }

    .pricing-table th,
    .pricing-table td {
        padding: var(--space-sm);
        font-size: 0.875rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

.key-bg-element {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: contain;
    opacity: 0.05;
    z-index: -1;
    transform: rotate(45deg);
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.key-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(30px);
    }
    50% {
        transform: translateY(0) translateX(60px);
    }
    75% {
        transform: translateY(30px) translateX(30px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

.quantum-membrane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -2;
    overflow: hidden;
}

.membrane-ripple {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 91, 187, 0.1);
    transform: translate(-50%, -50%);
    animation: ripple 4s infinite ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.cosmic-fractal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.fractal-element {
    position: absolute;
    opacity: 0.2;
    animation: fractal-float 30s infinite linear;
}

@keyframes fractal-float {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

html, body {

    overflow-x: hidden;

    width: 100%;

    box-sizing: border-box;

}

.responsive-table{
    overflow: auto;
}