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

:root {
    --blue-primary: #22608A;
    --blue-light: #4CA1AF;
    --blue-dark: #17425E;
    --green-primary: #7EF29D;
    --green-light: #B6F7C1;
    --green-dark: #3A6B4B;
    --white: #F3FCF9;
    --off-white: #E6F7F1;
    --gray-light: #E8F2EC;
    --gray-medium: #5A6E63;
    --gray-dark: #1E293B;
    --success-green: #10B981;
    --error-red: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 60%, var(--blue-light) 100%);
    min-height: 100vh;
    background-attachment: fixed;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    background: transparent !important;
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo img {
    width: 30px;
    height: 22px;
    border-radius: 8px;
    
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-primary);
    text-shadow: 0 2px 8px var(--green-light);
}

/* Header */
header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.logo {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(34, 96, 138, 0.18), 0 0 0 8px rgba(126, 242, 157, 0.08);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px var(--green-light);
}

.tagline {
    font-size: 1.1rem;
    color: var(--green-dark);
    font-weight: bold;
    text-align: center;
}

.site-description {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin-top: 0.5rem;
    font-weight: 300;
    text-align: center;
}

/* Main content */
main {
    padding: 4rem 0;
}

.intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro h1 {
    font-size: 2.8rem;
    font-weight: 200;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin: 2.5rem 0;
    align-items: stretch;
    justify-items: center;
}

.service {
    background: var(--off-white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    box-shadow: 0 2px 12px 0 rgba(34, 96, 138, 0.08), 0 1px 0 0 var(--green-primary);
    padding: 1.2rem 1rem 1rem 1rem;
    width: 100%;
    max-width: 320px;
    text-align: left;
    transition: all 0.22s cubic-bezier(.4,1.3,.6,1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.84rem;
}

.service:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(34, 96, 138, 0.13), 0 1.5px 0 0 var(--blue-primary);
}

.service-icon {
    min-width: 64px;
    min-height: 64px;
    width: 64px;
    height: 64px;
    margin: 0 auto 0.7rem auto;
    background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 1px 6px rgba(34, 96, 138, 0.08);
}

.service-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.2px;
}

.service p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-subareas {
    list-style: disc inside;
    margin: 0.2rem 0 0.2rem 0;
    padding: 0;
    color: var(--gray-dark);
    font-size: 0.82rem;
}

.service-subareas li {
    margin-bottom: 0.2rem;
    opacity: 0.92;
}

.service-more-btn {
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--blue-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.service-more-btn:hover {
    background: var(--green-primary);
    color: var(--gray-dark);
}

.service-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(2px);
    transition: opacity 0.25s ease;
}

.service-modal[style*="display: none"] {
    opacity: 0;
    pointer-events: none;
}

.service-modal-content {
    background: var(--white);
    padding: 1.2rem 1rem 1.2rem 1rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(34, 96, 138, 0.18);
    max-width: 600px;
    width: 96vw;
    text-align: left;
    position: relative;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    animation: modal-pop 0.35s cubic-bezier(.23,1.01,.32,1) 1;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modal-pop {
  0% { transform: scale(0.95) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.service-modal-content h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--gray-dark);
    text-align: left;
}

.service-modal-content p {
    font-size: 0.93rem;
    color: var(--gray-medium);
    margin-bottom: 0.8rem;
    line-height: 1.45;
    text-align: left;
}

.modal-subareas {
    margin: 0.7rem 0 0 1.1rem;
    gap: 0.25rem;
    text-align: left;
}

.modal-subareas li {
    font-size: 0.91rem;
    padding: 0.28rem 0.5rem;
    background: none;
    color: var(--gray-dark);
    border-radius: 0;
    box-shadow: none;
    list-style: disc inside;
    text-align: left;
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2.2rem;
    color: var(--gray-medium);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    background: none;
    border: none;
    outline: none;
    z-index: 10;
}

.service-modal-close:hover, .service-modal-close:focus {
    color: var(--error-red);
    transform: scale(1.15) rotate(8deg);
}

@media (max-width: 600px) {
  .service-modal-content {
    padding: 0.5rem 0.1rem 0.7rem 0.1rem;
    max-width: 99vw;
  }
  .service-modal-content h3 {
    font-size: 0.97rem;
  }
  .service-modal-content p {
    font-size: 0.87rem;
  }
  .modal-subareas li {
    font-size: 0.83rem;
    padding: 0.18rem 0.3rem;
  }
}

/* Portfolio section */
.portfolio-section {
    text-align: center;
    margin: 5rem 0;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
}

.portfolio-section h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.portfolio-section p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 500px;
    margin: 0 auto;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--gray-light);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(90deg, var(--blue-primary), var(--green-primary));
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(34, 96, 138, 0.10);
}

