:root {
    --primary: #1A5F7A;
    --secondary: #F3F4F6;
    --accent: #F9A825;
    --dark: #0B2D3A;
    --light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary), #0B324D);
    --gradient-accent: linear-gradient(135deg, var(--accent), #FFC107);

    --font-main: 'Space Grotesk', sans-serif;
    --font-headings: 'Syne', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.8s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--secondary);
    overflow-x: hidden;
    position: relative;
}

.quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(26,95,122,0.05) 0%, rgba(11,45,58,0.2) 100%);
    opacity: 0.8;
}

.quantum-particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    filter: blur(3px);
    opacity: 0.05;
    transform-origin: center center;
    animation: float 60s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(100px, 20px) scale(0.9);
    }
    75% {
        transform: translate(30px, 80px) scale(1.05);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

h1 {
    font-size: 3.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.4rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin-top: var(--space-xs);
    border-radius: var(--radius-sm);
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--accent);
}

a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

a:hover:after {
    width: 100%;
}

button, .btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: var(--gradient-accent);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

button:before, .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    z-index: -1;
    opacity: 0;
}

button:hover, .btn:hover {
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

button:hover:before, .btn:hover:before {
    left: 0;
    opacity: 1;
}

header {
    position: relative;
    padding: var(--space-sm) 0;
    z-index: 100;
    transition: all var(--transition-normal);
}

header.scrolled {
    background: rgba(243, 244, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transform: translateY(-100%);
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    to { transform: translateY(0); }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 101;
}

.logo-highlight {
    color: var(--accent);
    position: relative;
}

.logo-highlight:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 102;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
}

.hero {
    padding: var(--space-lg) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
    background: url("../images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: var(--space-md);
    position: relative;
}

.hero-subheading {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transition: all var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(26,95,122,0.1);
    border-radius: 50%;
    margin-bottom: var(--space-sm);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-header h2 {
    display: inline-block;
}

.section-header h2:after {
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    max-width: 600px;
    margin: var(--space-sm) auto;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    padding: var(--space-md);
    background: var(--gradient-primary);
    color: var(--light);
    text-align: center;
}

.pricing-header h3 {
    color: var(--light);
    margin-bottom: var(--space-xs);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: var(--space-xs) 0;
}

.pricing-unit {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-body {
    padding: var(--space-md);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.pricing-features li {
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: '✓';
    color: var(--accent);
    margin-right: var(--space-xs);
    font-weight: bold;
}

.pricing-button {
    width: 100%;
    text-align: center;
}

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    margin: var(--space-md) 0;
    scrollbar-width: none;
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-sm);
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 2rem;
    color: var(--accent);
    font-family: serif;
    position: absolute;
}

.testimonial-text:before {
    left: -15px;
    top: -10px;
}

.testimonial-text:after {
    right: -15px;
    bottom: -30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--space-sm);
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-location {
    font-size: 0.875rem;
    opacity: 0.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--primary);
    min-width: 30px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form: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 var(--transition-slow);
}

.contact-form:hover:before {
    left: 100%;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(26,95,122,0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,95,122,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.form-checkbox input {
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-submit {
    width: 100%;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: var(--space-lg) 0;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-lg);
}

footer {
    background: var(--gradient-primary);
    color: var(--light);
    padding: var(--space-md) 0;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-size: cover;
    opacity: 0.05;
    animation: slowMove 120s linear infinite;
}

@keyframes slowMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(10%, 10%) rotate(5deg);
    }
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-logo {
    color: var(--light);
    font-weight: 700;
    font-family: var(--font-headings);
    font-size: 1.4rem;
}

.footer-links ul {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a:after {
    background: var(--light);
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    opacity: 0.8;
}

.cookie-popup {
    position: fixed;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-width: 500px;
    width: calc(100% - var(--space-md) * 2);
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-popup-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cookie-title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cookie-title i {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: var(--space-md);
}

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--space-sm);
}

.thank-you-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.thank-you-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: var(--space-md) 0 var(--space-lg);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        display: none;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-lg);
        z-index: 101;
        transition: all var(--transition-normal);
        flex-direction: column;
        padding: var(--space-xl) var(--space-md) var(--space-md);
    }

    nav.active {
        right: 0;
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }

    nav ul li a {
        display: block;
        padding: var(--space-xs) 0;
        font-size: 1.2rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .section-header h2:after {
        margin: var(--space-xs) auto 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .logo {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .service-cards,
    .pricing-tables {
        grid-template-columns: 1fr;
    }
}

.nav-open{
    overflow: hidden;
}