:root {
    --primary-color: #3679d1;
    --secondary-color: #64a530;
    --accent-color: #3679d1;
    --background-color: #000;
    --text-color: #fff;
    --link-color: #3679d1;
    --link-hover-color: #64a530;
    --hero-bg: url('/assets/images/general/geomods-geocell.jfif');
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Body state when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Side Bar */
.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background-color: var(--primary-color);
    z-index: 100;
    overflow: hidden;
}

.cursor-follower-y {
    position: absolute;
    left: 0;
    width: 100%;
    height: 24px;
    background-color: var(--secondary-color);
    transition: top 0.1s ease-out;
    z-index: 1;
    box-shadow: 0 0 10px rgba(100, 165, 48, 0.3);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 8px;
    width: calc(100% - 8px);
    z-index: 1000;
    background: transparent;
    padding: 1rem 2rem;
    transition: background 0.3s ease;
}

.site-header.transparent {
    background: transparent;
    box-shadow: none;
}

.site-header.transparent .main-navigation a {
    color: #fff;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.main-navigation li {
    margin: 0 1rem;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-weight: 500;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.main-navigation a:hover::before {
    width: 100%;
}

/* Mobile Menu */
/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle-icon::before {
    top: -8px;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

/* Active state for menu toggle */
.menu-toggle.active .menu-toggle-icon {
    background: transparent;
}

.menu-toggle.active .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .menu-toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Content Area */
.site-content {
    margin-left: 8px;
    width: calc(100% - 8px);
    overflow: visible;
    position: relative;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 2rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content sections */
.content-section {
    padding: 4rem 0;
    background: #111;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.content-section h2 {
    color: var(--text-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
}

.feature-card {
    background: #222;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(54, 121, 209, 0.2);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Product Cards */
.product-card {
    background: #222;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 165, 48, 0.2);
    border-color: var(--secondary-color);
}

.product-card h3 {
    color: var(--secondary-color);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.product-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.product-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-items li {
    color: var(--primary-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.product-items li:last-child {
    border-bottom: none;
}

.product-regions {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background: #558a2a;
    transform: translateY(-2px);
}

/* Product Categories */
.product-categories {
    padding: 4rem 2rem;
    background: #111;
    width: 100%;
}

.product-categories h2 {
    text-align: center;
    color: var(--text-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
}

.category-item {
    background: #222;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    width: 100%;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(54, 121, 209, 0.2);
    border-color: var(--primary-color);
}

.category-item img {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    margin-bottom: 1rem;
    filter: brightness(0) saturate(100%) invert(56%) sepia(95%) saturate(383%) hue-rotate(57deg) brightness(97%) contrast(88%);
}

.category-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.category-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.category-link:hover {
    background: var(--secondary-color);
}

/* Case Studies */
.featured-case-studies {
    padding: 4rem 2rem;
    background: #000;
    width: 100%;
}

.featured-case-studies h2 {
    text-align: center;
    color: var(--text-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
}

.case-study-card {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    width: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(100, 165, 48, 0.2);
    border-color: var(--secondary-color);
}

.case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-card h3 {
    color: var(--text-color);
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.case-study-card p {
    color: rgba(255, 255, 255, 0.8);
    padding: 0 1.5rem;
    margin: 0.5rem 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.read-more {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    margin: 1rem 1.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.read-more:hover {
    background: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #111;
    color: #fff;
    padding: 3rem 0;
    margin-top: 0;
    margin-left: 8px;
    width: calc(100% - 8px);
    border-top: 1px solid #333;
}

/* Container */
.container {
    width: 100%;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid,
    .category-grid,
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 9999;
    }

    .main-navigation {
        width: 100%;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 998;
        margin: 0;
        padding: 4rem 2rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu a {
        font-size: 1.5rem;
        color: #fff;
        padding: 0.5rem 1rem;
    }

    .site-header.transparent .main-navigation ul {
        background: rgba(0, 0, 0, 0.95);
    }

    .site-header.transparent .main-navigation a:hover {
        color: var(--secondary-color);
    }

    .features-grid,
    .category-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .content-section {
        padding: 2rem 0;
    }

    .container {
        padding: 0;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .site-header {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .side-bar {
        width: 4px;
    }
    
    .site-content,
    .site-header,
    .site-footer {
        margin-left: 4px;
        width: calc(100% - 4px);
    }
    
    .content-section {
        padding: 1.5rem 0;
    }
    
    .features-grid,
    .category-grid,
    .case-studies-grid {
        padding: 0;
        gap: 1rem;
    }
    
    .feature-card,
    .category-item,
    .case-study-card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0;
    }
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Products Listing Styles */
.products-listing {
    width: 100%;
    min-height: 100vh;
}

.products-listing .hero-section {
    background: linear-gradient(135deg, rgba(54, 121, 209, 0.9), rgba(0, 0, 0, 0.8)),
                url('../images/geomods-productheader.jpg') center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.products-listing .hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.products-listing .hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Filters Section */
.filters-section {
    background: #111;
    padding: 2rem 0;
    border-bottom: 2px solid #3679d1;
}

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

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters-header h2 {
    color: #3679d1;
    font-size: 2rem;
    margin: 0;
}

.results-count {
    color: #64a530;
    font-size: 1.1rem;
    font-weight: 500;
}

.filters-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 2px solid #333;
    background: #222;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #3679d1;
    box-shadow: 0 0 0 3px rgba(54, 121, 209, 0.1);
}

.filter-group input::placeholder {
    color: #666;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-actions .btn-primary,
.filter-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.filter-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(54, 121, 209, 0.3);
}

.filter-actions .btn-primary:hover {
    background: var(--primary-color-dark, #2d63b6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 121, 209, 0.4);
}

.filter-actions .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.filter-actions .btn-secondary:hover {
    background: rgba(54, 121, 209, 0.1);
    transform: translateY(-2px);
}

.filter-actions .btn-primary:active,
.filter-actions .btn-secondary:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .filter-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-actions .btn-primary,
    .filter-actions .btn-secondary {
        width: 100%;
        padding: 1rem;
    }
}

/* Products Grid Section */
.products-grid-section {
    background: #000;
    padding: 3rem 0;
    min-height: 60vh;
}

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

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.no-products h3 {
    font-size: 2rem;
    color: #3679d1;
    margin-bottom: 1rem;
}

.no-products p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

.product-card {
    background: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: #3679d1;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(54, 121, 209, 0.2);
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-header h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-type,
.product-subcat {
    background: #3679d1;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-subcat {
    background: #64a530;
}

.product-description {
    margin-bottom: 1.5rem;
}

.product-description p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-specs {
    margin-bottom: 1.5rem;
}

.product-specs h4 {
    color: #3679d1;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.spec-item {
    background: #222;
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 3px solid #3679d1;
}

.spec-label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.spec-value {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.spec-value small {
    color: #64a530;
    font-weight: 400;
}

.specs-more {
    text-align: center;
    color: #64a530;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-style: italic;
}

.product-applications {
    margin-bottom: 1.5rem;
}

.product-applications h4 {
    color: #3679d1;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.applications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.application-tag {
    background: rgba(100, 165, 48, 0.2);
    color: #64a530;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #64a530;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features h4 {
    color: #3679d1;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    color: #ccc;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.product-features li:before {
    content: "✓";
    color: #64a530;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.product-id {
    color: #666;
    font-size: 0.8rem;
    font-family: monospace;
}

/* Categories Overview */
.categories-overview {
    background: #111;
    padding: 3rem 0;
    border-top: 2px solid #3679d1;
}

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

.categories-overview h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-card {
    background: #222;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #3679d1;
    transform: translateY(-3px);
}

.category-card h3 {
    color: #3679d1;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Products */
@media (max-width: 1024px) {
    .filters-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filters-container,
    .products-container,
    .categories-container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .filters-header {
        flex-direction: column;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .product-actions .btn-primary {
        text-align: center;
    }
    
    .applications-list {
        justify-content: center;
    }
}

/* Single Product Page Styles */
.single-product {
    width: 100%;
    min-height: 100vh;
}

.product-hero {
    background: linear-gradient(135deg, rgba(54, 121, 209, 0.9), rgba(0, 0, 0, 0.8)),
                url('../images/geomods-productheader.jpg') center/cover;
    padding: 4rem 0 2rem;
    color: white;
    width: 100%;
    position: relative;
    z-index: 1;
}

.product-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.product-meta-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-type-badge,
.product-subcat-badge,
.product-id-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-type-badge {
    background: #3679d1;
    color: white;
}

.product-subcat-badge {
    background: #64a530;
    color: white;
}

.product-id-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-family: monospace;
}

.product-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 800px;
    opacity: 0.9;
}

/* Product Content */
.product-content {
    background: #000;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

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

.product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.product-main {
    color: white;
}

/* Override case study content section styles */
.single-product .content-section {
    margin: 0 0 3rem 0;
    padding: 0 0 2rem 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid #333;
    transform: none;
}

.single-product .content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.single-product .content-section h2 {
    color: #3679d1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Disable unwanted animations */
.single-product [data-wipe],
.single-product [data-animation="overlap"] {
    transform: none !important;
    margin: 0 !important;
}

.single-product [data-wipe]::before,
.single-product [data-wipe]::after {
    display: none;
}

/* Rest of the existing product styles remain unchanged */
.single-product .product-sidebar {
    background: #111;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 2rem;
    width: 100%;
}

/* Ensure no overflow on parent containers */
.single-product .site-content,
.single-product .content-wrapper,
.single-product main {
    overflow-x: visible;
    width: 100%;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .single-product .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .single-product .product-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .single-product .product-container,
    .single-product .product-hero-content {
        padding: 0 1rem;
    }
    
    .single-product .product-meta-header {
        justify-content: center;
    }
    
    .single-product .product-sidebar {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .single-product .product-hero {
        padding: 2rem 0 1rem;
    }
    
    .single-product .product-meta-header {
        flex-direction: column;
        align-items: center;
    }
}

/* Print Styles */
@media print {
    .product-hero {
        background: none !important;
        color: black !important;
    }
    
    .product-sidebar {
        background: none !important;
        border: 1px solid #ccc;
    }
    
    .spec-row {
        background: none !important;
        border: 1px solid #ccc;
        margin-bottom: 0.5rem;
    }
    
    .tab-content:not(.active) {
        display: block !important;
    }
    
    .regional-tabs {
        display: none;
    }
}

/* Industry Associations Section */
.industry-associations {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-top: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2rem;
}

.associations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.association-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

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

.association-item img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.association-item:hover img {
    filter: grayscale(0%);
}

.association-item span {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 200px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .associations-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .association-item img {
        width: 120px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .filters-container,
    .products-container,
    .categories-container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .filters-header {
        flex-direction: column;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .product-actions .btn-primary {
        text-align: center;
    }
    
    .applications-list {
        justify-content: center;
    }
}

/* Ensure parent container allows full-width children */
.site-content,
.content-wrapper,
main {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}

/* Product Page Edit Mode Styles */
.edit-mode-active .spec-row {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.edit-mode-active .spec-row:hover {
    background-color: rgba(54, 121, 209, 0.1);
}

.edit-mode-active .spec-row.modified {
    background-color: rgba(100, 165, 48, 0.1);
    border-left: 3px solid #64a530;
}

.edit-spec-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    color: #3679d1;
}

.edit-mode-active .spec-row:hover .edit-spec-btn {
    opacity: 1;
}

#edit-controls {
    background: #222;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

#edit-controls button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#edit-controls button.btn-primary {
    background: #3679d1;
    color: white;
    margin-bottom: 0.5rem;
}

#edit-controls button.btn-secondary {
    background: #333;
    color: #ccc;
}

#edit-controls button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Spec Value Styles */
.spec-value {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value,
.imperial-value {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 6px;
    background: #222;
    margin-bottom: 0.5rem;
    border-left: 3px solid #3679d1;
    transition: all 0.3s ease;
}

.spec-name {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.test-method {
    color: #666;
    font-size: 0.75rem;
    font-style: italic;
}

.spec-value strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.spec-value .unit {
    color: #888;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.imperial-value {
    color: #64a530;
    font-size: 0.9rem;
}

/* Product Meta Information */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    background: #222;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    color: white;
    font-weight: 500;
}

/* Last Updated Info */
.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.last-updated .date {
    color: #3679d1;
    font-family: monospace;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-button.primary {
    background: #3679d1;
    color: white;
}

.action-button.secondary {
    background: #333;
    color: #ccc;
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .spec-row {
        grid-template-columns: 1fr;
    }
    
    .spec-name {
        margin-bottom: 0.5rem;
    }
    
    .edit-spec-btn {
        opacity: 1;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Contact Button Style */
.contact-button-style {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-button-style:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure nav-link with contact-button-style has correct spacing */
.nav-link.contact-button-style {
    margin: 0;
    padding: 0.75rem 1.5rem;
}

/* Contact Form Modal Overrides */
.geomods-modal .modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.geomods-modal .form-field input,
.geomods-modal .form-field textarea,
.geomods-modal .form-field select {
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.geomods-modal .form-field input:focus,
.geomods-modal .form-field textarea:focus,
.geomods-modal .form-field select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.geomods-modal .nav-button.next {
    background: var(--primary-color);
}

.geomods-modal .nav-button.next:hover {
    background: var(--primary-color-dark, #2d63b6);
}

/* Products Grid Loading and Error States */
.products-container .loading,
.products-container .error {
  text-align: center;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-container .loading {
  position: relative;
  min-height: 100px;
}

.products-container .loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.products-container .error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.products-container .error h3 {
  color: #721c24;
  margin-bottom: 1rem;
}

.products-container .error .btn-primary {
  margin-top: 1rem;
  background-color: #dc3545;
  border-color: #dc3545;
}

.products-container .error .btn-primary:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #000;
}

.faq-section h2 {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer[aria-hidden="false"] {
    max-height: 500px; /* Adjust based on content */
    transition: max-height 0.5s ease-in;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }

    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Breadcrumbs Navigation */
.breadcrumbs-nav {
    padding: 1rem 0;
    margin-bottom: 2rem;
    background: var(--bg-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item .separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .breadcrumbs-nav {
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
    }

    .breadcrumb-item {
        font-size: 0.85rem;
    }
} 