.btn:hover {
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
    box-shadow: 0 4px 16px rgba(34, 96, 138, 0.18);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.btn-secondary:hover {
    background: var(--gray-medium);
    color: var(--white);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #FEF2F2;
    color: var(--error-red);
    border: 1px solid #FECACA;
}

.alert-success {
    background: #F0FDF4;
    color: var(--success-green);
    border: 1px solid #BBF7D0;
}

/* Blog styles */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.post-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 134, 171, 0.1);
}

.post-meta {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 0.5rem;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-dark);
    display: block;
    visibility: visible;
}

.post-title a {
    text-decoration: none;
    color: inherit;
}

.post-title a:hover {
    color: var(--blue-primary);
}

.post-excerpt {
    color: var(--gray-medium);
    line-height: 1.6;
    display: block;
    visibility: visible;
    margin-bottom: 1rem;
}

.post-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--gray-light);
    color: var(--gray-medium);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Post Card Images */
.post-image-container {
    width: 30%;
    max-height: 150px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    padding-left: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    color: var(--gray-dark);
}

.post-source {
    font-style: italic;
    color: #555;
}

.post-source-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-source-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.post-card-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.post-card-link:visited {
    color: inherit;
}

.post-card-link:hover, .post-card-link:focus {
    box-shadow: 0 8px 32px rgba(46, 134, 171, 0.13);
    background: #f7fafc;
    text-decoration: none;
}

.post-card {
    padding: 0;
}

