/*Theme Name: Ai Ecosystems
Description: A modern, minimalistic theme for Ai Ecosystems - architecting intelligence through innovative AI solutions. Built with Underscores.
Author: Ai Ecosystems Team
Author URI: https://aiecosystems8.wordpress.com/
Template: 
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-ecosystems
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready*/
/* Font Declarations */
/* Modern web fonts (Inter & Roboto) are loaded via fonts.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Neural Network Background Animation */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background: radial-gradient(circle at 20% 80%, #5a997d 0%, transparent 50%), radial-gradient(circle at 80% 20%, #789850 0%, transparent 50%), radial-gradient(circle at 40% 40%, #3C82BE 0%, transparent 50%), radial-gradient(circle at 60% 60%, #E8E8E8 0%, transparent 50%);
    animation: neural-pulse 8s ease-in-out infinite;
}

@keyframes neural-pulse {

    0%,
    100% {
        opacity: 0.03;
    }

    50% {
        opacity: 0.08;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1f2937;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #374151;
}

p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
}

/* Container *
.container {    max-width: 1200px;    margin: 0 auto;    padding: 0 2rem;}
/* Header */
.site-header {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(90, 153, 125, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: auto;
}

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

.site-logo-link {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    line-height: 1;
}

.site-logo {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-right: 0.25rem;
    transition: transform 0.2s;
    max-width: none;
    vertical-align: middle;
    line-height: 1;
}

.site-logo-link:hover .site-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 8px rgba(90, 153, 125, 0.2));
}

.site-description {
    display: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 2rem;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #5a997d;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #5a997d, #789850);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-top: -80px;
    /* Offset by approximate header height for true centering */
    pointer-events: auto;
}

/* Ensure particles.js canvas fills the container */
#particles-js {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.hero-small {
    min-height: 40vh;
    padding: 1.5rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(90, 153, 125, 0.1);
    color: #5a997d;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #5a997d;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    box-shadow: 0 10px 25px rgba(90, 153, 125, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(90, 153, 125, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #5a997d;
    border: 2px solid #5a997d;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #5a997d;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section-alt {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: stretch;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(82, 147, 137, 0.1);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Unique gradients for each service card icon */
.service-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #789850, #5a997d);
}

.service-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #5a997d, #529389);
}

.service-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #529389, #3C82BE);
}

.card-icon svg {
    color: white;
    stroke: white;
    fill: white;
}

.card-icon img {
    filter: brightness(0) invert(1);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.card:hover .card-icon::before {
    left: 100%;
}

.card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(82, 147, 137, 0.3);
}

/* Service Cards */
.service-card h3 {
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #529389;
    font-weight: bold;
}

/* Offerings Timeline */
.offerings-timeline {
    margin-top: 4rem;
}

.timeline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    /* Always reserve border space */
    height: 100px;
    /* Fixed height to prevent jitter */
    box-sizing: border-box;
}

.timeline-item::after {
    content: 'Click to explore';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.timeline-item:hover::after {
    opacity: 1;
}

.timeline-item:hover {
    position: relative;
    top: -5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Remove transform: translateY(-5px); */
}

.timeline-item:not(.active):hover {
    border: 2px solid rgba(82, 147, 137, 0.3);
}

.timeline-item.active {
    position: relative;
    top: -5px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Remove transform: translateY(-5px); */
    border: 2px solid #529389;
}

.timeline-item.active .timeline-icon::before {
    animation: active-pulse 1.5s infinite;
}

@keyframes active-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 147, 137, 0.3);
    position: relative;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(82, 147, 137, 0.4);
}

.timeline-icon img {
    filter: brightness(0) invert(1);
    width: 24px;
    height: 24px;
}

.timeline-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    white-space: nowrap;
}

.offerings-details {
    position: relative;
    min-height: auto;
}

.offering-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    margin-bottom: 0;
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(82, 147, 137, 0.1);
}

.offering-card.active {
    opacity: 1;
    visibility: visible;
    display: block;
    margin-bottom: 2rem;
}

.offering-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offering-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(82, 147, 137, 0.3);
}

.offering-icon img {
    filter: brightness(0) invert(1);
}

.offering-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.75rem;
}

.offering-card p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.offering-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.offering-features li {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.offering-features li:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.offering-features li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #529389;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .timeline-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .timeline-bar::before {
        display: none;
    }

    .timeline-item {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        justify-content: flex-start;
    }

    .timeline-label {
        font-size: 0.875rem;
        text-align: left;
    }

    .offering-features {
        grid-template-columns: 1fr;
    }

    /* Prevent offering cards from being clipped */
    .offering-card {
        z-index: 10;
        position: relative;
    }

    .offering-card.active {
        z-index: 20;
    }

    /* Ensure next section doesn't overlap */
    .section {
        position: relative;
        z-index: 5;
    }
}

/* About Section */
.about-content {
    max-width: 600px;
}

#about {
    position: relative;
    background: transparent;
    overflow: visible;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3a86a2;
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
    z-index: 1;
}

#about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8fafc;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 0);
    z-index: 2;
}

#about .container {
    position: relative;
    z-index: 2;
}

#about .about-content {
    color: white;
    padding-top: 4rem;
}

#about .about-content h2 {
    color: white;
}

#about .about-content .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

#about .about-content p {
    color: rgba(255, 255, 255, 0.9);
}

#about .about-content .lead {
    color: rgba(255, 255, 255, 0.95);
}

.approach-points {
    margin-top: 2rem;
}

