/* Font import moved to HTML for better performance and loading control */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevents font scaling in iOS landscape */
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight on mobile */
}

body {
    font-family: 'Inter', sans-serif; /* Changed to Inter for consistency */
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f8faff; /* Light background for consistency */
    -webkit-font-smoothing: antialiased; /* Better text rendering on mobile */
    -moz-osx-font-smoothing: grayscale;
}

.gradient-bg {
    background: linear-gradient(135deg, #f8faff 0%, #e3f2fd 30%, #bbdefb 70%, #e8f5e8 100%);
    min-height: 100vh;
    position: relative;
    padding: 20px; /* Add some padding for smaller screens */
}

/* Mobile: Reduce padding on small screens */
@media (max-width: 768px) {
    .gradient-bg {
        padding: 10px;
    }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0; /* Adjusted z-index to be behind content */
}

.particle {
    position: absolute;
    background-color: rgba(179, 212, 252, 0.6); /* Lighter blue */
    border-radius: 50%;
    animation: float 15s infinite ease-in-out; /* Adjusted animation */
    opacity: 0.7;
}

/* Particle sizes and positions (adjust as needed) */
.particle:nth-child(1) { width: 30px; height: 30px; top: 10%; left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { width: 40px; height: 40px; top: 20%; left: 80%; animation-delay: 2s; background-color: rgba(255, 236, 179, 0.6); } /* Light yellow */
.particle:nth-child(3) { width: 25px; height: 25px; top: 70%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { width: 50px; height: 50px; top: 50%; left: 90%; animation-delay: 6s; background-color: rgba(255, 236, 179, 0.6); }
.particle:nth-child(5) { width: 35px; height: 35px; top: 85%; left: 40%; animation-delay: 8s; }
.particle:nth-child(6) { width: 20px; height: 20px; top: 5%; left: 45%; animation-delay: 10s; background-color: rgba(179, 212, 252, 0.6); }

@keyframes float {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) translateX(10px) scale(1.05); opacity: 0.9; }
    100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1), rgba(100, 181, 246, 0.1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: #2196f3;
    transform: translateY(-2px);
}

.language-switch {
    background: linear-gradient(45deg, #2196f3, #64b5f6);
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.language-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Hamburger Animation */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.mobile-menu a:hover {
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1), rgba(100, 181, 246, 0.1));
    color: #2196f3;
    transform: scale(1.05);
}

.mobile-language-switch {
    background: linear-gradient(45deg, #2196f3, #64b5f6);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .language-switch {
        display: none;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 45px;
    }
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

    .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;         /* alles zentral ausgerichtet */
    flex-direction: column;     /* h1, p, Button untereinander */
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    }

.hero-content h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 800px;           /* breitere Lesefläche */
    margin-left: auto;
    margin-right: auto;
    text-align: center;         /* Text mittig */
    line-height: 1.8;           /* bessere Lesbarkeit */
    animation: slideUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #2196f3, #4caf50);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: slideUp 1s ease-out 0.4s both;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    background: linear-gradient(45deg, #2196f3, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #4caf50);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(33, 150, 243, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about {
    background: rgba(248, 250, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%232196F3" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></g></svg>') repeat;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2196f3;
    display: block;
}

.stat-item span:not(.stat-number) {
    color: #666;
    font-weight: 500;
}

.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); /* Original background, will be overridden */
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234CAF50" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></g></svg>') repeat;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

/* --- START: NEW CONTACT FORM STYLES & OVERRIDES --- */
/* These styles are integrated from the Canvas and override previous dark theme styling */

section#contact {
    background: linear-gradient(135deg, #f8faff 0%, #e3f2fd 30%, #bbdefb 70%, #e8f5e8 100%) !important; /* Force light background */
    color: #333; /* Ensure text is dark */
    padding: 5rem 0;
}

section#contact h2.section-title,
section#contact .contact-info h3,
section#contact .contact-form h3 {
    color: #333 !important; /* Force titles to be dark */
    -webkit-text-fill-color: #333 !important; /* Override transparent text for titles */
    background: none !important; /* Remove gradient background-clip for readability */
}

/* Apply the gradient text styling specifically where it makes sense */
section#contact h2.section-title {
    background: linear-gradient(45deg, #2196f3, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section#contact .contact-info,
section#contact .contact-form {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(33, 150, 243, 0.15) !important;
    border-radius: 25px !important;
    padding: 3rem !important;
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    color: #333 !important; /* Ensure all text inside these sections is dark */
}

.contact-info h3 {
    color: #2c3e50 !important; /* Specific color for contact info header */
    font-size: 2em; /* Ensure consistent heading size */
}

