/* CSS Custom Properties (Color Variables) */
:root {
    /* Primary Colors */
    --primary-blue: #1976D2;
    --primary-blue-dark: #1565C0;
    --primary-blue-light: #41529f;
    --primary-red: #ff2862;
    --primary-red-dark: #ff5252;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(to right, #3D4CF4 0%, #ff2862 100%);
    --gradient-hero: linear-gradient(135deg, rgba(45, 57, 108, 0.9) 0%, rgba(0, 61, 130, 0.95) 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #fcfcfc 60%, #ffffff 100%);
    --gradient-main: linear-gradient(135deg, #1976D2 0%, #41529f 100%);
    --gradient-step-number: linear-gradient(135deg, #1976D2 0%, #64B5F6 100%);
    
    /* Background Colors */
    --bg-primary: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: #f8f9fa;
    --bg-form: rgba(255, 255, 255, 0.95);
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #555;
    --text-white: #ffffff;
    --text-muted: #f0f0f0;
    
    /* Border Colors */
    --border-light: #e1e5e9;
    --border-transparent: rgba(255, 255, 255, 0.1);
    
    /* Accent Colors */
    --accent-blue-light: #e1f5fe;
    --accent-blue-medium: #1976D2;
    --accent-gray: #6c757d;
    --accent-gray-dark: #5a6268;
    --accent-footer: #333;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --shadow-primary: rgba(0, 61, 130, 0.1);
    --shadow-primary-medium: rgba(0, 61, 130, 0.3);
    --shadow-red: rgba(255, 107, 107, 0.3);
    
    /* Button Styles */
    --button-padding: 15px 30px;
    --button-font-size: 1.1rem;
    --button-font-weight: bold;
    --button-border-radius: 50px;
    --button-border: none;
    --button-cursor: pointer;
    --button-transition: all 0.3s ease;
    --button-transform-hover: translateY(-2px);

    /* Decorative Elements */
    --decoration-opacity: 0.06;
    --decoration-opacity-hover: 0.6;
    --decoration-blur: 20px;
}

/* Performance optimizations */
*,
*::before,
*::after {
    /* Enable hardware acceleration for better performance */
    will-change: auto;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 500;
}

/* Header and Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo .logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 900;
    font-stretch: expanded;
    font-family: 'Inter', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80');
    background-position: center;
    background-size: cover;
    transform: translateZ(0);
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(45, 57, 108, 0.9) 0%, rgba(0, 61, 130, 0.95) 100%);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-white); /* Fallback for browsers that don't support background-clip */
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px var(--shadow-dark));
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    background-color: var(--primary-red);
    color: var(--text-white);
    border: var(--button-border);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    cursor: var(--button-cursor);
    transition: var(--button-transition);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000;
        --text-secondary: #000;
        --bg-primary: #fff;
        --bg-card: #fff;
        --border-light: #000;
    }
}

.cta-button:hover {
    background-color: var(--primary-red-dark);
    transform: var(--button-transform-hover);
    box-shadow: 0 10px 20px var(--shadow-red);
}

.cta-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Remove default focus styles and add custom ones */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Contact Form Styles */
.contact-form {
    background-color: var(--bg-form);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px var(--shadow-dark);
    animation: slideDown 0.3s ease-out;
}