.approach-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.point-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.approach-point h4 {
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.approach-point p {
    margin-bottom: 0;
    color: #6b7280;
}

/* Sophisticated Particle Animation */
.about-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    margin-top: 0;
    align-self: flex-end;
    min-height: 400px;
    z-index: 1;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 6s linear infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.particle:nth-child(2n) {
    animation-duration: 8s;
    width: 24px;
    height: 24px;
}

.particle:nth-child(3n) {
    animation-duration: 7s;
    width: 32px;
    height: 32px;
}

.particle:nth-child(4n) {
    animation-duration: 9s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(5n) {
    animation-duration: 5s;
    width: 40px;
    height: 40px;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 153, 125, 0.3), transparent);
    animation: sweep 6s ease-in-out infinite;
    opacity: 0;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(90, 153, 125, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 153, 125, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: grid-pulse 4s ease-in-out infinite;
}

.glow-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(90, 153, 125, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: drift 15s ease-in-out infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes sweep {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes grid-pulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(50px, -100px);
    }

    50% {
        transform: translate(-30px, -200px);
    }

    75% {
        transform: translate(80px, -150px);
    }
}

/* Industry Cards */
.industry-card {
    text-align: center;
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Unique gradients for each industry card icon */
.industry-card:nth-child(1) .industry-icon {
    background: linear-gradient(135deg, #789850, #5a997d);
}

.industry-card:nth-child(2) .industry-icon {
    background: linear-gradient(135deg, #5a997d, #529389);
}

.industry-card:nth-child(3) .industry-icon {
    background: linear-gradient(135deg, #529389, #3C82BE);
}

.industry-card:nth-child(4) .industry-icon {
    background: linear-gradient(135deg, #3C82BE, #8B5CF6);
}

.industry-card:nth-child(5) .industry-icon {
    background: linear-gradient(135deg, #8B5CF6, #529389);
}

.industry-card:nth-child(6) .industry-icon {
    background: linear-gradient(135deg, #8B5CF6, #3C82BE);
}

.industry-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.industry-card:hover .industry-icon::before {
    left: 100%;
}

.industry-card:hover .industry-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(82, 147, 137, 0.3);
}

.industry-icon svg {
    color: white;
    stroke: white;
    fill: white;
}

.industry-icon img {
    filter: brightness(0) invert(1);
}

.industry-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    padding-top: 2rem;
    margin-bottom: 1rem;
}

.cta-content .contact-form {
    margin-bottom: 3rem;
}

.cta-quote {
    margin: 0 auto 3rem auto !important;
    padding-top: 0 !important;
    text-align: center;
    max-width: 800px;
}

.cta-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #529389;
    font-weight: 600;
    position: relative;
    padding: 2rem;
    background: rgba(82, 147, 137, 0.05);
    border-radius: 20px;
    border-left: 4px solid #529389;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

#contact {
    padding-top: 0 !important;
}

/* CTA Logo */
.cta-logo {
    text-align: center;
    margin-bottom: 0.5rem;
}

.cta-logo-image {
    width: 200px;
    height: auto;
    max-width: 100%;
}

/* Mission Section */
.mission-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #529389;
    max-width: 400px;
}

.quote-box blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #529389;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quote-box cite {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Value Cards */
.value-card {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Team Section */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.team-qualities {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.quality-tag {
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Vision Section */
.vision-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

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

.goal {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.goal h4 {
    color: #529389;
    margin-bottom: 1rem;
}

.goal p {
    margin-bottom: 0;
    color: #6b7280;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #6b7280;
    padding: 3rem 0 2rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(90, 153, 125, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(58, 134, 162, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-text h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.site-footer h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

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

    .site-branding {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-small {
        min-height: 50vh;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        display: flex;
        width: 100%;
        max-width: 300px;
        margin: 0;
        text-align: center;
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 4rem 0;
    }

    .mission-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .vision-goals {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 2rem;
}

.alignright {
    float: right;
    margin-left: 2rem;
}

/* Navigation Bar Enhancements */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 16px 0 rgba(82, 147, 137, 0.04);
    border-bottom: 1px solid rgba(82, 147, 137, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title a {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #529389, #3a86a2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -1px;
}

.site-description {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    position: relative;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: #5a997d;
}

.menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #529389;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-toggle:focus,
.menu-toggle:hover {
    background: rgba(82, 147, 137, 0.08);
}

.menu-icon {
    font-size: 2rem;
    line-height: 1;
}

/* Responsive Navigation */
@media (max-width: 900px) {
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(82, 147, 137, 0.08);
        border-radius: 12px;
        flex-direction: column;
        min-width: 180px;
        z-index: 1001;
        padding: 1rem 0;
        gap: 0;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        width: 100%;
        text-align: right;
    }

    .main-navigation a {
        display: block;
        width: 100%;
        padding: 0.75rem 2rem;
        border-radius: 0;
    }
}

/* Always show hamburger menu */
.main-navigation ul {
    display: flex;
    position: static;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    flex-direction: row;
    min-width: auto;
    z-index: auto;
    padding: 0;
    gap: 2rem;
}

.main-navigation.toggled ul {
    display: flex;
}

.main-navigation li {
    width: auto;
    text-align: left;
}

.main-navigation a {
    display: inline;
    width: auto;
    padding: 0.5rem 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 600px) {
    .site-logo {
        height: 45px;
        width: auto;
        object-fit: contain;
        object-position: left center;
        vertical-align: middle;
        line-height: 1;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: space-between;
        min-height: auto;
    }
}

/* Customer Stories Banner */
.customer-stories-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #f8fafc;
    border-radius: 0;
    /* Remove border radius for full width */
    padding: 2rem 0;
    /* Increase padding for better spacing */
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.customer-stories-banner::before,
.customer-stories-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.customer-stories-banner::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
    backdrop-filter: blur(4px);
}

.customer-stories-banner::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
    backdrop-filter: blur(4px);
}

.customer-stories-logos {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: scroll-logos 30s linear infinite;
    white-space: nowrap;
}

.customer-stories-logos img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.08);
}

/* Customer Stories Link - moved above banner */
.customer-stories-link-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.customer-stories-link {
    font-weight: 600;
    color: #529389;
    text-decoration: none;
    background: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
}

.customer-stories-link:hover {
    background: #529389;
    color: #fff;
    animation: bounce-link 0.5s;
}

@keyframes bounce-link {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px) scale(1.08);
    }

    50% {
        transform: translateY(0) scale(0.98);
    }

    70% {
        transform: translateY(-4px) scale(1.04);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 1.25rem;
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    background: #f3f4f6;
    color: #888;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.04);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.company-logo-1 {
    font-family: Arial, sans-serif;
    color: #888;
}

.company-logo-2 {
    font-family: 'Times New Roman', Times, serif;
    color: #666;
    font-style: italic;
}

.company-logo-3 {
    font-family: 'Courier New', Courier, monospace;
    color: #555;
}

.company-logo-4 {
    font-family: Georgia, serif;
    color: #999;
    font-weight: bold;
    font-style: italic;
}

.company-logo-5 {
    font-family: Verdana, Geneva, sans-serif;
    color: #aaa;
    font-weight: normal;
}

.customer-stories-logos img {
    display: none;
}

/* Hero Headline Background */
.hero-headline-bg h1 {
    background: linear-gradient(135deg, #529389, #3a86a2, #5a997d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.15em;
    /* Add extra space below headline */
    line-height: 1.15;
    /* Slightly increase line height for safety */
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(90, 153, 125, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #4a8a6d, #6a8840);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(90, 153, 125, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top::before {
    content: '↑';
    font-weight: bold;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Osmo-inspired Interactive Binary Grid for Hero */
.dots-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.dots-container {
    pointer-events: none;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    grid-column-gap: 2em;
    grid-row-gap: 2em;
}

.binary-digit {
    will-change: transform, color, font-size;
    transform-origin: center;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    position: relative;
    transform: translate(0);
    color: #d1d5db;
    /* Subtle gray, just darker than white bg */
    transition: color 0.2s, font-size 0.2s, transform 0.2s;
    font-family: 'Arial Black', 'Helvetica Bold', 'Courier New', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.binary-digit:hover {
    color: #3C82BE !important;
    /* Primary blue color matching Our Approach section */
    font-size: 1.8rem;
    /* Even larger on hover */
    font-weight: 900;
    /* Much bolder/thicker */
    transform: scale(1.3);
}

/* Different colors for 0's and 1's on hover */
.binary-digit[data-value="0"]:hover {
    color: #3C82BE !important;
    /* Primary blue color for 0s */
    font-weight: 900;
    /* Much bolder/thicker */
}

.binary-digit[data-value="1"]:hover {
    color: #5a997d !important;
    /* Primary green color for 1s */
    font-weight: 900;
    /* Much bolder/thicker */
}

/* Basic Footer */
.site-footer {
    background: #3a86a2;
    color: #ffffff;
    padding: 2rem 0;
    border-top: 1px solid #2d6b8a;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* First instance - hero wave divider */
.hero-gradient-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 2400px;
    z-index: 15;
    pointer-events: none;
    line-height: 0;
    overflow: hidden;
}

.hero-buttons {
    padding-bottom: 2rem;
}

.hero-buttons .btn:first-child {
    margin-bottom: 1rem;
}

@media (max-width: 400px) {

    .hero-headline-bg h1,
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        padding-bottom: 0.5em !important;
        padding-top: 0.5em !important;
        word-break: break-word;
    }

    .hero-headline-bg {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
    }
}

/* Page Header Styles */
.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
    margin-bottom: 0;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}

.page-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

/* Resources Wave Divider */
.resources-wave-divider {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}

/* Resources Page Styles */
.resources-filters {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.filter-group h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border-radius: 2px;
    margin-right: 0.75rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: #5a997d;
    color: #5a997d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #5a997d, #789850);
    border-color: #5a997d;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

/* Industries Filter Dropdown */
.filter-dropdown {
    margin-top: 0.5rem;
}

.filter-select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-select:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

.filter-select option {
    padding: 0.5rem;
    font-size: 0.875rem;
}

.filter-select option:checked {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
}

/* Industry Tags */
.resource-tag-industry {
    background: linear-gradient(135deg, #3C82BE, #1d4ed8);
    color: white;
}

.resource-tag-industry:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5a997d, #789850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #5a997d;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Cookie Consent Bar */
.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #4b5563;
}

.cookie-consent-bar.show {
    transform: translateY(0);
}

.cookie-consent-bar.hide {
    transform: translateY(100%);
}

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #e5e7eb;
}

.cookie-text a {
    color: #5a997d;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #789850;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-btn-deny {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #6b7280;
}

.cookie-btn-deny:hover {
    background: #374151;
    color: white;
    border-color: #9ca3af;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    border: 1px solid #5a997d;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #789850, #5a997d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

/* Body margin when cookie bar is active */
body.cookie-bar-active {
    margin-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .cookie-text p {
        font-size: 0.8rem;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    body.cookie-bar-active {
        margin-bottom: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 0.75rem;
    }

    .cookie-text p {
        font-size: 0.75rem;
    }

    .cookie-buttons {
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* FAQ Chatbot Styles */
.faq-chat-container {
    max-width: 800px;
    margin: 0 auto;
}

.chat-interface {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 600px;
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
}

.chat-header {
    background: linear-gradient(135deg, #3b4a5f 0%, #4a5568 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #718096;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-avatar svg {
    fill: white;
    color: white;
}

.chat-avatar img {
    filter: brightness(0) invert(1);
}

.chat-info {
    flex: 1;
}

.chat-info h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.chat-info p {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 80%;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.message-avatar svg {
    fill: white;
    color: white;
}

.message-avatar img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 50%;
    filter: brightness(0) invert(1);
}

.message-content {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.message.user-message .message-content {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    border-color: #5a997d;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
    color: #1f2937;
}

.message.user-message .message-content p {
    color: white;
}

.message-content a {
    color: #5a997d;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.message-content a:hover {
    color: #789850;
}

.message.user-message .message-content a {
    color: rgba(255, 255, 255, 0.9);
}

.message.user-message .message-content a:hover {
    color: white;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-questions-container {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    max-height: 200px;
    overflow-y: auto;
}



/* Mobile Quick Questions Button */
.quick-questions-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.quick-questions-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.quick-questions-toggle .toggle-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.quick-questions-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.quick-questions-container .quick-questions {
    margin-top: 0;
    justify-content: center;
}

.quick-question {
    background: rgba(90, 153, 125, 0.1);
    border: 1px solid #5a997d;
    color: #5a997d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.quick-question:hover {
    background: #5a997d;
    color: white;
    transform: translateY(-1px);
}

.chat-input-container {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

.send-button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 153, 125, 0.3);
}

.typing-indicator .message-content {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: -1rem;
    position: relative;
    left: -1rem;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #5a997d;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 200px;
    padding: 0.5rem 0;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

/* Hide mobile menu on desktop by default */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu.active {
    display: block !important;
    visibility: visible !important;
}

.mobile-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    margin-left: 1rem;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:hover {
    background: #f8fafc;
    color: #5a997d;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    #primary-menu {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: flex !important;
    }

    .faq-chat-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

@media (max-width: 1024px) {
    .faq-chat-container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .chat-interface {
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .chat-header {
        padding: 1rem;
    }

    .chat-messages {
        padding: 1rem;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 180px);
    }

    .message {
        max-width: 95%;
        gap: 0.5rem;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
    }

    .message-content {
        background: #ffffff;
        border: 2px solid #e5e7eb;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .message.bot-message .message-content {
        background: #ffffff;
        color: #1f2937;
        border-color: #5a997d;
    }

    .message.user-message .message-content {
        background: linear-gradient(135deg, #5a997d, #789850);
        color: white;
        border-color: #5a997d;
    }

    /* Show mobile toggle button */
    .quick-questions-toggle {
        display: block;
    }

    /* Hide default quick questions container on mobile */
    .quick-questions-container {
        display: none;
    }

    /* Show quick questions when toggle is active */
    .quick-questions-container.mobile-active {
        display: block;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin-top: 0.5rem;
        padding: 1rem;
    }

    /* Position the toggle button container */
    .quick-questions-wrapper {
        position: relative;
        z-index: 1001;
    }

    .quick-questions-toggle {
        width: 100%;
    }

    .quick-questions-container.mobile-active .quick-questions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .quick-questions-container.mobile-active .quick-question {
        text-align: center;
        background: rgba(90, 153, 125, 0.15);
        border: 2px solid #5a997d;
        color: #5a997d;
        font-weight: 600;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .quick-questions-container.mobile-active .quick-question:hover {
        background: #5a997d;
        color: white;
    }

    .chat-input-container {
        padding: 1rem;
        background: #f8fafc;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 480px) {
    .chat-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .chat-status {
        justify-content: center;
    }

    .message {
        max-width: 95%;
    }

    .chat-messages {
        padding: 0.75rem;
        max-height: calc(100vh - 160px);
    }

    .quick-questions-toggle {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .quick-questions-container.mobile-active {
        padding: 0.75rem;
    }

    .quick-questions-container.mobile-active .quick-question {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .chat-input-container {
        padding: 0.75rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .chat-interface {
        height: 100vh;
    }
    
    .chat-header {
        padding: 0.75rem;
    }
    
    .chat-messages {
        padding: 0.5rem;
        max-height: calc(100vh - 140px);
    }
    
    .message {
        max-width: 98%;
    }
    
    .message-content {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .quick-questions-toggle {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
        .quick-questions-container.mobile-active {
        padding: 0.5rem;
    }

    .quick-questions-container.mobile-active .quick-question {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .chat-input-container {
        padding: 0.5rem;
    }
    
    .chat-input {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .send-button {
        width: 44px;
        height: 44px;
    }
}

.resources-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.clear-filters-btn {
    padding: 1rem 1.5rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.clear-filters-btn:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

.results-info {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #5a997d;
}

.results-info span {
    font-weight: 500;
    color: #374151;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.resource-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #5a997d;
}

.resource-card.hover {
    transform: translateY(-8px);
}

.resource-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.resource-content {
    padding: 1rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.resource-type {
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Resource Type Colors */
.resource-type[data-type="post"],
.resource-type[data-type="blog_post"] {
    background: linear-gradient(135deg, #5a997d, #789850);
}

.resource-type[data-type="case_study"] {
    background: linear-gradient(135deg, #3C82BE, #1d4ed8);
}

.resource-type[data-type="white_paper"] {
    background: linear-gradient(135deg, #602080, #9333ea);
}

.resource-type[data-type="webinar"] {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.resource-type[data-type="podcast"] {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
}

/* Podcast filter button icon styling */
.filter-btn[data-filter="podcast"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* RSS Source Indicator */
.resource-source-rss {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.resource-source-rss::before {
    content: '';
    margin-right: 0;
}

/* Resource Type Hover Effects */
.resource-type:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.resource-date {
    color: #6b7280;
    font-weight: 500;
}

.resource-title {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.resource-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-title a:hover {
    color: #5a997d;
}

.resource-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.resource-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.resource-tag:hover {
    background: #5a997d;
    color: #ffffff;
    border-color: #5a997d;
}

.resource-author {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.no-resources {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.125rem;
}

/* Navigation Styles */
.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Comparison Table Styles */
.comparison-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.comparison-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-section .section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.comparison-table-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
    margin-top: 0;
}

/* Remove the gray background overlay */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-family: 'Montserrat', sans-serif;
}

.comparison-table th {
    background: #6b7280; /* Gray for left table */
    padding: 1.5rem 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.ecosystems-header {
    background: linear-gradient(135deg, #529389, #3C82BE) !important; /* Gradient for right table */
}

.comparison-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #374151;
    height: 80px;
    box-sizing: border-box;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.comparison-table tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

/* Make right column stand out with animation */
.comparison-table-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 0 12px 12px 0;
    background: transparent;
    animation: constant-glow 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}

@keyframes constant-glow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(82, 147, 137, 0.3),
            0 0 30px rgba(82, 147, 137, 0.2);
        border-color: rgba(82, 147, 137, 0.3);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(82, 147, 137, 0.5),
            0 0 45px rgba(82, 147, 137, 0.3);
        border-color: rgba(82, 147, 137, 0.6);
    }
}

/* Ensure table has proper column widths */
.comparison-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    width: 50%;
    box-sizing: border-box;
    vertical-align: middle;
}

/* Mobile Responsiveness for Comparison Table */
@media (max-width: 768px) {
    .comparison-section .section-title h2 {
        font-size: 2rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .comparison-table th {
        font-size: 1rem;
    }
}

/* Mobile Hero Content Adjustments */
@media (max-width: 768px) {
    .hero-content {
        margin-top: 32px !important; /* Reduce from 64px to 32px on mobile */
    }
    
    .hero-description {
        margin-top: 1rem; /* Add some spacing above the description */
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 24px !important; /* Even smaller margin on very small screens */
    }
}

@media (max-width: 480px) {
    .comparison-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.main-navigation .menu-item {
    margin: 0;
    position: relative;
}

.main-navigation .menu-item a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: transparent;
    z-index: 2;
}

.main-navigation .menu-item a:hover {
    color: #5a997d;
    background: rgba(90, 153, 125, 0.1);
}

.main-navigation .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #5a997d, #789850);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.main-navigation .menu-item a:hover::after {
    width: 80%;
}

/* Fix for header bar overlap */
.site-header {
    position: relative;
    z-index: 100;
}

.nav-container {
    position: relative;
    z-index: 101;
}

.main-navigation {
    position: relative;
    z-index: 102;
}

/* Responsive Design for Resources */
@media (max-width: 768px) {
    .resources-filters {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .resources-search {
        flex-direction: column;
        gap: 1rem;
    }

    .search-input {
        width: 100%;
    }

    .clear-filters-btn {
        width: 100%;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .resource-content {
        padding: 1rem;
    }

    .resource-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-navigation .menu {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .resources-filters {
        padding: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .resource-image {
        height: 150px;
    }
}

/* Single Post Template Styles */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(82, 147, 137, 0.1);
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.post-header {
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-categories a {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-categories a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.post-date {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-author {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-excerpt {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    font-style: italic;
}

.post-featured-image {
    padding: 0;
    margin: 0;
}

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

.post-content {
    padding: 2rem;
    line-height: 1.7;
}

.post-content h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.post-content h3 {
    font-size: 1.5rem;
    color: #374151;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.post-content h4 {
    font-size: 1.25rem;
    color: #374151;
    margin: 1.25rem 0 0.75rem;
    font-weight: 600;
}

.post-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.post-content blockquote {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #5a997d;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #374151;
}

.post-content blockquote p {
    margin: 0;
    font-size: 1.125rem;
}

.post-content a {
    color: #5a997d;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #789850;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-footer {
    padding: 2rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.post-tags {
    margin-bottom: 2rem;
}

.post-tags h4 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.tag-list a {
    background: rgba(90, 153, 125, 0.1);
    color: #5a997d;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(90, 153, 125, 0.2);
}

.tag-list a:hover {
    background: #5a997d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.post-navigation {
    margin-bottom: 2rem;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nav-previous,
.nav-next {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #5a997d;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #5a997d;
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5a997d;
    margin: 0 1rem;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.back-to-resources {
    text-align: center;
}

.back-to-resources .btn {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-to-resources .btn:hover {
    background: linear-gradient(135deg, #5a997d, #789850);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 153, 125, 0.3);
}

/* Responsive Design for Single Post */
@media (max-width: 768px) {
    .single-post {
        margin: 1rem;
        border-radius: 16px;
    }

    .post-header {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-footer {
        padding: 1.5rem;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-previous a,
    .nav-next a {
        padding: 1rem;
    }

    .nav-arrow {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .single-post {
        margin: 0.5rem;
        border-radius: 12px;
    }

    .post-header {
        padding: 1rem;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-footer {
        padding: 1rem;
    }
}

/* Archive Template Styles */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #5a997d;
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-card-meta .post-categories {
    display: flex;
    gap: 0.5rem;
}

.post-card-meta .post-categories a {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-card-meta .post-categories a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.post-card-meta .post-date {
    color: #6b7280;
    font-weight: 500;
}

.post-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    flex: 1;
}

.post-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #5a997d;
}

.post-card-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.post-card-readmore {
    margin-top: auto;
}

.read-more-link {
    color: #5a997d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-link:hover {
    color: #789850;
    transform: translateX(5px);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.no-posts h2 {
    color: #374151;
    margin-bottom: 1rem;
}

.no-posts p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Pagination Styles */
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.wp-pagenavi a:hover {
    border-color: #5a997d;
    color: #5a997d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.15);
}

.wp-pagenavi .current {
    background: linear-gradient(135deg, #5a997d, #789850);
    border-color: #5a997d;
    color: white;
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.wp-pagenavi .prev,
.wp-pagenavi .next {
    font-weight: 600;
}

/* Responsive Design for Archive */
@media (max-width: 768px) {
    .archive-header {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }

    .archive-title {
        font-size: 2rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-card-content {
        padding: 1rem;
    }

    .post-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .wp-pagenavi {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .archive-header {
        padding: 1rem 0;
    }

    .archive-title {
        font-size: 1.75rem;
    }

    .post-card-image {
        height: 150px;
    }
}

/* Updated Footer Styles */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Neural Network Background Animation */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background:
        radial-gradient(circle at 20% 80%, #5a997d 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #789850 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #3C82BE 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, #E8E8E8 0%, transparent 50%);
    animation: neural-pulse 8s ease-in-out infinite;
}

@keyframes neural-pulse {

    0%,
    100% {
        opacity: 0.03;
    }

    50% {
        opacity: 0.08;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1f2937;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #374151;
}

p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
}

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

/* Header */
.site-header {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(90, 153, 125, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: auto;
}

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

.site-logo-link {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    line-height: 1;
}

.site-logo {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-right: 0.25rem;
    transition: transform 0.2s;
    max-width: none;
    vertical-align: middle;
    line-height: 1;
}

.site-logo-link:hover .site-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 8px rgba(90, 153, 125, 0.2));
}

.site-description {
    display: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 2rem;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #5a997d;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #5a997d, #789850);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}



.hero .container {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 250px;
    pointer-events: auto;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero headline container styling */
.hero-headline-bg {
    margin-bottom: 1rem;
    position: relative;
}

.hero-headline-bg::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #5a997d, #789850);
    border-radius: 2px;
}

/* Hero buttons container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Pillar card button styling */
.pillar-card .show-details-btn {
    margin-top: auto;
    margin-bottom: 0;
}

/* Ensure hero buttons are the same size */
.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    min-width: 200px !important;
    width: 200px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    justify-content: center !important;
    flex-shrink: 0;
    box-sizing: border-box;
    align-items: center !important;
    padding: 0 2rem !important;
}

/* Override any margin that might affect button sizing */
.hero-buttons .btn-secondary {
    margin-left: 0 !important;
}



/* Ensure particles.js canvas fills the container */
#particles-js {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.hero-small {
    min-height: 40vh;
    padding: 1.5rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(90, 153, 125, 0.1);
    color: #5a997d;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #5a997d;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    box-shadow: 0 8px 25px rgba(90, 153, 125, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section-alt {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: stretch;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(82, 147, 137, 0.1);
    height: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Unique gradients for each service card icon */
.service-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #789850, #5a997d);
}

.service-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #5a997d, #529389);
}

.service-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #529389, #3C82BE);
}

.card-icon svg {
    color: white;
    stroke: white;
    fill: white;
}

.card-icon img {
    filter: brightness(0) invert(1);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.card:hover .card-icon::before {
    left: 100%;
}

.card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(82, 147, 137, 0.3);
}

/* Service Cards */
.service-card h3 {
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #529389;
    font-weight: bold;
}

/* Offerings Timeline */
.offerings-timeline {
    margin-top: 4rem;
}

.timeline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    /* Always reserve border space */
    height: 100px;
    /* Fixed height to prevent jitter */
    box-sizing: border-box;
}

.timeline-item::after {
    content: 'Click to explore';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.timeline-item:hover::after {
    opacity: 1;
}

.timeline-item:hover {
    position: relative;
    top: -5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Remove transform: translateY(-5px); */
}

.timeline-item:not(.active):hover {
    border: 2px solid rgba(82, 147, 137, 0.3);
}

.timeline-item.active {
    position: relative;
    top: -5px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Remove transform: translateY(-5px); */
    border: 2px solid #529389;
}



.timeline-item.active .timeline-icon::before {
    animation: active-pulse 1.5s infinite;
}

@keyframes active-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 147, 137, 0.3);
    position: relative;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(82, 147, 137, 0.4);
}

.timeline-icon img {
    filter: brightness(0) invert(1);
    width: 24px;
    height: 24px;
}

.timeline-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    white-space: nowrap;
}

.offerings-details {
    position: relative;
    min-height: auto;
}

.offering-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    margin-bottom: 0;
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(82, 147, 137, 0.1);
}

.offering-card.active {
    opacity: 1;
    visibility: visible;
    display: block;
    margin-bottom: 2rem;
}

.offering-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offering-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3C82BE);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(82, 147, 137, 0.3);
}

.offering-icon img {
    filter: brightness(0) invert(1);
}

.offering-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.75rem;
}

.offering-card p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.offering-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.offering-features li {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.offering-features li:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.offering-features li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #529389;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .timeline-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .timeline-bar::before {
        display: none;
    }

    .timeline-item {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        justify-content: flex-start;
    }

    .timeline-label {
        font-size: 0.875rem;
        text-align: left;
    }

    .offering-features {
        grid-template-columns: 1fr;
    }

    /* Prevent offering cards from being clipped */
    .offering-card {
        z-index: 10;
        position: relative;
    }

    .offering-card.active {
        z-index: 20;
    }

    /* Ensure next section doesn't overlap */
    .section {
        position: relative;
        z-index: 5;
    }
}

/* About Section */
.about-content {
    max-width: 600px;
}

#about {
    position: relative;
    background: transparent;
    overflow: visible;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3a86a2;
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
    z-index: 1;
}

#about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8fafc;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 0);
    z-index: 2;
}

#about .container {
    position: relative;
    z-index: 2;
}

#about .about-content {
    color: white;
    padding-top: 4rem;
}

#about .about-content h2 {
    color: white;
}

#about .about-content .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

#about .about-content p {
    color: rgba(255, 255, 255, 0.9);
}

#about .about-content .lead {
    color: rgba(255, 255, 255, 0.95);
}

.approach-points {
    margin-top: 2rem;
}

.approach-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.point-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.approach-point h4 {
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.approach-point p {
    margin-bottom: 0;
    color: #6b7280;
}

/* Sophisticated Particle Animation */
.about-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    margin-top: 0;
    align-self: flex-end;
    min-height: 400px;
    z-index: 1;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 6s linear infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.particle:nth-child(2n) {
    animation-duration: 8s;
    width: 24px;
    height: 24px;
}

.particle:nth-child(3n) {
    animation-duration: 7s;
    width: 32px;
    height: 32px;
}

.particle:nth-child(4n) {
    animation-duration: 9s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(5n) {
    animation-duration: 5s;
    width: 40px;
    height: 40px;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 153, 125, 0.3), transparent);
    animation: sweep 6s ease-in-out infinite;
    opacity: 0;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(90, 153, 125, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 153, 125, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: grid-pulse 4s ease-in-out infinite;
}

.glow-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(90, 153, 125, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: drift 15s ease-in-out infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes sweep {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes grid-pulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(50px, -100px);
    }

    50% {
        transform: translate(-30px, -200px);
    }

    75% {
        transform: translate(80px, -150px);
    }
}

/* Industry Cards */
.industry-card {
    text-align: center;
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;

}

/* Unique gradients for each industry card icon */
.industry-card:nth-child(1) .industry-icon {
    background: linear-gradient(135deg, #789850, #5a997d);
}

.industry-card:nth-child(2) .industry-icon {
    background: linear-gradient(135deg, #5a997d, #529389);
}

.industry-card:nth-child(3) .industry-icon {
    background: linear-gradient(135deg, #529389, #3C82BE);
}

.industry-card:nth-child(4) .industry-icon {
    background: linear-gradient(135deg, #3C82BE, #8B5CF6);
}

.industry-card:nth-child(5) .industry-icon {
    background: linear-gradient(135deg, #8B5CF6, #529389);
}

.industry-card:nth-child(6) .industry-icon {
    background: linear-gradient(135deg, #8B5CF6, #3C82BE);
}

.industry-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}



.industry-icon svg {
    color: white;
    stroke: white;
    fill: white;
}

.industry-icon img {
    filter: brightness(0) invert(1);
}

.industry-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    padding-top: 2rem;
    margin-bottom: 1rem;
}

.cta-content .contact-form {
    margin-bottom: 3rem;
}

.cta-quote {
    margin: 0 auto 3rem auto !important;
    padding-top: 0 !important;
    text-align: center;
    max-width: 800px;
}

.cta-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #529389;
    font-weight: 600;
    position: relative;
    padding: 2rem;
    background: rgba(82, 147, 137, 0.05);
    border-radius: 20px;
    border-left: 4px solid #529389;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

#contact {
    padding-top: 0 !important;
}

/* CTA Logo */
.cta-logo {
    text-align: center;
    margin-bottom: 0.5rem;
}

.cta-logo-image {
    width: 200px;
    height: auto;
    max-width: 100%;
}

/* Mission Section */
.mission-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #529389;
    max-width: 400px;
}

.quote-box blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #529389;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quote-box cite {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Value Cards */
.value-card {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Team Section */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #529389, #3a86a2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.team-qualities {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.quality-tag {
    background: rgba(82, 147, 137, 0.1);
    color: #529389;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Vision Section */
.vision-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

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

.goal {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.goal h4 {
    color: #529389;
    margin-bottom: 1rem;
}

.goal p {
    margin-bottom: 0;
    color: #6b7280;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #6b7280;
    padding: 3rem 0 2rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(90, 153, 125, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 134, 162, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-text h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.site-footer h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

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

    .site-branding {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-small {
        min-height: 50vh;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        display: flex;
        width: 100%;
        max-width: 300px;
        margin: 0;
        text-align: center;
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 4rem 0;
    }

    .mission-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .vision-goals {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 2rem;
}

.alignright {
    float: right;
    margin-left: 2rem;
}

/* Navigation Bar Enhancements */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 16px 0 rgba(82, 147, 137, 0.04);
    border-bottom: 1px solid rgba(82, 147, 137, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title a {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #529389, #3a86a2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -1px;
}

.site-description {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    position: relative;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 700;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: #5a997d;
}

.menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #529389;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-toggle:focus,
.menu-toggle:hover {
    background: rgba(82, 147, 137, 0.08);
}

.menu-icon {
    font-size: 2rem;
    line-height: 1;
}

/* Responsive Navigation */
@media (max-width: 900px) {
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(82, 147, 137, 0.08);
        border-radius: 12px;
        flex-direction: column;
        min-width: 180px;
        z-index: 1001;
        padding: 1rem 0;
        gap: 0;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        width: 100%;
        text-align: right;
    }

    .main-navigation a {
        display: block;
        width: 100%;
        padding: 0.75rem 2rem;
        border-radius: 0;
    }
}

/* Always show hamburger menu */
.main-navigation ul {
    display: flex;
    position: static;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    flex-direction: row;
    min-width: auto;
    z-index: auto;
    padding: 0;
    gap: 2rem;
}

.main-navigation.toggled ul {
    display: flex;
}

.main-navigation li {
    width: auto;
    text-align: left;
}

.main-navigation a {
    display: inline;
    width: auto;
    padding: 0.5rem 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 600px) {
    .site-logo {
        height: 45px;
        width: auto;
        object-fit: contain;
        object-position: left center;
        vertical-align: middle;
        line-height: 1;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: space-between;
        min-height: auto;
    }
}

/* Customer Stories Banner */
.customer-stories-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #f8fafc;
    border-radius: 0;
    /* Remove border radius for full width */
    padding: 2rem 0;
    /* Increase padding for better spacing */
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.customer-stories-banner::before,
.customer-stories-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.customer-stories-banner::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
    backdrop-filter: blur(4px);
}

.customer-stories-banner::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
    backdrop-filter: blur(4px);
}

.customer-stories-logos {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: scroll-logos 30s linear infinite;
    white-space: nowrap;
}

.customer-stories-logos img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.08);
}

/* Customer Stories Link - moved above banner */
.customer-stories-link-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.customer-stories-link {
    font-weight: 600;
    color: #529389;
    text-decoration: none;
    background: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
}

.customer-stories-link:hover {
    background: #529389;
    color: #fff;
    animation: bounce-link 0.5s;
}

@keyframes bounce-link {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px) scale(1.08);
    }

    50% {
        transform: translateY(0) scale(0.98);
    }

    70% {
        transform: translateY(-4px) scale(1.04);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 1.25rem;
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    background: #f3f4f6;
    color: #888;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(82, 147, 137, 0.04);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.company-logo-1 {
    font-family: Arial, sans-serif;
    color: #888;
}

.company-logo-2 {
    font-family: 'Times New Roman', Times, serif;
    color: #666;
    font-style: italic;
}

.company-logo-3 {
    font-family: 'Courier New', Courier, monospace;
    color: #555;
}

.company-logo-4 {
    font-family: Georgia, serif;
    color: #999;
    font-weight: bold;
    font-style: italic;
}

.company-logo-5 {
    font-family: Verdana, Geneva, sans-serif;
    color: #aaa;
    font-weight: normal;
}

.customer-stories-logos img {
    display: none;
}

/* Hero Headline Background */
.hero-headline-bg h1 {
    background: linear-gradient(135deg, #ffffff, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.15em;
    line-height: 1.1;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: none;
    letter-spacing: -0.02em;
    font-family: 'Josefin Sans', sans-serif;
}

/* Removed conflicting hero-description style */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: auto;
    margin-bottom: 220px;
    position: relative;
    z-index: 10;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    font-family: 'Josefin Sans', sans-serif;
    position: relative;
    z-index: 10;
}

.stat-label {
    font-size: 0.875rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    position: relative;
    z-index: 10;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(90, 153, 125, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #4a8a6d, #6a8840);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(90, 153, 125, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top::before {
    content: '↑';
    font-weight: bold;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .hero-stats {
        position: absolute;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 20;
    }
}

/* Osmo-inspired Interactive Binary Grid for Hero */
.dots-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.dots-container {
    pointer-events: none;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    grid-column-gap: 2em;
    grid-row-gap: 2em;
}

.binary-digit {
    will-change: transform, color, font-size;
    transform-origin: center;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    position: relative;
    transform: translate(0);
    color: #d1d5db;
    /* Subtle gray, just darker than white bg */
    transition: color 0.2s, font-size 0.2s, transform 0.2s;
    font-family: 'Arial Black', 'Helvetica Bold', 'Courier New', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.binary-digit:hover {
    color: #3C82BE !important;
    /* Primary blue color matching Our Approach section */
    font-size: 1.8rem;
    /* Even larger on hover */
    font-weight: 900;
    /* Much bolder/thicker */
    transform: scale(1.3);
}

/* Different colors for 0's and 1's on hover */
.binary-digit[data-value="0"]:hover {
    color: #3C82BE !important;
    /* Primary blue color for 0s */
    font-weight: 900;
    /* Much bolder/thicker */
}

.binary-digit[data-value="1"]:hover {
    color: #5a997d !important;
    /* Primary green color for 1s */
    font-weight: 900;
    /* Much bolder/thicker */
}

/* Basic Footer */
.site-footer {
    background: #3a86a2;
    color: #ffffff;
    padding: 2rem 0;
    border-top: 1px solid #2d6b8a;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-copyright {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Second instance - hero wave divider */
.hero-gradient-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 2400px;
    z-index: 15;
    pointer-events: none;
    line-height: 0;
    overflow: hidden;
}

.hero-buttons {
    padding-bottom: 2rem;
}

.hero-buttons .btn:first-child {
    margin-bottom: 1rem;
}

@media (max-width: 400px) {

    .hero-headline-bg h1,
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        padding-bottom: 0.5em !important;
        padding-top: 0.5em !important;
        word-break: break-word;
    }

    .hero-headline-bg {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
    }
}

/* Page Header Styles */
.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
    margin-bottom: 0;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5a997d, #789850, #3C82BE, #602080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}

.page-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

/* Resources Wave Divider */
.resources-wave-divider {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}

/* Resources Page Styles */
.resources-filters {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.filter-group h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border-radius: 2px;
    margin-right: 0.75rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: #5a997d;
    color: #5a997d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #5a997d, #789850);
    border-color: #5a997d;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

/* Industries Filter Dropdown */
.filter-dropdown {
    margin-top: 0.5rem;
}

.filter-select {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-select:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

.filter-select option {
    padding: 0.5rem;
    font-size: 0.875rem;
}

.filter-select option:checked {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
}

/* Industry Tags */
.resource-tag-industry {
    background: linear-gradient(135deg, #3C82BE, #1d4ed8);
    color: white;
}

.resource-tag-industry:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5a997d, #789850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #5a997d;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Cookie Consent Bar */
.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #4b5563;
}

.cookie-consent-bar.show {
    transform: translateY(0);
}

.cookie-consent-bar.hide {
    transform: translateY(100%);
}

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #e5e7eb;
}

.cookie-text a {
    color: #5a997d;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #789850;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-btn-deny {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #6b7280;
}

.cookie-btn-deny:hover {
    background: #374151;
    color: white;
    border-color: #9ca3af;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    border: 1px solid #5a997d;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #789850, #5a997d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

/* Body margin when cookie bar is active */
body.cookie-bar-active {
    margin-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .cookie-text p {
        font-size: 0.8rem;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    body.cookie-bar-active {
        margin-bottom: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 0.75rem;
    }

    .cookie-text p {
        font-size: 0.75rem;
    }

    .cookie-buttons {
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* FAQ Chatbot Styles */
.faq-chat-container {
    max-width: 800px;
    margin: 0 auto;
}

.chat-interface {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, #3b4a5f 0%, #4a5568 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #718096;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5a997d, #789850);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-avatar svg {
    fill: white;
    color: white;
}

.chat-avatar img {
    filter: brightness(0) invert(1);
}

.chat-info {
    flex: 1;
}

/* Nested Comments Styling */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.comment-list .children {
    margin-left: 0;
    padding-left: 0;
}

.comment-depth-1 .children {
    margin-left: 2rem;
    border-left: 2px solid #e5e7eb;
    padding-left: 1.5rem;
}

.comment-depth-2 .children {
    margin-left: 2rem;
    border-left: 2px solid #d1d5db;
    padding-left: 1.5rem;
}

.comment-depth-3 .children {
    margin-left: 2rem;
    border-left: 2px solid #9ca3af;
    padding-left: 1.5rem;
}

.comment-depth-4 .children {
    margin-left: 2rem;
    border-left: 2px solid #6b7280;
    padding-left: 1.5rem;
}

.comment-depth-5 .children {
    margin-left: 2rem;
    border-left: 2px solid #4b5563;
    padding-left: 1.5rem;
}

/* Reply button styling */
.reply {
    margin-top: 1rem;
}

.reply a {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.reply a:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.reply-icon {
    color: #5a997d;
    background: rgba(90, 153, 125, 0.1);
}

.main-navigation .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #5a997d, #789850);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.main-navigation .menu-item a:hover::after {
    width: 80%;
}

/* Fix for header bar overlap */
.site-header {
    position: relative;
    z-index: 100;
}

.nav-container {
    position: relative;
    z-index: 101;
}

.main-navigation {
    position: relative;
    z-index: 102;
}

/* Responsive Design for Resources */
@media (max-width: 768px) {
    .resources-filters {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .resources-search {
        flex-direction: column;
        gap: 1rem;
    }

    .search-input {
        width: 100%;
    }

    .clear-filters-btn {
        width: 100%;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .resource-content {
        padding: 1rem;
    }

    .resource-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .main-navigation .menu {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .resources-filters {
        padding: 1rem;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .resource-image {
        height: 150px;
    }
}

/* Updated Footer Styles */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Hero with background image */
.hero-with-image {
    background: #f8fafc;
    /* White background as fallback */
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100% - 100px);
    /* Stop at the center of the wave (100px from bottom) */
    z-index: 1;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2400px;
    height: 100%;
    background-image: url('./f1-left.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    filter: brightness(1.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    z-index: 2;
}

/* Hero content positioning for hero-with-image */
.hero-with-image .hero-content {
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Purpose Content Grid - Two Column Layout */
.purpose-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.purpose-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.purpose-visual img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile Responsive - Stack vertically */
@media (max-width: 768px) {
    .purpose-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purpose-visual {
        order: -1; /* Image appears first on mobile */
    }
}

/* Responsive hero adjustments */


@media (max-width: 768px) {
    .hero-headline-bg h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        margin-top: -1rem; /* Move text up on mobile */
    }
    
        .hero-headline-bg::after {
        bottom: 30px; /* Move green horizontal line up on mobile (was -10px) */
    }
    
    .hero-gradient-divider {
        bottom: 80px; /* Center wave on bottom edge of background image on mobile */
    }
    
    .hero-with-image {
        min-height: 70vh; /* Reduce height on mobile to better position wave */
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        min-width: 180px !important;
        width: 180px !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 1.5rem !important;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-stats {
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline-bg h1 {
        font-size: 2rem;
    }

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

    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        min-width: 160px !important;
        width: 160px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        padding: 0 1rem !important;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== SERVICES PAGE STYLES ===== */

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.3), rgba(30, 41, 59, 0.2));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 3rem;
    color: #e2e8f0;
    line-height: 1.6;
    white-space: pre-line;
    margin-top: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.hero-visual {
    margin-top: 2rem;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Intro Section */
.intro-section {
    padding: 6rem 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h4 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.intro-text .lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ecosystem-illustration {
    position: relative;
    width: 300px;
    height: 200px;
}

.people-icon,
.data-flow,
.tech-icon {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.people-icon {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.data-flow {
    top: 80px;
    left: 150px;
    animation-delay: 1s;
}

.tech-icon {
    top: 40px;
    left: 200px;
    animation-delay: 2s;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #5a997d, #789850);
    border-radius: 1px;
}

.connection-line:nth-child(4) {
    top: 50px;
    left: 80px;
    width: 80px;
    transform: rotate(15deg);
}

.connection-line:nth-child(5) {
    top: 100px;
    left: 150px;
    width: 60px;
    transform: rotate(-15deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pillars Overview */
.pillars-overview {
    padding: 6rem 0;
    background: white;
}

/* Economics of AI Main Container */
.economics-main-container {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.economics-header {
    text-align: center;
    margin-bottom: 3rem;
}

.economics-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin: 1rem 0;
    font-weight: 700;
}

.economics-description {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Supporting Pillars Grid */
.supporting-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.pillar-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    text-align: center;
}

.pillar-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Economics Details Section */
.economics-details-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.economics-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.economics-text h4 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.economics-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.economics-illustration {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.economics-illustration .chart-icon,
.economics-illustration .finance-icon,
.economics-illustration .target-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.economics-illustration img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Inline Pillar Details */
.pillar-details-inline {
    margin-top: 2rem;
    padding: 2rem 1rem 1rem 1rem;
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.4s ease-out;
    position: relative;
    z-index: 10;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pillar-content-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    text-align: center;
}

.pillar-text-inline h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.services-list-inline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item-inline {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #5a997d;
    text-align: center;
}

.service-item-inline h5 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-item-inline p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.pillar-visual-inline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.pillar-visual-inline .chart-icon,
.pillar-visual-inline .finance-icon,
.pillar-visual-inline .target-icon,
.pillar-visual-inline .checklist-icon,
.pillar-visual-inline .gear-icon,
.pillar-visual-inline .lightbulb-icon,
.pillar-visual-inline .handshake-icon,
.pillar-visual-inline .growth-icon,
.pillar-visual-inline .team-icon,
.pillar-visual-inline .learning-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-visual-inline img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Responsive adjustments for inline details */
@media (max-width: 768px) {
    .pillar-content-inline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pillar-visual-inline {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .economics-main-container {
        padding: 2rem 1.5rem;
    }

    .economics-header h2 {
        font-size: 2rem;
    }

    .economics-description {
        font-size: 1.1rem;
    }

    .supporting-pillars-grid {
        grid-template-columns: 1fr;
    }

    .economics-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .economics-illustration {
        justify-content: center;
    }
}

/* Show Details Button */
.show-details-btn {
    background: none;
    color: #5a997d;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.02em;
    position: relative;
    min-width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.show-details-btn:hover {
    color: #3C82BE;
    transform: translateY(-1px);
}

.show-details-btn:active {
    transform: translateY(0);
}

/* Button text transition animation */
.show-details-btn span {
    transition: all 0.2s ease;
}

.show-details-btn:hover span {
    opacity: 0.9;
}

.expand-arrow {
    font-size: 0.8rem;
    color: #5a997d;
    transition: all 0.3s ease;
}

.show-details-btn:hover .expand-arrow {
    color: #3C82BE;
    transform: translateY(2px);
}



.chart-icon {
    top: 30px;
    left: 50px;
    animation-delay: 0s;
}

.checklist-icon {
    top: 100px;
    left: 120px;
    animation-delay: 0.5s;
}

.target-icon {
    top: 50px;
    left: 180px;
    animation-delay: 1s;
}

.gear-icon {
    top: 40px;
    left: 60px;
    animation-delay: 0s;
}

.lightbulb-icon {
    top: 120px;
    left: 140px;
    animation-delay: 0.5s;
}

.handshake-icon {
    top: 60px;
    left: 200px;
    animation-delay: 1s;
}

.growth-icon {
    top: 35px;
    left: 55px;
    animation-delay: 0s;
}

.team-icon {
    top: 110px;
    left: 130px;
    animation-delay: 0.5s;
}

.learning-icon {
    top: 70px;
    left: 190px;
    animation-delay: 1s;
}

.finance-icon {
    top: 80px;
    left: 100px;
    animation-delay: 0.3s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #5a997d, #789850);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #5a997d;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* White Spacer Section */
.white-spacer {
    background: white;
    padding: 2rem 0;
}

/* Contact Section Styles for Services Page */
.contact-section {
    padding: 6rem 0;
    background: white;
    color: #1e293b;
}

.contact-section .cta-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section .cta-logo-image {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.contact-section .cta-quote {
    margin: 0 auto 3rem auto;
    text-align: center;
    max-width: 800px;
}

.contact-section .cta-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #fbbf24;
    font-weight: 600;
    position: relative;
    padding: 2rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 20px;
    border-left: 4px solid #fbbf24;
}

.contact-section .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #5a997d, #3C82BE);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-section .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-section .cta-content .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Contact Form Button Styles */
#show-contact-form {
    cursor: pointer;
    border: none;
    background: white;
    color: #5a997d;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

#show-contact-form:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#show-contact-form:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Form Styles */
.contact-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

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

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4a8a6d, #6a8840);
}

.btn-primary {
    background: linear-gradient(135deg, #5a997d, #789850);
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4a8a6d, #6a8840);
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 0 1rem;
    }

    .intro-grid,
    .pillar-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .economics-pillar {
        grid-column: 1;
        max-width: none;
        margin: 0 auto 2rem auto;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subhead {
        font-size: 1.25rem;
    }



    .show-details-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subhead {
        font-size: 1.1rem;
    }

    .intro-section,
    .pillars-overview {
        padding: 3rem 0;
    }

    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .show-details-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 140px;
        height: 45px;
    }
}

/* White Spacer Section */
.white-spacer {
    background: white;
    padding: 2rem 0;
}

/* Brain Animation Styles */
.brainContainer {
    width: 50vw;
    height: 50vw;
    max-height: 400px;
    max-width: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.brainContainer svg {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.brainContainer path {
    fill: transparent;
}

.brainPath {
    stroke: #ffffff;
    stroke-width: 1;
}

.brainCircle {
    stroke: #ffffff;
    fill: rgba(200, 200, 200, 0.6);
}

.brainRect {
    stroke: #ffffff;
    fill: #ffffff;
}

.brainEllipse {
    stroke: #ffffff;
    fill: rgba(200, 200, 200, 0.6);
}

.animatePaths {
    animation: goPath 3000ms alternate infinite;
}

.animateCircles {
    animation: goCircle 3000ms alternate infinite;
}

.animateRects {
    animation: goRect 3000ms alternate infinite;
}

@keyframes goPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes goRect {
    to {
        opacity: 0;
    }
}

@keyframes goCircle {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Hero section positioning for brain animation */
.hero-section {
    position: relative;
    min-height: 600px;
}

.hero-section .container {
    position: relative;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .hero-visual {
    position: relative;
    min-height: 400px;
}

/* Ensure brain animation is properly positioned within hero visual */
.services-hero .hero-visual .brainContainer {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
    z-index: 1;
    flex-shrink: 0;
}



/* Responsive adjustments for brain animation */
@media (max-width: 768px) {
    .brainContainer {
        width: 80vw;
        height: 80vw;
        max-height: 300px;
        max-width: 300px;
    }
}

/* Comments Section Styles */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #5a997d, #789850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.comment-body {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.comment-body:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.comment-body:hover .comment-author .avatar {
    border-color: #5a997d;
}

.comment-author cite {
    font-style: normal;
    font-weight: 600;
    color: #1f2937;
}

.comment-author .says {
    color: #6b7280;
    font-weight: 400;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6b7280;
}

.comment-metadata a {
    color: #5a997d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #789850;
}

.comment-content {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    text-align: right;
}

.reply a {
    color: #5a997d;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(90, 153, 125, 0.1);
}

.reply a:hover {
    background: #5a997d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

.comment-awaiting-moderation {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-style: italic;
    border-left: 3px solid #f59e0b;
}

.pingback {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #5a997d;
}

.pingback p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.pingback a {
    color: #5a997d;
    text-decoration: none;
    font-weight: 500;
}

.pingback a:hover {
    color: #789850;
}

/* Comment Form Styles */
.comment-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.comment-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #5a997d, #789850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #5a997d;
    box-shadow: 0 0 0 3px rgba(90, 153, 125, 0.1);
}

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

.comment-form .submit {
    background: linear-gradient(135deg, #5a997d, #789850);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 153, 125, 0.3);
}

.comment-notes {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #5a997d;
    margin-bottom: 1.5rem;
}

.comment-notes span {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Comment Navigation */
.comment-navigation {
    margin: 2rem 0;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
    margin: 0 0.5rem;
}

.comment-navigation a {
    color: #5a997d;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(90, 153, 125, 0.1);
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background: #5a997d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 153, 125, 0.3);
}

/* Responsive Design for Comments */
@media (max-width: 768px) {
    .comments-area {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .comment-body {
        padding: 1rem;
    }

    .comment-form {
        padding: 1.5rem;
    }

    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .reply {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .comment-form {
        padding: 1rem;
    }

    .comment-body {
        padding: 0.75rem;
    }
}