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

/* Base Styles */
html, body {
    height: 100%;
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
    background-color: #f1f1f1;
    color: #444;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: clamp(8px, 2vw, 20px);
    padding-top: clamp(60px, 10vh, 80px);
}

/* Container */
.container {
    width: min(100%, 1200px);
    margin-inline: auto;
    padding-inline: clamp(0.5rem, 2vw, 1rem);
}

/* Header */
.header,
.header-thiosphere,
.header-auxosphere,
.header-saunosphere,
.header-agrosphere,
.header-ergosphere,
.header-immosphere,
.header-voidosphere,
.header-isosphere {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 12px 12px; /* Rounded corners only on bottom */
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 9999;
}

/* Set specific background colors */
.header { background: #15635E; }
.header-thiosphere { background: #96643F; }
.header-auxosphere { background: #909090; }
.header-saunosphere { background: #E25141; }
.header-agrosphere { background: #15635E; }
.header-ergosphere { background: #1D63BE; }
.header-immosphere { background: #4D04AC; }
.header-voidosphere { background: #01115D; }
.header-isosphere { background: #333333; }

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

.logo {
    max-height: 50px;
}

.logo {
    transition: filter 0.5s ease;
}

.logo:hover {
    filter: brightness(1.3); /* Increases brightness by 20% on hover */
    transform: scale(1.05); /* Grow the button by 5% */
    transition: transform 0.5s ease;
}

/* Consolidate tagline styles */
[id^="tagline"] {
    font-size: 14px;
    font-weight: semibold;
    letter-spacing: 2px;
    text-align: left;
    padding: 4px;
}

/* Set specific tagline colors */
#tagline { color: #15635E;}
#tagline-thiosphere { color: #96643F;}
#tagline-auxosphere { color: #909090;}
#tagline-saunosphere { color: #E25141;}
#tagline-agrosphere { color: #15635E;}
#tagline-ergosphere { color: #1D63BE;}
#tagline-immosphere { color: #4D04AC;}
#tagline-voidosphere { color: #01115D;}
#tagline-isosphere { color: #333;}

.handmade {
    color: #878887;
    font-size: 11px;
    font-weight: regular;
    text-align: center;
    padding:4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #E8AF00;
    font-size: medium;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: #fbc114;
    text-decoration: dashed;
}


.cart-icon {
    color: #E8AF00;
    font-size: 18pt;
    margin-left: 2rem;
    text-decoration: none;
    display: flex;
    align-items: center; /* Ensures icon is centered vertically */
}


.cart-icon:hover {
    color: #fbc114;
}






@media screen and (max-width: 768px) {


    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

@media screen and (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,1);
    z-index: 994;
}

.overlay.active {
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    color: #434343;
    margin: 0;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #1D63BE;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Sections */
.section-generic,
.section-focus,
.section-a,
.section-b,
.section-c,
.section-d,
.section-e,
.section-f,
.section-g {
    border-radius: 12px;
    border-style: dashed;
    padding: clamp(0.75rem, 3vw, 2rem);
    margin: clamp(0.75rem, 2vw, 1rem) 0;
    width: 100%;
}

.section-a { border-color: #E25141; border-width: 2px; }
.section-b { border-color: #15635E; border-width: 2px; }
.section-c { border-color: #1D63BE; border-width: 2px; }
.section-d { border-color: #4D04AC; border-width: 2px; }
.section-e { border-color: #959393; border-width: 2px; }
.section-f { border-color: #96643F; border-width: 2px; }
.section-g { border-color: #E8AF00; border-width: 2px; }
.section-focus { border-color: #cccccc; border-width: 2px; }
.section-generic { border-color: #ccc; border-width: 2px; }


.section-generic:hover {
    border-style: solid;
    border-color: #999;
    background-color: #fefefe;
}

.section-focus:hover {
    border-style: solid;
    background-color: #fff;
}

.section-a:hover {
    border-style: solid;
    background-color: #fbe9e7;
}

.section-b:hover {
    border-style: solid;
    background-color: #e1f7f5;
}

.section-c:hover {
    border-style: solid;
    background-color: #dbe9fb;
}

.section-d:hover {
    border-style: solid;
    background-color: #ebe1f8;
}

.section-e:hover {
    border-style: solid;
    background-color: #ebe9e9;
}

.section-f:hover {
    border-style: solid;
    background-color: #f9ece3;
}

.section-g:hover {
    border-style: solid;
    background-color: #fbf9f2;
}


hr {
    margin-bottom: 10px;
    color: #ccc;
    border-width: thin;
    border-style:dotted;
}


/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 1rem;
}


.two-column img {
    width: 100%;
    object-fit: cover;
}

/* THREE COLUMN LAYOUT */
.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.three-column .column {
    padding: 1rem;
}

.three-column .column ul {
    list-style-type: none;
    padding: 0;
}

.three-column .column ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.three-column .column ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}


/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.product-badge {
    max-height: 80px;
    padding-top: 12px;
}

/* Full Width Image */
.full-width-image {
    width: 100%;
    margin: 0rem;
    display: flex;
    justify-content: center;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Callout */
.callout {
    display: flex;
    font-weight: regular;
    font-size: medium;
    color: #705502;
    align-items: top; /* Vertically centers the content */
    justify-content: flex-start; /* Aligns items to the start horizontally */
    padding-top: 1rem;
    padding-bottom: 0rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #fff;
    border-style: dashed;
    border-color: #E8AF00;
    border-radius: 12px;
    margin-bottom: 0px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.callout:hover {
    filter: brightness(110%);
}

.callout.collapsed {
    padding: 10px;
}

.callout.collapsed p {
    display: none;
}

.callout.collapsed .info-icon {
    margin: 0;
}

.info-icon {
    margin-right: 1rem;
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    padding: clamp(1rem, 3vw, 2rem);
    margin-top: auto;
    text-align: center;
}

.footerlink {
    color: #1D63BE;
    text-decoration: none;
}

.footerlink:hover {
    color: #056ff8;
    text-decoration: underline;
}

/* Mobile Navigation */
@media (max-width: 768px) {


    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    /* Update the body margin for mobile */
    body {
        margin: 8px;
        padding-top: 110px;
    }

    /* Adjust container to be flush with edges */
    .container {
        padding: 0;
        width: 100%;
    }

    /* Make nav flush with container */
    nav {
        padding: 0 0.5rem;
        width: 100%;
        margin: 0;
    }

    /* Reduce section padding */
    .section-generic,
    .section-a,
    .section-b,
    .section-c,
    .section-d,
    .section-e,
    .section-f,
    .section-g {
        padding: 0.75rem;
        margin: 0.75rem 0;
        width: 100%;
    }

    /* Adjust header to align with content */
    .header,
    .header-thiosphere,
    .header-auxosphere,
    .header-saunosphere,
    .header-agrosphere,
    .header-ergosphere,
    .header-immosphere,
    .header-voidosphere,
    .header-isosphere {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    nav {
        width: 100%;
        padding: 0.5rem;
        margin: 0;
        box-sizing: border-box;
    }

    .logo {
        margin-left: 0;
    }

    .nav-links {
        margin-right: 0;
    }
}

/* Add this to your CSS file */
ul {
    padding-left: 20px; /* Adjust the value as needed for indentation */
}

li {
    margin-bottom: 5px; /* Optional: adds space between list items */
}

.button-container {
    margin-top: 20px; /* Space above the buttons */
}

.btn {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 7px;
    padding-left: 18px;
    padding-right: 18px;
    margin-right: 10px; /* Space between buttons */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
}

.btn {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}


.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 8px;
}

.btn-primary {
    background-color: #fac116;
    color: #333;
    border-style: solid;
    border-color: #333;
}

.btn-primary:hover {
    background-color: #fac116;
    color: #333;
    text-decoration: none;
    border-color: #000;
    transform: scale(1.05); /* Grow the button by 10% */
    box-shadow: 0 0 10px rgba(252, 230, 164, 0.8); /* Add a glow effect */
}


.btn-secondary {
    background-color: #fff;
    border-style: dashed;
    text-decoration: none;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-thios {
    background: #fff;
    border-style: dashed;
    border-color: #96643F;
    color: #96643F;
}

.btn-secondary-thios:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-auxos {
    background: #fff;
    border-style: dashed;
    border-color: #909090;
    color: #909090;
}

.btn-secondary-auxos:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-saunos {
    background: #fff;
    border-style: dashed;
    border-color: #E25141;
    color: #E25141;
}

.btn-secondary-saunos:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-agros {
    background: #fff;
    border-style: dashed;
    border-color: #208982;
    color: #208982;
}

.btn-secondary-agros:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-ergos {
    background: #fff;
    border-style: dashed;
    border-color: #3c8aef;
    color: #3c8aef;
}

.btn-secondary-ergos:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}

.btn-secondary-immos {
    background: #fff;
    border-style: dashed;
    border-color: #8034e3;
    color: #8034e3;
}

.btn-secondary-immos:hover {
    transform: scale(1.05);
    background-color: #fff;
    border-style: solid;
    text-decoration: none;
}


.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    z-index: 994;
    display: none;
}

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

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        text-transform: uppercase;
    }
}

/* Ensure nav maintains proper styling within sticky header */
.header nav {
    width: 100%;
    box-sizing: border-box;
}

/* Add subtle shadow for visual separation (optional) */
.header.sticky {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile-first carousel styles */
.product-carousel-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
}

.product-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.product-item {
    flex: 0 0 auto;
    width: calc(100% / 3); /* Adjust based on itemsPerView */
    user-select: none;
}

.product-item.clone {
    pointer-events: none; /* Optional: prevent interaction with clones */
}

@media (max-width: 900px) {
    .product-item {
        width: 50%; /* Show 2 items */
    }
}

@media (max-width: 600px) {
    .product-item {
        width: 100%; /* Show 1 item */
    }
}

.product-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-label {
    font-size: 0.9em;
    color: #666;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #15635E;
}

.product-price sup {
    font-size: 50%;
}

.product-description {
    font-size: 0.9em;
    line-height: 1.4;
    color: #444;
}

.product-link a {
    color: #15635E;
    text-decoration: none;
    font-weight: bold;
}

.product-link a:hover {
    text-decoration: underline;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #15635E;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button:hover {
    background: #0f4a46;
}

.carousel-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Update media queries */
@media screen and (min-width: 768px) {
    .product-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (min-width: 1024px) {
    .product-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media screen and (min-width: 1440px) {
    .product-item {
        flex: 0 0 calc(25% - 20px);
    }
}

/* Add these new styles and update existing ones */
.carousel-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.product-carousel-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
}

.product-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
    padding: 0 10px;
}

.product-item {
    flex: 0 0 100%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.product-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-label {
    font-size: 0.9em;
    color: #666;
}

.product-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #15635E;
}

.product-description {
    font-size: 0.9em;
    line-height: 1.4;
    color: #444;
}

.product-link a {
    color: #96643F;
    text-decoration: none;
    font-weight: bold;
}

.product-link a:hover {
    text-decoration: underline;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #15635E;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button:hover {
    background: #0f4a46;
}

.carousel-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Update media queries */
@media screen and (min-width: 768px) {
    .product-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (min-width: 1024px) {
    .product-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media screen and (min-width: 1440px) {
    .product-item {
        flex: 0 0 calc(25% - 20px);
    }
}

.price-note {
    font-size: 0.75em;
    font-style: italic;
    color: #666;
    margin-top: 4px;
    line-height: 1.3;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

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

/* Error states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem 0;
    }
}

.product-matrix {
    width: 98%;
    margin: 1rem 0;
    margin-left: auto;
    margin-right: auto;
}

.product-matrix-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-comparison {
    width: 98%;
    margin: 1rem 0;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    min-width: 600px;
}

.product-comparison th,
.product-comparison td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color, #ddd);
}

.product-comparison th {
    background-color: var(--primary-color, #f5f5f5);
    font-weight: 600;
}

.product-comparison tr:hover {
    background-color: var(--hover-color, #f9f9f9);
}

.feature-cell {
    text-align: center;
}

.feature-cell .fa-check {
    color: var(--success-color, #28a745);
}

.feature-cell .fa-minus {
    color: var(--muted-color, #6c757d);
}

.product-name {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.product-name:hover {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-matrix {
        width: 98%;
        margin: 1rem 0;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-comparison th,
    .product-comparison td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.success-message {
    text-align: center;
    padding: 2rem;
    background-color: #f0f8f0;
    border-radius: 4px;
    margin: 2rem 0;
}

.success-message h3 {
    color: #2c5282;
    margin-bottom: 1rem;
}

.osilogo {
    padding-right: 12px;
}

.trademark-guidelines {
    margin: 2rem 0;
}

.guidelines-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

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

.allowed, .not-allowed {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--background-secondary);
}

.allowed h3 {
    color: var(--success);
}

.not-allowed h3 {
    color: var(--danger);
}

.community-note, .contact-info {
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    background-color: var(--background-secondary);
}

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

.support-card {
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.support-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    margin: 4rem 0;
}

.faq-item {
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--card-bg, #f8f9fa);
}

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

.tier-card {
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tier-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-card.featured {
        transform: none;
    }
}

.brand-section, .brand-assets, .press-contact, .press-releases, .media-guidelines {
    margin-bottom: 3rem;
}

.key-stats ul {
    list-style: none;
    padding-left: 0;
}

.logo-downloads {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.sample-logo {
    max-width: 200px;
    height: auto;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.color-box {
    padding: 2rem;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.press-list {
    list-style: none;
    padding-left: 0;
}

.press-list li {
    margin-bottom: 1rem;
}

.date {
    color: #666;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .logo-downloads {
        flex-direction: column;
        text-align: center;
    }
    
    .color-palette {
        grid-template-columns: 1fr;
    }
}

.brand-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
}

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

.color-swatch {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.typography-examples {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.font-example-heading {
    font-size: 1.2rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.icon-examples {
    display: flex;
    gap: 2rem;
    font-size: 2rem;
    margin: 1rem 0;
}

.logo-guidelines {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.brand-logo {
    max-width: 200px;
    height: auto;
}

.voice-guidelines ul,
.imagery-guidelines ul {
    list-style: none;
    padding: 0;
}

.voice-guidelines li,
.imagery-guidelines li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.voice-guidelines li:before,
.imagery-guidelines li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-guidelines {
        flex-direction: column;
    }
    
    .icon-examples {
        flex-wrap: wrap;
    }
}

/* Mobile Navigation Styles */
.nav-links {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #fff;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 95px;
        left: 0;
        right: 0;
        width: 98%;
        margin: 0 auto;
        background: rgb(4, 131, 122);
        border-radius: 0 0 12px 12px;
        flex-direction: column;
        padding: 1rem;
        z-index: 8888;
        box-shadow: 0 2px 5px rgba(0,0,0,0.6);
    }

    nav {
        position: relative;
    }

    .header,
    .header-thiosphere,
    .header-auxosphere,
    .header-saunosphere,
    .header-agrosphere,
    .header-ergosphere,
    .header-immosphere,
    .header-voidosphere,
    .header-isosphere {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0 0 12px 12px;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    .overlay.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 8887;
    }
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    border-radius: 0 0 12px 12px;
}

/* Optional: Add a subtle border to enhance the rounded corners */
.sticky-header nav {
    border-radius: 0 0 12px 12px;
}

.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 2rem 0;
}

.card {
    flex: 1;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.feature-row {
    border: none;
    background: transparent;
}

.feature-row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.emoji-cell {
    width: 25%;
    text-align: center;
    padding: 2rem;
}

.emoji-cell p {
    font-size: 4rem;
    margin: 0;
}

.text-cell {
    padding: 2rem;
}

.text-cell p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color, #333);
}

@media (max-width: 768px) {
    .emoji-cell {
        padding: 1rem;
    }
    
    .emoji-cell p {
        font-size: 3rem;
    }
    
    .text-cell {
        padding: 1rem;
    }
}

/* Extra small screens (mobile phones) */
@media screen and (max-width: 480px) {
    body {
        margin: 4px;
        padding-top: 90px;
        font-size: 14px;
    }

    .container {
        padding: 0 0.5rem;
    }

    .section-generic,
    .section-focus,
    .section-a,
    .section-b,
    .section-c,
    .section-d,
    .section-e,
    .section-f,
    .section-g {
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    .nav-links {
        top: 85px;
    }

    .logo {
        max-height: 40px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.9em;
    }

    .two-column,
    .three-column {
        gap: 1rem;
    }
}

/* Extra large screens */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    body {
        font-size: 18px;
        margin: 30px;
        padding-top: 80px;
    }

    .nav-links {
        gap: 3rem;
    }

    .logo {
        max-height: 60px;
    }

    .section-generic,
    .section-focus,
    .section-a,
    .section-b,
    .section-c,
    .section-d,
    .section-e,
    .section-f,
    .section-g {
        padding: 3rem;
        margin: 1.5rem 0;
    }

    .two-column {
        gap: 3rem;
    }

    .three-column {
        gap: 3rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1.1em;
    }

    .callout {
        padding: 1.5rem;
        font-size: 1.1em;
    }
}

/* Responsive Tables - General */
table {
    width: 98%;
    min-width: 98%;
    margin: 1rem 0;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        white-space: nowrap;
    }
}

/* Product Matrix and Comparison Tables */
.product-matrix,
.product-comparison {
    width: 98%;
    margin: 1rem auto;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.product-matrix th,
.product-matrix td,
.product-comparison th,
.product-comparison td {
    padding: clamp(0.5rem, 2vw, 1rem);
    text-align: left;
    border-bottom: 1px solid var(--border-color, #ddd);
}

/* Responsive table headers */
@media (max-width: 768px) {
    .product-matrix,
    .product-comparison {
        /* Enable horizontal scrolling for wide tables */
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Optional: Stack layout for very small screens */
    @media (max-width: 480px) {
        .product-matrix tr,
        .product-comparison tr {
            display: flex;
            flex-direction: column;
            border-bottom: 2px solid var(--border-color, #ddd);
            padding: 0.5rem;
        }

        .product-matrix td,
        .product-comparison td {
            display: flex;
            padding: 0.5rem;
            border: none;
        }

        .product-matrix td::before,
        .product-comparison td::before {
            content: attr(data-label);
            font-weight: bold;
            width: 60px;
            min-width: 30px;
        }
    }
}

/* Feature Table */
.feature-table {
    border: none;
    margin: 2rem auto;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    border: none;
    background: transparent;
    transition: background-color 0.3s ease;
}

.feature-row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.emoji-cell {
    width: clamp(60px, 25%, 150px);
    padding: clamp(0.5rem, 2vw, 2rem);
    text-align: center;
}

.emoji-cell p {
    font-size: clamp(2rem, 4vw, 4rem);
    margin: 0;
}

.text-cell {
    flex: 1;
    padding: clamp(0.5rem, 2vw, 2rem);
    min-width: 200px;
}

/* Support Grid and Cards */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: 2rem 0;
}

.support-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1rem, 3vw, 2rem);
}

/* Tier Grid */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: 2rem 0;
}

.tier-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1rem, 3vw, 2rem);
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: 2rem 0;
}

.card {
    height: 100%;
    padding: clamp(1rem, 3vw, 2rem);
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin: 2rem 0;
}

/* Typography and Spacing Utilities */
.typography-examples {
    padding: clamp(1rem, 3vw, 2rem);
    margin: clamp(0.5rem, 2vw, 1rem) 0;
}

.icon-examples {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 2rem);
    padding: clamp(0.5rem, 2vw, 1rem);
}

/* Logo Guidelines */
.logo-guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
}

/* Responsive Images */
.brand-logo,
.sample-logo {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Cookie Modal */
.cookie-modal {
    padding: clamp(0.5rem, 2vw, 1rem);
}

.cookie-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
    align-items: center;
}

/* Voice and Imagery Guidelines */
.voice-guidelines,
.imagery-guidelines {
    padding: clamp(0.5rem, 2vw, 1rem);
}

.voice-guidelines li,
.imagery-guidelines li {
    padding: clamp(0.25rem, 1vw, 0.5rem) 0;
    padding-left: 1.5rem;
}

.why-thios-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.why-thios-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
}

.why-thios-item .emoji {
    font-size: 4rem;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.why-thios-item p {
    margin: 0;
    flex: 1;
}

/* Alternate alignment for even items */
.why-thios-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-thios-item {
        flex-direction: column !important; /* Override the alternating pattern on mobile */
        text-align: center;
        gap: 1rem;
    }

    .why-thios-item .emoji {
        font-size: 3rem;
        min-width: 60px;
    }
}

/* Table Breakpoints */
@media (min-width: 481px) and (max-width: 767px) {
    table {
        font-size: 0.9rem;
        margin: 0.75rem auto;
    }

    .product-matrix th,
    .product-matrix td,
    .product-comparison th,
    .product-comparison td {
        padding: 0.75rem;
    }

    /* Adjust cell spacing */
    .feature-table .emoji-cell {
        padding: 1rem;
    }

    .feature-table .emoji-cell p {
        font-size: 1rem;
    }

    .feature-table .text-cell {
        padding: 1rem;
    }

    /* Ensure tables remain scrollable but with better spacing */
    .product-matrix,
    .product-comparison {
        width: 96%;
        min-width: 96%;
        margin: 0.75rem auto;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
    min-width: 200px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.product-package {
    max-height: 220px;
    max-width: 220px;
    object-fit: contain;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-details h2 {
    margin: 0;
}

.product-details p {
    margin: 0;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

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

.support-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.support-item i {
    color: #007bff;
    margin-bottom: 1rem;
}

.license-explanation {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.license-explanation ul {
    list-style-type: none;
    padding-left: 0;
}

.license-explanation li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.license-explanation li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Base table styles */
table {
    width: 100%;
    max-width: 100%;
    margin: clamp(1rem, 3vw, 2rem) 0;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Table header and cell styles */
th, td {
    padding: clamp(0.5rem, 2vw, 1rem);
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

th {
    background-color: #f5f5f5;
    font-weight: 600;
    white-space: nowrap;
}

/* Zebra striping for better readability */
tr:nth-child(even) {
    background-color: #fafafa;
}

tr:hover {
    background-color: #f0f0f0;
}

/* Table container for horizontal scrolling on mobile */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: clamp(1rem, 3vw, 2rem) 0;
    border-radius: 8px;
}

/* Responsive table behavior */
@media (max-width: 768px) {
    /* Option 1: Horizontal scroll for wide tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Option 2: Stack layout for basic tables */
    .stack-on-mobile {
        display: block;
    }
    
    .stack-on-mobile thead {
        display: none;
    }
    
    .stack-on-mobile tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    
    .stack-on-mobile td {
        display: block;
        text-align: right;
        padding: 0.75rem;
        border-bottom: 1px solid #eee;
    }
    
    .stack-on-mobile td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.85em;
    }
    
    .stack-on-mobile td:last-child {
        border-bottom: none;
    }
}



/* Optional: Compact table style */
.table-compact {
    font-size: 0.875rem;
}

.table-compact th,
.table-compact td {
    padding: clamp(0.25rem, 1vw, 0.5rem);
}

/* Trademark Page Styles */
.trademark-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

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

.trademark-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

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

.trademark-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.trademark-name {
    font-size: 1.5rem;
    margin: 0;
}

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

.guidelines-card {
    padding: 2rem;
    border-radius: 8px;
    background: var(--card-bg);
}

.guidelines-card.allowed {
    border-left: 4px solid var(--success-color);
}

.guidelines-card.not-allowed {
    border-left: 4px solid var(--error-color);
}

.info-card, .contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trademark-grid {
        grid-template-columns: 1fr;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

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

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.legal-section {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legal-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.label {
    font-weight: 600;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-section {
        padding: 1rem;
    }
}

.tagline-container {
    text-align: left;
    margin: 2rem 0;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem 0 2rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.osi-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.osi-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.osi-content {
    flex: 1;
}

.button-container {
    text-align: right;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .osi-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .button-container {
        text-align: center;
    }
}