.contact-form.hidden {
    display: none;
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--shadow-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submit-button {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border: var(--button-border);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    cursor: var(--button-cursor);
    transition: var(--button-transition);
    position: relative;
}

.submit-button:hover {
    background-color: var(--primary-blue-dark);
    transform: var(--button-transform-hover);
    box-shadow: 0 8px 20px var(--shadow-primary-medium);
}

.submit-button:disabled {
    background-color: var(--accent-gray);
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    background-color: var(--accent-gray);
    box-shadow: none;
    transform: none;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-spinner::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.cancel-button {
    background-color: var(--accent-gray);
    color: var(--text-white);
    border: var(--button-border);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    cursor: var(--button-cursor);
    transition: var(--button-transition);
}

.cancel-button:hover {
    background-color: var(--accent-gray-dark);
    transform: var(--button-transform-hover);
}

/* Form Messages */
.form-messages {
    margin-bottom: 1rem;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: center;
    border: 1px solid;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Responsive adjustments for form messages */
@media (max-width: 768px) {
    .message {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-messages {
        margin-bottom: 0.75rem;
    }
    
    .btn-spinner::after {
        width: 14px;
        height: 14px;
    }
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

/* Services Section */
.services {
    background-color: var(--bg-white);
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1976D2;
    position: relative;
    z-index: 20;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.services::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent 75%, rgba(25, 118, 210, 0.15) 30%, rgba(25, 118, 210, 0.15) 70%, transparent 70%);
    border-radius: 20px;
    transform: rotate(15deg);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 20;
}

.service-card.featured {
    background: var(--gradient-main);
    color: var(--text-white);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card.featured h3 {
    color: var(--text-white);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-card.featured .price {
    color: var(--text-white);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card.featured .service-features li {
    color: var(--text-muted);
}

.service-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    border: none;
    outline: none;
    cursor: var(--button-cursor);
    transition: var(--button-transition);
    margin-top: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.service-card.featured .service-button {
    background-color: var(--text-white);
    color: var(--primary-blue);
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-button:hover {
    background-color: var(--primary-blue-dark);
    transform: var(--button-transform-hover);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

.service-card.featured .service-button:hover {
    background-color: var(--text-muted);
    color: var(--primary-blue-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Technology Section */
.technology {
    background-color: #f8f9fa;
    position: relative;
}

.technology h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1976D2;
    position: relative;
    z-index: 20;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.tech-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.tech-card h3 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tech-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card li {
    padding: 0.3rem 0;
    color: #555;
}

/* Technology Icons */
.tech-icons-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
    margin: 3rem 0;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: flex-start;
    justify-items: center;
}

.tech-icons img {
    width: 100%;
    max-width: 250px;
    height: 140px;
    object-fit: contain;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-icons img:hover {
    transform: translateY(-5px) scale(1.05);
    background: white;
}

.tech-icons img:nth-child(4) {
    filter: grayscale(20%) brightness(1.1);
}

/* Tech Icons Labels */
.icon-label {
    color: #1976D2 !important;
    margin-bottom: 1rem !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    display: block !important;
}

.tech-icons a {
    text-decoration: none;
    display: inline-block;
}

.tech-icons a:hover .icon-label {
    color: #1565C0 !important;
}

/* Responsive design for tech icons */
@media (max-width: 1024px) {
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tech-icons img {
        max-width: 240px;
        height: 120px;
        padding: 1.2rem;
    }
    
    .tech-icons-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-icons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-icons img {
        max-width: 240px;
        height: 140px;
        padding: 1.5rem;
    }
    
    .tech-icons-container {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
}

.technology::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 6s ease-in-out infinite;
}

.benefits {
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.benefits h2 {
    text-align: center;
    color: #1976D2;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.benefit h4 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process {
    background-color: white;
    padding: 5rem 0;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1976D2;
}

.process-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 20;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-step-number);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-duration {
    background-color: #e1f5fe;
    color: #0277bd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1976D2;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 20;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background: var(--gradient-main);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1976D2;
    transition: all 0.3s ease;
    margin-left: 1rem;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-icon {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
}

/* Contact Section Updates */
.contact {
    background: var(--gradient-main);
    color: white;
    text-align: center;
    height: 80vh;
}

.contact h2 {
    color: white;
    font-size: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-item h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.8;
}

.contact-item a {
    font-size: 1rem;
    line-height: 1.3;
}
.contact-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--text-white);
    text-decoration: none;
    padding: var(--button-padding);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    border-radius: var(--button-border-radius);
    border: var(--button-border);
    cursor: var(--button-cursor);
    transition: var(--button-transition);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contact-button:hover {
    background-color: var(--primary-red-dark);
    transform: var(--button-transform-hover);
    box-shadow: 0 10px 20px var(--shadow-red);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Decorative Background Elements */
.decoration-blob {
    position: absolute;
    border-radius: 50%;
    opacity: var(--decoration-opacity);
    z-index: 10;
    pointer-events: none;
    filter: blur(var(--decoration-blur));
    animation: float 12s ease-in-out infinite;
}

.decoration-blob-1 {
    width: 1600px;
    height: 1280px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-blue-light));
    top: 0;
    right: -800px; /* Half off screen */
    animation-delay: 0s;
}

.decoration-blob-2 {
    width: 1440px;
    height: 1120px;
    background: linear-gradient(135deg, var(--primary-red), #ff9800);
    top: 20%;
    left: -720px; /* Half off screen */
    animation-delay: 2s;
}

.decoration-blob-3 {
    width: 1280px;
    height: 960px;
    background: linear-gradient(225deg, #9c27b0, var(--primary-blue));
    bottom: 0;
    right: -640px; /* Half off screen */
    animation-delay: 4s;
}

.decoration-blob-4 {
    width: 1440px;
    height: 1120px;
    background: linear-gradient(135deg, var(--primary-red), #ff9800);
    top: 20%;
    left: -720px; /* Half off screen */
    animation-delay: 2s;
}

/* Decorative Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: var(--decoration-opacity); }
    50% { transform: scale(1.2); opacity: var(--decoration-opacity-hover); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 245, 0.95);
    color: rgba(25, 25, 25, 0.95);
    padding: 1rem;
    z-index: 9999;
    display: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent.visible {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings-button {
    background: transparent;
    border: 1px solid var(--primary-blue-dark);
    color: var(--primary-blue-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-accept-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept-button:hover {
    background: var(--primary-blue-dark);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

/* Ensure modal content is centered */
.cookie-settings-modal .modal-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.visible .modal-content {
    transform: translateY(0);
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-category {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.cookie-category h3 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--primary-blue);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.modal-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        font-weight: 700;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .services h2,
    .technology h2,
    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .tech-card {
        padding: 2rem 1.5rem;
    }
    
    .benefits {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-button,
    .cancel-button {
        width: 100%;
        max-width: 250px;
    }
    
    .services h2,
    .technology h2,
    .contact h2 {
        font-size: 1.8rem;
    }
}

/* Honeypot spam protection */
.hidden {
    display: none !important;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.disabled-link::after {
    content: "Wymagana zgoda na pliki cookie";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.disabled-link:hover::after {
    opacity: 1;
}

.placeholder-image {
    background: #f0f0f0;
    border-radius: 8px;
}
