/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #0c2449;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
header {
    background-color: #ffffff;
    color: #0c2449;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation a {
    color: #0c2449;
    margin-left: 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #0563bb;
}

/* Mobile menu toggle (hamburger) styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background-color: #0c2449;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(135deg, #edf5ff 0%, #f5faff 100%);
    color: #0c2449;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1 1 45%;
    color: #0c2449; /* ensure dark text on light background */
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-text p {
    margin-bottom: 1.8rem;
    font-size: 1.125rem;
    max-width: 540px;
    line-height: 1.6;
}

.hero-image {
    flex: 1 1 45%;
    text-align: center;
    position: relative;
}

/* Decorative blur circle behind the hero image */
.hero-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(5, 99, 187, 0.3), rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
    z-index: -1;
}

/* Scale down the hero image for better alignment */
.hero-image img {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-image: linear-gradient(to right, #0a7cff, #0f85f2);
    color: #ffffff;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(10, 124, 255, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 124, 255, 0.35);
}

/* Section Layout */
section {
    padding: 3rem 0;
    /* Prevent sticky header from overlapping section headings when navigating via anchors */
    scroll-margin-top: 80px;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0c2449;
}

/* Override heading and paragraph colours in hero */
.hero h2,
.hero p {
    color: #0c2449;
}

/* About Section */
.about p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Services Section */
.services {
    background-color: #f5f8ff;
}

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

.service {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    color: #0563bb;
    margin-bottom: 0.75rem;
}

.service p {
    color: #555;
    font-size: 0.95rem;
}

/* Sales / Promotion Section */
.sales {
    background-color: #ffffff;
    padding: 3rem 0;
}
.sales h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0c2449;
    font-size: 2.2rem;
}
.sales h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0563bb;
    font-size: 1.6rem;
}
.sales h4 {
    color: #0c2449;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.sales p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    color: #0c2449;
    text-align: center;
}
.sales ul {
    list-style: none;
    padding-left: 0;
}
.sales .checklist li,
.sales .benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    color: #0c2449;
}
/* Green check icon before each list item */
.sales .checklist li::before,
.sales .benefits-list li::before {
    content: '\2713'; /* checkmark character */
    position: absolute;
    left: 0;
    top: 0;
    color: #0a7cff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Add spacing below the benefits list to separate it from following content */
.sales .benefits-list {
    margin-bottom: 1.5rem;
}
.sales .industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.sales .industry {
    background-color: #f5f8ff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sales .industry ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0c2449;
    font-size: 0.95rem;
}
.sales .industry ul li::before {
    content: '\2022'; /* bullet */
    position: absolute;
    left: 0;
    color: #0563bb;
    font-size: 1rem;
    line-height: 1;
}

/* Align hyphens in headings to the vertical centre */
.middle-dash {
    position: relative;
    top: -0.15em; /* raise dash slightly to align with text */
}

/* Language list pills */
.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.language-list .language {
    background-color: #f5f8ff;
    border: 1px solid #ccd5e0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: #0c2449;
    white-space: nowrap;
}

/* Responsive adjustments for the sales section */
@media (max-width: 768px) {
    .sales h2 {
        font-size: 1.8rem;
    }
    .sales h3 {
        font-size: 1.4rem;
    }
    .sales .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* Demo Section */
.demo {
    background-image: linear-gradient(to bottom, #f5f8ff 0%, #e9effb 100%);
}

/* Center and constrain the description text in the demo section to avoid awkward line breaks */
.demo p {
    max-width: 700px;
    margin: 0.75rem auto 2rem;
    text-align: center;
}

/* Call-to-action button container in the demo section */
.demo-cta {
    text-align: center;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background-color: #f5f8ff;
    padding-top: 4rem;
}

/* Contact grid layout */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: space-between;
}
.contact-details {
    flex: 1 1 40%;
    max-width: 450px;
    color: #0c2449;
}
.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0563bb;
}
.contact-details h4 {
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-details .icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}
.contact-details p {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Stil für den Firmennamen im Kontaktbereich */
.contact-details .company-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-details .hours p {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Adjust contact form within grid */
.contact-grid .contact-form {
    flex: 1 1 55%;
    max-width: 600px;
    margin: 0;
}

/* Required star styling */
.contact-form .required {
    color: #d9534f;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }
    .contact-details, .contact-grid .contact-form {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .contact-grid {
        gap: 1.5rem;
    }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Contact information styling */
.contact-info {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #0c2449;
}

/* Add spacing between individual contact details */
.contact-info p {
    margin: 0.25rem 0;
}

.contact-info a {
    color: #0563bb;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form label {
    font-weight: bold;
    color: #0c2449;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccd5e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Highlight form fields on focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0a7cff;
    box-shadow: 0 0 0 2px rgba(10, 124, 255, 0.15);
    outline: none;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background-color: #0c2449;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Stack hero content vertically */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text,
    .hero-image {
        flex: 1 1 100%;
        margin-bottom: 2rem;
    }
    /* Reduce hero text sizes on small screens */
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    /* Stack header contents vertically on small screens */
    .header-container {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    /* Show hamburger and hide nav by default */
    .menu-toggle {
        display: block !important;
    }
    .navigation {
        display: none !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-top: 0.5rem !important;
    }
    .navigation.open {
        display: flex !important;
    }
    .navigation a {
        display: block !important;
        margin: 0.25rem 0 !important;
        padding: 0.25rem 0 !important;
    }
    /* Stack service cards */
    .services-grid {
        grid-template-columns: 1fr;
    }
    /* Hide the ElevenLabs voice agent widget on mobile to avoid overlay */
    .eleven-agent {
        display: none;
    }
    /* Ensure contact form uses full width */
    .contact-form {
        width: 100%;
    }

    /* Hide ElevenLabs conversational AI overlay (floating bubble) on small screens */
    elevenlabs-convai,
    iframe[src*="convai"],
    div[id*="elevenlabs"],
    div[class*="elevenlabs"] {
        display: none !important;
    }
}