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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(47,55,89);
    z-index: 100;
    box-shadow: 0 2px 5px rgba(47,55,89,0.3);
}

.nav-content {
    width: 80%;
    padding-left: 15%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

nav ul {
    display: inline-block;
    margin-bottom: 1px;
    margin-top: 0;
    padding: 0;
    padding-right: 20px;
}

nav a {
    text-decoration: none;
    color: rgb(120,197,249);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

nav a:hover {
    color: white;
}

nav h1 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    color: rgb(120,197,249);
}

/* Language Switcher */
.lang-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flag-btn {
    font-size: 1.8em;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.flag-btn.current {
    opacity: 1;
    cursor: default;
    filter: drop-shadow(0 0 2px rgba(120,197,249,0.5));
}

.flag-btn:not(.current) {
    opacity: 0.6;
}

.flag-btn:not(.current):hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-switch .separator {
    color: rgb(120,197,249);
}

/* Body Content */
#body-content {
    background-color: white;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 50px;
}

/* Main content padding to account for fixed nav */
main {
    margin-top: 80px;
}

.container {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    padding-bottom: 40px;
}

.distance {
    height: 150px;
}

.container h1 {
    font-size: 3em;
    margin-top: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(120,197,249);
    margin-bottom: 30px;
}

.container h2 {
    font-size: 2em;
    color: rgb(120,197,249);
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.text {
    text-align: left;
    font-size: 1.6em;
    line-height: 1.6em;
    font-weight: 400;
    letter-spacing: 0.1px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}

/* Logo */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

.logo-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Info */
.contact-info {
    margin: 20px 0;
    display: flex;
    align-items: center;
    font-size: 1.4em;
    text-decoration: none;
    color: rgb(47,55,89);
    font-family: Arial, Helvetica, sans-serif;
}

.contact-info img {
    width: 30px;
    margin-right: 15px;
}

.contact-info a {
    color: rgb(47,55,89);
    text-decoration: none;
}

.contact-info a:hover {
    color: rgb(120,197,249);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-card {
    background: #f9f9f9;
    border: 2px solid rgb(120,197,249);
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
    font-family: Arial, Helvetica, sans-serif;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(120,197,249,0.2);
}

.product-card h3 {
    color: rgb(47,55,89);
    font-size: 1.6em;
    margin-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.product-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-family: Arial, Helvetica, sans-serif;
}

.product-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 0.95em;
    font-family: Arial, Helvetica, sans-serif;
}

.product-card li:before {
    content: "✓ ";
    position: absolute;
    left: 0;
    color: rgb(120,197,249);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-link {
    display: inline-block;
    background-color: rgb(120,197,249);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.product-link:hover {
    background-color: rgb(100,180,230);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-box {
    background: linear-gradient(135deg, rgba(120,197,249,0.1) 0%, rgba(120,197,249,0.05) 100%);
    border-left: 4px solid rgb(120,197,249);
    padding: 20px;
    border-radius: 4px;
    transition: box-shadow 0.3s;
    font-family: Arial, Helvetica, sans-serif;
}

.service-box:hover {
    box-shadow: 0 4px 12px rgba(120,197,249,0.15);
}

.service-box h3 {
    color: rgb(47,55,89);
    font-size: 1.3em;
    margin-bottom: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.service-box p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

/* Vita/Company Section */
.vita-section {
    margin: 30px 0;
    font-family: Arial, Helvetica, sans-serif;
}

.vita-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.vita-text {
    line-height: 1.8;
    font-size: 1.1em;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
}

.vita-text p {
    margin-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.vita-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid rgb(120,197,249);
    border-radius: 4px;
    font-size: 0.95em;
    font-family: Arial, Helvetica, sans-serif;
}

.highlight-item strong {
    color: rgb(47,55,89);
    font-family: Arial, Helvetica, sans-serif;
}

/* Footer */
footer {
    background-color: rgb(47,55,89);
    color: white;
    padding: 30px;
    padding-left: 15%;
    padding-right: 15%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    margin-top: 50px;
    text-align: left;
    font-size: 0.95em;
    border-radius: 4px 4px 0 0;
    font-family: Arial, Helvetica, sans-serif;
}

footer a {
    color: rgb(120,197,249);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

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

.breadcrumb a {
    color: rgb(120,197,249);
    text-decoration: none;
    margin-right: 10px;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Page Common Styles */
.hero {
    background: #fff;
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: rgb(47,55,89);
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.hero-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.content {
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: rgb(47,55,89);
    font-weight: 700;
    border-bottom: 2px solid rgb(120,197,249);
    padding-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.section h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: rgb(47,55,89);
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:before {
    content: "✓ ";
    color: rgb(120,197,249);
    font-weight: 700;
    margin-right: 10px;
    font-size: 18px;
}

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

.spec-box {
    background: #f5f5f5;
    padding: 20px;
    border-left: 4px solid rgb(120,197,249);
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
}

.spec-box h4 {
    color: rgb(47,55,89);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.spec-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

.cta-section {
    background: linear-gradient(135deg, rgba(120,197,249,0.1) 0%, rgba(120,197,249,0.05) 100%);
    border-left: 4px solid rgb(120,197,249);
    padding: 30px;
    border-radius: 4px;
    margin: 40px 0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.cta-section h3 {
    font-size: 22px;
    color: rgb(47,55,89);
    margin-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
}

.cta-section p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.cta-section p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: rgb(120,197,249);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: rgb(100,180,230);
}

/* General Link Style for content links */
a:not(nav a):not(.cta-button):not(.contact-info a):not(.flag-btn):not(.product-link) {
    color: rgb(120,197,249);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

a:not(nav a):not(.cta-button):not(.contact-info a):not(.flag-btn):not(.product-link):hover {
    color: rgb(100,180,230);
    text-decoration: underline;
}

/* Documentation Section */
.doc-section {
    background: #f0f6ff;
    padding: 20px;
    border-left: 4px solid rgb(120,197,249);
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.doc-section h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.doc-section p {
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Documentation links inherit from general link style */
.doc-link {
    /* inherits from general 'a' style */
}

.doc-description {
    font-size: 0.95em;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    #body-content {
        width: 90%;
    }

    .nav-content {
        width: 90%;
        padding-left: 5%;
    }

    nav a {
        font-size: 0.9em;
    }

    nav h1 {
        margin: 0;
        margin-bottom: 15px;
        margin-top: 25px;
    }

    .distance {
        height: 100px;
    }

    .container h1 {
        font-size: 2em;
    }

    .container h2 {
        font-size: 1.5em;
    }

    .text {
        font-size: 1.2em;
    }

    .vita-content {
        grid-template-columns: 1fr;
    }

    footer {
        padding-left: 10%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .vita-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    nav a {
        font-size: 0.85em;
    }

    .section h2 {
        font-size: 22px;
    }

    .container h1 {
        font-size: 1.8em;
    }
}