/* Product styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--off-white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    box-shadow: 0 2px 12px 0 rgba(34, 96, 138, 0.08), 0 1px 0 0 var(--green-primary);
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    width: 100%;
    max-width: 180px;
    text-align: left;
    transition: all 0.22s cubic-bezier(.4,1.3,.6,1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    font-size: 0.7rem;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.product-card:visited {
    color: inherit;
}

.product-card:focus {
    box-shadow: 0 0 0 2px var(--blue-primary), 0 2px 12px 0 rgba(34, 96, 138, 0.08), 0 1px 0 0 var(--green-primary);
}

.product-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(34, 96, 138, 0.13), 0 1.5px 0 0 var(--blue-primary);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card h3.product-title {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.product-card .product-category {
    font-size: 0.62rem;
    margin-bottom: 0.08rem;
    color: var(--gray-medium);
    font-weight: 500;
}

.product-card .product-description {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

.product-card .product-links a {
    font-size: 0.72rem;
    padding: 0.08rem 0.2rem;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.filter-tab {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--gray-medium);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--blue-primary);
    border-bottom-color: var(--blue-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--gray-light);
    margin-top: 4rem;
}

.contact {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.contact a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: var(--blue-dark);
}

.footer-note {
    font-size: 0.9rem;
    color: var(--gray-medium);
    opacity: 0.7;
}

.footer-note p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-details {
    max-width: 600px;
    margin: 3rem auto 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.contact-item-icon {
    flex-shrink: 0;
    margin-right: 1.5rem;
    color: var(--blue-dark);
    background: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(34, 96, 138, 0.1);
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-info h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-medium);
    margin-bottom: 0.25rem;
}

.contact-item-info p,
.contact-item-info p a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-dark);
    text-decoration: none;
}

.contact-item-info p a:hover {
    color: var(--blue-primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 1rem;
        left: auto;
        width: 80vw;
        max-width: 320px;
        min-width: 180px;
        box-shadow: 0 4px 24px rgba(34, 96, 138, 0.18);
        border-radius: 0 0 16px 16px;
        z-index: 9999;
        padding: 1.2rem 1.2rem 1.2rem 1.2rem;
        margin: 0;
        align-items: flex-start;
    }
    .nav-links.mobile-active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        margin: 0;
    }
    .nav-links li:last-child {
        margin-bottom: 0;
    }
    .nav-links a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.8rem 0.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 8px;
        margin: 0.2rem 0;
    }
    .nav-links a:active, .nav-links a:hover {
        background: var(--green-light);
        color: var(--blue-primary);
    }
    .nav-hamburger {
        display: block;
        cursor: pointer;
        width: 36px;
        height: 36px;
        margin-left: auto;
        background: none;
        border: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    .nav-hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--blue-primary);
        margin: 3px 0;
        transition: all 0.3s ease;
    }
    
    .company-name {
        font-size: 1.6rem;
    }
    .intro h1 {
        font-size: 1.8rem;
    }
    .intro p {
        font-size: 1rem;
    }
    .services {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 1.5rem;
    }
    .form-container {
        padding: 2rem;
    }
    
    /* Mobile Blog Post Layout */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    .post-card {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
        max-height: 350px;
    }
    .post-card-link {
        flex-direction: column;
        align-items: stretch;
        height: 100%;
    }
    .post-image-container {
        width: 100%;
        height: 120px;
        max-height: 120px;
        margin-right: 0;
        margin-bottom: 0;
        order: 1;
        flex-shrink: 0;
    }
    .post-content {
        padding: 1rem;
        padding-left: 1rem;
        order: 2;
        flex-grow: 1;
        min-height: 120px;
    }
    .post-title {
        font-size: 1.2rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        color: var(--gray-dark) !important;
        font-weight: 600;
    }
    .post-meta {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem;
        color: var(--gray-medium) !important;
    }
    .post-excerpt {
        font-size: 1rem !important;
        line-height: 1.4;
        color: var(--gray-dark) !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .post-source-icon {
        top: 8px;
        right: 8px;
        padding: 4px;
    }
    .post-source-icon img {
        width: 20px;
        height: 20px;
    }
    
    /* General grid styling for all components */
    .services, .case-studies-grid, .products-grid, .posts-grid, .snapshots-section {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .service, .case-study-card, .product-card, .post-card, .snapshot-card {
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
}

@media (max-width: 900px) {
    .services {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.8rem;
    }
    .service {
        max-width: 98vw;
        padding: 0.8rem 0.5rem;
        gap: 0.7rem;
    }
    .service-icon {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }
    .service-icon img {
        width: 85%;
        height: 85%;
    }
    .service h3 {
        font-size: 0.86rem;
    }
    .service-subareas {
        font-size: 0.76rem;
    }
}

@media (max-width: 600px) {
    .services {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .service {
        max-width: 100vw;
        padding: 0.6rem 0.3rem;
        gap: 0.5rem;
    }
    .service-icon {
        min-width: 36px;
        min-height: 36px;
        width: 36px;
        height: 36px;
        margin-bottom: 0.3rem;
    }
    .service-icon img {
        width: 80%;
        height: 80%;
    }
    .service h3 {
        font-size: 0.8rem;
    }
    .service-subareas {
        font-size: 0.7rem;
    }
    .container {
        padding: 0 0.5rem;
    }
    .intro h1 {
        font-size: 1.4rem;
    }
    .intro p {
        font-size: 1rem;
    }
    .services, .case-studies-grid, .products-grid, .posts-grid, .snapshots-section {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .service, .case-study-card, .product-card, .post-card, .snapshot-card {
        max-width: 100vw;
        min-width: 0;
        width: 100%;
        margin: 0 0 1rem 0;
        font-size: 0.95rem;
    }
    .snapshot-card h2 {
        font-size: 1.1rem;
    }
    .snapshot-card p {
        font-size: 1rem;
    }
    .product-card {
        max-width: 100%;
    }
}

/* Video background for home page */
.banner-nature-video-wrapper {
    width: 100vw;
    height: 60vw; /* Match previous .banner-nature */
    min-height: 350px;
    max-height: 700px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.banner-nature-video {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Remove old image background */
.banner-nature {
    /* background: url('/img/amroja-image-nature.png') center center/cover no-repeat; */
    background: none;
}

/* Ensure main content is above the banner */
.container, nav, footer {
    position: relative;
    z-index: 2;
}

.home-header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.case-study-card {
    background: linear-gradient(120deg, #f8fafc 60%, #e6f7f1 100%);
    border-radius: 20px;
    border: 1.5px solid var(--gray-light);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(.4,1.3,.6,1);
    box-shadow: 0 6px 32px 0 rgba(34, 96, 138, 0.10), 0 1.5px 0 0 var(--green-primary);
}

.case-study-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 48px 0 rgba(34, 96, 138, 0.16), 0 2px 0 0 var(--blue-primary);
    border-color: var(--blue-primary);
    background: linear-gradient(120deg, #f3fcf9 60%, #d6f5e6 100%);
}

.case-study-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-study-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-thumbnail img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 1.5rem 2rem 2rem;
}

.case-study-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.case-study-date {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
    font-weight: 500;
}

.case-study-description {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-study-link:hover {
    color: var(--blue-dark);
    text-shadow: 0 2px 8px var(--green-light);
}

@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .case-study-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .case-study-content h3 {
        font-size: 1.2rem;
    }
    
    .case-study-thumbnail {
        height: 150px;
    }
}

/* Modern Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0 2.5rem 0;
    background: none;
}
.hero-headline {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px var(--green-light);
}

/* Snapshots Section */
.snapshots-section {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    margin: 2.5rem 0 3.5rem 0;
    flex-wrap: wrap;
}
.snapshot-card {
    background: var(--off-white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    box-shadow: 0 2px 12px 0 rgba(34, 96, 138, 0.08), 0 1px 0 0 var(--green-primary);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 340px;
    min-width: 260px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.18s cubic-bezier(.4,1.3,.6,1), box-shadow 0.18s cubic-bezier(.4,1.3,.6,1);
    margin-bottom: 1.5rem;
}
.snapshot-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(34, 96, 138, 0.13), 0 1.5px 0 0 var(--blue-primary);
}
.snapshot-card h2 {
    font-size: 1.5rem;
    color: var(--blue-primary);
    margin-bottom: 0.7rem;
    font-weight: 600;
}
.snapshot-card p {
    color: var(--gray-medium);
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    font-weight: 400;
}
.snapshot-link {
    color: var(--blue-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--blue-light);
    transition: color 0.2s, border-color 0.2s;
    font-size: 1.05rem;
}
.snapshot-link:hover {
    color: var(--blue-dark);
    border-color: var(--blue-dark);
    text-shadow: 0 2px 8px var(--green-light);
}

.snapshot-icon {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(34, 96, 138, 0.08);
    background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
    padding: 8px;
}

@media (max-width: 900px) {
    .snapshots-section {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .snapshot-card {
        max-width: 95vw;
        min-width: 0;
        width: 100%;
    }
    .hero-headline {
        font-size: 2rem;
    }
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card {
        max-width: 100%;
    }
}

/* When mobile nav is active, nav needs higher z-index than container */
nav:has(.nav-links.mobile-active) {
    z-index: 10000;
}

/* Fallback for browsers that don't support :has() */
nav.mobile-nav-active {
    z-index: 10000;
}

.snapshot-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}
.snapshot-header .snapshot-icon {
    margin: 0;
}
.snapshot-header h2 {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0;
    color: var(--blue-primary);
}
.snapshot-desc {
    font-size: 0.97rem;
    color: var(--gray-medium);
    margin-bottom: 1.1rem;
    font-weight: 400;
}
.snapshot-link {
    font-size: 0.97rem;
    padding: 0;
}

.snapshot-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.snapshot-card-link:focus .snapshot-card,
.snapshot-card-link:hover .snapshot-card {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(34, 96, 138, 0.13), 0 1.5px 0 0 var(--blue-primary);
    outline: none;
}
.snapshot-card {
    cursor: pointer;
} 