.contact-item .contact-icon {
    background: linear-gradient(45deg, #2196f3, #4caf50); /* Gradient for icons */
    color: white; /* Icon color */
}

.contact-item h4 {
    color: #2196f3 !important; /* Accent color for contact item titles */
}

.contact-item p {
    color: #666 !important; /* Darker text for details */
}

.contact-form .form-group label {
    color: #333 !important; /* Dark label text */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Padding for icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
    color: #000000 !important; /* Force black text */
    -webkit-text-fill-color: #000000 !important; /* For autofill */
    background: white !important; /* Force white background */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 15px;
}

.contact-form .form-group i {
    position: absolute;
    left: 15px;
    top: 40px; /* Adjust based on label height */
    color: #888;
    font-size: 1.2em;
}

/* Adjust icon position for textarea */
.contact-form .form-group.message-group i {
    top: 45px;
}

.contact-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #4CAF50, #2196F3); /* Default green to blue gradient */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.contact-form button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-form button[type="submit"]:disabled {
    background: linear-gradient(45deg, #b0b0b0, #909090);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.contact-form button[type="submit"] span {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

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

.form-group {
    margin-bottom: 20px; /* Adjusted from 1.5rem to match new structure */
    position: relative;
}

.custom-select select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'); /* Changed stroke color to match icons */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Error message styling */
.error-message {
    display: none;
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message:not(:empty) {
    display: block;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus) {
    border-color: #f44336;
}
/* --- END: NEW CONTACT FORM STYLES & OVERRIDES --- */


/* Toast Notification Styling (Added from Canvas) */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%); /* Start off-screen */
    opacity: 0;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.5s ease-in-out; /* Smooth transition */
    min-width: 250px;
    text-align: center;
}

.toast.success {
    background-color: #4CAF50; /* Green for success */
}

.toast.error {
    background-color: #f44336; /* Red for error */
}


.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem 0;
}

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

.footer-section h4 {
    color: #90EE90;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #90EE90;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Language Selection Modal */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.language-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.language-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    margin: 2rem;
    box-shadow: 0 25px 50px rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196f3, #4caf50, #2196f3);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

.language-modal.hidden .language-content {
    transform: scale(0.9);
}

.language-content h3 {
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.4;
}

.language-content h3 small {
    display: block;
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    margin-top: 0.5rem;
}

.language-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 1.2rem 2.5rem;
    border: 3px solid #2196F3;
    background: rgba(255, 255, 255, 0.9);
    color: #2196F3;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.1);
}

.lang-btn:hover,
.lang-btn:focus {
    background: linear-gradient(45deg, #2196F3, #4caf50);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.3);
}

.lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .language-content {
        padding: 2.5rem 1.5rem;
        border-radius: 15px;
        width: 95%;
        margin: 1rem;
    }

    .language-content h3 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .language-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .lang-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        min-height: 60px;
        width: 100%;
        border-width: 2px;
    }

    .lang-btn:hover,
    .lang-btn:focus {
        transform: none;
    }

    .lang-btn:active {
        transform: scale(0.98);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .language-content {
        padding: 2rem 1rem;
        width: 98%;
    }

    .language-content h3 {
        font-size: 1.1rem;
    }

    .lang-btn {
        padding: 1.8rem 1.5rem;
        font-size: 1.1rem;
        min-height: 65px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: #333;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    border-top: 1px solid rgba(33, 150, 243, 0.2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

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

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-accept {
    background: linear-gradient(45deg, #2196f3, #4caf50);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.cookie-settings {
    background: transparent;
    color: #2196f3;
    border: 2px solid #2196f3;
}

.cookie-settings:hover {
    background: #2196f3;
    color: white;
}

.hidden {
    display: none !important;
}

/* Enhanced Mobile Styles - Tablet and Below */
@media (max-width: 768px) {
    /* Typography adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .language-switch {
        display: none;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 45px;
    }

    /* Hero Section */
    .hero {
        padding-top: 80px;
        min-height: 90vh;
        padding: 80px 1rem 2rem;
    }

    .gradient-bg {
        padding: 10px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-icon {
        font-size: 3rem;
    }

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

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

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Stats Grid */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        margin: 1rem 0;
    }

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

    /* Form improvements for mobile */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 15px 14px 45px;
        width: 100%;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-form button[type="submit"] {
        padding: 16px;
        font-size: 1.1rem;
        min-height: 50px;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 1rem;
    }

    /* Language Modal */
    .language-buttons {
        flex-direction: column;
    }

    /* Section Spacing */
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-section {
        padding: 1.5rem 0;
    }

    /* CTA Button */
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        width: auto;
        max-width: 90%;
    }

    /* Hide decorative elements on mobile */
    .floating-elements {
        display: none;
    }

    /* Touch-friendly improvements */
    .nav-links a,
    .mobile-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    button,
    .cta-button,
    .lang-btn,
    .cookie-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* Small Mobile Devices - Extra Optimization */
@media (max-width: 480px) {
    /* Typography */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 70px 0.5rem 1.5rem;
        min-height: 85vh;
    }

    /* Services */
    .service-card {
        padding: 1.25rem;
    }

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

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

    /* Stats */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Contact */
    .contact-info,
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section {
        padding: 1rem 0;
    }

    /* CTA Button */
    .cta-button {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        width: 85%;
    }

    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem;
    }

    /* Language Modal */
    .language-content {
        padding: 2rem 1rem;
        width: 95%;
        margin: 1rem;
    }

    .language-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .lang-btn {
        padding: 1.5rem 1rem;
        font-size: 1.1rem;
        min-height: 65px;
    }
}

/* Very Small Devices - Additional Optimizations */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

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

    .service-card {
        padding: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.25rem 0.75rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.25rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
